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
Qingping Hou
4633ca0832
mod: use percent as absolute location in DOCs in CREReader
...
The height of documents will be changed after zoom in or
zoom out, so we cannot use pos to mark positions inside
documents.
2012-03-31 20:22:22 +08: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 Hou
9df574de01
add: last reading position saving and restoring
2012-03-30 14:25:36 +08:00
Qingping Hou
37dfc84d5a
fix: move commands initilization from global init to local
...
If we call addAllCommands in initGlobalSettings, all
the readers will share the same commands and we cannot
adjust commands for a specific reader. I thus moved this
method call to Unireader:init() method.
2012-03-30 14:10:04 +08:00
Qingping Hou
937f445b92
fix: mistakenly over written unireader's method
2012-03-30 14:00:41 +08:00
Qingping Hou
8a2b86e203
mod: factor last reading page saving and resotring
2012-03-30 13:07:48 +08:00
Qingping Hou
612890850c
add: percent jump in CREReader
2012-03-30 12:38:41 +08:00
Qingping Hou
ad750a89f8
add: font zooming in CREReader
2012-03-30 12:31:09 +08:00
Qingping Hou
c0edbfae27
mod: remove not used shorcuts in CREReader
2012-03-30 12:06:33 +08:00
Qingping Hou
5c4b0868ba
add: del method in commands
2012-03-30 12:01:59 +08:00
Qingping Hou
c89e3efc19
fix: clear commands when no item in menu
2012-03-29 21:16:09 +08:00
Qingping Hou
e94fe052d3
mod: rewrite selectmenu with commands
...
also fixed bug in page counting
2012-03-29 21:10:52 +08:00
Qingping Hou
7e07ea5a1f
fix: bug in Commands:new()
...
assign a new map to every created object
2012-03-29 20:52:57 +08:00
Qingping Hou
9b500189f2
Merge branch 'master' into epub
2012-03-29 19:36:32 +08:00
Qingping Hou
28e53ce771
mod: adapt jumpstack in CREReader
2012-03-29 19:35:56 +08:00
Qingping Hou
ad9d13a947
mod: rename TOC to Toc, adapt showMenu to CREReader
2012-03-29 18:17:32 +08:00
Qingping Hou
b09110a38d
Merge branch 'djvu-highlight' into epub
2012-03-29 17:54:48 +08:00
Qingping Hou
178e6597e2
add: TOC support
2012-03-29 17:49:59 +08:00
Dobrica Pavlinusic
e97cfb91e7
hack crsetup.h using grep #77
2012-03-29 00:59:15 +02:00
Dobrica Pavlinusic
ee5b32aced
build crengine after depenencies #77
2012-03-28 20:02:41 +02:00
Dobrica Pavlinusic
8bd1cb09ea
lua.h dependecy #77
2012-03-28 19:47:39 +02:00
Qingping Hou
c56516d5d1
add: data from crengine
2012-03-29 00:16:00 +08:00
Qingping Hou
4821f10dda
half done demo for crengine
2012-03-29 00:09:26 +08: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
Qingping Hou
6ad4721f6a
add: crengine as submodule
2012-03-27 16:32:41 +08: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
traycold
96894ec1a5
update mupdf submodule to commit bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 and small modification to source code to adapt to mupdf modifications
2012-03-24 17:47:52 +01: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