Commit Graph

4249 Commits

Author SHA1 Message Date
Frans de Jonge
f9d415642a Fix clear external styles not persistent in document settings
References #1601
2015-08-25 10:58:20 +02:00
Huang Xin
a486dbc6b6 Merge pull request #1599 from Frenzie/travis
Travis update
2015-08-25 07:22:46 +08:00
Huang Xin
53a7e32c69 Merge pull request #1598 from Frenzie/json
Fix Wikipedia (HTTP now redirect to HTTPS) and slightly more robust failsafes
2015-08-25 07:20:43 +08:00
Frans de Jonge
21c51a9162 Travis update
The new container-based format doesn't do sudo anymore, so there are some extensive changes.

It does, however, allow cache.

I also took the opportunity to switch to a newer busted. The root element for that now needs to be a table.
2015-08-24 16:40:52 +02:00
arasyi
7d87ffe8e8 Fix nickel doesn't recognize sdcard after exiting
After exiting koreader, nickel will not recognize that sdcard is present.
This patch fixes that
2015-08-24 15:43:27 +02:00
Frans de Jonge
ba994f41ab Fix Wikipedia (HTTP is now HTTPS) and some failsafes
Rudimentary JSON validity check by seeing if the first character is {. The JSON decode function will crash in spite of pcall if it's not.
2015-08-23 21:20:19 +02:00
Frans de Jonge
fe42f82bf6 Merge pull request #1597 from arasyi/patch-1
Fix nickel doesn't recognize sdcard after exiting
2015-08-23 21:14:37 +02:00
arasyi
d3bc8ecb5f Fix nickel doesn't recognize sdcard after exiting
After exiting koreader, nickel will not recognize that sdcard is present.
This patch fixes that
2015-08-23 18:33:34 +07:00
Qingping Hou
51e8dee425 Merge pull request #1588 from mihailim/feature/fix-builddep-docs
Fix Linux build docs to mention luarocks
v2015.08.08-nightly
2015-08-02 15:15:01 -07:00
Mihai Limbășan
2fe4f4082a Fix Linux build docs to mention luarocks 2015-08-02 21:09:54 +03:00
Huang Xin
835b0ec927 Merge pull request #1587 from frankyifei/2015-8-1
fix filechooser crash and loop menu pages
2015-08-02 15:54:16 +08:00
frankyifei
d0a44b9152 style 2015-08-01 19:20:10 +09:30
frankyifei
f7fb103abc loop menu pages when it reaches ends
the following graph shows my idea.

1->2->3->4->5->6->7->8->9->10
└----------------------------------------┘
2015-08-01 19:14:40 +09:30
frankyifei
f7142cfcbe fix filechooser crash on entering folder contains nil symlink 2015-08-01 19:12:40 +09:30
Qingping Hou
08b3c02af5 Merge pull request #1572 from chrox/fix-1558
partial refresh after deleting highlights
v2015.07.17-nightly
2015-07-05 13:15:26 -04:00
Qingping Hou
8ce51d32fd Merge pull request #1571 from chrox/popen-noshell-at-github
switch to Github repo of popen-noshell since Google Code is down
2015-07-05 13:15:11 -04:00
chrox
ec1d9e4b7d partial refresh after deleting highlights
This should fix #1558.
2015-07-05 01:53:47 +08:00
chrox
169f6fb738 switch to Github repo of popen-noshell since Google Code is down 2015-07-05 00:49:58 +08:00
Huang Xin
0b45394a7f Merge pull request #1564 from Frenzie/koreader.sh
Fix KOReader exit
v2015.06.25-nightly
2015-06-20 10:48:36 +08:00
Frans de Jonge
954c2c9416 Merge pull request #1556 from chrox/data_storage
add datastorage module to handle data directory on various platform
2015-06-19 19:58:41 +02:00
Frans de Jonge
475ee28173 Fix KOReader exit
Should reboot less unnecessarily for older versions of KSM, and hopefully this would also be more forward-compatible.
2015-06-19 19:54:41 +02:00
chrox
612ee99707 dictionary lookup now supports phrase
This should fix #1537.
2015-06-15 18:11:47 +08:00
chrox
34ea9ac574 add datastorage module to handle data directory on various platform
On kindle, kobo and pocketbook the data directory is the current
running directory but on Android the app is installed in system
defined location and users may have no access to that location.
The same circumstances should be true for the upcoming Koreader for
Ubuntu touch, so the data directory (in which tessdata, dictionaries,
global settings, persistant defaults and probably history data are
stored) could be stored in another place.
2015-06-15 16:56:27 +08:00
HW
b1c0bc603a Merge pull request #1555 from chrox/android_icon
add koreader app icon for android finally
v2015.06.16-nightly
2015-06-15 08:09:57 +02:00
chrox
99af63c545 add koreader app icon for android finally 2015-06-15 13:49:46 +08:00
Qingping Hou
e8c15541ef Merge pull request #1554 from chrox/master
fix local font alias registered in font menu and add Dutch hyphenation dict
2015-06-15 00:58:15 -04:00
chrox
e9d19965eb fix a bug in android-luajit-launcher that may prevent some devices launching
this should fix #1553 and fix #1551.
2015-06-15 11:02:06 +08:00
chrox
3930b79b38 fix local font alias registered in font menu and add Dutch hyphenation dict 2015-06-15 10:10:45 +08:00
Qingping Hou
63fb8af937 Merge pull request #1544 from chrox/android-external-fonts
add external font dir option for Android
v2015.06.08-nightly
2015-06-06 15:39:12 -04:00
chrox
8d7ebaff5d add external font dir option for Android 2015-06-06 17:22:09 +08:00
Qingping Hou
a30fe26de0 Merge pull request #1543 from chrox/plugable-turbo
disable turbo lib by default
v2015.06.04-nightly
2015-06-03 12:47:07 -04:00
Qingping Hou
d239a1c432 Merge pull request #1542 from chrox/fix-droid-font
regression test to safeguard droid sans fallback
2015-06-03 12:46:43 -04:00
chrox
a59621953d use turbo library in coverage test 2015-06-02 21:23:30 +08:00
chrox
3ad0ea5777 refactoring: remove dead code in font module 2015-06-02 13:19:50 +08:00
chrox
c7cac7b333 disable turbo lib by default 2015-06-02 13:07:17 +08:00
chrox
1fcc425eac regression test to safeguard droid sans fallback 2015-06-02 12:29:54 +08:00
Huang Xin
caf127fd58 Merge pull request #1527 from tarlou/master
Kobo Glo HD support
v2015.05.17-nightly
2015-05-16 23:01:44 +08:00
Guangda Hu
7491cd7b9d fix spaces 2015-05-15 21:57:00 -04:00
Guangda Hu
69db627136 Glo HD support 2015-05-15 17:46:16 -04:00
Qingping Hou
804554e462 Merge pull request #1521 from NiLuJe/master
Fix nickel restart with WiFi up.
koreader-nightly-20150516
2015-05-06 18:51:38 -04:00
NiLuJe
34cb799818 Fix nickel restart with WiFi up.
By killing the WiFi first, since apparently,
nickel really doesn't like that, and causes a deadlock.

re #1503, re #1504, fix #1520
2015-05-06 16:53:17 +02:00
Huang Xin
1de1a443b0 Merge pull request #1514 from NiLuJe/master
Fix startup scripts.
v2015.04.30-nightly
2015-04-29 06:32:29 +08:00
NiLuJe
02fcb9037b Fix startup scripts.
Thanks to @Markismus's questions, I realized that some of what i thought
was true, wasn't.

First, pkill is a terrible idea to check for interpreted scripts.
Second, pidof is also potentially not that great for interpreted
scripts, because it'll only work with a shebang, and one that is
following the Linux syntax.
We don't have the full version with the -x to paper over that,
so use pgrep -f instead.

cf.
a736a571d2 (commitcomment-10948910)
for the gory details.
2015-04-28 21:07:25 +02:00
HW
67b8b218e0 Merge pull request #1513 from NiLuJe/fix-kt2
Minor Kindle tweaks
2015-04-28 19:43:40 +02:00
NiLuJe
8703a043c7 Fix the eips prints on a KT2 2015-04-28 18:26:10 +02:00
NiLuJe
8a8697c382 Future-proof the frontlight handling on Kindle.
Guard against trying to get any kind of frontlight info on devices
without one.

So far the flIntensity prop has always been there, even on devices
without one, but better not assume that'll always be the case ;).

That, and be consistent with the other lipc_handle tests.
2015-04-28 18:25:56 +02:00
Frans de Jonge
52147daa26 Merge pull request #1510 from chrox/fix-droid-font
Add missing urw fonts and fix unit test
2015-04-28 17:28:52 +02:00
chrox
a4404cfb10 Add missing urw fonts and fix unit test 2015-04-28 22:20:12 +08:00
Huang Xin
2f452f813a Merge pull request #1511 from NiLuJe/master
Fix our copies of the Droid fonts
2015-04-28 22:13:15 +08:00
NiLuJe
276f432274 Fix our copies of the Droid fonts
Pull slightly older versions of them, before the subsetting and
fontcrunching. Mainline FT utterly fails to deal with them correctly
otherwise.
2015-04-28 13:32:39 +02:00