HW
09cd5c4104
Make DEBUG a require()d local
11 years ago
HW
748a443cd5
Merge remote-tracking branch 'upstream/master'
...
resolved conflicts with refactored structure
11 years ago
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).
11 years ago
chrox
8b6bf2e72b
export highlights only if highlighted text is not nil
11 years ago
HW
ef111b99c6
Refactored to use strictly locals
11 years ago
chrox
9f42289226
use pixels from reflowed page when doing OCR in reflowing mode
...
I hope it will get back OCR accuracy as in build 545.
11 years ago
chrox
4660a3532b
synchronize hightlights in non-/reflowing modes
...
and there is no need to OCR word if we can extract text from
original page in reflowing mode thanks to the rect maps between
normal page and reflowed page.
11 years ago
chrox
3f36fa80fd
fix nil pos bug in readerhighlight
11 years ago
Paulo Matias
b814eaf6f3
Fix a rare crash on ReaderHighlight
11 years ago
chrox
725bef08e6
add multi-dictionary support
11 years ago
chrox
71d6395fba
add Translate button when selecting multiple words
11 years ago
chrox
56c8b28f7c
Fix bug #151
...
Check if there is only one line between the two positions and no
word boxes are found, if so break the loop immediately.
11 years ago
chrox
35f71bb04a
add fake tap to dismiss temp hightlight after hightlight is saved
11 years ago
chrox
18fbc0f248
export hightlights to My Clippings
11 years ago
chrox
e3da8e41f1
remove selected word if hold moves out of word box
11 years ago
chrox
2e4485c396
add strings in highlight dialog for translation
11 years ago
chrox
eb4c76bd15
add highlight in pdf reader
11 years ago
chrox
c3dc712169
fix reader crash when hold pos is outside of page area
11 years ago
chrox
7c78e83e49
add hightlight/dictionary lookup in scanned pdf/djvu
11 years ago
chrox
5b6e9a8e03
OCR is almost stable, so enable it now
11 years ago
chrox
19f227f7b1
enlarge OCR region
11 years ago
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.
11 years ago
chrox
936dfc6fd1
add text highlight in both reflow and non-reflow mode
11 years ago