summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-13#877: Fixes shortcut callbacks for Fl_ButtonMatthias Melcher
- this commit does rewrite some of the logic, hoping to make thing more, um, logical. The bits react mostly the same and hopefully as expected. Everything is documented in the Fl_Button ctor.
2024-01-13Remove compilation warningManoloFLTK
converting to non pointer type "int" from NULL (-Wconversion-null)
2024-01-13Fix yet another typo in documentationAlbrecht Schlosser
2024-01-13Fix doxygen docs (typo, undocumented parameter)Albrecht Schlosser
2024-01-13#887: Fixes Fl_Shared_Image reference countingMatthias Melcher
- adds documentation to all calls - changes implementation details on ::copy() and copy(w,h)
2024-01-13Wayland: fix processing of keypad keys - cont'd (#881)ManoloFLTK
2024-01-11Comment out debug statementManoloFLTK
2024-01-11Solves issue #882.Greg Ercolano
2024-01-11Solves issue #884: single quote zenity/kdialogGreg Ercolano
2024-01-11#885: Fixes keyboard text selection in Fl_Text_EditorMatthias Melcher
2024-01-10Add Fl_String not-equal testGreg Ercolano
2024-01-10Add textattrib() get method+docsGreg Ercolano
Requested by Jonathan Griffitts during rust bindings.
2024-01-07Wayland: fix processing of keypad keys - tidying (#881)ManoloFLTK
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