Qingping Hou
2cf4e77ae5
readerui(chore): rename _running_instance
2016-05-02 22:42:19 -07:00
Qingping Hou
42dde82c43
uimanager(minor): simplify suspend event handler's signature
2016-05-02 22:42:05 -07:00
Qingping Hou
887d9942ed
Merge pull request #1992 from lgeek/master
...
RFC: Offer to power off if the power button is held for at least 3 seconds
2016-05-01 22:48:07 -07:00
Cosmin Gorgovan
19338cb439
Kobo: Offer to power off if the power button is held for at least 3 seconds
2016-05-01 14:09:21 +01:00
Cosmin Gorgovan
18c0cee18f
UIManager: add method for broadcasting an event to all widgets
2016-05-01 13:48:21 +01:00
Qingping Hou
2bcc3671c5
scrolltextwideget(fix): listen to page fwd/bck events
2016-05-01 00:51:50 -07:00
Qingping Hou
0f3eeb24c9
progressbar(fix): persist progressbar visibility
2016-04-28 01:25:18 -07:00
Qingping Hou
eb71d29716
kodev(minor): fix arg test
2016-04-23 21:22:57 -07:00
Qingping Hou
0166ff8add
reader(fix): force draw info message before loading document
...
Since the doShowReader will run in nextTick, it will get picked up by
checkTask, which is in the beginning of next UI loop and blocks
UIManager from redrawing the screen for the info popup.
2016-04-23 21:17:38 -07:00
Frans de Jonge
89a4b49c8b
Merge pull request #1987 from chrox/fix_landscape_opening_dialog
...
fix 'opening file' dialog not centered in landscape
2016-04-23 17:58:19 +02:00
chrox
6e723237ba
fix 'opening file' dialog not centered in landscape
...
by setting the timeout to 0.0 seconds so that when the screen
is turned to landscape the dialog is already closed.
2016-04-23 23:09:34 +08:00
chrox
92184f0199
fix #1985 by always return to the parent dir of current doc in the FileManager
2016-04-23 22:57:19 +08:00
Hzj_jie
51327911f2
Won't track missing files in history, and always keep latest timestamp
2016-04-21 20:37:16 -07:00
Qingping Hou
d7b1b403c1
progresswidget(fix): ignore nil self.last
2016-04-20 23:16:40 -07:00
Qingping Hou
0226efc4cd
readerfooter(minor): just incase self.pages is nil
2016-04-20 23:12:07 -07:00
Qingping Hou
572412b1f6
readerrolling(fix): detect end of book properly
2016-04-20 23:12:07 -07:00
Qingping Hou
26ecc6035a
bookstatus: cache total pages
2016-04-20 23:12:07 -07:00
Qingping Hou
f0cc8749b6
Merge pull request #1977 from Hzj-jie/migrate-history
...
Migrate history folder into sdr - A new history.lua file and ReadHistory component
2016-04-21 02:11:10 -04:00
Zijie He
667e8834ad
Migrate history folder, FileManagerHistory uses own history.lua file and ReadHistory component
2016-04-20 22:44:44 -07:00
Zijie He
f33f78cf08
Add an ignore_power_sleepcover setting to ignore Kobo power_sleepcover keycode
2016-04-20 10:21:09 -07:00
frankyifei
73f7d860cd
imagewidget fix
...
bring back the old behavior: when width and height are set and all the
zooming options are false, zoom the image to that size. The last commit
to Imagewidget.lua caused it ignores the set width and height and use
the image's original size instead when no zoom option is set. This
caused #1979 . Although #1979 can be fixed by setting autostretch=true,
but I think it's good to fix here.
2016-04-20 01:16:27 +09:30
Qingping Hou
e9b9bbadcc
fix: luacheck
2016-04-19 00:59:02 -07:00
Qingping Hou
c22a3747d8
fix all the tests
2016-04-19 00:01:28 -07:00
Qingping Hou
a049eddcbc
bookmark(fix): bookmark comparison for crengine
2016-04-18 23:51:06 -07:00
Qingping Hou
790472fb38
Merge pull request #1969 from Hzj-jie/screen-saver
...
Update ImageWidget to support more stretch settings, and enable screensaver on kobo
2016-04-18 21:56:07 -04:00
Hzj_jie
0fb5d5f6fc
Fix a naming, which breaks coding style
2016-04-17 22:32:51 -07:00
Hzj_jie
1be9264a0c
Resolve review comments
2016-04-17 22:30:46 -07:00
Frans de Jonge
5638819f25
Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader.
2016-04-16 12:37:08 +02:00
Zijie He
0b59d501a6
Merge remote-tracking branch 'upstream/master' into screen-saver
2016-04-15 13:21:55 -07:00
Zijie He
7d4bd076f7
Resolve review comments
2016-04-15 13:21:39 -07:00
NiLuJe
d4e5746eb3
Unbreak toggling the fL on Kindles
...
Fix #1960
2016-04-15 16:51:41 +02:00
Allan Nordhøy
bc16ed5035
Spelling of calibre and KOReader. Ellipsis.
2016-04-15 15:04:41 +02:00
Zijie He
865b2a8f90
Update ImageWidget to support more stretch settings, and enable screensaver on kobo
2016-04-14 17:42:54 -07:00
Zijie He
6eeac33ad1
*.sdr folders are not excluded in folder item count
...
Bug #1966
2016-04-14 14:13:53 -07:00
Zijie He
ccd95b80fa
Prefer sdr folder to history folder
2016-04-14 12:50:02 -07:00
Hzj_jie
3cf4e79f62
Use Screen:scaleBySize to auto scale virtual keyboard size
2016-04-11 23:36:03 -07:00
NiLuJe
f43cbc74e6
Always forcibly wake the H2O IR grid on wakeup
...
Fix #1862
Fix #1943
2016-04-09 17:51:39 +02: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
eb37d9b8b6
kobo: fix screen probe for touch
2016-04-02 23:06:09 -07: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
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
Qingping Hou
467199285f
minor: rename Koreader to KOReader
2016-03-27 18:50:23 -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