2
0
mirror of https://github.com/koreader/koreader synced 2024-11-04 12:00:25 +00:00
Commit Graph

271 Commits

Author SHA1 Message Date
chrox
ec1d9e4b7d partial refresh after deleting highlights
This should fix #1558.
2015-07-05 01:53:47 +08:00
chrox
612ee99707 dictionary lookup now supports phrase
This should fix #1537.
2015-06-15 18:11:47 +08:00
Qingping Hou
186673587e chore: fix some of the luacheck errors 2015-04-26 20:57:45 -04:00
NiLuJe
50dbf6b581 Switch a few widgets to ui refresh modes
More closely matches native behavior on REAGL devices.
Closing those widgets should still trigger a partial refresh though,
because we usually get back to the reader, and text, so we want REAGL
;).
2015-04-26 20:07:17 +02:00
chrox
d345f21c39 Fix sdcv on Android cannot handle morphological changes 2015-04-22 14:27:33 +08:00
chrox
402806d32b Dictionary on Android
Stardict dictionary files should be copied to
/sdcard/koreader/data/dict/ directory.
2015-04-15 20:30:27 +08:00
chrox
263309d0f3 Add option to disable swipe to go back
and add a menu entry "Go back".
This should fix #1443.
2015-04-01 18:24:01 +08:00
chrox
0788709f26 Popup goto dialog only when holding on visible status bar 2015-03-28 22:04:12 +08:00
chrox
946f527bb5 Remember scroll mode in flipping mode
This is a follow-up workaround on #1439.
2015-03-24 09:34:10 +08:00
chrox
82393f0ed3 fix loading frontend/JSON.lua for json.lua on Kindle
The VFAT file system of `/mnt/us` is case insensitive so that
require("json") from Spore which intends to load luajson module in
rock directory actually will load `frontend/JSON.lua`, the two JSON
parser libraries have slightly different APIs.

This patch remove the pure Lua JSON library in favor of `luajson` which
uses LPeg pattern marching backend for better performance.
2015-03-21 13:19:00 +08:00
chrox
ff3a42e503 typo fix of #1462 2015-03-20 21:22:14 +08:00
chrox
90a5e09bdc disable highlight in dict window if it's highlighted already
This should fix #1418.
2015-03-12 18:51:01 +08:00
chrox
2ad21dcaa2 only strip punctuations when highlight to search
This should fix #1419.
2015-03-12 17:41:23 +08:00
chrox
3224eb1797 fix inproper variable name for pages left 2015-03-12 15:51:59 +08:00
chrox
992e769aaf support goto relative page number
We can input relative page number now in the reader goto dialog.
Goto "+4" will page forward 4 pages and goto "-4" will page
backward 4 pages.

This implements #1437.
2015-03-12 15:46:01 +08:00
chrox
ea76d91ed4 save zoom mode in flipping mode
This is a workaround to fix #1439.
2015-03-12 14:52:59 +08:00
chrox
35abf4bfaf move minibar configurations to reader menu
and fix #1446 by adding progress percentage in minibar.
2015-03-12 14:35:49 +08:00
chrox
d08e22ec2e add simple sync service as a plugin
The 'KOSync' plugin will synchronize furthest reading progress
across different koreader devices after users registering their
devices.

The synchronizing service is open-sourced as the project
[koreader/koreader-sync-server](https://github.com/koreader/koreader-sync-server).
2015-03-09 20:20:36 +08:00
chrox
3a0960d391 goto current toc entry automatically when open TOC window 2015-02-03 15:34:35 +08:00
chrox
5b76805911 disable follow link by default because it may cause trouble in reflowing mode 2015-02-03 12:48:24 +08:00
chrox
1894e71b07 don't expand toc node when it's parent node is collapsed 2015-02-03 12:48:24 +08:00
chrox
5d79158602 fix cannot save document if exit directly after highlighting in PDF 2015-02-02 02:22:58 +08:00
chrox
f22a53affd screen orientation won't change when going into filemanager
and filemanager remembers screen orientation at exit
This should fix #1338.
2015-02-02 01:36:52 +08:00
chrox
ca6b3d7e33 fix #1373 by checking the pos0 and pos1 of selected text 2015-02-02 00:09:07 +08:00
chrox
e25ca27db3 auto expand the parent TOC node of current page
and fix current item of item not updated when in the last node
This should fix #1396.
2015-02-01 22:50:08 +08:00
chrox
720ab191ab fix crash when opening TOC window in scroll mode of EPUB 2015-02-01 21:52:46 +08:00
chrox
10db20f289 don't add duplicated bookmark and can delete bookmark
This should fix #1397.
2015-02-01 21:37:25 +08:00
chrox
1e8f07629f don't pop-up TOC window 2015-02-01 21:36:22 +08:00
chrox
07586cea71 strip punctuations around word before searching
This should fix #1337.
2015-02-01 17:40:45 +08:00
chrox
49e672d599 totally disable rotation gesture to change screen orientation 2015-01-18 14:59:11 +08:00
chrox
d94d7d3aa7 fix PgFwd/PgBack cannot turn page in PDF scroll mode 2015-01-18 04:34:19 +08:00
chrox
1cba495fe0 add PocketBook port of Koreader 2015-01-13 00:15:18 +08:00
Hans-Werner Hilse
f789913702 read global default value for margin size
The global configuration wasn't evaluated before
2014-12-19 14:03:56 +00:00
Hans-Werner Hilse
a4571c297e read global default value for using embedded stylesheets
The global configuration wasn't evaluated before.
Fixes #1364.
2014-12-19 13:58:03 +00:00
Hans-Werner Hilse
05503791b4 issue a full refresh when changing rotation 2014-12-05 21:25:32 +00:00
chrox
d9fa97df5a fix #1336 by ignoring uncompatiable saved highlights 2014-12-04 09:13:56 +08:00
Hans-Werner Hilse
bb5254022d fix: save properly last open menu in reader
20fd6f902e missed the saving part when
renaming the configuration variable.

Fixes #1335.
2014-12-03 16:14:30 +00:00
chrox
b0e2ce2a8b update comment about reverting full refresh in onPanRelease 2014-12-03 18:37:00 +08:00
chrox
35545169a6 zoom mode is meaningless when reflowing, so disable zoom mode options in reflow mode 2014-12-03 16:33:21 +08:00
chrox
c43885b917 show debug info when JSON data cannot be decoded 2014-12-03 14:26:00 +08:00
chrox
846836dceb fix #1275
Full refresh when highlighting text is quite annoying, I fixed it by
using 'ui' refresh type.
And this patch also fixed a bug that after cleaning temporary highlights
the screen is not refreshed.
2014-12-03 14:06:46 +08:00
chrox
b767394fc2 fix #1150 by adding FOLLOW_LINK_TIMEOUT variable 2014-12-03 12:55:53 +08:00
chrox
ef6235e4ae fix #1305 2014-12-03 11:33:54 +08:00
chrox
6c9b7facbe fix crash when removing highlighted bookmarks in PDF 2014-12-03 11:12:15 +08:00
chrox
eea6f97796 fix #1319 2014-12-02 10:35:55 +08:00
Hans-Werner Hilse
94ce08937a clean up refreshes
This is a larger clean-up of the refresh situation.
The general shift is that refreshes are now mainly triggered by
the (top-level) widgets when they get shown or closed via UIManager.

All refreshes for the widgets when they are in use were handled by
themselves before. This adds the case of showing/closing.

It is the desired result of not having UIManager:show()/:close()
do (full screen) refreshes on its own.
2014-12-01 16:03:40 +00:00
chrox
20fd6f902e fix #1175 2014-12-01 15:32:12 +08:00
Hans-Werner Hilse
e7f7417cd3 refresh only dialog part of the screen for multi-word selection window 2014-11-30 22:33:38 +00:00
Hans-Werner Hilse
8376e2f821 dictionary window triggers refresh itself, not via show() 2014-11-30 22:33:37 +00:00
Hans-Werner Hilse
c4a9903162 on finish of pan gesture when scrolling, do partial refresh
it was set to a full refresh. However, we want to behave as if in
non-scrolling mode and issue a partial refresh. That might get
updated to a full refresh if the full-refresh counter has reached
the limit - which is configurable.
2014-11-30 18:38:03 +00:00