Dobrica Pavlinusic
80efc822d4
added simple dump() serializer for debugging
2012-03-06 23:17:37 +01:00
Dobrica Pavlinusic
0e48785e0e
fix #36 : enable file path back
2012-03-06 22:11:00 +01:00
Dobrica Pavlinusic
73ec285957
switch to ZOOM_BY_VALUE to enable panning on fiveway move
2012-03-06 21:31:58 +01:00
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
2012-03-06 20:07:08 +01:00
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
2012-03-06 19:51:09 +01:00
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)
2012-03-06 14:37:00 +01:00
Dobrica Pavlinusic
a416423798
Merge branch 'master' of github.com:dpavlin/kindlepdfviewer
2012-03-06 13:49:46 +01:00
Dobrica Pavlinušić
77e11feccf
Merge pull request #40 from houqp/master
...
change short cuts for menu items
2012-03-06 04:48:03 -08:00
Dobrica Pavlinusic
c470c0328a
renderUtf8Text shouldn't die witout a text
...
this is exposed by #38 and #40
2012-03-06 12:32:15 +01:00
Qingping Hou
89cfac17bd
mod: change shortcuts for menu items
...
Uses Q-P and A-Del
2012-03-06 19:28:12 +08:00
Dobrica Pavlinušić
db6b997cab
Merge pull request #38 from houqp/master
...
bug fix & new feature
2012-03-06 02:02:51 -08:00
Qingping Hou
25d014634b
mod: add 5 pixel margin to the left
2012-03-06 15:50:00 +08:00
Qingping Hou
b45450ed67
mod: remove printf workaround in djvu.c
...
the bug seems to be fixed by commit:
4a5b12aaa4
2012-03-06 13:06:31 +08:00
Qingping Hou
330d08de68
mod: change variable name in selectmenu.lua
2012-03-06 12:27:19 +08:00
Qingping Hou
6a1b71eaf3
mod: add fast menu item access shortcut
2012-03-06 12:25:04 +08:00
Qingping Hou
9c41d0468e
fix: remove misplaced backslash in Makefile
2012-03-06 11:58:44 +08:00
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.
2012-03-06 11:10:20 +08:00
HW
a30e92b7a4
Merge pull request #36 from traycold/master
...
some small bugfix and some improvements (filechooser, "single file mode")
2012-03-05 15:16:53 -08:00
traycold
eba1c2d5ef
Merge remote-tracking branch 'hwhw/master' into djvu
2012-03-05 23:36:58 +01:00
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.
2012-03-05 20:02:41 +01:00
HW
917dc33985
put some missing bits into place to fix #34
2012-03-05 19:11:18 +01:00
Dobrica Pavlinusic
4a5b12aaa4
fix closeDocument return #34
...
If we don't return 0 lua just exits on us, breaking return to file
chooser
2012-03-05 18:37:06 +01:00
Dobrica Pavlinušić
5d9e51aadd
Merge pull request #33 from dpavlin/master
...
new two-colum zoom mode (shift+F) without margins
2012-03-05 05:21:23 -08:00
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.
2012-03-05 14:17:14 +01:00
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
2012-03-05 14:05:26 +01:00
Dobrica Pavlinušić
7f620c6374
Merge pull request #31 from houqp/master
...
four fixes & one new feature
2012-03-05 02:36:50 -08:00
Qingping Hou
2505128128
fix: add -lpthread for kpdfview target
2012-03-05 14:43:09 +08:00
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.
2012-03-05 13:47:02 +08:00
Qingping Hou
7a2ff94bee
mod: add entries in gitignore
2012-03-05 13:38:51 +08:00
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.
2012-03-05 13:15:34 +08:00
Qingping Hou
ca3a712521
fix: bug in jump stack
...
* remove page to jump from the stack
2012-03-05 11:25:51 +08:00
Qingping Hou
ab2cd3ec8c
mod: save jump_stack after exit
2012-03-05 10:48:03 +08:00
Qingping Hou
51dd8472b9
mod: bug fix in zooming
...
update self.global_orig after dc:setZoom
2012-03-05 10:38:02 +08:00
Qingping Hou
8cfae790ed
mod: clear pan_by_page if not in two column mode
2012-03-05 10:33:56 +08:00
Qingping Hou
49fa943306
mod: fix typo in comments
2012-03-05 10:02:39 +08:00
Qingping Hou
50d5604c79
mod: code cleanup for readers
...
closes #26
2012-03-05 09:58:19 +08:00
Qingping Hou
b318ca08e3
mod: merge djvu branch with master
2012-03-05 09:46:16 +08:00
Qingping Hou
145d700685
mod: add fake toc method in djvu.c
2012-03-05 09:04:00 +08:00
Qingping Hou
bd02f93d50
mod: remove sqlite in kpdfview dependence
2012-03-05 08:58:11 +08:00
{Qingping,Dave} Hou
74c09a51eb
Merge pull request #30 from dpavlin/master
...
djvu support based on master code
2012-03-04 16:40:46 -08:00
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
2012-03-05 00:18:34 +01:00
Qingping Hou
1b1fc2b3ae
integrate djvu support
2012-03-04 23:30:08 +01:00
traycold
04184a5950
improved filechooser; enable "single file" mode of kindlepdfviewer
...
with this mode it's possible to start kindlepdfviewer opening last
viewed file, bypassing filechooser
2012-03-04 23:03:04 +01:00
traycold
9fb0fcadd8
fixed small type; set compiler variables when using scratchbox
2012-03-04 23:01:41 +01:00
traycold
df101d19fa
added eclipse files and some libs folder
2012-03-04 23:01:27 +01:00
HW
4f46f9fa7a
proper exit when pressing HOME, store settings etc
2012-03-04 21:39:34 +01:00
HW
aa51a0c7db
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
2012-03-04 21:18:42 +01:00
HW
7efdbaf215
clamp fit-to-content to page dimensions (BBox)
2012-03-04 21:18:09 +01:00
Dobrica Pavlinusic
a0f0f7a661
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
2012-03-04 19:48:40 +01:00
Dobrica Pavlinusic
13ec6e42b5
moving to right column should take margin into account to provenet skipping columns #27
2012-03-04 19:40:22 +01:00