Commit Graph

290 Commits

Author SHA1 Message Date
chrox 0b7554b1d8 add DSHOWOVERLAP in defaults.lua
Turn off "show overlap" by default since scroll mode can replace it
in most cases where "show overlap" is used. And the dimmed area often
make new users confused. It's better to leave this feature to more
advanced users.
2013-09-14 19:35:37 +08:00
chrox 979d4c5d48 add DHINTCOUNT in defaults.lua
It controls how many number of pages will be hinted in background
after one page has been drawn. Default DHINTCOUNT is 2.
2013-09-14 15:27:56 +08:00
Paulo Matias 54636e9407 Add InputText:setText and avoid non-intuitive UI behavior after light toggle 2013-08-21 08:54:46 -03:00
chrox 6f89fec891 fix calling setFontSize in pdfreader 2013-08-17 16:11:46 +08:00
chrox 44c31afe62 fix bug #179
It seems that the setPageMargins method will mess up XPointer of current view.
This bugfix simply disables page margin restoring in readercopt.lua so that
reading position is restorable.
2013-08-17 15:34:42 +08:00
chrox 75eb0e6f23 bugfix: fix screen ghosting after swiping north/south in scroll mode
As swiping north/south will generate several pan gestures which will
set refresh mode to WAVEFORM_MODE_A2, we should explicitly do a full
refresh in order to switch refresh waveform from WAVEFORM_MODE_A2
to WAVEFORM_MODE_GC16 as in OnPanRelease.
2013-08-17 11:01:57 +08:00
Qingping Hou 94e89e8e38 add missing import for group widget in readerview 2013-08-14 12:13:48 -04:00
Paulo Matias 81facc2ce9 Refactor min/max handling in BaseFrontLight; use getFrontlight() in ReaderFrontLight for consistency 2013-08-12 09:37:41 -03:00
Paulo Matias 3f3fba2fdf Big refactoring: Device handles frontlight device, ReaderFrontLight now only GUI 2013-08-12 02:13:28 -03:00
Paulo Matias 232d8cd74a Fix multiple ReaderFrontLight instances, i18n issues, and refactor event handling to follow codebase patterns 2013-08-12 02:13:28 -03:00
Giorgio Micotti cea353323e Initial light control widget; final fixes for kobo light 2013-08-05 23:06:26 +02:00
Giorgio Micotti 103133d216 Fix some dumb mistakes, toggle light now works 2013-08-02 11:08:36 +02:00
chrox ef7f3fec90 fix keyboard in landscape 2013-07-31 13:51:01 +08:00
chrox 196f72a053 add onGotoPage handler in readerpaging 2013-07-30 23:37:51 +08:00
chrox 57a5f18406 add goto page menu entry for pdfreader 2013-07-30 23:09:08 +08:00
chrox 6c7641cd0b fix long definition not shown properly in dictionary window 2013-07-28 16:07:51 +08:00
chrox 3f36fa80fd fix nil pos bug in readerhighlight 2013-07-25 23:03:54 +08:00
Qingping Hou 201e63b2b2 fix require error 2013-07-24 02:14:12 -04:00
Huang Xin 5eb1fb7e06 Merge pull request #174 from giorgio130/master
WIP kobo light support
2013-07-23 18:09:47 -07:00
Giorgio Micotti 70963a0ddc Merge branch 'master' of https://github.com/koreader/koreader 2013-07-23 19:41:16 +02:00
Giorgio Micotti e4b8fc3266 NOT WORKING initial kobo light support. 2013-07-23 19:40:26 +02:00
Paulo Matias b814eaf6f3 Fix a rare crash on ReaderHighlight 2013-07-23 14:08:14 -03:00
chrox 07de799237 set fast refresh mode in setDirty method 2013-07-23 14:51:38 +08:00
{Qingping,Dave} Hou b7a49e04f9 Merge pull request #167 from chrox/refresh_mode
add regional screen refresh support
2013-07-22 08:30:25 -07:00
chrox f2a6b7c4e3 use WAVEFORM_MODE_A2 when scrolling page 2013-07-22 22:07:49 +08:00
Paulo Matias f0b352b0e3 Fix multiple crash bugs on GestureDector (with double-finger) and ReaderFrontLight (closes Issue #165) 2013-07-22 09:23:58 -03: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
{Qingping,Dave} Hou bc15daf06f Merge pull request #163 from chrox/ocr_language
add document language option in config dialog
2013-07-20 10:11:40 -07:00
chrox 6dc53df5b5 word gap is set to smallest when selcting CJK languages 2013-07-20 03:33:58 +08:00
chrox 71d6395fba add Translate button when selecting multiple words 2013-07-20 02:49:03 +08:00
chrox 1808c7e5c3 add document language option in config dialog
Document language setting is used for better text extraction and OCR.
2013-07-20 02:46:51 +08:00
{Qingping,Dave} Hou af2e9436dc Merge pull request #160 from chrox/master
if original zoom mode is not "content", set zoom mode to "contentwidth" after cropping
2013-07-15 10:41:58 -07:00
Huang Xin c8a1fb4935 if original zoom mode is not "content", set zoom mode to "contentwidth" after cropping
Otherwise, users will feel confused that the view stays the same after cropping if current mode is fit-to-page.
2013-07-15 19:10:17 +08:00
chrox 03faf70fd5 show last used panel when opening config dialog 2013-07-14 18:48:06 +08:00
chrox 52c4ada111 save rotation mode in doc settings 2013-07-13 13:57:02 +08:00
chrox cee6f6a616 fix typo in readerrotation.lua 2013-07-13 13:52:30 +08:00
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.
2013-07-12 20:52:12 +08:00
chrox 5b1ca4b101 remove associated scroll mode setting with zoom mode 2013-07-09 15:38:34 +08:00
Qingping Hou 0d902a1a4c add scrollmode and fullscreen mode to defaults 2013-07-03 02:19:10 -04:00
Qingping Hou 561c7902ca move defaults.lua to root directory 2013-07-01 02:55:28 -04:00
Qingping Hou 18122fe067 add defaults.lua 2013-07-01 02:41:33 -04:00
chrox d8e45b4e7c bugfix: embedded css toggle now shows correct status 2013-06-28 17:15:02 +08:00
chrox 94526fa26d add page margin options in CREOptions 2013-06-28 17:12:04 +08:00
chrox f87c67308a toggle scroll mode on when zooming to content*
and toggle scrool mode off when zooming to page*.
2013-06-26 15:54:24 +08:00
chrox 84e67ff122 disable scroll mode in flipping for better performance 2013-06-26 15:51:12 +08:00
chrox 35f71bb04a add fake tap to dismiss temp hightlight after hightlight is saved 2013-06-17 13:15:24 +08:00
chrox 18fbc0f248 export hightlights to My Clippings 2013-06-16 19:00:15 +08:00
chrox 8ae528629c bugfix: make a fresh copy of Geom before transforming 2013-06-16 18:59:11 +08:00
chrox c116b34e71 parameterize lighten color in displaying saved highlights 2013-06-16 17:10:54 +08:00