ManoloFLTK
e22bbb71a1
Fix "Wayland: Tooltip at bottom right screen flickers" - cont'd ( #1543 )
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-30 14:10:42 +02:00
Matthias Melcher
bd2177d22c
Fluid: fix two more warnings
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-30 00:59:47 +02:00
Matthias Melcher
5e11f641c0
Fluid: fix warnings from previous commits
2026-07-30 00:53:57 +02:00
Matthias Melcher
278605b385
Flauid: Abstract error dialog boxes
...
* this fixes missing error messages if
Fluid is opene in console or batch mode
2026-07-30 00:40:45 +02:00
Matthias Melcher
4a88fcbf9f
Documentation update
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-29 14:35:56 +02:00
ManoloFLTK
efefff70da
Remove possible pointer underflow in fl_utf8_previous_composed_char ( #1542 )
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-29 08:12:11 +02:00
Matthias Melcher
f935ba4658
Improve RGB image scaling ( #1411 )
...
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
* rewrite of biliniar scaling
* improve quality for scaling up
* improve speed by using
integres and caching
2026-07-29 01:25:38 +02:00
ManoloFLTK
18356f0530
Remove possible out-of-bounds memory access in fl_utf8_previous_composed_char ( #1542 )
2026-07-28 21:31:27 +02:00
ManoloFLTK
f0c8f5aeb1
macOS platform: change default value of Fl::use_high_res_GL() from 0 to 1.
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-28 09:01:40 +02:00
Matthias Melcher
8a1af00c85
Remove three more unneeded fl_ascii filters
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-27 18:25:47 +02:00
Matthias Melcher
47aa551fcd
Update Pen Driver to FLTK naming conventions ( #1545 )
...
* no code changes
2026-07-27 14:39:13 +02:00
ManoloFLTK
e1d8bd2537
Document with more details function fl_utf8_next_composed_char() ( #1542 )
...
Make sure the returned value cannot be lower than begin as suggested in the issue.
Document the input string is expected to be null-terminated.
Document parameter from can point to terminal null byte.
2026-07-27 10:41:51 +02:00
Herman Semenoff and Matthias Melcher
a37b94f1d5
Add fl_ascii_isalnum isalpha isprint ispunct ( #1526 )
...
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
Co-authored-by: Matthias Melcher <github@matthiasm.com >
2026-07-27 00:04:31 +02:00
Herman Semenoff and Matthias Melcher
c317d08693
Add fl_ascii_isupper islower ( #1525 )
...
* added impl ASCII isupper and islower replace all
* Minor fixes
Co-authored-by: Matthias Melcher <github@matthiasm.com >
2026-07-26 23:40:36 +02:00
Herman Semenoff and Matthias Melcher
9e139a8b16
Add fl_ascii_isxdigit and is digit ( #1524 )
...
* added impl ASCII isxdigit and replace all
* Minor fixes
Co-authored-by: Matthias Melcher <github@matthiasm.com >
2026-07-26 23:10:03 +02:00
Herman Semenoff and Matthias Melcher
3df01b6ae0
Add fl_ascii_tolower and toupper ( #1523 )
...
Co-authored-by: Matthias Melcher <github@matthiasm.com >
2026-07-26 22:06:37 +02:00
Matthias Melcher
40fb99ecf1
Simplify RAII to stack
2026-07-26 21:25:25 +02:00
Matthias Melcher
19366c3f72
Add const to member functions
...
if possible and useful
2026-07-26 20:51:06 +02:00
Matthias Melcher
e6ae02ebaf
Improve printf style format strings
2026-07-26 18:43:29 +02:00
ManoloFLTK
fc446d689b
Fix "Wayland: Tooltip at bottom right screen flickers" - cont'd ( #1543 )
...
Account also for screen scaling.
2026-07-26 18:10:35 +02:00
Greg Ercolano
a2c534004d
Remove redundant ternary ( #1541 cont'd)
...
This is a potentially high volume function, since it may be used per-byte
on large text documents, so anything to help the compiler optimize its
execution seems worth doing.
2026-07-26 09:06:43 -07:00
Matthias Melcher
7dace08d6d
Fix potential leak around longjmp
2026-07-26 17:54:19 +02:00
ManoloFLTK
ec7dbed326
Fix "Wayland: Tooltip at bottom right screen flickers" ( #1543 )
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-26 15:51:09 +02:00
Greg Ercolano
662ad3028e
Added fl_utf8_is_continuation() ( #1541 )
...
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
Implementation notes:
o Return is int instead of bool to support C compilers
o Byte value char instead of unsigned char for consistency
(char is valid because integer promotion preserves bitmask tests)
o 'inline' could be used, but is perhaps problematic in headers supporting C vs C++
2026-07-24 12:12:12 -07:00
ManoloFLTK
5d33a2ab70
Windowfocus test: don't mention subwindow because no such object occurs.
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-22 09:37:21 +02:00
ManoloFLTK
e5de7162a1
Wayland: use "XDG activation" protocol to support a window activating another window.
...
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
See
https://stackoverflow.com/questions/75861687/how-to-request-a-window-be-activated-with-the-wayland-protocol
explaining the "XDG activation" protocol is necessary and able to programmatically
activate a window.
The effect of the new code is visible with FLTK test program windowfocus.
2026-07-21 15:57:21 +02:00
Matthias Melcher
7e99bee32b
Fluid: comments
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-20 20:23:39 +02:00
ManoloFLTK
4930069562
Fix "Wayland: Crash when timers are used before screen opened" - cont'd ( #1538 )
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-18 19:50:40 +02:00
Albrecht Schlosser
ceba3529fc
Fix zlib build for legacy MinGW (earlier mingw.org)
...
The older MinGW (from the earlier mingw.org website) does not
provide EWOULDBLOCK whose *usage* was introduced in zlib 1.3.2.
This fixes the issue on the build level by adding a definition if
the symbol doesn't exist (see zlib/CMakeLists.txt) to avoid patching
the zlib source files.
Note: a working source file patch would
#define EWOULDBLOCK EAGAIN`
in zlib/gzguts.h if it is *not* defined after including `errno.h`.
2026-07-18 17:33:59 +02:00
Albrecht Schlosser
598096e508
Remove unnecessary #pragma comment(lib, "advapi32.lib")
...
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
This pragma would only be used on VS builds and is not necessary
because advapi32.lib is linked by all Windows systems anyway.
Note: if it wouldn't, then our CMake files had to be fixed!
2026-07-18 14:15:07 +02:00
ManoloFLTK
0d06f26f66
Fix "Wayland: Crash when timers are used before screen opened" ( #1538 )
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-17 15:12:03 +02:00
Albrecht Schlosser
127b731b96
Remove deprecated methods Fl_File_Input::errorcolor(...)
...
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
Getter and setter methods were deprecated since FLTK 1.4.0.
Removed as announced.
2026-07-17 14:46:48 +02:00
ManoloFLTK
8bf16ee6ae
Remove unused internal variable Fl_System_Driver::awake_pending_
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s
2026-07-16 18:27:30 +02:00
ManoloFLTK
d5919697b7
Simplify declarations of variables Fl::Private::e_x|y_down.
2026-07-16 18:18:53 +02:00
Albrecht Schlosser
bb1a8fba1c
Fix a bogus compiler warning with some compilation flags
...
warning: ‘void* memset(void*, int, size_t)’ specified bound
between 18446743953450467384 and 18446744073709551560 exceeds
maximum object size 9223372036854775807 [-Wstringop-overflow=]
The solution is using {} to zero-initialize and remove memset().
Also: some minor edits, e.g. making `nc` 'const' where it wasn't.
2026-07-16 15:01:47 +02:00
ManoloFLTK
4177a88bdb
Have function Fl_Wld_Scr_Dr::poll_or_select_with_delay() call libdecor_dispatch() - cont'd
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-07-16 08:33:54 +02:00
Matthias Melcher
a8983e9a0f
Fluid: add conditional shell commands
...
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
* run for user only
* run on hosts only
2026-07-15 01:06:28 +02:00
Matthias Melcher
511f811f31
Fluid: minor docs update
2026-07-15 00:27:25 +02:00
Matthias Melcher
0ae7b3c497
Fluid: much improved custom C++ code handling
...
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
* widget dialog C++ tab reworked
* dedicated multiline code field
* documentation updated
* Fl_Tabs and Fl_Wizard method `value(int index)`
2026-07-14 17:30:07 +02:00
Matthias Melcher
9badcab8f0
Fluid: clean up Code_Writer
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-07-13 23:38:14 +02:00
Matthias Melcher
e35b439674
Fluid: minor fixes, warning
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-07-13 18:33:27 +02:00
ManoloFLTK
c2b0428693
Wayland: improve key repeat and window focus.
...
Test program windowfocus would erroneously repeat a single typed character.
Function xdg_toplevel_set_parent() is best followed by a call to wl_surface_commit().
2026-07-13 18:00:00 +02:00
Albrecht Schlosser
53af48d299
Remove two deprecated methods of Fl_Browser_
2026-07-13 14:54:17 +02:00
Albrecht Schlosser
469e190df6
Remove more unused variables to fix warnings
...
[-Wunused-but-set-variable]
2026-07-13 14:53:02 +02:00
Albrecht Schlosser
80fb2c51fa
Remove declarations of unused variables to fix warning
...
g++ [-Wunused-variable]
2026-07-13 14:13:00 +02:00
Matthias Melcher
15a384fd18
Fluid: refactored global delete_all()
2026-07-13 13:55:33 +02:00
Matthias Melcher
4d992b9810
Revert "Fix unverified realloc ( #1486 )"
...
This reverts commit 9952017a03 .
2026-07-13 11:45:52 +02:00
Matthias Melcher
3983e42946
Fluid: improve callback interpreter
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-07-13 00:46:15 +02:00
Matthias Melcher
d528ab2018
Fluid: formatting
2026-07-12 22:50:21 +02:00
Matthias Melcher
9972186b07
Fluid: formatting
2026-07-12 22:30:03 +02:00