ManoloFLTK
c0c2cf7d40
Make draw to image and draw to clipboard behave equally in X11 and Wayland
2025-01-08 14:37:57 +01:00
Matthias Melcher
ca786597f7
Add Fl_Valuator destructor.
...
This is required by Swig to generate code for wrapping
FLTK for Python and potentially other languages. It has
no impact on the API or ABI.
2025-01-03 14:40:59 -06:00
ManoloFLTK
6c7b005a95
Remove duplication and typo in documentation of Fl::copy()
2025-01-02 15:47:35 +01:00
ManoloFLTK
70729e6fdb
Document in detail how screen work areas are computed across platforms ( #1180 )
2024-12-31 17:30:44 +01:00
Matthias Melcher
4ce09ae47a
Fluid: Fix file history text.
2024-12-28 17:23:55 -05:00
Matthias Melcher
050cbabdfe
Fluid: Rename Stratgy constants to comply with CMP.
...
Capitalized constants.
Added flag to indicate creation by user or file.
Removed global variable 'reading_file'.
2024-12-27 20:56:10 -05:00
Matthias Melcher
2100655a1b
Fix integer overflow in image interpolation. ( #73 )
...
Force casting int to long whenever a pixel offset is calculated
as offsets can cross the 2GB border for very large images.
2024-12-26 15:01:58 -05:00
ManoloFLTK
95c66a0488
Wayland: fix a border case in member function Fl_Wayland_Window_Driver::resize()
2024-12-26 16:10:50 +01:00
Albrecht Schlosser
61208e7792
Fix typo in README.CMake.txt
2024-12-26 13:31:06 +01:00
Matthias Melcher
89466c2d37
FLUID: Minor fix and docs.
2024-12-22 11:45:51 -06:00
Matthias Melcher
7d49c02803
FLUID: fix one more warning.
2024-12-21 12:26:20 -06:00
Matthias Melcher
17d300215b
FLUID: Remove warnings.
2024-12-21 12:22:13 -06:00
MatthiasWM
4d8a0df312
FLUID: Improve path handling on Windows.
2024-12-21 12:14:31 -06:00
Matthias Melcher
1f25ee82b0
FLUID: Improve filename list in main menu.
2024-12-21 11:22:07 -06:00
Albrecht Schlosser
9f66df51b0
Fix compiler warning [-Wsign-compare]
2024-12-19 17:26:42 +01:00
Matthias Melcher
809dae489d
Fix Help View find method ( #1119 )
...
The search function now skips '<...>' blocks
more reliably and also finds Unicode HTML entities and
UTF-8 encoded characters.
2024-12-16 23:32:20 +01:00
Matthias Melcher
3293a68c1d
Fix possibly uncleared damage flag of Fl_Pack ( #1172 ).
...
Damage flag `FL_DAMAGE_ALL` is set during Fl_Pack::draw if child
is repositioned. If the child is outside the clipping area, if will not redraw
and the flag will remain set even after Fl_Pack::draw which is not allowed.
2024-12-16 20:30:46 +01:00
ManoloFLTK
c083e5c5fb
Fix: Crash on macOS if Escape is pressed while Help submenu is open ( #1170 )
2024-12-15 16:00:06 +01:00
Albrecht Schlosser
844e58a105
Update makesrcdist: fix packaging bug
...
The previous version didn't delete the docs before the source files
were packed which resulted in too big release tarballs.
Notes:
(1) Release 1.4.1 has been updated (files were replaced) so all
further downloads are not affected.
(2) The git commits on tag release-1.4.1 do not include this commit
but this is OK. This will be in the next release.
(3) makesrcdist itself is not packed in the source tarballs anyway.
2024-12-13 00:16:38 +01:00
Albrecht Schlosser
b080424a23
Update CHANGES.txt for release 1.4.1
2024-12-12 18:45:50 +01:00
Albrecht Schlosser
8ff42da0b9
Update makesrcdist for releases on GitHub (1.4.1 and higher)
2024-12-12 18:45:50 +01:00
Albrecht Schlosser
0e6b20d957
Put ABI breaking changes under ABI guards ( #1139 )
...
This reverts the improvement of #1139 in the default build which is
now only available with FL_ABI_VERSION=10401 or higher.
Users that need this improvement need to build with the required
ABI version by setting it with configure or CMake.
2024-12-12 16:40:11 +01:00
ManoloFLTK
86eaf0f905
Fix: Window can be moved while menu is open - cont'd ( #1166 )
2024-12-12 16:09:06 +01:00
ManoloFLTK
4571af24ab
Fix: Window can be moved while menu is open ( #1166 )
2024-12-12 12:09:53 +01:00
Matthias Melcher
34b5fe9e92
Fix drawing issue for checkbox buttons with bad box type ( #1130 )
2024-12-11 13:53:33 +01:00
Albrecht Schlosser
6784ae807c
Fix compiler warnings (VS 2019)
...
Found with warning level: /W3
2024-12-10 23:12:22 +01:00
Albrecht Schlosser
5af62bc565
Update README.CMake.txt for cross-building and more ( #1154 )
...
- add chapter 2.2.5 : "Other CMake Cache Variables" and document
some cache variables and how to access and modify them,
- clarify and extend the toolchain-file example,
- explain how to find and use the correct fluid executable when
cross-compiling
2024-12-10 23:08:19 +01:00
Matthias Melcher
0b320b1297
Fix Fl_Menu_Item::measure width calculation ( #1164 )
...
Fl_Menu_Item::measure did not take the gap between a possible
checkbox and the label text into consideration.
2024-12-10 21:04:53 +01:00
Matthias Melcher
18a7a392a8
fluid: alternative version format
2024-12-10 01:35:44 +01:00
Matthias Melcher
9a80eeccb4
FLUID: command line argument -v shows fltk version at build time
2024-12-10 01:35:44 +01:00
Albrecht Schlosser
eb4d8d4957
Update more fluid and generated files
...
... after output of trailing whitespace has been fixed.
2024-12-09 22:41:45 +01:00
dannye
4a017e8a2a
Fix inconsistencies with Tab/Backspace handling in menus ( #1157 )
2024-12-09 22:18:37 +01:00
Matthias Melcher
ead9078bc3
FLUID: avoid trailing spaces in empty comment lines ( #1161 )
2024-12-09 21:53:32 +01:00
Albrecht Schlosser
fe8177ea2c
Update Fluid (.fl) files for release 1.4.1
2024-12-09 20:46:01 +01:00
Albrecht Schlosser
99a6286288
Bump version numbers for release 1.4.1
...
To do: update CHANGES.txt with real info.
2024-12-09 20:46:01 +01:00
Matthias Melcher
05ee86fe57
Fixes triggering callback for inactive menu items ( #1159 )
...
The old code would trigger a callback when hovering the
mouse of an inactive item and pressing Return.
2024-12-09 19:57:23 +01:00
ManoloFLTK
5af4108169
Fix: Hang/Infinite loop on submenu with all inactive/invisible items ( #1158 )
2024-12-09 10:52:55 +01:00
ManoloFLTK
80c94ebfdf
Fix: Mouse hover+Enter key selects inactive menu items ( #1159 )
2024-12-09 09:42:57 +01:00
ManoloFLTK
c82165cb07
No need to link to libgtk when using package libdecor-0-dev
2024-12-09 09:21:24 +01:00
Albrecht Schlosser
5ff42dd37a
Update README.Windows.txt
...
- update FLTK version to "1.x" or "1.x.y"
- update and verify included links
- note that MinGW download links could not be verified
- add MSYS2 / MinGW-w64
2024-12-07 19:12:35 +01:00
Matthias Melcher
d1ba7fbf50
Giving access to some Fl_Text_Display member variables ( #1153 )
...
And typos in FLUID source code docs.
2024-12-07 17:31:14 +01:00
Albrecht Schlosser
c87e5c755d
Update build instructions in README.Unix.txt ( #67 )
...
These build instructions are as up-to-date as possible although
there are still references to FLTK 1.3 (e.g. under NetBSD).
Closes #67 .
2024-12-07 16:17:06 +01:00
Matthias Melcher
e24de6f89c
glpuzzle: smoother animation at 72fps
2024-12-06 13:25:13 +01:00
Matthias Melcher
c61e3f63f6
glpuzzle: fixes timer and trackball max speed
...
Using 50fps instead of maximum render speed.
Trackball limited to non-head-spinning speeds.
2024-12-06 13:21:28 +01:00
ManoloFLTK
56756b41c2
Remove unnecessary friend declaration
2024-12-06 10:03:14 +01:00
dannye
85f5887625
Fix button down state when triggered by shortcut ( #1145 )
...
The visual feedback is really important. I was not aware that my patch suppressed that. And for the state values, I find it best to get back to what 1.3 did at this point. `value` is essential for check boxes and radio and toggle buttons. On push buttons, it has really not much of a meaning.
2024-12-05 23:49:49 +01:00
ManoloFLTK
4317f6a15f
Update bundled libpng to version 1.6.44
2024-12-05 17:35:57 +01:00
Albrecht Schlosser
ff161187e7
Improve timer statistics in test/cube demo
...
These timer statistics are useful to see the interaction of OpenGL
drawing and FLTK timers (Fl::add_timer + Fl::repeat_timer).
2024-12-04 16:42:53 +01:00
Matthias Melcher
fe8a94d236
Fixes warning in cube.cxx.
2024-12-04 16:13:07 +01:00
Matthias Melcher
e18926ec76
FLUID: Fixes more places to clear cached pointers.
2024-12-04 16:05:39 +01:00