summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
45 hourswipmaxim nikonov
46 hourswipmaxim nikonov
2 dayswipmaxim nikonov
3 dayswi[maxim nikonov
3 dayswipmaxim nikonov
3 dayswipmaxim nikonov
3 dayswip: forkmaxim nikonov
6 daysWindows: define required Windows version for Pen/Tablet supportAlbrecht Schlosser
This is necessary for some (not all!) Windows toolchains that define the required symbols only for Windows 8 and later.
6 daysmacOS: remove code present only to support macOS versions 10.6 and earlier - ↵ManoloFLTK
cont'd.
6 daysmacOS: remove code present only to support macOS versions 10.6 and earlier.ManoloFLTK
It's possible to build and run FLTK 1.5 with its use of C++11 for macOS 10.7 and SDK 10.7. This commit makes 10.7 the required minimal version of macOS to build and run FLTK 1.5.
7 daysFix obvious indenting errors after removal of old codeAlbrecht Schlosser
... by commit e0405d2135939d08289205e3a38df329076e16c1
7 daysmacOS: remove code present only to support macOS versions 10.3 and 10.4.ManoloFLTK
This is a first step towards removing the code related to support of old macOS versions that are not compatible with C++11 which FLTK 1.5 requires.
7 daysRestore usability with macOS SDK < 10.12ManoloFLTK
7 daysAvoid leaving file descriptor open after failed call to mkstemp()ManoloFLTK
9 daysWayland paste and DnD: fix minor issue revealed by valgrind - cont'd.ManoloFLTK
9 daysWayland paste and DnD: fix minor issue revealed by valgrind.ManoloFLTK
11 daysImprove usage of std::map::key_comp() member in fl_wayland_clipboard_dnd.cxxManoloFLTK
11 daysImprove usage of std::map objects in fl_wayland_clipboard_dnd.cxxManoloFLTK
12 daysWayland: improve handling of priorities between diverse clipboard mime-types.ManoloFLTK
2026-01-23Wayland: use UTF8 text from clipboard when available.ManoloFLTK
2026-01-23Wayland: add support of recoded UTF8 text in clipboard.ManoloFLTK
2026-01-22Fix "Setting window custom cursor from SVG image crashes" (#1363)ManoloFLTK
2026-01-21Improve handling of text containing context-dependent unicode points.ManoloFLTK
This commit makes platforms Windows and macOS compute string widths with the same mechanism as what is in place for platforms Wayland/X11: - the width of a string containing a single codepoint is computed and memorized in the table of character widths; - the width of a string containing several codepoints is computed as such rather than as the sum of the widths of its composing characters. The result is that FLTK text widgets input and draw correctly also complex emojis encoded with context-dependent codepoints. Function fl_utf8_remove_context_dependent() is no longer necessary.
2026-01-20Remove possible NULL dereference introduced at commit 61e75e4ManoloFLTK
2026-01-19All platforms use same code to remove context-dependent codepoints from text ↵ManoloFLTK
input. This commit introduces function fl_utf8_remove_context_dependent() that removes from an UTF-8 string its context-dependent codepoints. Platforms macOS, Wayland and X11 call this function to process UTF-8 text received from a character palette as input to FLTK text. This makes sure FLTK text-editing widgets process textual input equally and consistently across platforms, especially emojis entered via a palette. Platform Windows creates a series of separate system events to input an emoji via the character palette. For this reason, function fl_utf8_remove_context_dependent() is not used by this platform which does internally the same filtering of context- dependent codepoints.
2026-01-11Don't pretend Wayland supports Fl::add_system_handler().ManoloFLTK
2026-01-09Remove un-necessary code from Fl_Wayland_Window_Driver::resize() functionManoloFLTK
2026-01-08Add CMake option FLTK_OPTION_PEN_SUPPORT (default: ON)Albrecht Schlosser
This option can be used to disable pen/tablet support if there are build problems on a particular platform or build system (e.g. MinGW) so users can continue to build FLTK 1.5. Users can also choose to disable pen support if they don't need it.
2026-01-08Wayland: use the "Cursor shape" protocol - Cont'dManoloFLTK
2026-01-05Wayland: use modern approach to cursor shapes with the "Cursor shape" protocol.ManoloFLTK
This removes the need to guess names of files each theme gives to cursor shapes and makes linking with dbus superfluous when the compositor supports the new protocol. The old, surface-based approach to cursor shapes remains used for custom shapes.
2026-01-04Windows: improve moving window across screens having distinct scale factors.ManoloFLTK
2026-01-04Fix "Wayland's wl_display_dispatch() can block a Vulkan application" (#1354)ManoloFLTK
This rewriting of the FLTK callback function that runs when there are data available for reading in the socket connecting the app and the Wayland compositor is meant to facilitate the integration of Vulkan. This rewriting reproduces the recommended code to read from the socket documented in Wayland function wl_display_prepare_read_queue() when several threads potentially read from the socket.
2026-01-03Fix compilation error on Windows (MinGW)Albrecht Schlosser
error: ‘fabs’ was not declared in this scope
2025-12-22Wayland: Fix FL_APP_ACTIVATE with timer.Matthias Melcher
Deferred handling of FL_APP_DEACTIVATE works very well.
2025-12-22Wayland: fixes syntax errorsMatthias Melcher
This code generates a lot of extra events
2025-12-21Wayland: FL_APP_ACTIVATE and FL_APP_DEACTIVATEMatthias Melcher
This is an attempt. Will verify on another machine now.
2025-12-21Win32: removed debugger messagesMatthiasWM
2025-12-21Win32: first commit for Pen driver (#1330)MatthiasWM
2025-12-21Win32: mergeMatthiasWM
2025-12-21Win32: Basic Pen driver setupMatthiasWM
2025-12-19Add Fl_Gl_Window 32 bit depth buffer option.Matthias Melcher
2025-12-13Same change for all other platforms.Matthias Melcher
2025-12-13Fix overzealous C++11ification in Pen driver.Matthias Melcher
2025-12-12class Fl_Wayland_Screen_Driver: add initialisation of member variable ↵ManoloFLTK
xdg_wm_dialog
2025-12-08Wayland: add support of the "XDG dialog windows" protocolManoloFLTK
2025-12-06Wayland: remove memory access error while computing screen work areaManoloFLTK
2025-11-29Wayland: remove code path that left workarea_xywh[*] unassigned (#1334)ManoloFLTK
2025-11-28Slight improvement of DnD support under WaylandManoloFLTK
2025-11-27Fix typo for all but macOSMatthias Melcher
2025-11-27Refactor pen interface into driver system.Matthias Melcher