summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-04-15Fluid: hiding MergeBack form the main menu.Matthias Melcher
Hiding menuitem if option is not available. Also testing the new FL_BEFORE_MENU event.
2025-04-15Reactivating Mergeback functionality. (#1226)Matthias Melcher
Reactivated code. Various fixes. New documentation.
2025-04-15Fluid: avoid bad function pointer casting warning in Clang 17.Matthias Melcher
2025-04-07Revised version of the glpuzzle man page.Matthias Melcher
2025-04-06Adjusted .fl files too, regen code (#1245)Greg Ercolano
2025-04-05Fixes error: two consecutive '[' tokens on g++ with objcpp files (#1246)Mohammed Alyousef
Applying MoAlyousef's PR. -erco
2025-04-05Solve Mac 10.10.5 fluid build errors (#1245)Greg Ercolano
2025-04-04CMake: simplify fluid buildAlbrecht Schlosser
- define variable MAIN_FILES to avoid repetition - make target_include_directories(fluid-lib) PUBLIC rather than PRIVATE
2025-04-04Update man pages of games (demo programs), add glpuzzle.manAlbrecht Schlosser
Prepare for installation of `games` demo programs. Fix inconsistencies and typos in man pages. In the future the man pages can be installed together with the executables. This will be done in a later commit. documentation/src/glpuzzle.man: new file.
2025-04-04Remove reference to 'configure', fix typosAlbrecht Schlosser
Note: this file is not used in normal compilation, it can be used to help debugging. I'm not sure if it's still helpful, but anyway...
2025-04-04Update bundled libdecor to last upstream version (Apr 4, 2025)ManoloFLTK
2025-04-03Remove redundant Fl_Group::clear() from ~Fl_Scroll()Albrecht Schlosser
Fl_Group::clear() is called in Fl_Group's d'tor anyway. Technically we don't need to remove hscrollbar and scrollbar because they are destroyed (and thus removed from Fl_Group) before Fl_Group's d'tor is executed but this is left for clarity and to guarantee the order (see comment).
2025-04-03Fix "Minor drawing artifact at scale 200% under X11 session" (#1243)ManoloFLTK
2025-04-03Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK
2025-04-02Use CMake's built-in timestamp formatting.Aaron M. Ucko
It notably honors SOURCE_DATE_EPOCH if set, making for reproducible output. For even better reproducibility, use UTC. (Unlike the date command's output, the result is already always in English.) Extend this approach to the book, introducing appropriately formatted PDF_DATE and TODAY variables for its PDF metadata and title page respectively and making make_pdf configurable.
2025-04-02CMake: check version for some properties in fl_debug_target()Albrecht Schlosser
Debug only, if fl_debug_target() is used: Prior to CMake 3.19 some properties of "INTERFACE_LIBRARY targets" can't be read with get_property(). These properties are now excluded if the CMake version is lower than 3.19.
2025-04-01options.cmake: Check Threads_FOUND, not CMAKE_HAVE_THREADS_LIBRARYAaron M. Ucko
The former's been available since CMake v2.8 and documented since v3.17; the latter was never documented and quietly went away in CMake v3.24.
2025-04-01Adding the FL_MENU_CHATTY flag to Fl_Menu_Item.Matthias Melcher
If set, menu items will also call the callback when highlighting changes. The reason is given with Fl::callback_reason(). #941
2025-03-30Fixing a few more compiler warnings.Matthias Melcher
2025-03-30Fixes a couple of compiler warnings on AppleClang.Matthias Melcher
2025-03-30Somewhat better example for dynamic tooltip.Matthias Melcher
2025-03-29Adding missing `override`sMatthias Melcher
2025-03-29Adding `FL_BEFORE_MENU` event to classes derived from `Fl_Menu_`Matthias Melcher
2025-03-29Adds a new event FL_TOOLTIP_EVENT...Matthias Melcher
... and Fl_Tootip::override_text() to allow users to dynamically generate tooltips.
2025-03-29Allow FL_ABI_VERSION = FL_API_VERSION + 1Albrecht Schlosser
... so users can enable ABI features designated for the *next* release when using FLTK from Git (or snapshots) before the API version has been raised for that release.
2025-03-28Changed two connector methods to virtualGreg Ercolano
For reference, see fltk.general thread started Mar 26 2025, entitled: "Make some Fl_Tree_Item methods virtual?"
2025-03-27Update fltk-config.in (minor comment changes only)Albrecht Schlosser
2025-03-27Remove reference to 'configure' from commentAlbrecht Schlosser
Explain details of the mentioned 'hack' referring to and citing parts of the original commit log.
2025-03-25Disallow in-source buildsAlbrecht Schlosser
Rationale: 1. Building in-source creates a lot of untracked files in the source tree. We need to take care not to commit any of them, hence we have to maintain .gitignore files in several directories. 2. Tests reveal that there are even files in git that are modified in the source tree when building docs etc. which means e.g. that builds can't be "repeated" after upgrading the sources, and that those files could be committed by accident. To avoid this we'd have to reorganize the build procedure and make it even more complex rather than simplifying it. 3. With autoconf/configure/make we didn't have a choice, i.e. we had to allow in-source builds with configure/Makefiles anyway. This is no longer true since we removed configure/make support. Note, todo: if this commit doesn't introduce unexpected issues, then we can remove a lot of stuff from the .gitignore files, but this is left for a later commit.
2025-03-25Fix: Windows: Clipboard gets stuck when text is copied while window is ↵ManoloFLTK
hidden (#1233)
2025-03-24Upadate macOS README.Matthias Melcher
2025-03-23Fluid documentation: fix image name "main_window.png"Albrecht Schlosser
Remove prefix "Fluid." from generated image name.
2025-03-20Update documentation of the Wayland platform implementationManoloFLTK
2025-03-19Update bundled libdecor to last upstream version (9 mar 2025)ManoloFLTK
2025-03-19Remove obsolete build option 'FLTK_OPTION_STD'Albrecht Schlosser
This option is no longer needed since FLTK 1.5 always requires C++11.
2025-03-19Fix "FLTK apps broken under LabWC compositor" (#1231)ManoloFLTK
2025-03-18Fix out-of-bounds access in test/checkers.cxxAlbrecht Schlosser
For details please see description in the source code in test/checkers.cxx lines 620++ This commit also disables unused code: function dumpnode() which is used only in VT100 mode.
2025-03-18Wayland: improve support of screen removal while FLTK runsManoloFLTK
2025-03-18Wayland: fix unsetting fullscreen state for window created fullscreenManoloFLTK
In some multi-screen settings, the un-fullscreened window would leave its screen but would not enter any screen.
2025-03-18Fix "Inconsistent FL_FULLSCREEN when creating full-screen window" (#1225)ManoloFLTK
The commit has all platforms send the FL_FULLSCREEN event when a window is created fullscreen.
2025-03-18Fix "X11 library missing in fltk-config" (#1228)ManoloFLTK
2025-03-17Fix comparison that's always trueAlbrecht Schlosser
... because base_dir[0] and dest_dir[0] are *signed* chars.
2025-03-17Windows: fix "heap-use-after-free" in home_directory_name()Albrecht Schlosser
Calling getenv() twice with different output vars and accessing both later could cause "heap-use-after-free" error in some Windows versions. The result of home_directory_name() would be unpredictable. Found using Wine and/or MSYS2/clang/libc++ with Address Sanitizer.
2025-03-17Wayland: improve support of addition/removal of displays while FLTK runsManoloFLTK
2025-03-17Wayland: compute work area size under MUTTER or when single displayManoloFLTK
2025-03-16Fluid: restructuring and rejuvenation of the source code.Matthias Melcher
* Add classes for application and project * Removed all globals from Fluid.h * Extracting args and project history into their own classes * Moving globals into Application class * Initialize values inside headers for some classes. * Undo functionality wrapped in a class inside Project. * File reader and writer are now linked to a project. * Avoid global project access * Nodes (former Types) will be managed by a new Tree class. * Removed static members (hidden globals) form Node/Fl_Type. * Adding Tree iterator. * Use nullptr instead of 0, NULL, or 0L * Renamed Fl_..._Type to ..._Node, FL_OVERRIDE -> override * Renaming ..._type to ...::prototype * Splitting Widget Panel into multiple files. * Moved callback code into widget panel file. * Cleaning up Fluid_Image -> Image_asset * Moving Fd_Snap_Action into new namespace fld::app::Snap_Action etc. * Moved mergeback into proj folder. * `enum ID` is now `enum class Type`.
2025-03-16Fix font termination bug from 2e1730d2f0f1 (#1221)Albrecht Schlosser
See also #1223, and thanks to Gonzalo for finding it.
2025-03-16Remove libfltk_cairo (fltk::cairo)Albrecht Schlosser
This library is no longer needed and was "empty" for backwards compatibility since FLTK 1.4.0.
2025-03-15Fix potential buffer overflow on Windows when loading fonts (#1221)Albrecht Schlosser
This commit is bigger than necessary to fix the buffer allocation but it also prevents some unnecessary string copies: the font name is converted from UTF-16 to UTF-8 directly in the buffer used later. Code reformatted and clarified as well, some duplicated code was removed.
2025-03-14Wayland: simplify handling of tall menu windowsManoloFLTK