Reseting the default font each time we refresh metadata
(ie. when refreshing a cover in History) could cause
the rendering hash of the currently opened document
to be messed up, with strange effects.
Hoping setting one in engineInit() is enough to avoid
the crashes the removed comment talks about.
This allows to set days to zero. As a security fall back setting days and hours both to zero will yield 5m autosuspend time. (to avoid shutdown loops).
fixes#12831
This adds a new setting in "Translation settings" called "Show romanizations" which tells the translation popup to include in the query the parameter dt=rm and then extracts romanizations from the results to display.
Instead of running the testsuite twice when coverage is need,
only run it once (without filtering out `nocov` tests): with
`cluacov` installed, it's only 50% slower than a normal run.
Factorize and use a proper separate test for each benchmark.
Note: only open the 9 fist pages (reduce memory so benchmarks
can be run on more limited memory devices, like the Kindle).
- %B was added to frontend/ui/screensaver.lua to reference the battery symbol
generated by powerd
- The default English screensaver help message was updated informing users
of the addition
Instead of splitting remove / exclusion of unwanted files in 2-3 places
(`all` rule, `update` rule, and update script in some cases), install
the same files in debug & release builds, and exclude unwanted stuff
when generating the update.
This should finally fix the CI issue with OCR tests (since we don't
remove the `data/dict` & `data/tessdata` directories on release build
anymore).
```
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /opt/homebrew
Could not symlink bin/pkg-config
Target /opt/homebrew/bin/pkg-config
is a symlink belonging to pkg-config@0.29.2. You can unlink it:
brew unlink pkg-config@0.29.2
To force the link and overwrite all conflicting files:
brew link --overwrite pkgconf
To list all files that would be deleted:
brew link --overwrite pkgconf --dry-run
Possible conflicting files are:
/opt/homebrew/bin/pkg-config -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/bin/pkg-config
/opt/homebrew/share/aclocal/pkg.m4 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/aclocal/pkg.m4
/opt/homebrew/share/man/man1/pkg-config.1 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/man/man1/pkg-config.1
```
This only happen with AMD64 runners, and when using the latest runner images
(e.g. when the luck of the draw yields 14.7.1 23H222 and not 14.7 23H124).