chrox
9e8a92862c
add koptreader.lua file in customupdate
...
Conflicts:
Makefile
12 years ago
chrox
441d061664
add DJVU reflow
...
Conflicts:
djvu.c
koptreader.lua
reader.lua
12 years ago
chrox
503a76db9a
Cleanup: pass globalzoom to reflow in dc
...
Conflicts:
pdfreader.lua
12 years ago
chrox
f0c7896bc8
add zoom in/out in reflow mode && PGBCK/PGFWD now work as expect
...
Conflicts:
pdfreader.lua
12 years ago
Tigran Aivazian
da88ca7a09
Get rid of unused variable in getCacheSize()
12 years ago
chrox
f3f97b6223
add pdf page reflow
...
Conflicts:
pdfreader.lua
12 years ago
Tigran Aivazian
89c5aad77f
Mention SDL/SDL-devel requirement on Fedora
12 years ago
Dobrica Pavlinusic
3c19365145
use DEBUG_CRENGINE from enviroment if available
...
This allows to specify DEBUG_CRENGINE=1 while compiling without editing
source code
12 years ago
Dobrica Pavlinusic
95f6ed5bd6
fix getCurrentPageLinks segfault on links without target
12 years ago
Dobrica Pavlinusic
484d85ab0f
getSelections can be 0
...
This depends on visible selections and not on content of file. So if we
have search results on screen this will be more than 0, but if we don't
we won't get any link shortcuts
12 years ago
Dobrica Pavlinusic
08d26596b8
use CRLog::debug instead of printf, removed unused code
12 years ago
Dobrica Pavlinusic
24d4b82f2d
getSelections can return empty ldomXRangeList
12 years ago
Tigran Aivazian
9c4a7ab860
Cleanup of pic.c
...
1. Report the true size of the document cache (0).
2. Cut down the number of pointer dereferences in drawPage().
12 years ago
Tigran Aivazian
d747739b35
Comment out [currently] unused variables.
12 years ago
Tigran Aivazian
ebc029dbbd
Recognize the files with ".jpeg" extension
...
Conflicts:
extentions.lua
12 years ago
Tigran Aivazian
6c9a3c3dc5
Factor out JPEG support into a module
...
This is to make adding support for new formats easier.
See the file pic_jpeg.h for the description of the interface that each
image format must support.
Conflicts:
Makefile
12 years ago
Tigran Aivazian
8c6fd35789
Initialize doc->image in openDocument
...
This is needed to protect against double free() in closeDocument().
12 years ago
Tigran Aivazian
01ce094adb
Free raw_image if it is unsupported.
...
If the number of colour components is neither 1 nor 3 we should remember
to free the buffer holding the raw decoded image before returning the
error to Lua.
12 years ago
Tigran Aivazian
74a60eeea2
Show the number of colour components via Menu.
...
Conflicts:
picviewer.lua
12 years ago
Tigran Aivazian
ee59fac328
Make closeDocument() re-entrant.
12 years ago
Tigran Aivazian
7609fc2dd0
Slight tidy-up of the code.
12 years ago
Tigran Aivazian
cac63cd390
Add support for colour JPEG images.
...
I used the luminance match algorithm for converting RGB colour images to
grayscale as it gives the best visual results (but at the cost of speed).
12 years ago
Dobrica Pavlinusic
2103461a43
return section separate from url and fix highlight
12 years ago
Dobrica Pavlinusic
f2933a32c0
added clearSelection
...
Conflicts:
unireader.lua
12 years ago
Dobrica Pavlinusic
bc4d2e7a49
added gotoLink
...
Conflicts:
unireader.lua
12 years ago
Dobrica Pavlinusic
60edf54e2f
getPageLinks implementation for crengine formats
...
Conflicts:
cre.cpp
crereader.lua
unireader.lua
12 years ago
Tigran Aivazian
f6c73c33d3
Commented out debug-only function readable_fs().
12 years ago
Tigran Aivazian
879c937762
Force the use of bash.
...
On some distributions (e.g. Ubuntu) the shell used for scripts is dash,
not bash and we explicitly rely on bash's features in the Makefile, so
we must guarantee that we are running with bash (not dash or anything
else).
12 years ago
Tigran Aivazian
b053667d9e
Add git-rev file.
...
Conflicts:
.gitignore
12 years ago
HW
4b2a9237c9
factored out blitting constraints check in a seperate function
...
the checking of the boundaries when blitting was incomplete
for the addblitToBuffer() function when compared with the
blitToBuffer() function. Factored out the redundant checking
procedure into a new function.
Should fix another bug leading to issue #401 and probably
more cases for specifying boundary boxes.
12 years ago
HW
cf38d02e80
added framework to check the involved pointers in blitbuffer operations
...
blitbuffer operations in 4bpp can be a nasty experience, easy to
get the pointers wrong. so a macro can check them now.
Conflicts:
blitbuffer.c
12 years ago
Tigran Aivazian
b56f4bf958
Support only grayscale images for now.
12 years ago
Tigran Aivazian
6d23997442
Add simple scaling support.
...
Conflicts:
pic.c
12 years ago
Dobrica Pavlinušić
b43249128e
Merge pull request #504 from houqp/new_ui_code
...
add multi-touch event definitions from linux/input.h
12 years ago
Qingping Hou
e07c1d147f
add multi-touch event definitions from linux/input.h
12 years ago
Dobrica Pavlinušić
95ad8ebe09
Merge pull request #470 from houqp/new_ui_code
...
PaperWhite support for einkfb module
12 years ago
Qingping Hou
d4e01f97a8
add mxcfb.h header for v5 firmware eink support
12 years ago
Qingping Hou
a43d1f7ae2
add kindlePaperWhite support for einkfb module
12 years ago
Dobrica Pavlinušić
e7c0ab8731
Merge pull request #440 from houqp/new_ui_code
...
one bug fix and add paperwhite detection
12 years ago
Qingping Hou
54b33bd6a7
fix DXG detection
12 years ago
Qingping Hou
2985d27569
rewrite device detection
12 years ago
Qingping Hou
1adc84c2ac
rename slider event to fake_events again
12 years ago
Dobrica Pavlinušić
d2477a1214
Merge pull request #407 from houqp/new_ui_code
...
some of my fixes & merge lates changes from master branch
12 years ago
Qingping Hou
ea022b651f
add rendermode support for djvu documents
12 years ago
HW
b012f1b037
changed page number reading
...
this is far from complete since in fact, we read page references
which follow a more complex syntax. while specifying page numbers
is one option for them, they might also specify page names. we
currently do not yet have code for this case and we will return
"-1" for all page references we can not parse.
12 years ago
Tigran Aivazian
0d740d2b3b
Optimize DjVu drawPage() function
...
We only need to fill the image buffer with white colour if DjVu page
rendering function did not fill it in with page data.
12 years ago
Qingping Hou
8ccbfba6cc
Djvu Validate patch from tigran123
...
refer to commit in master(kpv) tree:
64b6ef4afd
12 years ago
Qingping Hou
f641f50e2a
add comment for build version reading in the future
12 years ago
Qingping Hou
e3b567b2b1
fix kerning for Utf8Text family methods from tigran123
...
refer to master pullrequest #386 and #383 , related
commits are (all in master(kpv) tree):
cb25029ddd
c7b4cf71f8
379cba7b68
12 years ago
Tigran Aivazian
604f635c46
Cleanup of getUsedBBox() function.
...
The function getUsedBBox() does not need to perform any operations on
the DjvuPage structure, so there is no need to obtain it from Lua.
12 years ago