summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-28Improve integration with the OWL Wayland compositorManoloFLTK
2023-04-27Slightly simpler Fl_Wayland_Screen_Driver::open_display_platform()ManoloFLTK
2023-04-26FLUID: Initialisation orner in menus: #722Matthias Melcher
2023-04-26Multiline Fl_Input: fix move up/down in non ASCII textManoloFLTK
2023-04-25Wayland filename drag-n-drop: fix final null byteManoloFLTK
2023-04-25Wayland: accept all data_device_manager protocol versionsManoloFLTK
2023-04-25Wayland: set required version of wl_seat protocol to 2ManoloFLTK
2023-04-24Windows: define _WIN32_IE for older MinGW versions (#710)Albrecht Schlosser
... if _WIN32_IE is not defined. Older MinGW versions would otherwise not define SHGFP_TYPE_CURRENT which is needed since commit 5a4e7caa54bab9da2061b0003bb546aa0da6ea1b that fixes GitHub issue #710: "Fl_Preferences not stored on Windows 10". This commit is based on Ian's work as discussed in fltk.coredev, thread "fltk-1.4 build error in Fl_WinAPI_System_Driver.cxx with 32-bit mingw" on Apr 20, 2023.
2023-04-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK
2023-04-23Slightly simpler Fl_Wayland_Graphics_Driver::copy_offscreen()ManoloFLTK
2023-04-21Remove superfluous #include directiveManoloFLTK
2023-04-21Fl_Window_Driver::destroy_double_buffer() does not need overridesManoloFLTK
2023-04-21Remove unnecessary Fl_Window_Driver::flush_Fl_Window()ManoloFLTK
2023-04-20Wayland: keep window resizable after native file chooser - cont'dManoloFLTK
2023-04-20Wayland: keep window resizable after native file chooserManoloFLTK
2023-04-20Inform Wayland compositor that most FLTK windows are opaqueManoloFLTK
2023-04-17Add const qualifiers to can_undo and can_redo (#720)ZJUGKC
2023-04-17Move constant expression out of loopManoloFLTK
2023-04-17Wayland: account for memorised keyboard surface before wl_surface_destroy()ManoloFLTK
2023-04-15Remove scheme specific initialization from Fl_Tree_PrefsAlbrecht Schlosser
This initialization would prevent changing the 'selectbox' type automatically when changing the FLTK scheme. It would also require to set the FLTK scheme *before* the constructor of Fl_Tree_Prefs (i.e. Fl_Tree) is executed which is unexpected and error prone for user code. It is up to the user program to set another boxtype after the constructor if needed.
2023-04-15Fix compiler warning [-Wunused-parameter]Albrecht Schlosser
2023-04-14Fix tiny memory leak in fluid (setting scheme)Albrecht Schlosser
Also initialize 'scheme_name' to make static code analyzer happy.
2023-04-14 Fix for "Wayland: heap-use-after-free after popup/pulldown" (#719)ManoloFLTK
2023-04-14Restore building with macOS SDK 10.9 and earlierManoloFLTK
2023-04-14Fixed leak in Fl_Text_Buffer #716Matthias Melcher
2023-04-14Memory leak in Input_ #716Matthias Melcher
2023-04-14macOS: remove calls to deprecated APIManoloFLTK
2023-04-14test/utf8: improve use of Fl::set_fonts(const char *) across platformsManoloFLTK
2023-04-14Remove duplication of Pango standard font namesManoloFLTK
And move each array of standard font names to appropriate font-related source file
2023-04-13Fix more compiler warnings (comma at end of enum)Albrecht Schlosser
These warnings are benign but ... I fixed them nevertheless.
2023-04-13Fix more missing quotes in fltk-config.in (#714)Albrecht Schlosser
Sorry for the noise.
2023-04-13Fix compiler warnings [-Wpedantic]Albrecht Schlosser
Remove extra semicolons after function definitions
2023-04-13Fix trailing comma in enums of public headersAlbrecht Schlosser
Compiler warning: comma at end of enumerator list [-Wpedantic] Note 1: I decided to fix these warnings although trailing commas in enums are allowed at least since C++11. Note 2: I fixed only public headers because these headers may be compiled in user code. To do: check internal headers.
2023-04-13Fix misplaced 'const' [-Wignored-qualifiers]Albrecht Schlosser
warning: type qualifiers ignored on function return type
2023-04-13Fix compiler warning if user code is compiled with '-Wextra' (2)Albrecht Schlosser
Replace '(void*)' cast with '(fl_intptr_t)' because older gcc (4.8.2) issues a warning with '(void*)'.
2023-04-13Lower Pango required version from 1.22 to 1.16ManoloFLTK
2023-04-13Standardize API to "graphics context" across platformsManoloFLTK
Rename fl_wl_cairo() to fl_wl_gc() Add function cairo_t* fl_cairo_gc() under OPTION_USE_CAIRO
2023-04-12Wayland: limit copied pixels when window update is a region - cont'dManoloFLTK
Simpler Fl_Wayland_Window_Driver::flush_overlay() is enough.
2023-04-12Wayland: limit copied pixels when window update is a region - cont'dManoloFLTK
Handle Fl_Overlay_Window objects
2023-04-11Document the new 'fltk-config' features (#647, #656)Albrecht Schlosser
fltk-config has been extended to allow more than one source file and additional compiler flags and link libraries. This commit adds documentation (no functional changes).
2023-04-11Add public accessor methods Fl_Widget::needs_keyboard()Albrecht Schlosser
- add public getter and setter for - document the new methods - document that these methods are not yet used internally - remove unnecessary friend declaration 'NEEDS_KEYBOARD' flag - simplify Fl::focus(Fl_Widget *) using the new methods.
2023-04-11Fix compiler warning if user code is compiled with '-Wextra'Albrecht Schlosser
This commit fixes two similar warnings: "cast between incompatible function types from ‘void (*)(Fl_Widget*)’ to ‘void (*)(Fl_Widget*, void*)’ [-Wcast-function-type]"
2023-04-10Fix fltk-config check for local invocation and libs (#717)Albrecht Schlosser
This updates the changes done for issues #647 and #656.
2023-04-10Fix CMake generation for minimal CMake version (3.2.3)Albrecht Schlosser
Unfortunately `execute_process(COMMAND pkg-config ...)` used for CMake versions lower than 3.4 appends a trailing newline ('\n') to the output variable which must be removed. Replace double slash '//' returned by pkg-config with a single '/' for consistency (applies to all CMake versions). Tested with CMake 3.2.3 but we should probably raise the minimal CMake version to a more recent version in the future.
2023-04-10Fix compiler warning [-Wsign-compare]Albrecht Schlosser
2023-04-10Fix missing quotes in fltk-config.in (#714)Albrecht Schlosser
2023-04-09Allow more input files and compiler flags in fltk-config (#647, #656)Albrecht Schlosser
Also refactor, reformat, and simplify code: - move all variable substitutions to the beginning of the file - simplify Cairo support and nesting of 'if' clauses - unify indenting: 4 spaces, no tabs
2023-04-08Add usage example of Fl_Window::cursor(const Fl_RGB_Image *, int, int)ManoloFLTK
2023-04-08Wayland.dox: add "Fractional scaling" paragraphManoloFLTK
2023-04-08 Fix "Giant cursor on Wayland + fractional scaling" (#713)ManoloFLTK