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
Huang Xin
503b2073ce
Merge pull request #1946 from koreader/houqp-master
...
touch_probe(fix): do not filter probe touch event by range
2016-04-07 00:21:05 -05:00
Qingping Hou
f77317ac25
touch_probe(fix): do not filter probe touch event by range
2016-04-06 20:35:50 -07:00
Frans de Jonge
62f07b505e
Merge pull request #1942 from koreader/houqp-master
...
bookstatus(fix): reset self.stats on init
2016-04-06 08:16:59 +02: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
40bca1aa04
Merge pull request #1940 from Frenzie/master
...
Fix statistics translation
2016-04-04 13:16:46 -04:00
Frans de Jonge
b92e2264a1
Fix statistics translation
2016-04-04 17:39:02 +02:00
Frans de Jonge
00368f0e17
Merge pull request #1939 from koreader/houqp-master
...
kobo: fix screen probe for touch
2016-04-03 09:29:05 +02:00
Qingping Hou
eb37d9b8b6
kobo: fix screen probe for touch
2016-04-02 23:06:09 -07:00
Huang Xin
d6426ab872
Merge pull request #1930 from koreader/houqp-master
...
fix(readerrolling): crash with legacy last_per config in page mode
2016-04-02 02:18:19 -05:00
Qingping Hou
144fd170f1
uimanager(refactor): replace autosuspend if check with noop
2016-03-29 10:02:53 -07:00
Qingping Hou
e3137134f8
dbg(add): guard method to toggle assert at based at runtimemode
2016-03-28 23:38:25 -07:00
Qingping Hou
dffc42d234
fix(readerrolling): crash with legacy last_per config in page mode
2016-03-28 21:23:33 -07:00
Qingping Hou
07ecbe2b08
Merge pull request #1917 from Hzj-jie/master
...
Implement auto-suspend function for Kobo, which does not have a power management service in kernel
2016-03-28 21:14:34 -04:00
Zijie He
b86aa5a02b
Implement auto-suspend function for Kobo. Add test case for UIManager:_checkTasks, which should not clear _task_queue_dirty bit before looping.
2016-03-28 17:53:18 -07:00
Frans de Jonge
ad2ccc995e
Merge pull request #1928 from Hzj-jie/fl-fix
...
Koreader won't start on Kobo without frontlight, powerd.fl may be nil.
2016-03-28 11:50:21 +02:00
Frans de Jonge
a10dc6ea02
Merge pull request #1927 from koreader/houqp-master
...
restore full context on go back after a link jump
2016-03-28 10:01:20 +02:00
hzj-jie
d1e8b8098d
Koreader won't start on Kobo without frontlight, powerd.fl may be nil.
2016-03-28 15:48:50 +08:00
Qingping Hou
467199285f
minor: rename Koreader to KOReader
2016-03-27 18:50:23 -07:00
Qingping Hou
3f2944ee84
kodev: add active command
2016-03-27 17:18:45 -07:00
Qingping Hou
26f5c8861b
chore: minor style cleanup
2016-03-27 17:18:25 -07:00
Qingping Hou
e5c1ff1ef6
test(bookmark): purge doc settings before test
2016-03-27 17:17:46 -07:00
Qingping Hou
11d5b5c0a1
fix(readerlink): restore reader view context on go back
2016-03-27 16:01:56 -07:00
Qingping Hou
2d5222ef33
readerview: add get/set methods for view context
2016-03-27 15:39:59 -07:00
Qingping Hou
9b989605fd
kodev(fix): support filename with spaces in run command
2016-03-27 15:39:59 -07:00
Qingping Hou
9a3e262bb3
fix(reader.lua): typo
2016-03-21 16:30:45 -07:00
Huang Xin
35a5cbe6d5
Merge pull request #1912 from koreader/houqp-master
...
bump luajit-launcher
2016-03-21 03:36:55 -05:00
Qingping Hou
ff273158af
bump luajit-launcher
2016-03-21 01:11:55 -07:00
Frans de Jonge
cdae6e8e07
Merge pull request #1911 from koreader/houqp-master
...
fix(credocument): bump base to fix empty text search crash
2016-03-21 08:42:01 +01:00
Qingping Hou
c35aad3ae1
fix(kobo): return 0 frontlight level config to signal frontlight off state
2016-03-20 23:58:59 -07:00
Qingping Hou
a8658a7e8a
fix(credocument): bump base to fix empty text search crash
2016-03-20 23:37:14 -07:00
Frans de Jonge
3f8f759715
Merge pull request #1906 from koreader/houqp-master
...
fix toc marks in footer progress bar
2016-03-19 09:27:48 +01:00
Qingping Hou
f48d9bd6d9
fix(readerfooter): marker ticks initialization
2016-03-18 23:24:51 -07:00
Qingping Hou
6446f9d2b0
minor(reader.lua): remove unnecessary import
2016-03-18 21:11:13 -07:00
Frans de Jonge
641d741ec4
Merge pull request #1900 from koreader/houqp-master
...
write all error to crash.log
2016-03-18 09:50:07 +01:00
Qingping Hou
2f78493e9e
minor: write reader error to stderr
2016-03-17 21:55:46 -07:00
Qingping Hou
dceaa01250
minor: redirect all output to crash.log
2016-03-17 21:55:46 -07:00
Frans de Jonge
d93e1a8a8e
Merge pull request #1896 from koreader/houqp-master
...
bump bump bump
2016-03-17 15:05:50 +01:00
Qingping Hou
d208a7dbfa
kodev: add -w, -h options to run command
2016-03-16 23:05:09 -07:00
Qingping Hou
8621720d19
bump base and luajitlauncher
2016-03-16 22:57:17 -07:00
NiLuJe
589ac47bcb
Merge pull request #1891 from Frenzie/master
...
Add a comment with 'from_nickel', fixes #1889
2016-03-15 18:46:47 +01:00
Frans de Jonge
37d8336adc
Merge pull request #1890 from chrox/android_ota
...
don't update git-rev file in android ota package
2016-03-15 18:17:13 +01:00
Frans de Jonge
b8b0684e30
Add a comment with 'from_nickel', fixes #1889
2016-03-15 18:12:01 +01:00
chrox
dd9dde510c
don't update git-rev file in android ota package
2016-03-15 20:43:12 +08:00
Huang Xin
b3147c7412
Merge pull request #1888 from koreader/houqp-master
...
minor bookstatus fix for nexus5x
2016-03-15 20:25:04 +08:00
Qingping Hou
55fa046d49
android: set android log tag to KOReader
2016-03-13 19:49:13 -07:00
Qingping Hou
e9a5624373
fix(bookstatus): enforce status page height to screen height
2016-03-13 19:48:28 -07:00
Qingping Hou
959bf732af
bump base
2016-03-13 18:38:09 -07:00