chrox
b42b4ed204
save highlight to pdf document
2014-02-09 17:51:40 +08:00
Paulo Matias
c55d5e025e
Avoid crash on backends which don't define getLinkFromPosition
2014-01-21 10:28:04 -02:00
chrox
ce3b58538c
fix no getPageLinks method in djvudocument
2014-01-18 15:31:27 +08:00
chrox
34e28d28e6
page links for crereader and pdfreader
...
Swipe right will return to previous page or position.
2014-01-18 15:04:28 +08:00
chrox
eaa9535133
move logMemoryUsage from koptinterface to document
2014-01-02 19:19:03 +08:00
chrox
62e12ddfba
import document module on-demand
2013-12-31 13:12:56 +08:00
chrox
4cfdce6105
fix several local calls of Math.round
2013-10-23 22:37:55 +08:00
HW
09cd5c4104
Make DEBUG a require()d local
2013-10-22 20:51:29 +02:00
HW
748a443cd5
Merge remote-tracking branch 'upstream/master'
...
resolved conflicts with refactored structure
2013-10-22 17:19:08 +02:00
HW
ef111b99c6
Refactored to use strictly locals
2013-10-18 22:38:07 +02:00
Qingping Hou
bc91b932d1
style cleanup in document.lua
2013-10-17 17:37:53 -04:00
Qingping Hou
a59723c053
add pic document type
2013-10-17 17:35:05 -04:00
Qingping Hou
10bf048d77
move configurable to Document class
...
since every document type is depend on it now
2013-10-17 17:28:20 -04:00
chrox
c86bb46ef7
add gotoLocation for credocument
2013-10-17 23:53:29 +08:00
chrox
39da1251ec
free blitbuffer as soon as tile is kicked out from cache
...
other than waiting for the lazy garbage collector of lua
2013-10-13 15:30:48 +08:00
Deyuan Deng
9528f4a95b
when open document, check if provider is nil
2013-07-08 23:17:06 -07:00
chrox
7c78e83e49
add hightlight/dictionary lookup in scanned pdf/djvu
2013-05-01 23:43:53 +08:00
chrox
936dfc6fd1
add text highlight in both reflow and non-reflow mode
2013-04-24 06:59:52 +08:00
Qingping Hou
1783b16d69
credoc fix: load metadata info after document is rendered
2013-04-21 05:54:20 +08:00
Qingping Hou
f12ff20c37
discard bbox with zero area
2013-04-03 13:03:55 +08:00
chrox
6561475cf7
return bbox immediately to save several CPU cycles
2013-03-10 13:15:00 +08:00
chrox
86a65003d1
set manual cropping if bbox exists
2013-02-25 21:29:41 +08:00
chrox
9efdefb22f
add gamma correction for pdf/djvu reader
2013-02-20 14:32:51 +08:00
chrox
78f8ca9029
cleanup: remove debug info on bbox
2013-02-19 13:28:04 +08:00
Qingping Hou
f3452234ea
add math.lua, move all math related helpers in to it
2013-02-19 11:57:14 +08:00
chrox
a1aa41136c
add manual page crop for pdf/djvu documents
2013-02-03 04:42:59 +08:00
Qingping Hou
789b5d57e2
read page information for crerengine
2013-01-09 16:41:42 +08:00
Qingping Hou
c8dce5f351
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into hint_page_fix
...
Conflicts:
frontend/document/document.lua
2013-01-09 11:38:49 +08:00
Qingping Hou
93cad1428c
add render_mode into render hash
2013-01-09 06:06:53 +08:00
Qingping Hou
1fa0d886bd
add render mode to hint page
2013-01-09 05:51:53 +08:00
chrox
c8b699c068
bugfix: check renderpg hash before hinting page
2013-01-08 17:00:18 +08:00
{Qingping,Dave} Hou
3ec818a3cd
Merge pull request #684 from chrox/koptreader-new-ui
...
add reflow mode in pdf/djvu readers
2013-01-04 00:28:57 -08:00
chrox
349bcb996e
use koptinterface to reflow text in pdf/djvu readers
2013-01-03 22:33:49 +08:00
chrox
a649301e69
make pdfreader and djvureader the defaults
2012-12-24 08:19:34 +08:00
chrox
138def10c3
Demo version of koptreader config dialog.
2012-12-24 08:16:17 +08:00
Qingping Hou
93abd2fee7
add page status to readerrolling for better page view_mode support
...
* now when rendering in page view mode, we only keep track of page
number instead of pos inside document. Because using pos inside
document for page view mode is really a bad idea and will lead to
many unsovlabe bugs...
2012-12-22 13:27:46 +08:00
Qingping Hou
683c7eee2c
handle corrupted usedbbox in Document:getUsedBBoxDimensions()
2012-12-07 16:42:27 -05:00
Qingping Hou
7b707ab367
add usedbbox support
2012-12-02 17:09:32 +08:00
chrox
c462090600
add koptreader demo
2012-11-27 20:43:49 +08:00
Qingping Hou
36a4ead630
update document.lua according to API change in cre.cpp
2012-11-11 14:29:56 +08:00
Qingping Hou
ea022b651f
add rendermode support for djvu documents
2012-10-09 18:26:01 -04:00
Qingping Hou
eb79e1c95c
handle file with no extension in filechooser
2012-09-17 20:36:39 -04:00
Qingping Hou
c1ccff70ad
minor adjustment for Makefile and document.lua
2012-08-25 22:52:12 +08:00
Qingping Hou
acaf8d660e
font menu for readerui
2012-06-12 17:42:28 +08:00
Qingping Hou
77761554d9
add CreDocument:engineInit() method
2012-06-12 14:52:35 +08:00
Qingping Hou
d89cbc43f9
replace getProvider with openDocument
...
now getProvider only returns the provider
2012-06-12 14:38:00 +08:00
HW
ce5614ef6f
cleanup, also removal of G_* constants
...
a bit of cleanup, switched width/height combo over to use
Geom() objects, moved framebuffer handling to Screen object,
callback syntax sanitizing, lots of small changes
2012-06-10 17:36:19 +02:00
Qingping Hou
e7d16de4e2
first demo for credocument
2012-06-05 15:23:36 +08:00
Qingping Hou
b40a748a78
move duplicate codes to document.lua
2012-06-03 22:26:16 +08:00
Qingping Hou
7f6773dc6f
demo for djvu support
...
wait for code clean up
2012-06-03 11:11:15 +08:00