Commit Graph

10488 Commits

Author SHA1 Message Date
Albrecht Schlosser
0ef8fb5ab4 Revert unintended change of comment in 44c874b731
... where 'override' was changed to 'FL_OVERRIDE'
2023-01-29 14:58:32 +01:00
Matthias Melcher
16af5f432e Avoid Linux warning 2023-01-29 13:49:37 +01:00
Matthias Melcher
85ac3d3147 FLUID: defer calling Fl::add_fd. 2023-01-29 11:51:55 +01:00
Albrecht Schlosser
86a0a28815 Fix comments and remove a 'todo' item from docs
Comments and docs only, no code changes.
2023-01-28 16:09:54 +01:00
Matthias Melcher
e9e7be3ca1 Fixes fltk-options setting wrong keys 2023-01-27 13:04:33 +01:00
Matthias Melcher
1881324145 FLUID: close communications pipe 2023-01-27 12:08:08 +01:00
Matthias Melcher
873d355ec2 FLUID: fixe external command alert on Unix 2023-01-27 11:35:17 +01:00
ManoloFLTK
cb64a6d768 Wayland.dox: reword and add some information 2023-01-27 10:29:04 +01:00
ManoloFLTK
d604c37c90 Fix for [fltk.coredev] native file chooser crash 2023-01-27 08:35:38 +01:00
Matthias Melcher
e2028c66fe STR 2936: FLUID: option to ignore syntax check in DeclBlock 2023-01-26 16:32:17 +01:00
ManoloFLTK
1581662d00 Simpler Fl_Wayland_Gl_Window_Driver::resize() is enough 2023-01-26 16:04:06 +01:00
Matthias Melcher
179771acd2
Fixing FLUID file corruption from issue #653 (#662)
Removing all globals in file writer (#653 )
Fix some static analyser complaints
Valgrind: handle width==0 in GfxDrivers on Wayland and X11
Don't use `Fl_Input_::static_value`, it accesses previous
buffer that may be deleted
Project file write encapsulated, removing globals
Encapsulating project file reader, removing states in glbals
Project i/o increased source code readability
2023-01-26 15:23:43 +01:00
ManoloFLTK
f314ca75fe Create new documentation chapter for FLTK developers
Add Doxygen-formatted description of the Wayland backend
Add bundled-libs.dox
Delete README.bundled-libs.txt
Move "Development" page to "Development of FLTK" chapter
2023-01-25 18:08:01 +01:00
ManoloFLTK
7b245ef0ab Remove warnings when building doc with Doxygen 2023-01-24 10:32:57 +01:00
Matthias Melcher
bd5a42eba8 FLUID: unneeded assignment, possible NULL pointer (#660) 2023-01-23 16:24:14 +01:00
Matthias Melcher
3a7c9fe978 STR 2639 Fixes Fl_Pack resize behaviour
FLUID cleanups
FLUID Fl_Pack support improvement
FLUID fix error in handling live mode resizables
2023-01-23 16:08:59 +01:00
ManoloFLTK
17467b48bd Wayland: remove useless member variables of struct output 2023-01-23 08:11:10 +01:00
Matthias Melcher
4c8927c083 FLUID: No syntax highlighting in comment editor (#658) 2023-01-21 18:23:48 +01:00
wcout
2ddfd9d949
Animated GIF support (Fl_Anim_GIF_Image class) (#375) 2023-01-21 17:27:58 +01:00
Matthias Melcher
1fc269b0d4
Move global FLTK options into new app fltk-admin (#560) 2023-01-21 17:14:41 +01:00
Matthias Melcher
4ddcbc81de No default values in plain C 2023-01-20 16:20:01 +01:00
Matthias Melcher
2c595e8dde STR 2822: function to count bytes in a UTF-8 string 2023-01-20 16:13:00 +01:00
Matthias Melcher
cd5301ac37 STR 2843: FLUID align evenly now prefers correct gap size over correct width 2023-01-20 15:34:14 +01:00
Matthias Melcher
b19c0e4f63 STR 2894: pressed_menubutton_ now protected in Fl_Menu_Button 2023-01-20 15:22:21 +01:00
Matthias Melcher
4f3f2bb30b STR 2909: Fl_Tile now forwards FL_RELEASE event to children 2023-01-20 14:04:22 +01:00
Matthias Melcher
ab5cc5866d STR 3408: Fl_Scroll draws background inactive if needed 2023-01-20 13:51:17 +01:00
Matthias Melcher
f4620329f1 STR 3461: fix menu linespacing 2023-01-20 13:44:13 +01:00
Matthias Melcher
18aaa32e45 STR 2658: documentation fixes on Fl::set_fonts 2023-01-20 12:35:56 +01:00
Albrecht Schlosser
0eeb6fe33e Fluid: improve contrast of comments in widget browser 2023-01-19 14:03:31 +01:00
ManoloFLTK
3774a0b0a9 Update bundled libjpeg to version 9e - cont'd 2023-01-17 14:08:57 +01:00
ManoloFLTK
3088a69c6e Update bundled libjpeg to version 9e - cont'd 2023-01-17 13:45:10 +01:00
ManoloFLTK
2f09e96b6d Update bundled libjpeg to version 9e (16 jan 2022) 2023-01-17 12:29:30 +01:00
ManoloFLTK
8941dd1ab7 Update bundled libpng to version 1.6.39 - cont'd 2023-01-17 10:44:22 +01:00
ManoloFLTK
e480dc3871 Update bundled libpng to version 1.6.39 - cont'd 2023-01-17 10:36:52 +01:00
ManoloFLTK
39eba133de Update bundled libpng to version 1.6.39 (20 nov 2022) 2023-01-17 09:38:53 +01:00
ManoloFLTK
b804c4b72c Update bundled zlib to version 1.2.13 (13 oct 2022) 2023-01-17 08:20:21 +01:00
Albrecht Schlosser
71eda122e8 Fix shared library build on Solaris as requested by STR 3378
I couldn't test this though.

Reference: https://www.fltk.org/str.php?L3378
2023-01-16 22:55:16 +01:00
ManoloFLTK
35b7473e70 Wayland menus: support tall popup menu + Sway support 2023-01-16 17:07:22 +01:00
ManoloFLTK
ff3906bec0 Wayland menus: support tall popup menu 2023-01-16 16:00:54 +01:00
Albrecht Schlosser
991359fcbd Remove DartConfig.cmake as requested by STR 2059
This file was not in use and we currently don't intend to use CDash.
2023-01-16 01:14:16 +01:00
Albrecht Schlosser
420042aefb Improve examples/chart-simple demo program
Make sure that the first chart entry is not zero because this wouldn't
show the first part of FL_SPECIALPIE_CHART separated from the circle.
2023-01-16 00:30:32 +01:00
Albrecht Schlosser
f44bdfb7cf Fl_Chart: minor update and additional documentation
Add forgotten parameter docs and some minor code fixes.
2023-01-16 00:08:47 +01:00
Albrecht Schlosser
dde2d21b5d Improve deriving from Fl_Chart (STR 2022)
This commit makes the local, static drawing functions in the source
file available for subclasses by converting them to static protected
methods as requested by STR 2022.

The source and header files have been reformatted according to the
CMP, documentation for the new protected methods was added.

Source code *functionality* has not been changed.

This resolves and closes STR 2022.

Todo:
 - investigate whether these drawing methods wouldn't better be
   member functions and "convert" them if applicable
 - investigate whether the internal struct FL_CHART_ENTRY could become
   a local part of the Fl_Chart class, maybe Fl_Chart::Entry.
 - rename private member variables with trailing underscore (see CMP)
2023-01-15 23:48:00 +01:00
Albrecht Schlosser
02ca05c6b2 Fix memory leak warnings by "binding" images
Although the memory "leak" is not really an issue in this demo
program (memory is returned anyway), "fixing" the leak warning
issued by valgrind and address sanitizer demonstrates the new
feature to "bind" images.
2023-01-15 20:14:35 +01:00
ManoloFLTK
f54c2b3430 Have files fl_attr.h and names.h visible by Doxygen
For some reason, the \file Doxygen command is absolutely required.
2023-01-15 11:00:48 +01:00
ManoloFLTK
761aa5e485 Rename static member Fl_Wayland_Window_Driver::tall_popup to new_popup
The new name reflects better the role of this bool member variable.
Also, add explanatory comments about the use of this variable.
2023-01-15 10:18:50 +01:00
ManoloFLTK
c76285d457 Add necessary initialisation in test/mandelbrot
Detected by valgrind :
==16102== Conditional jump or move depends on uninitialised value(s)
==16102==    at 0x449A10: Drawing_Area::idle() (mandelbrot.cxx:143)
2023-01-14 20:07:30 +01:00
ManoloFLTK
b5f9d6f38e More for "undefined reference to png_init_filter_functions_vsx" (#652) 2023-01-14 13:06:32 +01:00
ManoloFLTK
37775538c4 Extend commit a4b33f8 to other uses of function convert_crlf()
Helper function convert_crlf() from file fl_wayland_clipboard_dnd.cxx has been
repaired by commit a4b33f8 (13 jan 2023). But the same function was also in
file Fl_cocoa.mm. This commit moves the repaired code to class Fl_Screen_Driver
and has both fl_wayland_clipboard_dnd.cxx and Fl_cocoa.mm use it.
2023-01-14 09:56:09 +01:00
ManoloFLTK
82ac84a7c8 Fix "undefined reference to png_init_filter_functions_vsx" (#652)
Add two auxiliary source files needed to properly build libpng
for the ppc64 architecture.
2023-01-14 09:10:35 +01:00