Commit Graph

446 Commits

Author SHA1 Message Date
David
e68452674d [ScreenSaver] Allow sleep screen message to be placed anywhere on screen (#14371) 2025-10-01 08:59:20 +02:00
Ivan Pešić
9223fdc9db Add Serbian keyboard layout (#14338)
This adds Serbian cyrillic keyboard layout.
It is based on very good English layout.
2025-09-16 20:59:54 +02:00
Frans de Jonge
49e72acb2c Auto-select single available OCR language on load and emit DocLangUpdate + refactor code into ui/data/ocr.lua 2025-09-15 19:49:11 +02:00
Frans de Jonge
e5dca93eba Autodetect OCR languages
Messing about with advanced settings is kind of annoying, isn't it?

In reply to <https://github.com/koreader/koreader/issues/11147#issuecomment-2571602782>.
2025-09-15 19:49:11 +02:00
hius07
99c7d00b58 ReadTimer + Profiles auto-exec (#14309) 2025-09-14 09:32:06 +02:00
Mickaël Schoentgen
00db7cac9a feat: add reader.dict monolingual dictionaries (#14302) 2025-09-10 19:48:39 +02:00
Márton Kónya
51aad4b054 Add Hungarian keyboard layout (#14237) 2025-08-28 22:58:50 +02:00
Frans de Jonge
11d008e93b Add .footnote1 class to classic classname footnotes style tweak (#14119)
These would be likely to show up after a calibre conversion. See <https://www.mobileread.com/forums/showthread.php?p=4527981#post4527981>.

I'm not entirely sure to what extent it's wise to add, but we already have some equivalents after all.
2025-07-31 20:26:58 +02:00
Benedikt McMullin
cfc67797e2 css_tweaks: add generic setting for smaller inpage footnotes (#13613)
Replaces the 3 '... (smaller)' tweaks.
2025-06-01 20:03:24 +02:00
Benedikt McMullin
4116c6d35b style tweak: Extend inpage footnotes (#13554) 2025-05-25 13:30:59 +02:00
hius07
7e12cab461 File browser: filter by status (#13503) 2025-04-05 10:19:32 +03:00
hius07
4d73b36c17 onetime_migration: fix last migration date (#13499) 2025-04-02 09:14:25 +03:00
Martín Fernández
fbe2e452f1 Old plugins cleanup (#12932)
* Remove OBSOLETE_PLUGINS table.
* Remove old plugins.
* exporter: remove old settings migration
2025-03-18 20:28:25 +01:00
Belarusan
fab3a4383e Add 'u with breve' (ŭ, Ŭ) from Belarusan Latin alphabet in keyboard popup under 'u' and 'U' (#13425) 2025-03-16 10:14:38 +01:00
hius07
946080294d Update koptoptions.lua (#13350) 2025-03-02 11:22:59 +02:00
hius07
daeacef838 OPDS: group downloading (#13338) 2025-03-02 11:22:18 +02:00
Karol Bieńkowski
a8c1c8fefd PL keyboard layout: move "ó" and "Ó" to east on keypopup (#13347)
... in order to keep it consistent with other Polish characters.
2025-03-01 21:47:06 +01:00
hius07
68cfd96203 Dispatcher: action list fixes (#13167) 2025-02-07 19:27:54 +02:00
Frans de Jonge
12b075a4ac [minor] normalize a few requires (#13055) 2025-01-13 08:33:18 +01:00
hrm
6a0aa958c9 wallabag: Add option to archive locally, instead of deleting + rewording of menu options (#12949)
Fix #12712, fix #11687, fix #9151.
2025-01-12 15:28:34 +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
Benedikt McMullin
1438caf529 Style tweaks: add Override font-based normal line height (#12483) 2024-12-05 01:33:51 +01:00
David
de7c5920b8 [screensaver menu] remove gesture based option from NT devices (#12747) 2024-11-23 20:41:56 +01:00
mergen3107
f8446538c0 Fix KOReader spelling in the code (#12670) 2024-10-24 10:46:46 +02:00
hius07
85591c75ce Profiles: add "on rotation" auto-execute event (#12612) 2024-10-10 18:05:24 +03:00
hius07
b937a079ea Profiles: auto-execute on events (#12564) 2024-09-30 19:22:20 +03: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
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
NiLuJe
cd0d8ca8bd UI: Support appending the value in pixels when formating metric/imperial dimensions 2024-09-16 17:12:43 +02:00
NiLuJe
f8890a310d optionsutil: Rename real_size_string to formatFlexSize, and make it public
Use it in the ReaderView:onPageGapUpdate notification, instead of
enforcing "px" there.
2024-09-16 17:12:43 +02:00
NiLuJe
d537ef5c76 UI: Expand the "Units" configuration menu to include "Pixels"
Rename it to "Dimension units", and make it a radio submenu.

Migrate the previous metric_length setting to this new dimension_units
one.

Update optionsutil to follow it.
2024-09-16 17:12:43 +02:00
NiLuJe
77b6ef785a koptoptions: Stop making page gap a special snowflake
Use the user-preferred display unit for dimensions.
2024-09-16 17:12:43 +02:00
NiLuJe
7239cf391d optiuonsutil: unbreak real_size_string
Don't mangle string input values when a unit was passed.
(i.e., keep displaying them as their actual string instead of as nil).

(e.g., when current is set to a number, but default is still unset,
which translates to "not set" in showValues).
2024-09-16 17:12:43 +02:00
NiLuJe
9333843919 optionsutil: tweak showValuesHMargins text string
Attempting to align the numbers on the same column was a fool's errand.
Our default UI font is not monospaced, to begin with,
and to do it right, we'd need to align the rightmost number, not the
leftmost ;).

i.e., T() would need to have much fancier justification capabilities ;).
Or, err, *any* text justification features, really ^^.
2024-09-16 17:12:43 +02:00
NiLuJe
da2957392a optionsutil: Refactor size conversion/printing
DRYer, simpler. Will make it easier to make "px" a real viable display
format.
2024-09-16 17:12:43 +02:00
NiLuJe
65ce72df27 KOptOptions: Make Page Gap a buttonprogress instead of a toggle
We want to be able to set a custom value (i.e., more_options),
because on high-dpi devices, the scaling can lead to pretty large
differences; but more_options on a toggle is ugly and clunky.

So, switch to something more suited to what this actually sets,
which is ultimately an absolute pixel value, like margins.

Add a few more steps on the low end to fill out the bar (and because
that's where I found them most useful on high-dpi devices).
2024-09-16 17:12:43 +02:00
NiLuJe
a55b1038d7 optionsutil: Make sure showValues can actually use the real_size_string helper effectively
configdialog doesn't actually pass a unit argument to
name_text_hold_callback, so pull it instead from a new name_text_unit
field.

Expand said helper to support a "px" unit, which simply converts from
our arbitrary pixels to actual on-device pixels (e.g., a plain
scaleBySize).

Enable real_size_string usage when name_text_true_values is set
(it's a NOP in terms of the generated string if no unit is specified).
2024-09-16 17:12:43 +02:00
NiLuJe
da74691515 Chore: Don't cache static data tables (ui/elements, ui/data, kb layouts & co) (#12519)
Using `require` didn't make much sense since most of them are only used in a single place anyway, and it takes care of a few weird interactions in the process (besides not polluting `package.loaded` with useless crap ;)).
2024-09-16 17:11:42 +02:00
hius07
bf290e0c2b Write highlights into PDF: revisited (#12509) 2024-09-14 15:21:26 +03:00
NiLuJe
89cceee9f1 Defaults: Deprecate DKOPTREADER_CONFIG_DOC_LANGS_TEXT
It's unused since #11977, dropping it ensures we no longer show it in
the advanced settings UI.
2024-09-11 13:20:39 +02:00
Ichnilatis
00984ba6bc Keyboard: update el_popup.lua (#12463)
Some minor changes for consistency.
2024-09-04 15:31:30 +02:00
NiLuJe
59476d38f4 OTM: Unbreak #11999 (#12337)
Steps need to happen in chronological order, (mostly) always.

Fix https://github.com/koreader/koreader/issues/12326
2024-08-12 03:47:19 +02:00
hius07
e5fb836a81 ReaderFooter: improve (#12243) 2024-08-01 13:11:28 +03:00
hius07
4d50787637 Dispatcher: prettify action list (#12133) 2024-07-06 15:23:27 +03:00
jonnyl2
844d1393e7 Fix Arabic keyboard layout (ظ key) (#12063)
Closes #12005.
2024-06-21 14:53:18 +02:00
mergen3107
a03195d524 Footer: add book authors item (#11999)
Closes #7642
2024-06-16 13:18:38 +02:00
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.
2024-06-14 20:08:24 +02:00