Robert
9ea2b3dbad
Option to disable show bottom menu on top menu activation ( #3316 )
2017-10-08 12:27:53 +02:00
Frans de Jonge
d23d01643e
Add LuaData and Dictionary Lookup History ( #3161 )
...
* Add dictionary history
Fixes #2033 , fixes #2998 .
* Add LuaData
* table handling in base settings
* Add LuaData spec
2017-10-07 22:13:46 +02:00
poire-z
8c700eefd9
Avoid some full refreshes on Kindle ( #3315 )
...
"partial" refresh causes a full (without black flash) refresh on
Kindle (which uses REAGL mode for partial refresh). This causes a
full redraw of widgets, which is a bit distracting with some of them:
- dictquicklookup: when showing next definition
- infomessage: when displaying a new one (Wikipedia Save as epub)
Also fix bottom menu, that even when closed, would still register
bottom area as dirty: this would cause top menu navigation to
cause a full partial refresh, only noticable on Kindle.
2017-10-07 15:23:39 +02:00
poire-z
b7785753c6
[fix] Crash on highlight in some situations ( #3306 )
2017-10-06 15:58:58 +02:00
poire-z
b483c54be8
Fix footer, stats, TOC position with cre in scroll mode ( #3304 )
...
This gives the page position to these modules even in scroll mode.
Also, in readerrolling: don't query battery/charging status
when crengine does not need it (used only when it shows its top
progress bar).
2017-10-05 21:49:59 +02:00
poire-z
301892f4b6
[fix] Avoid multiple refreshes when opening credocuments ( #3300 )
...
Only noticeable on Kindle (which uses REAGL as partial refresh).
2017-10-05 17:12:49 +02:00
poire-z
5a2c8e4b5e
Revert 2 commits that caused crengine scroll mode side effects ( #3295 )
...
394be8a (#2855 ) and 2b3b310 (#3183 ) introduced side effects (scroll mode
crashing and TOC being reset and rebuild). This reverts parts of them
not yet reverted.
2017-10-03 21:33:12 +02:00
poire-z
26def92983
credocument reader optimisation (avoid multiple TOC builds) ( #3292 )
...
Avoid unnecessary work in ReaderView:onSetViewMode() and
ReaderRolling:updatePos() that would result in TOC being reset
and rebuilt (which can take time on books with huge TOC) during
reader setup.
2017-10-03 00:31:14 +02:00
poire-z
1a97b4289c
[Fix] Show 'Follow Link' even when no dict installed
2017-10-02 08:28:09 +02:00
poire-z
53f083f516
Allow for toggling color rendering
...
New menu item in Screen submenu.
hasColorScreen enabled for SDL device.
2017-10-02 00:10:29 +02:00
Robert
a2ea46bfdc
Rename bookmark ( #3275 )
2017-09-30 18:17:48 +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
Robert
bdf02f14aa
Add bookmark browsing mode to menu ( #3248 )
2017-09-23 18:25:22 +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
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
Robert
2c3936ddb4
Refactoring readerfooter statistics - TB and TC ( #3223 )
2017-09-16 13:36:54 +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
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
poire-z
a9c1ed24b8
Show vertical marker at target position when following a link ( #3202 )
2017-09-11 17:11:04 +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
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
Robert
2a0e424a17
Prevent crash on exit in scroll mode ( #3171 )
2017-09-05 18:22:36 +02: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
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
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
Robert
40ec848098
Remove % from frontlight level on devices other than Kobo ( #3162 )
2017-09-02 18:33:40 +02:00
poire-z
6efcfce479
Fix "Info on dictionaries ordering" string for translation ( #3156 )
2017-09-01 20:42:03 +02:00
poire-z
d5924f1d3d
Use multiple sdcv -u params instead of renaming .ifo
2017-08-30 08:44:41 +02:00
poire-z
6d8d202f3b
Dict settings menu: list dicts, and allow disabling them
2017-08-30 08:44:41 +02:00
Robert
0e2d20353a
Statistics plugin v2 (SQLite) ( #2893 )
2017-08-29 17:34:49 +02:00
poire-z
7284ad4bf7
Use checkmarks with Set render style items ( #3122 )
2017-08-22 18:30:21 +02:00
poire-z
5d2bebcc0b
Added Dictionary settings and Wikipedia settings menus ( #3121 )
...
Also removed OPDS `download_dir` from the candidates to Wikipedia
"Save as EPUB" dir.
2017-08-22 17:24:31 +02:00
robert00s
6bded7aaf7
readerconfigmenu(fix): override pan gesture from scrolling
2017-08-14 11:24:40 +02:00
Robert
1bfad22af0
Fix: Footer hides text ( #3056 )
...
This patch should resolve issue #2257 (Footer hides text)
Sometimes, depending on an epub style, some text is hidden by the progress bar (the mini one at the bottom).
2017-08-08 19:06:11 +02:00
robert00s
64529b5391
Option to choose gesture to open menu
2017-08-08 18:45:14 +02:00
Robert
21c63a297e
Gesture to show only config menu ( #3051 )
...
* Gesture to show only config menu
* Show config menu from bottom
2017-08-05 21:49:00 +02:00
robert00s
4b9fc6333f
Fix: Unable to click on highlighted text in tap menu zone
2017-08-04 17:26:50 +02:00
Robert
2d89e16fab
Fix: Can't long-press lookup word inside bookmark tap zone ( #3048 )
...
* Fix: Can't long-press lookup word inside bookmark tap zone
2017-08-03 20:06:30 +02:00
robert00s
6d5859d11d
Read bookmarks without having to view ebook page
2017-07-31 20:36:06 +02:00
Robert
4d0f66a354
Fix: Unhighlight is not clickable in dictionary view and Deleting highlights in bookmarks does not take effect ( #3034 )
...
* Fix: Unhighlight is not clickable in dictionary view
* Fix: Deleting highlights in bookmarks does not take effect
2017-07-28 22:39:54 +02:00
robert00s
ba96506483
Fix event AddHightligh and add event DelHighlight
2017-07-27 20:25:26 +02:00
poire-z
64f699ba36
Store book metadata and nb of pages in new settings
...
They may already be available (with other statistics stuff) under
the 'stats' key, but not if Statistics plugin is disabled. As this
plugin may be migrated to SQLite, readerui and readerfooter will now
set two new properties: doc_props (containing all and only the metadata
returned by document:getDocumentProps()) and doc_pages (updated
by readerfooter on any display or font change).
PDF document: returns additional PDF properties: Keywords
and Subject (as Description).
2017-07-14 16:46:38 +02:00