Qingping Hou
2505128128
fix: add -lpthread for kpdfview target
12 years ago
Qingping Hou
f50e8d695c
mod: add UniReader:cleanUpTOCTitle()
...
re-apply the changes introduced by HW in commit:
3c56f50cae
I mistakenly overwrote it when merging from djvu
branch. :(
Since the title needs to be cleaned in two places,
I turn it into a method.
12 years ago
Qingping Hou
7a2ff94bee
mod: add entries in gitignore
12 years ago
Qingping Hou
989e915c8f
mod: add notes in jumpstack
...
NOTE that the jumpstack maintaining strategy has
been changed in this commit compared to commit #15
and #31 . Now current viewing page in kept in the
stack to preserve the notes.
12 years ago
Qingping Hou
ca3a712521
fix: bug in jump stack
...
* remove page to jump from the stack
12 years ago
Qingping Hou
ab2cd3ec8c
mod: save jump_stack after exit
12 years ago
Qingping Hou
51dd8472b9
mod: bug fix in zooming
...
update self.global_orig after dc:setZoom
12 years ago
Qingping Hou
8cfae790ed
mod: clear pan_by_page if not in two column mode
12 years ago
Qingping Hou
49fa943306
mod: fix typo in comments
12 years ago
Qingping Hou
50d5604c79
mod: code cleanup for readers
...
closes #26
12 years ago
Qingping Hou
b318ca08e3
mod: merge djvu branch with master
12 years ago
Qingping Hou
145d700685
mod: add fake toc method in djvu.c
12 years ago
Qingping Hou
bd02f93d50
mod: remove sqlite in kpdfview dependence
12 years ago
{Qingping,Dave} Hou
74c09a51eb
Merge pull request #30 from dpavlin/master
...
djvu support based on master code
12 years ago
Dobrica Pavlinusic
efe2ef7efe
integrate djvu into PDFReader, alternative to #26
...
This code is based on current master but doesn't include unireader, but
leaves all names to old PDFReader to preserve compatilbity
12 years ago
Qingping Hou
1b1fc2b3ae
integrate djvu support
12 years ago
HW
4f46f9fa7a
proper exit when pressing HOME, store settings etc
12 years ago
HW
aa51a0c7db
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
12 years ago
HW
7efdbaf215
clamp fit-to-content to page dimensions (BBox)
12 years ago
Dobrica Pavlinusic
a0f0f7a661
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
12 years ago
Dobrica Pavlinusic
13ec6e42b5
moving to right column should take margin into account to provenet skipping columns #27
12 years ago
HW
3c56f50cae
switched TOC entry sanitizing to Lua code
12 years ago
Dobrica Pavlinusic
0e3c91931d
fix bottom y for getUsedBBox #25
12 years ago
HW
8816285ec7
removed SQLite and lsqlite for the moment
12 years ago
HW
788eb90455
added simple serializer, use lua instead of SQLite
12 years ago
HW
357da594d4
disable ARM specific CFLAGS when in emu mode
12 years ago
HW
48299b118c
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
12 years ago
HW
b7d0e657a8
disabled debug symbol output, enabled optimization
12 years ago
HW
42b72a727f
Merge pull request #27 from dpavlin/master
...
fix bounding boxes from mupdf, closes #25
12 years ago
Dobrica Pavlinusic
2c48d4a107
handle invalid bounding boxes from mupdf, closes #25
12 years ago
Dobrica Pavlinusic
b8cc9c9a36
exit reader on HOME key
12 years ago
Dobrica Pavlinusic
31847e585f
Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer
12 years ago
HW
09c6c108c5
Merge pull request #23 from houqp/master
...
four bug fixes & one refactoring
12 years ago
Dobrica Pavlinusic
c11e10070a
dump debugging output
12 years ago
Qingping Hou
8abfa55999
mod: change to Keys.shiftmode for SHIFT+B binding
12 years ago
Qingping Hou
9441c17a65
Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
12 years ago
HW
324f2076d6
Merge pull request #22 from dpavlin/master
...
added Shift+B to add current page to jumpstack
12 years ago
Qingping Hou
8a03358139
fix: fail to set search path correctly in readdir()
12 years ago
Qingping Hou
6614bbe33d
mod: handle shift and alt key events in adjustKeyEvents()
12 years ago
Qingping Hou
1713e2ab0b
fix: refresh screen more elegantly after reader exit
12 years ago
Qingping Hou
aa5806accd
Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
...
Conflicts:
pdfreader.lua
12 years ago
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.
12 years ago
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.
12 years ago
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
12 years ago
HW
6698cf157c
Merge pull request #21 from dpavlin/master
...
implement new two-column zoom mode (F)
12 years ago
Dobrica Pavlinusic
5de749f457
adjust fiveway rotation
12 years ago
Dobrica Pavlinusic
de1725d395
fiveway left in pan mode with position to bottom of column
12 years ago
Dobrica Pavlinusic
a839f82bac
change pages with just left/right fiveway
12 years ago
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
12 years ago
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
12 years ago