Hzj_jie
3cf4e79f62
Use Screen:scaleBySize to auto scale virtual keyboard size
2016-04-11 23:36:03 -07:00
chrox
f3e0d44cc4
disable jit on some modules on android
...
to make koreader on Android more stable
and with these opt params:
```
require("jit.opt").start("sizemcode=64","maxmcode=64", "hotloop=10000")
```
The strategy here is that we only use precious mcode memory (jitting)
on deep loops like the several blitting methods in blitbuffer.lua and
the pixel-copying methods in mupdf.lua. So that a small amount of mcode
memory (64KB) allocated when koreader is launched in the android.lua
is enough for the program and it won't need to jit other parts of lua
code and thus won't allocate mcode memory any more which by our
observation will be harder and harder as we run koreader.
2016-04-07 23:43:58 +08:00
Qingping Hou
7c46cb3eda
bookstatus(fix): reset self.stats on init
2016-04-05 21:48:27 -07:00
Qingping Hou
2a2643bdb5
Revert "bookstatus(fix): reset self.stats on init"
...
This reverts commit be8ceb84b4
.
2016-04-05 21:47:48 -07:00
Qingping Hou
be8ceb84b4
bookstatus(fix): reset self.stats on init
2016-04-05 21:43:20 -07:00
Qingping Hou
f48d9bd6d9
fix(readerfooter): marker ticks initialization
2016-03-18 23:24:51 -07:00
Qingping Hou
2f78493e9e
minor: write reader error to stderr
2016-03-17 21:55:46 -07:00
Qingping Hou
e9a5624373
fix(bookstatus): enforce status page height to screen height
2016-03-13 19:48:28 -07:00
Qingping Hou
fad50772ce
minor: fix luacheck errors
2016-03-06 22:47:24 -08:00
Qingping Hou
b0d4915977
progressbar: fix infill offset in bookstatus
2016-03-06 22:45:41 -08:00
Qingping Hou
10ded583b9
minor: adjust kvpage and dictlookup for new closebutton
2016-03-06 22:45:41 -08:00
Qingping Hou
34e0238b6f
readermenu: move book status to info tab & minor cleanup
2016-03-06 22:45:41 -08:00
Qingping Hou
a99ab5a976
bookstatus: adjust layout and spacing for bookstatus page
2016-03-06 22:45:40 -08:00
Qingping Hou
0772fd1439
touchmenu: fix menu height calculation
2016-02-28 13:32:25 -08:00
chrox
529cb801c1
fix broken extended InputDialog components
...
eg. LoginDialog and MultiInputDialog
since the style refactoring in #1783 .
2016-02-21 23:30:06 +08:00
Qingping Hou
8e35a6e4ab
fix inputcontainer
2016-02-18 21:21:19 -08:00
Qingping Hou
4598284bbb
fix(readerfontlight): crash in toggle
2016-02-17 09:53:29 -08:00
Qingping Hou
87c28a72cf
doc: update closebutton
2016-02-15 23:21:36 -08:00
Qingping Hou
6a6469fa09
more luacheck fixes
2016-02-15 22:34:28 -08:00
Qingping Hou
3c647ff244
minor: various luacheck fixes
2016-02-15 18:08:04 -08:00
Qingping Hou
3bec9cea89
ui(kvpage) truncate title/key/value if it's too long
2016-02-15 17:56:13 -08:00
Qingping Hou
59c17ef420
minor: more luacheck fixes
2016-02-15 01:33:48 -08:00
Qingping Hou
11ee8d6fcc
refactor: use new KeyValuePage widget for displaying statistics
2016-02-14 21:54:17 -08:00
Alex Pletnev
fbf98ed920
#1710 FR: Add support of statistics plugin for pdf
2016-02-12 16:55:02 +02:00
Alex Pletnev
a6ebbe9adb
#1807 FR: Add separator into menu
2016-02-11 18:47:27 +02:00
Qingping Hou
8f4fae7a09
minore: more static check fixes
2016-02-10 10:30:05 -08:00
Qingping Hou
ba1ef91df2
minor: translate progress bar text with template
2016-02-09 23:10:37 -08:00
Qingping Hou
b8ee33871f
style: clean up statuswidget a bit
2016-02-09 23:01:19 -08:00
Alex Pletnev
c0a2b3d4d9
#1730 Create complete book feature
2016-02-09 14:51:55 +02:00
Qingping Hou
7625621c84
feat(ui): support text alignment in TextBoxWidget
2016-02-08 23:16:06 -08:00
Alex Pletnev
0f9bfbf147
#1730 Create complete book feature
2016-02-08 18:16:55 +02:00
Qingping Hou
5a3b9c6856
style: make staick-check happier
2016-01-31 15:08:24 -08:00
Qingping Hou
59e791db82
feat: support numeric input for keyboard only devices
2016-01-31 15:08:13 -08:00
Qingping Hou
0a492bee3c
add(ui): topcontainer
2016-01-31 14:58:06 -08:00
Qingping Hou
68ead0c9b2
feat(inputcontainer): support showing inputcontainer without content
2016-01-31 14:58:05 -08:00
Qingping Hou
72b0b8197b
style(inputdialog): rename self.input to self.input_widget
2016-01-31 14:58:05 -08:00
Qingping Hou
6fe9f7870b
chore: more luacheck fixes
2016-01-03 01:18:54 -08:00
Qingping Hou
3b92bdc084
feat: support screenshot in filemanager
2016-01-03 00:47:44 -08:00
Qingping Hou
4759def09c
chore: fix static-check errors
2016-01-02 23:45:23 -08:00
chrox
394c9cf948
fix dimen returned by getSize used as dimen in inputcontainer
2015-10-26 23:53:07 +08:00
Qingping Hou
46aed752c7
Merge pull request #1680 from erosennin/opds-title
...
OPDS: fix parsing entry titles on ManyBooks (and possible other sites)
2015-10-18 15:43:55 -07:00
Qingping Hou
8cff0f3ba9
Merge pull request #1679 from erosennin/opds-author
...
OPDS: include author's name into the file name
2015-10-18 15:40:42 -07:00
Andrey Golovizin
63e0605080
OPDS: fix entry titles on ManyBooks
2015-10-18 21:39:29 +02:00
Andrey Golovizin
dbac03e5f4
OPDS: include author's name into the file name
2015-10-18 19:54:54 +02:00
chrox
2216ddd796
hold to lookup word in dict window
...
This should close #1541 .
2015-10-18 20:47:48 +08:00
NiLuJe
bfb2ee703a
Force poll the battery when showing the menu.
...
Making sure to always show up to date info.
Also fix the battery polling cache invalidation logic to actually
work?
Should make it behave properly on devices where we handle resuming
ourselves.
2015-10-16 02:49:39 +02:00
chrox
8b85cbf157
add support for password protected zip/cbz documents
2015-10-06 21:18:31 +08:00
chrox
e91b7bd266
set foucus of button table only if the device has a dpad
...
so that Kindle Voyage won't show a highlighted button in
confirm dialog.
2015-09-27 09:05:40 +08:00
chrox
9e91512f5f
add custom sync server option in Kosync plugin
...
This should fix #1619 .
2015-09-17 23:28:42 +08:00
Huang Xin
d393fbb180
Merge pull request #1628 from apletnev/#1581
...
Add Statistic plugin (#1581 Amount of hours spent on a book)
2015-09-16 19:55:26 +08:00