summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-02-07Fix "\todo TextDEndOfLine and BufEndOfLine functions don't exist"ManoloFLTK
2023-02-07macOS+XQuartz: support new homebrew name for GTK2 shared libManoloFLTK
2023-02-06Remove usage of __APPLE_QUARTZ__ (#673)ManoloFLTK
2023-02-06Use fl_utf_strcasecmp() for Unicode-aware case-insensitive comparisonsManoloFLTK
2023-02-06Use fl_tolower() for case-insensitive Unicode-aware comparisonsManoloFLTK
2023-02-06Don't assume strcasecmp() is a function because of Visual studio CManoloFLTK
2023-02-06Add necessary #include "flstring.h"ManoloFLTK
2023-02-06Fix "\todo Add a flag to ignore case" from Fl_Browser_.cxxManoloFLTK
2023-02-06Fix "\todo Make comparison UTF-8 aware" in numericsort.cManoloFLTK
2023-02-06Fix "\todo provide user documentation for fl_set_status function"ManoloFLTK
2023-02-06Fix "\todo Complete documentation of class Fl_String"ManoloFLTK
Also - fix "\todo Unicode?" in Fl_Text_Display::display_insert() after verification - fix "\todo [Internal] The user_data value must be implemented using \p fl_intptr_t" because that's now in place.
2023-02-05Improve doc of Fl_Widget::test_shortcut() methodsManoloFLTK
This removes a \todo item.
2023-02-02Fix position() methods that shadow Fl_Widget::position()Matthias Melcher
* `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666)
2023-02-02Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__ManoloFLTK
2023-02-02Update dependencies and fix whitespace errorsAlbrecht Schlosser
- replace tabs with spaces - remove trailing whitespace
2023-02-02Minimize and fix include statements of Fl_Int_VectorAlbrecht Schlosser
- replace <FL/Fl.H> with <FL/Fl_Export.H> in public header - add missing <string.h> in implementation
2023-02-02 Fix "Native file chooser on Linux fails with BROWSE_MULTI_FILE" (#669)ManoloFLTK
2023-02-02Add preliminary support of Wayland under macOSManoloFLTK
Wayland under macOS is WIP at https://github.com/owl-compositor/owl
2023-02-01Wayland: use fl_wl_find() instead of fl_find()ManoloFLTK
2023-01-31Fix miscellaneous #include directivesManoloFLTK
2023-01-31Fix crash in Zenity filechooser with badly formed filter (#665)ManoloFLTK
2023-01-31 Fix crash in Zenity filechooser with badly formed filter (#665)ManoloFLTK
2023-01-31 Fix crash in Zenity filechooser with badly formed filter (#665)ManoloFLTK
2023-01-31 Fix "Native Filechooser (Zenity) crashes on second invocation" (#665)ManoloFLTK
2023-01-30Fix launching of unbundled app from /tmpManoloFLTK
2023-01-30Document that Fl::add_fd() opens display under macOSManoloFLTK
2023-01-28Fix comments and remove a 'todo' item from docsAlbrecht Schlosser
Comments and docs only, no code changes.
2023-01-27Fix for [fltk.coredev] native file chooser crashManoloFLTK
2023-01-26STR 2936: FLUID: option to ignore syntax check in DeclBlockMatthias Melcher
2023-01-26Simpler Fl_Wayland_Gl_Window_Driver::resize() is enoughManoloFLTK
2023-01-26Fixing FLUID file corruption from issue #653 (#662)Matthias Melcher
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-23STR 2639 Fixes Fl_Pack resize behaviourMatthias Melcher
FLUID cleanups FLUID Fl_Pack support improvement FLUID fix error in handling live mode resizables
2023-01-23Wayland: remove useless member variables of struct outputManoloFLTK
2023-01-21Animated GIF support (Fl_Anim_GIF_Image class) (#375)wcout
2023-01-20STR 2822: function to count bytes in a UTF-8 stringMatthias 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-16Wayland menus: support tall popup menu + Sway supportManoloFLTK
2023-01-16Wayland menus: support tall popup menuManoloFLTK
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-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-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-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