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
ManoloFLTK
609592d408
Restore usability under Windows 7 despite its lack of pen/tablet support ( #1416 )
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-04-25 08:31:52 +02:00
Matthias Melcher
e75549f0f9
Remove dangerous code duplication.
...
Fl_File_Browser was duplicating a hidden
struct, warning that they need to be kept in
sync with Fl_Browser. Remove that limitation.
2026-04-24 23:13:22 +02:00
Matthias Melcher
9fe0496f3b
Fix missing pen event name and a warning
2026-04-24 20:34:25 +02:00
Matthias Melcher
bcefcdae25
Fix Fl_ICO_Image reading from memory block, #1420
2026-04-24 19:24:09 +02:00
ManoloFLTK
a004d6cb2c
Add a macOS icon to the glpuzzle test program.
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-04-24 11:52:44 +02:00
ManoloFLTK
6dd2f81ae6
Documentation: refer to image-saving functions when describing images ( #1419 )
2026-04-24 07:37:05 +02:00
ManoloFLTK
3f1a524f5f
utf8 test program: use example of emoji character encoded via an emoji sequence.
2026-04-24 07:37:05 +02:00
ManoloFLTK
45e1309c62
macOS: remove duplicated code.
2026-04-24 07:37:05 +02:00
Albrecht Schlosser
3c8bc27458
macOS: yet another fix of line drawing ( #1409 )
...
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 call to fixloop() had been accidentally removed by previous commits.
This commit fixes it to prevent potential regressions in *other* code
(not directly related to symbol drawing).
2026-04-23 20:41:35 +02:00
Matthias Melcher
e19bc59ec1
Fix line loop drawing on macOS ( #1409 )
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-04-22 21:10:43 +02:00
ManoloFLTK
a4c98526d9
macOS: remove method process_keydown:(NSEvent*) of class FLView that's no longer useful.
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-04-21 18:42:40 +02:00
ManoloFLTK
a35f76a256
macOS: remove text-related code present only to support macOS versions older than 10.7.
2026-04-21 18:07:32 +02:00
ManoloFLTK
7cedc41de3
Update description of the gl_image example program.
2026-04-20 18:18:47 +02:00
ManoloFLTK
71c26d47f5
Discussion "More built-in named colors for FLTK 1.5?" ( #1259 ).
...
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
A new file FL/rgb_colors.H is created to define 490 color names.
This file derives from Xorg's rgb.txt list of color names.
The purpose and use of this file is documented.
2026-04-20 16:34:07 +02:00
ManoloFLTK
d62138eb41
Fix: Wrapped Multiline Input/Output scrolls horizontally at the edges - cont'd ( #1414 )
2026-04-20 15:33:07 +02:00
ManoloFLTK
de5eed9847
Fix: Wrapped Multiline Input/Output scrolls horizontally at the edges ( #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
2026-04-20 13:03:51 +02:00
Albrecht Schlosser
d8c7c72899
Fix "Wrapped Multiline Input/Output scrolls hor. ..." ( #1414 )
...
Note: I added 5 pixels space for the cursor rather than 4 as proposed.
See also related commit b2399e393f
from Sep 28, 2011 to STR 2684
2026-04-20 12:37:13 +02:00
ManoloFLTK
4533eaa5c6
Wayland: simplify procedure to compute the size of the screen's work area.
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-04-15 15:45:38 +02:00
ManoloFLTK
2b68861ea6
macOS: add fluid icon to the fluid bundle app.
2026-04-14 19:21:17 +02:00
Albrecht Schlosser
4ff83a34c3
Add icon to fluid (STR 2952)
...
This update consists of three parts:
1. update icons/fluid.ico to the one provided by STR 2952
2. Windows: add resource file fluid/fluid.rc using 'fluid.ico'
3. Cross-platform: add icon using 'icons/fluid-128.png' to fluid executable
Note: file 'fluid/fluid_icon.cxx' is generated by fluid using fluid_icon.fl.
2026-04-14 17:57:42 +02:00
dannye
dde8ef8c87
Fix Hold Browser callback with FL_WHEN_NOT_CHANGED when up/down is pressed
2026-04-14 17:16:17 +02:00
dannye
9b9bfee348
Fix Select/Hold Browser callback with FL_WHEN_CHANGED when mouse is dragged
2026-04-14 17:05:23 +02:00
dannye
079f29ca5a
Fix Select/Hold Browser callback with FL_WHEN_RELEASE when mouse is dragged
2026-04-14 16:59:22 +02:00
ManoloFLTK
99648c047c
Fix "fl_add_symbol() *always* increments symbnumb" ( #1410 ).
2026-04-14 16:33:44 +02:00
ManoloFLTK
ea1b1bddd9
Fix "Mac: Most fl_symbols missing corner pixels" ( #1409 ).
2026-04-14 16:10:48 +02:00
ManoloFLTK
2b3cb9be65
Fix "Mac: Stubborn tooltips when menu window is open" ( #1408 )
...
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 fix extends to all platforms the check that doesn't post a tooltip window if
a menu window is active.
Therefore, virtual member function Fl_System_Driver::use_tooltip_timeout_condition()
is no longer necessary.
2026-04-14 12:17:13 +02:00
Matthias Melcher
34c7120330
Fluid: write code files only when the actually change (STR 1859) ( #1406 )
...
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
This prevents unnecessary file updates when content hasn't changed,
reducing recompilation time in projects that depend on fluid-generated files.
Uses std::ostringstream before deciding if file differs.
2026-04-13 17:11:15 +02:00
Matthias Melcher
15448c45b0
Add fl_write_jpeg function (STR 460) ( #1405 )
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-04-12 23:49:20 +02:00
ManoloFLTK
1ad5777c6a
Wayland: use libdecor_dispatch() instead of wl_display_dispatch().
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-04-09 19:11:45 +02:00
ManoloFLTK
dfc930d346
Wayland: partial implementation of multi-screen fullscreen windows ( #1397 )
...
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
Wayland doesn't seem to allow creation of true multi-screen fullscreen windows.
This commit implements an approximation of a multi-screen fullscreen window.
It resizes a window to the total width and the total height of targetted screens.
Under Mutter, this produces a window that covers all screens except the
main screen's menubar.
Other compositors may reply differently to this request.
KWin produces a multi-screen fullscreen window only if the window is initially
decorated and in the main screen.
2026-04-08 10:45:50 +02:00
ManoloFLTK
24b66b2b31
Wayland: fix computation of workarea and screen positions when fractional scaling.
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-04-08 08:57:59 +02:00
Albrecht Schlosser
1377c60100
Fl_Tree: make automatic resizing of children optional (STR 3030)
...
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
- add getter and setter methods:
- int Fl_Tree::auto_resize_children()
- void Fl_Tree::auto_resize_children(int mode)
Note: the default in 1.5.0 is "OFF", i.e. no automatic resizing.
The methods above can be used to switch it on if required.
This is a behavioral change to fix a bug in 1.4 and lower. It will not
be backported because it would break the ABI.
2026-04-07 20:41:08 +02:00
BlueCannonBall
49f3aaf4a1
Add null check for child window in callback
...
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
Fixes issue #1401
2026-04-06 08:01:17 +02:00
ManoloFLTK
12f90c87d6
Wayland: set the "application identifier" of non bordered, toplevel windows also ( #1391 ).
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-04-04 09:13:06 +02:00
ManoloFLTK
ad537eddce
Fix Fl_Image::fail() that reported always failure for Fl_Bitmap's.
2026-04-03 15:27:00 +02:00
ManoloFLTK
1e2d7d2a95
Fix typo in documentation.
2026-04-03 15:06:12 +02:00
ManoloFLTK
f315573a26
Implement Fl_Window::xclass(const char*) for the Wayland platform ( #1391 ).
...
Also, improve the document of this member function for the Windows platform.
2026-04-03 09:43:36 +02:00
ManoloFLTK
d816da57b8
Wayland: restore usability of fl_close_display().
2026-04-02 14:24:31 +02:00
ManoloFLTK
e8e5e61505
Wayland: polish operations performed in atexit callback.
2026-04-02 12:58:36 +02:00
ManoloFLTK
f121bc1c7e
Wayland: call libdecor_unref() at end of program as required by libdecor.
2026-04-02 12:21:21 +02:00
ManoloFLTK
8e9e2b7818
Wayland: dispatch socket data with function libdecor_dispatch() as required by libdecor.
...
Many thanks to Jonas Ådahl for pointing out FLTK didn't follow this requirement
and suggesting code changes (#1390 ).
2026-04-02 09:17:23 +02:00
ManoloFLTK
1120eb96cd
Fl_OpenGL_Graphics_Driver: improve partial image drawing.
2026-04-01 11:52:52 +02:00