Commit Graph

12139 Commits

Author SHA1 Message Date
ManoloFLTK
b69286f2ca Remove deprecation warning of graphicsContextWithWindow used with macOS ≤ 10.13 2025-09-08 12:44:55 +02:00
ManoloFLTK
27e02a1541 Update bundled libpng to version 1.6.50 dated 2025-07-01 2025-09-07 18:06:39 +02:00
Albrecht Schlosser
1182cd66ec Make Fl_Table::get_selection() 'const' (#1305)
See also branch-1.4 with FLTK_ABI_VERSION >= 10405:
  commit 9b9426bf6e
2025-09-05 17:38:05 +02:00
ManoloFLTK
8472df82d0 Remove use of deprecated member function Fl_Menu_Item::setonly() 2025-09-05 09:25:59 +02:00
ManoloFLTK
93fae41fc2 Fix "Focus event lost if opening window on macOS" (#1300) 2025-09-03 09:00:34 +02:00
ManoloFLTK
5830c72b58 Restore use of menubar at top of fullscreen window under X11 2025-08-31 16:14:50 +02:00
ManoloFLTK
1a576d43b3 Wayland: account for new Wayfire compositor - cont'd
And allow for vertical display taskbar.
2025-08-29 12:21:15 +02:00
ManoloFLTK
fa1d09b106 Fix "Wayland libdecor crashes with built-in one." (#1299) 2025-08-25 16:24:17 +02:00
Albrecht Schlosser
53f103f2ca Fix typo in documentation 2025-08-22 20:38:59 +02:00
ManoloFLTK
3cf9390e9e Wayland: stop calling non-public libdecor_frame_get_content_{width,height} (#1296) 2025-08-20 08:59:41 +02:00
ManoloFLTK
db94990c1f Fix for Wayland only part of #1295 related to "mangled" events 2025-08-19 14:08:00 +02:00
ManoloFLTK
e42666ba68 Fix part of #1295 related to Wayland and hiding/showing subwindow 2025-08-19 10:22:52 +02:00
ManoloFLTK
05e37453de Fix: Unexpected FL_ENTER after FL_LEAVE when a subwindow is hidden (#1295) 2025-08-18 16:07:59 +02:00
Matthias Melcher
f05ee88359 Fluid: Fix relative project paths in GUI mode #1293
Also fixes native "Save as... project file chooser to start
with current project path.
2025-08-13 21:23:48 +02:00
ManoloFLTK
679f89bb7a Restore building for OpenBSD 2025-08-12 19:35:27 +02:00
ManoloFLTK
0ef2d6587d Remove last use of non-portable strdup() function 2025-08-12 08:53:01 +02:00
ManoloFLTK
e082a42f20 Wayland: Some shortcut keys not delivered when input widget has focus - cont'd (#1290) 2025-08-09 11:06:23 +02:00
ManoloFLTK
36b9a990fe Wayland: Some shortcut keys not delivered when input widget has focus (#1290) 2025-08-08 18:13:43 +02:00
ManoloFLTK
0e6c61e6fc Wayland: avoid NULL-pointer error after call to wl_display_get_protocol_error() 2025-08-07 19:37:05 +02:00
ManoloFLTK
05c678d9e6 Fix "Fl_Double_Window::make_current() issues with Cairo" - cont'd (#1285) 2025-08-06 16:20:27 +02:00
ManoloFLTK
11f4b5a992 Fix "Fl_Double_Window::make_current() issues with Cairo drawing" (#1285) 2025-08-05 10:14:07 +02:00
ManoloFLTK
8bcf65fa66 Fix issue under Wayland when erasing overlay rectangle (#1285) 2025-08-05 07:38:57 +02:00
ManoloFLTK
5becf68c18 Fix "Callback or event on minimize of the main window " for Wayland (#1288) 2025-08-04 15:54:14 +02:00
ManoloFLTK
8463ac39ca Add detail to the documentation of the FL_HIDE event. 2025-08-03 10:01:24 +02:00
ManoloFLTK
dfe73d8ebc Document that the Wayland platform doesn't send FL_HIDE to minimized windows. 2025-08-03 09:47:58 +02:00
ManoloFLTK
50184f9946 Fix "Callback or event on minimize of the main window" for X11 platform (#1288) 2025-08-03 09:03:12 +02:00
Albrecht Schlosser
87e299e776 Update documentation (typos and minor corrections) 2025-07-26 13:44:41 +02:00
Albrecht Schlosser
b00ae1eee4 Fix documentation of fl_overlay_clear and fl_overlay_rect
The code example in fl_overlay_clear() wouldn't work.
2025-07-24 15:40:18 +02:00
MatthiasWM
890f538bb5 Generate better FL_LEAVE coordinates on Windows (#87)
Use the current mouse position to estimate the
position where the mouse left the window. Not
perfect, but much better than repeating the last
move coordinates.
2025-07-16 17:39:07 +02:00
ManoloFLTK
86f2904858 Remove warnings triggered by -Wredundant-decls (#1277) 2025-07-16 15:13:14 +02:00
ManoloFLTK
e444371b18 Fix: Redundant redeclaration of Fl_Shortcut fl_old_shortcut(const char*) (#1277) 2025-07-15 07:21:44 +02:00
Albrecht Schlosser
80e561c78e Improve test/threads demo program
- format "Max Prime" output as integer number
- use a fixed font for better readability
- close all windows when the user closes one of them
- use standard background and text colors
2025-07-14 16:53:23 +02:00
ManoloFLTK
e581f50e9a Wayland: account for new Wayfire compositor - cont'd 2025-07-10 08:18:35 +02:00
ManoloFLTK
83565dd880 Wayland: account for new Wayfire compositor 2025-07-09 16:51:17 +02:00
Matthias Melcher
5a574e8d9d Improve Fl_Button event handling documentation (#1267) 2025-07-09 11:42:33 +02:00
Matthias Melcher
16aa61efb5 Fluid: Fix include guard between 0 and 127
if the UCS is not a number or letter
2025-07-08 15:34:11 +02:00
Albrecht Schlosser
5d68428a00 Fix trailing whitespace and convert a few tabs to spaces
... according to CMP
2025-07-08 15:25:14 +02:00
Albrecht Schlosser
3cf5a302fd Replace 'FL_OVERRIDE' with 'override' in public headers
... except FL/fl_attr.h where FL_OVERRIDE is #define'd
2025-07-08 15:25:14 +02:00
Matthias Melcher
2803f70f58 #1114: Ensure minimum height of last block in Fl_Help_View 2025-07-08 15:19:21 +02:00
Matthias Melcher
d3dca07339 #146: Add access to scrollbars widget in Fl_Help_View
- new methods are Fl_Help_View::scrollbar()
and  Fl_Help_View::hscrollbar(), taking inspiration from
Fl_Browser.
2025-07-08 14:36:24 +02:00
Albrecht Schlosser
2b815a0335 Improve GitLab CI builds
- use Debian Trixie which has Doxygen 1.9.8 rather than 1.9.4
- install required packages to build with Wayland support
- log latest git commit
- keep artifacts for up to three weeks, i.e. three weekly builds
2025-07-08 13:44:27 +02:00
Matthias Melcher
66b73c8e76 #1276: New code to generate include guard
- generating macro identifier with unicode encoding
   if the filename has international character
- optional user defined include guard
2025-07-07 23:19:41 +02:00
Matthias Melcher
5c33d3051f Fl_Help_View: Subclassing minor comment chages 2025-07-07 15:47:00 +02:00
Albrecht Schlosser
bdde3e5d2b Fl_Table_Row: replace private class CharVector with std::vector
FL/Fl_Table_Row.H: use `std::vector<uint8_t> _rowselect;`,
  remove declaration of class `CharVector`

src/Fl_Table_Row.cxx: remove implementation of class `CharVector`,
  simplify loops (use range based for loops),
  use resize() to change vector size.

Unify copyright year of Fl_Table* headers and implementation.
2025-07-07 14:55:55 +02:00
Albrecht Schlosser
51cca24d04 Add missing and remove unnecessary #include statements
Note: if user code requires a header, then user code must #include it.
2025-07-07 11:58:49 +02:00
Matthias Melcher
2a1677802f Fl_Help_View: Restoring bad includes for back compatibility 2025-07-05 20:39:55 +02:00
Matthias Melcher
e12c42a0cd Fl_Help_View: Revert some changes 2025-07-05 19:47:03 +02:00
Matthias Melcher
ccc294f9f7 Fl_Help_View: Thin out header file
- remove unnecessary include.
2025-07-05 17:48:30 +02:00
Matthias Melcher
5fb38897b7 Fl_Help_View: Refactor to use PIMPL
- using a Pointer to Implementation instead of having
a huge Fl_Help_View class. This improves build speed
(smaller header fiel) and allows us to fix the
implementation while keeping the ABI unchanged.
2025-07-05 17:35:41 +02:00
Matthias Melcher
fa22585bbb Fl_Help_View: Fix writing into empty std::string 2025-07-05 17:28:45 +02:00