summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-14update README.macOS.md (Creating new Projects)Masato Sugiyama
2022-04-14Fix for issue #429 : Segfault with Ctrl+/- with current git versionManoloFLTK
2022-04-13Update "migration" documentation with new informationAlbrecht Schlosser
- clarify and extend documentation of Fl_Preferences file locations - add info about locale independent Fl_Preferences types (enum) - add info about FLTK timer consolidation across platforms
2022-04-13Make Fl_Image::copy() 'const', including all derived classesAlbrecht Schlosser
Copying an image does not (and must not) change the original object, hence copy() should always be 'const'. This is *necessary* if the given Fl_Image object is 'const'.
2022-04-13Fix for issue #427 - continued.ManoloFLTK
2022-04-13Fix for issue #427 - continued.ManoloFLTK
2022-04-12Fix for issue #427: Problems with data_w, data_h, w, h of Fl_Image.ManoloFLTK
2022-04-12Modify test/cairo_test.cxx to show roles of OPTION_CAIRO and OPTION_CAIROEXT.ManoloFLTK
Also make clear that these options require, for now, Fl_Double_Window to work cross-platform.
2022-04-10Fix for issue #426 - cont'd.ManoloFLTK
2022-04-09Fix build of test/unittests with shared librariesAlbrecht Schlosser
- set variables UNITTEST_LIBS and UNITTEST_LIBS_SHARED appropriately - use these variables in build instructions This includes normal and shared builds with and w/o OpenGL.
2022-04-08Fix for issue #426: "configure --enable-cairoext" flips display upside downManoloFLTK
2022-04-07Reorder CMake build options for better order of include directoriesAlbrecht Schlosser
This is only one minor step to remove issues of some CMake options that can cause conflicting include directories ("-I..." switches). See implementation note in CMake/options.cmake.
2022-04-07Clean up test/.gitignoreAlbrecht Schlosser
- remove no longer used filenames - reorder to separate generated files from executables - add comment on how to create list of generated files
2022-04-07Add note to doc of Fl_Cairo_Window about required build option.ManoloFLTK
2022-04-07Package gnome-session-wayland is just a transitional package.ManoloFLTK
2022-04-07Rename remaining FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXTAlbrecht Schlosser
Thanks to Manolo for finding this.
2022-04-07Update doc of struct Fl_Menu_Item whose shortcut_ member is now an int.ManoloFLTK
2022-04-07Undo most of f6a93eb that was a bad move.ManoloFLTK
2022-04-07Fix build w/o XftAlbrecht Schlosser
2022-04-06Remove useless instructions.ManoloFLTK
2022-04-06Remove warnings: comparison of integer expressions of different signedness ↵ManoloFLTK
[-Wsign-compare]
2022-04-06Remove crashes that occur in SSD mode.ManoloFLTK
2022-04-05CMake: Restore removed HAVE_LIBPNG settingAlbrecht Schlosser
This was removed unintentionally.
2022-04-05Fix for "Fl_Native_File_Chooser_GTK does not respect PREVIEW option" in ↵ManoloFLTK
fltk.general.
2022-04-04Remove obsolete config variable 'HAVE_LIBPNG_PNG_H'Albrecht Schlosser
This variable has never been used in the code. Configure and CMake look for a *working* libpng (HAVE_PNG) and set variable HAVE_PNG_H if the header <png.h> can be included. The alternative to include <libpng/png.h> is always used in the #else clause and doesn't need its own config variable. Configure and CMake log what they find, hence this extra variable is not necessary.
2022-04-04Catch also Fl_Posix_System_Driver after rename stat -> flstat in ↵ManoloFLTK
Fl_System_Driver
2022-04-03Build and use fluid-cmd on Windows for .fl files (#224, #293)Albrecht Schlosser
On Windows fluid.exe is a "GUI" program and does not allow console output which can be a problem in automated builds. In Visual Studio the fluid GUI program would pop up console windows when generating .cxx and .h files from .fl files. The new (additional) fluid-cmd.exe is built as console application for users that need it and it is used in the FLTK build process on Windows to convert the .fl files.
2022-04-03Improve libpng header search (notably on macOS)Albrecht Schlosser
Fix usage of internal cache variables so users can switch between system and builtin libpng reliably.
2022-04-03Silence compiler warnings [-Wunused-but-set-variable]Albrecht Schlosser
2022-04-03Remove '#include <sys/stat.h>' from FL/platform_types.hAlbrecht Schlosser
- Add this include statement only where needed. - Rename Fl_System_Driver::stat() to flstat(). This fixes an issue when using some (!) MinGW 64-bit build systems that obviously '#define stat _stat64' or similar. This would result in compiler problems if 'stat()' is a member function of Fl_System_Driver.
2022-04-01Fl_Wayland_Window_Driver::scroll() when GUI scaling >= 2.ManoloFLTK
2022-04-01Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK
2022-04-01Fix regression introduced with d9a6ec8 visible in test/scroll.ManoloFLTK
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-31Update .clang-format control fileAlbrecht Schlosser
2022-03-31Add support of Fl_Region to the Cairo graphics driverManoloFLTK
and remove it from the Wayland graphics driver.
2022-03-30Add method Fl_Shared_Image::image()Albrecht Schlosser
This public method returns a pointer to the internal Fl_Image object (const Fl_Image *). This is only for reference, the internal image must not be modified by user code but it can be inspected and copied to another image.
2022-03-27Export fl_cmap to be able to build shared FLTK librariesAlbrecht Schlosser
2022-03-27Move src/cmap.cxx to util/cmap.cxx (utilities folder)Albrecht Schlosser
Regenerated src/fl_cmap.h with less spaces, updated copyright year. Only whitespace and comments are changed in this file. Note that src/cmap.cxx is not compiled to build the FLTK libs, it's only used to generate src/fl_cmap.h.
2022-03-27Wayland: replace public fl_event_time by static wld_event_time.ManoloFLTK
2022-03-26CMake: Don't install man pages of game programs (issue #23)Albrecht Schlosser
I decided not to install the man pages for consistency because we don't install the executable programs. The instructions are commented out only so they can be activated easily if this will be changed, i.e. if we decide to install the test/game programs in the future. Closes #23
2022-03-26CMake: Remove obsolete platform dependent instructionsAlbrecht Schlosser
The intended effect (building a Windows "GUI" application), is correctly achieved using the "WIN32" option of add_executable() selectively where appropriate rather than setting this platform specific option for *all* (Windows) executables when using GNU compilers (MinGW, MSYS2, Cygwin, ...).
2022-03-26CMake/MSVC: limit "/utf-8" to VS 2015 and later (PR #415)Albrecht Schlosser
According to PR #415 this switch was added in Visual Studio 2015 Update 3. However, version "1900" does not distinguish updates, hence Visual Studio 2015 up to Update 2 may fail to compile with this addition. Installing the updates would obviously fix this.
2022-03-26Add UTF-8 encoding support in setup.cmake for MSVC (PR #415)ZJUGKC
The source files are all encoded by UTF-8 without BOM. This will raise warnings and errors when compiling by the MSVC with some active code pages (ACP). The file `test/ask.cxx` contains such characters with UTF-8 encoding. Adding `/utf-8` here is equivalent to specifying `/source-charset:utf-8 /execution-charset:utf-8`, and all warnings and errors are removed.
2022-03-26Add `const` to Fl_Image::fail() (PR #415)YX
2022-03-25Update documentation and dependenciesAlbrecht Schlosser
2022-03-25CMake: add missing variable initializationAlbrecht Schlosser
Although CMake uses previously undefined variables like empty strings it could happen that variables set in the calling context by other projects initialized some variables with unexpected values. Example: FLTK_LIBRARIES could have been initialized by previous execution of 'find_package(FLTK ...)' in a project using FLTK
2022-03-25Remove documentation of non-existant function return values.ManoloFLTK
2022-03-24Remove platform-dependent type Fl_Bitmask (not in documented public API).ManoloFLTK
2022-03-24Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK