Albrecht Schlosser
43e24a7541
Update two README files for 1.5.0
...
- remove configure related stuff
- improve documentation in these files
3 months ago
ManoloFLTK
26ff0df6cf
Remove warning sent by Doxygen about too many #endif
3 months ago
Albrecht Schlosser
7d58f06a20
Remove 'configure' from README's and sources (partially)
...
More to come...
3 months ago
Matthias Melcher
ff62ed249e
Fluid: one small fix.
3 months ago
Matthias Melcher
15ad447e2a
Fluid: last incremental chage, restructuring
3 months ago
Matthias Melcher
ca22660bbb
Fluid: last incremental change: restructuring
3 months ago
Albrecht Schlosser
187eaa0441
Update GitLab CI for FLTK 1.5.0
...
- remove autotools build (build-autotools)
- build documentation with `cmake`, not `make`
To do: build fluid docs
3 months ago
Matthias Melcher
1186b4e255
Making fl_filename_... public for std::string.
...
New functions append "_str" to the function name to
avoid ambiguities when calling them. So
'char *fl_filename_name(const char *)' becomes
'std::string fl_filename_name_str(const std::string &)'
3 months ago
Matthias Melcher
70e5dc23ae
Cleaning up widget browser, renamed to Node_Browser.
3 months ago
Matthias Melcher
c3571838cb
Fluid: Rebuilding most of the widget directory.
...
One file per logical unit.
Namespaces.
Non-static data member initializers to never
get an uninitialized field again.
3 months ago
ManoloFLTK
89f714cb4e
Remove platform-specific code from file cp936ext.h
3 months ago
Matthias Melcher
d449a3d9bf
Fixes for icon path and Windows includes.
3 months ago
Matthias Melcher
1985aefc0e
Restructuring Fluid source files.
3 months ago
Albrecht Schlosser
42a04c064d
Improve setting minimal compiler standard (C++11)
...
... so the user can override all settings.
This may need more tweaks in the future.
3 months ago
Matthias Melcher
daf20b86af
Fixing error where std::string could be assigned NULL'
3 months ago
ManoloFLTK
7f60f019d7
Fix "fltk autotools build does not link against libXft" ( #1202 )
...
libXft was erroneously present in the link command when using Pango and Cairo.
This is fixed by disconnecting the GUI scaling code from use of Xft.
This commit also makes sure that when Wayland is used, pkg-config is available
on the build machine. This allows to remove from file CMake/options.cmake
code that was labelled with "FIXME".
3 months ago
Matthias Melcher
6acda521cc
Removes the remaining references to Fl_String.
...
Still to do: rename fl_filename... to fl_filename..._str
and introduce into core library.
3 months ago
Matthias Melcher
063ff67fcd
Fixing a couple of warnings.
3 months ago
Matthias Melcher
e8060f2a61
One more FL_String::apend fix,
3 months ago
Matthias Melcher
9cfd932d3a
Replce Fl_String in Fluid with std::string.
...
Also fix for Linux.
3 months ago
Matthias Melcher
3068c7a0af
Fl_String is now just an alias for std::string.
...
All mentions of Fl_String will be replaced with std::string
and the Fl_String implementation will be removed.
3 months ago
Albrecht Schlosser
27101536f6
Define FL_OVERRIDE unconditionally as 'override'
...
FLTK 1.5 requires at least C++11, hence we can always use 'override'.
To do: the FL_OVERRIDE macro can be replaced by 'override' everywhere
in the FLTK code. There are more than 2400 occurrences and this
would be a large commit. Therefore it's not done right now...
Note: user code may continue to use FL_OVERRIDE.
3 months ago
Albrecht Schlosser
dc07f927f1
Fl_Group: convert array of children to std::vector
...
Note: this is only a hidden implementation detail: all concerned
variables are private, and the code is simplified (less error prone).
Size of Fl_Group on 64-bit Linux: 168 -> 176 Bytes (+8 Bytes).
test/group.cxx: test for Fl_Group::{add, insert, remove} etc.
3 months ago
Albrecht Schlosser
13b88d4335
CMake/CI: Switch CXX standard to C++11 for all builds
...
Note: current minimum for future 1.5.0 is C++11, this may be raised
after further discussion.
3 months ago
Albrecht Schlosser
4032c7a713
Add new CHANGES.txt for FLTK 1.5
3 months ago
Albrecht Schlosser
191b33e0de
Update version numbers to 1.5.0
3 months ago
Albrecht Schlosser
e2ca1a39c8
Remove autotools (configure/make) support
3 months ago
ManoloFLTK
880636eb12
Fix "Windows: dotted lines may be drawn solid when GUI is rescaled" ( #1214 )
3 months ago
ManoloFLTK
257435dca0
Remove deprecated, commented-out code.
...
This code was used in the past to support a deprecated way to obtain the initial
value of the GUI scaling factor for the X11 platform.
3 months ago
Albrecht Schlosser
a206a778b4
Update CHANGES.txt and ANNOUNCEMENT for release 1.4.2
3 months ago
ManoloFLTK
5b617a6cc1
Fix "Fl_RGB_Image::draw() seg faults when offset is too big" - cont'd ( #1211 )
3 months ago
ManoloFLTK
e27edad5f1
Fix "Fl_RGB_Image::draw() seg faults when offset is too big" ( #1211 )
3 months ago
ManoloFLTK
7ce2632bfc
Fix "Wayland: resizing window may crash the program" ( #1210 )
3 months ago
Albrecht Schlosser
e932b94436
Update dependencies
3 months ago
Albrecht Schlosser
02af6a57eb
Bump version numbers to 1.4.2
3 months ago
Albrecht Schlosser
97f2cdcc29
Fix copyright, a typo, and remaining casts ( #1207 )
...
make remaining casts consistent with other casts of the same
variables
3 months ago
ManoloFLTK
d5612afd61
Fix "Fl_JPEG_Image infinite longjmp loop on Mac release builds" ( #1207 )
4 months ago
Albrecht Schlosser
030c3fa5bc
Update "GitHub Actions" Linux runner to 'ubuntu-latest'
...
Note: ubuntu-20.04 will be phased out soon
4 months ago
Albrecht Schlosser
eaf5fb8d11
Fix buffer overflow warning [-Wstringop-truncation]
...
Note: this fixes the warning, but a better fix would be to use either
strlcpy(), fl_strlcpy(), or a string type in 1.5.0 or higher.
4 months ago
Albrecht Schlosser
45476d093c
test/editor: ensure buffer termination
...
... in source file and documentation
4 months ago
ManoloFLTK
27d991f046
Update bundled libdecor to last upstream version (21 jan 2025)
4 months ago
ManoloFLTK
4c64264e0c
Fix "fltk-config reports dep on gtk3 when it does not exist" ( #1201 )
4 months ago
ManoloFLTK
81a5736006
Make Fl_Cocoa_Gl_Window_Driver::capture_gl_rectangle() return a depth-4 image
...
This change allows to capture the rounded corners of a top-level GL window.
Also, rename Fl_Cocoa_Window_Driver::capture_decorated_window_10_5()
from capture_decorated_window_10_6() because this function uses
CGWindowListCreateImageFromArray() available from macOS 10.5.
4 months ago
ManoloFLTK
9afb35f3a6
fix macOS Sonoma/Sequoia not capturing OpenGL text on macOS - cont'd ( #1197
4 months ago
ManoloFLTK
d60141bb71
fix "macOS Sonoma/Sequoia not capturing OpenGL 1 text on macOS" ( #1197 )
4 months ago
ManoloFLTK
c92bf829b4
macOS: restore building with SDK versions between 10.7 and 10.11
4 months ago
Albrecht Schlosser
904039c4c6
Fix typos and trailing whitespace
...
Also replace 'MSWindows' with 'Windows' where appropriate, leaving
only old documents like README files from 1.3 and older as-is.
4 months ago
ManoloFLTK
89d146ecee
macOS: fix when fullscreen window looses and regains focus with SDK 10.6 ( #1192 )
4 months ago
ManoloFLTK
02f431bd88
macOS: Restore fullscreen window mode when using SDK < 10.7 ( #1192 )
4 months ago
ManoloFLTK
af5b2cf464
fullscreen test app: prevent combination of fullscreen + maximize
...
Also, use more explicit button names
4 months ago