summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-06Remove Fl_Simple_Terminal (replaced by Fl_Terminal)Albrecht Schlosser
... as discussed previously.
2024-01-06Wld: Add missing keypad key to keypad translation table (#881)Albrecht Schlosser
Keypad key 'Del' aka '.' (or ',') was missing in the key translation table for Fl::e_original_keysym. Also: add DEBUG_KEYBOARD macro to enable/disable keyboard debugging code easier.
2024-01-06 Fix "When zooming window, the window size range must be adjusted" (#880)ManoloFLTK
2024-01-06 Wld: Fix e_original_keysym for keypad number keys + NumLock off (#881)ManoloFLTK
2024-01-06Wayland: fix processing of '.' keypad key (#881)ManoloFLTK
2024-01-05Wayland: numeric keypad keys don't work as intended - cont'd (#881)ManoloFLTK
2024-01-05 Wayland: numeric keypad keys don't work as intended (#881)ManoloFLTK
2024-01-04Remove unused variables [-Wunused-variable]Albrecht Schlosser
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.
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-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-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-16#842: Enables command line color arguments on macOSMatthias 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-16Fix memory leak in Fl_Terminal (#867)Albrecht Schlosser
2023-12-15Fix C++ comments in C fileAlbrecht Schlosser
2023-12-15#840: Fixes fixed buffer size in Fl::args_to_utf8() (fl_call_main)MatthiasWM
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: 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-13FLTK implementation of the "GTK Shell" Wayland protocol - cont'dManoloFLTK
The pointer_enter() function now checks that its non-FLTK wl_surface argument is the wl_surface of the titlebar of a GTK-decorated window.
2023-12-13Allow walk while selection is being madeGreg Ercolano
2023-12-13macOS platform + GLUT: fix crash with glut_test - cont'dManoloFLTK
2023-12-13Wayland+GLUT: fix crash in glut_test application - cont'dManoloFLTK
2023-12-12Address hang in issue #866Greg Ercolano
2023-12-12#188: Fixes Fl_Shared_Image ref count and find opMatthias Melcher
- ported froward from 1.3.9 - fixes ref count for original and other images - fixes binary search issues
2023-12-12#863: Fixes Fl_tile resize behavior when scaling windowMatthias Melcher
2023-12-12Wayland+GLUT: fix crash in glut_test applicationManoloFLTK
2023-12-12macOS platform + GLUT: fix crash with glut_test appManoloFLTK
2023-12-10Documentation: Improve doc comment for ~Fl_GroupKyriet
2023-12-10Replace wl_output_destroy() by wl_output_release() when possibleManoloFLTK