HW
7efdbaf215
clamp fit-to-content to page dimensions (BBox)
13 years ago
Dobrica Pavlinusic
a0f0f7a661
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
13 years ago
Dobrica Pavlinusic
13ec6e42b5
moving to right column should take margin into account to provenet skipping columns #27
13 years ago
HW
3c56f50cae
switched TOC entry sanitizing to Lua code
13 years ago
Dobrica Pavlinusic
0e3c91931d
fix bottom y for getUsedBBox #25
13 years ago
HW
8816285ec7
removed SQLite and lsqlite for the moment
13 years ago
HW
788eb90455
added simple serializer, use lua instead of SQLite
13 years ago
HW
357da594d4
disable ARM specific CFLAGS when in emu mode
13 years ago
HW
48299b118c
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
13 years ago
HW
b7d0e657a8
disabled debug symbol output, enabled optimization
13 years ago
Dobrica Pavlinusic
c9064411f7
build only static djvulibre and fix cross-compile #26
13 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]
13 years ago
HW
42b72a727f
Merge pull request #27 from dpavlin/master
...
fix bounding boxes from mupdf, closes #25
13 years ago
Dobrica Pavlinusic
2c48d4a107
handle invalid bounding boxes from mupdf, closes #25
13 years ago
Dobrica Pavlinusic
b8cc9c9a36
exit reader on HOME key
13 years ago
Dobrica Pavlinusic
31847e585f
Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer
13 years ago
Qingping Hou
f370842a88
mod: record self.globalzoom_orig to help zoom in/out
...
see: https://github.com/hwhw/kindlepdfviewer/issues/24
13 years ago
Qingping Hou
e4e0eb45ee
mod: adapt pdfreader and djvureader to unireader
13 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.
13 years ago
Qingping Hou
0f0aee11b7
mod: add comments for rotation support
13 years ago
Qingping Hou
5f5f5341e0
mod: update comment in djvu.c
13 years ago
Qingping Hou
dbdae773c3
fix: handle failure for document get pageinfo
13 years ago
Qingping Hou
8148c5fa3d
Merge branch 'master' into djvu
13 years ago
HW
09c6c108c5
Merge pull request #23 from houqp/master
...
four bug fixes & one refactoring
13 years ago
Dobrica Pavlinusic
c11e10070a
dump debugging output
13 years ago
Qingping Hou
8abfa55999
mod: change to Keys.shiftmode for SHIFT+B binding
13 years ago
Qingping Hou
9441c17a65
Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
13 years ago
Qingping Hou
a808f9936b
mod: add djvulibre
13 years ago
Qingping Hou
6af5b42961
mod: clean up debug code
13 years ago
Qingping Hou
f1cfbded5d
mod: clean up code, no FIT_TO_CONTENT support
13 years ago
Qingping Hou
b638d083f1
mod: clean up debug printf
13 years ago
Qingping Hou
f1fdd9a18c
fix: two bugs in zomming
13 years ago
Qingping Hou
84d6bfe3f8
fix: bug in setting zomming
13 years ago
Qingping Hou
f987ed33c3
fix: bug in zoomming
13 years ago
Qingping Hou
2f9a44bfc6
code clean up for first demo
13 years ago
Qingping Hou
41c46313ef
mod: adapt makefile to build djvu library
13 years ago
Qingping Hou
516e32bc46
mod: call different reader in reader.lua
...
call PDFReader or DJVUReader according to filetype
13 years ago
Qingping Hou
e258371134
mod: add closePage and demo for filechooser
13 years ago
Qingping Hou
4a1a5233c0
Merge branch 'master' into djvu
...
Conflicts:
reader.lua
13 years ago
Qingping Hou
bcc86f260a
mod: add set gamma
13 years ago
Qingping Hou
755567d7ba
mod: zoom feature finished
13 years ago
Qingping Hou
581684d3bd
first demo on emu mode :-)
13 years ago
HW
324f2076d6
Merge pull request #22 from dpavlin/master
...
added Shift+B to add current page to jumpstack
13 years ago
Qingping Hou
8a03358139
fix: fail to set search path correctly in readdir()
13 years ago
Qingping Hou
6614bbe33d
mod: handle shift and alt key events in adjustKeyEvents()
13 years ago
Qingping Hou
1713e2ab0b
fix: refresh screen more elegantly after reader exit
13 years ago
Qingping Hou
aa5806accd
Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
...
Conflicts:
pdfreader.lua
13 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.
13 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.
13 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
13 years ago