summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-03-13Fix Fl_Wayland_Window_Driver::set_cursor_4args()ManoloFLTK
2023-03-13Remove unused variableManoloFLTK
2023-03-13Wayland: add support for multiple high or low DPI displaysManoloFLTK
2023-03-10Fix c'tor of Fl_Wayland_Image_Surface_Driver for HighDPI displaysManoloFLTK
2023-03-10Improve member function Fl_Wayland_Gl_Window_Driver::make_current_before()ManoloFLTK
2023-03-09Fix dependencies, typos, trailing whitespace, and formattingAlbrecht Schlosser
No code changes.
2023-03-09Fix Visual Studio (MSVC) compiler warningsAlbrecht Schlosser
2023-03-09Fix gl_overlay under WaylandManoloFLTK
2023-03-09CMake: build shared libs with OPTION_CAIROEXT (issue #250)Albrecht Schlosser
- remove separate libfltk_cairo to avoid cyclic dependencies, but - keep a dummy libfltk_cairo in 1.4.0 for backwards compatibility - move cairo/Fl_Cairo.cxx to src/Fl_Cairo.cxx - add preliminary Cairo support for Visual Studio (MSVC) Static linking is not affected by this change, but users building with hand-made Makefiles will have to remove libfltk_cairo starting with FLTK 1.4.0. The dummy library can be linked for backwards compatibility but it will be removed later (in 1.4.x or 1.5.0). The shared FLTK library libfltk.{so|dylib|dll|..} depends on libcairo if and only if FLTK is built with one of the Cairo options. This has always been the case for OPTION_CAIROEXT but is now also true if only OPTION_CAIRO is selected, i.e. FLTK programs linked with a Cairo enabled shared FLTK library will also be linked with libcairo. The same is true for configure options --enable-cairo and --enable-cairoext, respectively. Preliminary Cairo support for MSVC now detects a Cairo installation using the CMake variable FLTK_CAIRO_DIR which must be set by the user. Note that this feature is temporary and may be changed in the future for a better and more comfortable version.
2023-03-09Fix Fl_Wayland_Screen_Driver::x() and friendsManoloFLTK
2023-03-08Remove useless repetition from array dead_keys[]ManoloFLTK
2023-03-08Fix: Shift-Tab not "reverse navigating" on some platforms (#696)ManoloFLTK
2023-03-06DnD of filenames: make Wayland behave as Windows and macOSManoloFLTK
and also add more detailed documentation of platform-specific behaviors.
2023-03-05Wayland: improve DnD of filenames to allow space-containing namesManoloFLTK
2023-03-04Simpler use of member variable wl_registry in class Fl_Wayland_Screen_DriverManoloFLTK
2023-03-03Remove unused variable declaration + fix in wayland.doxManoloFLTK
2023-03-03Reorder members of class Fl_Wayland_Screen_DriverManoloFLTK
2023-03-03Improve Fl_Wayland_Window_Driver::wld_scale()ManoloFLTK
2023-03-02Fix typos in Doxygen documentationManoloFLTK
2023-03-02Add Fl_Wayland_Window_Driver::wld_scale() member functionManoloFLTK
2023-03-01Improved Fl_String capacity incrementsMatthias Melcher
2023-02-27Fix malloc/delete mismatchMatthias Melcher
2023-02-25Add Fl_String to Fl_Preferences (#687)Matthias Melcher
2023-02-24Derive internal Fl_Help_View buffer from Fl_StringAlbrecht Schlosser
Refactor the internal class HV_Edit_Buffer by deriving it from the the recently extended Fl_String class. The class HV_Edit_Buffer still needs some "special" methods but the code could be simplified substantially.
2023-02-23Fl_String refactoring and extension (#683)Matthias Melcher
- add true unittest and Fl_String testing - interface and printout are similar to gtest without requiring external linkage. just run `unittest --core`. - new Fl_String API - extended API to fl_input_str and fl_password_str - co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2023-02-21Silence false positive gcc warning (#682)Albrecht Schlosser
... and fix a typo. This warning was reported for gcc 12.2 (MinGW-w64 / MSYS2) but may have appeared in earlier gcc versions (gcc 9.4 is not affected). It's very likely that this warning needs '-O2' or '-O3' to be issued.
2023-02-20Add GLUT_ELAPSED_TIME simulationMatthias Melcher
2023-02-20Remove 2 compilation warnings under Windows with mingw64ManoloFLTK
Compiling Fl_Native_File_Chooser_WIN32.cxx... fl_dnd_win32.cxx:436:11: warning: private field 'm_EnumF' is not used [-Wunused-private-field] FLEnum *m_EnumF; ^ 1 warning generated. Fl_Native_File_Chooser_WIN32.cxx:378:19: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] bool unixpath = IsUnixPath(_directory) | IsUnixPath(_preset_file); // caller uses unix paths? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || Fl_Native_File_Chooser_WIN32.cxx:378:19: note: cast one or both operands to int to silence this warning 1 warning generated.
2023-02-19Rename fd_callback() to wayland_socket_callback()ManoloFLTK
2023-02-17Remove special FL_CURSOR_NONE implementation in WaylandManoloFLTK
2023-02-17Wayland: improve and document support of FL_CURSOR_NONEManoloFLTK
2023-02-15Wayland: new struct wl_cursor *custom_cursor member variableManoloFLTK
2023-02-15Move class Fl_Shortcut_Button from FLUID to core (#677) (#680)Matthias Melcher
2023-02-15Wayland: allow Fl_Window::cursor(Fl_Cursor) for whole windowManoloFLTK
2023-02-15Wayland: add support of Fl_Window::default_cursor(Fl_Cursor)ManoloFLTK
2023-02-14Rename class Fl_Display_Cairo_Graphics_Driver to Fl_X11_Cairo_Graphics_DriverManoloFLTK
2023-02-14Use libdecor/src/os-compatibility.h to declare os_create_anonymous_file()ManoloFLTK
2023-02-14Update doc of Fl_Image::copy() after new Fl_Anim_GIF_Image classManoloFLTK
2023-02-13Remove unneeded list of wayland seatsManoloFLTK
2023-02-13Windows: minor change to support build with mingw64 4.9ManoloFLTK
This old compiler is available as a cross compiler from macOS to 64-bit Windows.
2023-02-13Allow scaled image in Fl_Window::cursor(const Fl_RGB_Image *, int, int)ManoloFLTK
2023-02-12Wayland: add necessary check to support OWLManoloFLTK
2023-02-11Very controlled GDIplus startup and shutdown #635 (#679)Matthias Melcher
Fall back to GDI if GDIplus is not available
2023-02-11Wayland: improve support for FL_CURSOR_{NONE, HELP}ManoloFLTK
2023-02-10Infinite undo: fix compiler warningMatthias Melcher
2023-02-10Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer (#558) (#676)Matthias Melcher
2023-02-10Don't for a box type for pulldowns (#675)Matthias Melcher
2023-02-10Remove dead code and comments (Windows only)Albrecht Schlosser
Most of the old code was a leftover of STR 3454 (which fixed winsock issues). Also removed an old comment about usage of Windows WSAAsyncSelect() and why it had been removed (related to Windows socket functions).
2023-02-10Fix typos in documentation and commentsAlbrecht Schlosser
(no code changes)
2023-02-09Expose elapsed time API (#670)Matthias Melcher