Qingping Hou
2ca5f2302c
fix: set offset to top in unireader
...
set offset to top even usedbox is larger than
or equal to pagesize.
13 years ago
Qingping Hou
dce80b7b1c
mod: change default offset in fit_page_width/height mode
...
set to the top of page
13 years ago
Qingping Hou
20474ce411
fix: page number in fast jump in percent
...
use math.floor to convert page number to integer
13 years ago
Dobrica Pavlinusic
b65973990a
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
13 years ago
{Qingping,Dave} Hou
d754cff50b
Merge pull request #42 from traycold/master
...
Keyboard shortcuts to jump to 0%, 10%, 20%, .. , 100% of currently reading document.
13 years ago
Dobrica Pavlinusic
5de2fb1a53
implement separate odd/even bboxes
13 years ago
traycold
41e9b216cc
Shortcut to jump to page corresponding to 0%, 10%, 20%, .., 100%
...
of document using respectively key 1, 2, .., 9, 0.
13 years ago
Dobrica Pavlinusic
24ca5854c5
override getUsedBBox for cropping #35
13 years ago
Dobrica Pavlinusic
80efc822d4
added simple dump() serializer for debugging
13 years ago
traycold
01399292db
Merge remote-tracking branch 'hwhw/master'
13 years ago
Dobrica Pavlinusic
0e48785e0e
fix #36 : enable file path back
13 years ago
Dobrica Pavlinusic
73ec285957
switch to ZOOM_BY_VALUE to enable panning on fiveway move
13 years ago
Dobrica Pavlinusic
3a38e81d58
exit from filechooser on BACK and HOME
...
This makes it easy to exit completly from document with HOME+HOME
which is much easier and intuitive than HOME+BACK
13 years ago
Dobrica Pavlinusic
796b42cc36
track last shortcut assigned and ignore other keys
...
This change also takes advantage of fact that ev.code increases by 1
with each key in same row which removes a lot of duplication
13 years ago
Dobrica Pavlinusic
88d5f578f8
added last row of keyboard for DXG
...
DXG has bigger screen, so we have to make sure that we don't have more
than 30 options on screen (or we will run out of shortcuts)
13 years ago
Dobrica Pavlinusic
a416423798
Merge branch 'master' of github.com:dpavlin/kindlepdfviewer
13 years ago
Dobrica Pavlinušić
77e11feccf
Merge pull request #40 from houqp/master
...
change short cuts for menu items
13 years ago
Dobrica Pavlinusic
c470c0328a
renderUtf8Text shouldn't die witout a text
...
this is exposed by #38 and #40
13 years ago
Qingping Hou
89cfac17bd
mod: change shortcuts for menu items
...
Uses Q-P and A-Del
13 years ago
Dobrica Pavlinušić
db6b997cab
Merge pull request #38 from houqp/master
...
bug fix & new feature
13 years ago
Qingping Hou
25d014634b
mod: add 5 pixel margin to the left
13 years ago
Qingping Hou
b45450ed67
mod: remove printf workaround in djvu.c
...
the bug seems to be fixed by commit:
4a5b12aaa4
13 years ago
Qingping Hou
330d08de68
mod: change variable name in selectmenu.lua
13 years ago
Qingping Hou
6a1b71eaf3
mod: add fast menu item access shortcut
13 years ago
Qingping Hou
9c41d0468e
fix: remove misplaced backslash in Makefile
13 years ago
Qingping Hou
936ce2d661
fix: bug in paintRect
...
When calculating index of byte for rightmost column,
it should be (x + w)/2 not (x + w + 1)/2.
13 years ago
HW
a30e92b7a4
Merge pull request #36 from traycold/master
...
some small bugfix and some improvements (filechooser, "single file mode")
13 years ago
traycold
5caad18fb7
Merge remote-tracking branch 'hwhw/master'
13 years ago
traycold
eba1c2d5ef
Merge remote-tracking branch 'hwhw/master' into djvu
13 years ago
Dobrica Pavlinusic
061f318132
HOME - filechooser, Shift/Alt+Home - exits closes #34
...
This seems more logical to me, because accidental exit is really
bad and requires several keypresses and wait for reader to start again.
13 years ago
HW
917dc33985
put some missing bits into place to fix #34
13 years ago
Dobrica Pavlinusic
4a5b12aaa4
fix closeDocument return #34
...
If we don't return 0 lua just exits on us, breaking return to file
chooser
13 years ago
Dobrica Pavlinušić
5d9e51aadd
Merge pull request #33 from dpavlin/master
...
new two-colum zoom mode (shift+F) without margins
13 years ago
Dobrica Pavlinusic
bf53b02bd4
new two-colum zoom mode (shift+F) without margins
...
This is especially useful if you want PDF pages which bouding box
includes headers or footers which are full page width files like #25
I opted to ignore margins with Shift+F to be consistant with other zoom
modes.
13 years ago
Dobrica Pavlinusic
b1ffb5af7e
cleanup two column panning
...
It's important for us to take maring into account because rouding error
can force us to skip right marging. However, this shouldn't be done
when not in pan_by_page mode, so this diff is artifically large
13 years ago
Dobrica Pavlinušić
7f620c6374
Merge pull request #31 from houqp/master
...
four fixes & one new feature
13 years ago
Qingping Hou
2505128128
fix: add -lpthread for kpdfview target
13 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.
13 years ago
Qingping Hou
7a2ff94bee
mod: add entries in gitignore
13 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.
13 years ago
Qingping Hou
ca3a712521
fix: bug in jump stack
...
* remove page to jump from the stack
13 years ago
Qingping Hou
ab2cd3ec8c
mod: save jump_stack after exit
13 years ago
Qingping Hou
51dd8472b9
mod: bug fix in zooming
...
update self.global_orig after dc:setZoom
13 years ago
Qingping Hou
8cfae790ed
mod: clear pan_by_page if not in two column mode
13 years ago
Qingping Hou
49fa943306
mod: fix typo in comments
13 years ago
Qingping Hou
50d5604c79
mod: code cleanup for readers
...
closes #26
13 years ago
Qingping Hou
b318ca08e3
mod: merge djvu branch with master
13 years ago
Qingping Hou
145d700685
mod: add fake toc method in djvu.c
13 years ago
Qingping Hou
bd02f93d50
mod: remove sqlite in kpdfview dependence
13 years ago
{Qingping,Dave} Hou
74c09a51eb
Merge pull request #30 from dpavlin/master
...
djvu support based on master code
13 years ago