From a5cb29da1c6463d9b249920f9b455c3c357d2140 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 26 May 2003 16:12:39 +0000 Subject: [PATCH] Check syntax of callback only on release, not on change. Update announcement for 1.1.4rc1. Add 1.1.4rc1 to version list in STR form. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- ANNOUNCEMENT | 302 +++++++++++++++++++++++++++++++---------- CHANGES | 2 +- fluid/widget_panel.cxx | 1 - fluid/widget_panel.fl | 2 +- makesrcdist | 4 +- 5 files changed, 231 insertions(+), 80 deletions(-) diff --git a/ANNOUNCEMENT b/ANNOUNCEMENT index ec76f38c9..d312acc0c 100644 --- a/ANNOUNCEMENT +++ b/ANNOUNCEMENT @@ -1,89 +1,241 @@ -

The FLTK Team is proud to announce the release of FLTK 1.1.3, +----TEXT---- + +The first release candidate for FLTK 1.1.4 is now available for +download and testing. You now have until June 9th, 2003 to +report any problems with this release candidate using the +software trouble report form at the following URL: + + http://www.fltk.org/str.php + +If no priority 4 or 5 STRs are received and confirmed before +this date, FLTK 1.1.4 will be released. + +Note: Since problems reported on the FLTK newsgroups or mailing +lists are *not* automatically entered as STRs, it is important +that you report any problems using the STR form. + +---- Draft FLTK 1.1.4 Release Announcement ---- + +The FLTK Team is proud to announce the release of FLTK 1.1.4, +a cross-platform C++ GUI toolkit for UNIX(r)/Linux(r) (X11), +Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides +modern GUI functionality without the bloat and supports 3D +graphics via OpenGL(r) and its built-in GLUT emulation. + +The FLTK 1.1.4 release is primarily a bug-fix release including +fixes to FLUID and the Fl_File_Chooser, Fl_Help_View, +Fl_Text_Display, and Fl_Text_Editor widgets. The new release +also adds a find method to Fl_Help_View. + +FLTK is provided under the GNU Library Public License with +exceptions that allow for static linking. + +Changes since FLTK 1.1.3 include: + + - The file chooser did not reset the click count when + changing directories; if you clicked on a file in the + same position after changing directories with a + double- click, the chooser treated it as a triple + click (STR #27) + - Symbols with outlines did not get drawn inactive. + - The Fl_Help_View widget now provides a find() method + to search for text within the page. + - The Fl_Help_Dialog widget now provides a search box + for entering text to search for. + - The default font encoding on OSX did not match the + default on WIN32 or X11. + - Menu items were not drawn using the font specified in + the Fl_Menu_Item structure (STR #30) + - Long menus that were aligned such that the top of an + item was exactly at the top of the screen would not + scroll (STR #33) + - The OS issues appendix incorrectly stated that MacOS + 8.6 and 9 were supported; they are not (STR #28) + - Fixed handling of nested double-buffered windows (STR + #1) + - Showing a subwindow inside a hidden window would crash + the application (STR #23) + - OSX users couldn't enter some special chars when using + some foreign key layouts (STR #32) + - Hiding subwindows on OSX would hide the parent window + (STR #22) + - Added thin plastic box types. + - Fl_Pack ignored the box() setting and cleared any + unused areas to the widget color; it now only does so + if the box() is set to something other than FL_NO_BOX. + - Updated the Fl_Tabs widget to offset the first tab by + the box dx value to avoid visual errors. + - Updated the plastic up box to draw only a single + border frame instead of the old double one for + improved appearance. + - Updated the default background color on OSX to provide + better contrast. + - Fl_Text_Display and friends now look for the next + non-punctuation/space character for word boundaries + (STR #26) + - gl_font() didn't work properly for X11 when Xft was + used (STR #12) + - Fl_File_Browser incorrectly included "." on WIN32 (STR + #9) + - Include shellapi.h instead of ShellAPI.h in the WIN32 + drag-n-drop code in order to work with the MingW cross + compiler (STR #6) + - The cursor was not properly restored when doing + drag-n-drop on X11 (STR #4) + - Fl::remove_fd() didn't recalculate the highest file + descriptor properly (STR #20) + - Fl_Preferences::deleteGroup() didn't work properly + (STR #13) + - Fixed the fl_show_file_selector() function - it was + copying using the wrong string size (STR #14) + - fl_font() and fl_size() were not implemented on MacOS + X. + - Sorted the icon menu bar in fluid. + - Fixed minor memory access complaints from Valgrind + - Compiling src/flstring.h on OS X with BSD header would + fail. + - Fl_Text_Editor didn't scroll the buffer when the user + pressed Ctrl+End or Ctrl+Home. + - Fl_Text_Editor didn't show its cursor when the mouse + was moved inside the window. + - FLUID now uses an Fl_Text_Display widget for command + output, which allows you to copy and paste text from + command output into other windows. + - Fl_Gl_Window could cause a bus error on MacOS X if the + parent window was not yet shown. + - FLUID could crash after displaying a syntax error + dialog for the callback code. + - FLUID would reset the callback code if you opened the + widget panel for multiple widgets. + - Added a NULL check to Fl_Text_Display (SF Bug #706921). + - The fltk-config script placed the LDFLAGS at the wrong + place in the linker options. + - Fl_Text_Display didn't draw the outer box in the right + dimensions, so it was invisible. + - Fl_Help_Dialog used the same color for links as for + the background, causing links to be invisible on pages + without a background color set. + +----HTML---- + +

The first release candidate for FLTK 1.1.4 is now available +for download and testing. You now have until June 9th, 2003 to +report any problems with this release candidate using the +software trouble report form at the following URL:

+ +
+    http://www.fltk.org/str.php
+
+ +

If no priority 4 or 5 STRs are received and confirmed before +this date, 1.1.4 will be released. + +

Note: Since problems reported on the FLTK newsgroups or +mailing lists are not automatically entered as STRs, it +is important that you report any problems using the STR form. + +

---- Draft FLTK 1.1.4 Release Announcement ----

+ +

The FLTK Team is proud to announce the release of FLTK 1.1.4, a cross-platform C++ GUI toolkit for UNIX®/Linux® (X11), Microsoft® Windows®, and MacOS® X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL® and its built-in GLUT emulation. -

The FLTK 1.1.3 release is primarily a bug-fix release -including several MacOS X drawing and OpenGL bugs. The new -release also adds support for up to 2 additional qualifiers -before a class name in FLUID. +

The FLTK 1.1.4 release is primarily a bug-fix release +including fixes to FLUID and the Fl_File_Chooser, Fl_Help_View, +Fl_Text_Display, and Fl_Text_Editor widgets. The new release +also adds a find method to Fl_Help_View.

FLTK is provided under the GNU Library Public License with exceptions that allow for static linking. -

Changes since FLTK 1.1.2 include: +

Changes since FLTK 1.1.3 include:

diff --git a/CHANGES b/CHANGES index 02706e8a2..8358064c2 100644 --- a/CHANGES +++ b/CHANGES @@ -3,7 +3,7 @@ CHANGES IN FLTK 1.1.4rc1 - The file chooser did not reset the click count when changing directories; if you clicked on a file in the same position after changing directories with a - double- click, the chooser treated it as a triple + double-click, the chooser treated it as a triple click (STR #27) - Symbols with outlines did not get drawn inactive. - The Fl_Help_View widget now provides a find() method diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx index 3b9bdee04..a864378d1 100644 --- a/fluid/widget_panel.cxx +++ b/fluid/widget_panel.cxx @@ -449,7 +449,6 @@ Fl_Double_Window* make_widget_panel() { o->textfont(4); o->callback((Fl_Callback*)callback_cb); o->align(FL_ALIGN_LEFT); - o->when(FL_WHEN_CHANGED); Fl_Group::current()->resizable(o); o->buffer(new Fl_Text_Buffer()); o->textfont(FL_COURIER); diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl index 1c47d05a9..e2f4a76b0 100644 --- a/fluid/widget_panel.fl +++ b/fluid/widget_panel.fl @@ -414,7 +414,7 @@ image} Fl_Text_Editor {} { label {Callback:} callback callback_cb selected - tooltip {The callback function or code for the widget.} xywh {102 177 291 86} box NO_BOX align 4 when 1 textfont 4 resizable + tooltip {The callback function or code for the widget.} xywh {102 177 291 86} box NO_BOX align 4 textfont 4 resizable code0 {o->buffer(new Fl_Text_Buffer());} code1 {o->textfont(FL_COURIER);} } diff --git a/makesrcdist b/makesrcdist index 0665a3663..27099e995 100755 --- a/makesrcdist +++ b/makesrcdist @@ -9,7 +9,7 @@ CVS_RSH=ssh; export CVS_RSH MAINTAINER=easysw cd /tmp -cvs -q -d$MAINTAINER@cvs.fltk.sourceforge.net:/cvsroot/fltk get -r v1_1 fltk +cvs -q -d$MAINTAINER@cvs.fltk.sourceforge.net:/cvsroot/fltk get -P -r v1_1 fltk if test $# = 0; then echo -n "Version number for distribution? " @@ -40,7 +40,7 @@ find . -name .cvsignore -exec rm -f '{}' \; find . -name CVS -exec rm -rf '{}' \; rm -rf OpenGL autom4te* bc5 config forms gl glut images packages themes -rm makesrcdist +rm -f makesrcdist cd ..