Commit Graph

64 Commits (fd9e3d57f33e5d40f74433590b1f8d9f7e0fb276)

Author SHA1 Message Date
chrox 0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 10 years ago
chrox 092522b89d promote user to save PDF document after highlighting
This is a wordaround for #791.
10 years ago
Paulo Matias f04951e5dc Consider as corrupt a null-area bbox
Fixes crash with empty page_states
10 years ago
chrox 5aa8eb52da add missing Blitbuffer since it's removed from global space 10 years ago
chrox a8b7b2cdbd add base document init method to create new configurable for each document
this should fix configurables pollution when opening multiple documents
at the same time, e.g. when clipping page images in Evernote plugin.
10 years ago
chrox 17741e292b serialize cache when closing ReaderUI other than closing document 10 years ago
chrox 775e5ea3b4 serialize the most recently used blitbuffer/koptcontext
to speedup koreader startup for PDF/DJVU documents
especially when reflowing
10 years ago
Qingping Hou 4b357c1466 move reader code into frontend/apps/reader
it makes more sense to completely separate the UI framework and
application code

also move frontend/ui/configurable.lua to frontend/configurable.lua
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 0eee130f5a clipping page bbox 10 years ago
chrox b42b4ed204 save highlight to pdf document 10 years ago
Paulo Matias c55d5e025e Avoid crash on backends which don't define getLinkFromPosition 10 years ago
chrox ce3b58538c fix no getPageLinks method in djvudocument 10 years ago
chrox 34e28d28e6 page links for crereader and pdfreader
Swipe right will return to previous page or position.
10 years ago
chrox eaa9535133 move logMemoryUsage from koptinterface to document 11 years ago
chrox 62e12ddfba import document module on-demand 11 years ago
chrox 4cfdce6105 fix several local calls of Math.round 11 years ago
HW 09cd5c4104 Make DEBUG a require()d local 11 years ago
HW 748a443cd5 Merge remote-tracking branch 'upstream/master'
resolved conflicts with refactored structure
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
Qingping Hou bc91b932d1 style cleanup in document.lua 11 years ago
Qingping Hou a59723c053 add pic document type 11 years ago
Qingping Hou 10bf048d77 move configurable to Document class
since every document type is depend on it now
11 years ago
chrox c86bb46ef7 add gotoLocation for credocument 11 years ago
chrox 39da1251ec free blitbuffer as soon as tile is kicked out from cache
other than waiting for the lazy garbage collector of lua
11 years ago
Deyuan Deng 9528f4a95b when open document, check if provider is nil 11 years ago
chrox 7c78e83e49 add hightlight/dictionary lookup in scanned pdf/djvu 11 years ago
chrox 936dfc6fd1 add text highlight in both reflow and non-reflow mode 11 years ago
Qingping Hou 1783b16d69 credoc fix: load metadata info after document is rendered 11 years ago
Qingping Hou f12ff20c37 discard bbox with zero area 11 years ago
chrox 6561475cf7 return bbox immediately to save several CPU cycles 11 years ago
chrox 86a65003d1 set manual cropping if bbox exists 11 years ago
chrox 9efdefb22f add gamma correction for pdf/djvu reader 11 years ago
chrox 78f8ca9029 cleanup: remove debug info on bbox 11 years ago
Qingping Hou f3452234ea add math.lua, move all math related helpers in to it 11 years ago
chrox a1aa41136c add manual page crop for pdf/djvu documents 11 years ago
Qingping Hou 789b5d57e2 read page information for crerengine 12 years ago
Qingping Hou c8dce5f351 Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into hint_page_fix
Conflicts:
	frontend/document/document.lua
12 years ago
Qingping Hou 93cad1428c add render_mode into render hash 12 years ago
Qingping Hou 1fa0d886bd add render mode to hint page 12 years ago
chrox c8b699c068 bugfix: check renderpg hash before hinting page 12 years ago
{Qingping,Dave} Hou 3ec818a3cd Merge pull request #684 from chrox/koptreader-new-ui
add reflow mode in pdf/djvu readers
12 years ago
chrox 349bcb996e use koptinterface to reflow text in pdf/djvu readers 12 years ago
chrox a649301e69 make pdfreader and djvureader the defaults 12 years ago
chrox 138def10c3 Demo version of koptreader config dialog. 12 years ago
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...
12 years ago
Qingping Hou 683c7eee2c handle corrupted usedbbox in Document:getUsedBBoxDimensions() 12 years ago
Qingping Hou 7b707ab367 add usedbbox support 12 years ago
chrox c462090600 add koptreader demo 12 years ago
Qingping Hou 36a4ead630 update document.lua according to API change in cre.cpp 12 years ago