Commit Graph

507 Commits

Author SHA1 Message Date
HW
1c50a5676a free blitbuffers when cleaning complete cache 2012-04-09 19:58:34 +02:00
HW
0b0dfa24ed removed obsolete example 2012-04-09 19:52:58 +02:00
HW
a0c0c98093 added configurable static libstdc++ linking
you can now point to a static libstdc++:

make STATICLIBSTDCPP=/home/hw/kindle-sysroot/usr/lib/libstdc++.a
2012-04-09 19:46:10 +02:00
HW
538940baf7 reworked toolchain management a bit
you can now set the toolchain by using e.g.

make HOST=arm-unknown-linux-gnueabi
or
make HOST=arm-linux-gnueabi

also, a SYSROOT flag is introduced. I use this to point
the compiler to a certain sysroot (which contains headers
and might contain libraries to link against). I use this to
use a current and modern compiler against the older
software versions on the Kindle (especially glibc).

I use it like this:

make HOST=arm-none-linux-gnueabi SYSROOT="--sysroot=/home/hw/my-kindle-sysroot"
2012-04-09 19:37:47 +02:00
HW
2f11b761b0 fixed font copying upon customupdate 2012-04-09 19:32:08 +02:00
HW
b32c3bef1f added bind-mounting of host fonts 2012-04-09 19:18:07 +02:00
HW
ec2eda0c05 switched font handling to only work with external fonts
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
2012-04-09 19:04:26 +02:00
HW
a375febf8e patch for muPDF to allow fonts from files 2012-04-09 18:52:20 +02:00
HW
a824204039 fixed missed case for device/emu recognition 2012-04-09 16:32:19 +02:00
Dobrica Pavlinušić
f9c97bcf59 Merge pull request #94 from dpavlin/dbbd6e4c1247e4caeff79245c62f5dd352b17d5b
cleanup customupdate make target
2012-04-09 04:30:20 -07:00
HW
c24d0bd26e corrected CFLAGS for some base .c files 2012-04-09 13:00:02 +02:00
Dobrica Pavlinusic
dbbd6e4c12 call all target for customupdates and cleanup install dir 2012-04-09 12:59:30 +02:00
HW
cce3b41d63 don't build slider_watcher for now 2012-04-09 12:40:38 +02:00
HW
caefddb99c Merge branch 'master' of github.com:hwhw/kindlepdfviewer
Conflicts:
	crereader.lua
2012-04-09 12:36:28 +02:00
HW
2d5e398be9 removed obsolete Shift-P-P combination 2012-04-09 12:30:56 +02:00
HW
b4fa798d92 device recognition now fully automatic 2012-04-09 12:30:12 +02:00
HW
877ecdfb71 switched slider handling to a fork()ed process 2012-04-09 12:29:13 +02:00
Dobrica Pavlinušić
cf70e563f3 Merge pull request #93 from houqp/master
prefix global variables width and height with G_
2012-04-09 02:17:43 -07:00
Qingping Hou
ff60a41604 mod: rewrite inputbox with commands 2012-04-09 17:17:23 +08:00
Qingping Hou
ecd56a3745 mod: prefix global variables width and height with G_ 2012-04-09 15:42:19 +08:00
Qingping Hou
f0042714d9 fix: correct upper bound for pos inside crereader 2012-04-09 15:06:52 +08:00
Qingping Hou
d62e3423a2 fix: save keywords in filesearcher 2012-04-09 14:06:22 +08:00
HW
4e542f7d4f fixed small bug in panning to the bottom 2012-04-08 21:16:07 +02:00
Qingping Hou
7886cb5215 mod: kill slider_watcher on kpv exit 2012-04-08 17:16:48 +08:00
Dobrica Pavlinušić
87da5464e3 Merge pull request #91 from houqp/master
#85 fix for filesearcher
2012-04-08 01:50:26 -07:00
Qingping Hou
7fdec8a980 fix: handle screen resolution correctly in filesearcher 2012-04-08 14:31:23 +08:00
Qingping Hou
5f7f9a2a83 fix: remove slider event handling in unireader
Slider event handling has been moved to commands
module, refer to previous commit.
2012-04-08 12:49:23 +08:00
Qingping Hou
709e7853e4 mod: move slider event handling to global command module
Since this event must be handled in all UIs, it is
better to register it on command object construction.
2012-04-08 12:46:33 +08:00
Qingping Hou
7f0faa20bb mod: rewrite filesearcher with command module 2012-04-08 11:57:25 +08:00
Qingping Hou
b8b1bc19fd fix: wait for more time instead of suspending framework
refer to discussion in #88
2012-04-08 11:22:29 +08:00
Qingping Hou
f926a12b73 fix: only copy css files from data directory when building customupdate
refer to #77
2012-04-08 09:58:51 +08:00
Dobrica Pavlinusic
9add90a169 Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-04-08 00:11:06 +02:00
Dobrica Pavlinušić
cc7ed4fdb4 Merge pull request #90 from houqp/epub
CREnging support
2012-04-07 15:06:02 -07:00
Qingping Hou
245247b2d1 mod: use redrawCurrentPage() for all page redraw
different readers might have different way to redraw
pages, so I added this abstract method
2012-04-07 23:28:56 +08:00
Qingping Hou
1f9efe0d9c Merge branch 'master' into epub
Conflicts:
	Makefile
	unireader.lua
2012-04-07 23:09:57 +08:00
Qingping Hou
4631fe492a fix: add jump feature 2012-04-07 23:03:29 +08:00
Qingping Hou
bf4ac4ffff Merge remote-tracking branch 'dpavlin/houqp/epub' into epub 2012-04-07 23:00:47 +08:00
Qingping Hou
cb83e47875 mod: use XPointer as absolute postion indicator inside document 2012-04-07 22:55:56 +08:00
Dobrica Pavlinusic
f1ba76bfdc create fonts symlink to TTF_FONTS_DIR #77
It took me few tries to figure out that fonts should point to directory
with *.ttf files as opposed to directory with subdirectories so I
decided to add comment about it
2012-04-07 13:48:33 +02:00
Dobrica Pavlinusic
3160ae15f4 make fetchthirdparty fails on existing data dir #77 2012-04-07 13:37:37 +02:00
Dobrica Pavlinušić
93a46bd732 Merge pull request #88 from houqp/master
Screen rotation handling for entering/leaving screen saver
2012-04-07 04:28:03 -07:00
Qingping Hou
9d11916bbd mod: resume framework in kpdf.sh 2012-04-07 10:05:27 +08:00
Qingping Hou
99f3d405b0 add: slider_watcher to customupdate target 2012-04-06 21:21:21 +08:00
Qingping Hou
43288b55ec fix: handle zero used box 2012-04-06 21:17:25 +08:00
Qingping Hou
3992fdca0f add: vertical pan in crereader 2012-04-06 20:26:53 +08:00
Qingping Hou
5e58a94632 mod: rm unused shortcuts in crereader 2012-04-06 20:13:46 +08:00
Qingping Hou
9650a4a057 add: gamma settings in crereader 2012-04-06 19:30:10 +08:00
Qingping Hou
a5a5c477ac mod: save and restore font face for each book in crereader 2012-04-06 19:11:18 +08:00
Qingping Hou
085d79d033 add: font menu and bold attribute toggle shortcut in crereader 2012-04-06 18:05:54 +08:00
Qingping Hou
d3e8c57bc8 mod: reenable global pan_overlap_vertical in crereader 2012-04-06 16:34:53 +08:00