summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-03-18Fix a Visual Studio compiler warningAlbrecht Schlosser
2024-03-18Fl_Native_File_Chooser_GTK: improve preview of text files on HiDPIManoloFLTK
2024-03-18Restore building on old Linux/Unix systems lacking Xutf8LookupString()ManoloFLTK
2024-03-18 Fix "FLTK on NetBSD very slow on X11 with Unicode locale" (#935)ManoloFLTK
2024-03-16Fix memory leak in Fl_X11_Screen_Driver.cxx (#934)Albrecht Schlosser
Fl_X11_Screen_Driver::set_spot() did not free the list of missing fonts returned by XCreateFontSet(). This commit also initializes some variables and reformats code, but the only notable change is to call XFreeStringList(missing_list) if missing_list is not NULL.
2024-03-16Create enum Fl_Wayland_Screen_Driver::cursor_shapesManoloFLTK
2024-03-15Fix a bunch of compiler warnings, particularly for old compilersAlbrecht Schlosser
Works now much better with old C99 and C++98 standard compilers. Fixed: C++ comments in C files and headers included by C files. There are still some warnings with C90 though but these would be hard to fix and left as-is for now. test/fractals.cxx: some arrays were too small by 1, or the compiler warned at least (false positive?). Anyway, it's fixed now.
2024-03-15STR 3489: fix alpha blending for X11Matthias Melcher
2024-03-15Have FLTK use libdecor at version > 0.2.2ManoloFLTK
- it's no longer necessary to take care of the change in the layout of "struct libdecor" between versions ≤ 0.2.2 and > 0.2.2 of libdecor - version > 0.2.2 contains MR131, that is, it defines LIBDECOR_WINDOW_STATE_RESIZING so the hack to emulate it is no longer necessary - CMake option FLTK_USE_SYSTEM_LIBDECOR now requires libdecor version > 0.2.2 to be activated, otherwise the bundled libdecor is used - what will be the libdecor version after 0.2.2 (0.2.3? 0.3.0?) is not known as of today
2024-03-13Improve Fl_Wayland_Screen_Driver::base_scale(int)ManoloFLTK
2024-03-13Update libdecor to upstream commit 4f2c03d5 - cont'dManoloFLTK
2024-03-13Remove useless X11 libraries when building with -DFLTK_BACKEND_X11=0ManoloFLTK
2024-03-12Fix several compiler warningsAlbrecht Schlosser
Three unrelated but only minor warnings.
2024-03-12Fix trimming of trailing whitespace in Fl_Terminal::text()Albrecht Schlosser
... and document a missing parameter.
2024-03-12Fix use of FLTK_SCALING_FACTOR under macOSManoloFLTK
2024-03-12 using xlib to query the new DPI (old #910) (PR #913)ManoloFLTK
Thanks to Mike Qin for finding how to query the possibly changed DPI value of an X11 display while an FLTK app keeps running without running an external command in a pipe.
2024-03-11Add Fl_Terminal to "Scrollbar Size" unittest (#931)Greg Ercolano
This involved enlarging the unittest main window to make room for the additional test. Adding this test revealed a problem in Fl_Terminal's global scrollbar size handling, which is fixed here as well. Also fixed a small issue in the demo's debugging terminal with the horiz scrollbar.
2024-03-11Refit display rows/cols preset, remove test codeGreg Ercolano
2024-03-11Fix Fl_Terminal horiz scrollbar appearing needlessly (#930)Greg Ercolano
2024-03-11 macOS: Fullscreen window loses sys menu bar if 2nd window is opened (#924)ManoloFLTK
2024-03-11Fix: Filechooser preview of XML file shows it as a corrupt image (#926)ManoloFLTK
2024-03-06Small scrollbar fixesGreg Ercolano
2024-03-06Add horizontal scrollbar to Terminal widget (#928)Albrecht Schlosser
* Checkpoint. Basic functionality seems to be working. * Code cleanup * Added horizontal scrollbar to Terminal widget * Fix hscrollbar_size operation * Applied erco-terminal-mods_v5_final.patch.txt Final patch relating to PR 918 * Remove trailing whitespace, update copyright year --------- Co-authored-by: Jonathan Griffitts <jonathan.griffitts@gmail.com> Co-authored-by: Greg Ercolano <erco@seriss.com> Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2024-03-05 Filechooser preview of XML file shows it as a corrupt image - cont'd (#926)ManoloFLTK
2024-03-04 Fix: Filechooser preview of XML file shows it as a corrupt image (#926)ManoloFLTK
2024-03-04Fullscreen window loses sys menu bar if 2nd window is opened (#924)ManoloFLTK
2024-03-04Fix Scaling window up/down also scales X/Y position on secondary displays ↵ManoloFLTK
only (#925)
2024-03-04Implement Fl_Wayland_Screen_Driver::base_scale(int numscreen)ManoloFLTK
2024-03-04X11: improve moving window back & forth across screens (#919)ManoloFLTK
2024-03-03Use Fl_Window_Driver::is_resizable() to check whether window can be resizedManoloFLTK
2024-03-03 X11: Window scaling makes window lose resizable status if resizable_ is ↵ManoloFLTK
NULL (#923)
2024-03-03A window needs is_resizable() true to obey fullscreen() or maximize()ManoloFLTK
2024-03-03Fix Visual Studio compiler warningsAlbrecht Schlosser
2024-03-02Added Fl_Terminal::text() and docsGreg Ercolano
2024-03-02Promote fl_strlcpy to <FL/fl_string_functions.h>Matthias Melcher
2024-03-02Fix regression introduced at 41740ca for non resizable windows - cont'dManoloFLTK
2024-03-02Add OPTION_SIMPLE_ZOOM_SHORTCUT to fine tune zoom-in shortcutManoloFLTK
2024-03-02macOS: remove test that became useless after 5f20698ManoloFLTK
2024-03-01Windows: fix moving window with Windows+Shift+arrow (#919)ManoloFLTK
2024-03-01Windows: improve changing scale values of display while app runs.ManoloFLTK
2024-03-01Windows: fix issue if moving window back & forth across screens (#919)ManoloFLTK
2024-03-01Windows: make Ctrl/+/-/0/ scaling system-wide if all screens have same DPIManoloFLTK
2024-02-29Move recognition of Ctrl= out of Fl::test_shortcut(unsigned)ManoloFLTK
2024-02-28Fix a typo and the URL to an STR in a commentAlbrecht Schlosser
no code changes
2024-02-28Simplify code to recognize GUI rescaling shortcutsManoloFLTK
2024-02-27Fix regression introduced at 41740ca for non resizable windowsManoloFLTK
2024-02-27Improve prioritization of event handlers added at open display timeManoloFLTK
2024-02-27Minor optimization of macOS automatic Window menuManoloFLTK
2024-02-27macOS: Window menu of system menubar follows changes in active windowManoloFLTK
2024-02-27Stop GUI scaling when window is maximized or full screen (#919)ManoloFLTK
Don't rescale when any top window on same screen as focus window is fullscreen or maximized