Commit Graph

127 Commits (56d4700001da79c8a273ea15e9ac035b817b4248)

Author SHA1 Message Date
Qingping Hou 56d4700001 mod: changes APIs in highlighting code 12 years ago
HW face8b44c0 fixed cursor positioning 12 years ago
HW 46d197954b put highlight implementation into unireader 12 years ago
Dobrica Pavlinusic b555596f42 correctly dim part of page when hitting margins 12 years ago
Qingping Hou 7093e7377e fix: reset dc after screen rotate
handle ZOOM_FIT_TO_CONTENT_WIDTH_PAN mode
seperately.
12 years ago
Qingping Hou c85b768c0e switched shortcut between 10 degree and 90 degree rotation
* also deleted 10 degree rotation shortcut in
djvureader, becuase it is not supported by the
library.
12 years ago
Qingping Hou 95998a7397 add: NumInputBox class for goto page feature 12 years ago
HW 040a4e88b9 Merge pull request #95 from dpavlin/master
show overlap when moving with pan_by_page
12 years ago
HW 1c50a5676a free blitbuffers when cleaning complete cache 12 years ago
HW ec2eda0c05 switched font handling to only work with external fonts
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
12 years ago
Dobrica Pavlinusic 752da5ca3f use pan_overlap_vertical only in pan_by_page mode 12 years ago
Dobrica Pavlinusic 9dd9df0356 added dimRect and use it
dimRect might be useful if we want to display status messages over
content (as opposed to erasing background)
12 years ago
Dobrica Pavlinusic 5d9176907f show_overlap inverts part of page visible in previous view
This is nice feature of Sony e-book readers which is very useful when
reading since it shows previous part of visible page and provides
hint where to continue reading after page refresh
12 years ago
Qingping Hou ecd56a3745 mod: prefix global variables width and height with G_ 12 years ago
Qingping Hou 5f7f9a2a83 fix: remove slider event handling in unireader
Slider event handling has been moved to commands
module, refer to previous commit.
12 years ago
Qingping Hou b8b1bc19fd fix: wait for more time instead of suspending framework
refer to discussion in #88
12 years ago
Qingping Hou 245247b2d1 mod: use redrawCurrentPage() for all page redraw
different readers might have different way to redraw
pages, so I added this abstract method
12 years ago
Qingping Hou 1f9efe0d9c Merge branch 'master' into epub
Conflicts:
	Makefile
	unireader.lua
12 years ago
Qingping Hou cb83e47875 mod: use XPointer as absolute postion indicator inside document 12 years ago
Qingping Hou 9d11916bbd mod: resume framework in kpdf.sh 12 years ago
Qingping Hou 43288b55ec fix: handle zero used box 12 years ago
Qingping Hou 5e58a94632 mod: rm unused shortcuts in crereader 12 years ago
Qingping Hou a5a5c477ac mod: save and restore font face for each book in crereader 12 years ago
Qingping Hou c41e3e75a3 add: demo for fixing #85, #86 12 years ago
Qingping Hou c8a51bb4bd Merge branch 'master' into epub 12 years ago
Qingping Hou c48ed22fce fix: typo in drawOrCache() method 12 years ago
Qingping Hou 9e4b2675f0 Merge branch 'master' into epub
Conflicts:
	unireader.lua
12 years ago
Qingping Hou 0dd063b7ce Merge branch 'master' of github.com:hwhw/kindlepdfviewer
Conflicts:
	unireader.lua
12 years ago
Qingping Hou 8764b8aa4f fix: force freeing biltbuffer on cache evict
Also move cache display code above reading progress
code.
12 years ago
Dobrica Pavlinusic 244a6077ab cache_item_max_pixels is not used #79 12 years ago
Dobrica Pavlinušić fd8a7283c0 Merge pull request #83 from houqp/master
This should fix #78
12 years ago
Dobrica Pavlinusic 661c7be893 use @traycold code from #74 to show current mupdf cache usage 12 years ago
Qingping Hou dc30c491f7 add: Shift+R for manual full screen refresh
fix #78
12 years ago
Qingping Hou a035998b20 add: partial refresh configure entry in .readker.kpdfview.lua
fix #78
12 years ago
Dobrica Pavlinusic 5884f69b60 setCacheSize cleanup 12 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
12 years ago
Dobrica Pavlinusic 3e83dcc2a4 pass cache_document_size to document open
This is how mupdf API is structured
12 years ago
Dobrica Pavlinusic 4f0b41ebc5 show cache_current_memsize 12 years ago
Dobrica Pavlinusic 60b7ccb3cb added cleanCache bound to C key in menu #80 12 years ago
Dobrica Pavlinusic 91bd1277d7 control renderer memory usage #80
added setCacheSize and cache_document_size configuration vairable
12 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
12 years ago
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.
12 years ago
Qingping Hou 8a2b86e203 mod: factor last reading page saving and resotring 12 years ago
Qingping Hou 9b500189f2 Merge branch 'master' into epub 12 years ago
Qingping Hou ad9d13a947 mod: rename TOC to Toc, adapt showMenu to CREReader 12 years ago
Qingping Hou b09110a38d Merge branch 'djvu-highlight' into epub 12 years ago
Qingping Hou 4821f10dda half done demo for crengine 12 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
12 years ago
Dobrica Pavlinusic d3318beb84 print defined commands using dump 12 years ago
Qingping Hou d37e81ad0c Merge remote-tracking branch 'upstream/master' into djvu-highlight
Conflicts:
	unireader.lua
12 years ago