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

4333 Commits

Author SHA1 Message Date
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
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
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
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
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
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.
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