summaryrefslogtreecommitdiff
path: root/CHANGES
AgeCommit message (Collapse)Author
2018-12-10Rename README files to README.txt (and several similar files).Albrecht Schlosser
Files without '.txt' suffix can't be handled well by Windows (users), hence renaming such text files to *.txt makes FLTK more "Windows-friendly". There are a few exceptions (this is intentional): README and other files in bundled libraries (maintained upstream) are not changed.
2018-12-04Fix 'fluid.app' for case sensitive macOS file systems.Albrecht Schlosser
Change 'Fluid.app' to 'fluid.app'. Also changed documentation and (https) links in modified files.
2018-11-29Fix FL_PUSH event handling of Fl_Check_Browser (STR #3004).Albrecht Schlosser
Test if the FL_PUSH event is inside the widget area and inside the scrollbars (if scrollbars are visible). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-21Mention added support for MacOS 10.14Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13080 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-01Update release date. (Test commit)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-09-12MacOS ≥ 10.10: Fl_Window::fullscreen() and fullscreen_off() no longer call ↵Manolo Gouy
Fl_Window::hide() + Fl_Window::show() The new procedure essentially resizes the window, as done on the X11+EWMH and Windows platforms. This improves in particular the possibility to turn an Fl_Gl_Window fullscreen on and off. MacOS ≥ 10.10 is required because the procedure isn't stable (random crashes during fast switches) with 10.9. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-09-02Revert test commit.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-28Fix typo.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-19A test commit. Please revert.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-14Update FLTK 1.4.0 release year.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-06Fix crash when a program exits before it opens a window (STR #3484).Albrecht Schlosser
This crash and the fix are Windows specific. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-27Add missing Fl_Cairo_Window constructors (STR #3160).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-11Mention new member functions Fl_Paged_Device::begin_job() and begin_page().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-22Rename Fl_Image::pixel_w() and pixel_h() to Fl_Image::data_w() and data_h().Manolo Gouy
The docs of class Fl_Image and of Fl_Image::scale() are beefed up. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-19New member function Fl_Image::scale(int width, int height) to set the FLTK ↵Manolo Gouy
size of an image. Each image has now two sizes implemented as follows: - the pixel size is stored in private members pixel_w_ and pixel_h_ with public accessors pixel_w() and pixel_h() - the FLTK size is stored in private members w_ and h_ and read by w() and h() - when the image is constructed, the two sizes have the same value - the protected w(int) and h(int) member functions set both FLTK and pixel sizes. - the public scale(int, int) member function is essentially nothing but set the FLTK size and don't change the pixel size. - when the image is drawn, its FLTK size determines how big it is drawn, its pixel size determines how much data are available to draw it. FLTK 1.3.4 with FL_ABI_VERSION=10304 contained an equivalent member function but only for the Fl_Shared_Image class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-10Remove mention of -DFLTK_HIDPI_SUPPORT which was removed.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-20Remove Fl::run_also_windowless() and FL::wait_also_windowless() from planned ↵Manolo Gouy
public FLTK 1.4 API. These were introduced at r12647, that is, during development of the 1.4 API. These functions provided windowless support only on the MacOS platform, where this can be obtained without those functions. Windowless support on other platforms would require changing the event loop. There's no evidence from STR's there's a demand for windowless mode on other platforms. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-07STR#3450: Draw text with OpenGL using textures on all platforms.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-06Add support for detection and processing of clean program termination request.Manolo Gouy
The default handling of cmd-Q/Quit program under MacOS was to terminate the program if all its windows are closed without returning from FLTK's event loop. This was running against a strong design feature of FLTK that programs should always complete their event loop and return from main() when cleanly terminating. In the new code for the MacOS platform, cmd-Q/Quit program no longer terminates the program. Instead, the event loop is interrupted and a call to Fl::program_should_quit() allows to detect that program termination has been requested, if necessary. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31Replace FL/x.H with FL/platform.H - step 1.Albrecht Schlosser
This first step replaces FL/x.H with FL/platform.H but keeps a small FL/x.H that #include's FL/platform.H for backwards compatibility. Documentation sources in documentation/src/*.dox have been fixed, but references in other source files need to be fixed in another step. Dependencies have been adjusted. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-12-18STR#3437 : Support display of windows in tabbed form as in MacOS 10.12 SierraManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15Rename fl_open_ext() parameter 'translation' to 'binary'.Albrecht Schlosser
The default (0) is 'text' mode, non-zero is 'binary' mode on platforms that distinguish text and binary mode. Currently Windows is the only supported platform that needs this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-12Mention new function fl_open_ext().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-11Add missing Fl_Labeltype and Fl_Boxtype definitions.Albrecht Schlosser
Some labeltypes and boxtypes were missing a #define for the enum without a leading underscore and the corresponding setup function to initialize the internal table of boxtypes and labeltypes, for instance _FL_MULTI_LABEL. This is now fixed so (hopefully) all boxtypes and labeltypes can and _should_ be used w/o leading underscore. Note: if there are still boxtypes or labeltypes that can't be used w/o leading underscore this should be considered a bug and is to be fixed ASAP. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-10Fix compiler warning and potential error in PNG error handling.Albrecht Schlosser
Compilation with gcc -Wall -Wextra displayed the following warning: Fl_PNG_Image.cxx: In member function ‘void Fl_PNG_Image::load_png_(const char*, const unsigned char*, int)’: Fl_PNG_Image.cxx:118:9: warning: variable ‘fp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] Making the variable static and initializing it properly avoids this potential error in the PNG lib's error handling. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-03Annonce the new Fl_SVG_Image class and related configure/CMake options.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-26Fix confusing behavior of class Fl_Text_Selection.Albrecht Schlosser
Fl_Text_Selection got a new method length() and returns 0 in length() and in all offsets (start(), end(), position()) if no text is selected (selected() == false). The behavior in FLTK 1.3 and earlier versions (returning undefined values if !selected()) was confusing. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-25Fix blocks demo keyboard handling, add new shortcut.Albrecht Schlosser
The blocks demo was unintentionally intercepting ctrl/+ which was introduced in FLTK 1.4.0 to change scaling for HiDPI screens. Now this is separated: use ctrl/+/-/0 to change scaling, use '+' alone to change the game level. The new keyboard shortcut ALT+SHIFT+H allows users to reset their high scores without editing the preferences file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18Remove documentation of STR #3374 from CHANGES.Albrecht Schlosser
We don't need to document STR fixes of bugs that have been introduced and fixed in FLTK 1.4.0 svn since this is not a regression since 1.3.x. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-18Added support for MacOS 10.13 "High Sierra".Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-07Introduce Fl_Group::bounds(), deprecate Fl_Group::sizes().Albrecht Schlosser
The new method Fl_Group::bounds() replaces Fl_Group::sizes() whose internal array structure was not documented. Fl_Group::bounds() uses the new and documented class Fl_Rect for its internal structure. src/Fl_Tile.cxx now uses bounds() instead of sizes(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-06-04Fix Fl_Browser background and text color parsing (STR #3376).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12252 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-06-02Fix typo.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12250 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-06-02Document new HiDPI support under the X11 platform.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-05-22Make some methods of Fl_Tabs protected and/or virtual (STR #3211).Albrecht Schlosser
Patch proposed by Teklad (STR #3211, file #7): http://www.fltk.org/strfiles/3211/Fl_Tabs.H.patch with minor modifications and adjustments for FLTK 1.4.0. Method which() is now also virtual, as suggested by guyben in comment #24. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-05-15Allow to disable shadows in Fl_Clock and derived widgets.Albrecht Schlosser
As discussed on 2017-05-15 in fltk.general, thread "Fl_clock". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-04-12Mention fix for STR#3374Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-04-11Fix Windows CreateDC/DeleteDC mismatch (STR #3373).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-11Separated Fl_Input_Choice.H and Fl_Input_Choice.cxx (STR #2750).Albrecht Schlosser
As proposed in STR #2750 and #2752: only status quo, i.e.: - no new method Fl_Input_Choice::maximum_size(int) (STR #2750 and #2752) - no handling of FL_Down key to open menu (STR #2752) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-10Enable Up/Down keys in Fl_Spinner if input has focus (STR #2989).Albrecht Schlosser
Previously Up/Down keys worked only if one of the buttons was pressed before so that it had the focus. test/valuators.fl: The second Fl_Spinner widget (FL_FLOAT_INPUT) now has wrap mode disabled whereas the first one (FL_INT_INPUT) uses wrap mode (default, compatible with FLTK 1.3.x and older). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-10New method Fl_Spinner::wrap(int) to set wrap mode at bounds (STR #3365).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-09Separated Fl_Spinner.H and Fl_Spinner.cxx (STR #2776).Albrecht Schlosser
Also removed deprecated (misspelled) method names mininum() and maxinum(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-06Fl_Tabs: improve tab label drawing (STR #3075, STR #3076).Albrecht Schlosser
New method Fl_Tabs::tab_align() supports icons in tabs (STR #3076). This commit also enables drawing labels of Fl_Window children (STR #3075). Setting tab_align(FL_IMAGE_NEXT_TO_TEXT) draws images (icons) in the tab labels if the child has an image(). Currently this draws the image() even if the child is deactived (so it should presumably draw the deimage()). Todo: Label measurement and Fl_Windows as children still need fixups. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-08Rename test/help demo program to test/help_dialog.Albrecht Schlosser
This change avoids a name conflict with CMake's auto-generated target 'help' for "Unix Makefiles", "Ninja", and supposedly other generators as well. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-04Fix line number alignment in Fl_Text_Display/Editor (STR #3363).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-21X11 platform: Add optional use of the pango library to draw text, gaining ↵Manolo Gouy
the possibility to draw text in any script supported by Unicode. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-10Mention Fl_Surface_Device::push_current(new_surface) and ↵Manolo Gouy
Fl_Surface_Device::pop_current(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12143 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-05Fl_Text_Display documentation clarifications.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-05Fl_Text_Buffer constructor: fix "requestedSize ignored in mGapEnd".Albrecht Schlosser
mGapEnd should reflect the total allocated size after the constructor is executed, i.e. the text buffer is empty. This was not the case. See thread "Fl_Text_Buffer constructor bug" (2016-12-05) in fltk.general. The bug was harmless, but the pre-allocation did not work as expected, i.e. the pre-allocated buffer size was allocated but effectively ignored later. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-12-03Mention new --enable-print configure option.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121