chrox
94320da5be
default to enable floating punctuation
2014-01-07 23:20:07 +08:00
chrox
1cad93338a
move setPageMargin to the begining of document initialization to
...
avoid reformatting of DocView that makes previously generated
cr3cache files unused.
2014-01-07 21:31:27 +08:00
chrox
4a5c6cdf12
fix intensity field name in powerd
2014-01-07 10:21:05 +08:00
chrox
a6e885e77d
show battery icon in crereader page header
2014-01-04 22:30:36 +08:00
chrox
92b62c907a
refactoring frontlight device to more generic power device
2014-01-04 21:38:07 +08:00
chrox
6d30f679c5
add bookmark flipping feature
...
Bookmark flipping mode is toggled when long-holding the upper-right
corner of the screen. In this mood both the flipping icon and the dogear
icon are shown. And swiping west and east in this mode will flipping
only on bookmarked pages. Currently only pdf/djvu readers are supported.
This should implement feature request in #154 .
2014-01-04 03:14:37 +08:00
chrox
80732b6bf6
mutable menu item text for 'Toggle floating punctuation'
2014-01-04 00:37:21 +08:00
chrox
bc960dcf01
mutable menu item text for 'Toggle page overlap'
2014-01-04 00:32:14 +08:00
chrox
e21e017b8d
tweaks on config dialog for crereader
2014-01-03 23:18:10 +08:00
chrox
d2f03c9f73
save page margins for credocument
2014-01-03 11:23:11 +08:00
chrox
71ddd8aa91
make default font size consistent
2014-01-03 11:12:26 +08:00
chrox
210293b561
add floating punctuation option for crereader
...
Luckily after disabling floating punctuation left/right margin
are able to be same now (with large enough margins, should be
more than 1em). So I also changed the default page margins for
crereader and removed the dirty hack.
2014-01-03 02:07:32 +08:00
chrox
8e4516b824
add regional zoom mode in pdf/djvu page
...
In regional zoom mode double tap will zoom to the tapped
region(paragraph or column, etc., detected optically via libk2pdfopt).
As the first demo, this feature is only turned on in flipping mode by
tapping the top-left corner of the screen. Eventually we may incorporate
this feature in "free" zoom mode.
2014-01-02 11:14:26 +08:00
chrox
e43c77c192
fix dictionary lookup crash in scroll mode
2013-12-31 12:42:58 +08:00
chrox
5140a4c6ff
fix dictionary lookup crash via OCR in scroll mode
2013-12-30 15:15:59 +08:00
chrox
c67b8a22ed
invert color when selecting bookmark
2013-12-29 15:19:22 +08:00
chrox
1cbc6b9669
move crereader margin options into defaults.lua
2013-12-28 18:39:42 +08:00
chrox
60adab7168
add page overlap toggle in reader menu
...
This should implement #278 .
2013-12-28 17:33:36 +08:00
chrox
1288be7b95
automatically selecting CSS for specific file types
...
when turning off embedded style sheet.
This should fix #246 .
2013-12-28 13:45:32 +08:00
chrox
fefa0a3507
add version information in reader menu
...
This should implement #315 .
2013-12-28 12:44:55 +08:00
chrox
ee8838960b
add auto save settings option
2013-12-27 23:18:16 +08:00
chrox
32cd7b2a88
show both reader menu and config menu when tapping top
...
So the bottom tap zone is optional now and will be removed by default
in the future.
2013-12-27 21:47:19 +08:00
chrox
13d70eec9b
add Kindle-like dictionary window follow-up
2013-12-26 22:40:40 +08:00
chrox
b5fd38f897
delayed calling of gotoXPointer when internal properties are changed
...
This should fix #400 and fix #300 .
2013-12-26 06:24:36 +08:00
chrox
01046fe478
fix font size change when reopening the same credocument
2013-12-26 02:00:48 +08:00
chrox
3b9eaafadd
add dictionary lookup in crereader
2013-12-25 01:43:28 +08:00
chrox
f476a638a8
fix highlight dialog triggering bookmark
2013-12-20 12:17:11 +08:00
chrox
e5bf0eb13e
fix closing dict window will bookmark current page
...
use `self.highlight:handleEvent(Event:new("Tap"))` instead of
`self.ui:handleEvent(Event:new("Tap"))` when clearing highlighted
text since Tap event in latter situation will be captured by
the dogear widget.
2013-12-20 12:05:11 +08:00
chrox
2bb3c7c286
append page number in toc entry
2013-12-19 23:14:27 +08:00
chrox
93866822d0
always show progress bar in flipping mode
...
tap on progress bar in flipping mode will goto corresponding page
2013-12-17 22:42:31 +08:00
chrox
da317ed14a
customizable tap zones for top menu
2013-12-17 20:11:34 +08:00
chrox
f0039cbb02
customizable tap zones for page flipping and bookmarking
2013-12-17 19:53:43 +08:00
chrox
3205f228d3
partial refresh when switching time display in progress bar
2013-12-17 19:51:07 +08:00
chrox
5dd96b8756
tap on reader footer will toggle time display
2013-12-15 20:19:06 +08:00
chrox
912a8a496b
add customizable tap zones for tap forward/backward and config
2013-12-15 17:02:52 +08:00
chrox
4d7d88cfbc
page overlap is turned on by default
...
Page overlap added when turning in non-fit-to-page zoom mode
is now distinguishable from dim area overlap.
2013-12-09 15:58:25 +08:00
chrox
2fd66e1fa3
typo fix
2013-12-04 22:17:05 +08:00
chrox
84ad0f2307
fix null export highlight in reflowed mode
2013-11-30 21:17:13 +08:00
chrox
153d0866d5
remove auto "contentwidth" in landscape
...
This should fix #365 .
2013-11-29 17:18:50 +08:00
chrox
88c2307c14
fix kindle paperwhite2 support
...
reported at http://www.mobileread.com/forums/showpost.php?p=2696481&postcount=316
tested at http://www.hi-pda.com/forum/redirect.php?goto=findpost&ptid=1078988&pid=23393929
2013-11-25 23:30:54 +08:00
chrox
2f2d3553ff
fix cannot highlight text with only one word in the first line
2013-10-28 21:48:17 +08:00
chrox
974927db54
smoother relative panning in scrolled pages
2013-10-25 16:07:04 +08:00
Qingping Hou
d3979ff72d
call scaleByDPI from screen module fixes #343
2013-10-24 13:47:22 -04:00
chrox
4cfdce6105
fix several local calls of Math.round
2013-10-23 22:37:55 +08:00
HW
141d72ddbe
Merge remote-tracking branch 'upstream/master'
2013-10-22 20:54:57 +02:00
HW
09cd5c4104
Make DEBUG a require()d local
2013-10-22 20:51:29 +02:00
HW
748a443cd5
Merge remote-tracking branch 'upstream/master'
...
resolved conflicts with refactored structure
2013-10-22 17:19:08 +02:00
HW
2154e7e852
Further refactoring
...
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
2013-10-22 17:11:31 +02:00
chrox
99e0da52b6
check json output before decoding
...
This should fix #332 .
2013-10-22 22:13:47 +08:00
chrox
8b6bf2e72b
export highlights only if highlighted text is not nil
2013-10-20 12:32:35 +08:00