Commit Graph

4328 Commits (c44d9fa59593c0c8c5aa2163bed88f5d95af0b72)
 

Author SHA1 Message Date
chrox 612ee99707 dictionary lookup now supports phrase
This should fix #1537.
9 years ago
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.
9 years ago
HW b1c0bc603a Merge pull request #1555 from chrox/android_icon
add koreader app icon for android finally
9 years ago
chrox 99af63c545 add koreader app icon for android finally 9 years ago
Qingping Hou e8c15541ef Merge pull request #1554 from chrox/master
fix local font alias registered in font menu and add Dutch hyphenation dict
9 years ago
chrox e9d19965eb fix a bug in android-luajit-launcher that may prevent some devices launching
this should fix #1553 and fix #1551.
9 years ago
chrox 3930b79b38 fix local font alias registered in font menu and add Dutch hyphenation dict 9 years ago
Qingping Hou 63fb8af937 Merge pull request #1544 from chrox/android-external-fonts
add external font dir option for Android
9 years ago
chrox 8d7ebaff5d add external font dir option for Android 9 years ago
Qingping Hou a30fe26de0 Merge pull request #1543 from chrox/plugable-turbo
disable turbo lib by default
9 years ago
Qingping Hou d239a1c432 Merge pull request #1542 from chrox/fix-droid-font
regression test to safeguard droid sans fallback
9 years ago
chrox a59621953d use turbo library in coverage test 9 years ago
chrox 3ad0ea5777 refactoring: remove dead code in font module 9 years ago
chrox c7cac7b333 disable turbo lib by default 9 years ago
chrox 1fcc425eac regression test to safeguard droid sans fallback 9 years ago
Huang Xin caf127fd58 Merge pull request #1527 from tarlou/master
Kobo Glo HD support
9 years ago
Guangda Hu 7491cd7b9d fix spaces 9 years ago
Guangda Hu 69db627136 Glo HD support 9 years ago
Qingping Hou 804554e462 Merge pull request #1521 from NiLuJe/master
Fix nickel restart with WiFi up.
9 years ago
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
9 years ago
Huang Xin 1de1a443b0 Merge pull request #1514 from NiLuJe/master
Fix startup scripts.
9 years ago
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.
9 years ago
HW 67b8b218e0 Merge pull request #1513 from NiLuJe/fix-kt2
Minor Kindle tweaks
9 years ago
NiLuJe 8703a043c7 Fix the eips prints on a KT2 9 years ago
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.
9 years ago
Frans de Jonge 52147daa26 Merge pull request #1510 from chrox/fix-droid-font
Add missing urw fonts and fix unit test
9 years ago
chrox a4404cfb10 Add missing urw fonts and fix unit test 9 years ago
Huang Xin 2f452f813a Merge pull request #1511 from NiLuJe/master
Fix our copies of the Droid fonts
9 years ago
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.
9 years ago
Qingping Hou 955838ffd8 Merge pull request #1509 from chrox/android-turbo
Use turbo looper on Android
9 years ago
chrox d468b05567 Use turbo looper on Android 9 years ago
Huang Xin dfe39589f4 Merge pull request #1508 from NiLuJe/master
Minor tweaks to yesterday's Kobo stuff...
9 years ago
NiLuJe 06b5070fe1 Update base 9 years ago
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.
9 years ago
NiLuJe 1b24e2ae7d Update base 9 years ago
NiLuJe 3fdd90cf3b Fix a few Droid font paths 9 years ago
NiLuJe bd03372d93 Update Noto while we're at it 9 years ago
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
9 years ago
NiLuJe aff8ed1140 Update base
Massive update of third-party libs.
Might break stuff :).
9 years ago
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.
9 years ago
NiLuJe c9d941215b lfs.attributes() basically does a stat()
Rename these variables accordingly, that kills my itch to close() random
fds ^^
9 years ago
NiLuJe 85445b12f1 Guess what? More comments ^^. 9 years ago
Huang Xin db420d20cf Merge pull request #1506 from houqp/houqp-master
add static analysis for Lua
9 years ago
Qingping Hou 561a92d031 Merge pull request #1507 from chrox/fix-android-build
Fix android build of libpng
9 years ago
Qingping Hou 3a55edd0d5 chore: remove test tag 9 years ago
Qingping Hou a782d1c524 Merge pull request #1 from chrox/fix-readerbookmark-unit-test
Fix readerbookmark unit test
9 years ago
chrox 2b2f365824 Fix android build of libpng 9 years ago
chrox 0058bc8511 Fix readerbookmark unit test 9 years ago
Qingping Hou 16efbcf223 build: enable travis retry 9 years ago
Qingping Hou 186673587e chore: fix some of the luacheck errors 9 years ago