summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-06-22Fix typo reported in fltk.generalAlbrecht Schlosser
... by Brian Larsen
2024-06-21Update dependenciesAlbrecht Schlosser
2024-06-21Remove trailing whitespaceAlbrecht Schlosser
no code changes
2024-06-21Fix compiler warning on macOS: remove unused variableAlbrecht Schlosser
2024-06-21Fix Wayland memory leak (#991)Albrecht Schlosser
2024-06-21Add Fl::remove_next_timeout(...) to remove only one timeout (#992)Albrecht Schlosser
This method also returns the data pointer of the removed timeout. This new method is generally useful for user code and particularly necessary to fix issue #991. Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2024-06-21macOS: fix changes to Fl_X::first with front windowManoloFLTK
2024-06-19 Avoid ScreenCaptureKit bug that may modify a non-resizable window's ↵ManoloFLTK
styleMask
2024-06-17Wayland: capture window titlebar as depth-4 imageManoloFLTK
2024-06-16Fix "Under Ubuntu 22.04 any FLTK application appears in the Appmenu as 'FLTK'"ManoloFLTK
2024-06-16Link frameworks used by recent macOS versions with -weak_frameworkManoloFLTK
This allows FLTK apps to use the recent frameworks when they run on recent macOS versions even if the minimum supported macOS version of these apps is more ancient than the framework.
2024-06-15Improve Fl::option documentation.Matthias Melcher
2024-06-15X11: update XDND protocol from version 4 to 5 (#988)Albrecht Schlosser
Some applications insist on sending XDND protocol version 5 and rejected (ignored) FLTK as DND receiver because we allowed only protocol version 4. Known apps: Google Chrome and Chromium. This commit enables XDND protocol version 5 in FLTK programs as DND receiver.
2024-06-14macOS 15.0 Sequoia: fix capture of window titlebarsManoloFLTK
The previous procedure using CGWindowListCreateImageFromArray() is obsoleted in macOS 15.0 . The new procedure requires an additional framework: ScreenCaptureKit; FLTK uses it only for macOS ≥ 15.0
2024-06-11Fix crash in howto-drag-and-drop under macOSManoloFLTK
2024-06-11Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
2024-06-09 Fix: Changing default color palette affects opengl child drawing on Wayland ↵ManoloFLTK
(#989)
2024-06-08Wayland: support DnD from X11-FLTK to Wayland-FLTKManoloFLTK
2024-06-04Wayland: add necessary calls to gtk_surface1_release()ManoloFLTK
2024-06-03macOS: remove use of deprecated [NSBox setBorderType:] methodManoloFLTK
2024-06-03Document how to control window location in screen under WaylandManoloFLTK
2024-06-03Wayland: fix interactive moving and resizing of a subwindow (#987)ManoloFLTK
2024-06-02 Fix Child Windows under Wayland are clipped on resizing … (#987)ManoloFLTK
2024-06-01 Fix: Zero-sized borderless window causes high cpu usage on windows (#985)ManoloFLTK
2024-06-01libdecor: update to upstream commit c2bd8ad6 (31-may-2024)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window - cont'd (#983)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window (#983)ManoloFLTK
2024-05-27Remove useless Fl_Window_Driver accessors after new member ↵ManoloFLTK
Fl_Window::get_size_range()
2024-05-26Adding new call `Fl_Window::get_size_range()`, #981Matthias Melcher
2024-05-26Revert InputChoice from fd791a0Matthias Melcher
A change to Fl_Input_Choice callbacks slipped into fd791a068e39e06785adc44693f4c533d3d6c903. This Commit removes that change. It may need to be fixed and reapplied later in its own Commit.
2024-05-24Control screen used by Fl_Menu_Bar::play_menu() - cont'dManoloFLTK
2024-05-24Fix: Fl_Browser unexpected display of empty lines ("@." vs "") (#979)ManoloFLTK
2024-05-23Control screen used by Fl_Menu_Bar::play_menu()ManoloFLTK
2024-05-21More details about handling modal windows and various gnome versionsManoloFLTK
2024-05-20Wayland: don't call gtk_surface1_release() probably not usefulManoloFLTK
Also, add comment about when call to gtk_surface1_set_modal() is useful or useless but harmless.
2024-05-20Fix "Support building with unusual prefix" (STR 3434)Albrecht Schlosser
Add '$(LDFLAGS)' to build commands for libs, for details see STR 3434. This applies to configure/make only, CMake builds are not affected.
2024-05-19Wayland: accept diverse versions of the GTK Shell protocolManoloFLTK
2024-05-18Slightly reorganize code of Fl_MacOS_Sys_Menu_Bar_Driver::play_menu()ManoloFLTK
2024-05-17Improve fl_contrast() functionality and documentationAlbrecht Schlosser
- swap 3rd and 4th parameter of fl_contrast() - change 'Fl_Fontsize fs' to a neutral 'int size' parameter - clarify documentation of fl_contrast_level() and that different contrast algorithms use different level values - clarify that level 39 for the CIELAB mode results in "sufficient" contrast, i.e. /readable/ text which is the only intention of fl_contrast(). Reasoning: swapping the arguments looks more natural, i.e. the context before another argument (size) is what one would usually expect. Since the 'size' argument doesn't have be a font size, making it a simple 'int size' is more flexible and correct for future extensions.
2024-05-17Comment that macOS windows move OK between LowRes and HighRes screensManoloFLTK
2024-05-16Fix and improve fl_contrast() calculationsAlbrecht Schlosser
- src/fl_contrast.cxx: - FL_CONTRAST_LEGACY: reset black/white threshold from 55 to 50 - FL_CONTRAST_CIELAB: change default contrast level from 55 to 39 - test/contrast.cxx: - set default contrast mode to CIELAB - add "random color" button to test random foreground colors (text) - slightly increase terminal size - make the Fl_Terminal widget the resizable() of the window
2024-05-15Fix uses of isupper() and isprint() - STR #3436ManoloFLTK
2024-05-15Change member function args to Fl_Menu_Bar::play_menu(const Fl_Menu_Item *)ManoloFLTK
2024-05-14 New member function Fl_Menu_Bar::play_menu(const char *title)ManoloFLTK
2024-05-13Wayland: call gtk_surface1_set_modal() of GTK Shell protocol - cont'dManoloFLTK
2024-05-11Wayland: call gtk_surface1_set_modal() of GTK Shell protocol for modal winsManoloFLTK
This has the Mutter compositor open modal windows at the center of their parent window rather than at an unpredictable display position before this commit.
2024-05-11Fix DnD to Wayland FLTK app on the KDE/Plasma desktopManoloFLTK
2024-05-11Add detailed comment about getting all supported XDND data typesManoloFLTK
2024-05-10Fix DnD from Wayland gnome app to X11 FLTK appManoloFLTK
This DnD gives two data types of the dragged text: text and a gnome-specific type. The code previously accepted DnD with 1 data type or 4 or more data types, and processed situations with 2 or 3 data types in a special way that fails with gnome source apps. The new code processes situations with 2 and 3 data types just like other ones. This works OK when dragging from gnome wayland apps.
2024-05-10Wayland: slightly improved fix for issue #878ManoloFLTK