Qingping Hou
b638d083f1
mod: clean up debug printf
2012-03-04 01:19:20 +08:00
Qingping Hou
f1fdd9a18c
fix: two bugs in zomming
2012-03-04 01:11:34 +08:00
Qingping Hou
84d6bfe3f8
fix: bug in setting zomming
2012-03-04 00:31:26 +08:00
Qingping Hou
f987ed33c3
fix: bug in zoomming
2012-03-04 00:30:49 +08:00
Qingping Hou
2f9a44bfc6
code clean up for first demo
2012-03-03 22:56:54 +08:00
Qingping Hou
41c46313ef
mod: adapt makefile to build djvu library
2012-03-03 22:56:07 +08:00
Qingping Hou
516e32bc46
mod: call different reader in reader.lua
...
call PDFReader or DJVUReader according to filetype
2012-03-03 19:51:49 +08:00
Qingping Hou
e258371134
mod: add closePage and demo for filechooser
2012-03-03 17:17:35 +08:00
Qingping Hou
4a1a5233c0
Merge branch 'master' into djvu
...
Conflicts:
reader.lua
2012-03-03 17:08:06 +08:00
Qingping Hou
bcc86f260a
mod: add set gamma
2012-03-03 17:04:31 +08:00
Qingping Hou
755567d7ba
mod: zoom feature finished
2012-03-03 16:52:24 +08:00
Qingping Hou
581684d3bd
first demo on emu mode :-)
2012-03-03 13:26:12 +08:00
HW
324f2076d6
Merge pull request #22 from dpavlin/master
...
added Shift+B to add current page to jumpstack
2012-03-02 04:49:36 -08:00
Qingping Hou
8a03358139
fix: fail to set search path correctly in readdir()
2012-03-02 20:27:53 +08:00
Qingping Hou
6614bbe33d
mod: handle shift and alt key events in adjustKeyEvents()
2012-03-02 18:38:34 +08:00
Qingping Hou
1713e2ab0b
fix: refresh screen more elegantly after reader exit
2012-03-02 14:22:27 +08:00
Qingping Hou
aa5806accd
Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
...
Conflicts:
pdfreader.lua
2012-03-02 13:58:39 +08:00
Qingping Hou
53d4016c64
fix: move shiftmode and altmode to global
...
now shiftmode and altmode is recoreded in Keys module. So all the UIs
are sharing these two mode instead of remembering their own. These fix
the bug in UI switchings.
For instance, you use combo 'Alt'+'b' to fire up some menu in pdfreader,
the altmode is set, but the alt key was released after the menu show
up. Then the key release event will only be captured by the menu. So
after you exit from the menu, the altmode is still set in pdfreader,
which is not what we want.
2012-03-02 13:46:15 +08:00
Qingping Hou
e42f4ae38e
mod: bug fix in reading TOC
...
change misplaced carriage ret characters (0x0d) in toc entry
to white space (0x20) to avoid displaying empty boxes.
2012-03-02 13:27:44 +08:00
Dobrica Pavlinusic
07420bda07
added Shift+B to add current page to jumpstack
...
This allows us to bootstap jumpstack if we don't have table of contents
2012-03-02 01:44:52 +01:00
HW
6698cf157c
Merge pull request #21 from dpavlin/master
...
implement new two-column zoom mode (F)
2012-03-01 15:16:36 -08:00
Dobrica Pavlinusic
5de749f457
adjust fiveway rotation
2012-03-01 23:04:17 +01:00
Qingping Hou
c4d0cd26ae
half done djvu support
2012-03-01 21:04:46 +08:00
Dobrica Pavlinusic
de1725d395
fiveway left in pan mode with position to bottom of column
2012-03-01 00:20:46 +01:00
Dobrica Pavlinusic
a839f82bac
change pages with just left/right fiveway
2012-02-29 23:48:27 +01:00
Dobrica Pavlinusic
321181052a
fine-tune offsets and panning
...
It's better to leave small margin at top, and remove margin when
panning left-right since we have margins anyway
2012-02-29 23:37:16 +01:00
Dobrica Pavlinusic
54e7ae3296
implement new zoom mode (F) for two-colum layout
...
It zooms to left column and turns on panning mode, so simple sequence
of down,down...,right,down,down... will get you through whole page
2012-02-29 23:19:31 +01:00
Dobrica Pavlinusic
03be0680c5
correctly pass path to FileSearcher
2012-02-29 20:56:37 +01:00
Dobrica Pavlinusic
33829e1815
save pan position when entering pan_by_page
2012-02-29 20:47:21 +01:00
HW
9aedee416c
Merge pull request #20 from dpavlin/master
...
Reset panning when changing pages
2012-02-29 11:13:01 -08:00
Dobrica Pavlinusic
4481fc5178
reset x and y position when moving between pages in pan_by_page mode
2012-02-29 19:39:03 +01:00
Dobrica Pavlinusic
ba13e6b410
make up/down levels same
...
I use addition and substraction instead of multipiciation with factor
to make zoom deterministic (and this, one zoom up too many can be undone
with simple zoom out which wasn't the case).
2012-02-29 19:32:03 +01:00
HW
22042f1b09
Merge pull request #19 from dpavlin/master
...
fix panning on page in ZOOM_BY_VALUE mode
2012-02-29 09:59:14 -08:00
HW
f05e295688
Merge pull request #18 from houqp/master
...
bug fix for font menu & switch key binds in pdfreader.lua
2012-02-29 09:58:49 -08:00
Dobrica Pavlinusic
12fee4f7c5
reset y panning when moving left or right
...
This makes this pan mode really useful, because you don't need
to go all the way to top of page when you get to bottom of first
column.
2012-02-29 18:56:03 +01:00
Dobrica Pavlinusic
ffc411096e
fix pan by one screen in manual zoom mode
2012-02-29 16:54:06 +01:00
Dobrica Pavlinusic
9a90b4d599
move FW_PRESS to End in emulation
2012-02-29 16:53:40 +01:00
Dobrica Pavlinusic
ccc2f7e134
cleanup old files before fetching new versions
2012-02-29 16:17:43 +01:00
Qingping Hou
dc3ea10fd9
initial commit for djvu
2012-02-29 22:49:52 +08:00
Qingping Hou
d81b9aa74e
mod: reset search root
2012-02-28 23:07:57 +08:00
Qingping Hou
ec33e51d87
fix: bug in font menu
2012-02-28 23:05:26 +08:00
Qingping Hou
fd1ccee911
mod: add font menu in filesearcher
2012-02-28 22:51:37 +08:00
Qingping Hou
f4f5e38823
mod: switch ALT+BACK and BACK bindings
2012-02-28 22:49:37 +08:00
HW
e1a916d48c
Merge pull request #16 from dpavlin/master
...
Open Kindle 3 volume via /dev/input/event2 so gamma change works
2012-02-27 12:33:19 -08:00
HW
378a37d3ce
Merge pull request #15 from houqp/master
...
fixes for fontchooser & add fileseacher & new rotation implementation & toc menu & jump stack & bug fixes
2012-02-27 12:32:59 -08:00
Qingping Hou
e8fa2d50ea
mod:update comment in pdf.c
2012-02-27 22:17:17 +08:00
Qingping Hou
b33720a567
mod: change shortcut for jumpstack & fix: inputbox
2012-02-26 11:39:36 +08:00
Qingping Hou
e9f6ecfb86
fix: freetype version in Makefile
2012-02-26 11:08:58 +08:00
Qingping Hou
15b8f4d574
mod: fontchooser and pdfreader code clean up
2012-02-26 10:42:04 +08:00
Qingping Hou
fa5b0c9874
mod: toc and jumpstack refactored
2012-02-26 09:47:54 +08:00