summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-02CMake: put freetype stuff in include directories for X11 onlyManoloFLTK
This would create these warnings for each source file compiled osxcross: warning: possibly dangerous include path specified: '-I /usr/include/freetype2' osxcross: info: you can silence this warning via 'OSXCROSS_NO_INCLUDE_PATH_WARNINGS=1' (env) when cross-compiling from Linux to macOS.
2024-05-02macOS + GL: remove compilation error with old SDK versionsManoloFLTK
2024-05-01CMake/debug: add more properties to fl_debug_target()Albrecht Schlosser
This commit is only for CMake debugging.
2024-05-01CMake: simplify compiler detection for '-Wshadow' testAlbrecht Schlosser
2024-04-30Remove (comment out) debug statement (kdialog)Albrecht Schlosser
2024-04-30Fix preset_file() and directory() in native file chooser for kdialogManoloFLTK
2024-04-30Implement and document new class Fl_PDF_File_SurfaceManoloFLTK
2024-04-29Fix potential NULL pointer dereferenceAlbrecht Schlosser
... as reported in thread "Windows 11 crash (still investigating)" of fltk.coredev, started on Apr 24, 2024. This bug could only be triggered if a /subwindow/ wss hidden but was not limited to Windows.
2024-04-27Documentation: minor formatting updateAlbrecht Schlosser
2024-04-27Improve documentation (preface + intro)Albrecht Schlosser
Update particularly Windows (but also other) build instructions.
2024-04-27CMake: make compile definition "FL_DLL" public for MSVC (#960)Albrecht Schlosser
Visual Studio projects that link to the FLTK DLL (fltk::fltk-shared) inherit the compile definition set by the DLL target and will be compiled with "-D FL_DLL" as required w/o the user project having to set this preprocessor macro explicitly. Todo: documentation will follow...
2024-04-27X11: simpler code to capture window decoration under xfceManoloFLTK
2024-04-27Documentation: bundled libdecor symbols are pefixed by "fl_"ManoloFLTK
2024-04-26Fix repositioning subwindows.Matthias Melcher
The commit f288aea from Feb. 23rd introduced a regression where children of subwindows were moved inside the subwindow when only the subwindow itself was supposed to move. 
2024-04-26FLUID: Fix live resize for windows and tabsMatthias Melcher
2024-04-26Box type focus frame graphics fixes.Matthias Melcher
2024-04-26X11: fix capture of window decoration under xfceManoloFLTK
2024-04-26Fixes warning.Matthias Melcher
2024-04-26Box types can now defined and draw their own focus frame, STR 2145, #659Matthias Melcher
2024-04-26FLUID: update file format informationMatthias Melcher
2024-04-26Wayland: slightly simpler code for IM supportManoloFLTK
2024-04-25Prevent "The GTK protocol" from being included in the FLTK documentationManoloFLTK
2024-04-25FLUID: Improve usability of Declaration BlocksMatthias Melcher
Decl Blocks can now output code around static code in source and header files.
2024-04-25Fix problem in window titlebar capture under X11.ManoloFLTK
2024-04-25Fix error under KDE+Wayland where keystrokes tend to be repeatedManoloFLTK
see also: fltk-rs/fltk-rs#1539
2024-04-25Substantial fix for "IME problem under wayland" in fltk-rsManoloFLTK
see: fltk-rs/fltk-rs#1539
2024-04-24Very partial fix for "IME problem under wayland" in fltk-rsManoloFLTK
see: https://github.com/fltk-rs/fltk-rs/issues/1539
2024-04-23macOS: Fix scaling subwindows #927Matthias Melcher
Converting Cocoa coordinates into FLTK coordinates should be avoided as much as possible because the conversion loses precision for scaling != 100%.
2024-04-22 Fix for Fl_Native_File_Chooser::filter_value() - cont'd (#899)ManoloFLTK
2024-04-22Enable 'shadow_variables' test on macOS using AppleClangAlbrecht Schlosser
The CMake compiler ID on macOS is AppleClang rather than Clang. This commit checks for this compiler ID as well.
2024-04-22 Fix: Fl_Native_File_Chooser::filter_value() [Kdialog] always returns 0 (#899)ManoloFLTK
- remove build option FLTK_USE_KDIALOG replaced by an Fl::option() option - new run-time option OPTION_FNFC_USES_KDIALOG - make options OPTION_FNFC_USES_KDIALOG and OPTION_FNFC_USES_ZENITY false by default - add mention of new program fltk-options in the doc of Fl::option() - change logic of choice of the native file chooser under X11/Wayland: the zenity and kdialog choosers are opt-in; otherwise the GTK file chooser is used, unless opted out with OPTION_FNFC_USES_GTK - document that zenity may be interesting for sandboxed apps - document that both zenity and kdialog make member functions Fl_Native_File_Chooser::filter_value() inoperable
2024-04-22 Fix: Wayland use of alpha in glClearColor/glClear (#957)ManoloFLTK
2024-04-21Fix build of test programs using shared FLTK libsAlbrecht Schlosser
2024-04-21CMake: add target_include_directories() for optional libs (#954)Albrecht Schlosser
This ensures that header files for libraries found by `pkg-config` (pkg_check_modules) in non-system directories will be found by the compiler during the compilation of the FLTK library. This issue has been reported in PR #954 related to builds with Conan where some header files are not in system locations.
2024-04-20CMake build summary: output libdecor location if foundAlbrecht Schlosser
Wayland only: output either the libdecor location or "Bundled".
2024-04-20Add "fl_" prefix to libdecor symbols when using the built-in copy of libdecorManoloFLTK
This allows client apps to use other versions of libdecor if they wish, just like what FLTK already does with libpng and libjpeg.
2024-04-20CMake/MSVC: Fix shared library build, add to GitHub CI buildAlbrecht Schlosser
Fault was a simple typo or copy-paste error
2024-04-19CMake: add installation prefix to Configuration SummaryAlbrecht Schlosser
2024-04-19CMake: fix propagation of CMake targets to user projects (#954)Albrecht Schlosser
Unfortunately commit 5417ea5f1f33f62e2511bda74477da05dce900a3 broke simple user projects by propagating unknown CMake target names to linker requirements of user projects. This commit tries to fix this w/o breaking the intentions of PR #954.
2024-04-19FLUID: Create VisualStudio compatible long stringsMatthias Melcher
Better labels on FLUDI image properties dialog Better documentation on image compression
2024-04-18Restore IMPORTED_TARGET in pkg_check_modules command for libdecorManoloFLTK
2024-04-18Allow libdecor package version ≥ 0.2.0 with FLTK_USE_SYSTEM_LIBDECORManoloFLTK
2024-04-18Add missing 'x11.H' to exclusion list (STR 2728)Albrecht Schlosser
2024-04-18Test public headers for shadowed variables (STR 2728)Albrecht Schlosser
This program is built only when using CMake and a GNU or Clang compiler to detect shadowed variables in header files. Developers should fix such warnings whenever they see them during the build to avoid user reports.
2024-04-18Fix potential compiler warnings in public headers [-Wshadow]Albrecht Schlosser
These warnings would be issued if users compiled their programs with diagnostics '-Wshadow' turned on using gcc, clang, and maybe other compilers.
2024-04-17FLUID: Add cast to avoid warning #956Matthias Melcher
User Data of grid menu items was missin fl_intptr_t
2024-04-17Fix dangling reference to FLUID docs.Matthias Melcher
2024-04-17Fix 'int Fl_Menu_::value()' if item is in a submenu (STR 3241)Albrecht Schlosser
More precise: ... if the last picked item is in a "detached submenu", i.e. in one addressed by another menu item with the FL_SUBMENU_POINTER flag set. Also: document *why* this is the case, and what the result value is.
2024-04-17Separate FLUID user documentation, screen shot automation (#936)Matthias Melcher
* CMake integration, no autotiools * alignment panel is now correctly renamed to setting panel * source view is now correctly renamed to code view * Merge FLTK FLUID docs into FLUID user manual. * Add two simple entry tutorials * Remove FLUID chapter form FLTK docs. * GitHub action to generate HTML and PDF docs and make the available as artefacts
2024-04-14Fix and improve generation of fltk-config (#954 and more)Albrecht Schlosser
Parts of this commit fix the usage of CMake targets in the generation process of fltk-config modified by PR #954. The rest improves handling of variables used to generate fltk-config, removes obsolete comments, documents variables like GLLIBS etc. which had to be done anyway.