Commit Graph

10342 Commits (f0a3bcf05bd532b755b9d7f0c028d2dd813c3560)
 

Author SHA1 Message Date
Philip Chan f0a3bcf05b
NT: add Hot swapping dictionaries button and edit button into FocusManager's layout (#11803)
fix #11783
1 month ago
Benoit Pierre 7ba42579eb bump base 1 month ago
Benoit Pierre 8c0362f9ed make: ignore thirdparty directory when installing 1 month ago
Benoit Pierre 5a146414db make: symlink fonts / plugins on install 1 month ago
Benoit Pierre 49e3251e7b make: support changing the build / install directory location 1 month ago
Benoit Pierre f749fc2fd9 make: move target specific rules to dedicated files 1 month ago
Benoit Pierre 417d56b440 make: small improvement
Avoid duplicate `make -C base` call when building from scratch, as well
as support avoiding the remaining call (using `make --assume-old=base`).
1 month ago
Benoit Pierre a4526633dd make: reduce the number of `$(shell …)` calls
Through use of `$(INSTALL_DIR)`.
1 month ago
Benoit Pierre 5efba26d80 make: ensure `base/Makefile.defs` can be included
Automatically run `fetchthirdparty`.
1 month ago
Benoit Pierre 3f8f87d294 make: minor cleanup 1 month ago
Benoit Pierre a4400b3ccb tools/mk7z: support debian unstable / ubuntu 22.04
The version of `7z` provided by `p7zip-full` is now the same as `7zip`:

- symlinks are dereferenced by default (no support for `-l`)
- `7z -ba h` appends a trailing `/` to directories
  (not present in the output of `7z -slt l`)
1 month ago
Benoit Pierre 2d4b12c99c tools/mk7z: tweak manifest handling code
To support mawk (default awk on debian unstable).
1 month ago
Benoit Pierre e921ed1bc7 tools/mk7z: fix subtle bug in manifest handling
A string like `1E2` is interpreted as `100` (`1×10²`):

```bash
▹ echo 0E036904 | awk '{ if ($1) print $1 }'
▹ echo 0E036904 | awk '{ if ($1!="") print $1 }'
0E036904
```
1 month ago
SomeGuy baab326332
[ReaderHighlight] Remove duplicated setting on NT devices (#11750)
Closes #11747.
2 months ago
Joshua Bullock 1398154546
Gesture: Add toggle for orientation lock (#11795) 2 months ago
Predrag Đokić eb6e5e3c20
Kindle: Fix missing Amazon UI screensaver after exiting KOreader (#11794) 2 months ago
hius07 12c3c190b0
Annotations: fixes 2 (#11788)
* readerbookmark: fix index for reverse sorting

* readerhighlight: fix pdf tap on highlight detection
2 months ago
Benoit Pierre 075edf9980 tests/readerhighlight: speedup
Reduce time to run those tests by 74% on my machine (~8.8s → ~2.3s).
2 months ago
Benoit Pierre 554e8daf99 tests/readerhighlight: avoid changing versioned files
Work on a copy of `test/sample.pdf`.
2 months ago
Benoit Pierre 089c19cb39 tests/readerbookmark: avoid changing versioned files
Work on a copy of `test/sample.pdf`.
2 months ago
Benoit Pierre 3e809b6c7b tests/readerlink: speedup
Reduce time to run those tests by 95% on my machine (~17s → 0.8s).
2 months ago
Benoit Pierre fdf19e98c3 tests/readerlink: factorize setup/teardown code 2 months ago
Benoit Pierre d0ca04c48d tests/readerlink: reorganize
Group tests by file type (EPUB or PDF).
2 months ago
Benoit Pierre b67c6147d5 tests: ensure successive testsuite runs work
Don't carry over some old settings. Additionally, avoid clobbering the standard reader settings.
2 months ago
peicuiping a7e34673e6
chore: remove repetitive words (#11785) 2 months ago
Valentin Dubois 526a1fb727
Initial support for new Kobo (Clara B/W + Colour, Libra Colour) (#11737)
* Support the Clara B&W, Clara Colour & Libra Colour
* Enable HW dithering on *all* the Kobo MTK devices
* Enforce 32bpp instead of 8bpp for Kobo devices with a color panel (the driver doesn't actually support 8bpp anyway)
* Enable standby support on MTK (whenever possible, i.e., not when plugged in, as that is horribly, horribly broken).
* Enforce the dedicated "color" waveform mode for image content in ScreenSaver, ImageViewer & Reader.
* Fix charging LED support on MTK
* Tweak the frontlight ramp on MTK + LM3630 so that it actually ramps smoothly
2 months ago
Benoit Pierre 821120828b
tests: fix EPUB test (#11776)
The `droid sans fallback` test incorrectly assumes `Droid Sans Mono`
will be the first font in the list of fallback fonts, but the list
is alphabetically sorted.

Cf. https://github.com/koreader/koreader/pull/10566
2 months ago
sdasda7777 8530282d38
Add Czech keyboard layout (#11769)
Fixes #11339.
2 months ago
hius07 725df17c45
Annotations: fixes (#11761) 2 months ago
hius07 c47d3b3177
Menu widget: cleanup (#11759) 2 months ago
zwim bf58723af1
[CoverImage] Honor rotation after opening of a book (#11752)
If rotation changes, create a new cache entry and use that if necessary.

Fixes #11713.
2 months ago
SomeGuy e51b71f463
[Gestures.plugin] Clarify some rotation gesture strings (#11753) 2 months ago
poire-z 001e90db1e ReaderSearch: delay adding to location stack until we change page
Search may highlight matches on the current page, and if there
are no others in the book, we would stay there and resume reading;
but we would get a spurious previous location (ie. in Book map)
that we would not expect keeping, and we may accidently go back
to previous location, losing our reading position.
Avoid this by only adding current page to location stack when
actually leaving the current page.
Because of complications with other reading modes, this is
currently only enabled for CRE document when in page mode.
2 months ago
poire-z 03d16270d9 Statistics: handle correctly page change when reading paused
As currently we only handle ReadingPaused/Resumed on suspend
and resume, no page change should happen while paused, so
there is no current issue to fix. But let's get ready for
other use cases (which may be brought in by user patches,
ie. pausing while the SkimWidget is displayed, and obviously
triggers page changes).
2 months ago
poire-z 7d94562602 ReaderToc: fix issues when on a page before first Toc Item
When on a page before the first ToC item (the first chapter),
that first chapter title may be shown in the footer instead
of a more correct blank title.
This bug might still have had other small effect elsewhere.
2 months ago
poire-z ca90b982b4 ReaderStyleTweak: reword CSS suggestions info text 2 months ago
poire-z 1c9a6509a2 HttpInspector: allow browsing global variables 2 months ago
Benoit Pierre 89b1280166
bump base (#11748)
- https://github.com/koreader/koreader-base/pull/1773
- https://github.com/koreader/koreader-base/pull/1775
- https://github.com/koreader/koreader-base/pull/1776
- https://github.com/koreader/koreader-base/pull/1777
- https://github.com/koreader/koreader-base/pull/1778
2 months ago
hius07 d82815952e
Annotations, part 1 (#11563)
New format to handle annotations (page bookmarks, highlights, notes) and store them in the book metadata files.
2 months ago
hius07 6b0d97bf22
Multiple collections (#11693) 2 months ago
Benoit Pierre 087ddd1510 ci: small macOS cleanups
Reduce differences with the configuration used on koreader-base.
2 months ago
Benoit Pierre 7392dd2ad4 ci: tweak macOS CI checkout phase
Use the same parameters as for the koreader-base job (faster).
2 months ago
Benoit Pierre 54ded2c578 ci: fix macOS build
Work around the fact that the lua@5.1 brew formula has been disabled.

Additionally, drop ragel (no necessary anymore).
2 months ago
Benoit Pierre ad6e3b34c4 bump luajit-launcher 2 months ago
Benoit Pierre 64213bf3d9 bump base 2 months ago
Benoit Pierre 6d5ad05e9f ci: bump docker images 2 months ago
hius07 8ff846ba6e
SortWidget: sort alphabetically (#11705) 2 months ago
Benoit Pierre e8544316a8
pocketbook: simplify device model detection (#11721)
To avoid avoid having to manually handle the multiple
ways a model name reported by inkview can be formatted.
2 months ago
vyaus f793c6a36c
Gesture: add jump to random page (#11727) 2 months ago
Frans de Jonge 34abb4e22b
Update translations for v2024.04 (#11726) 2 months ago