2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
chrox
13d70eec9b add Kindle-like dictionary window follow-up 2013-12-26 22:40:40 +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
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
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00
chrox
1ccba6ce39 use --utf8-input and --utf8-out params when calling sdcv
This will prevent string encoding conversion in Kobo in which it
has problem to doing so.
This patch should fix #252 and #272.
2013-10-18 00:02:55 +08:00
chrox
6c7641cd0b fix long definition not shown properly in dictionary window 2013-07-28 16:07:51 +08:00
chrox
8f051b4c44 bugfix: update width of dict window in readerdictionary 2013-07-21 14:42:27 +08:00
chrox
725bef08e6 add multi-dictionary support 2013-07-21 14:23:54 +08:00
chrox
c8df7a460d strip punctuation characters around selected word 2013-06-15 23:16:53 +08:00
chrox
390135d02d escape quotes and other funny characters in word when popening sdcv 2013-05-01 17:53:18 +08:00
chrox
e560c20c6d add word lookup with stardict 2013-04-30 18:45:12 +08:00
chrox
d18b58036f update dictionary backend name in kpvbooklet 2013-04-27 13:30:25 +08:00
chrox
695e095a1a add a demo version dictionary 2013-04-24 22:57:03 +08:00
chrox
46c605d256 disable word OCR for now
Since it will crash the reader with a strange error message saying
"terminate called after throwing an instance of 'DJVU::GException'"
even though only PDF file is opened.
2013-04-24 09:13:20 +08:00
chrox
936dfc6fd1 add text highlight in both reflow and non-reflow mode 2013-04-24 06:59:52 +08:00