Tigran Aivazian
2d5a936480
Remove the local variable render_mode from drawPage() (although it would be optimized away by gcc anyway).
2012-08-29 10:02:31 +01:00
Tigran Aivazian
824e9d139e
Move render_mode support out of unireader.lua into djvureader.lua as it is djvu-specific.
...
Also added support for all other rendering modes handled by djvulibre.
Also made the message print a human-readable description of the mode rather than just the number.
2012-08-28 23:48:56 +01:00
Tigran Aivazian
5c9a8fbec6
DjVu enhancements: a) add support for switching the rendering mode between B&W (default, 1) and COLOUR (0) values. b) handle the gamma values correctly.
2012-08-27 15:33:32 +01:00
Kefu Chai
896c435840
remove dependency on <linux/input.h>
...
* and kill a warning
2012-06-11 02:49:45 +08:00
Qingping Hou
d2d8ad84ed
handle djvu getPageText API changes.
2012-05-23 13:04:05 +08:00
Qingping Hou
a672cf4ee0
unified coordinates system in djvrereader
...
fix bug in showing manual corp area.
this also fixes #132 .
2012-04-30 22:12:15 +08:00
Qingping Hou
eca9ec4877
fix TOC entry page number counting, it was one page ahead.
...
close #137
2012-04-24 17:10:38 +08:00
HW
ec905a5a13
fixed various bugs in pointer handling
2012-04-16 22:51:13 +02:00
Qingping Hou
9e4b2675f0
Merge branch 'master' into epub
...
Conflicts:
unireader.lua
2012-04-01 08:27:25 +08:00
Dobrica Pavlinusic
d34ccb92e6
make cache_size optional
2012-03-31 14:46:49 +02:00
Dobrica Pavlinusic
5b1deedd86
remove setCacheSize set cache in openDocument
2012-03-31 14:41:23 +02:00
Qingping Hou
42c9773711
add: cache size control for djvureader
2012-03-31 20:40:46 +08:00
Dobrica Pavlinusic
60b7ccb3cb
added cleanCache bound to C key in menu #80
2012-03-31 13:38:33 +02:00
Dobrica Pavlinusic
91bd1277d7
control renderer memory usage #80
...
added setCacheSize and cache_document_size configuration vairable
2012-03-31 13:24:38 +02:00
Dobrica Pavlinusic
92ec4213c0
show djvu cache size #80
...
Currently it shows cache_max_memsize and cache_item_max_pixels from
lua and djvu cache size on menu key
2012-03-31 12:54:45 +02:00
Qingping Hou
ad9d13a947
mod: rename TOC to Toc, adapt showMenu to CREReader
2012-03-29 18:17:32 +08:00
Qingping Hou
7c81f60a58
rewrite highlight again :( finished the cursor part
2012-03-22 23:12:57 +08:00
Qingping Hou
a185f238eb
mod: rewrite highlight feature
2012-03-20 16:42:22 +08:00
Qingping Hou
f4ea1cdb62
Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
...
Conflicts:
blitbuffer.c
unireader.lua
2012-03-20 10:36:35 +08:00
HW
87ec4bbf6b
factored pages counter out of document struct
2012-03-20 00:03:09 +01:00
HW
8869c52c31
fix a Lua 5.0 syntax that was deprecated in 5.1
...
luaL_reg is now renamed to luaL_Reg. Lua 5.2 does not know about
the old name anymore, Lua 5.1.x had backward compatibility.
2012-03-19 19:11:32 +01:00
HW
9ee7afa86d
separate DC out of pdf.c and djvu.c (cleanup)
2012-03-19 18:59:36 +01:00
Qingping Hou
84c8230730
POC of text highlight in current page!
2012-03-17 12:17:20 +08:00
Qingping Hou
6441c34040
fix: bug in page text table construction
2012-03-17 10:00:45 +08:00
Qingping Hou
baf98c0fcd
add: POC getPageText method in djvu.c
2012-03-16 17:23:25 +08:00
Qingping Hou
72c032e7db
fix: adjust page number in toc
...
djvulibre counts page number starts from 0, while
kpdfview starts from 1.
2012-03-11 09:44:05 +08:00
German Caro
c074f19b0f
Re-indented using tabs
2012-03-10 22:06:49 -03:00
German Caro
ab056e2e15
Add support to djvu TOC
2012-03-10 21:50:16 -03:00
{Qingping,Dave} Hou
98154a4eb4
Merge pull request #49 from houqp/master
...
fix: passing wrong page number to ddjvu_document_get_pageinfo in djvu.c
2012-03-07 17:59:53 -08:00
Qingping Hou
b3fb1dbcce
fix: passing wrong page number to ddjvu_document_get_pageinfo
2012-03-08 09:35:15 +08:00
HW
dd8c1324b7
djvulibre wants utf8-based filenames to be handed differently. closes #47
2012-03-07 19:37:03 +01: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
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
Qingping Hou
49fa943306
mod: fix typo in comments
2012-03-05 10:02:39 +08:00
Qingping Hou
145d700685
mod: add fake toc method in djvu.c
2012-03-05 09:04:00 +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