summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-01-22Fix Fl_Table_Row inconsistencies, final part (#1187)Albrecht Schlosser
Adjust internal vector sizes before and after changing the rows() in the base class to avoid inconsisten sizes. Note that the crash reported by the OP of PR #1187 was caused by more than one issue, not only the one fixed here. Thanks for the original patch to the author, GitHub user 'basiliscos'.
2025-01-22Windows: replace "Arial" by "Microsoft Sans Serif" for the FL_HELVETICA ↵ManoloFLTK
font family Users who need the old behavior for strict backwards compatibility under Windows can load the previous (Arial) font at program startup with only a few lines of code: #ifdef _WIN32 // reset Windows fonts to pre-1.4.2 state Fl::set_font(FL_HELVETICA, " Arial"); Fl::set_font(FL_HELVETICA + 1, "BArial"); Fl::set_font(FL_HELVETICA + 2, "IArial"); Fl::set_font(FL_HELVETICA + 3, "PArial"); #endif
2025-01-22Remove incorrect use of Fl_Window::current() in ↵ManoloFLTK
Fl_Quartz_Image_Surface_Driver c'tor Fl_Window::current() can refer to a deleted window is some scenarios
2025-01-21CMake: check INTERFACE_LINK_LIBRARIES for empty valueAlbrecht Schlosser
This is a safety for consistency. It doesn't really change the result but avoids "adding" an empty argument to a CMake list.
2025-01-20CMake: make "optional" dependencies 'PUBLIC' (#1173)Albrecht Schlosser
On FreeBSD some of the required header files (and libraries) are not in standard (known) locations, hence they wouldn't be found under certain circumstances. Making all dependencies 'PUBLIC' adds the needed include directories and link libraries to all builds. For details see GitHub Issue #1173 with title "FLUID compilation error on FreeBSD when FLTK_BACKEND_X11=ON"
2025-01-20Attempt to improve member function ↵ManoloFLTK
Fl_Wayland_Screen_Driver::insertion_point_location() This makes the IM aware of the cursor movement to the right after having committed text.
2025-01-18Make Fl_SVG_Graphics_Driver use the C locale when writing float values - cont'dManoloFLTK
2025-01-15Fix typos in documentation of Fl_TabsAlbrecht Schlosser
2025-01-14Fix return value of Fl_Table_Row::row_selected(int) (PR #1187)Albrecht Schlosser
As discussed in the context of PR #1187 the previous return value '-1' was misleading and undocumented. The docs mentioned only '1' and '0'. User code that used the return value as documented (like a `bool`) would make the wrong decision if the return value was '-1': true (selected) instead false (out of range). This commit fixes the code by doing what the docs define and clarifies the documentation. Further documentation improvements of Fl_Table (example code used a method that is not defined in Fl_Table) and of Fl_Table_Row are included as well. Doxygen docs of two methods of Fl_Table_Row moved to the .cxx file where they belong according to the CMP.
2025-01-11Repair incorrect path in #include directiveManoloFLTK
2025-01-11Make Fl_SVG_Graphics_Driver use the C locale when writing float valuesManoloFLTK
2025-01-11Remove unnecessary #include directiveManoloFLTK
2025-01-11 Fl_Text_Editor::wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0) hurts ↵ManoloFLTK
scrolling (#1186)
2025-01-10Wayland platform: fix handling of key repeatsManoloFLTK
2025-01-10Fix Fl_{Wayland|Xlib}_{Copy|Image}_Surface_Driver::set_current()ManoloFLTK
Member function Fl_Cairo_Graphics_Driver::set_cairo() needs be called only to initialize the driver. Doing it also later undoes the effect of Fl_Widget_Surface::translate() if used when Fl_Surface_Device::pop_current() calls the overridden Fl_Surface_Device::set_current().
2025-01-08Make draw to image and draw to clipboard behave equally in X11 and WaylandManoloFLTK
2024-12-31Document in detail how screen work areas are computed across platforms (#1180)ManoloFLTK
2024-12-26Fix integer overflow in image interpolation. (#73)Matthias Melcher
Force casting int to long whenever a pixel offset is calculated as offsets can cross the 2GB border for very large images.
2024-12-26Wayland: fix a border case in member function Fl_Wayland_Window_Driver::resize()ManoloFLTK
2024-12-21FLUID: Improve path handling on Windows.MatthiasWM
2024-12-19Fix compiler warning [-Wsign-compare]Albrecht Schlosser
2024-12-16Fix Help View find method (#1119)Matthias Melcher
The search function now skips '<...>' blocks more reliably and also finds Unicode HTML entities and UTF-8 encoded characters.
2024-12-16Fix possibly uncleared damage flag of Fl_Pack (#1172).Matthias Melcher
Damage flag `FL_DAMAGE_ALL` is set during Fl_Pack::draw if child is repositioned. If the child is outside the clipping area, if will not redraw and the flag will remain set even after Fl_Pack::draw which is not allowed.
2024-12-15Fix: Crash on macOS if Escape is pressed while Help submenu is open (#1170)ManoloFLTK
2024-12-12Fix: Window can be moved while menu is open - cont'd (#1166)ManoloFLTK
2024-12-12Fix: Window can be moved while menu is open (#1166)ManoloFLTK
2024-12-11Fix drawing issue for checkbox buttons with bad box type (#1130)Matthias Melcher
2024-12-10Fix compiler warnings (VS 2019)Albrecht Schlosser
Found with warning level: /W3
2024-12-10Fix Fl_Menu_Item::measure width calculation (#1164)Matthias Melcher
Fl_Menu_Item::measure did not take the gap between a possible checkbox and the label text into consideration.
2024-12-09Fix inconsistencies with Tab/Backspace handling in menus (#1157)dannye
2024-12-09Update Fluid (.fl) files for release 1.4.1Albrecht Schlosser
2024-12-09Fixes triggering callback for inactive menu items (#1159)Matthias Melcher
The old code would trigger a callback when hovering the mouse of an inactive item and pressing Return.
2024-12-09 Fix: Hang/Infinite loop on submenu with all inactive/invisible items (#1158)ManoloFLTK
2024-12-09Fix: Mouse hover+Enter key selects inactive menu items (#1159)ManoloFLTK
2024-12-06Remove unnecessary friend declarationManoloFLTK
2024-12-05Fix button down state when triggered by shortcut (#1145)dannye
The visual feedback is really important. I was not aware that my patch suppressed that. And for the state values, I find it best to get back to what 1.3 did at this point. `value` is essential for check boxes and radio and toggle buttons. On push buttons, it has really not much of a meaning.
2024-12-03Documentation only: add details about fl_override_scale() and clip.ManoloFLTK
2024-12-03Fix Drawing bugs on Windows at very large scales (#1144) - cont'dManoloFLTK
2024-12-03Clarify use of Fl_Tabs::clieant_area()Matthias Melcher
2024-12-02Add comment linking source code to related information in issue #1149ManoloFLTK
2024-12-02Fix: Drawing bugs on Windows at very large scales (#1144)ManoloFLTK
2024-12-02Document that function fl_scroll() doesn't work OK with non integral scaling ↵ManoloFLTK
factors and explain how to get correct results.
2024-12-02Fix Fl_Scroll with real *_BOX draws over scrollbars at non-default scales ↵ManoloFLTK
(#1149)
2024-11-28Fix changed flag for radio buttons (#1146)dannye
2024-11-27Restore pixmap drawing under X11-noCairo broken by 0952d59ManoloFLTK
2024-11-27Restore building with configure --disable-print (#1147)ManoloFLTK
2024-11-25 Fix: Graphical glitches on 101 DPI screen (#1138)ManoloFLTK
2024-11-25Windows: Fix rescale bug while window is fullscreendannye
Possible via the Win+Shift+Left/Right keyboard shortcuts
2024-11-25Windows: Fix rescale bug while window is maximizeddannye
2024-11-24Fix compiler warning (g++ 14) [-Wstringop-overflow]Albrecht Schlosser
New compiler warning detected by g++ 14.2.0 building with CMake in Release mode. This *temporary* fix suppresses the warning but uses even larger fixed size buffers. Todo: these nasty warnings caused by using fixed buffer sizes should be removed by using std::string in FLTK 1.5.0.