Alexander Pletnev
c45328f14e
Add Statistic plugin ( #1581 Amount of hours spent on a book)
...
Changes based on comments
2015-09-13 22:34:20 +03:00
Alexander Pletnev
52d821df00
Add Statistic plugin ( #1581 Amount of hours spent on a book)
2015-09-07 20:06:17 +03:00
frankyifei
d0a44b9152
style
2015-08-01 19:20:10 +09:30
frankyifei
f7fb103abc
loop menu pages when it reaches ends
...
the following graph shows my idea.
1->2->3->4->5->6->7->8->9->10
└----------------------------------------┘
2015-08-01 19:14:40 +09:30
frankyifei
f7142cfcbe
fix filechooser crash on entering folder contains nil symlink
2015-08-01 19:12:40 +09:30
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
chrox
34ea9ac574
add datastorage module to handle data directory on various platform
...
On kindle, kobo and pocketbook the data directory is the current
running directory but on Android the app is installed in system
defined location and users may have no access to that location.
The same circumstances should be true for the upcoming Koreader for
Ubuntu touch, so the data directory (in which tessdata, dictionaries,
global settings, persistant defaults and probably history data are
stored) could be stored in another place.
2015-06-15 16:56:27 +08:00
chrox
8d7ebaff5d
add external font dir option for Android
2015-06-06 17:22:09 +08:00
Qingping Hou
a30fe26de0
Merge pull request #1543 from chrox/plugable-turbo
...
disable turbo lib by default
2015-06-03 12:47:07 -04:00
chrox
3ad0ea5777
refactoring: remove dead code in font module
2015-06-02 13:19:50 +08:00
chrox
c7cac7b333
disable turbo lib by default
2015-06-02 13:07:17 +08:00
Guangda Hu
7491cd7b9d
fix spaces
2015-05-15 21:57:00 -04:00
Guangda Hu
69db627136
Glo HD support
2015-05-15 17:46:16 -04:00
NiLuJe
8a8697c382
Future-proof the frontlight handling on Kindle.
...
Guard against trying to get any kind of frontlight info on devices
without one.
So far the flIntensity prop has always been there, even on devices
without one, but better not assume that'll always be the case ;).
That, and be consistent with the other lipc_handle tests.
2015-04-28 18:25:56 +02:00
chrox
d468b05567
Use turbo looper on Android
2015-04-28 11:06:38 +08:00
NiLuJe
3fdd90cf3b
Fix a few Droid font paths
2015-04-27 22:19:11 +02:00
NiLuJe
a6a2b3d6a3
Try to get the Kobo codename from the env first
...
My batch of startup script tweaks should ensure PRODUCT is always
exported.
Leave the fallback in place, to avoid blowing up in weird corner-cases I
haven't thought about.
2015-04-27 13:15:02 +02:00
NiLuJe
c9d941215b
lfs.attributes() basically does a stat()
...
Rename these variables accordingly, that kills my itch to close() random
fds ^^
2015-04-27 13:10:16 +02:00
Qingping Hou
186673587e
chore: fix some of the luacheck errors
2015-04-26 20:57:45 -04:00
NiLuJe
c847807322
Turns out that also looks better as ui refreshes
2015-04-26 20:10:18 +02: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
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 ;).
2015-04-26 19:11:47 +02:00
chrox
d345f21c39
Fix sdcv on Android cannot handle morphological changes
2015-04-22 14:27:33 +08:00
chrox
932df2a2f9
Refactor out string.gsplit to util.gsplit
2015-04-22 14:27:33 +08:00
chrox
98515a2210
Fix filemanager cp/mv/rm operations not work on Android
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
fdc56f39a3
Show OTA channel info when package is unavailable
...
so that users could be aware that there is other channels to check.
2015-04-15 13:41:00 +08:00
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?
2015-04-15 13:41:00 +08:00
chrox
ebdd374c93
Add 'input page number' function in filemanager
...
by holding on the page info label at the buttom of the filemanager
2015-04-13 14:45:05 +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
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 .
2015-03-31 10:31:02 +08:00
chrox
cfffb44c9d
Fix no hardware key bindings on Android
2015-03-29 08:59:51 +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
8836225cec
fix freeze when register for KOSync on Kindle
2015-03-21 13:19:00 +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
d3bb0d159a
disable Turbo on Android to save precious mcode
...
This is a workaround to fix #1456 .
2015-03-20 10:15:41 +08:00
chrox
72012e97e1
disable reflow options when reflow is not ON
...
This should also fix #1061 .
2015-03-16 21:51:17 +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
83cad1c61c
larger page margin as a workaround to fix #1422
2015-03-12 17:31:33 +08:00
chrox
daeefff741
fix #1433
2015-03-12 16:31:12 +08:00
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 .
2015-03-12 16:29:15 +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
cf124eb72f
refresh menu instead of closing if menu item is a check option
2015-03-12 14:19:10 +08:00