hius07
c36a2929ac
OPDSbrowser refactoring ( #9703 )
...
Refactoring:
-removed duplicated code
-removed passing of username/password through all the modules
-logical order of the methods
-some optimizing and drying
-comments
New features:
-subcatalog link can be saved to the list of servers (eg: direct link to the catalog of books by an author)
-more book information can be fetched and shown (Book information)
-fixed access to the Standard library (by @KGKopli, closes #9372 )
2 years ago
hius07
a8ff3a6571
readerzoomin: add zoom mode translation, simplify zoom mode validation
2 years ago
hius07
0919c4ef17
readerkoptlistener: simplify zoom mode validation
2 years ago
weijiuqiao
e8cd2ba498
WebDAV: fix bugs when start folder starts with "/" ( #9688 )
2 years ago
zwim
d7c63edca6
Random optimizations ( #9657 )
2 years ago
poire-z
e72211a5bf
bump base: xtext, cre, ffi, harfbuzz ( #9696 )
...
Includes:
- Update to HarfBuzz 5.3.1, libffi 3.4.4
- LPeg: Minor cosmetic tweaks
- cre.cpp: add cre.softHyphenateText(lang, text)
- xtext: properly support soft-hyphens
- xtext: option to allow limiting usage of soft-hyphens
- xtext: better ellipsis support with Arabic text
- ffi: Add fflush to posix_h
- fb_mxcfb: Don't wraparound update markers until UINT32_MAX
2 years ago
zwim
31b16ba3e1
UIManager: get rid of self._running and self._run_forever ( #9669 )
2 years ago
zwim
88add4ed6f
[spec] _task_queue has to be sorted! ( #9694 )
2 years ago
hius07
d37803a8e7
Dispatcher: preserve profile name, show actions count ( #9682 )
...
(1) Preserve profile name when selecting the "Nothing" action.
(2) Show number of actions instead of "Many".
2 years ago
Dylan Calvin
07be320722
[plugin] OPDS: Add stream from page ( #9681 )
2 years ago
Martín Fernández
3530aef891
exporter.koplugin: send the right mimetype when sharing text. ( #9194 )
...
Add an option to send title too. Currently unused.
2 years ago
zwim
db8e2a9403
[spec] Get rid of argc in the _task_queue ( #9684 )
...
argc was eliminated in #9624
Thanks to @hius07 https://github.com/koreader/koreader/pull/9680#issuecomment-1290440793
Plus a minor change in the scheduling test, so that the _task_queue is not filled only from one end.
2 years ago
weijiuqiao
ad89742e9b
Keyvaluepage: better alignment ( #9672 )
2 years ago
hius07
1d9c81de6e
ScrollableContainer: fix 'argc' ( #9680 )
2 years ago
Roygbyte
724db87755
ButtonDialog: add documentation about layout ( #9505 )
2 years ago
sonix-github
eb56948fac
Keyboard: add Slovak virtual keyboard ( #9656 )
2 years ago
zwim
dc2cc5cba2
AutoDim: close trapper widget explicitly ( #9675 )
2 years ago
poire-z
48eb02318d
Dispatcher: avoid multiple cre rerenderings when many settings changed ( #9651 )
...
When a gesture/profile was updating multiple cre settings,
each setting handler would emit UpdatePos which each would
force a re-rendering.
When this might be happening, postpone the rerendering
until all are set.
Needs some bit of refactoring to the events at play:
introduce "DocumentRerendered" event, and use it where
we used "UpdatePos" or "UpdateToc" to mean exactly that.
2 years ago
hius07
d1abbbfdd8
Document settings submenu: add Save as default ( #9643 )
2 years ago
hius07
b8d9944a07
Profiles: optional registration in Dispatcher ( #9623 )
2 years ago
weijiuqiao
6bd7dfdf41
Vocabulary builder: add "Open..." to Dispatcher ( #9634 )
...
So it can be called from a gesture.
Also accommodate reset all in reversed order.
2 years ago
weijiuqiao
edf7cc9a61
Vocabulary builder: support extracting context from pdfs ( #9622 )
...
Move getSelectedWordContext(), now document specific,
from ReaderHighlight into each document module.
2 years ago
weijiuqiao
58613d66e7
UI font fallbacks: use bold fonts if present for bold ( #9621 )
2 years ago
hius07
4d4b04359c
ReadHistory: refactoring with binary search ( #9603 )
...
Get rid of indexing and sorting, reduce flushing.
2 years ago
NiLuJe
54fae2987e
Support Android AArch64 ( #9645 )
...
c.f., https://github.com/koreader/koreader-base/pull/1540 & https://github.com/koreader/android-luajit-launcher/pull/390
2 years ago
NiLuJe
f04beb157b
Bump base
...
https://github.com/koreader/koreader-base/pull/1541
https://github.com/koreader/koreader-base/pull/1539
2 years ago
NiLuJe
82b5f64178
time: Fix another subtle FP issue in split_s_us
...
The us part wasn't actually truncated properly.
2 years ago
NiLuJe
318d0e0ff0
UIManager: Modernize commented out debugging code
...
If you've ever enabled the main loop debugging, you'll know that
actually dumping the full window stack was *hilarious*.
Just print table counts, it's often good enough to debug what's
happening in the exceedingly rare cases you need this ;).
Also, it'll actually be readable, unlike the previous insanity ^^.
2 years ago
NiLuJe
390c875c80
Fix: key_events cannot be nil anymore since #9586
2 years ago
NiLuJe
d2ac2ca6e7
Cleanup: Remove unused onAnyKeyPressed handlers
...
And simplify the few we do catch by using aliases instead of duplicated
functions;).
2 years ago
NiLuJe
78381c3afa
ScreenSaverWidget: Actually enable the onAnyKeyPressed handler
...
Which allows us to exit the screensaver on, well, any key press ;o).
2 years ago
NiLuJe
854cbe9f94
Kobo: Unbreak frontlight toggle for some specific values
...
Because of floating point computery math stuff.
Regression since #9609
c.f., https://github.com/koreader/koreader/pull/9609#issuecomment-1288187080
2 years ago
Martín Fdez
ee35257f99
update metadata & translations
2 years ago
Martín Fdez
17246f0534
fix update-metadata script
2 years ago
Frans de Jonge
6139aab167
Update translations for 2022.10 ( #9670 )
2 years ago
poire-z
3dbcccb1a8
TextViewer: correct keyboard layout after long-press on Find ( #9668 )
2 years ago
hius07
e3fd612518
ConfigDialog: fix a bug with default values ( #9666 )
2 years ago
hius07
60a16c7e00
configdialog: fix bug with default values ( #9662 )
2 years ago
weijiuqiao
bb03cf7310
Chinese keyboard: fix harmless typo ( #9633 )
2 years ago
Benoit Pierre
1d6f4acad0
CoverBrowser: fix some button callback overrides ( #9647 )
...
Broken since b0eb0ce0: the custom callbacks for the "Reset settings"
& "Book information" buttons are not being called anymore because
patching those is done to early (before instead of after creating
the new modified dialog).
2 years ago
weijiuqiao
effddbc1ee
zh_keyboard: make number pad symbol mode ( #9654 )
...
This PR makes zh_keyboard's number pad symbol mode instead of shift mode, so that numbers are shown when the keyboard is called expecting numeral input.
2 years ago
sonix-github
ac79da05f4
[plugin] AutoStandby: Make "Update" string translatable ( #9655 )
2 years ago
bigdale123
cda419dd7a
OPDS-PS: Fix hardcoded namespace in count ( #9650 )
...
Turns out the namespace is dynamic, so, just look for ':count' and hope there won't be any conflicts ;).
2 years ago
zwim
dbafcb0311
UnitTests: Nits and misspellings ( #9629 )
2 years ago
NiLuJe
23c410344b
UIManager: Minor code cleanup ( #9641 )
...
* Remove a check made redundant by #9617
* Bump base (https://github.com/koreader/koreader-base/pull/1538 )
2 years ago
NiLuJe
741562e84c
Cleanup: Use Lua's native setvbuf wrapper instead of reinventing the wheel ( #9636 )
...
Sidenote for the crazy win32 people out there: it doesn't has a concept
of line-buffering, so native win32 should use "no" here, but I'm
*hoping* MinGW transparently handles this nonsense.
2 years ago
NiLuJe
d9eb6e9717
Kobo: Always use open/write/close for sysfs writes ( #9635 )
...
Also simplifies a few UIManager log messages (re: https://github.com/koreader/koreader-base/pull/1537 )
2 years ago
hius07
2a354912f4
buttondialogtitle: align upper borders ( #9631 )
2 years ago
sp4ke
f3620b6d1f
Exporter plugin: allow adding book md5 checksum when exporting highlights ( #9610 )
...
This allows interoperability between different readers who want to
import highlights on different devices/file systems. All that is
needed then to import highlights is to match the local books and
their path based on the checksum.
2 years ago
weijiuqiao
7fc803ffee
Vocabulary builder: supports review in reverse order ( #9605 )
2 years ago