Albrecht Schlosser
5ef962781f
CMake: remove deprecated 'exec_program' from target 'uninstall'
...
1. 'exec_program()' should be replaced with 'execute_process()'. Done.
2. 'cmake -E remove' is broken and deprecated since 3.17, hence we use
'cmake -E rm' (!) for CMake since 3.17 and
'cmake -E remove' only for older CMake versions.
2023-12-12 00:30:36 +01:00
Kyriet
5e3681c22a
Documentation: Improve doc comment for ~Fl_Group
2023-12-10 22:04:08 +01:00
ManoloFLTK
861bc339c0
Replace wl_output_destroy() by wl_output_release() when possible
2023-12-10 12:48:06 +01:00
Albrecht Schlosser
094ee9e953
Documentation: remove obsolete deprecation warning
...
This warning was only useful when we used Fl_String in our public
interface which is no longer true.
2023-12-09 19:45:42 +01:00
Greg Ercolano
3fb9bae040
Fl_Grid: Added show_grid(1) screenshot
2023-12-09 08:20:31 -08:00
ManoloFLTK
bf7d53006c
Complete and update documentation of Wayland buffers
2023-12-09 10:38:05 +01:00
Greg Ercolano
1c9063b8bc
Updated nmake build command in README
2023-12-08 18:53:23 -08:00
ManoloFLTK
63ba44dc29
Document FLTK implementation of the "GTK Shell" Wayland protocol
2023-12-08 18:04:04 +01:00
Matthias Melcher
81a9cb74c3
#862 : Fixes Fl_Shortut to swallow all FL_SHORCUT events if hot.
2023-12-08 15:09:42 +01:00
ManoloFLTK
d963dde3ef
Document Fl_Image_Surface::mask() with commented code example
2023-12-07 15:01:23 +01:00
ManoloFLTK
ddf81baa65
Update "Previous versions of bundled libraries"
2023-12-07 11:57:27 +01:00
ManoloFLTK
e5d9000564
Remove "-mwindows" link option from CFLAGS and CXXFLAGS
2023-12-07 09:21:03 +01:00
ManoloFLTK
b759767798
Remove unnecessary #include <linux/input.h>
2023-12-07 09:05:57 +01:00
Greg Ercolano
e77ec078e9
fluid: Clear button clears scroll history too
2023-12-06 15:37:36 -08:00
Greg Ercolano
2571f20111
Solve issue 856: manolo's parameter names
2023-12-06 12:14:45 -08:00
ManoloFLTK
18ccbb4a4f
Wayland: much lighter but partial implementation of the "GTK Shell" protocol
...
Only the middle-button click gesture is implemented which avoids interference
with what libdecor does with right-click and double-click.
2023-12-05 22:53:26 +01:00
Matthias Melcher
68594ec7fa
#860 : FLUID: Increments Shell history to 1000 lines
2023-12-05 18:38:51 +01:00
Matthias Melcher
49dd9289b8
#860 : FLUID: Removes Group attributes from Fl_Terminal
2023-12-05 18:34:17 +01:00
Matthias Melcher
7a69c22bd7
#856 : FLUID: improved Declaration dialog
...
Also makes enum comment in Fl_File_Chooser.fl manageable.
Not backward compatible: don't try to recreate the
File Chooser with older FLUID versions.
2023-12-05 17:54:13 +01:00
Albrecht Schlosser
cb0930190a
Remove remaining 'pronounced "fulltick"' statements
...
+ fix source URL in fltk.spec.in
+ fix some typos
2023-12-05 17:01:51 +01:00
ManoloFLTK
538ad1828f
Wayland+CMake: use set_source_files_properties() for libdecor - cont'd
2023-12-05 16:09:36 +01:00
ManoloFLTK
7bbfa06e38
Wayland+CMake: use set_source_files_properties() for libdecor
2023-12-05 08:52:21 +01:00
Matthias Melcher
5b96fca1c1
#859 : FLUID: Improves widget class code formatting
...
- categorizes multiple comments before a widget class member
correctly vs. before a widget member
- reintrodues newline characters for comment preview in the widget browser
2023-12-04 22:03:55 +01:00
Greg Ercolano
c3849b0a97
Fix issue 854 - append_ansi() len fix
2023-12-04 09:30:54 -08:00
Matthias Melcher
ed910b7368
FLUID: improves special handling of widget_class members
2023-12-04 17:42:45 +01:00
Albrecht Schlosser
cf07fa09dc
Minor updates of bundled libraries and README.CMake.txt
...
Update Makefiles, CMakeLists.txt, improve formatting.
2023-12-04 17:31:18 +01:00
Albrecht Schlosser
a73a14347d
Fix compiler warnings
...
fluid/code.cxx: unused variable
src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx:
function may return address of local variable [-Wreturn-local-addr]
2023-12-04 16:50:23 +01:00
Matthias Melcher
75c97edb1e
#858 : Fluid: removed duplicate and false code
2023-12-04 16:28:07 +01:00
Matthias Melcher
1476d215f3
FLUID: Refactored writing escaped strings
2023-12-04 16:12:02 +01:00
ManoloFLTK
3e61ec7044
New member function Fl_Image_Surface::mask(Fl_RGB_Image*)
2023-12-04 12:34:44 +01:00
Greg Ercolano
b9ac6bd728
Solves issue #856 : improve Fl_File_Chooser enum docs
2023-12-03 18:10:33 -08:00
Albrecht Schlosser
63c54fe7c8
CMake: Remove UseFLTK.cmake generation and usage
2023-12-03 17:16:58 +01:00
Albrecht Schlosser
a6927779c3
Update nanosvg/README.txt to reflect recent changes
2023-12-02 23:42:16 +01:00
Albrecht Schlosser
384b546dc6
Upgrade bundled nanosvg library to latest upstream commit
...
commit 706eb0618249507c1700cef4a518f73e546b1c38 (upstream/master)
Author: Mikko Mononen <memononen@gmail.com>
Date: Wed Nov 22 22:47:18 2023 +0200
Merge pull request #249 from wcout/issue_240
Fix for #240 : Bug: "else" missing
+ FLTK specific extensions, see documentation/src/bundled-libs.dox
2023-12-02 23:32:17 +01:00
ManoloFLTK
973d53bbcd
Fix error in configure-based build
2023-12-02 22:08:01 +01:00
Albrecht Schlosser
9950c8e082
Improve contrast of check marks and radio buttons ( #443 )
...
- add fl_draw_radio(...) to standardize radio button drawing
- src/Fl_Light_Button.cxx: use fl_contrast() to determine color of
radio button and check (light) button check marks, and use
new fl_draw_radio() method
- src/Fl_Menu.cxx: same as src/Fl_Light_Button.cxx and use
fl_draw_check() instead of "manually" drawing the check mark
(forgotten in an earlier update)
2023-12-02 19:34:29 +01:00
ManoloFLTK
0aa8e28be0
Update libdecor to commit 060fe761 dated 1-dec-2023
2023-12-02 16:59:52 +01:00
Matthias Melcher
d8dac2a088
#858 : FLUID: fixes control character replacement in widget browser
2023-12-02 16:21:56 +01:00
ManoloFLTK
f72748bb45
Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by default
...
This commit makes the default FLTK build setting use libdecor
as packaged in Linux when the build system contains packages
libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0.
Otherwise, FLTK uses the bundled version of libdecor.
This includes situations where package libdecor-0-dev is
present in an earlier version.
2023-12-02 09:28:08 +01:00
Matthias Melcher
96730f80cb
Adds some possible NULL references and small fixes
2023-12-01 16:53:27 +01:00
Matthias Melcher
ccc21d381a
Fixes a few minor compiler warnings.
2023-12-01 15:25:17 +01:00
Matthias Melcher
1077d74958
Fixes name conflict in X11 GL swap_interval
2023-12-01 02:33:38 +01:00
ManoloFLTK
9b33cadbc1
Wayland: use GTK Shell also with system libdecor - cont'd
2023-11-30 21:11:43 +01:00
ManoloFLTK
7472e41ccc
Wayland: use GTK Shell also with system libdecor
2023-11-30 19:36:06 +01:00
ManoloFLTK
ed5ee81ccd
Wayland: add changes to struct libdecor_frame_gtk
2023-11-30 16:40:13 +01:00
Matthias Melcher
a69fc0c9e5
Fixes anonymous union intialisation for C++98
2023-11-30 15:55:37 +01:00
Matthias Melcher
2025481f8c
FLUID: Add dialog box when processes are still runing when user tries to quit.
2023-11-30 15:02:21 +01:00
ManoloFLTK
a1a3a31090
Set date of last update to bundled libdecor
2023-11-29 18:11:34 +01:00
Greg Ercolano
38aff7d9b4
solve issue 853: make scrollbar public
2023-11-29 08:29:24 -08:00
Albrecht Schlosser
727bd94560
Add commandline conversion for Windows (no-op on other platforms)
...
- add Fl::args_to_utf8() to convert commandline arguments to UTF-8
This new function closes the gap that previously only Visual Studio
applications converted their commandlines to UTF-8.
Tested with MinGW, MSYS2/MinGW-w64, and Visual Studio (2019).
2023-11-29 16:29:54 +01:00