Commit Graph

3277 Commits

Author SHA1 Message Date
Albrecht Schlosser
3db04d80a1 Updated the bundled libpng to v1.2.33.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 18:57:18 +00:00
Fabien Costantini
63b8523126 Updated CHANGES for STR 2106 fix for 1.3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 12:23:37 +00:00
Fabien Costantini
2b931a6f77 STR#2106 fix:callback not called if radio button state changed from a shortcut but is called when changed with mouse.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 10:36:46 +00:00
Fabien Costantini
fd959f45ba XCode31 ide project: Fixed missing header include for the jpeg local lib. Harmonized the osx deprecated api warning removal, now like in the unix makefiles.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:55:12 +00:00
Fabien Costantini
4047f3dba7 Sorted buttons order as they appear in fluid, changed the 'same shortcuts A1 and A2 as it is more confusing than helping in finding bugs for this test case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:11:04 +00:00
Fabien Costantini
d592a5fe81 Reverting this change that was intented for another branch, not trunk, sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 16:33:21 +00:00
Fabien Costantini
76bcfdd4de patch from STR2026 for testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 16:30:26 +00:00
Albrecht Schlosser
21b8d6aa1a more doxygen updates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-13 19:40:26 +00:00
Albrecht Schlosser
6ed54124bb Fixed typos and doxygen documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-13 18:31:54 +00:00
Albrecht Schlosser
d9801ae479 STR 2094: Fixed callback handling for FL_HIDE event for Fl_Input_ and
handling of FL_WHEN_ENTER_KEY_ALWAYS.
This was a regression introduced with svn -r 6212.

History:
svn -r 6031: STR #1719: regression introduced in FLTK 1.1
svn -r 6104: Fixed in FLTK 1.1
svn -r 6108: Applied to FLTK 1.3 (okay)
svn -r 6212: introduced again by "Merging the UTF8 patch ..."


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-12 00:23:45 +00:00
Fabien Costantini
b1fefe0645 Fixed vc6 fltkdll would not link in test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 15:45:27 +00:00
Fabien Costantini
8391354f36 Fixed some vc6 targets would not output their binaries to correct directories since last move in ide directory and disparities between slash and backslashes declarations, not all the targets were modified. Should be ok now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 15:39:24 +00:00
Fabien Costantini
7b49e892b8 Fixing corelib would not compile under vc6 following fl_text_extents() addons. checked on win32/vc6,macosx. Please on other win32 compilers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 14:38:04 +00:00
Albrecht Schlosser
26c6437407 Replaced all occurrences of deprecated Fl::release() by Fl::grab(0).
Changed files:

  src/Fl_Menu.cxx		(2x)
  src/fl_show_colormap.cxx	(1x)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 09:01:04 +00:00
Albrecht Schlosser
5f75c5b754 STR 2027: Fixed documentation errors.
Also fixed typos in Fl.H.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-10 20:58:10 +00:00
Albrecht Schlosser
8a45f9063c Documented module "Safe widget deletion support functions"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 23:14:25 +00:00
Albrecht Schlosser
1849b8df5c Removed extraneous html tag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 08:54:00 +00:00
Albrecht Schlosser
c23538ef54 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 08:49:25 +00:00
Fabien Costantini
4d837faff1 Doxygen pdf manual:
+ 'Oxygenized' the frontpage by adding some more spaces between paragraphs
+ Added punctation and more cosmetics to make it look good.
+ Updated the fltk.pdf manual so that it reflects all recent fltk-book.tex changes.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 23:03:29 +00:00
Fabien Costantini
b141ac03a7 fltk-book.tex : Reduced ToC to depth 1 thus limiting the number of pages to 9.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6571 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:31:40 +00:00
Fabien Costantini
be06414346 Enhanced fltk-book.tex to feature automatic date update at each generation by adding a today keyword after doxygen version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:24:32 +00:00
Fabien Costantini
df0d8a8102 Enhanced fltk-book.tex to feature automatic date update at each generation by adding a today keyword after doxygen version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:21:37 +00:00
Fabien Costantini
ec5c06aeea Updated fltk-book.tex to match recent revision change and contributors update in html files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 22:03:01 +00:00
Fabien Costantini
805d9e82be new updated fltk.pdf version, which contains all recent typos and others Al modifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 19:47:14 +00:00
Fabien Costantini
47a9e9e22d Generated a new version of the fltk reference manual (fltk.pdf)
I had to revert the last r6557 change for now to make it work again, 
(on mac os x 10.5.5, doxygen 1.5.7, latest fltk 1.3)
which is strange as I would also have expected
it to work independtly from html ...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 19:35:26 +00:00
Albrecht Schlosser
7f9ceedfeb Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 18:32:55 +00:00
Albrecht Schlosser
bdb7002d58 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 18:02:50 +00:00
Albrecht Schlosser
eaf604b4ed Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 17:15:26 +00:00
Albrecht Schlosser
2bd4572918 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 17:01:55 +00:00
Albrecht Schlosser
357ad96233 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 16:16:11 +00:00
Albrecht Schlosser
b856328f1f Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 15:46:43 +00:00
Albrecht Schlosser
e9aa104676 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 15:00:44 +00:00
Albrecht Schlosser
8a6a945505 Fixed typos and amended doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 14:48:11 +00:00
Albrecht Schlosser
609f519533 Fixed documentation dependencies and changed Doxybook (for latex/pdf gen.)
to _not_ generate the html files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 13:35:10 +00:00
Albrecht Schlosser
a96dec61e1 Correct previous mod. of index.dox (function ref. was okay).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 13:01:51 +00:00
Albrecht Schlosser
c1a9019f1c Fixed some typos in src/fl_rect.cxx (doxygen comments).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 12:22:39 +00:00
Albrecht Schlosser
9d67f8a624 Fixed broken (html) links on documentation index page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 11:45:25 +00:00
Albrecht Schlosser
fbe92ea113 Fixed a problem with TrackMouseEvent() (Windows only) that would
generate wrong FL_LEAVE events with subwindows. TrackMouseEvent
is now enabled by default (it was disabled for GNU compilers).
It can be disabled by defining NO_TRACK_MOUSE.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 10:53:07 +00:00
Albrecht Schlosser
fbea5019fb Replaced all occurrences of the deprecated fl_clip() function by
fl_push_clip().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 14:59:52 +00:00
Albrecht Schlosser
e907ce4a11 STR 2079, part 1: Improved test/subwindow.cxx
- removed confusing character output (define DEBUG_POS for testing)
- included FL/names.h instead of hand-made eventnames array
- added more input widgets for better dnd and focus testing


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 13:02:49 +00:00
Fabien Costantini
0906d230ed STR#2030 increment 3: moved not up-to-date ms vc 2003 project filesto ide/unsupported subdir, added a README.MS file explaining what to do if we find a developer to update them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:32:32 +00:00
Fabien Costantini
2472d11234 STR#2030 increment 2: moved not up-to-date borland ide files to ide/unsupported, added a README.BC file explaining what to do if we find a brave developer to update them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:19:08 +00:00
Fabien Costantini
242d8740db Reverted other STR fix as it is not fully working yet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:04:37 +00:00
Fabien Costantini
59b32aa684 STR#2030 first increment: Added an unsupported directory to ide dir.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 11:02:03 +00:00
Fabien Costantini
655f7c41a2 Added functionalities to the radio (Button) test program so that we can use it as a more complete test case:
+ Added shortcuts
  + Added Tooltips to help user understand what differs in each example
  + Added a button callback and a text output to visualize it in the demo
  + Added a Normal button with a changed state as we did not test that before
This is going to be immediately useful for STR#2026 review and fix.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-05 14:59:10 +00:00
Albrecht Schlosser
abfba16040 STR 2101: Temporary fix to prevent crash. Also corrected code indentation.
ToDo: The correct fix would need more code changes and is under investigation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-05 13:48:26 +00:00
Fabien Costantini
60335167b2 + Fixed non standard fltk utf8 files headers.
Kept original author and copyright.
  Added standard fltk LGPL header notice

+ Added missing comment to fl_width() related to latest utf8 STR#2086 related fix in r6539 and r6540.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-04 20:20:30 +00:00
Fabien Costantini
5182f58f01 STR#2086: one line was missing from latest fix, so hWnd was always null, sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-04 17:45:50 +00:00
Fabien Costantini
899184656a STR#2086 related Fixes :
This one was really tough to track, understand:
In fact, 
the problem was comming from the misplacement of the menu window,
which itself came from invalid measurement,
which itself came from invalid fl_witdh() measurement,
but only when fl_gc is not valid because fl_width() relies on Win32 on the call
of GetTextExtentPoint32W which can't succeed if the HDC(here fl_gc) is not valid !

Now the fix:
A best-effort algorithm has been furthered to supply a valid fltk hdc if we can have one or a screen hdc if no fltk window is found by fl::first_window().

Note that when fl_gc is NULL inside fl_width() call, it can happen that Fl_Window::current() is not null but invalid (already deleted).
Finally, in the case of the buggy menu window observed here, this  fl_gc was set to NULL just after an Fl_Menu_Window deletion and re-creation in Fl_Menu_Item::pulldown().

Also added a comment to describe the new fl_width() behavior.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-04 17:33:30 +00:00
Fabien Costantini
73a2fa5b99 Doxygen documentation:
- Fixed recent documentation update problems in fl_draw.cxx : \ and @ char must be doubled otherwise interpreted as doxygen keywords
- Fixed some doxygenized parameters problems in Fl_Preferences.cxx
- Added the treeview mode, now featuring a vertical left tree browser in html doc
- Splitted html configuration file from pdf configuration file, now a new Doxybook config file permits to customize independtly both html and pdf modes without risking side effects and also without assuming an fltk user will have the Tex tools installed to generate the html doc. Now only pdf generation will need LaTex tools.
- Updated the doxygen based documentation to revison 9 and added new significant contributors to index.dox in alphabetical order.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-03 01:02:10 +00:00