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

1300 Commits

Author SHA1 Message Date
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
98da30f689 fix href with two slash 2014-09-07 17:21:58 +08:00
chrox
c91224f12c add default directory for filemanager 2014-09-07 17:19:51 +08:00
chrox
69bb4a3df3 add return button in menu 2014-09-05 21:07:43 +08:00
chrox
c12cb0367b title truncation in input dialog 2014-09-05 21:07:43 +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
NiLuJe
bb7c7be70a Merge pull request #870 from chrox/fix_868
issue error directly when doc is malformated
2014-09-02 17:19:47 +02:00
Huang Xin
22f98c6850 Merge pull request #871 from WS64/master
Screensaver repair
2014-08-30 08:13:11 +08:00
WS64
f29eed1ebe minor code optimizing 2014-08-29 22:16:47 +02:00
WS64
eae3f01b57 Screensaver repair
Single picture as screensaver was not displayed anymore after the last update
2014-08-29 22:10:20 +02:00
chrox
2f2d9f1bf7 issue error directly when doc is malformated
This should popup a message saying "No reader engine for this file"
instead of a crash when document file is malformated.

This should fix #868.
2014-08-29 17:17:12 +08:00
chrox
132adf8e1b register opened document in documentregistry
so that when calling getCoverPageImage in screensaver mode
the document won't be opened again. This should avoid a lot of
problem such as messing up style and options described in #863.
2014-08-28 21:03:26 +08:00
Qingping Hou
0252139361 Merge pull request #862 from chrox/fix_858
don't share info field in document
2014-08-27 22:47:12 -07:00
chrox
b912200951 don't share info field in document
We may have multiple documents opened simultaneously, such as in
screensaver mode the current document is opened twice, it's better
to keep seperate info table for each document.

This should fix #858. When a credocument is opened for screensaver to
get the cover page, the total pages info is set to 1(strangely enough),
before this fix this total pages is shared with the reading document
so the progress bar will get a progress percentage well beyond 100% and
rendering the progress bar out of the boundering box as shown in #858.
2014-08-28 13:30:27 +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
4916ae6cb1 Set minimum light to 0 instead of 1 2014-08-27 20:56:09 +02:00
WS64
a3fad804e3 Bring back the two KOBO variables for the light
This should close #856.
Although still closed I will check this one back with someone from the German forum, I hope this also closes #822, but there might be still some problems with the light-bug introduced in Kobo's firmware 3.5. But since 822 is already in the state closed we can leave things as they are for now and I will reopen 822 if necessary.
2014-08-27 12:40:56 +02: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
Michael Hall
7379c3a6e5 Display error message upon failed OTA Update. 2014-08-26 21:18:00 +01:00
Michael Hall
4cc9cf85e4 Prevent promptWifiOn() needing to be called twice and refactor OTA update fetch/version check 2014-08-26 20:21:18 +01: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
Qingping Hou
8199aa20c1 Merge pull request #849 from chrox/fix_cannot_translate
remove too verbose information that is utterly untranslatable
2014-08-25 23:20:03 -07: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
Michael Hall
d49153059d Merge remote-tracking branch 'upstream/master' 2014-08-25 18:08:14 +01:00
Michael Hall
7ea90b2dc9 Change to prevent OTA Server check before wifi enabled 2014-08-25 18:06:15 +01: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
WS64
bde3f31089 New input dialog with variable amount of fields 2014-08-25 18:00:11 +02:00
Qingping Hou
749c7f9939 fix(FM): remove redundant call to lfs.dir 2014-08-25 00:20:19 -04: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
Michael Hall
071a301edf Add getWifiStatus function to allow checking for live wifi connection before
trying OTA Update
2014-08-24 13:34:38 +01: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
WS64
5fba816d08 remove global variable 2014-08-24 10:08:18 +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
Qingping Hou
bd2fa87c85 Merge pull request #836 from chrox/fix_835
fix #835
2014-08-23 21:20:54 -07:00
Qingping Hou
0302944bc4 Merge pull request #834 from chrox/fix_fallback
fix Droid Sans Fallback not registered to crengine
2014-08-23 21:18:37 -07: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