Commit Graph

6087 Commits

Author SHA1 Message Date
Marek Veselý 038df71ca5 [device] Add the new Kindle line-up (#12990)
* add Kindle ColorSoft
* add Kindle PW6 and KT6
2025-01-03 17:29:47 +01:00
Frans de Jonge 65e4124e5d socketutil: use Device.model directly (#12992)
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
Device:info() is multiline on Android, see https://github.com/koreader/koreader/pull/12977#issuecomment-2568355984
2025-01-02 23:06:55 +01:00
Frans de Jonge 2b5915177d socketutil: remove URL from user agent, add device info (#12977)
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
See #10186, <https://github.com/koreader/koreader/issues/12953#issuecomment-2565973079>

Results in:

```
KOReader/2024.11-112 (Emulator; Linux; x64) LuaSocket/3.1.0
```
2025-01-01 14:16:04 +01:00
weijiuqiao b045df3ff3 Vocabbuiler.koplugin: fix PDF context extraction with hyphenation (#12975)
As pointed out at https://github.com/koreader/koreader/issues/12916#issuecomment-2564755827.
2025-01-01 11:28:11 +01:00
hius07 04c0ee5f04 readerannotation: datetime_updated (#12963)
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Waiting to run
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Waiting to run
2024-12-31 08:54:29 +02:00
hius07 b1940eb4d6 End of document menu: minor fix (#12962) 2024-12-31 08:54:05 +02:00
poire-z be5cab65d2 Wikipedia EPUBs: fix missing symbols at start of headings (#12961)
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (10.15, 13, x86-64, 15.2) (push) Has been cancelled
macos / macOS ${{ matrix.image }} ${{ matrix.platform }} 🔨${{ matrix.xcode_version }} 🎯${{ matrix.deployment_target }} (11.0, 14, ARM64, 15.4) (push) Has been cancelled
Wikipedia has changed their HTML output from:
  <h2> <span class="mw-headline" id="stuff">Stuff</span></h2>
to:
  <h2 id="stuff">Stuff</h2>
2024-12-29 23:04:57 +01:00
hius07 6e84503b3d Add support for KindlePaperwhite5 Signature Edition light sensor (#12946) 2024-12-28 19:42:44 +01:00
hius07 7151f3cd07 pathchooser: title bar fm_style (#12942) 2024-12-27 08:28:06 +02:00
hius07 e6b45e7ff7 ReaderSearch results: search string always in bold (#12940) 2024-12-27 08:27:13 +02:00
hius07 0114954fc1 CoverBrowser BookInfoManager: lite getDocProps() (#12936) 2024-12-27 08:16:47 +02:00
weijiuqiao 2298ef76f0 vocabbuilder.koplugin: fix selecting context bug (#12938)
Missed one line in #12917.

Fixes #12916
2024-12-25 09:28:00 +01:00
hius07 15f5dbef83 Reader: inspect zip file content to choose provider (#12902) 2024-12-19 09:41:19 +02:00
Martín Fernández e503cc4b9c add provider module (#12641)
* implements a Provider singleton, to be used by thirdparty plugins
* exporter: support for thirdparty providers
* splits plugin loading into two steps: discovery and load
  1. get a list of all candidate plugins to load for the different paths
  2. sort providers before on the rest of them and try to load them
2024-12-18 19:40:22 +01:00
weijiuqiao 9df814593d VocabBuilder.koplugin: support PDF context extraction for multi-word phrase (#12917)
Closes #12916. Closes #12475.
2024-12-18 14:13:37 +01:00
hius07 f025cce059 Collections: add books from a folder (#12892) 2024-12-15 18:22:05 +02:00
hius07 72086b7a26 CoverBrowser: minor fix and remove unused (#12895)
Remove unused UIManager:clearRenderStack().
Previously it was used by CoverBrowser plugin when extending the FileManager popup file dialog with aditional buttons.
Now the buttons are inserted through the api added in https://github.com/koreader/koreader/pull/12845.
2024-12-15 09:14:01 +02:00
David 378519ccf3 [NT] Remove gesture mentions from Dispatcher (#12889) 2024-12-12 22:28:27 +01:00
David 8f1461316c [HotKeys] Add a 'type to search' setting to hasKeyboard devices (#12860) 2024-12-12 22:23:49 +01:00
TnS-hun f232b0e8e6 Dictionary: fix missing images (#12877)
Pass the dictionary's res directory to Mupdf.openDocumentFromText to allow MuPDF to display images referenced by HTML dictionaries.

Depends on: https://github.com/koreader/koreader-base/pull/2002
Fixes: https://github.com/koreader/koreader/issues/12628
2024-12-12 21:58:35 +01:00
Frans de Jonge 0e4bd1be89 Screenshoter: add filename and page number (#12887)
Closes #12695.
2024-12-11 20:56:01 +01:00
hius07 7444ec53e9 Remove onSetFullScreen() (#12871) 2024-12-09 12:33:16 +02:00
hius07 0386e2619e Patch management: plugin -> core (#12862) 2024-12-08 09:33:46 +02:00
hius07 157c03c42d FileManager: Plus dialog button from CoverBrowser (#12857) 2024-12-07 09:18:18 +02:00
Martín Fernández 162685df50 remove autofrontlight + backgroundrunner (#12809)
* remove autofrontlight
* remove background-runner

thirparty plugins that rely on the backgroundrunner no longer work.
2024-12-06 21:28:56 +01:00
hius07 89fd0061fb filemanagerbookinfo: fix logic in getCoverImage() (#12852) 2024-12-06 14:36:30 +02:00
hius07 cd8ef3ceb5 FileManager, History, Collections: expose file dialog buttons (#12845) 2024-12-05 18:54:32 +02:00
hius07 ea46d71634 Highlights: anchored dialogs (#12810) 2024-12-05 18:53:59 +02:00
poire-z cdc0cc58e7 CreDocument: tweak when the default font is set (#12846)
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.
2024-12-05 01:34:09 +01:00
Benedikt McMullin 1438caf529 Style tweaks: add Override font-based normal line height (#12483) 2024-12-05 01:33:51 +01:00
hius07 58adb685d1 Collections: search (#12776) 2024-12-04 14:09:26 +02:00
Eric P Hutchins 76a7633531 Translator: add romanizations setting in Translation settings (#12829)
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.
2024-12-02 23:05:52 +01:00
Lostish f5c6b56899 Screensaver: add dynamic battery symbol to sleep screen message (#12548)
- %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
2024-11-25 20:58:56 +01:00
Brendan LeFebvre 798a64998f webdav: show folders with same name as current folder (#12788)
Closes #12783
2024-11-24 08:59:12 +01:00
David de7c5920b8 [screensaver menu] remove gesture based option from NT devices (#12747) 2024-11-23 20:41:56 +01:00
mergen3107 e95541ffd3 [Kindle NT] fix terminal and timesync (#12765)
Closes #12760
Credits go to @benoit-pierre (Thank you!)
2024-11-23 19:30:48 +01:00
Wim de With d1d5e949a0 Decode wpa_supplicant SSID when already connected (#12782)
Overlooked in #11089.
2024-11-23 19:29:51 +01:00
hius07 47feaaa1df Highlights: page boxes cache (#12768) 2024-11-23 14:05:05 +02:00
hius07 93f2fa6702 Highlight: line height (#12721) 2024-11-21 07:54:23 +02:00
hius07 24d8baf3ec Notebook file (#12699) 2024-11-21 07:53:22 +02:00
Benoit Pierre 0fd8c5af81 kopt: implement reflow
Factorized from lower layers' implementations (djvu & mupdf).
2024-11-20 22:23:02 +01:00
Benoit Pierre 94ee6813f6 kopt: minor factorization 2024-11-20 22:23:02 +01:00
hius07 2b763c70f9 Screenshoter: fix screenshot folder (#12750)
Check for existance and create if absent.
Closes #12742.
2024-11-20 22:19:52 +01:00
Benoit Pierre 24f983b580 pocketbook: support "extended" key events (#12707)
Only for devices running with SDK >= 6.

Close #12703.
2024-11-20 21:45:53 +01:00
jonnyl2 fa20344a15 ReaderHighlight: Highlight menu, change 'Delete' to Trash can icon (#12758)
Closes #12754; as discussed there.
2024-11-20 20:31:20 +01:00
Martín Fernández fd3727274b bump android-luajit-launcher (#12734)
Includes:

https://github.com/koreader/android-luajit-launcher/pull/526
https://github.com/koreader/android-luajit-launcher/pull/527
https://github.com/koreader/android-luajit-launcher/pull/528
https://github.com/koreader/android-luajit-launcher/pull/529
2024-11-13 14:55:40 +01:00
Frans de Jonge 11981821f6 [minor] ReaderHighlight: normalize more spelling of PDF (#12732) 2024-11-12 21:06:31 +01:00
Frans de Jonge d3893b6cf1 [minor] ReaderHighlight: normalize spelling of PDF (#12731) 2024-11-12 21:05:16 +01:00
Benoit Pierre 18d2ec6761 kopt: fix OCR segmentation mode (#12726)
Previously unused by `libk2pdfopt`, the `ocr_type` argument passed to `k2pdfopt_tocr_single_word`
and forwarded to `ocrtess_ocrwords_from_bmp8` now has a big impact for some languages (e.g. Arabic).
2024-11-11 12:44:22 +01:00
hius07 5fb9216efb "Tools" menu order minor fix (#12717)
* same order in FM and Reader
* remove unused "send2ebook"
2024-11-08 19:24:53 +01:00