Commit Graph

1032 Commits

Author SHA1 Message Date
Albrecht Schlosser 7c32ec2b94 Updated the bundled libpng to v1.2.35 (released 18 Feb. 2009)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14 14:37:51 +00:00
Albrecht Schlosser 039a9be3f5 Fl_Preferences.H now doesn't include windows.h any more
(Windows only, STR #2173).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14 10:23:05 +00:00
Albrecht Schlosser 561c52455c Fl_Window::draw() now doesn't reset its x/y-coordinates to 0 anymore
before drawing itself and its children.
 
 The problem was that subwindows "lost" their x/y-coordinates during draw(),
 and child widgets couldn't get their parent window's coordinates.
 
 Currently this is needed (maybe only) in fl_set_spot() for Windows, but it
 had been solved there with a Windows-specific coordinate transformation
 (MapWindowPoints). Todo: rewrite Fl_win32.cxx/fl_set_spot().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-25 08:44:54 +00:00
Albrecht Schlosser 354701c6f6 Documentation updates for STR #2142 (protected draw methods).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-20 08:15:32 +00:00
Albrecht Schlosser e83060f04b Added CHANGES info for STR #2147.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-16 15:36:16 +00:00
Albrecht Schlosser e94b388899 renamed class Fl_Watch to Fl_Widget_Tracker, as discussed in fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-15 13:49:34 +00:00
Albrecht Schlosser 698da81690 Added Fl_Scroll::bbox() documentation (STR #1893)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08 18:47:37 +00:00
Albrecht Schlosser 76254697c7 Removed an XForms compatibility "feature" that prevented the down
array of Fl_Menu_Button from drawing (STR #2141).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08 17:50:22 +00:00
Albrecht Schlosser 9f1eeaee19 Added the helper class Fl_Watch to simplify safe handling of widget deletion
in callbacks. This is used e.g. in Fl_Widget::do_callback() to prevent 
accessing widgets after deletion in the callback.

Documentation adjusted, Fl_Menu_Button.cxx changed to use Fl_Watch instead
of Fl::watch_widget_pointer.

Fl::watch_widget_pointer() and Fl::release_widget_pointer() have been
modified to use an array without "holes" (NULL pointers) for storing the
widget pointers for faster access: Fl::release_widget_pointer() now shifts
pointers to close gaps of freed pointers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08 14:44:15 +00:00
Fabien Costantini b511a4df08 Updated CHANGES with recent revisions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14 18:11:32 +00:00
Fabien Costantini 9c523405a8 Updated CHANGES with recent modifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 17:34:29 +00:00
Albrecht Schlosser eec7f80e94 Widgets now remove themselves from their parent group (if any), when destroyed
(STR #1894). Fl_Group::clear() removes widget by widget (one at a time) to
allow widgets to remove other related widgets from the same group, when they
are deleted.
Also fixed a bug in Fl_Value_Input (added a destructor), because it used
a non-Fl_Group widget as parent of another widget.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-08 17:12:34 +00:00
Matthias Melcher c15fc3e71a Added flexible gap size for text buffer (STR #2046)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 21:54:10 +00:00
Matthias Melcher 7180c24f3c STR #1962: I tried to fix the configuration scripts so that the image support libraries (fltk_jpeg fltk_png fltk_z) are linked in the same fashion as the fltk_image library. Please verify this fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 17:10:12 +00:00
Albrecht Schlosser d34cc411e0 STR 2101: fl_set_spot() could crash on Windows under certain conditions.
The Windows version needs a window to anchor the display window for complex
text editing (IME), e.g. Japanese text. This update adds an additional
Fl_Window argument to fl_set_spot(), but this is only used for Windows.
The implemented version is tested with Japanese text input, including input
in subwindows (test/subwindow.cxx).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-27 19:22:30 +00:00
Matthias Melcher fad309329b STR #2113: added sorting and a few other functions to Fl_Browser_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 21:20:38 +00:00
Matthias Melcher ac4edf2aed Adding utf8 support for copy and paste under OS X 10.5 (and hopefully below)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 00:44:55 +00:00
Matthias Melcher 47fbe07afe STR #2098: updated the keyboard handling for 10.5 to better handle composed keys. This now works at least for German and American keyboard mapping (I can finally type German text on my US keyboard again), but is still far from perfect. Also applied Ian's patch which I can't test due to missing OS. Thanks, Ian!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-20 21:09:59 +00:00
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
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 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
Albrecht Schlosser 9c7af9b2cf Added missing dependency (COMCTRL32.LIB) to documentation/src/basics.dox
(reported in fltk.general).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-16 19:44:58 +00:00
Fabien Costantini 4ec0d5c005 Updated CHANGES for reflecting non polymorph behavior with hide() show(), fixes STR#396
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 23:32:16 +00:00
Matthias Melcher d67cb76d5a Typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:47:01 +00:00
Matthias Melcher 2ecabfa676 Moved Fl_Preferences documentation to the correct places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:30:07 +00:00
Fabien Costantini ab5d636106 Added visual6 moved to ide subdirectory to CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:53:53 +00:00
Matthias Melcher b989051bd6 Improved stability of fl_read_image (STR #2021)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:35:53 +00:00
Matthias Melcher 0490b30383 Fixed adding an idle handler during a draw() call (STR #1950)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:15:32 +00:00
Fabien Costantini 488ee44257 vc2005 ide fixes: old fluid custom compile would not use variables making difficult to port them -> now uses devenv (InputName) var. Moved vc2005 to ide. Checked full builds in Release/Debug and Release Cairo/Debug Cairo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 13:11:06 +00:00
Albrecht Schlosser ac7c97572c Fl_Group::clip_children() is now public (STR #2017)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 10:23:37 +00:00
Matthias Melcher b91aec5b87 Added clarification to Fl_GL_Window mode function (STR #1945)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 20:01:04 +00:00
Matthias Melcher 8a20846803 STR 1992: Fixed Fluid textcolor output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 20:11:30 +00:00
Matthias Melcher 395129dfdb STR #1991: Fixed wrong default value of Fl_Spinner in Fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 19:52:12 +00:00
Matthias Melcher a26d5408a1 STR 1952: Fixed first modifier key event, some minor utf8 orrections.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 19:26:18 +00:00
Albrecht Schlosser 28c11fa4f7 added info for STR #2032
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-07 11:24:28 +00:00
Fabien Costantini bc6d15183c + Added a new optional compile time varaible named USE_WSOCK1 that would change the use of the WINSOCK2 libray by default, by the use of Winsock 1 (also implies the use of winsock.h instead of winsock2.h)
+ Removed one unused ret variable.

TODO: remove unnecessary wsock32.lib dependency from fltk-config, and other win32 build files.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-27 16:53:39 +00:00
Michael R Sweet ba2e9f3375 Make --post create a basic Mac OS X application bundle with a shell script
that executes the bundled program.

Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".

Remove the old Mac OS X resource fork file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
Matthias Melcher 5134c0988d Fixed issues with Fl_Scroll inside and Fl_Scroll (STR #265)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:01:37 +00:00
Matthias Melcher 7f7debce52 Upating CHANGES
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 20:09:54 +00:00
Matthias Melcher 433dec6b92 Changed Makefile in src to use 1.3 instead of 1.1 (STR #1922). Fixed minor issue with handling of shortcuts in text input fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 20:08:39 +00:00
Matthias Melcher 88c0d727aa All widget coordinates are now 32 bit. Beware though, on a 16 bit graphics system, line drawing and window positioning is still messed up for coordinates beyond 16 bit. See STR #1929.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 15:07:13 +00:00
Matthias Melcher 8683ea2c81 Adding keyboard shortcut to Fl_Value_Input and Fl_Text_Editor
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 14:19:58 +00:00
Matthias Melcher 8198e51799 Added support for keyboard shortcuts to Fl_Input_ derived widgets (STR #1770). Code added for Fluid. Documentation updated.
This commit must be considered partial because there is no shortcut handling for Fl_Text_Display derived widgets or Fl_Value_Input which is derived form Fl_Valuator.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:33:17 +00:00
Matthias Melcher 6a143b1f61 Applying 1.1.9 changes to the 1.3 branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 18:11:51 +00:00
Matthias Melcher 232ef4e159 Updated 1.3 with changes from 1.1.9
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-12 19:16:19 +00:00
Matthias Melcher 7d013249f7 First checkin simply updating a few version numbers and copyright dates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-27 21:38:44 +00:00
Matthias Melcher efa4ad3ad7 Syb=nching the list of mirrors in doc/intro.html and README
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-01 11:08:32 +00:00
Matthias Melcher 8038713b19 Fixed library path in Makefile (STR #1885)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-27 15:00:31 +00:00
Matthias Melcher 68a20dbc32 Fixed typos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6050 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 15:04:03 +00:00