chrox
a60544b1ad
Koreader Ubuntu-touch port
...
Currently only tested on Ubuntu-touch emulator with framework
ubuntu-sdk-14.10 for armhf.
The ubuntu-touch port is binary compatible with the Kobo port
major changes in this PR are:
1. rename the emulator device to sdl device since both the emulator
and the ubuntu-touch target use libsdl to handle input/output.
2. ubuntu-touch app has no write access to the installation dir so
all write-outs should be in a seperate dir definded in `datastorage`.
2015-10-03 14:48:51 +08:00
Huang Xin
c44d9fa595
Merge pull request #1659 from apletnev/#1658
...
#1658 fix "All time" in statistics
2015-10-03 07:10:36 +08:00
Alexander Pletnev
57d6d64ad3
Add Statistic plugin ( #1581 Amount of hours spent on a book)
...
check for NaN in case when nothing read yet
2015-10-02 23:31:00 +03:00
Alexander Pletnev
24a4830bcc
#1658 fix "All time" in statistics
2015-10-02 23:18:18 +03:00
Qingping Hou
f892bc0b72
Merge pull request #1648 from chrox/fix_pb_sdcv
...
shoud fix #1591 and fix #1561 by using legacy config for PocketBook
2015-09-28 21:30:08 -07:00
Qingping Hou
f2fa1c36ba
Merge pull request #1647 from chrox/fix_kv_refresh
...
fix some minor issues on Kindle Voyage
2015-09-28 21:22:18 -07:00
chrox
d198f1c7ab
don't set focus button for Android
2015-09-27 22:29:59 +08:00
chrox
63671aa452
shoud fix #1591 and fix #1561 by using legacy config for PocketBook
2015-09-27 22:02:56 +08:00
chrox
4920426148
no need to do full screen refresh when outof screensaver
...
since there is already one by the native system
2015-09-27 09:25:50 +08:00
chrox
e91b7bd266
set foucus of button table only if the device has a dpad
...
so that Kindle Voyage won't show a highlighted button in
confirm dialog.
2015-09-27 09:05:40 +08:00
Huang Xin
6185b25e90
Merge pull request #1646 from NiLuJe/master
...
Fix battery status on legacy Kindles
2015-09-27 08:53:26 +08:00
NiLuJe
d17ca951d3
Fix battery status on K3.
...
Will probably be more complex on older devices, where, AFAICT,
gasgauge-info is bitbanging over i2c...
2015-09-27 01:44:50 +02:00
NiLuJe
5fa5fabf02
Fix battery status on the K4
...
And also probably prevent a crash when trying to enable WiFi there.
We really shouldn't even show the WiFi stuff on some of these old
devices, but at least now it doesn't crash ;).
2015-09-27 01:02:37 +02:00
Frans de Jonge
276838bc79
Merge pull request #1644 from chrox/ota_fix
...
don't use tar.gz file extension for OTA
2015-09-26 12:14:10 +02:00
Qingping Hou
cab084fe14
Merge pull request #1645 from chrox/fix_statistics_plugin
...
fix statistics translation
2015-09-26 00:09:56 -07:00
chrox
9fd4ee8eac
fix statistics translation
2015-09-26 13:00:50 +08:00
chrox
dce9e50bde
don't use tar.gz file extension for OTA
...
because ISP may cache gz files and confuse zsync protocol
When I wget the gz file it's redirected to a ISP cached file and zsync
will fail.
```
~ $ wget http://vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
--2015-09-26 10:55:54--
http://vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
Resolving vislab.bjmu.edu.cn (vislab.bjmu.edu.cn)... 202.112.180.24
Connecting to vislab.bjmu.edu.cn
(vislab.bjmu.edu.cn)|202.112.180.24|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://202.112.191.194/file/gz/2cd4eae05d961f8afe9ad99fb20288d4e735fbf4/vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
[following]
--2015-09-26 10:55:55--
http://202.112.191.194/file/gz/2cd4eae05d961f8afe9ad99fb20288d4e735fbf4/vislab.bjmu.edu.cn/apps/koreader/ota/koreader-kindle-arm-linux-gnueabi-v2014.11-348-gddc3619.tar.gz
```
2015-09-26 12:21:00 +08:00
Qingping Hou
ddc36198ba
Merge pull request #1640 from chrox/kosync_custom
...
add custom sync server option in Kosync plugin
2015-09-17 21:52:22 -07:00
chrox
9e91512f5f
add custom sync server option in Kosync plugin
...
This should fix #1619 .
2015-09-17 23:28:42 +08:00
Frans de Jonge
f85da283a1
Merge pull request #1639 from chrox/fix_travis
...
fix unit test fail on Travis
2015-09-16 17:59:21 +02:00
chrox
2c9851306e
fix unit test fail on Travis
2015-09-16 23:40:32 +08:00
Huang Xin
d393fbb180
Merge pull request #1628 from apletnev/#1581
...
Add Statistic plugin (#1581 Amount of hours spent on a book)
2015-09-16 19:55:26 +08:00
Alexander Pletnev
85f284440c
Add Statistic plugin ( #1581 Amount of hours spent on a book)
2015-09-16 12:12:31 +03:00
Alexander Pletnev
c797bb53a4
Add Statistic plugin ( #1581 Amount of hours spent on a book)
...
Add template
2015-09-15 22:36:43 +03:00
Frans de Jonge
f5a98cc7d5
Merge pull request #1637 from koreader/opds_authentication
...
add Basic Authentication for OPDS catalog
2015-09-14 21:06:56 +02:00
chrox
b0df6d53e9
add Basic Authentication for OPDS catalog
...
use coroutine to support ad-hoc callback in login button so that when
the username/password is incorrect it will retry automatically
currently tested with COPS on apache
This should fix #1001 .
2015-09-15 00:59:00 +08:00
Alexander Pletnev
c45328f14e
Add Statistic plugin ( #1581 Amount of hours spent on a book)
...
Changes based on comments
2015-09-13 22:34:20 +03:00
Frans de Jonge
384d5eca72
Merge pull request #1636 from koreader/opds_href
...
fix #1593 cannot download from COPS OPDS server
2015-09-13 16:45:02 +02:00
chrox
5ec384efb5
fix #1593 cannot download from COPS OPDS server
...
and get rid of the ugly baseurl workaround for "Internet Archive",
actually the url building of all these catalogs is perfectly
handled with `url.absolute(base, relative)`.
2015-09-13 22:08:05 +08:00
Frans de Jonge
96f48c0956
Merge pull request #1635 from houqp/houqp-master
...
keyboard support for confirmbox and buttontable
2015-09-13 12:25:31 +02:00
Qingping Hou
1664cece7f
ci: cache apt-get
2015-09-13 01:10:09 -07:00
Qingping Hou
a62e7ee34c
feat: add keyboard support for button table
2015-09-13 01:10:09 -07:00
Qingping Hou
8c14613085
fix: support self.selected override for FocusManager
2015-09-13 01:10:09 -07:00
Qingping Hou
63e88baf33
fix: stop self.dimen polution for inputcontainers
...
Without this fix, self.dimen is shared among all inputcontainers
intances, which breaks some of the UI rendering. All widget should
set/initialize their own self.dimen in self:init() method.
2015-09-13 01:10:09 -07:00
Qingping Hou
cdd17906f6
refactor: ui/font:getFace
2015-09-13 01:10:09 -07:00
Qingping Hou
2599974c2d
Merge pull request #1633 from chrox/master
...
fix travis build segfault hopefully
2015-09-13 01:02:06 -07:00
chrox
cf56f6a6e5
update luajit repo url
2015-09-13 13:21:14 +08:00
chrox
fd5d4a4cf7
fix extremely large font on certain reflowed pages
2015-09-13 05:09:05 +08:00
chrox
b65b70fec6
update base and luajit-launcher
2015-09-13 04:08:17 +08:00
chrox
f0dbd5939c
fix travis build segfault hopefully
2015-09-13 03:28:17 +08:00
Huang Xin
d952c492a1
Merge pull request #1630 from NiLuJe/master
...
Prefix battery percentage w/ a + when charging.
2015-09-10 09:28:28 +08:00
NiLuJe
ce5f66ccbc
Prefix battery percentage w/ a + when charging.
...
Adresses comments on MR.
Add a comment explaining the magic behind CRe's charging icon when using
CRE's full (top) status bar.
2015-09-09 17:37:35 +02:00
Huang Xin
02938163b9
Merge pull request #1626 from Frenzie/travis
...
Spec updates for new font
2015-09-08 09:36:30 +08:00
Alexander Pletnev
52d821df00
Add Statistic plugin ( #1581 Amount of hours spent on a book)
2015-09-07 20:06:17 +03:00
Frans de Jonge
6eca0be44b
Spec updates for new font
2015-09-07 09:42:23 +02:00
Frans de Jonge
fc115199f9
Merge pull request #1625 from NiLuJe/master
...
A bunch of Kindle tweaks
2015-09-06 18:55:52 +02:00
NiLuJe
d26878eb84
Update base
2015-09-06 17:44:20 +02:00
NiLuJe
6309df9dec
Guard against nil text in menu widget
...
Allow one to go further in the FM's setting menu on legacy devices...
... and potentially shoot oneself in the foot because of the unusable
confirmdialogs (among other things ;p).
2015-09-06 17:23:48 +02:00
NiLuJe
d6ab3b5224
Fix previous commit
...
So it actually works as intended ;p.
2015-09-06 17:00:31 +02:00
NiLuJe
2058209aa8
More Kindle startup tweaks on legacy devices
...
Don't try to setup iptables if it's not there (K2/DX/DXG).
Note that we'll do it on the K3, but it'll be useless there (no wifi).
2015-09-06 16:53:24 +02:00