2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

5619 Commits

Author SHA1 Message Date
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
019513f785 Prevent crash Timer in Filemanager (#3237) 2017-09-18 19:53:06 +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
Frans de Jonge
4360837e3b [Android] Update to NDK 15 (#3233)
Also improve SDK installation for ease of setting up development system.

This also puts in place most of the missing pieces to finish the intent in #3064.
2017-09-17 16:04:43 +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
Frans de Jonge
110c882bba Bump android-luajit-launcher (fixes nightly build) (#3229) 2017-09-17 09:10:25 +02:00
Frans de Jonge
70e6aa9093 Bump android-luajit-launcher (#3227)
Part of the spirit of #3064. Making it easier to test different things.
2017-09-16 18:25:39 +02:00
poire-z
79dca8e245 [UX] Wikipedia save as EPUB: allow for aborting download (#3224) 2017-09-16 17:25:47 +02:00
Frans de Jonge
24948e9c4f kodev: add --graph option for rudimentary memory use tracking (#3209)
Usage:
`./kodev run --graph`
2017-09-16 17:01:31 +02:00
Robert
2c3936ddb4 Refactoring readerfooter statistics - TB and TC (#3223) 2017-09-16 13:36:54 +02:00
Frans de Jonge
5ea7c703e0 README.md: add Android p7zip-full requirement 2017-09-16 00:11:48 +02:00
Frans de Jonge
b7137acb29 Bump base (#3222)
Fixes #3212.
2017-09-15 23:03:01 +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
Frans de Jonge
e566a7ffc6 kodev: add hidpi shortcut and dpi argument (#3208)
* [doc] also generate base ffi doc
* kodev: add hidpi shortcut and dpi argument
* Bump base
2017-09-14 13:19:20 +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
b617efa21f Disable Current book when statistics are disabled (#3210) 2017-09-12 18:35:23 +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
Robert
392209c200 Change message after import (#3197) 2017-09-10 13:12:19 +02:00
Robert
c948472b66 On monthly statistics we can see the daily stats (#3175) 2017-09-09 20:19:05 +02:00
Robert
807c4a256d Fix problem with import old .stat files (#3195) 2017-09-09 20:18:16 +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
Hzj_jie
12af617b46 Revert last change to autofrontlight.koplugin 2017-09-05 12:30:55 -07: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