Qingping Hou
f24f2a01f6
use InfoMessage for empty TOC, jump history and highlights
2012-04-15 11:02:42 +08:00
Dobrica Pavlinusic
eeae5982dd
added reading of pan_margin settings
2012-04-14 16:23:41 +02:00
Qingping Hou
cde796f6b5
fix full screen refresh command, close #99
2012-04-14 14:27:17 +08:00
Dobrica Pavlinusic
b6d167f8ca
remove page:getPageText debug dump to improve performance on device
...
And leave it in unireader if we can't find text on page
2012-04-14 00:03:16 +02:00
Dobrica Pavlinusic
81c6dc5997
commands.map is very large, impacts startup performance on device
2012-04-13 20:46:10 +02:00
Dobrica Pavlinusic
96958c62ca
added UniReader:screenOffset and use it
2012-04-13 18:10:11 +02:00
Dobrica Pavlinusic
4d49e9f28b
correct two-column margin calculation respecting globalzoom
2012-04-13 17:57:49 +02:00
Dobrica Pavlinusic
0a8ca94218
make highlight working in all zoom modes #103
...
This change introduce object's dest_x and dest_y coordinates which
are needed in zoomedRectCoordTransform to make highlight scale and
move according to current pan position.
2012-04-13 16:51:17 +02:00
Qingping Hou
3828a6c440
fix: clear show_overlap in two column mode on KEY_FW_{LEFT, RIGHT}
2012-04-13 17:09:15 +08:00
Qingping Hou
75f244eb60
fix: typo in unireader
2012-04-13 10:37:50 +08:00
HW
57d769e0ae
added wrapper function for input.waitForEvent that retries on EINTR
2012-04-12 21:00:44 +02:00
Qingping Hou
1407579ea8
mod: remove debug code
2012-04-12 17:49:38 +08:00
Qingping Hou
dcd485c84c
fix: bug in highlighting words
...
Properly highlight words that partially fit
into screen range.
2012-04-12 17:31:01 +08:00
Qingping Hou
3438d6749d
mod: rewrite part of highlight code
...
* add _isEntireLineInScreenHeightRange() method
For better page view navigation when highlighting
or moving cursor.
* bug fix in _isWordInScreenRange() method
* add _nextGap(), _prevGap(), _gapInNextLine()
and _gapInPrevLine() methods, so now key event
handling code in cursor moving mode only focuses
on drawing, calculation task is passed to these
four methods.
2012-04-12 15:50:19 +08:00
Qingping Hou
75d5b5f984
fix: three bugs in highlight mode
...
* handle left end of first line in cursor move
* properly highlight first word if cursor starts
from left end of first line
* handle right end of last line in cursor move
2012-04-12 13:43:20 +08:00
Qingping Hou
66ab3a2f56
fix: typo in unireader's comment
2012-04-12 11:34:24 +08:00
Qingping Hou
56d4700001
mod: changes APIs in highlighting code
2012-04-12 11:23:22 +08:00
HW
face8b44c0
fixed cursor positioning
2012-04-11 23:33:47 +02:00
HW
46d197954b
put highlight implementation into unireader
2012-04-11 22:52:48 +02:00
Dobrica Pavlinusic
b555596f42
correctly dim part of page when hitting margins
2012-04-10 23:15:09 +02:00
Qingping Hou
7093e7377e
fix: reset dc after screen rotate
...
handle ZOOM_FIT_TO_CONTENT_WIDTH_PAN mode
seperately.
2012-04-10 21:34:38 +08:00
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.
2012-04-10 20:45:22 +08:00
Qingping Hou
95998a7397
add: NumInputBox class for goto page feature
2012-04-10 15:52:51 +08:00
HW
040a4e88b9
Merge pull request #95 from dpavlin/master
...
show overlap when moving with pan_by_page
2012-04-09 11:42:40 -07:00
HW
1c50a5676a
free blitbuffers when cleaning complete cache
2012-04-09 19:58:34 +02:00
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.
2012-04-09 19:04:26 +02:00
Dobrica Pavlinusic
752da5ca3f
use pan_overlap_vertical only in pan_by_page mode
2012-04-09 16:36:23 +02:00
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)
2012-04-09 16:36:22 +02:00
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
2012-04-09 16:36:22 +02:00
Qingping Hou
ecd56a3745
mod: prefix global variables width and height with G_
2012-04-09 15:42:19 +08:00
Qingping Hou
5f7f9a2a83
fix: remove slider event handling in unireader
...
Slider event handling has been moved to commands
module, refer to previous commit.
2012-04-08 12:49:23 +08:00
Qingping Hou
b8b1bc19fd
fix: wait for more time instead of suspending framework
...
refer to discussion in #88
2012-04-08 11:22:29 +08:00
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
2012-04-07 23:28:56 +08:00
Qingping Hou
1f9efe0d9c
Merge branch 'master' into epub
...
Conflicts:
Makefile
unireader.lua
2012-04-07 23:09:57 +08:00
Qingping Hou
cb83e47875
mod: use XPointer as absolute postion indicator inside document
2012-04-07 22:55:56 +08:00
Qingping Hou
9d11916bbd
mod: resume framework in kpdf.sh
2012-04-07 10:05:27 +08:00
Qingping Hou
43288b55ec
fix: handle zero used box
2012-04-06 21:17:25 +08:00
Qingping Hou
5e58a94632
mod: rm unused shortcuts in crereader
2012-04-06 20:13:46 +08:00
Qingping Hou
a5a5c477ac
mod: save and restore font face for each book in crereader
2012-04-06 19:11:18 +08:00
Qingping Hou
c41e3e75a3
add: demo for fixing #85 , #86
2012-04-06 13:51:37 +08:00
Qingping Hou
c8a51bb4bd
Merge branch 'master' into epub
2012-04-04 00:00:49 +08:00
Qingping Hou
c48ed22fce
fix: typo in drawOrCache() method
2012-04-03 23:55:19 +08:00
Qingping Hou
9e4b2675f0
Merge branch 'master' into epub
...
Conflicts:
unireader.lua
2012-04-01 08:27:25 +08: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
661c7be893
use @traycold code from #74 to show current mupdf cache usage
2012-03-31 15:29:17 +02: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