Max CW
a7ff9ba0dc
ImageViewer: start with image fullscreen with no buttons shown ( #5446 )
...
Tap any part of screen to toggle bottom buttons visibility.
Swipe south to quickly close it (as long as image is scaled
to fit, and there's no need for panning).
2019-10-08 15:56:08 +02:00
Robert
7badb67e3d
Fix crash on book status change ( #5453 )
2019-10-04 23:06:54 +02:00
Robert
056a4f9129
Fix: Crash toggleswitch when args are empty ( #5438 )
...
Fix : #5434
2019-09-30 11:18:39 +02:00
Frans de Jonge
f7861bc1eb
[feat] Add haptic feedback ( #5380 )
...
References <https://github.com/koreader/koreader/issues/5374 >.
2019-09-29 15:42:05 +02:00
Robert
a934d2d52e
[UX] Add fine tune for zoom(dpi) and font size ( #5432 )
...
Close : #5312
2019-09-27 12:58:40 +02:00
Frans de Jonge
d0f95ec669
[UX] Use ProgressWidget in frontlight ( #5373 )
...
This makes it behave like a pretty decent slider.
Cf. <https://github.com/koreader/koreader/issues/5314 >.
2019-09-27 00:38:44 +02:00
Robert
3de3ea04ff
[UX] Better align buttonprogress in configdialog ( #5427 )
...
Similar to #5420
2019-09-26 11:46:23 +02:00
Robert
67abf9a26a
Better align toggleswitch in configdialog ( #5420 )
2019-09-25 19:44:57 +02:00
Robert
02218cb9e2
[UX] Add fine tune in contrast ( #5413 )
2019-09-24 00:24:45 +02:00
yparitcher
31b9f78384
[UX] Add Hebrew keyboard ( #5414 )
2019-09-22 22:21:00 +02:00
Robert
28e2e664b1
fix: Truncate text in spinwidget ( #5393 )
2019-09-19 11:54:53 +02:00
Robert
a7c358b080
[UX] Sort footer elements ( #5389 )
...
Close : #5329
- new option for footer - `Sort items`
- new widget `SortWidget`
2019-09-17 14:50:03 +02:00
Robert
b7d464ae4b
Set screenshot output folder ( #5382 )
...
Close : #4230
2019-09-17 13:01:40 +02:00
Robert
54568d4dcd
[UX] Add fine tune in line spacing ( #5375 )
...
See https://github.com/koreader/koreader/issues/5312#issuecomment-528506421
Progress widget has a new extra button ⋮ that triggers SpinWidget.
2019-09-14 16:30:25 +02:00
Robert
9163a85b3c
Messages in numberpicker widget ( #5353 )
...
See: #5342
2019-09-11 21:39:58 +02:00
Frans de Jonge
17e437dbd0
[UX] Allow keyboard layout selection ( #5318 )
...
Fixes <https://github.com/koreader/koreader/issues/3998 >.
This isn't quite what I want but I've been letting this slip for
too long due to fancier keyboard interaction concepts.
2019-09-06 17:01:37 +02:00
Robert
ae50569055
Frontlight - Add checkbox use system settings ( #5307 )
...
See: https://github.com/koreader/koreader/issues/5205#issuecomment-526935357
Devices with `hasLightLevelFallback = true` (for now Android) has extra checkbutton `Use system settings`. Default unchecked.
2019-09-04 20:52:24 +02:00
NiLuJe
d66cf7ab61
[fix] Allow setting a fine-tuned font size as default ( #5306 )
...
And a couple bugfix this unearthed:
* Always set the default as the *current* value, no matter what (by chance, this was not an issue for margins).
* Don't crash on the hold gesture in the -/+ buttons for the horizontal margins (regression since #5303 ).
2019-09-03 13:41:15 +02:00
Frans de Jonge
4cdc3ab99b
[feat, plugin] Add AutoTurn ( #5295 )
...
Fixes <https://github.com/koreader/koreader/issues/3019 >.
2019-09-01 21:30:19 +02:00
Robert
b038fa3046
[UX] Add fine tune buttons to horizontal margins ( #5303 )
...
Similar to top and bottom margins I add fine tune buttons to L/R margins.
2019-09-01 21:26:11 +02:00
Frans de Jonge
0b62fc56ee
[doc] Add NumberPickerWidget developer docs ( #5298 )
2019-09-01 15:35:29 +02:00
Frans de Jonge
37bab4fe89
[fix] Pass plain link to link:onGotoLink ( #5286 )
...
Internal links carry more baggage than external ones.
See <https://github.com/koreader/koreader/pull/5282#issuecomment-526813719 >.
2019-08-31 12:43:19 +02:00
Frans de Jonge
f1f6eebce0
[feat] Add MuPDF EPUB/FB2 dynamic font size ( #5282 )
...
Closes #4368 .
2019-08-30 13:47:51 +02:00
Frans de Jonge
be87fb27a0
[chore] Convert a couple more todos ( #5267 )
...
Cf. <https://github.com/koreader/koreader/pull/5244 >.
Also update check.
2019-08-26 15:49:50 +02:00
Frans de Jonge
2c555830f9
[feat, i18n] Implement ngettext ( #5257 )
...
Fixes <https://github.com/koreader/koreader/issues/5249 >.
See https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html and https://www.gnu.org/software/gettext/manual/html_node/Translating-plural-forms.html for more information.
Usage:
```lua
local T = ffiUtil.template
local _ = require("gettext")
local N_ = _.ngettext
local items_string = T(N_("1 item", "%1 items", num_items), num_items)
```
2019-08-24 23:06:06 +02:00
Frans de Jonge
6ed58346a1
[i18n] Add translator notes ( #5250 )
...
Thanks to <https://github.com/koreader/koreader/pull/5237 > we can now extract the knowledge currently embedded in Transifex and put it directly in our source. This positively affects <https://github.com/koreader/koreader/issues/3754 >.
Translation instructions and knowledge that comes out of localization-related questions should be preserved in the source, because Transifex is too ephemeral. For example, the links from <https://github.com/koreader/koreader/pull/2290 > are no longer accessible. Even when they are, it's quite useful to have this information around while dealing with the code as well, and I also hope it'll be informative to contributors who seldom visit Transifex.
This commit also makes a few minor changes to obviate the need for comments where possible.
2019-08-24 09:25:38 +02:00
Frans de Jonge
a2dcfe9aec
[doc] Tag @todo, @fixme and @warning ( #5244 )
...
This commit standardizes the various todos around the code a bit in a manner recognized by LDoc.
Besides drawing more attention by being displayed in the developer docs, they're also extractable with LDoc on the command line:
```sh
ldoc --tags todo,fixme *.lua
```
However, whether that particular usage offers any advantage over other search tools is questionable at best.
* and some random beautification
2019-08-23 19:53:53 +02:00
Robert
dc6d4085ea
Fix: Unable to hold top right corner in FileManager ( #5248 )
...
Close : #5247
2019-08-23 19:48:55 +02:00
Frans de Jonge
da988c15de
[CI] Switch to custom xgettext build to extract multiline strings ( #5242 )
...
Because let's face it, it just looks much better this way.
Docker image update in https://github.com/koreader/virdevenv/pull/43
Discussion in https://github.com/koreader/koreader/pull/5238#issuecomment-523675211 and https://github.com/koreader/koreader/pull/4524
2019-08-22 17:11:47 +02:00
Edoardo Putti
0906b69c06
[fix] Handle OPDS catalog responses accordingly ( #5241 )
...
- handle moved permanently HTTP 301
- handle authentication required HTTP 401
- handle authentication errors HTTP 403
- handle catalog not found HTTP 404
2019-08-22 15:37:17 +02:00
Frans de Jonge
e2ceace302
[fix, CI] Push to Transifex from master, fix multiline strings for xgettext ( #5238 )
...
Related to https://github.com/koreader/koreader/pull/5237
2019-08-22 00:12:53 +02:00
Robert
c57beada27
[chore] Remove Polish keyboard ( #5223 )
2019-08-18 12:42:38 +02:00
NiLuJe
9e4a7797c9
Honor the alpha channel in our icon for the About popup ( #5208 )
...
It ends up with a black background otherwise.
(Old regression that dates back to my alpha shenanigans a few months
ago)
2019-08-14 17:01:26 +02:00
Robert
5245bc88ff
[UX] Add horizontal edge gestures ( #5179 )
2019-08-04 19:59:20 +02:00
poire-z
a82d7832b9
Dict lookups: have them always interruptible
...
They should be now interruptible when fuzzy search is disabled
and on Android.
2019-08-03 20:38:57 +02:00
Robert
a10fc83a4a
Fix: hold bottom left corner doesn't work properly ( #5177 )
2019-08-03 20:35:48 +02:00
Robert
1743c0ca23
[UX] Extend the touch zone for up button in touch menu ( #5175 )
...
See: #5155
Close : #5155
2019-08-03 18:02:45 +02:00
Robert
a38ba01b6e
[chore] SpinWidget default_text instead of defaults_text ( #5153 )
2019-07-29 11:48:07 +02:00
Robert
b71d0a19b8
[UX] Set font size for menu items ( #5146 )
...
Ref: #4757
This PR add option to changing the font size of items in menu widget (filemanger in classic mode, TOC) in single line mode.
Close : #4757
2019-07-28 08:37:43 +02:00
Robert
1f6af80817
[feat] Make gesture intervals configurable ( #5138 )
...
Discussion: #4842
Close : #4842
2019-07-24 14:31:20 +02:00
Robert
39bf5a4677
[feat] File manager - add option to view unsupported files ( #5129 )
...
New option to show all files (also not supported by KOReader) in file manager. Default this option is disabled.
2019-07-20 17:36:41 +02:00
poire-z
0f3f2b660b
TOC: baseline align chapter name and page number
2019-07-19 22:31:28 +02:00
NiLuJe
2e7a910178
Some BookStatus QoL tweaks ( #5100 )
...
* Make the cover thumbnail respect the cover's AR in the widget
* Add a "Mark as read/unread" button in the FM's longpress menu.
* Make sure the cover_info cache is wiped if necessary (sidecar purge/BookInfo cache clear).
2019-06-28 04:46:16 +02:00
poire-z
03bbba249a
MovableContainer: avoid refresh glitches on close ( #5094 )
...
The contained widget may not have integer position/dimen
(which should probably be fixed in those that don't ensure
that), and our maths could eventually make them even more
shifted by fractional parts.
In the end, when closing the widget, the refresh code may
miss painting/cleaning 1px and leave a border of the widget
on the screen.
2019-06-26 13:48:02 +02:00
NiLuJe
4ccb1f3dd5
Allow disabling automagic image inversion in Nightmode in CRe ( #5095 )
...
* Allow disabling automagic image inversion in NightMode
Fix #4986
2019-06-26 00:23:41 +02:00
Frans de Jonge
fca51757af
[fix] OPDS crash with fewer than 4 servers ( #5092 )
...
Regression introduced in <https://github.com/koreader/koreader/pull/4249 >.
Fixes <https://github.com/koreader/koreader/issues/5091 >.
2019-06-25 19:50:01 +02:00
limerainne
53b6e3d018
[i18n] Add Korean keyboard (2-beolsik) ( #5053 )
2019-06-03 11:03:28 +02:00
limerainne
98b681bb4f
[fix] InputText: fix ignoring first char when carat not in front of hint ( #5052 )
2019-06-01 16:48:35 +02:00
poire-z
34e6f41e05
cre: fix 2 footnotes issues, bump crengine ( #5031 )
...
- Popup footnotes: workaround strange behaviour of MuPDF
which is adding some unwanted margin above elements
with an "id=" attribute.
- In-page footnotes: also remove any left and right margin,
to keep footnotes aligned with the main text.
Also add 2 classnames (witnessed in quite a few recent
french books) to the list of classic classnames.
- Also bump crengine: CSS: fix parsing of multi classnames
and attributes selectors
2019-05-18 01:29:51 +02:00
Frans de Jonge
8815cbe07a
[fix, chore] Abstract filename logic in util.getSafeFilename() ( #5026 )
...
Fixes https://github.com/koreader/koreader/issues/5025
The OPDS browser was doing some fancier stuff in a way that should be abstracted away in util (because it applies anywhere files will be saved):
eace8d25c1/frontend/ui/widget/opdsbrowser.lua (L482-L491)
2019-05-14 19:10:41 +02:00