Frans de Jonge
f3d5d5b030
Kobo Aura H2O: fix offset for reverse landscape (rotation_mode 3)
2014-10-17 13:25:13 +02:00
Frans de Jonge
7117235414
Kobo Aura H2O: fix bezel.
2014-10-16 15:17:31 +02:00
Frans de Jonge
c50bdfd11c
Kobo Aura H2O detection: slight code refactoring.
2014-10-16 10:59:11 +02:00
HW
0f40042e57
Merge pull request #999 from Frenzie/master
...
Changes for Kobo Aura H2O.
2014-10-15 20:35:39 +02:00
Frans de Jonge
629c32f6ba
Changes for Kobo Aura H2O.
2014-10-15 18:28:13 +02: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
Paulo Matias
ef80cc6a4e
Merge pull request #994 from chrox/fix_987
...
fix #987
2014-10-15 08:08:00 -03:00
chrox
f3417c5488
fix #987
2014-10-15 18:17:16 +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
96960cd554
don't dim icon button by default
2014-10-14 21:34:56 +08:00
chrox
7c9130744c
add collapsable TOC menu
2014-10-14 21:34:56 +08:00
chrox
46963df0bb
don't need to rebuild ota installed package if it's detected
2014-10-14 21:34:56 +08:00
WS64
f537125756
Bugfix
2014-10-13 15:40:48 +02: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
d01ae145b8
guess plugin name from plugin path
2014-10-09 12:38:33 +08:00
chrox
a4d5ec6534
plugin modules have 'name' field
2014-10-09 12:26:52 +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
7142492e42
fix #959
2014-10-07 14:05:34 +08:00
Qingping Hou
a44cc3150d
fix: use correct entry for Ukrainian in language menu
2014-10-07 01:32:04 -04:00
Qingping Hou
16b393ff47
chore(device.lua): remove frontlight hack for kobo
2014-10-07 01:32:04 -04:00
chrox
6ee8f22d73
add clear api for DocSettings
...
to remove both history settings and sidecar settings
2014-10-07 13:06:52 +08:00
chrox
330e5a2789
don't open SDL if input device is dummy
2014-10-06 21:23:54 +08:00
Qingping Hou
05e47c8c9c
Merge pull request #955 from chrox/network_proxy
...
http proxy support by setting NETWORK_PROXY variable
2014-10-05 01:14:48 -07:00
Qingping Hou
55cb0271cb
Merge pull request #954 from chrox/fix_950
...
get rid of query filed of baseurl when building href
2014-10-05 01:08:02 -07:00
Qingping Hou
88b8f56146
Merge pull request #952 from chrox/fix_921
...
strip generic punctuation (U+2000 - U+206F) in lookup word
2014-10-05 01:05:12 -07:00
chrox
3147ffb08a
http proxy support by setting NETWORK_PROXY variable
...
This should implement feature request in #919 .
2014-10-05 16:04:52 +08:00
chrox
549f54ab07
get rid of query filed of baseurl when building href
...
otherwise there will be "?offset=90" query in downloading href
for calibre opds server which doesn't accept the url
This should fix #950 .
2014-10-05 15:47:36 +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
7b78d70c74
fix fgcolor of inputbox is always 0.0
2014-10-05 14:00:38 +08:00
chrox
6152198e88
still needs button bgcolor
...
This bgcolor is for framecontainer background color.
2014-10-04 22:01:09 +08:00
Hans-Werner Hilse
7b1777e095
adapt widgets and text rendering to new font rendering
...
no background for text rendering anymore
2014-10-04 15:54:03 +02:00
Qingping Hou
7df2e0fb28
Merge pull request #944 from chrox/lazy_loading
...
refactoring: lazy loading of unused modules
2014-10-03 19:08:39 -07:00
evgsh
aae2c4de27
Added acquisition relation types , fixes issue #940
2014-10-03 17:22:37 +03: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
chrox
9adf8ac327
also paint widget if any widget underneath is dirty
2014-09-29 14:23:38 +08:00
chrox
508cf94f98
fix run out of memory when receiving large files from Calibre
2014-09-29 14:22:33 +08:00
Hans-Werner Hilse
e47b43e8b5
add implementation of a container widget with alpha-blitting
...
This is a container that will honor a given alpha value (0..1)
when painting, so it will be translucent for values < 1.
2014-09-28 21:48:06 +02:00
Hans-Werner Hilse
adbcdddb56
undo wrong use of addblitFrom()
...
rendertext.lua did use addblitFrom() for rendering text - i.e. blitting
the letters to a BlitBuffer. However, it used intensity=1.0, which is
the same as doing a (faster, more efficient) blitFrom(). So use that
instead.
What was probably intented here is a different kind of blitting - using
the bitbuffer of the glyph as a mask.
2014-09-28 21:11:03 +02:00
Ebrehem
44ecf74ba3
Update readerfooter.lua
2014-09-27 12:56:47 +02:00
chrox
97e7a90865
encode lfs.dir iterated file path to UTF-8
2014-09-25 22:33:43 +08:00
chrox
a0cd4816a7
no mkfifo on Windows
2014-09-25 22:33:31 +08:00
chrox
7d22318641
don't require ssl.https since it cannot yet be built for win32
2014-09-25 22:33:06 +08:00
evgsh
aabee1f3bc
Update opdsbrowser.lua
2014-09-19 13:43:58 +03:00
Huang Xin
0d38a02eb6
Merge pull request #910 from WS64/master
...
minor code optimizing
2014-09-19 09:24:50 +08:00
WS64
d47af7e368
minor code optimizing optimizing
2014-09-18 19:04:00 +02:00
Huang Xin
534c68cf24
Merge pull request #908 from WS64/master
...
Minor code optimization
2014-09-18 17:17:16 +08:00
WS64
f7c640e550
Code optimization
2014-09-18 10:17:40 +02:00
chrox
7871af3489
add Calibre Companion plugin
...
This plugin implements a simple Calibre Companion protocol that
communicates with Calibre Wireless Server from which users can
send documents to Koreader devices directly with WIFI connection.
Note that Calibre Companion(CC) is a trade mark held by MultiPie Ltd.
The Android app Calibre Companion provided by MultiPie is closed-source.
This plugin only implements a subset function of CC according to the
open-source smart device driver from Calibre source tree.
More details can be found at calibre/devices/smart_device_app/driver.py.
2014-09-18 14:03:55 +08:00
WS64
4ee35bb972
Add "exclude screensaver" to menu
2014-09-17 12:25:13 +02:00
WS64
abaa772750
Add "exclude cover from screensaver" functionality
2014-09-17 12:24:33 +02:00
Huang Xin
786d300953
Merge pull request #899 from gontofe/WifiMenuToggle
...
Adding Touch Menu Wifi Status icon/Toggler for Kobo and Kindle.
2014-09-15 09:10:20 +08:00
Michael Hall
f6b1ed2b6d
Add tidy up option after failed update.
2014-09-14 16:07:19 +01:00
Michael Hall
96aa795618
Adding Touch Menu Wifi Status icon/Toggler for Kobo and Kindle. Change to
...
NetworkMgr:getWifiStatus() to ping default gateway instead of 8.8.8.8.
2014-09-14 15:05:28 +01:00
Qingping Hou
5e035c2517
fix(ui): hide button framecontainer background in hide() method
2014-09-13 23:43:39 -04:00
chrox
cf882a078a
fix page number of sub-menu is not updated
2014-09-13 14:00:57 +08:00
Qingping Hou
9c9edcf36f
Merge pull request #888 from chrox/fix_886
...
always suspend in portrait mode so that screensaver image won't be stretched
2014-09-10 00:56:25 -07:00
chrox
3bd2c0756a
always suspend in portrait mode so that screensaver image won't be stretched
...
This patch should fix #886 .
2014-09-10 15:52:18 +08:00
Qingping Hou
eb46aa7d66
Merge pull request #887 from chrox/fix_875
...
refactoring: hide the charlist implementation of InputText
2014-09-10 00:49:06 -07:00
chrox
5b940cecaf
refactoring: hide the charlist implementation of InputText
...
This patch also fix #875 .
2014-09-10 15:31:11 +08: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
88d9cdf533
add shortcut to add local calibre OPDS catalog
2014-09-10 13:27:15 +08:00
chrox
b05ece345a
add set download directory option when downloading files from OPDSCatalog
...
Manually added opds servers are editable and deletable by long press on
the menu entries.
2014-09-10 13:27:15 +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
chrox
8294a629b8
treate quoted slash as plain text in attribute value
2014-09-10 13:27:14 +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
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
Michael Hall
8d9eb30886
Switch to local variables
2014-08-23 16:01:47 +01:00
chrox
7ce5c9c052
fix Droid Sans Fallback not registered to crengine
2014-08-23 22:46:41 +08: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
WS64
aaf9d20c64
Give cover images unique names and keep them 30 days
2014-08-23 11:21:37 +02: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
1a71b3e503
resolve github inconsistencies
2014-08-23 09:01:58 +02:00
WS64
26413adab5
resolve github inconsistencies
2014-08-23 08:50:51 +02:00
WS64
03c2782844
Don't show "0: text" in series view but just "text"
2014-08-22 18:30:20 +02:00
Qingping Hou
99f6298b28
Merge pull request #829 from chrox/master
...
markup annotation quadpoints should be defined in counterclockwise
2014-08-22 09:29:38 -07:00
chrox
7048ca971b
add getCoverPageImage api for CreDocument
2014-08-22 21:32:03 +08:00
chrox
a2b232c80b
add image cache
2014-08-22 21:32:03 +08:00
chrox
dc166b50cc
fix OTA update on Kobo, close #824
2014-08-22 21:32:03 +08: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
45546945e4
Removed screensaver functions to new lua file
2014-08-22 09:05:30 +02:00
WS64
f5f3e61782
Removed screensaver functions to new lua file
2014-08-22 09:05:00 +02:00
chrox
0c29b041fe
markup annotation quadpoints should be defined in counterclockwise
2014-08-22 09:32:27 +08:00
WS64
db7c97211c
Add images to info screen
2014-08-21 22:34:00 +02:00
WS64
7e1b702111
Allow to take an image from paretn instead of info-i.png
2014-08-21 22:30:01 +02:00
WS64
4599d02c6f
Show filename on error in crash.log
2014-08-21 22:24:59 +02:00