Commit Graph

126 Commits

Author SHA1 Message Date
chrox cec8ee3c29 add isChapterBegin/End API for readertoc
and add missing test epub
2014-10-07 17:44:10 +08:00
chrox b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
2014-10-07 17:10:48 +08:00
chrox 9467eab6e1 strip generic punctuation (U+2000 - U+206F) in lookup word
This should fix #921.
2014-10-05 14:32:23 +08:00
Ebrehem 44ecf74ba3 Update readerfooter.lua 2014-09-27 12:56:47 +02:00
WS64 4ee35bb972 Add "exclude screensaver" to menu 2014-09-17 12:25:13 +02:00
WS64 de1d8d7cac Switch back to portrait before leaving book 2014-09-10 13:49:11 +08:00
chrox 21dcf787da add OPDS support
This PR implements a simple OPDS browser which can be launched
from filemanager menu.
2014-09-05 21:07:43 +08:00
chrox 2bec0017a0 refactor out global functions showHomePage and showReaderUI 2014-09-05 21:07:42 +08:00
chrox c74c258fc7 add filemanager icon in reader menu
now we can access the filemanager in all launcher configurations
2014-09-05 21:07:42 +08:00
chrox fd9e3d57f3 fix performance issue of screensaver on Kobo
now loadDocument will not render the document and getCoverPageImage will
be much faster.
2014-08-28 13:22:38 +08:00
chrox 26e8dc7065 fix faked Tap event causes koreader crash
Since there is a new clear method to clear highlight selection
the faked event is not needed when closing highlight

This should fix #847.
2014-08-26 20:32:52 +08:00
chrox 092522b89d promote user to save PDF document after highlighting
This is a wordaround for #791.
2014-08-24 15:16:04 +08:00
chrox 985a421852 fix #835 2014-08-24 11:21:59 +08:00
chrox f575797b01 use original lookup word in wikipedia lookup 2014-08-20 18:25:37 +08:00
chrox a275a8cc89 strip punctuations in word before wikipedia lookup 2014-08-20 18:04:19 +08:00
chrox 557c29a7d9 prompt users to turn on Wifi in OTA update and Wikipedia lookup 2014-08-20 15:46:43 +08:00
chrox 7b10d66e1b enable Wikipedia support
Since wikipedia server is language specific we should first detect
language of the text by querying Google Translate. Make sure you have
access to both Google Translate and Wikipedia service to use this
function.
2014-08-20 14:41:48 +08:00
chrox fe14809bdf update mupdf and k2pdfopt to latest versions 2014-08-19 12:11:49 +08:00
chrox 30898a3cd8 config line space/font gamma values directly 2014-08-19 12:11:49 +08:00
chrox c5def15558 lift TOC entry in navi tab 2014-08-19 12:11:49 +08:00
chrox 492a36a7da add follow links option in navigation tab of reader menu
If "Follow links" options is not checked links won't be followed.
The "Follow links" option is checked by default.
This option affect both PDF and EPUB documents.
2014-08-19 12:11:49 +08:00
chrox d34a7fb355 lookup input word when holding on word in dict lookup window 2014-08-18 00:32:09 +08:00
Qingping Hou 3eab7e0917 Merge pull request #797 from chrox/master
rescale image if width or height is specified in ImageWidget
2014-08-14 15:25:39 -04:00
chrox b7c7287bab remove more global variables 2014-08-14 19:52:30 +08:00
pazos bad193346e Translate bookmarks page title 2014-08-14 13:37:06 +02:00
chrox a9b16613cf enable highlight in dictionary lookup window
This should fix #774.
2014-08-11 21:50:21 +08:00
NiLuJe e2efb230a6 Make the geometry of the minibar user-configurable
As well as the width of the toc notches
Lower the default value of the container size a bit to avoid eating into
the last line on small borders setup (I checked on 167 & 212 DPI
devices, Feel free to revert to the previous value (19) if that causes
trouble).
2014-08-11 05:09:45 +02:00
WS64 844ae29fe5 Send TOC parameters to progressbar 2014-08-09 08:59:55 +02:00
WS64 969734931b progressbar can be turned off in mini bar 2014-08-07 20:22:28 +02:00
chrox d7fa72e46c negative x panning if writing direction is set right to left
so that in right to left writing/drawing system the right part
of the page is drawn first
2014-08-06 22:06:38 +08:00
chrox 1ddafbea14 reorder setting entries in reader menu 2014-08-06 20:32:28 +08:00
chrox 3cb03825e5 display OTA update menu only on Kindle and Kobo 2014-08-06 20:32:28 +08:00
chrox 3c8e6975fb move screen DPI and refresh rate entries into Screen menu 2014-08-06 20:32:28 +08:00
chrox 51ba4f987a fix no battery info on minibar for PDF documents
This should fix #757.
2014-08-05 12:18:00 +08:00
chrox b83c4c3d95 hide several koptoptions in advanced mode 2014-08-05 12:04:17 +08:00
chrox 55554acf39 refactoring: buildin hold on menu entry to input 2014-08-05 10:23:25 +08:00
chrox 403b9f7ce6 refactoring: use getXxMenuTable to remove redundant code in menus 2014-08-01 22:23:08 +08:00
chrox a7fc4cccde refactoring: generate check update menu entry table in OTAManager 2014-08-01 21:59:59 +08:00
chrox d9f5edf54a add 'Check update' menu and OTA update functionality 2014-08-01 12:36:36 +08:00
chrox 87e667748a add font size menu entry
It changes screen DPI and may needs to reboot the reader to take effect.
This should fix #746.
2014-07-27 21:43:39 +08:00
chrox 405411ac4c add menu entry for E-ink screen refresh rate 2014-07-26 22:22:52 +08:00
chrox 6110b8d4e8 hold to set global default floating punctuation option 2014-07-25 23:11:48 +08:00
chrox 59dbe36d57 show 'no definition found' message when no definition found 2014-07-24 22:13:23 +08:00
chrox a7fb8811f3 add floating punctuation toggler for EPUBs 2014-07-22 21:55:31 +08:00
chrox beaf768250 recalculate footer sizes when document page count is updated 2014-07-22 21:55:31 +08:00
WS64 b5be4d227e Changed wrong default entry 2014-07-19 09:48:05 +02:00
WS64 f80c79c96a remember font weight also from global settings and at least line spacing from defaults 2014-07-18 09:54:51 +02:00
Qingping Hou 65c59706fe Merge pull request #737 from WS64/master
remember saved default value for screen mode
2014-07-17 14:17:36 -04:00
WS64 f259e3d92d remember saved default value for screen mode 2014-07-17 19:22:54 +02:00
chrox e91ddee836 add advanced option type that only shown when show advanced options is selected 2014-07-17 22:31:01 +08:00