2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

2007 Commits

Author SHA1 Message Date
Qingping Hou
476e35708d inputdialog(feat): add is_enter_default attribute to buttons 2016-05-25 23:09:49 -07:00
Qingping Hou
60587e08c6 defaults(refactor): remove global hack in filemanagersetdefaults
also added screensaver folder setting dialog for kobo
2016-05-25 22:07:20 -07:00
Zijie He
882a815f6c Use default font if settings.reader.lua does not provide one. Provide a Toggle button if readerfooter gesture actions are disabled. 2016-05-22 22:32:57 -07:00
NiLuJe
103e4eaeb8 Use the GloHD quirks on the Touch 2.0...
re #2005
2016-05-15 20:44:07 +02:00
NiLuJe
9a7c46e8f5 Unbreak previous commit
Weeeeee!
2016-05-15 20:44:07 +02:00
NiLuJe
467e65be3d Don't crash on the Kobo Touch 2.0
I wouldn't go so far as to say "support", though, since I don't have the
device, and the touch protocol might be wrong ;).

re #2005
2016-05-15 20:44:07 +02:00
chrox
4c491b5ee2 rename 'Highlight' to 'Highlight options' in menu
This should fix #2023.
2016-05-14 12:20:01 +08:00
Zijie He
1aa0c4192a Multi-line toggle switch & add instruction to resolve sdcv build error. 2016-05-09 21:59:33 -07:00
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