Commit Graph
12510 Commits
Author SHA1 Message Date
Matthias Melcher f981ef470f Remove bad cerr debug output
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-06-15 23:19:19 +02:00
Matthias Melcher 40276684a1 Fix minor PenPal issues
Layou, menubar links, pressure
drawing, eraser drawing
2026-06-15 20:14:42 +02:00
Gonzalo Garramuño 3101d54bd7 Add Tablet Driver for Windows and Wayland
* First implementation for Wayland and WinAPI (#1458)
* Both drivers should honor FLTK_HAVE_PEN_SUPPORT
* Improved PenPal test app
2026-06-15 19:34:34 +02:00
Matthias Melcher 8c1cb642b8 Fluid: Refactor Widget Images into new class (#1460)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Also fix faulty include file
2026-06-14 18:11:47 +02:00
Matthias Melcher 30bcc45fd3 Fluid: Refactor Image_Asset class (#1459)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
RAII for widget node image assets.
Per project image asset management.
2026-06-14 15:53:16 +02:00
ManoloFLTK 24acdbf0b8 Fl_MacOS_Sys_Menu_Bar_Driver::rename_window fails with null window labels (#1455)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-06-13 16:32:31 +02:00
ManoloFLTK b31902e7cb Restore use of Cmd-+ under macOS with the US keyboard layout and others (#1454) 2026-06-13 16:11:55 +02:00
Greg Ercolano ee3ba84aef Address "long line switch" issue in test/tree (#1453)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-06-03 22:16:08 -07:00
Albrecht Schlosser 722e2477a1 Refactor Fl::call_screen_init()
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
- remove unnecessary FL_EXPORT decoration
- move (private) declaration from FL/Fl.H to src/Fl_Screen_Driver.H
- rename Fl::call_screen_init() to Fl::init_screens()
2026-05-31 19:48:37 +02:00
Albrecht Schlosser 57b7b7693f CI/fluid-docs: update CI build workflow
- upgrade actions/upload-artifact@v4 to actions/upload-artifact@v7
- simplify prerequisites to speed up initialization (no Wayland)
2026-05-31 19:28:22 +02:00
ManoloFLTK b8ccd16eb8 Windows: improve support of window resize across screens with distinct DPI (#1439)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-30 09:06:08 +02:00
ManoloFLTK f2daf05bf5 Windows: improve support of window resize across screens with distinct DPI (#1439)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-29 19:13:25 +02:00
ManoloFLTK b058f216c4 Windows: improve support of screen configuration changes while FLTK app runs.
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-29 11:45:55 +02:00
ManoloFLTK 34c23c6b71 Correct use of Fl_Window::no_fullscreen_w|h private variables.
These variables store the size of a window to be used when it's un-fullscreened or un-maximized.
They equal 0 when a window is neither fullscreen nor maximized.
They are given a meaningful value when a window is turned fullscreen or maximized.
They are reset to 0 just after the window is un-fullscreened or un-maximized.
2026-05-29 10:21:23 +02:00
ManoloFLTK d7266f5248 Windows: fix window titlebar capture when desktop uses negative coordinates.
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-28 17:28:10 +02:00
ManoloFLTK 46d3cfbddc Windows: fix moving a window across screens with distinct scaling factors - cont'd (#1439)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-28 12:40:20 +02:00
ManoloFLTK 32764ac94c Windows: fix moving a window across screens with distinct scaling factors (#1439) 2026-05-28 12:02:46 +02:00
Matthias Melcher 547c6940cd Improve Fluid formatting (#1448)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
* change pointer type formatting
* change 0, NULL, and 0L into nullptr
2026-05-25 22:42:54 +02:00
ManoloFLTK 9331503a55 Fix "Windows rapidly changing scales near edge between screens" - cont'd (#1439)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-23 08:27:25 +02:00
ManoloFLTK f6142569b3 Fix "Windows rapidly changing scales near edge between screens" - cont'd (#1439)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-21 16:50:13 +02:00
ManoloFLTK fa7ab95d35 Fix "Windows: windows can show up on the wrong screen with the wrong scale" (#1437)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-21 08:25:17 +02:00
ManoloFLTK faf210a1d0 Fix "Windows rapidly changing scales near edge between screens" - cont'd (#1439)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-20 16:51:42 +02:00
Matthias Melcher b2fd08f2e1 Remove accidetal push of Claude worktree
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-20 13:54:39 +02:00
Matthias Melcher 8cdaec8976 Improve hold browser keyboard behavior
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
* unselected Up now selects the last *visible* item
* fix top selection warping regression
2026-05-19 17:05:07 +02:00
Matthias Melcher 08b6c9e6c0 Typos 2026-05-19 16:44:01 +02:00
dannye 30d6231fd8 Fix test/browser.cxx when_items list (#1399) 2026-05-19 14:59:17 +02:00
Matthias Melcher 71d13f2fb9 Fix browser test (#1400)
Switching browser type when items were already selected
had unexpected side effects.
2026-05-19 14:51:37 +02:00
ManoloFLTK d4d815cfb4 Fix "Windows rapidly changing scales near edge between screens" (#1439)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-19 12:45:20 +02:00
Matthias Melcher 298466c8be Fix keyboard Up and Down for Fl_Hold_Browser (#1403) 2026-05-19 12:40:30 +02:00
ManoloFLTK f4a1b8cc42 Fix "macOS: Application menu shortcuts no longer work after user menubar is deleted" (#1440) 2026-05-19 09:32:49 +02:00
ManoloFLTK 0b7f6124b2 macOS: simplify and improve method performKeyEquivalent: of class FLView and fix #1436
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Removal of support of very old macOS versions allows to simplify method performKeyEquivalent: of class FLView.
This in turn fixes issue #1436.
The new code has been tested OK from macOS 10.9 and above.
2026-05-18 17:18:49 +02:00
Albrecht Schlosser a47f1a7840 GitHub CI/fluid-docs: Switch actions/checkout from v4 to v6
See commit 11ebe432ea for more info
2026-05-18 15:52:48 +02:00
33c2248959 Modernize fl_symbol hashing to C++11 code (#1417) (#1418)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
* Replace hand rolles symbol hashing with C++11 code
* Update symbol drawing functions, add fl_remove_symbol()
* Refactored some of fl_draw_symbol.
* Using clang format for symbol code and test
* Circumvent Doxygen bug https://github.com/doxygen/doxygen/issues/11190

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2026-05-17 21:40:22 +02:00
ManoloFLTK cf87ae9c3b Fix: Wayland crashes when dragging a heavy window from 100% scale factor to 200% (#1428) 2026-05-17 19:25:28 +02:00
ManoloFLTK 21e6e48bf6 Unable to control position of first window on Windows with multiple screens - cont'd (#1432)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-17 08:46:44 +02:00
Albrecht Schlosser 11ebe432ea GitHub CI: Switch actions/checkout from v4 to v6
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Note 1: checkout/v4 runs with deprecated Node.js 20, whereas
  checkout/v6 uses current Node.js 24 (recommended by GitHub).

Note 2: GitHub will remove Node.js 20 in the near future (fall 2026).
2026-05-12 20:27:10 +02:00
Albrecht Schlosser f116bbe1b8 Remove doxygen warning
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
todo: find the real cause of these warnings in the previous version:

FL/Fl_Image.H:339: warning: unable to resolve reference to 'fl_write_png' for \ref command
FL/Fl_Image.H:339: warning: unable to resolve reference to 'fl_write_jpeg' for \ref command
2026-05-11 19:28:01 +02:00
Daniel Foerster 0d91156f07 docs: Explain restrictions on Fl_Scroll usage with Fl_Tabs (#1393)
* docs: Explain restrictions on Fl_Scroll usage with Fl_Tabs

* Update Fl_Scroll tearing explanation per PR review
2026-05-11 17:26:58 +02:00
ManoloFLTK e04576171f Fix-Part 2: Unable to control position of first window on Windows with multiple screens (#1432) 2026-05-11 09:57:57 +02:00
ManoloFLTK cbcceb2996 Partial fix: Unable to control position of first window on Windows with multiple screens (#1432)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Screen configurations mixing screens with distinct scale factors may need additional support.
2026-05-11 08:45:17 +02:00
ManoloFLTK 1cafc6a0d2 Fix: Wayland crashes when dragging window from 100% to 200% scale factors (#1428)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-10 12:45:24 +02:00
ManoloFLTK 300d3cf692 Fix "Crash on macOS if Escape then Enter is pressed while Help submenu is open" (#1431) 2026-05-10 08:31:44 +02:00
ManoloFLTK 1b83eb2a39 Undo recent commits intended to fix #1427 because fix is only partial.
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
The branch is at the same state as 4f9d779 after this commit.
Undone commits are: 0fe9b6c, 88a4d74, fe4a6aa, and d2cff61.
2026-05-08 10:00:07 +02:00
ManoloFLTK d2cff6107d X11: add necessary XFree call after call to XGetKeyboardMapping (#1427)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Also :
- remove duplication of function keycode_to_ascii for X11 and Wayland;
- add comments detailing implementation.
2026-05-05 09:32:59 +02:00
ManoloFLTK fe4a6aa912 X11: Fix Fl::event_key() when using non-latin keyboard layouts (#1427)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-04 18:04:05 +02:00
ManoloFLTK 88a4d745fd Wayland: Fix Fl::event_key() when using non-latin keyboard layouts (#1427) 2026-05-04 16:03:56 +02:00
ManoloFLTK 0fe9b6ccde macOS: Fix Fl::event_key() when using non-latin keyboard layouts (#1427)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
2026-05-04 09:50:06 +02:00
Matthias Melcher 4f9d7794f8 Completing access to FL_BLINE in Fl_Browser.
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
May be used by derived classes like Fl_File_Browser
for fast access.
2026-04-27 01:02:47 +02:00
Albrecht Schlosser f1b81f8a55 Increase gap between cursor and widget border (#1414)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
... of Fl_Input widgets. See discussion on issue #1414.
2026-04-26 19:08:36 +02:00
Matthias Melcher d2ed9a50cc Update test/cube layout 2026-04-26 15:00:03 +02:00