2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
Commit Graph

418 Commits

Author SHA1 Message Date
Dobrica Pavlinušić
7a42adb5b0 Merge pull request #84 from houqp/master
force freeing biltbuffer on cache evict
2012-03-31 11:15:40 -07:00
Qingping Hou
0dd063b7ce Merge branch 'master' of github.com:hwhw/kindlepdfviewer
Conflicts:
	unireader.lua
2012-04-01 01:12:59 +08:00
Qingping Hou
8764b8aa4f fix: force freeing biltbuffer on cache evict
Also move cache display code above reading progress
code.
2012-04-01 00:59:16 +08:00
Dobrica Pavlinusic
244a6077ab cache_item_max_pixels is not used #79 2012-03-31 16:31:41 +02:00
Dobrica Pavlinušić
fd8a7283c0 Merge pull request #83 from houqp/master
This should fix #78
2012-03-31 06:36:07 -07:00
Dobrica Pavlinusic
17f7f00441 Merge branch 'master' of github.com:hwhw/kindlepdfviewer into memory_usage 2012-03-31 15:33:36 +02:00
Dobrica Pavlinusic
661c7be893 use @traycold code from #74 to show current mupdf cache usage 2012-03-31 15:29:17 +02:00
{Qingping,Dave} Hou
f4af610a54 Merge pull request #82 from dpavlin/memory_usage
Memory usage configurable from lua
close #80
2012-03-31 06:28:12 -07:00
Qingping Hou
dc30c491f7 add: Shift+R for manual full screen refresh
fix #78
2012-03-31 21:18:04 +08:00
Qingping Hou
a035998b20 add: partial refresh configure entry in .readker.kpdfview.lua
fix #78
2012-03-31 21:12:31 +08:00
Dobrica Pavlinusic
5884f69b60 setCacheSize cleanup 2012-03-31 15:10:20 +02:00
Qingping Hou
a24fca5b5c mod: simulate full screen update in SDL emulator 2012-03-31 21:09:06 +08:00
Dobrica Pavlinusic
d34ccb92e6 make cache_size optional 2012-03-31 14:46:49 +02:00
Dobrica Pavlinušić
a15d5fb3b8 Merge pull request #81 from houqp/master
djvulibre cache size control from Lua script
2012-03-31 05:44:16 -07:00
Dobrica Pavlinusic
b8941eee41 cleanup cache_size based on coding guidelines 2012-03-31 14:44:09 +02:00
Dobrica Pavlinusic
5b1deedd86 remove setCacheSize set cache in openDocument 2012-03-31 14:41:23 +02:00
Qingping Hou
42c9773711 add: cache size control for djvureader 2012-03-31 20:40:46 +08:00
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
2012-03-31 14:32:36 +02:00
Dobrica Pavlinusic
3e83dcc2a4 pass cache_document_size to document open
This is how mupdf API is structured
2012-03-31 14:10:41 +02:00
Dobrica Pavlinusic
4f0b41ebc5 show cache_current_memsize 2012-03-31 13:57:35 +02:00
Dobrica Pavlinusic
60b7ccb3cb added cleanCache bound to C key in menu #80 2012-03-31 13:38:33 +02:00
Dobrica Pavlinusic
91bd1277d7 control renderer memory usage #80
added setCacheSize and cache_document_size configuration vairable
2012-03-31 13:24:38 +02:00
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
2012-03-31 12:54:45 +02:00
{Qingping,Dave} Hou
dbeef1b4c2 Merge pull request #76 from dpavlin/issue_55_multikey
Issue #55 multikey support
2012-03-27 20:17:00 -07:00
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
2012-03-27 20:10:56 +02:00
Dobrica Pavlinusic
d3318beb84 print defined commands using dump 2012-03-27 19:54:07 +02:00
Dobrica Pavlinusic
71c36064e2 added K3 left page keys for emulator on F3 and F4 2012-03-27 18:31:41 +02:00
Dobrica Pavlinušić
a65178ba92 Merge pull request #74 from traycold/e2e5af1c6135f846a0995e45cff0a73bc5a2063d
custom memory allocation for muPdf; may be useful for issue #58
2012-03-27 00:20:18 -07:00
{Qingping,Dave} Hou
1de55cae21 Merge pull request #73 from dpavlin/test-2col
test pdf file for two-column zoom #69
2012-03-26 20:42:05 -07:00
Dobrica Pavlinusic
461c00eb98 test pdf file for two-column zoom #69
It also demonstrate nicely need to manually re-invoke two-column
zoom which was first reported by vmonkey at

http://www.mobileread.com/forums/showpost.php?p=1992328&postcount=119

I'm not quite sure that I prefer manual interaction any more :-)

This file is created using Inkscape and pdftk, so it's free for
re-distribution as a test suite, possibly using something
like Perceptual Image Diff http://pdiff.sourceforge.net/
to automate it.
2012-03-26 21:28:14 +02:00
Dobrica Pavlinušić
e4990efcc3 Merge pull request #71 from houqp/djvu-highlight
Cursor and Djvu highlight support

Judging from @hwhw comment on #72 we seem to have consensus :-)
2012-03-26 11:54:04 -07:00
Qingping Hou
d37e81ad0c Merge remote-tracking branch 'upstream/master' into djvu-highlight
Conflicts:
	unireader.lua
2012-03-27 02:50:15 +08:00
Qingping Hou
8159b24a46 add: simple highlight lists menu 2012-03-27 02:46:03 +08:00
Dobrica Pavlinusic
b496c2081f ignore djvulibre and generated zips 2012-03-26 20:35:51 +02:00
Dobrica Pavlinusic
6886ae9830 exit reader with just Home as before #55 2012-03-26 20:16:36 +02:00
Qingping Hou
a8c40cd5b6 fix: highlight words that partially fit into screen 2012-03-27 01:15:58 +08:00
Qingping Hou
1113759972 fix: add virtual startHighLightMode method for all readers. 2012-03-26 20:25:44 +08:00
Qingping Hou
eac9893958 fix: add KEY_LPGFWD and KEY_LPGBCK to filechooser 2012-03-26 20:19:48 +08:00
Qingping Hou
0c2afd805e fix: enable pan by page from right end to next line left end 2012-03-24 22:06:29 +08:00
Qingping Hou
74d1760260 fix: start position of cursor 2012-03-24 21:27:35 +08:00
Qingping Hou
5d087d0a84 fix: handle out or view range word in highlight mode 2012-03-24 20:12:00 +08:00
Qingping Hou
e15fc5e21e mod: delete useless variable is_next_view 2012-03-24 18:39:33 +08:00
Qingping Hou
e5acbeb363 mod: fix bug in cursor move
only move cursor to word in current view
2012-03-24 18:28:52 +08:00
Qingping Hou
c756fcbf10 fix: cursor move in zoom in mode
only move cursor to word within screen range
2012-03-23 18:28:15 +08:00
Qingping Hou
35abbc93d4 add: configurable highlight drawer
* underscore style (default)
* marker style
2012-03-23 17:20:51 +08:00
Qingping Hou
e30b88d135 add: delete feature in djvu highlight 2012-03-23 16:56:01 +08:00
Qingping Hou
81a1f3d366 demo of text highlight
* text selection
* highlight save and restore
2012-03-23 15:51:48 +08:00
Qingping Hou
7c81f60a58 rewrite highlight again :( finished the cursor part 2012-03-22 23:12:57 +08:00
traycold
e2e5af1c61 added some debug code to better understand memory usage by muPdf 2012-03-22 02:08:31 +01:00
Qingping Hou
9aa9bc802f mod: add highlight after merged command module 2012-03-21 11:20:07 +08:00