summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-04Removes debugging printf.Matthias Melcher
2024-01-04#797: Improves Fl_Tile resize behaviourMatthias Melcher
- if a tile with a size range is resize smaller than the minimum size of all children, the children will now no longer shrink, and expanding will make them work again as expected.
2024-01-01CMake: add missing configuration output statementAlbrecht Schlosser
2023-12-30Fluid: fix "MergeBack" preference locationAlbrecht Schlosser
... although currently disabled - just in case this feature will be re-enabled.
2023-12-28Adds Fl_Input RMB menu translation to test/preferencesMatthias Melcher
This also updates the RMB menu labels before every popup so that changing the labels after creating the widgets still reflects that change correctly.
2023-12-28Fix for bug in Mutter Wayland compositor (#878) - cont'dManoloFLTK
Add more tests to do additional operations under stricter conditions
2023-12-28Fix for bug in Mutter Wayland compositor (#878)ManoloFLTK
Mutter implements too strictly this rule expected from compositors about "frame callbacks" : "A server should avoid signaling the frame callbacks if the surface is not visible in any way, e.g. the surface is off-screen, or completely obscured by other opaque surfaces." When a window is being interactively resized, it makes no sense to create a frame callback for an entirely covered surface but then never signal the surface can be redrawn, because this blocks the resize operation. Neither KWin nor Weston have this problem.
2023-12-27Fix position of 1-button Fl_Message windowsManoloFLTK
2023-12-26Wld: export only member functions for ./configure --enable-shared (#872)ManoloFLTK
2023-12-23Improve docs and add two new Fl_Menu_Item methods (#875)Albrecht Schlosser
This addresses some issues pointed out by GitHub Issue #875. Documentation lacked details about Fl_Multi_Label assignment and correct memory handling. The new methods - Fl_Menu_Item::image_label(const Fl_Image *) and - Fl_Menu_Item::multi_label(const Fl_Multi_Label *) provide a cleaner interface to assign images and Fl_Multi_Label's to menu items. examples/howto-menu-with-images.cxx: carify some issues, fix leak, and use new Fl_Menu_Item::multi_label(const Fl_Multi_Label *).
2023-12-23Fix memory free() mismatch (#875)Albrecht Schlosser
This issue was revealed during testing for GitHub Issue #875. "ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed", reported by examples/howto-menu-with-images.cxx if the window object was released at the end of the program, causing Fl_Menu_::clear() to be called. The issue was caused by casting all supported label types to 'const char *' which are stored in Fl_Menu_Item::text and then trying to free() all text strings in Fl_Menu_::clear() under certain conditions. Now images and Fl_Multi_Label's are no longer (tried to be) free'd.
2023-12-22A more cross-platform way to fix issue #876ManoloFLTK
2023-12-21Ensure that exporting 'fl_disable_wayland' worksAlbrecht Schlosser
... with cmake_minimum_required(VERSION 3.4) or higher. This version sets CMP0065 to 'NEW' which by default inhibits exporting global symbols from executable programs. For details see CMake policy CMP0065 and README.Wayland.txt.
2023-12-21Fix "Fl_Plugin_Manager::loadAll doesn't work correct" (#876)ManoloFLTK
2023-12-21Fix "Fl_Input popup menu customize doesn't work" (#874)ManoloFLTK
2023-12-21Fix "commit 96bacd3 may crash on X11" (#873)ManoloFLTK
2023-12-21Fix a typo, trailing whitespace, and dependenciesAlbrecht Schlosser
2023-12-20Restore "configure --enable-shared" under Linux (#872)ManoloFLTK
2023-12-20Make the 'Forms' compatibility library 'fltk_forms' optionalAlbrecht Schlosser
This library is no longer needed in FLTK itself. There is only one demo program (test/forms.cxx) that uses it if it is built. The demo program displays a message if fltk_forms is not available. The default is 'enabled' for backwards compatibility but this may be changed to 'disabled' in a future version.
2023-12-20Update README.txt and CREDITS.txtAlbrecht Schlosser
- README.txt: typos, names, FLTK URL and other minor changes - CREDITS.txt: update current maintainers, remove mail addresses
2023-12-19Remove typos in the documentation of fl_x11_use_display()ManoloFLTK
2023-12-19Fix typos, formatting, and text alignment in test/forms.cxxAlbrecht Schlosser
no real code changes
2023-12-19Procedure to instruct FLTK to use given X11 connexion (#149)ManoloFLTK
2023-12-18Fix issue #871 for html causing crashesGreg Ercolano
2023-12-18 Wayland: Menu items are accessible when mouse is over another win (#869)ManoloFLTK
2023-12-17Fix MSVC compiler warningAlbrecht Schlosser
2023-12-16#842: Enables command line color arguments on macOSMatthias Melcher
2023-12-16#674: FLUID: Scrolls shell script terminal to the bottom on every runMatthias Melcher
2023-12-16#832: FLUID: Improves widget browser outputMatthias Melcher
2023-12-16Small doc clarificationGreg Ercolano
2023-12-16Fixes fl_message_position for widgets and subwindowsMatthias Melcher
- https://groups.google.com/d/msgid/fltkcoredev/902a753e-7430-4302-b384-c30c7d45e3bfn%40googlegroups.com.
2023-12-16Adds mouse wheel input to Fl_CounterMatthias Melcher
2023-12-16#868: Suppress warning about unused private members of Fl_Shortcut_ButtonMatthias Melcher
2023-12-16STR#3283: Add new Fl_Table right-click popup menu exampleGreg Ercolano
2023-12-16Fix memory leak in Fl_Terminal (#867)Albrecht Schlosser
2023-12-15Fix C++ comments in C fileAlbrecht Schlosser
2023-12-15Wayland+libdecor: iImprove fl_is_surface_gtk_titlebar()ManoloFLTK
2023-12-15#840: Generously adds Fl::args_to_utf8() for MinGW support.Matthias Melcher
2023-12-15#840: Fixes fixed buffer size in Fl::args_to_utf8() (fl_call_main)MatthiasWM
2023-12-15#832: FLUID: Adds custom fonts and colors for widget browser.Matthias Melcher
2023-12-15Some reorganization of fl_libdecor-plugins.cManoloFLTK
2023-12-14fix window titles for table examplesGreg Ercolano
2023-12-14FLUID: Adds image scaling to widget dialogMatthias Melcher
2023-12-14FLUID: option to show terminal, clear terminal, and clear historyMatthias Melcher
2023-12-14FLTK implementation of the "GTK Shell" Wayland protocol - cont'dManoloFLTK
The loop over all libdecor-gtk decorations is now made using libdecor's data structures, rather than using FLTK's mapped window list.
2023-12-13#840: Fixes fixed buffer size in Fl::args_to_utf8()MatthiasWM
2023-12-13Fix X11 '_NET_ACTIVE_WINDOW' message (STR 3396)Albrecht Schlosser
Send a valid timestamp rather than 0. For details see STR 3396.
2023-12-13#862: FLUID "Open FIle..." no longer closes current project...Matthias Melcher
...when user cancels out of file choose
2023-12-13#862: Removes default shortcut from Fl_Shortcut_ButtonMatthias Melcher
- the current UI for fallback/default/original shortcut was confusing, so I remove it until we find something better. I kept the values so we can reinstate a better interface without changing the API.
2023-12-13Improve Fl_Tabs documentation (minor wording issue)Albrecht Schlosser