Commit Graph

225 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
chrox 14e2bf3d69 refatoring: lazy loading of packages 2014-10-03 16:13:34 +08:00
Huang Xin 8fda638da6 Merge pull request #936 from WS64/master
fix the nil tags data bug
2014-10-01 00:53:14 +08:00
WS64 d790f8aafe fix the nil tags data bug 2014-09-30 18:28:36 +02: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
chrox 2299ac118a fix infinit loop when OPDSCatalog is created without onExit definded 2014-09-10 14:35:06 +08:00
WS64 de1d8d7cac Switch back to portrait before leaving book 2014-09-10 13:49:11 +08:00
chrox 84abe620d2 refresh filemanager when closing opdscatalog 2014-09-10 13:27:15 +08:00
chrox 11a8a1dce6 show file size and directory items in filemanager 2014-09-10 13:27:15 +08:00
Qingping Hou 18d4c7550a chore: cleanup FileManagerHistory:updateItemTable() 2014-09-08 02:33:26 -04:00
Qingping Hou 7c6790796a fix: replace showReaderUI with ReaderUI:showReader 2014-09-07 18:43:32 -04:00
chrox c91224f12c add default directory for filemanager 2014-09-07 17:19:51 +08:00
chrox 69c162ac4f refactoring to generic multiinputdialog 2014-09-05 21:07:43 +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
Qingping Hou ab3be1012b Merge pull request #861 from chrox/screensaver
fix performance issue of screensaver on Kobo
2014-08-27 22:29:48 -07: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
WS64 6c4869f8a8 Only use registered file types in search 2014-08-27 09:17:54 +02:00
Qingping Hou 288a49252e Merge pull request #854 from chrox/screensaver
refactoring: use Document API getCoverPageImage to get cover image
2014-08-26 23:13:06 -07:00
chrox 0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 2014-08-27 11:07:25 +08:00
Paulo Matias afb591a552 Merge pull request #852 from chrox/screensaver
emulate Power button with F2 on emulator
2014-08-26 10:02:02 -03: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 40bddf0735 emulate Power button with F2 on emulator 2014-08-26 18:10:26 +08:00
Huang Xin 451092905e Merge pull request #842 from WS64/master
Add a new multi line input dialog and change some search behaviour
2014-08-26 15:20:37 +08:00
chrox 6a0cc0afc6 remove too verbose information that is utterly untranslatable
I would suggest when creating a translate string you'd better keep
as much words together as you can other than trying to call the
`_` function on each word which may cause the final
translation in some languages unreadable.
For example, no matter how we translate the single words, the Chinese
translation of
```
_("No ") .. some_thing .. _("found ") .. _("matching") .. other_thing
```
will be nonsense.
Better way would be:
```
some_thing .. " is not found matching" .. other_thing
```
2014-08-26 10:47:20 +08:00
chrox 5890e4a0b1 use conventional util name and update koreader-base 2014-08-26 08:59:24 +08:00
WS64 4bad1a6f6f New editor for table fields used 2014-08-25 18:03:10 +02:00
WS64 3bb45f3a20 Changed the way to handle the own database file
This should make it easier to update the format of the file and also prevents errors when someone keeps this file but the deletes the original calibre file
2014-08-25 18:01:33 +02:00
Qingping Hou 8ddade9862 Merge pull request #837 from chrox/save_highlight
prompt user to save PDF document after highlighting
2014-08-24 11:07:36 -07:00
WS64 6c603bf9ad remove global variable 2014-08-24 10:09:15 +02:00
WS64 6e86923659 remove global variable 2014-08-24 10:08:45 +02: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 4c68e091f9 refactoring: better logic and indentation 2014-08-23 23:19:02 +08:00
Michael Hall 8d9eb30886 Switch to local variables 2014-08-23 16:01:47 +01:00
Michael Hall 8e57adadb2 2nd change to make image dynamic in search 2014-08-23 15:35:55 +01:00
Michael Hall d84984521b Making image size in search info dynamic based on screen size 2014-08-23 15:33:00 +01:00
Huang Xin e4ab31de31 Merge pull request #825 from WS64/master
Add last book screensaver for Kobo, also covers to book info screen
2014-08-23 15:27:21 +08:00
WS64 03c2782844 Don't show "0: text" in series view but just "text" 2014-08-22 18:30:20 +02:00
WS64 9661616edb Removed screensaver functions to new lua file 2014-08-22 09:07:56 +02:00
WS64 1a4bdd5895 Removed screensaver functions to new lua file 2014-08-22 09:05:59 +02:00
WS64 db7c97211c Add images to info screen 2014-08-21 22:34:00 +02:00
Qingping Hou 63b6d25f72 Merge pull request #818 from chrox/master
enable Wikipedia support
2014-08-20 22:00:25 -07: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
Huang Xin 8bde68aedd Merge pull request #820 from WS64/master
Bugfix. Latest version just allowed you to enter the editor once
2014-08-20 16:59:27 +08:00