Qingping Hou
a44cc3150d
fix: use correct entry for Ukrainian in language menu
2014-10-07 01:32:04 -04:00
Qingping Hou
16b393ff47
chore(device.lua): remove frontlight hack for kobo
2014-10-07 01:32:04 -04:00
Qingping Hou
373750603a
Merge pull request #962 from chrox/coverage
...
coverage test only sources from frontend and plugins
2014-10-06 22:29:09 -07:00
chrox
f2813ea16c
Merge branch 'coverage' of github.com:chrox/koreader into coverage
2014-10-07 13:08:39 +08:00
chrox
6ee8f22d73
add clear api for DocSettings
...
to remove both history settings and sidecar settings
2014-10-07 13:06:52 +08:00
chrox
d0b4fa2665
refactoring unit testsuite
2014-10-07 13:06:06 +08:00
chrox
65804093ef
coverage test only sources from frontend and plugins
2014-10-07 12:18:11 +08:00
Qingping Hou
1168575f19
Merge pull request #956 from chrox/coverage
...
code coverage target for the unit test
2014-10-06 21:07:17 -07:00
Huang Xin
5cf50c1401
Update README.md
2014-10-06 23:54:56 +08:00
chrox
3a98b4b0f7
add coveralls badge to show coverage number
2014-10-06 23:36:13 +08:00
chrox
770245418c
install luajit for luacov in Travis
2014-10-06 22:28:55 +08:00
chrox
f1f8d8dc4f
make coverage target for code coverage for the unit test
...
so that we can easily find which module needs unit test
In order to run 'make coverage' `luacov` need to be installed
with 'sudo luarocks install luacov'.
2014-10-06 21:31:08 +08:00
chrox
330e5a2789
don't open SDL if input device is dummy
2014-10-06 21:23:54 +08:00
chrox
794baf4d8a
benchmark has no specifications so won't be run by default
2014-10-06 21:22:38 +08:00
Qingping Hou
05e47c8c9c
Merge pull request #955 from chrox/network_proxy
...
http proxy support by setting NETWORK_PROXY variable
2014-10-05 01:14:48 -07:00
Qingping Hou
55cb0271cb
Merge pull request #954 from chrox/fix_950
...
get rid of query filed of baseurl when building href
2014-10-05 01:08:02 -07:00
Qingping Hou
c2684c50e4
Merge pull request #953 from chrox/fix_916
...
check if last opened file exists before opening it
2014-10-05 01:05:55 -07:00
Qingping Hou
88b8f56146
Merge pull request #952 from chrox/fix_921
...
strip generic punctuation (U+2000 - U+206F) in lookup word
2014-10-05 01:05:12 -07:00
chrox
3147ffb08a
http proxy support by setting NETWORK_PROXY variable
...
This should implement feature request in #919 .
2014-10-05 16:04:52 +08:00
Qingping Hou
62e15c5ca8
Merge pull request #951 from chrox/fix_fgcolor
...
fix fgcolor of inputbox is always 0.0
2014-10-05 01:03:40 -07:00
chrox
549f54ab07
get rid of query filed of baseurl when building href
...
otherwise there will be "?offset=90" query in downloading href
for calibre opds server which doesn't accept the url
This should fix #950 .
2014-10-05 15:47:36 +08:00
chrox
a197f31da7
check if last opened file exists before opening it
...
This should fix #916 .
2014-10-05 14:52:37 +08:00
chrox
9467eab6e1
strip generic punctuation (U+2000 - U+206F) in lookup word
...
This should fix #921 .
2014-10-05 14:32:23 +08:00
chrox
7b78d70c74
fix fgcolor of inputbox is always 0.0
2014-10-05 14:00:38 +08:00
Huang Xin
87e9f34397
Merge pull request #949 from hwhw/master
...
adapt to new freetype text rendering without background
2014-10-04 22:15:03 +08:00
HW
909982a718
Merge pull request #3 from chrox/hwhw-master
...
still needs button bgcolor
2014-10-04 16:05:02 +02:00
chrox
6152198e88
still needs button bgcolor
...
This bgcolor is for framecontainer background color.
2014-10-04 22:01:09 +08:00
Hans-Werner Hilse
0b3c1dcebf
update base to latest koreader-base
...
this includes the new freetype text rendering
2014-10-04 15:55:08 +02:00
Hans-Werner Hilse
7b1777e095
adapt widgets and text rendering to new font rendering
...
no background for text rendering anymore
2014-10-04 15:54:03 +02:00
HW
a713936d8c
Merge pull request #947 from chrox/base_submodule
...
rename submodule koreader-base to base
2014-10-04 15:45:28 +02:00
chrox
fc5a248308
rename submodule koreader-base to base
2014-10-04 20:53:35 +08:00
Qingping Hou
7df2e0fb28
Merge pull request #944 from chrox/lazy_loading
...
refactoring: lazy loading of unused modules
2014-10-03 19:08:39 -07:00
Huang Xin
105764fd77
Merge pull request #945 from evgsh/opds
...
opds / Added acquisition relation types , fixes issue #940
2014-10-03 22:42:29 +08:00
evgsh
aae2c4de27
Added acquisition relation types , fixes issue #940
2014-10-03 17:22:37 +03:00
chrox
2d3c502948
move platform dependent files into 'platform' directory
2014-10-03 18:02:50 +08:00
chrox
14e2bf3d69
refatoring: lazy loading of packages
2014-10-03 16:13:34 +08:00
chrox
a491594775
trace package loading process in koreader
2014-10-03 16:13:34 +08:00
Huang Xin
8fda638da6
Merge pull request #936 from WS64/master
...
fix the nil tags data bug
2014-10-01 00:53:14 +08:00
WS64
d790f8aafe
fix the nil tags data bug
2014-09-30 18:28:36 +02:00
Qingping Hou
3c00b4090f
Merge pull request #934 from chrox/fix_933
...
fix #933
2014-09-29 22:31:56 -07:00
chrox
e026149d14
fix #933
2014-09-30 10:46:55 +08:00
HW
d2a02c3466
Merge pull request #932 from chrox/master
...
fix run out of memory when receiving large files from Calibre
2014-09-29 08:35:16 +02:00
chrox
ac22e78533
ignore koreader output file for clang target
2014-09-29 14:25:24 +08:00
chrox
9adf8ac327
also paint widget if any widget underneath is dirty
2014-09-29 14:23:38 +08:00
chrox
508cf94f98
fix run out of memory when receiving large files from Calibre
2014-09-29 14:22:33 +08:00
Huang Xin
dd7dd66369
Merge pull request #931 from hwhw/master
...
alpha-blitting widget and a few fixes
2014-09-29 07:24:05 +08:00
Hans-Werner Hilse
18be385321
add showcase of alpha-blitting to wtest.lua
2014-09-28 21:49:38 +02:00
Hans-Werner Hilse
feb774afa9
update koreader-base with bugfix for alpha-blitting
2014-09-28 21:49:12 +02:00
Hans-Werner Hilse
e47b43e8b5
add implementation of a container widget with alpha-blitting
...
This is a container that will honor a given alpha value (0..1)
when painting, so it will be translucent for values < 1.
2014-09-28 21:48:06 +02:00
Hans-Werner Hilse
adbcdddb56
undo wrong use of addblitFrom()
...
rendertext.lua did use addblitFrom() for rendering text - i.e. blitting
the letters to a BlitBuffer. However, it used intensity=1.0, which is
the same as doing a (faster, more efficient) blitFrom(). So use that
instead.
What was probably intented here is a different kind of blitting - using
the bitbuffer of the glyph as a mask.
2014-09-28 21:11:03 +02:00