summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-20STR 2843: FLUID align evenly now prefers correct gap size over correct widthMatthias Melcher
2023-01-20STR 2894: pressed_menubutton_ now protected in Fl_Menu_ButtonMatthias Melcher
2023-01-20STR 2909: Fl_Tile now forwards FL_RELEASE event to childrenMatthias Melcher
2023-01-20STR 3408: Fl_Scroll draws background inactive if neededMatthias Melcher
2023-01-20STR 3461: fix menu linespacingMatthias Melcher
2023-01-20STR 2658: documentation fixes on Fl::set_fontsMatthias Melcher
2023-01-19Fluid: improve contrast of comments in widget browserAlbrecht Schlosser
2023-01-17Update bundled libjpeg to version 9e - cont'dManoloFLTK
2023-01-17Update bundled libjpeg to version 9e - cont'dManoloFLTK
2023-01-17Update bundled libjpeg to version 9e (16 jan 2022)ManoloFLTK
2023-01-17Update bundled libpng to version 1.6.39 - cont'dManoloFLTK
2023-01-17Update bundled libpng to version 1.6.39 - cont'dManoloFLTK
2023-01-17Update bundled libpng to version 1.6.39 (20 nov 2022)ManoloFLTK
2023-01-17Update bundled zlib to version 1.2.13 (13 oct 2022)ManoloFLTK
2023-01-16Fix shared library build on Solaris as requested by STR 3378Albrecht Schlosser
I couldn't test this though. Reference: https://www.fltk.org/str.php?L3378
2023-01-16Wayland menus: support tall popup menu + Sway supportManoloFLTK
2023-01-16Wayland menus: support tall popup menuManoloFLTK
2023-01-16Remove DartConfig.cmake as requested by STR 2059Albrecht Schlosser
This file was not in use and we currently don't intend to use CDash.
2023-01-16Improve examples/chart-simple demo programAlbrecht Schlosser
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-16Fl_Chart: minor update and additional documentationAlbrecht Schlosser
Add forgotten parameter docs and some minor code fixes.
2023-01-15Improve deriving from Fl_Chart (STR 2022)Albrecht Schlosser
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-15Fix memory leak warnings by "binding" imagesAlbrecht Schlosser
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-15Have files fl_attr.h and names.h visible by DoxygenManoloFLTK
For some reason, the \file Doxygen command is absolutely required.
2023-01-15Rename static member Fl_Wayland_Window_Driver::tall_popup to new_popupManoloFLTK
The new name reflects better the role of this bool member variable. Also, add explanatory comments about the use of this variable.
2023-01-14Add necessary initialisation in test/mandelbrotManoloFLTK
Detected by valgrind : ==16102== Conditional jump or move depends on uninitialised value(s) ==16102== at 0x449A10: Drawing_Area::idle() (mandelbrot.cxx:143)
2023-01-14More for "undefined reference to png_init_filter_functions_vsx" (#652)ManoloFLTK
2023-01-14Extend commit a4b33f8 to other uses of function convert_crlf()ManoloFLTK
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-14Fix "undefined reference to png_init_filter_functions_vsx" (#652)ManoloFLTK
Add two auxiliary source files needed to properly build libpng for the ppc64 architecture.
2023-01-14Add missing initialisation after dynamic memory allocationManoloFLTK
2023-01-13Fix set_fonts() in Xlib/xft and Cairo Graphics_DriverAlbrecht Schlosser
src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx: - fix font_name_process() out of bounds memory access - unify/align font_name_process() code (see also Xlib/xft) - fix font name string allocation src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx - unify/align font_name_process() code (see also Cairo_Graphics) - fix font name string allocation Todo: move common code to Fl_Graphics_Driver or another common file.
2023-01-13Fix for "Rename Fl_X* Fl_Window::i private class member" (#223)ManoloFLTK
2023-01-13Wayland menus: add missing use of scaling factorManoloFLTK
2023-01-13Fix "alloc-dealloc-mismatch" in Fl_Native_File_Chooser_KdialogAlbrecht Schlosser
Error was reported by Address Sanitizer (ASAN) when picking a file. Platform: Unix/Linux. ==1734703==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x607000108420 #0 0x7f3357d846ef in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cc:168 #1 0x4e195f in Fl_Native_File_Chooser_Driver::strfree(char*) ../../src/Fl_Native_File_Chooser.cxx:262 ... 0x607000108420 is located 0 bytes inside of 66-byte region [0x607000108420,0x607000108462) allocated by thread T0 here: #0 0x7f3357d0a3ed in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cc:445 #1 0x57951a in Fl_Kdialog_Native_File_Chooser_Driver::filter(char const*) ../../src/Fl_Native_File_Chooser_Kdialog.cxx:245 #2 0x4e14a0 in Fl_Native_File_Chooser::filter(char const*) ../../src/Fl_Native_File_Chooser.cxx:176
2023-01-13Wayland: Fix "heap-buffer-overflow" errorAlbrecht Schlosser
- replace strchr() with memchr() because buffer is not nul-terminated - fix '*(p+1)' potentially accessing memory out of bounds This fix also prevents - multiple memmove() calls - multiple searches from the beginning of the string
2023-01-13Improve debug output of Fl_StringAlbrecht Schlosser
- add newline (\n) before string output - remove quotes (')
2023-01-13 Fix for "Screen resolution change (win32)" (#651)ManoloFLTK
2023-01-12Wayland Fix "Error "heap-use-after-free" when scaling twice" (#650)ManoloFLTK
2023-01-12Improve "Implementation note about menu windows under Wayland"ManoloFLTK
2023-01-12Add Fl_Scheme_Choice to examples/tree-custom-draw-itemsAlbrecht Schlosser
- add Fl_Scheme_Choice widget for quick scheme selection - fix label alignment of selection box - set selection_color() - set selectbox() - make the tree the resizable() of the window
2023-01-12Add Fl_Scheme_Choice widget and use it in test programsAlbrecht Schlosser
This widget offers the selection of all known FLTK schemes as a simple widget based on Fl_Choice. Some test and demo programs use Fl_Scheme_Choice to enable the developer or user to switch schemes quickly for comparison. Todo: - add features to add new schemes during runtime (partially done) - update status when the scheme is changed by Fl::scheme("...")
2023-01-12Add the initial version of class Fl_SchemeAlbrecht Schlosser
This basic version of class Fl_Scheme contains only static methods that are needed for Fl_Scheme_Choice and further extensions.
2023-01-12FLUID: Fix wrong use of `Fl_Scroll::position()`Matthias Melcher
2023-01-12New static member Fl_Window *Fl_Wayland_Window_Driver::previous_floatingtitleManoloFLTK
2023-01-12New static member bool Fl_Wayland_Window_Driver::tall_popupManoloFLTK
2023-01-12Remove repeated code in classes menuwindow and menutitleManoloFLTK
2023-01-12Remove useless #include directivesManoloFLTK
2023-01-12Simpler implementation of Fl_Window_Driver::scroll_to_selected_item()ManoloFLTK
2023-01-12Wayland menus: remove useless Fl_Window_Driver::extra_menutitle()ManoloFLTK
2023-01-12Fix buffer overflow in Fl_Tree_Item::show_self()Albrecht Schlosser
2023-01-11 Fix "Wayland: compilation warnings" (#649)ManoloFLTK