Commit Graph

15 Commits

Author SHA1 Message Date
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
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