summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-08Finish Release Candidate 1.4.0 rc3 (release-1.4.0rc3)Albrecht Schlosser
2024-11-08Fix: X11: test/gl_overlay stale overlay rendering (#1111)ManoloFLTK
2024-11-08Fix macOS Very minor high DPI rounding issue with fl_rect (#1113)ManoloFLTK
2024-11-08Fix: fl_draw_image() with horizontal flip reads out of bounds (#1112)ManoloFLTK
2024-11-08Slightly improve member function Fl_Wayland_Graphics_Driver::copy_offscreen()ManoloFLTK
2024-11-08Fix X11: test/checkers drawing artifacts when window is scaled (#1109)ManoloFLTK
2024-11-07Fix X11: test/curve "points" mode not drawn correctly (#1110)ManoloFLTK
2024-11-05MacOS: Fix build folder for detection of SDK version (#1103)Albrecht Schlosser
Sorry for the noise...
2024-11-05MacOS: Improve detection of SDK version (#1103)Albrecht Schlosser
CMake/macOSMaxAllowed.c: avoid C compiler warning in test code CMake/setup.cmake, technical changes: - optimization: test SDK 15.0.0 first to avoid unnecessary test if true - use a function instead of a macro - use different names for (cached) result variables - use prefix FLTK_ for cache variables Note: the cache variables are marked 'internal': you may need to grep CMakeCache.txt to view them.
2024-11-04MacOS version check using try_compile: #1103Matthias Melcher
This change will work as well when cross-compiling.
2024-11-04Using try_run to get __MAC_OS_X_VERSION_MAX_ALLOWED (#1105)Matthias Melcher
2024-11-04Correctly add weak-linked frameworks for increasingly high macOS versionsManoloFLTK
2024-11-04Fix Mac: Fl_Window::fullscreen() doesn't work for unfocused tabbed window ↵ManoloFLTK
(#1101)
2024-11-04Undo 6f6a375 that does not properly support macOS SDK 15.x (#1103)ManoloFLTK
2024-11-03Update ANNOUNCEMENT and CHANGES.txt for 1.4.0rc3Albrecht Schlosser
2024-11-03Fixes Fl_Tile resizing for "sudden" size changes: #1102Matthias Melcher
Enlarging and reducing wdth and height needed to be treated seprately when the bottom right corner of the resizable would overshoot the final size of the tile.
2024-11-03Recent macOS SDKs badly define MAC_OS_X_VERSION_MAX_ALLOWEDManoloFLTK
and the correct information is in __MAC_OS_X_VERSION_MAX_ALLOWED
2024-11-03Recent Xcode versions badly define MAC_OS_X_VERSION_MAX_ALLOWEDManoloFLTK
and the correct information is in __MAC_OS_X_VERSION_MAX_ALLOWED
2024-11-02Fix confusing alignmentAlbrecht Schlosser
note: no "real" code changes
2024-11-02Fix Mac: "Merge All Windows" fails if focused window is borderless (#1100)ManoloFLTK
2024-11-01New member function ↵ManoloFLTK
Fl_Cocoa_Window_Driver::capture_decorated_window_10_6(NSWindow*) This function hides the code to capture an image of a window that varies a lot with macOS versions
2024-11-01Improve and clarify documentationAlbrecht Schlosser
2024-11-01Fix memory leaks in examples/shapedwindow.cxxAlbrecht Schlosser
Note: usually we don't (need to) care for pseudo "leaks" at the end of the program, we could just return, but this is a test and demo program.
2024-11-01Fix compiler warning [-Wsign-compare]Albrecht Schlosser
Note: it is *unusual* (not FLTK style) that Fl_Window::border() returns 'unsigned int' instead of 'int'. This should be investigated in FLTK 1.5 but maybe we can't change it: it's been so already in FLTK 1.3 and maybe earlier.
2024-11-01Wayland: Fix issue in maximization of a borderless window (#1099)ManoloFLTK
Also fixes scenarios mixing fullscreen and maximization: - maximize - set fullscreen - unset fullscreen - un-maximize with and without window border.
2024-10-31Windows: fix compiler warning [-Wstrict-aliasing]Albrecht Schlosser
In function ‘void innards(...)’: src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx:132:23: dereferencing type-punned pointer will break strict-aliasing rules BITMAPINFO &bmi = *((BITMAPINFO*)bmibuffer); ~^~~~~~~~~~~~~~~~~~~~~~~ Found with gcc 12 (MinGW cross compiler) Also: use correct sizes (sizeof) rather than hardcoded values.
2024-10-31macOS: prevent changing window border while window is maximizedManoloFLTK
2024-10-31macOS: prevent changing window border while window is fullscreenManoloFLTK
2024-10-31Fix "Mac: Mixing native fullscreen button with Fl_Window::fullscreen() has ↵ManoloFLTK
side effects" (#1098)
2024-10-31Restore Fl_Widget_Surface::draw_decorated_window() under XQuartzManoloFLTK
2024-10-30Fix Windows: fullscreen doesn't always pick the correct display (#1097)ManoloFLTK
2024-10-30Make Fl_Window::flush() public for consistency with subclassesAlbrecht Schlosser
... as discussed on fltk.general recently Note: this method was already public in all subclasses of Fl_Window.
2024-10-30Improve layout of fltk-optionsAlbrecht Schlosser
- slightly enlarge some field and object sizes - fix window size_range()
2024-10-29Improve README.CMake.txtAlbrecht Schlosser
- fix typos, clarify text - improve headlines - add "generic" CMake instructions - add version spec to find_package command
2024-10-27Update CHANGES.txt for 1.4.0 Release Candidate 2Albrecht Schlosser
2024-10-27Quick fix for Windows Ctrl character handling - cont'dManoloFLTK
2024-10-26Windows: fix for using AltGr key after kludge for Ctrl+ (#1093)ManoloFLTK
2024-10-25Add range check to Fl_Group::child(int)Albrecht Schlosser
Returns NULL if n is out of range to prevent accessing undefined memory.
2024-10-24Improve docs about subclassingAlbrecht Schlosser
- fix syntax errors in example code, e.g.: children_ is private - use FLTK coding style - improve alignment
2024-10-24Fluid: replace 'FL_WINDOW+1' with 'FL_DOUBLE_WINDOW'Albrecht Schlosser
Note: 'FL_DOUBLE_WINDOW' *is* currently defined as 'FL_WINDOW+1'. This commit doesn't change real code but prevents potential bugs in the future if one of these constants would be changed.
2024-10-24Mention HighDPI support in 'ANNOUNCEMENT'Albrecht Schlosser
2024-10-22FLUID: Adds missing code for Grid and Flex live: #1092Matthias Melcher
2024-10-22FLUID: quick fix for live preview of Grid: #1092Matthias Melcher
- Grid Type live preview support was not implemented - this is not a final fix, but just to avoid a crash - additional work needed for Flex and Grid
2024-10-20Small typo fixes for releaseAlbrecht Schlosser
2024-10-20Fluid: update function_panel.fl from function_panel.cxxAlbrecht Schlosser
Note: in commit a7328d940bea760c0773d2889809217c82fa7081 "FLUID: Imporving method name `can_have_children()`" the file function_panel.cxx was edited w/o the corresponding fluid (.fl) file. This commit fixes this, assuming the .cxx file was correct.
2024-10-20Update ANNOUNCEMENT and CHANGES files for release 1.4.0Albrecht Schlosser
2024-10-20Make remaining 'XPM' images 'const'Albrecht Schlosser
2024-10-19Remove FL_MENU_RESERVED bit mask in favor of better documentationAlbrecht Schlosser
This bit mask was added in commit 53b40f4138e70e44 in an attempt to *document* reserved bits but it turned out that this mask could have negative side effects on some newer compilers by propagating the enum to an 'unsigned int' and issuing compiler warnings. See this comment and follow-up's in fltk.general: https://groups.google.com/g/fltkgeneral/c/7xrDkbkxiyw/m/rzEIJ7XhAgAJ
2024-10-19Fixes Fl_Text_Display line number calculation. (#1088)Matthias Melcher
2024-10-19Windows: process the +-containing key used with Ctrl in cross-platform wayManoloFLTK