summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-18Wayland: throttle resize operations also for top-level GL windowsManoloFLTK
Member cb of struct wld_buffer is replaced by member frame_cb of struct wld_window. This allows frame_cb to be used both for non-GL and for top-level GL windows.
2024-01-17Synchronize mouse and keyboard callbacks for Fl_Button (#877)Matthias Melcher
Keyboard behavior for button types was not consistent with mouse click behavior. This change avoids callbacks when pressed radio buttons are pressed again.
2024-01-17Restore original Fl_Button event behavior(#877)Matthias Melcher
Previous commits introduced too many changes to Fl_Button callbacks, creating problems in user apps. This is the base for a second much more specific fix to event flags.
2024-01-17 Wayland + full-size subwindow resizing issue - cont'd (#878)ManoloFLTK
Implement a less strict handling of resizing of a decorated window entirely covered by a subwindow where throttling of fast resize commands is guided by the value of the in_use member variable of the window's wld_buffer.
2024-01-15Fixed issue number reference.Greg Ercolano
2024-01-15Addresses issue #879Greg Ercolano
2024-01-15Small code fixupsGreg Ercolano
> Enabled -Wall -Wextra -Wpedantic to catch errors - Silenced resulting "unused parameters" warnings - Fixed char omission in protected Fl_Terminal::insert_char() methods > Self doc code and better comments in RingBuffer::resize() > Changed private RingBuffer::clear_disp_row() -> clear_disp_rows() > Added private RingBuffer::hist_rows()/disp_rows() setter methods > Added private RingBuffer::offset_adjust() method for adjusting RingBuffer offset_ > Fixed comment typos > Remove white space inside outer parens of while()/if()/etc
2024-01-14#877: Formatting, comments, debug outputMatthias Melcher
2024-01-14#877L: Formatting, Unused variable.Matthias Melcher
2024-01-14#842 - cont'd: fix typos in documentation.ManoloFLTK
2024-01-14#887: Fixes FLTK file chooser not releasing preview image.Matthias Melcher
...when hidden
2024-01-14#889: Fixes missing return statement.Matthias Melcher
2024-01-13#842: Documents args() color values and how they applyMatthias Melcher
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.