Huang Xin
a4e1a3ba5e
reflect changes in koreader/android-luajit-launcher#62 ( #3254 )
2017-09-24 05:58:34 +08:00
Frans de Jonge
36478262bf
[UX] Smaller top menu icons ( #3253 )
2017-09-23 22:01:30 +02:00
Frans de Jonge
a6be301695
Added Size module
2017-09-23 20:24:45 +02:00
Frans de Jonge
9eb073a524
[travis] Add protection against unscaled sizes
...
As pointed out by @poire-z
* [fix, UX] SkimToWidget scaling
* [fix] Button scaling
* [fix, UX] Scale ProgressWidget
* [fix, UX] Scale confirmbox
* [fix, UX] Scale just about everything
2017-09-23 20:24:45 +02:00
Frans de Jonge
8babe57106
[fix] ReaderGoto button order
2017-09-23 20:24:45 +02:00
Frans de Jonge
cfb039a91b
[fix] Scale ImageWidget by screen size as well as DPI
...
Fix #3204
2017-09-23 20:24:45 +02:00
Robert
bdf02f14aa
Add bookmark browsing mode to menu ( #3248 )
2017-09-23 18:25:22 +02:00
poire-z
4d18ac1100
Some History fixes and enhancements ( #3247 )
...
Made the onHold buttons table similar to the one of File browser.
Added "Purge .sdr" and "Delete" to these buttons.
Moved the purgeSettings and removeFileFromHistoryIfWanted
logic into filemanagerutil functions.
Stay on the same page when manipulating history (previously, we were
always put back on first page).
Really keep deleted files in history (unless setting says otherwise).
Show deleted files in grey or dimmed in classic History and all
CoverBrowser display modes.
2017-09-22 18:24:38 +02:00
poire-z
47139266b2
Dict lookup: allow cancelling with tap
...
base bumped for ffi/util.getNonBlockingReadSize(luafile)
2017-09-20 23:09:59 +02:00
poire-z
de54ef5ae6
Added Trapper module, for simple interaction with UI
...
This module provides methods for simple interaction with UI, without
the need for explicit callbacks, for use by linear jobs between
their steps.
Uses coroutines, but their usage is hidden by a simple API.
Factored out of Wikipedia:createEpubWithUI().
2017-09-20 23:09:59 +02:00
poire-z
5828ef8f1c
Fix potential crash when clearing hold highlight ( #3241 )
...
A delayed clear() could reset hold_pos while a onHold/onHoldPan/
onHoldRelease is in progress, resulting in hold_pos becoming nil and
a crash.
2017-09-20 17:35:30 +02:00
poire-z
941d77f6bc
Reduce unhighlight delay when closing dict ( #3239 )
2017-09-19 22:48:30 +02:00
Robert
5258643a85
Add a date setting ( #3234 )
2017-09-18 19:04:36 +02:00
mwoz123
ae66a367c2
Android fullscreen switcher ( #2938 )
2017-09-17 20:29:49 +02:00
Robert
d4a4bb2b55
Refactor TimeWidget and add NumberPickerWidget ( #3232 )
2017-09-17 16:41:54 +02:00
poire-z
80d8e44bde
Fix Wiki save as epub crash on certain pages ( #3231 )
...
* Fix Wiki save as epub crash on certain pages
When first images don't have a height or width attribute
2017-09-17 15:48:47 +02:00
poire-z
79dca8e245
[UX] Wikipedia save as EPUB: allow for aborting download ( #3224 )
2017-09-16 17:25:47 +02:00
Robert
2c3936ddb4
Refactoring readerfooter statistics - TB and TC ( #3223 )
2017-09-16 13:36:54 +02:00
poire-z
0122c086f2
Fix crash on exit on Kobo devices with no frontlight ( #3221 )
2017-09-15 20:05:46 +02:00
Robert
7c88bad189
[fix] Statistics settings reset to default when on save without change ( #3188 )
...
* Fix : #3186
2017-09-14 22:31:25 +02:00
Robert
e5eb015f1b
Statistics in bookstatuswidget ( #3218 )
2017-09-14 22:29:09 +02:00
poire-z
f5a6e32887
Fix wrong page when tap on link ( #3217 )
...
Closes #3216
2017-09-14 13:01:09 +02:00
Frans de Jonge
161cae6b3a
[UX] Document settings language simplification ( #3215 )
...
As suggested by @comradekingu in https://github.com/koreader/koreader/pull/3165#issuecomment-326795203
2017-09-13 12:44:37 +02:00
Allan Nordhøy
3f24514a8d
Set Rendering Style, and Comments ( #3165 )
2017-09-13 12:16:42 +02:00
poire-z
bccbf95080
Add horizontal_padding to IconButton ( #3213 )
...
TouchMenu (top menu) and ConfigDialog (bottom menu) updated
to make use of that. This provides a wider sensitivity to
menu buttons.
2017-09-13 10:12:29 +02:00
Robert
56345fd8c0
Fix moving icons in config panel ( #3211 )
2017-09-12 18:34:30 +02:00
Frans de Jonge
8c9fdfbb1a
[fix] MenuSorter: don't ignore user order without counterpart in default menu ( #3166 )
...
Fixes #3164 .
2017-09-11 22:56:44 +02:00
poire-z
991b56664f
Added Swipe to follow nearest link/to jump to latest bookmark ( #3207 )
2017-09-11 22:56:15 +02:00
Frans de Jonge
a39db783c0
[SDL] Add quit through regular window manager actions ( #3206 )
...
* [SDL] Add quit through regular window manager actions
Depends on https://github.com/koreader/koreader-base/pull/506
* proper exit and fix bug in restart function as a bonus
2017-09-11 21:37:00 +02:00
Robert
85e2140ced
Show position on config panel ( #3194 )
2017-09-11 20:54:27 +02:00
poire-z
a9c1ed24b8
Show vertical marker at target position when following a link ( #3202 )
2017-09-11 17:11:04 +02:00
Frans de Jonge
1a1c1e3f80
[fix, doc] TimeVal: typo
2017-09-11 13:17:52 +02:00
Frans de Jonge
9dee6c045c
[doc] TimeVal ( #3201 )
2017-09-11 00:01:54 +02:00
poire-z
a720eaceb5
Hold on a word for more than 3 seconds to access highlight menu ( #3199 )
...
and avoid the dict lookup.
2017-09-10 20:35:27 +02:00
Frans de Jonge
164f0568b1
[fix] ReaderHighlight: remove highlight when closing popup dialog
...
See https://github.com/koreader/koreader/pull/3198#issuecomment-328339992
2017-09-10 14:39:10 +02:00
Frans de Jonge
7310937219
[fix] "Follow Link" popup issues ( #3198 )
...
* Add current location to location stack from follow link popup
See https://github.com/koreader/koreader/pull/3190#issuecomment-328332771
* Word highlight not removed
* "Follow Link" not translated
* Typo in docs
2017-09-10 14:26:49 +02:00
Frans de Jonge
f439ca0e8d
[UX] Add "Follow Link" in hold/highlight dialog ( #3190 )
...
* This way you can disable "tap to follow links" on single tap yet still follow links.
* Change menu as well as per @poire-z's suggestion.
2017-09-09 18:30:00 +02:00
poire-z
71553a5190
Change a logger.warn() back to .dbg() as it used to be
2017-09-08 23:41:45 -07:00
poire-z
75b7c4b524
Added Font Hinting toggle ( #3182 )
2017-09-08 17:38:51 +02:00
Robert
2b3b310719
Fix: Lost last document position in scroll mode ( #3183 )
2017-09-06 20:12:26 +02:00
poire-z
1e17e4c291
Fix crash when tapping on toggleswitch left or bottom borders ( #3181 )
2017-09-06 12:56:50 +02:00
Robert
2a0e424a17
Prevent crash on exit in scroll mode ( #3171 )
2017-09-05 18:22:36 +02:00
Frans de Jonge
cfaa119c35
[fix, UX] Allow modal widget on top of modal widget ( #3170 )
...
Fixes #2653 .
2017-09-05 00:01:46 -07:00
Frans de Jonge
ba7fad2cdf
[fix] Dict settings NaN in installed dicts submenu ( #3173 )
2017-09-05 07:56:05 +02:00
Frans de Jonge
829e2fffd8
[fix] MenuSorter: take care of orphaned submenus
...
See https://github.com/koreader/koreader/pull/3167#issuecomment-326805768
2017-09-04 22:55:14 -07:00
poire-z
d4fd0b9428
frontlight on kobo: a few fixes ( #3163 )
...
* frontlight on kobo: a few fixes
Rewritten to not update NickelConf on every change, and never
if KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = false.
Reintroduce global settings frontlight_intensity and
is_frontlight_on to keep level and state across koreader
sessions.
Fix a few of the remaining issues on kobo light.
Ensure settings are saved when rebooting/powering off from
File browser.
* Ensure untoggle works when starting with light off
2017-09-04 21:05:05 +02:00
Robert
dbaea8c1c8
Refresh Kindle with SO on exit ( #3168 )
2017-09-03 15:49:08 +02:00
Frans de Jonge
177485f84f
[UX] Add exit menu ( #3167 )
...
* fixes #2898 (prevents accidentally triggering reboot or poweroff)
Add ConfirmBox before reboot/power off
* increases clarity by preventing second page
* add "sleep" menu entry
* Add exit menu hold callback
2017-09-03 15:40:50 +02:00
poire-z
c24d75f18c
Fix use of default font with font-family: styles
...
Base bumped.
Previsouly, parts of document in <p style="font-family: serif">
would be rendered with the first font set, and would not
follow change of font (unline other texts without styles).
That was observable with Embedded Styles set to On, but is even
more noticiable with the new Embedded Fonts setting set to off.
2017-09-02 20:49:48 +02:00
poire-z
774d2345e0
Added Embedded Fonts config toggle
...
Just under the existing "Embedded Styles". Support for this
was already there in crengine, and interfacing is similar to
what is done with Embedded Styles.
2017-09-02 20:49:48 +02:00