summaryrefslogtreecommitdiff
path: root/src/drivers/Unix/Fl_Unix_System_Driver.cxx
AgeCommit message (Collapse)Author
44 hourswipmaxim nikonov
3 dayswipmaxim nikonov
2025-06-03Restore use of build option FLTK_USE_POLLManoloFLTK
2025-05-13Remove deprecated function Fl::set_idle()Albrecht Schlosser
This turned out to be more complicated than just to delete a function because it was used internally, and the callback signatures were a bit flaky. I also added a lot of documentation to clarify matters. FL/Fl.H: document idle callback signatures, make some internal functions of class Fl private, add public Fl::idle() accessor (read- only), add Fl::add_idle(Fl_Old_Idle_Handler cb) to enable using old-style idle callbacks w/o 'data' argument. FL/forms.H: replace Fl::set_idle() with Fl::add_idle(). src/Fl.cxx: rename private Fl::idle_ with trailing underscore. src/Fl_System_Driver.cxx: use new public accessor Fl::idle() to access Fl::idle_ which is now private. src/Fl_add_idle.cxx: improve documentation, clarify idle callback matching, add example code in docs, rename methods, add overloaded Fl::add_idle(Fl_Old_Idle_Handler cb). src/Fl_win32.cxx: use public Fl::idle() rather than private member. src/drivers/Unix/Fl_Unix_System_Driver.cxx: same as above. src/Fl_cocoa.mm: same as above.
2025-03-07Fixing error where std::string could be assigned NULL'Matthias Melcher
2025-03-07Removes the remaining references to Fl_String.Matthias Melcher
Still to do: rename fl_filename... to fl_filename..._str and introduce into core library.
2025-03-07Fixing a couple of warnings.Matthias Melcher
2025-03-07One more FL_String::apend fix,Matthias Melcher
2025-03-07Replce Fl_String in Fluid with std::string.Matthias Melcher
Also fix for Linux.
2024-03-25Fix "Support for AIX" - part 2 (#942)Albrecht Schlosser
Add missing file counter increment, thanks to @michaelbauerle.
2024-03-22Fix "Support for AIX" (#942)Albrecht Schlosser
Slightly modified patch from @michaelbaeuerle (issue #942).
2024-03-18Fix "Support for HP-UX" (#937)Albrecht Schlosser
Fix usage of vsscanf in Fl_Unix_System_Driver::clocale_vsscanf(). Final commit of all patches provided by the OP of issue #937 - if everything works now.
2024-01-22Fl_Preferences: fix missing '/' (#891)Albrecht Schlosser
Without the '/' FLTK 1.4 wouldn't fall back to the 1.3 prefs folder even if it existed.
2024-01-22Fix warning.Matthias Melcher
2024-01-22Fix wrong path var and typosMatthias Melcher
2024-01-22Fix User Preferences file search order for Unix (#891)Matthias Melcher
2022-11-07Create class Fl_Unix_Screen_Driver used by X11 and Wayland platformsManoloFLTK
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-03-23Remove vsscanf_l() call from Win32 driver (it appears to be a BSD-ism and ↵ian.macarthur
unsupported by the MS tools) and rename several clocale specific methods from "name" to "vname" since they take a va_list not a variable list of arguments.
2022-03-21Fix for issue #418 : some warnings about unused functions.ManoloFLTK
2022-03-20 Fix issue #413: Commit 29d9e31 creates memory handling problem under macOS.ManoloFLTK
2022-03-04Add the Wayland platform to FLTK 1.4ManoloFLTK