Commit Graph

279 Commits (02938163b9b425e1353e524266f4ce2dd2f69d8d)

Author SHA1 Message Date
Qingping Hou f09f6e0db8 Merge pull request #1621 from Frenzie/readerfont
Fix set default or fallback font string isn't picked up by lua_xgettext
9 years ago
Frans de Jonge 30a95c8fc3 Fix set default or fallback font string isn't picked up by lua_xgettext 9 years ago
NiLuJe a4ebfee83b Handle the PW3
(Dry-coded, assume it's basically a PW2 w/ the KV screen ;p)
9 years ago
Frans de Jonge f84b537954 Make 'default' and 'fallback' strings translatable 9 years ago
Frans de Jonge e935ef3ada Merge pull request #1615 from frankyifei/2015-9-3
implement GUI dialog for setting crengine fallback font
9 years ago
frankyifei 059de23037 implement GUI dialog for setting crengine fallback font 9 years ago
Frans de Jonge f1e8710f0f Implement persistent global style setting 9 years ago
Frans de Jonge f9d415642a Fix clear external styles not persistent in document settings
References #1601
9 years ago
chrox ec1d9e4b7d partial refresh after deleting highlights
This should fix #1558.
9 years ago
chrox 612ee99707 dictionary lookup now supports phrase
This should fix #1537.
9 years ago
Qingping Hou 186673587e chore: fix some of the luacheck errors 9 years ago
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
;).
9 years ago
chrox d345f21c39 Fix sdcv on Android cannot handle morphological changes 9 years ago
chrox 402806d32b Dictionary on Android
Stardict dictionary files should be copied to
/sdcard/koreader/data/dict/ directory.
9 years ago
chrox 263309d0f3 Add option to disable swipe to go back
and add a menu entry "Go back".
This should fix #1443.
9 years ago
chrox 0788709f26 Popup goto dialog only when holding on visible status bar 9 years ago
chrox 946f527bb5 Remember scroll mode in flipping mode
This is a follow-up workaround on #1439.
9 years ago
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.
9 years ago
chrox ff3a42e503 typo fix of #1462 9 years ago
chrox 90a5e09bdc disable highlight in dict window if it's highlighted already
This should fix #1418.
9 years ago
chrox 2ad21dcaa2 only strip punctuations when highlight to search
This should fix #1419.
9 years ago
chrox 3224eb1797 fix inproper variable name for pages left 9 years ago
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.
9 years ago
chrox ea76d91ed4 save zoom mode in flipping mode
This is a workaround to fix #1439.
9 years ago
chrox 35abf4bfaf move minibar configurations to reader menu
and fix #1446 by adding progress percentage in minibar.
9 years ago
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).
9 years ago
chrox 3a0960d391 goto current toc entry automatically when open TOC window 9 years ago
chrox 5b76805911 disable follow link by default because it may cause trouble in reflowing mode 9 years ago
chrox 1894e71b07 don't expand toc node when it's parent node is collapsed 9 years ago
chrox 5d79158602 fix cannot save document if exit directly after highlighting in PDF 9 years ago
chrox f22a53affd screen orientation won't change when going into filemanager
and filemanager remembers screen orientation at exit
This should fix #1338.
9 years ago
chrox ca6b3d7e33 fix #1373 by checking the pos0 and pos1 of selected text 9 years ago
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.
9 years ago
chrox 720ab191ab fix crash when opening TOC window in scroll mode of EPUB 9 years ago
chrox 10db20f289 don't add duplicated bookmark and can delete bookmark
This should fix #1397.
9 years ago
chrox 1e8f07629f don't pop-up TOC window 9 years ago
chrox 07586cea71 strip punctuations around word before searching
This should fix #1337.
9 years ago
chrox 49e672d599 totally disable rotation gesture to change screen orientation 9 years ago
chrox d94d7d3aa7 fix PgFwd/PgBack cannot turn page in PDF scroll mode 9 years ago
chrox 1cba495fe0 add PocketBook port of Koreader 10 years ago
Hans-Werner Hilse f789913702 read global default value for margin size
The global configuration wasn't evaluated before
10 years ago
Hans-Werner Hilse a4571c297e read global default value for using embedded stylesheets
The global configuration wasn't evaluated before.
Fixes #1364.
10 years ago
Hans-Werner Hilse 05503791b4 issue a full refresh when changing rotation 10 years ago
chrox d9fa97df5a fix #1336 by ignoring uncompatiable saved highlights 10 years ago
Hans-Werner Hilse bb5254022d fix: save properly last open menu in reader
20fd6f902e missed the saving part when
renaming the configuration variable.

Fixes #1335.
10 years ago
chrox b0e2ce2a8b update comment about reverting full refresh in onPanRelease 10 years ago
chrox 35545169a6 zoom mode is meaningless when reflowing, so disable zoom mode options in reflow mode 10 years ago
chrox c43885b917 show debug info when JSON data cannot be decoded 10 years ago
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.
10 years ago
chrox b767394fc2 fix #1150 by adding FOLLOW_LINK_TIMEOUT variable 10 years ago