zwim
764f8ba647
bump base: Use Bresenham's algorithm and anti-aliasing for rounded corners
2024-03-06 16:58:47 +01:00
NiLuJe
dd8560cef8
Input: Don't let wacom pens clobber the slot of the next contact ( #11520 )
...
If there's only one contact, we won't get an ABS_MT_SLOT, so we need to
make sure we fall back to the main finger slot once we've caught a tool
switch.
Also, move the dedicated pen slot further away, so it has zero chance of
being detected as a potential buddy contact to a finger contact.
Fix #11514
2024-03-06 08:26:48 +01:00
hius07
7edb64ecee
Upper menu: fix generating the menu ( #11513 )
...
revert all changes to the upper menu made in #11495
2024-03-05 07:38:06 +02:00
Frans de Jonge
c4a09b3076
Remove bountysource from README ( #11385 )
...
Closes #11384 .
2024-03-03 14:02:52 +01:00
Frans de Jonge
d239623c46
Update translations for v2024.03 ( #11508 )
2024-03-03 11:11:09 +01:00
hius07
ec98c6334b
MenuSearch: open upper menu when needed only ( #11495 )
2024-02-28 07:29:33 +02:00
hasezoey
ade1daca3a
FileChooser: "percent - unopened - finished last" consider status "complete" as 100% ( #11472 )
...
re #11369
2024-02-27 20:52:37 +01:00
Frans de Jonge
3e7ab199e7
Wallabag: match text/html
mimetype as starting with rather than exactly ( #11492 )
...
Previously unnoticed or changed Wallabag behavior can provide a mimetype of for example `text/html; utf-8`, which wouldn't be an exact match to `text/html`.
Fixes #11481 .
2024-02-24 19:10:08 +01:00
hius07
2fca0ee989
Reader: use existing module instances on start ( #11485 )
2024-02-24 09:24:50 +02:00
hius07
72a6fa1e64
FileManager: less lfs calls when selecting files ( #11476 )
2024-02-19 08:03:12 +02:00
weijiuqiao
5939c82bcf
VocabBuilder.koplugin: support batch operations in book filtering ( #11475 )
...
Added support
1. Select only this book
2. Select all books
3. Select all books on this page
4. Deselect all books on this page
when filtering.
Ref. #11471
2024-02-18 09:37:57 +01:00
hius07
db2336440f
Alt status bar: custom metadata support ( #11463 )
2024-02-18 08:06:50 +02:00
Hzj_jie
d4c78aaa4f
Kindle oasis has no ambient brightness sensor ( #11456 )
...
I did not notice an ambient brightness sensor, nor adaptive brightness feature. (Ref: https://www.geekwire.com/2016/kindle-oasis-review-amazons-premium-e-reader-use-premium-features/ )
Was it previously wrongly configured?
2024-02-17 14:09:48 -08:00
hugleo
52fae11da7
ReaderView: ensure pan zoom mode on document open ( #11425 )
...
When we open the document for the first time, the pan
positions are not being applied. If I use the bottom-to-top
mode we should see the bottom first, but the top is being
shown instead.
2024-02-17 01:34:40 +01:00
hugleo
ef0077df23
ReaderPaging: fix offset issue on next page in pan zoom ( #11408 )
2024-02-17 01:31:31 +01:00
hugleo
041117cbb6
ReaderZooming: revert Autocrop fix ( #11325 )
...
From f990937f9f
.
2024-02-17 01:26:21 +01:00
hasezoey
76980098ec
FileChooser: add new sorting method ( #11369 )
...
"percent - unopened - finished last"
(ie. 90% > 50% > 0% > unopened > 100%)
2024-02-17 01:22:06 +01:00
hius07
5d4747c593
FileManager: less lfs calls ( #11452 )
...
Use item info provided by FileChooser.
Also fix showing PathChooser with invalid path,
and fix issue when opening non-supported files.
2024-02-17 01:17:59 +01:00
poire-z
76bf85738a
Style tweaks: add inpage foootnote classnames and a tweak
2024-02-17 00:33:03 +01:00
poire-z
d77b511849
bump crengine: text selection and footnotes fixes and tweaks
...
Includes:
- LvDocView: allow setting custom title/authors/series
- elementFromPoint(): fix possible crash when float at end of document
- Non-linear fragments: fix generic handling on erm_final
- DrawBorder: fix bottom border inset/outset drawing
- getSegmentRects(): allow segments to include images
- getRangeText(): allow gathering images
- Allow standalone image in link to trigger in-page footnotes
- ldomDocument::render(): avoid uneeded deserialization on each page turn
- lvtinydom: add ldomNode::getAllInnerAttributeValues()
- LVFootNote: avoid retrieving internal CompactArray object
- In-page footnotes: allows for multiple id= inside them
cre.cpp:
- rename overrideDocumentProp() to setAltDocumentProp()
- isLinkToFootnote(): handle image-only links
- text selection functions: add includeImages param
2024-02-17 00:33:03 +01:00
poire-z
fb39fe93ed
Fix docs CI failing after previous commit
2024-02-17 00:33:03 +01:00
poire-z
0506ffe289
HttpInspector: new plugin for developers to inspect KOReader ( #11457 )
...
Can be used to inspect the state of the objects in
a running KOReader.
It can also be used to execute actions (like the ones
available to associate to a gesture) with HTTP requests
from a remote computer/devices/gadgets.
The TCP server side is provided either with a new
ZeroMQ StreamMessageQueueServer (thanks bneo99),
or with a LuaSocket based SimpleTCPServer.
Minor UIManager tweak to avoid uneeded inputevent
when such a ZeroMQ module is running.
2024-02-16 12:24:31 +01:00
poire-z
8010808a1f
bump base: libjpeg-turbo, libpng, and other tweaks ( #11462 )
...
Includes:
- bump thirdparty/libjpeg-turbo 3.0.2
- PB: make sure libinkview-compat actually ends up w/ inkview as a DT_NEEDED
- Update to libpng 1.6.41
- cre.cpp: add overrideDocumentProp()
2024-02-11 00:46:23 +01:00
Frans de Jonge
bdd475f55f
[i18n] ReaderSearch: add translation context to "All" button ( #11352 )
...
Cf. https://github.com/koreader/koreader/pull/11313/files#r1439406753
2024-02-08 17:40:41 +01:00
hius07
50fcc04725
CoverBrowser: do not call lfs on every item ( #11449 )
2024-02-08 07:57:19 +02:00
hius07
b8090c641c
Minimize DocSettings:open() calls ( #11437 )
2024-02-07 10:35:52 +02:00
hius07
c3bb2263b7
DocSettings: check legacy history location only once ( #11439 )
2024-02-06 08:44:37 +02:00
hius07
962477e7c6
TextViewer: make find result bold ( #11427 )
2024-02-03 10:32:33 +02:00
zwim
f836f6a237
Clear UI leftovers before doing an OTA-install, add unmovable to InfoMessage and ConfirmBox ( #11412 )
2024-01-29 22:37:32 +01:00
hius07
38a14ff3a0
PathChooser: fix calling Folder shortcuts ( #11367 )
2024-01-26 22:03:28 +01:00
hius07
d94b819eb1
CoverBrowser: use bookinfo cache in Classic mode ( #11404 )
...
Getting bookinfo from the cache db is much faster than opening a book, let's use it in Classic mode too.
With fallback if no metadata available.
2024-01-26 22:01:45 +01:00
hius07
b832d43d98
CoverBrowser: fix classic mode update cache ( #11398 )
2024-01-23 08:17:47 +01:00
hius07
f246b3d19c
Text editor: refresh path on saving file ( #11396 )
...
File size was changed.
2024-01-21 11:11:16 +01:00
NiLuJe
75ffc3bb76
Terminal: Better yet, disable it properly on prereq failure
2024-01-21 06:42:09 +01:00
NiLuJe
a906838123
Terminal: Clearer error message on prereq failures
...
Pluginloader uses pcall, so, throw with an actual error message
Re: #11394
2024-01-21 06:42:09 +01:00
NiLuJe
c9da681874
Bump base
...
https://github.com/koreader/koreader-base/pull/1732
2024-01-21 06:42:09 +01:00
NiLuJe
a8a944cbaf
ScreenSaverWidget: Simplify the setDirty call
...
No need for a closure, there's no dimen involved.
2024-01-21 06:42:09 +01:00
NiLuJe
39744d7642
TouchMenu: TouchMenuItem's UnderlineContainer should probably have its own dimen object
...
The coordinates could wonky otherwise, as TouchMenuItem is an
InputContainer.
Mostly harmless in practice as that UC is its main widget.
2024-01-21 06:42:09 +01:00
NiLuJe
4785df48a9
PRSTux: Disable OTAs
...
We haven't been offering any for years, and I've just killed zsync
support there anyway.
2024-01-21 06:42:09 +01:00
hius07
925aa728c9
Fulltext search: action to show last findall results ( #11388 )
2024-01-20 10:00:21 +02:00
NiLuJe
82bf8bf379
ScreenSaver: Properly exclude macOS resource forks again
...
The previous check was inlined in the dir walk, so it always saw a
relative path.
Here, it gets an absolute one instead, so act accordingly ;).
Fix #11390
Regression since #11056
2024-01-19 21:11:02 +01:00
NiLuJe
e5cb24a891
ConfigDialog: Simplify the previous fix
...
Geom's intersectWith & friends have nil guards in place since #7664 ,
so the insane workaround is completely superfluous.
2024-01-19 21:11:02 +01:00
NiLuJe
19ed35e59c
ConfigDialog: Don't enforce 0x0 dimensions on initial display
...
FrameContainer now behaves like other widgets, and no longer re-computes
dimensions in paintTo *if you provide a dimen*.
Since we do here, for.... reasons I'm not entirely sure still make any
sense, make sure we actually compute valid dimensions,
instead of an empty rect from Geom:new ;).
Fix #11389
2024-01-19 21:11:02 +01:00
NiLuJe
7f33d94c4c
Bump base
...
https://github.com/koreader/koreader-base/pull/1728
https://github.com/koreader/koreader-base/pull/1730
2024-01-19 00:08:10 +01:00
NiLuJe
90ae4acca6
Chore: Review FrameContainer constructors for shared dimen objects
...
Nothing else seems problematic, this is mostly just cosmetic sanitization
around Geom objects.
2024-01-19 00:08:10 +01:00
NiLuJe
65e22ceafc
Widgets: Fix a bunch of regressions after the FrameContainer change in #11364
...
FrameContainer now preserves its self.dimen, which means it cannot be
shared with another widget or container that might also modify it during
painting ;).
Fix #11370
Fix https://github.com/koreader/koreader/pull/11364#issuecomment-1894454657
Fix #11379
2024-01-19 00:08:10 +01:00
NiLuJe
5e4d182608
Fold the debug logging flip inside the "Report a bug" entry
...
Also, implement a Notification source that will *always* be shown,
regardless of user preferences, and use it here.
2024-01-19 00:08:10 +01:00
NiLuJe
72250daba8
UI: Add a verbose debug logging checkbox next to "Report a bug"
...
@hius07 mentioned something to that effect a while back, makes sense.
Unlike the set of checkmarks in the dev settings, this one flips both
debug + verbose at once, *and* asks for a restart for framebuffer's
sake.
Also update the "Report a bug" spiel to request verbose debug logs.
2024-01-19 00:08:10 +01:00
NiLuJe
55171212c3
Misc: Forgot to update that comment given the latest VirtualKey tweaks
...
;).
2024-01-19 00:08:10 +01:00
poire-z
43d36b2ea9
TextBoxWidget: allow showing bits of text in bold
...
Allow for embedding "tags" (invalid Unicode codepoints)
in the text string to trigger some text formatting:
for now only bolding some parts of text is possible.
Use it with fulltext search "all results" to highlight the
matched word (instead of the previously used brackets).
2024-01-18 12:51:10 +01:00