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

4783 Commits

Author SHA1 Message Date
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
Frans de Jonge
bb00055293 Merge pull request #1951 from koreader/houqp-master
fix tests & bug fix
2016-04-19 11:33:29 +02:00
Qingping Hou
bab7dda089 ci: no more crazy retry in travis 2016-04-19 01:00:31 -07:00
Qingping Hou
e9b9bbadcc fix: luacheck 2016-04-19 00:59:02 -07:00
Qingping Hou
357477b2be test: disable auto insulate 2016-04-19 00:01:35 -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
4a66036eb0 test: update test to match the new crengine typesetting 2016-04-18 23:51:06 -07:00
Qingping Hou
cc98ba7604 kodev: spawn subshell in activate command 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
Qingping Hou
2dbfcdf207 Merge pull request #1973 from Frenzie/lang
Removed a bunch of "successfully" and replaced one ellipsis.
2016-04-16 16:36:39 -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
c95a7305c2 Revert change to reader.lua 2016-04-15 13:29:35 -07: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
Qingping Hou
6f02b2ca2a Merge pull request #1964 from NiLuJe/master
Assorted FrontLight fixes ;)
2016-04-15 09:49:09 -07:00
NiLuJe
d4e5746eb3 Unbreak toggling the fL on Kindles
Fix #1960
2016-04-15 16:51:41 +02:00
NiLuJe
dfe321d87a Fix a hasFrontLight call in reader.lua...
(it's a function, not a bool ;'( ).

Fix #1961
2016-04-15 16:50:51 +02:00
NiLuJe
273fbb2ec3 Bump base 2016-04-15 16:50:51 +02:00
Frans de Jonge
8af1d333ca Merge pull request #1972 from comradekingu/master
Language fixes. Spelling of calibre and KOReader. Ellipsis instead of tripledot.
2016-04-15 15:33:02 +02:00
Allan Nordhøy
bc16ed5035 Spelling of calibre and KOReader. Ellipsis. 2016-04-15 15:04:41 +02:00
Qingping Hou
98d852801f Merge pull request #1967 from Hzj-jie/count-sdr
*.sdr folders are not excluded in folder item count
2016-04-14 20:45:05 -07: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
Frans de Jonge
ccd72a87f0 Merge pull request #1965 from Hzj-jie/sdr-first
Prefer sdr folder to history folder
2016-04-14 21:56:02 +02:00
Zijie He
ccd95b80fa Prefer sdr folder to history folder 2016-04-14 12:50:02 -07:00
NiLuJe
8c4c274e7b Merge pull request #1959 from Hzj-jie/master
Bump koreader-base to 8e39d61493257c05fe039f34fa1a6e3ae5f0eab6
2016-04-12 22:40:52 +02:00
Zijie He
903a9b904d Bump koreader-base to 8e39d61493257c05fe039f34fa1a6e3ae5f0eab6 2016-04-12 13:23:52 -07:00
Qingping Hou
af820ab627 Merge pull request #1957 from NiLuJe/master
Some Kindle startup script fixes
2016-04-12 09:25:26 -07:00
NiLuJe
66b40955c6 Tweak the timing of the previous commit a bit
On those FW, we can get an up-to-date status bar, instead of the one
from our fb dump ;).
2016-04-12 17:09:21 +02:00
NiLuJe
0a32390f21 Bump base 2016-04-12 16:17:17 +02:00
NiLuJe
a3536e28a6 Bypass a few unneeded usleep when possible
If awesome is stopped, it won't cause any trouble ;).
2016-04-12 16:17:17 +02:00
NiLuJe
879b593455 Refresh the UI properly on exit on more Kindle FW
This broadens the fix applied to FW >= 5.6.5 to the whole range of FW
5.x, because it appears to be needed on some FW 5.3.7.x versions...

Fix #1924
2016-04-12 16:17:17 +02:00
Huang Xin
c1932fc927 Merge pull request #1956 from Hzj-jie/master
Use Screen:scaleBySize to auto scale virtual keyboard size
2016-04-12 09:06:05 -05:00
Hzj_jie
3cf4e79f62 Use Screen:scaleBySize to auto scale virtual keyboard size 2016-04-11 23:36:03 -07:00
Qingping Hou
b5e3f62844 Merge pull request #1952 from Hzj-jie/master
libc6-dev-i386 is required to build kobo / kindle version on amd64 system
2016-04-10 15:03:52 -07:00
Zijie He
89a374350a Update README.md to include libc6-dev-i386 in to debian package requirement 2016-04-10 14:06:59 -07:00
Qingping Hou
e4a9fc9b02 Merge pull request #1950 from NiLuJe/master
Alays wake the H2O IR grid on wakeup
2016-04-09 09:49:47 -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
NiLuJe
b930639bc3 Bump base
Fix #1948
2016-04-09 17:50:28 +02:00
Frans de Jonge
9da6281006 Merge pull request #1947 from chrox/android_jit
disable jit on some modules on android
2016-04-07 18:17:18 +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
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