2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

4195 Commits

Author SHA1 Message Date
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
NiLuJe
1945873682 Tweak the comment a bit 2015-04-26 20:51:35 +02:00
NiLuJe
a736a571d2 Same pkill trick as the Kobo scripts
Only here to satisfy my OCD ;p
2015-04-26 20:48:40 +02:00
NiLuJe
6f815e2bdf Minor pass of cleanup of the Kobo scripts.
re #1503
2015-04-26 20:46:30 +02:00
NiLuJe
c847807322 Turns out that also looks better as ui refreshes 2015-04-26 20:10:18 +02:00
NiLuJe
50dbf6b581 Switch a few widgets to ui refresh modes
More closely matches native behavior on REAGL devices.
Closing those widgets should still trigger a partial refresh though,
because we usually get back to the reader, and text, so we want REAGL
;).
2015-04-26 20:07:17 +02:00
NiLuJe
2fe8dc40d7 Fix eips centering on the KV
For some strange reason, eips relies on the virtual xres on FW 5.x
2015-04-26 19:14:14 +02:00
NiLuJe
c6a3f9002c Tweak the H2O viewport to make it pixel-perfect.
As confirmed by checking a fb dump via fbgrab, and nickel's
broken cropping of screenshots ;).
2015-04-26 19:11:47 +02:00
HW
cd8837cffd Merge pull request #1502 from chrox/fix_evernote_login
Fix Evernote incorrect username or password
2015-04-25 09:15:56 +02:00
chrox
e54ecff0cb Fix Evernote incorrect username or password
This should fix #1501.
2015-04-25 14:55:56 +08:00
HW
de9f1a281d Merge pull request #1499 from Markismus/master
Update koreader.sh
2015-04-22 12:28:52 +02:00
Markismus
1e9996f475 Update koreader.sh
Compatibility with KSM is resolved. Koreader will now work from any directory it is installed in.

KSM7 tweaks `koreader.sh` line 5 from a hardcoded path to the line used above. I've added the change in line 12 to allow OTA updating.
2015-04-22 12:17:17 +02:00
HW
e3ba198009 Merge pull request #1497 from chrox/android_dict
Fix sdcv on Android cannot handle morphological changes
2015-04-22 09:07:00 +02:00
chrox
d345f21c39 Fix sdcv on Android cannot handle morphological changes 2015-04-22 14:27:33 +08:00
chrox
932df2a2f9 Refactor out string.gsplit to util.gsplit 2015-04-22 14:27:33 +08:00
chrox
98515a2210 Fix filemanager cp/mv/rm operations not work on Android 2015-04-22 14:27:33 +08:00