Qingping Hou
0dd063b7ce
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
...
Conflicts:
unireader.lua
13 years ago
Qingping Hou
8764b8aa4f
fix: force freeing biltbuffer on cache evict
...
Also move cache display code above reading progress
code.
13 years ago
Dobrica Pavlinusic
244a6077ab
cache_item_max_pixels is not used #79
13 years ago
Dobrica Pavlinušić
fd8a7283c0
Merge pull request #83 from houqp/master
...
This should fix #78
13 years ago
Dobrica Pavlinusic
661c7be893
use @traycold code from #74 to show current mupdf cache usage
13 years ago
Qingping Hou
dc30c491f7
add: Shift+R for manual full screen refresh
...
fix #78
13 years ago
Qingping Hou
a035998b20
add: partial refresh configure entry in .readker.kpdfview.lua
...
fix #78
13 years ago
Dobrica Pavlinusic
5884f69b60
setCacheSize cleanup
13 years ago
Dobrica Pavlinusic
2754d996c4
move memory info to top of page
...
This allows section name to be displayed on bottom, and it won't push
memory info out of screen
13 years ago
Dobrica Pavlinusic
3e83dcc2a4
pass cache_document_size to document open
...
This is how mupdf API is structured
13 years ago
Dobrica Pavlinusic
4f0b41ebc5
show cache_current_memsize
13 years ago
Dobrica Pavlinusic
60b7ccb3cb
added cleanCache bound to C key in menu #80
13 years ago
Dobrica Pavlinusic
91bd1277d7
control renderer memory usage #80
...
added setCacheSize and cache_document_size configuration vairable
13 years ago
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
13 years ago
Dobrica Pavlinusic
69a8ee83bb
specify multiple keys for single command #55
...
This code still doesn't support different modifiers on keys, but
I would rather refactor it in small steps first
Current changes adds support for Kindle 3 left page keys
reported by @houqp in issue #55
13 years ago
Dobrica Pavlinusic
d3318beb84
print defined commands using dump
13 years ago
Qingping Hou
d37e81ad0c
Merge remote-tracking branch 'upstream/master' into djvu-highlight
...
Conflicts:
unireader.lua
13 years ago
Qingping Hou
8159b24a46
add: simple highlight lists menu
13 years ago
Dobrica Pavlinusic
6886ae9830
exit reader with just Home as before #55
13 years ago
Qingping Hou
1113759972
fix: add virtual startHighLightMode method for all readers.
13 years ago
Qingping Hou
81a1f3d366
demo of text highlight
...
* text selection
* highlight save and restore
13 years ago
Qingping Hou
7c81f60a58
rewrite highlight again :( finished the cursor part
13 years ago
Qingping Hou
9aa9bc802f
mod: add highlight after merged command module
13 years ago
Qingping Hou
46f171df3b
Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
...
Conflicts:
unireader.lua
13 years ago
Qingping Hou
1e2d7f62ac
record and save highlight table
13 years ago
traycold
bfcad367bb
using font module for getting fonts (commit f95231d789
)
...
renamed function names using camelCase (issue #62 )
13 years ago
traycold
fd6c6dbe60
Merge remote branch 'hwhw/master'
...
* hwhw/master:
Password input, handling for broken documents
factored pages count out, better error and password handling
factored pages counter out of document struct
13 years ago
Qingping Hou
a185f238eb
mod: rewrite highlight feature
13 years ago
Qingping Hou
f4ea1cdb62
Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
...
Conflicts:
blitbuffer.c
unireader.lua
13 years ago
HW
7e3e38be62
Password input, handling for broken documents
13 years ago
traycold
3d2a748aee
Merge remote branch 'hwhw/master'
...
* hwhw/master:
fix a Lua 5.0 syntax that was deprecated in 5.1
separate DC out of pdf.c and djvu.c (cleanup)
removed obsolete page rotation handling, closes #70
allow easier customization of toolchain for libdjvu
fix: remove page number checking in displaying TOC
fix: handle LPGBCK and LPGFWD in selectmenu
13 years ago
HW
9ee7afa86d
separate DC out of pdf.c and djvu.c (cleanup)
13 years ago
Qingping Hou
e7f0a8bddb
mod: rewrite highlight feature
...
waiting for integrate test with cursor support
13 years ago
Qingping Hou
84c8230730
POC of text highlight in current page!
13 years ago
Qingping Hou
c8f87d5661
fix: remove page number checking in displaying TOC
...
Former showTOC() method checks the page number in each
entry and only display entry whose page number is greater
than the previous one. However, I think this is too
"clever", we should better leave the TOC untouched to keep
consistent with other pdf readers.
13 years ago
traycold
496ab3720e
small bugfix
13 years ago
traycold
943b511b7c
complete implementation of issue #55
...
created a help page
13 years ago
traycold
abf9696221
Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer.git
...
Conflicts:
reader.lua
unireader.lua
13 years ago
Qingping Hou
56a00d79a0
mod: delete debug print
13 years ago
Qingping Hou
46cfd950c7
fix: typo
13 years ago
Qingping Hou
8c31dd3c5f
fix: hanlde offset in ZOOM_FIT_TO_WIDTH_PAN mode
...
ZOOM_FIT_TO_WIDTH_PAN mode must be handled differently.
Because not like other zoom mode, its offset is not set
to middle of the screen or page.
13 years ago
Qingping Hou
734f94da89
fix: handle positive self.offset in draworcache method
13 years ago
HW
8410ac5cb7
fix forgotten corner case when caching
13 years ago
HW
aab05c3002
Fix page caching
...
Fixed page caching. Cache strategy is the following:
prio 1: cache/render requested area
prio 2: cache/render as much of the current page as possible
prio 3: cache/render full page
prio 4: render next page
This is still a bit buggy when in fit-to-content mode.
13 years ago
HW
86ff74acd6
prepare for more elaborate caching policy
...
we allow for bigger render buffers, so the cache now returns
the ID (hash) of the relevant cashed tile PLUS offsets into that
tile, pointing to the coordinates where the requested frame
has its origin.
13 years ago
Qingping Hou
0e914c5fda
revert 70b7e029d3
again
...
commit 5fae18298a
mistakenly
reverted d8a58e8764
, in which
commit 70b7e029d3
was reverted.
13 years ago
Qingping Hou
5fae18298a
add: goto input box in reader
13 years ago
Dobrica Pavlinusic
d8a58e8764
revert 70b7e029d3
...
It's not that simple since ZOOM_FIT_TO_CONTENT_HALF_WIDTH also
needs bounding boxes, and this seems like over-optimization
which seems to be bug infested especially because it deals
with negative numbers so code just *looks* wrong
13 years ago
Dobrica Pavlinusic
7ee77dee5c
removed duplicate code
13 years ago
Qingping Hou
7389255503
fix: handle last section in getTOCTitleByPage()
13 years ago