Commit Graph
456 Commits
Author SHA1 Message Date
poire-z 81576c4e03 css_tweaks: fix typo in Disable first-line tweak name (#15161) 2026-03-22 11:18:11 +01:00
poire-z c3c24bf59c bump crengine: support ::first-line, COLRv0 fonts, CHM and CSS fixes (#15155)
Includes:
- CHM: improve Chinese encoding handling
- renderFinalBlock(): fix background color propagation among inlines
- first-letter: resets some CSS, ignore invisible, stop on <br/>
- CSS: support for pseudo element ::first-line
- CSS: add support for float/clear: inline-start/inline-end
- lvfntman, lvdrawbuf: add COLR v0 color font rendering support

Also add style tweaks to disable first-letter and first-line.
2026-03-21 23:12:20 +01:00
Euphoriyy 20bf0b75aa creopt: fix toggle order for Invert Images to be consistent (#15112) 2026-03-15 10:05:32 +01:00
Euphoriyy a47ecfcdc2 kopt: option to invert document in night mode (#14954) 2026-03-08 12:31:57 +01:00
David 5cd27cff1d fix incorrect migration comment (#15086) 2026-03-07 18:54:46 +01:00
David bed8f558fa Switch virtual keyboard default to false on hasKeyboard (#15057) 2026-03-07 08:24:16 +01:00
Mihai Vasiliu 5f68c2254f [i18n] Add context for bottom menu options (#15031)
Not all languages translate all options the same. Add context to allow different translations depending on usage.
2026-02-23 19:32:10 +01:00
Mickaël Schoentgen f01c1171c2 feat: add lithuanian reader.dict monolingual dictionary (#14839) 2026-01-18 11:49:57 +01:00
poire-z f4a87ba22a Style tweaks: Ignore publisher font families: keep monospace 2025-12-08 13:18:51 +01:00
Mickaël Schoentgen 576aaed08a feat: add japanese reader.dict monolingual dictionary (#14579) 2025-11-07 12:07:40 +01:00
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