diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2009-02-08 14:44:15 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2009-02-08 14:44:15 +0000 |
| commit | 9f1eeaee19576584fab930b6d407d0c5b307dacb (patch) | |
| tree | 8c3df25fb2177c024cc7fcd50918748d90699409 /CHANGES | |
| parent | b30b9e170a0961493c1b256d9c53a1e8309f52b1 (diff) | |
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
Diffstat (limited to 'CHANGES')
| -rw-r--r-- | CHANGES | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,9 +1,12 @@ CHANGES IN FLTK 1.3.0 - - Fl_Help_View handles HTML2 font color specification (STR#890) - - Copyright dates are now updated to 2009 (STR#2036) + - New helper class Fl_Watch to simplify safe handling of widget + deletion in callbacks. This is used in Fl_Widget::do_callback() + to prevent accessing widgets after deletion in the callback. + - Fl_Help_View handles HTML2 font color specification (STR #890) + - Copyright dates are now updated to 2009 (STR #2036) - Copy/Paste operations should now work as expected, - with utf8,16 support and fltk1.1 compatibility. (STR#2104,2121). + with utf8,16 support and fltk1.1 compatibility. (STR #2104,2121). - Widgets now remove themselves from their parent group (if any), when destroyed (STR #1894) - Added flexible gap size for text buffer (STR #2046) @@ -72,7 +75,7 @@ CHANGES IN FLTK 1.1.9 CHANGES IN FLTK 1.1.8 - - Documentation fixes (STR #1454, STR #1455, STR #1456, + - Documentation fixes (STR #1454, STR #1455, STR #1456, STR #1457, STR #1458, STR #1460, STR #1481, STR #1578, STR #1639, STR #1645, STR #1644, STR #1792, STR #1793, STR #1742, STR #1777, STR #1794, STR #1827, STR #1843, |
