Commit Graph
12523 Commits
Author SHA1 Message Date
Matthias Melcher ddbc09eaea Fluid: Fix Data panel resizing 2026-06-26 13:33:40 +02:00
ManoloFLTK 4a421e3f4c Fix: Wayland build is broken under some conditions - cont'd (#1470)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled
2026-06-22 16:56:21 +02:00
ManoloFLTK 5b3b3f93de Fix: Wayland build is broken under some conditions (#1470) 2026-06-22 16:36:18 +02:00
Matthias Melcher d25597f191 Reverse last commit 2026-06-21 16:17:31 +02:00
Matthias Melcher c8457853fa Wayland: fix copy_offscreeen scaling (#1469) 2026-06-21 16:15:17 +02:00
Matthias Melcher ddd5d3fb6f Wayland Pen Support: concept for titlebar actions
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled
2026-06-21 13:15:53 +02:00
Matthias Melcher a8171bfa27 Better menu window behaviour (Wayland Pen)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled
2026-06-21 02:52:57 +02:00
ManoloFLTK 4bd06fb796 Restore coherence between COMMAND and OUTPUT members of add_custom_command. 2026-06-21 09:05:39 +02:00
Matthias Melcher 9be57bd14a Show Pen Buttons in penpal
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled
2026-06-20 16:09:12 +02:00
MatthiasWM 7fcd548e02 Improve Pen interface on Windows
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled
* remove ARM64 special case
* fix crash when deleting pen focus widget
* fix mouse event creatinon
* remove debugging message
2026-06-20 14:05:17 +02:00
ManoloFLTK 5f0987d4ed Restore building for Wayland with early Linux versions without the tablet-v2.xml protocol file
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled
2026-06-19 10:54:58 +02:00
Albrecht Schlosser 1e0de4fbdd GitHub CI: cherry-pick useful changes from issue #1457
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-wayland-arm64 (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Build and Test / build-windows-arm (push) Has been cancelled
Thanks to Gonzalo for his proposals. This commit may be extended or
modified later if considered useful.

- reformat instructions for better readability
- reorder prerequisites and CMake instructions for consistency
  across build types
- use Ninja to build where appropriate
- add libjpeg dependency where missing
- add workflow_dispatch and daily run at 04:00 UTC
- add ARM platform build types.

Note: the latter is experimental and subject to change, see comments
  on issue 1457.
2026-06-17 18:00:44 +02:00
ManoloFLTK e0f7adebba Remove comments related to FLTK_HAVE_PEN_SUPPORT which are now in fl_config.h.in 2026-06-17 14:50:43 +02:00
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