Commit Graph

1809 Commits (e91b7bd266d21b7d1170217cbcf188b1892a2518)

Author SHA1 Message Date
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
;).
10 years ago
NiLuJe c6a3f9002c Tweak the H2O viewport to make it pixel-perfect.
As confirmed by checking a fb dump via fbgrab, and nickel's
broken cropping of screenshots ;).
10 years ago
chrox d345f21c39 Fix sdcv on Android cannot handle morphological changes 10 years ago
chrox 932df2a2f9 Refactor out string.gsplit to util.gsplit 10 years ago
chrox 98515a2210 Fix filemanager cp/mv/rm operations not work on Android 10 years ago
chrox 402806d32b Dictionary on Android
Stardict dictionary files should be copied to
/sdcard/koreader/data/dict/ directory.
10 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.
10 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?
10 years ago
chrox ebdd374c93 Add 'input page number' function in filemanager
by holding on the page info label at the buttom of the filemanager
10 years ago
chrox 263309d0f3 Add option to disable swipe to go back
and add a menu entry "Go back".
This should fix #1443.
10 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.
10 years ago
chrox cfffb44c9d Fix no hardware key bindings on Android 10 years ago
chrox 0788709f26 Popup goto dialog only when holding on visible status bar 10 years ago
chrox 946f527bb5 Remember scroll mode in flipping mode
This is a follow-up workaround on #1439.
10 years ago
chrox 8836225cec fix freeze when register for KOSync on Kindle 10 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.
10 years ago
chrox ff3a42e503 typo fix of #1462 10 years ago
chrox d3bb0d159a disable Turbo on Android to save precious mcode
This is a workaround to fix #1456.
10 years ago
chrox 72012e97e1 disable reflow options when reflow is not ON
This should also fix #1061.
10 years ago
chrox 90a5e09bdc disable highlight in dict window if it's highlighted already
This should fix #1418.
10 years ago
chrox 2ad21dcaa2 only strip punctuations when highlight to search
This should fix #1419.
10 years ago
chrox 83cad1c61c larger page margin as a workaround to fix #1422 10 years ago
chrox daeefff741 fix #1433 10 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.
10 years ago
chrox 3224eb1797 fix inproper variable name for pages left 10 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.
10 years ago
chrox ea76d91ed4 save zoom mode in flipping mode
This is a workaround to fix #1439.
10 years ago
chrox 35abf4bfaf move minibar configurations to reader menu
and fix #1446 by adding progress percentage in minibar.
10 years ago
chrox cf124eb72f refresh menu instead of closing if menu item is a check option 10 years ago
chrox ae9f99744d flush setting before showing screensaver 10 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).
10 years ago
chrox d7faba5b5c request from async http client only accept one callback
and error should be checked in the callback
10 years ago
chrox 0191dc6530 revert busted to v1.10.0 to avoid segmentation fault in testing 10 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.
10 years ago
chrox 5c9a9198fb add Document:fastDigest method to calculate document hash without performance overhead 10 years ago
chrox 07ff30f89c add md5:update and md5:sum methods 10 years ago
Huang Xin b56c01c382 Merge pull request #1423 from Markismus/master
Update networkmgr.lua
10 years ago
Markismus a32c3b3879 Update networkmgr.lua
Corrected a typo.
10 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.
10 years ago
chrox 3a0960d391 goto current toc entry automatically when open TOC window 10 years ago
chrox 5b76805911 disable follow link by default because it may cause trouble in reflowing mode 10 years ago
chrox 1894e71b07 don't expand toc node when it's parent node is collapsed 10 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.
10 years ago
chrox 906c91f0ad add page-button support for Kindle Voyage 10 years ago
chrox 17f1498156 fix successively set landscape rotate the screen 10 years ago
chrox 5d79158602 fix cannot save document if exit directly after highlighting in PDF 10 years ago
chrox f22a53affd screen orientation won't change when going into filemanager
and filemanager remembers screen orientation at exit
This should fix #1338.
10 years ago
chrox ca6b3d7e33 fix #1373 by checking the pos0 and pos1 of selected text 10 years ago
chrox 02d61115dc fix some part of the screen not refreshed when togglering nightmode 10 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.
10 years ago
chrox 720ab191ab fix crash when opening TOC window in scroll mode of EPUB 10 years ago
chrox 10db20f289 don't add duplicated bookmark and can delete bookmark
This should fix #1397.
10 years ago
chrox 1e8f07629f don't pop-up TOC window 10 years ago
chrox c6f6699644 fix empty menu widget won't trigger screen refresh
This should fix #1398.
10 years ago
chrox 07586cea71 strip punctuations around word before searching
This should fix #1337.
10 years ago
chrox 3f691bab93 add stable OTA channel
This should fix #1353.
10 years ago
chrox db064fc009 add toggle wifi status on PocketBook 10 years ago
chrox d0b450efde refresh battery capacity when going out of suspend
This should fix #1383.
10 years ago
NiLuJe 06bf4a2199 Fix input on KT2 devices (re #1403) 10 years ago
chrox a40c172c47 fix mupdf rendering caused by FONTDIR env var
It turns out that one of our mupdf patch reads the FONTDIR env var
and uses it in a totally different way so we will use another env var
EXT_FONT_DIR to define external font directory for different platforms.
10 years ago
chrox 077517be0b add FONTDIR env variable
to support custom font directory for EPUB documents

Now Koreader could find fonts in the "fonts" directory in the USB root
directory of kindle, Kobo and PocketBook devices, thus no need to copy
fonts to "koreader/fonts" directory.
10 years ago
chrox 9d13d4189b fix no eink optimization on all devices 10 years ago
chrox 375070867b fix crash when checking ota on some devices 10 years ago
chrox c11a2bbf1e fix ota update for PocketBook 10 years ago
chrox 29c15518b0 fix wrong PgBack/PgFwd key binding 10 years ago
chrox 49e672d599 totally disable rotation gesture to change screen orientation 10 years ago
chrox 291f088d94 update koreader-base for multi-touch support on PocketBook 10 years ago
chrox d94d7d3aa7 fix PgFwd/PgBack cannot turn page in PDF scroll mode 10 years ago
chrox 6a06cfaea5 refactor out flush settings when device goes into screensaver 10 years ago
chrox a5b90588ae add powerd for PocketBook device 10 years ago
chrox 96e9bb0701 partial refresh screen when koreader goes to forground 10 years ago
chrox 5c4651a3d9 auto launch koreader when opening PDF/DJVU/EPUB/FB2 files in pocketbook 10 years ago
chrox 7ac36a460c handle keyboard events in pocketbook 10 years ago
chrox 6894c11640 fix typo 10 years ago
chrox 1cba495fe0 add PocketBook port of Koreader 10 years ago
Hans-Werner Hilse d016858d75 only device event0 and event1 do exist, remove others. 10 years ago
Hans-Werner Hilse c28d973941 fix: load input driver before configuring it 10 years ago
Hans-Werner Hilse 0b5545f125 rump implementation for PocketBook devices, to be extended. 10 years ago
Michael Hall 9a66805b5a Handle Kobo Touch Key 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
Qingping Hou 6ed8f30f35 fix: empty item_table crashes menu widget 10 years ago
chrox b403a45228 fix OTA server broken on checking stable release 10 years ago
Hans-Werner Hilse 05503791b4 issue a full refresh when changing rotation 10 years ago
chrox 8555f24c45 make sure refresh_count is incremented by only once at most for each repaint 10 years ago
chrox b3d79b053a workaround to fix #1340 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
Hans-Werner Hilse 7c1c072b21 fix for rotated document to file manager transition: do a refresh
fixes part 2 of #1333
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
chrox ef6235e4ae fix #1305 10 years ago
chrox 6c9b7facbe fix crash when removing highlighted bookmarks in PDF 10 years ago
variousvirgil 9c69c1f14e Fix #1299 10 years ago
Hans-Werner Hilse 3d73ff5ae7 only open frontlight device on Kobo devices that actually have light 10 years ago
chrox eea6f97796 fix #1319 10 years ago
chrox aa9566205b fix filemanager cannot remember sorting order 10 years ago