Commit Graph

12179 Commits

Author SHA1 Message Date
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
Matthias Melcher
3b32463dc9 Fl_Help_View: Improve comment 2025-07-05 16:03:14 +02:00
Matthias Melcher
b28afecb46 Fl_Help_View: C++ formatting fix. 2025-07-05 15:29:42 +02:00
Matthias Melcher
5d9961c1c3 Fl_Help_View: Finl formatting and documentation
- restructure header file
- sort source file reflecting header
- documentation of text selection
2025-07-05 15:25:11 +02:00
Matthias Melcher
d3c6135c08 Fl_Help_View: Improve selection
- users can now select text in multiple Help Views
- users can now select text that is also a link
- selections draws dimmed if not focused
2025-07-05 13:42:28 +02:00
Matthias Melcher
53665045d3 Fl_Help_View: Changes some more formatting
- streamlines callbacks
- removes unused function
- header file not finished yet!
2025-07-04 16:31:59 +02:00
Albrecht Schlosser
d5220370b1 Remove private class Fl_Int_Vector
This class was used in pre-C++11 versions (up to 1.4.x) and is no
longer needed.
2025-07-03 22:37:49 +02:00
Matthias Melcher
4e1450d750 Fl_Help_View: Refactoring static sizes
- replaced Fl_Int_Vector with std::vector<int>
- removed static buffers in path arrangement methods
- NULL to nullptr
2025-07-03 19:58:56 +02:00
Matthias Melcher
f0fa9fc8f8 Fl_Help_View: Improve formatting and Doxygen comments 2025-07-03 13:55:29 +02:00
Matthias Melcher
872e2b8fb6 Fl_Help_View: Refactor more strings and dynamic lists. 2025-07-03 00:39:53 +02:00
Matthias Melcher
5919dbb6af Fl_Help_View: Reformat and comments 2025-07-02 22:59:46 +02:00