Use the current mouse position to estimate the
position where the mouse left the window. Not
perfect, but much better than repeating the last
move coordinates.
- format "Max Prime" output as integer number
- use a fixed font for better readability
- close all windows when the user closes one of them
- use standard background and text colors
- use Debian Trixie which has Doxygen 1.9.8 rather than 1.9.4
- install required packages to build with Wayland support
- log latest git commit
- keep artifacts for up to three weeks, i.e. three weekly builds
FL/Fl_Table_Row.H: use `std::vector<uint8_t> _rowselect;`,
remove declaration of class `CharVector`
src/Fl_Table_Row.cxx: remove implementation of class `CharVector`,
simplify loops (use range based for loops),
use resize() to change vector size.
Unify copyright year of Fl_Table* headers and implementation.
- using a Pointer to Implementation instead of having
a huge Fl_Help_View class. This improves build speed
(smaller header fiel) and allows us to fix the
implementation while keeping the ABI unchanged.
"extra tests" are defined in test/CMakeLists.txt for FLTK devs to allow
quickly building test programs with minimal edits. The new feature
can be used to set a higher C++ standard for these test programs.
See instructions in test/CMakeLists.txt.
Note: this is only intended to be used for quick tests and *must* not
be committed and pushed to the main repository for obvious reasons.
The original code can not scale well below 50%. To improve
filtering in a fast way, huge images are scaled by powers of
two before fine scaling using the original bilinear scale.
- Replace Fl_Browser with Fl_Terminal which uses a constant buffer size
- Don't lock the GUI for every single prime. Collect primes for at
least 0.25 seconds before calling Fl::awake(handler, buffer)
- Use (two) alternate buffers for collecting prime data.
- Use Fl::lock() *only* to protect thread data at initialization time.
Observation on Debian 12, CPU: 12-core, 12th Gen Intel Core i7-1260P:
speedup > factor 4, using multiple cores,
GUI fully functional: scrolling the display, resizing, ...
Tested natively (X11 + Wayland) and cross-compiled for Windows,
using `wine`.
- allocate a new struct 'load_stat' on the heap
- use struct load_stat to open image file (fp) and for error counters
The previous fix of #1207 unfortunately decremented volatile variables
which caused (plausible) compiler warnings by clang.