Commit Graph

8743 Commits (3427c207b0dc8eca0ace1dc25633dd6a76e910ab)
 

Author SHA1 Message Date
traycold 5caad18fb7 Merge remote-tracking branch 'hwhw/master' 12 years ago
traycold eba1c2d5ef Merge remote-tracking branch 'hwhw/master' into djvu 12 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.
12 years ago
HW 917dc33985 put some missing bits into place to fix #34 12 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
12 years ago
Dobrica Pavlinušić 5d9e51aadd Merge pull request #33 from dpavlin/master
new two-colum zoom mode (shift+F) without margins
12 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.
12 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
12 years ago
Dobrica Pavlinušić 7f620c6374 Merge pull request #31 from houqp/master
four fixes & one new feature
12 years ago
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
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
12 years ago
traycold 9fb0fcadd8 fixed small type; set compiler variables when using scratchbox 12 years ago
traycold df101d19fa added eclipse files and some libs folder 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
Dobrica Pavlinusic c9064411f7 build only static djvulibre and fix cross-compile #26 12 years ago
Dobrica Pavlinusic 2b0a17e034 switch to git djvulibre since 3.5.24 fails #26
I'm using gcc version 4.6.3 (Debian 4.6.3-1) and git does compile while
version 3.5.24 fails with:

In file included from ../../libdjvu/GContainer.h:67:0,
                 from ../../libdjvu/GContainer.cpp:63:
../../libdjvu/GSmartPointer.h:492:30: error: ‘size_t’ does not name a type
../../libdjvu/GSmartPointer.h:492:37: error: ISO C++ forbids declaration of ‘n’ with no type [-fpermissive]
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
Qingping Hou f370842a88 mod: record self.globalzoom_orig to help zoom in/out
see: https://github.com/hwhw/kindlepdfviewer/issues/24
12 years ago
Qingping Hou e4e0eb45ee mod: adapt pdfreader and djvureader to unireader 12 years ago
Qingping Hou 56470a75b0 add: unireader class
Add unireader class for better code reuse.
Now pdfreader and djvureader are subclass of
unireader.

Every subclass needs to have a init() method
that will be called in reader.lua.
12 years ago
Qingping Hou 0f0aee11b7 mod: add comments for rotation support 12 years ago