Commit Graph

1755 Commits (98515a2210ba1de50dcb3e36c6335b2d71fb4079)

Author SHA1 Message Date
chrox 98515a2210 Fix filemanager cp/mv/rm operations not work on Android 9 years ago
chrox 402806d32b Dictionary on Android
Stardict dictionary files should be copied to
/sdcard/koreader/data/dict/ directory.
9 years ago
chrox fdc56f39a3 Show OTA channel info when package is unavailable
so that users could be aware that there is other channels to check.
9 years ago
chrox b1867def37 Check dns for www.example.com when geting network status
Because sometimes dns won't return for www.google.com in China,
ridiculous enough, right?
9 years ago
chrox ebdd374c93 Add 'input page number' function in filemanager
by holding on the page info label at the buttom of the filemanager
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 c2924abac4 Fix OCR fails on native djvu pages
The page_width and page_height were always 600 and 800 before this patch
rendering the OCR engine confused.

This should fix #1379.
9 years ago
chrox cfffb44c9d Fix no hardware key bindings on Android 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 8836225cec fix freeze when register for KOSync on Kindle 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 d3bb0d159a disable Turbo on Android to save precious mcode
This is a workaround to fix #1456.
9 years ago
chrox 72012e97e1 disable reflow options when reflow is not ON
This should also fix #1061.
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 83cad1c61c larger page margin as a workaround to fix #1422 9 years ago
chrox daeefff741 fix #1433 9 years ago
chrox 69e6b6b9cb hold on directory in filemanager can set the it as HOME directory
and this "HOME" directory will override the command line option passed to
koreader.

This patch implements #1434.
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 cf124eb72f refresh menu instead of closing if menu item is a check option 9 years ago
chrox ae9f99744d flush setting before showing screensaver 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 d7faba5b5c request from async http client only accept one callback
and error should be checked in the callback
9 years ago
chrox 0191dc6530 revert busted to v1.10.0 to avoid segmentation fault in testing 9 years ago
chrox 9299b9a5e8 add async http client
it uses non-blocking turbo I/O looper to process http request
so that multiple http request can be handled simultaneously and http request
won't block user input, and most importantly, in Lua's way.
9 years ago
chrox 5c9a9198fb add Document:fastDigest method to calculate document hash without performance overhead 9 years ago
chrox 07ff30f89c add md5:update and md5:sum methods 9 years ago
Huang Xin b56c01c382 Merge pull request #1423 from Markismus/master
Update networkmgr.lua
9 years ago
Markismus a32c3b3879 Update networkmgr.lua
Corrected a typo.
9 years ago
Markismus 5dd2fe0fae Update networkmgr.lua
Change from the commands from `wifi.sh` to those from `wifi_enable_dhcp.sh` from Tshering's Start Menu. See  Issue #939. Should resolve hanging of Kobo Aura H2O.
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
Cosmin Gorgovan 41045dab99 Fix charging detection for Kobo devices
I've tested this on a N905C. I assume this implementation never
worked (since charge_now is supposed to show state of charge), but
it would be useful to get a confirmation.
9 years ago
chrox 906c91f0ad add page-button support for Kindle Voyage 9 years ago
chrox 17f1498156 fix successively set landscape rotate the screen 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 02d61115dc fix some part of the screen not refreshed when togglering nightmode 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 c6f6699644 fix empty menu widget won't trigger screen refresh
This should fix #1398.
9 years ago