2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

138 Commits

Author SHA1 Message Date
chrox
c994e30cff fix #1024
if toc item has expand/collapse state and tap select on the left side
the state switch action is triggered, otherwise goto the
linked page.
2014-10-21 22:18:07 +08:00
chrox
07ae0cba81 fix #1011
The #1011 bug is caused by the `contains` check of link box with
visible area. When the link is at the very right (left?) of
the page, enlarged link box often exceeds the page bound rendering
the mentioned `contains` check failed. This patch uses an `intersectWith`
test to check if the link is in current page.
2014-10-21 17:26:16 +08:00
HW
3a42557b19 Merge pull request #1020 from chrox/fix_1013
fix #1013
2014-10-20 17:51:35 +02:00
chrox
1462d382d9 fix #1013 2014-10-20 22:55:39 +08:00
chrox
2ad63fc1a3 expand/collapse TOC only by tap on the icon 2014-10-20 22:19:31 +08:00
chrox
0a863f07c7 show 50 ticks on the mini progress bar at most 2014-10-20 22:17:53 +08:00
Paulo Matias
8bbdf03ccb Merge pull request #998 from chrox/fix_970
fix #970
2014-10-15 11:40:57 -03:00
Paulo Matias
2843bf362d Merge pull request #996 from chrox/djvu_render_mode
add djvu render mode options in readermenu
2014-10-15 11:29:44 -03:00
chrox
834c994ed8 fix #970
by rendering full page if bbox is larger than native page size when
zooming mode is fit to content*
2014-10-15 22:01:42 +08:00
chrox
c99288f3ad fix #995 by reseting readertoc on init 2014-10-15 20:47:13 +08:00
chrox
d30709edb0 add djvu render mode options in readermenu 2014-10-15 20:31:24 +08:00
chrox
506bf96379 add menu entry to lookup input word in dictionary
This should close #971.
2014-10-15 18:02:02 +08:00
chrox
7c9130744c add collapsable TOC menu 2014-10-14 21:34:56 +08:00
chrox
e714caed8d refactoring restoreScreenMode from readerview to filemanager
This should fix #983.
2014-10-12 17:26:36 +08:00
chrox
de38ea1199 count only leaf nodes of toc tree when level is zero 2014-10-11 21:10:07 +08:00
chrox
2b26e599d9 return to previous filemanager view instead of opening a new one 2014-10-10 18:14:33 +08:00
chrox
6dd3f99c35 reset ticks cache 2014-10-10 18:14:33 +08:00
chrox
b422eb90cc refactoring readerrolling
and fix lossing progress when switching screen mode
2014-10-10 18:14:33 +08:00
chrox
e34ad5ffe5 refactoring module registration in readerui
now every module can be looked up in readerui so that
unit test of these modules is possible.
2014-10-09 17:41:27 +08:00
chrox
896ad0e8f8 fix #976 2014-10-09 09:42:43 +08:00
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
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
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