2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
Commit Graph

4260 Commits

Author SHA1 Message Date
Qingping Hou
804554e462 Merge pull request #1521 from NiLuJe/master
Fix nickel restart with WiFi up.
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.
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
Qingping Hou
955838ffd8 Merge pull request #1509 from chrox/android-turbo
Use turbo looper on Android
2015-04-28 00:16:19 -04:00
chrox
d468b05567 Use turbo looper on Android 2015-04-28 11:06:38 +08:00
Huang Xin
dfe39589f4 Merge pull request #1508 from NiLuJe/master
Minor tweaks to yesterday's Kobo stuff...
2015-04-28 11:03:54 +08:00
NiLuJe
06b5070fe1 Update base 2015-04-28 01:34:09 +02:00
NiLuJe
9f89fc8e47 Fix Kobo startup script w/ KSM
pkill probably only checks the actual name of the binary.
We were checking a shell script, which I'm guessing is not launched
via a shebang, so that name was actually an arg to sh, or something like
that.

Use pidof instead, which matches the full command line.
2015-04-27 22:37:54 +02:00
NiLuJe
1b24e2ae7d Update base 2015-04-27 22:23:36 +02:00
NiLuJe
3fdd90cf3b Fix a few Droid font paths 2015-04-27 22:19:11 +02:00
NiLuJe
bd03372d93 Update Noto while we're at it 2015-04-27 22:14:24 +02:00
NiLuJe
a59965a054 Import our own copy of the Droid fonts
We need them, and MUPDF 1.7 dropped some of them.

Imported from
https://github.com/android/platform_frameworks_base/tree/master/data/fonts
2015-04-27 22:12:24 +02:00
NiLuJe
aff8ed1140 Update base
Massive update of third-party libs.
Might break stuff :).
2015-04-27 20:04:37 +02:00
NiLuJe
a6a2b3d6a3 Try to get the Kobo codename from the env first
My batch of startup script tweaks should ensure PRODUCT is always
exported.
Leave the fallback in place, to avoid blowing up in weird corner-cases I
haven't thought about.
2015-04-27 13:15:02 +02:00
NiLuJe
c9d941215b lfs.attributes() basically does a stat()
Rename these variables accordingly, that kills my itch to close() random
fds ^^
2015-04-27 13:10:16 +02:00
NiLuJe
85445b12f1 Guess what? More comments ^^. 2015-04-27 13:04:52 +02:00
Huang Xin
db420d20cf Merge pull request #1506 from houqp/houqp-master
add static analysis for Lua
2015-04-27 12:51:32 +08:00
Qingping Hou
561a92d031 Merge pull request #1507 from chrox/fix-android-build
Fix android build of libpng
2015-04-27 00:50:23 -04:00
Qingping Hou
3a55edd0d5 chore: remove test tag 2015-04-27 00:46:01 -04:00
Qingping Hou
a782d1c524 Merge pull request #1 from chrox/fix-readerbookmark-unit-test
Fix readerbookmark unit test
2015-04-27 00:44:31 -04:00
chrox
2b2f365824 Fix android build of libpng 2015-04-27 12:16:13 +08:00
chrox
0058bc8511 Fix readerbookmark unit test 2015-04-27 11:09:28 +08:00
Qingping Hou
16efbcf223 build: enable travis retry 2015-04-26 20:59:47 -04:00
Qingping Hou
186673587e chore: fix some of the luacheck errors 2015-04-26 20:57:45 -04:00
Qingping Hou
e695a3c30d build: add luacheck for static analysis 2015-04-26 20:57:45 -04:00
Huang Xin
a7694a1db6 Merge pull request #1505 from NiLuJe/master
Very, very minor addendum to #1504
2015-04-27 08:53:16 +08:00
NiLuJe
03bf4b1d84 Update base 2015-04-27 02:44:34 +02:00
NiLuJe
da891ca335 And comment that, because I'm likely to forget. 2015-04-27 02:40:17 +02:00
Huang Xin
3c6000fc26 Merge pull request #1504 from NiLuJe/master
(Hopefully) minor Kobo tweaks
2015-04-27 08:36:50 +08:00
NiLuJe
a99359fa44 Add a comment to explicit the KSM check 2015-04-27 02:33:31 +02:00
NiLuJe
8661194b79 Nice typo bro! 2015-04-27 02:21:28 +02:00
NiLuJe
2d07ec8a9d Handle snapshot tarballs w/ KUAL manual update
It only handled release zips so far.
2015-04-27 02:19:04 +02:00
NiLuJe
7fd45c6cd3 And even more Kobo startup script tweaks.
Good news: restarting nickel doesn't deadlock anymore. Yay.
2015-04-27 01:59:50 +02:00
NiLuJe
218d8b3e54 More comments... 2015-04-27 01:24:24 +02:00
NiLuJe
f259ec4259 Wipe dead code 2015-04-27 01:22:10 +02:00
NiLuJe
7db252a27e More Kobo startup scripts tweaks... 2015-04-27 01:21:54 +02:00
NiLuJe
d4f80209d9 Minor comment tweak 2015-04-27 00:01:44 +02:00
NiLuJe
476ae3322c sync before killing nickel
Hopefully good enough to avoid trashing the DB
2015-04-26 23:42:59 +02:00
NiLuJe
bb6b21fe23 Update base 2015-04-26 22:56:03 +02:00
NiLuJe
97ad4afa92 Minor comment tweak 2015-04-26 22:54:44 +02:00
NiLuJe
6c1681b595 Well, go for the lesser evil.
For some unknowable reason, restarting nickel on exit deadlocks on my
H2O, so, do a full reboot instead, at least *that* works.
I'm probably one of the only people running KO manually anyway...
2015-04-26 22:46:16 +02:00
NiLuJe
c2bd85bba4 More Kobo scripts tweak...
Trying to figure out why nickel deadlocks on restart...
2015-04-26 22:09:14 +02:00