Commit Graph

6038 Commits

Author SHA1 Message Date
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
hius07
c2d1099976 Profiles: more auto-exec triggers 2 (#12691) 2024-10-31 20:26:21 +02:00
hius07
8b710d183c Focus: fixes (#12688) 2024-10-30 20:09:59 +02:00
hius07
97a7ebefb9 Text editor: rotate (#12658) 2024-10-29 20:49:43 +02:00
NiLuJe
b42b9a8799 DeviceListener: Restore onExit callback passing
That callback is used for custom exit paths (e.g., OTA).

Regression in #12509
2024-10-27 01:34:20 +02:00
NiLuJe
4c91bf9f63 OTA: Make the final ConfirmBox undismissable
It's relatively easy to miss-click the buttons, especially on devices
with questionable touch panels...

And while doing so is perfectly fine, you miss the InfoMessage telling
you that the update will be applied on restart, which is potentially
confusing.

Re: #12674
2024-10-27 01:34:20 +02:00
mergen3107
f8446538c0 Fix KOReader spelling in the code (#12670) 2024-10-24 10:46:46 +02:00
hius07
1778c698b5 Profiles: more auto-exec triggers (#12651) 2024-10-23 12:56:46 +03:00
Martín Fernández
04161c0e9e translated deprecation reasons (#12636)
Keep translated strings around on deprecation
2024-10-23 10:43:40 +02:00
NiLuJe
2497d8f352 Misc: Some more FocusManager fallout (#12667)
Don't show initial focus in KVP & CalendarView

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2427403108
2024-10-22 10:38:02 +02:00
NiLuJe
fdd342de40 Menu: Fix fallout from #12583 on hasDPad devices (#12657)
Tweak `mergeTitleBarIntoLayout` to keep the current selection (adjusted for the added rows) instead of resetting the focus.

It only actually called `moveFocusTo` on `hasDPad` devices, which explains why this was missed during testing.

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2423554770
2024-10-21 13:35:44 +02:00
mergen3107
ee17b44b58 Kindle Scribe: fix elseif for orientation code (#12663)
Fixes #12662
2024-10-20 18:58:34 +02:00
hius07
54e33d27ea ReaderHighlight: fix color for extended highlight in pdf (#12654)
Closes #12653.
2024-10-18 20:59:31 +02:00
jonnyl2
a4dcfd2d52 ReaderFont: fix "new" fonts in generated font test document (#12646)
New fonts were not rendering in their own font because
the font names were modified directly in the face_list table.
2024-10-18 16:46:57 +02:00
hius07
716ed1f19d InputText: fix Terminal plugin input (#12652)
Regression in #12632.
2024-10-17 19:06:18 +02:00
hius07
71a89e45c0 Text editor: show current line number (#12632) 2024-10-16 20:03:31 +03:00
hius07
1493a092db Cloud storage: fix sorting non-English filenames (#12644)
Reported in #12638.
2024-10-15 09:30:57 +02:00
hius07
ce7fcff360 Menu widget: draw focus on focused item (#12583) 2024-10-13 18:02:51 +03:00
NiLuJe
a979141ab2 Kobo: Minor simplification after #12616 (#12629)
The only codepath that sets pending_connection to true in NetworkManager calls turnOnWifi right after, so we can't really ever see pending_connection w/o isWifiOn being also true ;).
2024-10-12 19:47:01 +02:00
NiLuJe
75f7d862d4 Kobo: Explicitly murder Wi-Fi right before suspend if needed
In order to avoid similar catch-22, no matter the timing
2024-10-11 20:37:36 +02:00
hius07
f143f5f8b1 ReaderHighlight: adjustable "Edit highlight" dialog position (#12599) 2024-10-11 19:26:33 +03:00
hius07
85591c75ce Profiles: add "on rotation" auto-execute event (#12612) 2024-10-10 18:05:24 +03:00
hius07
76deedfb73 Menu widget: rotation handler (#12573) 2024-10-10 10:54:59 +03:00
hius07
9f7dc85084 DocSettingsTweak: apply to books with status (#12606) 2024-10-09 19:28:37 +03:00
hius07
92bcbe06f6 readertypeset: fix margins info (#12609) 2024-10-07 22:17:14 +03:00
TANG Xiao
80975ea4b0 ProgressWidget: fix misalignment (#12526) 2024-10-06 17:38:50 +02:00
hius07
7da143062f dispatcher: SpinWidget range (#12580) 2024-10-04 18:04:02 +03:00
David
cba79bca1c Quickstart guide Kindle illustrations (#12577) 2024-10-02 23:49:56 +02:00
jkl16
6138779124 Disabled rotation map for Android devices where "hw media keys follow gravity" (#12557) 2024-10-02 14:41:47 +02:00
Benoit Pierre
120d418b7e android: switch to monolibtic mode (#12576)
We can get rid of the `libs` and `sdcv` symlink in application files.

Depend on koreader/koreader-base#1920.

Close #12348.
2024-10-02 09:19:57 +02:00
NiLuJe
a6584e312d Add kobov4 & kobov5 targets
kobov4 exists solely because there's a dedicated TC for it,
but we don't distribute binaries for it (it doesn't differ enough from
kobo, and experience has taught us that this kind of split was not a
great idea (e.g., kindle5 vs. kindlepw2)).

kobov5 targets a massively updated userland, and requires further
changes, including to the delivery mechanism, so it very much warrants a
dedicated package (re: #12401)
2024-10-01 23:26:03 +02:00
hius07
b937a079ea Profiles: auto-execute on events (#12564) 2024-09-30 19:22:20 +03:00
David
e2d1c55ec5 [DictQuickLookup] shortcuts for editing searches (#12539) 2024-09-29 20:25:26 +02:00
hius07
4cdef40f97 File search: improve (#12549) 2024-09-28 19:47:56 +03:00
Chris Heywood
9e73a88e59 Fix typos in quickstart (#12566) 2024-09-28 08:42:19 +02:00
Benoit Pierre
d98fe14ba8 input: fix loading of fbink_input library (#12560)
The library is versioned.
2024-09-26 23:07:15 +02:00
Benoit Pierre
a1edbbf0c4 use new ffi.loadlib helper (#12545)
To load our native libraries.
2024-09-26 18:36:09 +02:00
Benoit Pierre
88aea09f73 input: fix pocketbook init (#12555)
Regression from #12486.
2024-09-25 21:17:30 +02:00
David
08205c47c8 [ReaderFooter] Update status bar in real time when inverting page turning (#12424) 2024-09-25 21:16:06 +02:00
Benoit Pierre
beaad4d337 input: fix kobo init (#12553)
I missed converting one call of `Input.open` to a method call in #12486.
2024-09-25 20:16:25 +02:00
Benoit Pierre
0c0d2ab9f1 input: drop use of ffi/input
Get rid of the weird interaction between device implementations,
`ffi.util` (`isSDL`, `noSDL`) and the device input code: each
device knows if it's using SDL or not, so rely on that to load
the right underlying input implementation.
2024-09-24 16:08:58 +02:00
Benoit Pierre
283c764351 sdl: minor cleanup; remove dead code 2024-09-24 16:08:58 +02:00
Frans de Jonge
7ee598c667 Revert "Profiles: make sure to close menu/quickmenu before executing action (…" (#12534)
This reverts commit 880b7c5ed1.
2024-09-19 18:29:25 +02:00
ElimGarak1
6dcafb329a Add PocketBook Verse Pro Color (PB634K3) (#12476) 2024-09-18 20:07:05 +02:00
NiLuJe
3401bed3d1 Kindle: Restore hall effect sensor state on startup (#12521)
Fix #11744
2024-09-18 15:06:23 +02:00
NiLuJe
03aa96dc7d optionsutil: Document optionsutil.showValues
Specifically, the whole unit interactions ;).
2024-09-16 17:12:43 +02:00
NiLuJe
e887be693f optionsutil: Simplify the public formatFlexSize wrapper
Pull the dimension_units from in there,
instead of asking callers to do that.
2024-09-16 17:12:43 +02:00
NiLuJe
3cbd75b385 ReaderTypeset: Use formatFlexSize in onSetPageMargins
Instead of enforcing px.

Also decouple the footer from the bottom margin report to make things
clearer given this change.
2024-09-16 17:12:43 +02:00
NiLuJe
e47aeb77b7 optionsutil: Switch to PostScript point
Because that's what most people are probably thinking of.

But, more importantly, it's what *FreeType* assumes ;).
2024-09-16 17:12:43 +02:00
NiLuJe
9dfd4f949c CREOptions: Simplify a few name_text_hold_callback calls when we want to
display a size unit

Rely on `name_text_unit` instead of wrapping `optionsutil.showValues`
2024-09-16 17:12:43 +02:00