changes
来自「SRI international 发布的OAA框架软件」· 代码 · 共 1,644 行 · 第 1/5 页
TXT
1,644 行
CHANGES IN FLTK 1.1.0rc5
- Added "wrap" type bit to Fl_Input_, so you can now
have a multiline text field that wraps text.
- Setting the value() of an output text field no longer
selects the text in it.
- Output text fields now show a caret for the cursor
instead of the vertical bar.
- The newButton and previewButton widgets are now public
members of the Fl_File_Chooser class. This allows
developers to disable or hide the "new directory" and
"preview" buttons as desired.
- Added new visible focus flag bit and methods to
Fl_Widget, so it is now possible to do both global and
per-widget keyboard focus control.
- Removed extra 3 pixel border around input fields.
- No longer quote characters from 0x80 to 0x9f in input
fields.
- Improved speed of Fl_Browser_::display() method with
large lists (patch from Stephen Davies.)
- Fl_Help_View didn't properly handle NULL from the link
callback (the original filename/directory name were
not preserved...)
- Fl_Help_View didn't use the boxtype border values when
clipping the page that was displayed.
- Added first steps to CodeWarrior/OS_X support (see
fltk-1.1.x/CodeWarrior/OS_X.sit)
- Cleaned up the WIN32 export definitions for some of
the widget classes.
- Fixed a filename completion bug when changing
directories.
- Fl_File_Chooser::value() would return directories with
a trailing slash, but would not accept a directory
without a trailing slash.
- When installing shared libraries, FLUID is now linked
against the shared libraries.
- MacOS: missing compile rule for .dylib files.
- Fl_Group::current(), Fl_Group::begin(), and
Fl_Group::end() are no longer inlined so that they are
properly exported in DLLs under WIN32. Similar
changes for all static inline methods in other
classes.
- MacOS: support for Mac system menu (Fl_Sys_Menu_Bar)
- MacOS: wait(0) would not handle all pending events
- Added new makeinclude file for MingW using GCC 3.1.x.
- Fl_Choice::value(n) didn't range check "n".
- The MingW and OS/2 makeinclude files didn't have the
new fltk_images library definitions.
- Fl_Text_Editor didn't scroll the text in the widget
when dragging text.
- Config header file changes for Borland C++.
- FLTK didn't provide a Fl::remove_handler() method.
CHANGES IN FLTK 1.1.0rc4
- Added new filter_value() methods to Fl_File_Chooser to
get and set the current file filters.
- Added support for custom filters to Fl_File_Chooser.
- Added Borland C++ Builder IDE project files from
Alexey Parshin.
- Resource leak fixes under WIN32 from Ori Berger.
- Now register a WIN32 message for thread messages.
- Fl_Window didn't initialize the min and max window
size fields.
- The JPEG and PNG image classes have been moved to the
fltk_images library, a la FLTK 2.0. You can register
all image file formats provided in fltk_images using
the new fl_register_images() function.
- Fl_XBM_Image didn't correctly load XBM files.
- MacOS: Added Greg Ercolano's file descriptor support.
- MacOS: Fixed text width bug.
- A change in fl_fix_focus() broken click-focus in FLWM.
- Cygwin with -mnocygwin didn't like the FL/math.h
header file.
- Fl_Browser_ cleared the click count unnecessarily.
- MacOS: Pixmap draw fix, gl_font implemented
FL_FOCUS fix, window type fix for modal and nonmodal
windows, glut uninitialised 'display' proc fix
- Now support FLTK_1_0_COMPAT symbol to define
compatibility macros for the old FLTK 1.0.x function
names to the 1.1.x names.
- Now translate the window coordinates when a window is
shown, moved, or resized. This should fix the "menus
showing up at the wrong position" bug under XFree86.
- Fixed some more problems with the Fl_BMP_Image file
loader.
- BC++ fixes.
- The pixmap_browser demo didn't check for a NULL image
pointer.
- Fl_File_Icon::find() now uses fl_filename_isdir()
under WIN32 to check for directories.
- Fl_File_Chooser's preview code called refcount()
on the deleted image's object.
- Fixed another problem with the Fl_BMP_Image loader.
- The fl_file_chooser() callback was being called with a
NULL filename.
- Documented that fl_push_clip() is preferred over
fl_clip(), with a corresponding source change.
- Minor changes to the MacOS X event handling code.
- Added syntax highlighting example code to the editor
test program.
- Fl_Text_Display didn't range check style buffer
values.
- Added "dark" color constants (FL_DARK_RED, etc.)
- The MacOS font code was missing definitions for
fl_font_ and fl_size_.
CHANGES IN FLTK 1.1.0rc3
- Documentation updates.
- New file chooser from design contest.
- Did some testing with Valgrind and fixed some memory
problems in Fl_Help_View::Fl_HelpView,
Fl_Menu_::remove(), Fl_Text_Display::draw_vline(), and
resizeform() (convenience dialogs).
- Fixed some redraw() bugs, and now redraw portions of
the parent widget when the label appears outside the
widget.
- The boolean (char) value methods in Fl_Preferences
have been removed since some C++ compilers can't
handle char and int value methods with the same name.
- Added fl_read_image() function.
- Fixed Fl_Valuator::format() so that the correct format
type is used when step == 1.0.
- Fl_Help_View didn't support the TT markup.
- Fl_Shared_Image used a double-pointer to the image
handler functions, which was unnecessary and
unintuitive.
- Fl_PNM_Image didn't load the height of the image
properly.
- Fl_BMP_Image, Fl_JPEG_Image, Fl_PNG_Image, and
Fl_Shared_Image didn't delete image data that was
allocated.
- Enabled the OpenGL and threads demos when compiling
for MingW.
- Fl_File_Input didn't update the directory buttons if a
callback was registered with the widget.
- The file chooser would return the last selected
file(s) when cancel was pressed.
- The file chooser limited the resizing of the chooser
window unnecessarily.
- Fixed WM_PAINT handling under WIN32.
- Minor tweeks to MingW and OS/2 config headers.
- Fl_Value_Input now correctly determines if step()
specifies an integer value.
- Fl_Help_View didn't add links inside PRE elements.
- OS/2 build fixes from Alexander Mai.
- Now use strlcat() instead of strncat() which could
cause buffer overflows.
- Now use of strlcpy() instead of strncpy() to simplify
the code.
- Drag-n-drop under WIN32 now shows a [+] cursor instead
of the link cursor.
- Fixed widget width tooltip and default argument
handling code in FLUID.
- Fixed colors used when drawing antialiased text using
Xft.
- Fl_Preferences::makePath() now uses access() instead
of stat() when checking to see if the destination
directory already exists.
- Fl_BMP_Image now supports older BMP files with the 12
byte header.
- Optimized the redrawing of tabs and radio/check
buttons when the keyboard focus changes.
- More tooltip fixes.
- DND text operations would loop under X11.
CHANGES IN FLTK 1.1.0rc2
- Portability fixes.
- Backported 2.0 tooltip changes.
- Several of the valuators did not support tooltips.
- The last menu item in a menu didn't pick up on font
changes.
- FLUID now properly handles default argument parameters
properly.
- Fixed WM_PAINT handling under WIN32 - didn't validate
the correct region that was drawn.
- Fl_Multiline_Output would insert the enter key.
- Fl_File_Browser didn't clip items to the column width.
- Fl_Window::draw() cleared the window label but didn't
restore it, so windows could lose their titles.
- Eliminated multiple definitions of dirent structure
when compiling under WIN32.
- Adjusted the size of the circle that is drawn inside
radio buttons to scale better for larger labels.
- FLUID was opening the display when it shouldn't have.
- Fl_File_Chooser.cxx defined the file chooser functions
again; they should only be defined in the header file.
- Wide arcs would draw with "teeth".
- The preferences demo included Fl/Fl_Preferences.H
instead of FL/Fl_Preferences.H.
CHANGES IN FLTK 1.1.0rc1
- The fl_file_chooser() and fl_dir_chooser() functions
now support an optional "relative" argument to get
relative pathnames; the default is to return absolute
pathnames.
- The backspace and delete keys now work as expected in
the file chooser when doing filename completion.
- FLUID now supports running shell commands.
- New Fl_File_Input widget that shows directory
separators with filename in input field.
- The Fl_File_Chooser dialog now shows the absolute path
in the filename field using the Fl_File_Input widget.
- FLUID now keeps track of grid, tooltip, and other
GUI options, along with the last 10 files opened.
- Tooltip windows would show up in the task bar under
WIN32.
- Now append trailing slash to directory names in names
in WIN32 version of scandir(). This takes care of a
file chooser performance problem with large
directories.
- Added Fl_Preferences class from Matthias Melcher,
including binary data support.
- FLUID now recognizes the "using" keyword in
declarations.
- fl_file_chooser() didn't highlight the requested file
the second time the file chooser dialog was shown.
- Fixed rendering of Fl_Light_Button with the plastic
scheme.
- Fixed a bug in the MacOS font enumeration code.
- Now show a "locked" icon next to static/private
elements in FLUID, and "unlocked" icon next to
global/public elements.
- Implemented Fl_Menu_Item image labels using older
1.0.x labeltype method.
- Updated the PNG library check to support both png.h
and libpng/png.h.
- Fixed a recursion bug in tooltips that was causing
random crashes.
- fl_file_chooser() could cause a segfault when passed a
NULL filename parameter in some situations.
- Added a "-g" option to fltk-config to support quick
compiling with debugging enabled.
- Fixed redraw problem with Fl_Input and anti-aliased
text.
- Added threading support for MacOS X and Darwin.
- The filesystem list in the file chooser now works under
MacOS X and Darwin.
- The fl_msg structure now contains all data passed to
the WndProc function under WIN32.
- Fixed some window focus/positioning problems under
MacOS X.
- Added fl_create_alphamask() function to create an alpha
mask from 8-bit data; currently this always generates a
1-bit screen-door bitmask, however in the future it will
allow us to generate N-bit masks as needed by various
OS's.
- Fl_File_Browser::load() didn't properly show drives
when compiled in Cygwin mode.
- Now pass correctly pass keyboard and mouse events to
widget under tooltip as needed...
- Added new Fl::dnd_text_ops() methods to enable/disable
drag-and-drop text operations.
- Fl_Input now supports clicking inside a selection to
set the new text position when drag-and-drop is
enabled.
- Added support of X resources for scheme, dnd_text_ops,
tooltips, and visible_focus...
- Fixed some case problems in includes for the MacOS X
code.
- Fl_Widget::handle() returned 1 for FL_ENTER and
FL_LEAVE events, which caused some compatibility
problems with 1.0 code.
- Fl_Box::handle() now returns 1 for FL_ENTER and
FL_LEAVE events so that tooltips will work with Fl_Box
widgets.
- Some source files still defined strcasecmp and
strncasecmp under WIN32.
- Some source files still used the "false" and "true"
C++ keywords, even though several of our "supported"
C++ compilers don't support them. Using 0 and 1 until
FLTK 2.0 (which uses the bool type instead of int for
any boolean values...)
- Minor Fl_Color revamping, so that color constants map
to the color cube and FL_FOREGROUND_COLOR,
FL_BACKGROUND_COLOR, FL_BACKGROUND2_COLOR,
FL_INACTIVE_COLOR, and FL_SELECTION_COLOR map to the
user-defined colors.
CHANGES IN FLTK 1.1.0b13
- Fixed a bug in the Xft support in Fl_Window::hide()
(the config header wasn't included, so the Xft code
wasn't getting called)
- Xdbe support must now be enabled explicitly using
--enable-xdbe due to inconsistent bugs in XFree86 and
others.
- Windows resized by a program would revert to their
original size when moved under WIN32.
- Cygwin can only compile the new WIN32 drag-n-drop code
using GCC 3.x.
- Tooltips now appear for inactive and output widgets.
- Tooltips no longer steal keyboard events other than
ESCape.
- Tooltips are no longer delayed when moving between
adjacent widgets.
- fl_beep(FL_BEEP_DEFAULT) now uses the PC speaker under
Windows (0xFFFFFFFF) rather than an event sound.
- The configure script didn't include the -mwindows or
-DWIN32 compiler options in the output of fltk-config
when using the Cygwin tools.
- Fl_Output didn't take input focus when needed, so it
was unable to support CTRL-C for copying text in the
field and did not unhighlight selections when the
widget lost focus.
- The fl_filename_name() function didn't handle a NULL
input string.
- The input field used by the fl_input() and
fl_password() functions was resized too small in
1.1.0b12.
- Added casts in fl_set_fonts_win32.cxx for VC++ 5.0.
- Fl_File_Icon::find() did not check the basename of a
filename for a match; this caused matches for a
specific filename (e.g. "fluid") to fail.
- The Fl_Shared_Image class now supports additional
image handling functions - this allows you to support
additional image file formats transparently.
CHANGES IN FLTK 1.1.0b12
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?