Commit Graph

10489 Commits (8b88f5eb737897f31a7419cc120c497fd9ee63db)
 

Author SHA1 Message Date
zwim 8b88f5eb73
[ConfirmBox, MultiConfirmBox ...] remove margin around (#12039) 3 months ago
zwim 43c9ce4a9b
[time] Fix typos in documentation 3 months ago
mergen3107 16fcc38a3a
Update bug_report.md with new location of verbose logging toggle (#12042)
Closes #11276
3 months ago
hius07 fb88e8db28
Annotation list: sort by date (#12020) 3 months ago
mergen3107 a03195d524
Footer: add book authors item (#11999)
Closes #7642
3 months ago
poire-z 251da45adf
bump crengine: update Russian and Serbian hyphenation (#12036)
Includes:
- Russian hyphenation: revert "allow hyphens after не" https://github.com/koreader/crengine/pull/568
- Serbian hyphenation: combine patterns for Cyrillic and Latin scripts https://github.com/koreader/crengine/pull/566
- writeNodeEx(): fix handling of multilines attribute values https://github.com/koreader/crengine/pull/569
  See https://github.com/koreader/koreader/issues/12004#issuecomment-2156748523.
- Add getBalancedHTML() helper

Also includes:
- kobo: add missing blitbuffer library https://github.com/koreader/koreader-base/pull/1823
3 months ago
weijiuqiao e19bed3371
VocabBuilder: fix and improve non-touch device experience (#12030)
Fix #12026.
3 months ago
David 9bff98034f
ReaderHighlight: minor bug fixes (#12033)
Fixes bug reported in https://github.com/koreader/koreader/pull/11916#issuecomment-2170605117 and an issue where back button would not close widget in file manager.
3 months ago
Benoit Pierre 088ae7d4ee lint: fix issues reported by newer shellcheck / shfmt 3 months ago
Benoit Pierre c6f5db0f9e ci: fix shellchecks helper
Quote argument to `git ls-files`: ensure the glob is evaluated by git, not bash.
3 months ago
Benoit Pierre 21fd34a445 ci: improve check script
- don't stop at the first error, report all issues
- always run luacheck directly: so a luacheck install for
  another LUA version or using a shell script launcher
  works (the docker image wrapper already uses luajit)
- don't disable colors in luacheck output
- leave the terminal attributes to default at exit
3 months ago
Benoit Pierre 0eb4c2b077 ci: drop dead code 3 months ago
Benoit Pierre b7fffc9fee ci: use base shellcheck helper 3 months ago
Benoit Pierre 56f2fd48cc bump base 3 months ago
hius07 ded709e3a1
InputContainer: consistent input type in onInput() (#12012) 3 months ago
NiLuJe 57c6fb6355 ScreenSaver: Consistently prefer the event message over the default
message

i.e., we do *NOT* want to see the default "Sleeping" message shown *in
conjunction* with the "reboot/poweroff" overlay messages.

Re: https://github.com/koreader/koreader/issues/12009#issuecomment-2167176139
3 months ago
NiLuJe 94e7c5ad9e Kobo: Don't touch the fb state on shutdown/reboot.
Apparently, the refresh can be slow enough to race with the state
switch, resulting in it being displayed at the wrong bitdepth.

Fix #12009
3 months ago
Frans de Jonge d77e7b47a9
Fix Norwegian Bokmål-English Wiktionary download link (#11992)
Fixes #11970.

Apparently UTF-8 doesn't work unless it's URL-encoded.
3 months ago
Benoit Pierre 6e81162231
doc: update building documentation (#11961)
Together with koreader/koreader-base#1810, close #10116.

Supersede #10115.
3 months ago
jonnyl2 6400c3a546
Styletweaks menu: Ignore ._ files (#12022)
Ignore files starting with "._" (metafiles by MacOS), that will otherwise show up in the Styletweaks menu. (These files are alrady ignored in the File manager, even when 'show hidden files' is enabled.)
3 months ago
Benoit Pierre e3237ef8eb
bump base (#12024)
- https://github.com/koreader/koreader-base/pull/1818
- https://github.com/koreader/koreader-base/pull/1819
- https://github.com/koreader/koreader-base/pull/1821

Close #11959 & #12017.
3 months ago
ziz57 e4232078ab
Readerlink: allow registering empty scheme (#12019)
This allows plugins to handle relative and otherwise schemeless URLs.

Also: clear registered schemes on each init(), to parallel the situation
with external link buttons, and add documentation.
3 months ago
Frans de Jonge 9724dcdf4b IsoLanguage: add Tesseract language names 3 months ago
Frans de Jonge 7da60815d1 Translate Tesseract language names
Fixes #11975.
3 months ago
Benoit Pierre 41f4b1f2ac ci/macos: trim build dependencies
We actually don't need luarocks anymore for building (just testing).
3 months ago
Benoit Pierre 1568303b93 macos: sign (ad hoc) application bundle
Necessary for the arm64 variant, or macOS will complain about the
application being "damaged" (instead of the developer being not
verified), with no possible right click / ctrl+click workaround.
3 months ago
Benoit Pierre 951d9eb9c7 macos: strip application bundle tar binary
Only keep the target architecture.
3 months ago
Benoit Pierre 5dfdbd06eb ci/macos: silence brew warnings 3 months ago
Benoit Pierre 1105f83557 ci/macos: add arm64 job 3 months ago
Benoit Pierre e757f2bf18 macos: add architecture name to update bundle 3 months ago
Marek Veselý ab2f545075
Add kindlehf target (#11986)
for kindles after fw 5.16.3

* Add kindlehf mk file
* Update kodev to support kindlehf
* Update OTAManager logic to support kindlehf
3 months ago
hius07 e1f2acf68f
Screensaver: fix menu wordings (#11993) 3 months ago
mergen3107 0a021d5e5e
Statistics Plugin: Skip adding never opened marked as finished books (#11991)
Closes #11201
Thank you very much @hius07 !
3 months ago
hius07 786a7e1a4e
Collections: refresh list of files in FileManager (#11994) 3 months ago
zwim 09822ba552
[AltStatusBar] Fix when showing (almost) empty (#12003)
With enabled battery percentage shown and some other (e.g. reading percentage) the alt status bar shows the expected line. But when disabling everything except battery percentage, then the reading percentage keeps being shown.

So when using this `self:page_info_override` caching trick, we have to restore the cre default again.
3 months ago
mergen3107 9984f3cb7b
Fix WebDAV cloud error (#12000)
Fixes #11985
3 months ago
NiLuJe 206de629d8 Bump base
https://github.com/koreader/koreader-base/pull/1815
https://github.com/koreader/koreader-base/pull/1817
https://github.com/koreader/koreader-base/pull/1816
3 months ago
NiLuJe 0a5dcf885d Calibre Metadata: Flag array & objects as such in the "safe" parser 3 months ago
NiLuJe 8d80acf720 Calibre Metadata: Make sure self.books is always flagged as a JSON array
Ditto for self.driveinfo
3 months ago
NiLuJe 1ca443195b Calibre Metadata: Don't lose rapidjson object/array tagging in slim 3 months ago
zwim c8f4008e9b
AltStatusBar: fix battery percentage not shown (#11976) 3 months ago
David 81d2db150f
ReaderThumbnail: change base class to support key events (#11987)
fixing bug reported here https://github.com/koreader/koreader/pull/11916#issuecomment-2151903891
4 months ago
hius07 585afda4be
File searcher: group operations (#11980) 4 months ago
Martín Fernández 79c13bee0c
Calibre: Metadata parser improvements (#11922)
* Added a safe pure-Lua SAX JSON parser (via LunaJSON).
* Updated RapidJSON.
* Also implemented a calibre-specific SAX parser in Lua-RapidJSON, and use it by default instead of the full RapidJSON one.
* Raised the file-size threshold to switch between the fast & safe parsers to 50MB.
* Added an UI option to switch between the three parsers.
4 months ago
David 04eec52eee
BookMap on devices with useDPadAsActionKeys (#11916)
as first discussed here #11908. This PR brings the book map to non-touch devices that useDPadAsActionKeys().

Book map can be accessed from the menu or by using the following shortcut: ScreenKB + Down or Shift + Down depending on whether you use a K4 device or a kindle with keyboard respectively.

Inside the book map, a user can toggle the hamburger menu by pressing the Menu key and make any adjustment from there. ScreenKB (or Shift) + Up/Down allows it to scroll and Page turn buttons to move by whole full page turns. Back key allows user to exit the map.
4 months ago
David 21213f35af
Minor wording corrections (#11981)
see #11978
4 months ago
Frans de Jonge e2682e2d98
[plugin] AutoDim: reset counter on page turn (#11984)
Even if not from input.

Closes #11979.
4 months ago
David f330593233
Fixing button invert on start (#11982)
fixing issue described here https://github.com/koreader/koreader/pull/11963#issuecomment-2147876605
4 months ago
David 7a84cfef4a
Individually invert left or right side page turn buttons on Kindle (#11963)
K4 is ergonomically designed to be held with one hand (one's hand wrapped around the back and both thumb and middle finger on either PgFwd buttons).

This PR allows users to individually invert left and right page turners such that it can be operated just with one hand. It also closes #9350

Not sure if there are any other devices with two sets of page turn buttons, so currently limited to kindle, excluding kindle Voyage, but could be added too, albeit with some gymnastics.
4 months ago
David 2d07a82ea2
Add menu key event to Menu widget (#11966)
As seen here https://github.com/koreader/koreader/pull/11918#issuecomment-2137290809
4 months ago