Qingping Hou
72f9c5690f
fix: detect emu mode in rotationMode
...
if in emu mode, simply return 0
2012-02-15 17:27:26 +08:00
Qingping Hou
0ea47129e1
Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
2012-02-15 14:41:56 +08:00
HW
225fa725db
Adapted to latest muPDF changes (xref -> document, memory context)
2012-02-13 20:13:04 +01:00
Qingping Hou
a9c915dc30
Make sure rotation mode is correctly read with assert
2012-02-06 21:47:02 +08:00
HW
a809ccdf09
Merge pull request #11 from houqp/master
...
navigation support in rotated screen
2012-02-06 04:57:42 -08:00
Qingping Hou
b69c1318a2
add: support for fle navigation after rotation
...
now filechooser can properly navigate through files
in rotated screen.
2012-02-05 11:09:22 +08:00
Qingping Hou
6b0365a711
add: gitignore
2012-02-04 23:24:42 +08:00
HW
fbbdc8dfc0
Adapted to latest muPDF code. Makes code a bit slicker.
2012-01-21 19:20:16 +01:00
HW
63445d3187
Merge pull request #10 from dpavlin/master
...
Rotate page to better represent comics and other horisontal pdfs & lots of cleaning up and bringing out of Beta.
2012-01-21 06:25:02 -08:00
Dobrica Pavlinusic
f74def7a69
create customupdate package for launchpad installation
...
This change also modifies installation directory for install
and customupdate make targets to /mnt/us/kindlepdfviewer
2012-01-19 19:52:22 +01:00
Dobrica Pavlinusic
70ae351702
fix zomming with alt
2012-01-19 18:39:15 +01:00
Dobrica Pavlinusic
9fc7f4add3
example for Kindle 3 resolution emulator
2012-01-19 18:26:24 +01:00
Dobrica Pavlinusic
287aa58731
document --device emu option
2012-01-19 18:17:16 +01:00
Dobrica Pavlinusic
1a2f51cafb
auto-detect Kindle 3 based on /dev/input/event2
...
This is somewhat important, because if we are started without
explicit -d k3 all key mappings are wrong, and user can't exit
2011-12-23 23:27:29 +01:00
Dobrica Pavlinusic
5a384bc6d9
open /mnt/us/documents by default
...
This option also removed fb save/reload which speeds up
startup and exit
2011-12-23 22:47:53 +01:00
Dobrica Pavlinusic
c2207f0e67
rotate page using J and K keys
2011-12-23 20:48:02 +01:00
HW
b6f6af55d7
clamp panning to actual boundaries
2011-12-12 00:04:04 +01:00
HW
16a5f40bc5
fit-to-content only if smaller size than bounding box
2011-12-11 23:34:38 +01:00
HW
e0e422c75a
fixed bug: cache was cleaned, meminfo not updated
2011-12-11 23:11:56 +01:00
HW
618822fa1f
added info about file chooser to README
2011-12-09 00:30:10 +01:00
HW
11d9fc9989
added storing gamma setting in doc-specific state storage
2011-12-09 00:23:35 +01:00
HW
0c2e6c4102
fixed bug in key naming
2011-12-09 00:22:09 +01:00
HW
f48526d84c
reworked install target a bit
2011-12-09 00:11:55 +01:00
HW
944c310016
reworked launchpad integration a bit
2011-12-09 00:11:23 +01:00
HW
1af5ce3d04
reordered freeing of resources, error handling for doc open
2011-12-09 00:10:54 +01:00
HW
78f6fa4530
fixed small bug
2011-12-09 00:03:31 +01:00
HW
41aa17082b
reworked screen update emulation to support ranges
2011-12-08 23:43:37 +01:00
HW
ac010ea325
reworked freeing pdf document resources
2011-12-08 23:43:10 +01:00
HW
7e04b9a797
fixed more bugs
2011-12-08 19:52:07 +01:00
HW
c47512a01d
slight refactoring of filechooser so it remembers state
2011-12-08 19:01:40 +01:00
HW
d89fd83235
fixed small oversights while refactoring
2011-12-08 17:59:08 +01:00
HW
6160f7fa7c
Forgot to add the actual file chooser, do that now
2011-12-08 17:56:07 +01:00
HW
5e62e3e4af
file mode fixes, added shebang to rendertext example script
2011-12-08 01:25:42 +01:00
HW
c869ee0a95
added file chooser
2011-12-08 01:17:33 +01:00
HW
eec48790e2
fixed small bug
2011-12-08 01:17:12 +01:00
HW
0bfdb9c44a
added freeing of document resources
2011-12-08 01:16:40 +01:00
HW
affc3b231a
major overhaul of the code structure, more OO like
2011-12-08 00:45:39 +01:00
HW
f93538256a
added missing header file
2011-12-08 00:42:53 +01:00
HW
a466be9834
fixed blitting bug
2011-12-08 00:42:02 +01:00
HW
11b568f19e
fixed included headers
2011-12-08 00:41:17 +01:00
HW
a86352dbc4
added enter key for SDL/emu mode
2011-12-08 00:40:44 +01:00
HW
6582ad8f95
restructured glyph blitting a bit and fixed bug
2011-12-08 00:39:40 +01:00
HW
b49b776962
changed meaning of eink refresh function arguments
...
now they specify width/height instead of bottom right coordinates
2011-12-08 00:38:12 +01:00
HW
1cc44feb6f
factored out settings into own class
...
also started using OO paradigm
2011-12-05 22:31:40 +01:00
HW
485890f0fd
fixed bug (oversight in refactoring framebuffer)
2011-12-02 23:14:07 +01:00
HW
f06b0f1dd3
added building/linking of luafilesystem
...
for info about luafilesystem, see
http://keplerproject.github.com/luafilesystem/
2011-12-02 23:10:59 +01:00
HW
c9ab02084f
refactored code a bit to avoid duplication
2011-12-02 22:28:48 +01:00
HW
1271d908dc
fixed bug in rectangle painting and added example
2011-12-02 01:43:55 +01:00
HW
f739baff5f
moved blitting over to blitbuffer API
...
the framebuffer "object" now has a "member" that exposes the blitbuffer
API for the framebuffer pixmap. This allows to reuse blitting & Co for
blitbuffer-to-blitbuffer operations
2011-12-02 01:31:13 +01:00
HW
dfbdad5cbf
Added support for odd render area width
2011-12-02 00:37:28 +01:00