Commit Graph

6950 Commits

Author SHA1 Message Date
ManoloFLTK
ad333e2c8e macOS: fix window level issue when changing active app while in fullscreen mode (#1192) 2025-01-28 12:14:16 +01:00
ManoloFLTK
bfdae6d151 Fix crash in test/fullscreen under macOS
Operations that produced the crash: 1. press "FullScreen" or green button; 2. press "All Screens"
2025-01-27 18:54:29 +01:00
ManoloFLTK
5c5a12d502 Fix "Full screen broken on macOS in FLTK 1.3.10" (#1192) 2025-01-25 16:29:51 +01:00
Albrecht Schlosser
93830563e9 Backport "Fix Fl_Table_Row inconsistencies" (#1187)
This commit backports two commits from 'master' (1.4.1 - 1.4.2):

1. "Fix return value of Fl_Table_Row::row_selected(int) (PR #1187)"
   commit a48ebc5db0

2. "Fix Fl_Table_Row inconsistencies, final part (#1187)"
   commit 0c2aa40bbc

For details see PR #1187 and the referred commits.
2025-01-22 21:36:23 +01:00
Matthias Melcher
9ed7752fa1 fluid: return version for -v and --version command line arg 2024-12-10 14:34:47 +01:00
Matthias Melcher
1e0982126b Backportin Menu backspace fix from (#1155)
Patched in 5d9db35386 for 1.4 .
2024-12-08 17:55:40 +01:00
Albrecht Schlosser
16f9e2e344 Finish release 1.3.10
- update CHANGES, CREDITS, and dependencies
- update "Revision" number in PDF docs (title page)
- fix typos
2024-11-16 18:36:26 +01:00
Albrecht Schlosser
86a98e2054 Finish "Backport support for mouse buttons 4+5" (#1076, #1068)
- documentation updates, alignment, formatting, version numbers
- fix widget order in test/keyboard_ui.fl
- replace hard-coded bit mask with 'FL_BUTTONS'
- add missing macro definition 'GET_XBUTTON_WPARAM' for MinGW
- reorder 'case' statements for button events (like in master)
2024-11-14 18:07:34 +01:00
Adam Halim
f83c0042f3 Backport support for mouse buttons 4 + 5 (#1076, #1068)
This is a backport of PR 1081 by @Albrecht-S from master to branch-1.3.
2024-11-14 18:07:34 +01:00
Albrecht Schlosser
3aaab84e40 Fix doxygen warning 2024-11-14 17:34:43 +01:00
Albrecht Schlosser
00df79bfbb Keep sending FL_DRAG until all mouse buttons are released
> Backported from branch 'master' (1.4.0),
> commit 1259275316 (Jul 14, 2023)

The old version would send FL_MOVE events after dragging with more
than one mouse buttons pressed, as soon as the first button was
released.

The new version sends FL_DRAG until the last mouse button is released
and then FL_MOVE, as usual.

This change affects dragging only if more than one mouse button is
pushed and held while dragging. The order of pushing and releasing
mouse buttons does not affect the behavior.
2024-11-14 16:13:11 +01:00
ManoloFLTK
9560740b8e Fix X11: test/gl_overlay stale overlay rendering (#1111) 2024-11-08 13:00:51 +01:00
Albrecht Schlosser
d932c0de4f Implement missing Fl_Single_Window::make_current()
backported from master (1.4.0)
2024-10-18 16:31:43 +02:00
ManoloFLTK
b1693b41f4 macOS fix for "Fl_Window::cursor(...) does not work reliably on some platforms" (#1082) 2024-10-04 23:38:33 +02:00
Albrecht Schlosser
e9a8853aa4 CMake: add FLTKConfigVersion.cmake
This file enables consumers to search for a particular FLTK version.

Note: backported from 'master' to support parallel installation of
1.3.10 (1.3.x) and 1.4.0 (1.4.x) or any higher version on one system.
2024-08-16 15:56:03 +02:00
Albrecht Schlosser
63d7c71e1a CMake: improve FLTKConfig.cmake[.in] (#898)
This update makes sure to find and use a `fluid` executable on the
host (build system) and does no longer add the `fluid` target when
cross-compiling.

This makes PR #898 obsolete and fixes the reported issue.
2024-08-16 15:08:13 +02:00
Albrecht Schlosser
3dfa0c4b05 Remove unused function after commit f323257cbc
Backported from 1.4.0
2024-08-07 14:56:04 +02:00
ManoloFLTK
1699580c38 Crash in macOS when switching fullscreen window between displays (#1022) 2024-07-29 08:07:17 +02:00
ManoloFLTK
f323257cbc Simplify creation of OpenGL contexts under X11 platform (#1005) 2024-07-17 17:36:42 +02:00
Albrecht Schlosser
f34719851e Fl_File_Chooser: set insert position to end of string (#1004)
... after filename "expansion" with current directory.

Backported from 1.4: commit ecb3c9c6fc.
Code modified to work with 1.3.x.

Updated CHANGES.
2024-07-04 16:29:59 +02:00
ManoloFLTK
20e2879ea8 macOS: let fullscreen windows have access to the system menubar 2024-05-22 10:37:18 +02:00
Albrecht Schlosser
f964732c87 Update bundled libraries
- Update zlib from 1.3 to 1.3.1
- Update libjpeg from jpeg-9e to jpeg-9f
- Update libpng from 1.6.40 to 1.6.43
2024-05-14 15:57:39 +02:00
Albrecht Schlosser
908d900794 Bump version numbers from 1.3.9 to 1.3.10 2024-05-14 15:57:04 +02:00
Matthias Melcher
20138be66b macOS: Fix color component mixup in gl_draw text rendering #947 2024-04-05 18:02:39 +02:00
ManoloFLTK
807d205a3c Fix "FLTK on NetBSD very slow on X11 with Unicode locale" (#935) 2024-03-18 16:56:44 +01:00
Albrecht Schlosser
4f787cc1f0 Fix a bunch of compiler warnings (backported from 'master')
Many warnings were benign, some were false positives, but better
fix a warning than miss an error.

test/fractals.cxx: backported from 1.4
2024-03-16 13:53:01 +01:00
Albrecht Schlosser
25d7ed7e0d Add missing FL_EXPORT of class Fl_XFont_On_Demand (#922) 2024-03-03 14:00:19 +01:00
Matthias Melcher
84ecb32c98 Fix OpenGL context caching on macOS (#737) 2024-01-30 15:51:37 +01:00
Matthias Melcher
89133cf1e1 Fix shared image handling in file chooser (#887) 2024-01-27 17:39:13 +01:00
Matthias Melcher
548fe016d3 Fix crash in Fl_Preferences for deformed group name (#891) 2024-01-19 11:50:34 +01:00
Matthias Melcher
b2dc8217a1 #877: Fixes Fl_Shared_IMage refcount 2024-01-14 16:56:01 +01:00
Albrecht Schlosser
a66273e726 Raise CMake minimum required version to 3.15 and more
- ensure that all required CMake policies are set to 3.15
- enhance CMake status report (add bundled library types)
- add erco's CMake instructions for building with NMake
- improve HTML docs (remove "custom" HTML footer)
- update ANNOUNCEMENT
2023-12-09 14:58:40 +01:00
Albrecht Schlosser
3c25c0a483 Documentation: remove dark color on title page and ...
add "HTML_COLORSTYLE = TOGGLE" so the documentation user can toggle
  dark and light display mode.

Enable search engine.
2023-12-08 19:36:21 +01:00
Albrecht Schlosser
74187844a2 CMake/MSVC: remove confusing recommendation to rerun CMake
... if GL or locale headers are not found. These headers will be
  resolved by the Visual Studio SDK (backported from 1.4).

Also improve finding the GLEW library on Windows (named 'glew32')
  (backported from 1.4).
2023-12-07 19:49:31 +01:00
Albrecht Schlosser
c17d42c7e7 Fix compiler warnings, backported from 1.4 (master)
Also update CHANGES file.

The compiler warnings were issued by MinGW with gcc 9.2.0.

Note: There are lots of compiler warnings left when building with
  Visual Studio and/or NMake but these will not be fixed in 1.3.9.
  All warnings have been fixed in 1.4.0 (current git 'master').
2023-12-07 19:32:51 +01:00
ManoloFLTK
de55cd522a Remove the -mwindows argument from CFLAGS and CXXFLAGS 2023-12-07 08:42:01 +01:00
ManoloFLTK
c59c400a76 configure.ac: make sure local-png and local-zlib always run together 2023-12-07 08:16:42 +01:00
ManoloFLTK
788523be6f Remove CMake OPTION_CREATE_ANDROID_STUDIO_IDE 2023-12-06 17:52:58 +01:00
ManoloFLTK
115a1cb5c8 Remove inappropriate Cmake OPTION_USE_SVG 2023-12-06 17:49:32 +01:00
Matthias Melcher
783d50e6b1 #188: Fixes reference count for Fl_Shared_Image 2023-12-06 16:27:10 +01:00
ManoloFLTK
f74c144f68 Mention removal of OPTION_APPLE_X11 and --enable-x11 under macOS 2023-12-06 16:18:48 +01:00
ManoloFLTK
8b35bd2d08 Remove OPTION_APPLE_X11 CMake option 2023-12-06 15:58:15 +01:00
ManoloFLTK
5b56596df7 configure+macOS: enforce local zlib when local libpng is active 2023-12-06 15:37:04 +01:00
ManoloFLTK
82cc1e4b5f configure: remove support of --enable-x11 under macOS
This support becomes very difficult with recent macOS versions for the
approach used in 1.3 based on undefining __APPLE__.
[In contrast, the approach used in 1.4 that doesn't mess with __APPLE__
is still compatible with recent macOS versions].
2023-12-06 15:17:22 +01:00
ManoloFLTK
a4789d66c4 Remove obsolete Doxygen parameters 2023-12-06 15:05:16 +01:00
ManoloFLTK
b641d378c2 Remove unused variables compilation warnings under macOS 2023-12-06 14:59:47 +01:00
Matthias Melcher
f655a4d939 #188: Fixes search for Fl_SHared_Image original 2023-12-06 14:29:32 +01:00
Albrecht Schlosser
3846f23d41 Update png library (formatting, CMake)
This is a minor tweak.
2023-12-05 20:28:31 +01:00
Albrecht Schlosser
6bd3e83b00 Add missing files for bundled image libraries 2023-12-05 20:09:54 +01:00
Albrecht Schlosser
59dbcd5621 Update CHANGES, README, README.CMake.txt, support files
... and documentation

- makesrcdist:
  - reflect changes in fltk.spec.in
  - create fltk_git_revision.dat in source distribution
2023-12-05 18:37:56 +01:00