Commit Graph

14 Commits (bfb2ee703aebc0b8c4a4332bd8a8326609b2c05a)

Author SHA1 Message Date
NiLuJe 5979f9f855 Better and more complete status bar handling.
When runnning from KUAL on FW >= 5.6.5
9 years ago
NiLuJe 55fa3db6a1 Minor tweak to handle FW 5.6.5 better...
When launching KOReader with the framework up from KUAL...
Our gentle hide/unhide method doesn't work anymore, which leads to
various issues, the most obvious being not getting a refresh to the
default UI on exit...
9 years ago
NiLuJe d6ab3b5224 Fix previous commit
So it actually works as intended ;p.
9 years ago
NiLuJe 2058209aa8 More Kindle startup tweaks on legacy devices
Don't try to setup iptables if it's not there (K2/DX/DXG).
Note that we'll do it on the K3, but it'll be useless there (no wifi).
9 years ago
NiLuJe f85c10e3b9 Minor tweak to exit behavior on legacy devices.
Properly refresh the screen when exiting with the framework running.
The lua code to handle that is called while cvm is SIGSTOPP'ed, so it
doesn't help.
9 years ago
NiLuJe a19954a201 Restart Kindle framework from an unpolluted env 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
NiLuJe a736a571d2 Same pkill trick as the Kobo scripts
Only here to satisfy my OCD ;p
9 years ago
chrox bb164c1deb Load our own shared libraries if possible
This should fix #1482.
9 years ago
chrox a40c172c47 fix mupdf rendering caused by FONTDIR env var
It turns out that one of our mupdf patch reads the FONTDIR env var
and uses it in a totally different way so we will use another env var
EXT_FONT_DIR to define external font directory for different platforms.
9 years ago
chrox 077517be0b add FONTDIR env variable
to support custom font directory for EPUB documents

Now Koreader could find fonts in the "fonts" directory in the USB root
directory of kindle, Kobo and PocketBook devices, thus no need to copy
fonts to "koreader/fonts" directory.
9 years ago
chrox 46963df0bb don't need to rebuild ota installed package if it's detected 10 years ago
chrox 3554bdd2c4 fix firewall block of calibre companion on Kindle 10 years ago
chrox 2d3c502948 move platform dependent files into 'platform' directory 10 years ago