Commit Graph

1522 Commits (af504707f27c75b8e1ca3173d8a0a81545f8fa4e)

Author SHA1 Message Date
chrox 834c994ed8 fix #970
by rendering full page if bbox is larger than native page size when
zooming mode is fit to content*
10 years ago
chrox c99288f3ad fix #995 by reseting readertoc on init 10 years ago
chrox d30709edb0 add djvu render mode options in readermenu 10 years ago
Paulo Matias ef80cc6a4e Merge pull request #994 from chrox/fix_987
fix #987
10 years ago
chrox f3417c5488 fix #987 10 years ago
chrox 506bf96379 add menu entry to lookup input word in dictionary
This should close #971.
10 years ago
chrox 96960cd554 don't dim icon button by default 10 years ago
chrox 7c9130744c add collapsable TOC menu 10 years ago
chrox 46963df0bb don't need to rebuild ota installed package if it's detected 10 years ago
WS64 f537125756 Bugfix 10 years ago
chrox e714caed8d refactoring restoreScreenMode from readerview to filemanager
This should fix #983.
10 years ago
chrox de38ea1199 count only leaf nodes of toc tree when level is zero 10 years ago
chrox 2b26e599d9 return to previous filemanager view instead of opening a new one 10 years ago
chrox 6dd3f99c35 reset ticks cache 10 years ago
chrox b422eb90cc refactoring readerrolling
and fix lossing progress when switching screen mode
10 years ago
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.
10 years ago
chrox d01ae145b8 guess plugin name from plugin path 10 years ago
chrox a4d5ec6534 plugin modules have 'name' field 10 years ago
chrox 896ad0e8f8 fix #976 10 years ago
chrox cec8ee3c29 add isChapterBegin/End API for readertoc
and add missing test epub
10 years ago
chrox b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
10 years ago
chrox 7142492e42 fix #959 10 years ago
Qingping Hou a44cc3150d fix: use correct entry for Ukrainian in language menu 10 years ago
Qingping Hou 16b393ff47 chore(device.lua): remove frontlight hack for kobo 10 years ago
chrox 6ee8f22d73 add clear api for DocSettings
to remove both history settings and sidecar settings
10 years ago
chrox 330e5a2789 don't open SDL if input device is dummy 10 years ago
Qingping Hou 05e47c8c9c Merge pull request #955 from chrox/network_proxy
http proxy support by setting NETWORK_PROXY variable
10 years ago
Qingping Hou 55cb0271cb Merge pull request #954 from chrox/fix_950
get rid of query filed of baseurl when building href
10 years ago
Qingping Hou 88b8f56146 Merge pull request #952 from chrox/fix_921
strip generic punctuation (U+2000 - U+206F) in lookup word
10 years ago
chrox 3147ffb08a http proxy support by setting NETWORK_PROXY variable
This should implement feature request in #919.
10 years ago
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.
10 years ago
chrox 9467eab6e1 strip generic punctuation (U+2000 - U+206F) in lookup word
This should fix #921.
10 years ago
chrox 7b78d70c74 fix fgcolor of inputbox is always 0.0 10 years ago
chrox 6152198e88 still needs button bgcolor
This bgcolor is for framecontainer background color.
10 years ago
Hans-Werner Hilse 7b1777e095 adapt widgets and text rendering to new font rendering
no background for text rendering anymore
10 years ago
Qingping Hou 7df2e0fb28 Merge pull request #944 from chrox/lazy_loading
refactoring: lazy loading of unused modules
10 years ago
evgsh aae2c4de27 Added acquisition relation types , fixes issue #940 10 years ago
chrox 14e2bf3d69 refatoring: lazy loading of packages 10 years ago
Huang Xin 8fda638da6 Merge pull request #936 from WS64/master
fix the nil tags data bug
10 years ago
WS64 d790f8aafe fix the nil tags data bug 10 years ago
chrox 9adf8ac327 also paint widget if any widget underneath is dirty 10 years ago
chrox 508cf94f98 fix run out of memory when receiving large files from Calibre 10 years ago
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.
10 years ago
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.
10 years ago
Ebrehem 44ecf74ba3 Update readerfooter.lua 10 years ago
chrox 97e7a90865 encode lfs.dir iterated file path to UTF-8 10 years ago
chrox a0cd4816a7 no mkfifo on Windows 10 years ago
chrox 7d22318641 don't require ssl.https since it cannot yet be built for win32 10 years ago
evgsh aabee1f3bc Update opdsbrowser.lua 10 years ago
Huang Xin 0d38a02eb6 Merge pull request #910 from WS64/master
minor code optimizing
10 years ago
WS64 d47af7e368 minor code optimizing optimizing 10 years ago
Huang Xin 534c68cf24 Merge pull request #908 from WS64/master
Minor code optimization
10 years ago
WS64 f7c640e550 Code optimization 10 years ago
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.
10 years ago
WS64 4ee35bb972 Add "exclude screensaver" to menu 10 years ago
WS64 abaa772750 Add "exclude cover from screensaver" functionality 10 years ago
Huang Xin 786d300953 Merge pull request #899 from gontofe/WifiMenuToggle
Adding Touch Menu Wifi Status icon/Toggler for Kobo and Kindle.
10 years ago
Michael Hall f6b1ed2b6d Add tidy up option after failed update. 10 years ago
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.
10 years ago
Qingping Hou 5e035c2517 fix(ui): hide button framecontainer background in hide() method 10 years ago
chrox cf882a078a fix page number of sub-menu is not updated 10 years ago
Qingping Hou 9c9edcf36f Merge pull request #888 from chrox/fix_886
always suspend in portrait mode so that screensaver image won't be stretched
10 years ago
chrox 3bd2c0756a always suspend in portrait mode so that screensaver image won't be stretched
This patch should fix #886.
10 years ago
Qingping Hou eb46aa7d66 Merge pull request #887 from chrox/fix_875
refactoring: hide the charlist implementation of InputText
10 years ago
chrox 5b940cecaf refactoring: hide the charlist implementation of InputText
This patch also fix #875.
10 years ago
chrox 2299ac118a fix infinit loop when OPDSCatalog is created without onExit definded 10 years ago
WS64 de1d8d7cac Switch back to portrait before leaving book 10 years ago
chrox 88d9cdf533 add shortcut to add local calibre OPDS catalog 10 years ago
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.
10 years ago
chrox 84abe620d2 refresh filemanager when closing opdscatalog 10 years ago
chrox 11a8a1dce6 show file size and directory items in filemanager 10 years ago
chrox 8294a629b8 treate quoted slash as plain text in attribute value 10 years ago
Qingping Hou 18d4c7550a chore: cleanup FileManagerHistory:updateItemTable() 10 years ago
Qingping Hou 7c6790796a fix: replace showReaderUI with ReaderUI:showReader 10 years ago
chrox 98da30f689 fix href with two slash 10 years ago
chrox c91224f12c add default directory for filemanager 10 years ago
chrox 69bb4a3df3 add return button in menu 10 years ago
chrox c12cb0367b title truncation in input dialog 10 years ago
chrox 69c162ac4f refactoring to generic multiinputdialog 10 years ago
chrox 21dcf787da add OPDS support
This PR implements a simple OPDS browser which can be launched
from filemanager menu.
10 years ago
chrox 2bec0017a0 refactor out global functions showHomePage and showReaderUI 10 years ago
chrox c74c258fc7 add filemanager icon in reader menu
now we can access the filemanager in all launcher configurations
10 years ago
NiLuJe bb7c7be70a Merge pull request #870 from chrox/fix_868
issue error directly when doc is malformated
10 years ago
Huang Xin 22f98c6850 Merge pull request #871 from WS64/master
Screensaver repair
10 years ago
WS64 f29eed1ebe minor code optimizing 10 years ago
WS64 eae3f01b57 Screensaver repair
Single picture as screensaver was not displayed anymore after the last update
10 years ago
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.
10 years ago
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.
10 years ago
Qingping Hou 0252139361 Merge pull request #862 from chrox/fix_858
don't share info field in document
10 years ago
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.
10 years ago
Qingping Hou ab3be1012b Merge pull request #861 from chrox/screensaver
fix performance issue of screensaver on Kobo
10 years ago
chrox fd9e3d57f3 fix performance issue of screensaver on Kobo
now loadDocument will not render the document and getCoverPageImage will
be much faster.
10 years ago
WS64 4916ae6cb1 Set minimum light to 0 instead of 1 10 years ago
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.
10 years ago
WS64 6c4869f8a8 Only use registered file types in search 10 years ago
Qingping Hou 288a49252e Merge pull request #854 from chrox/screensaver
refactoring: use Document API getCoverPageImage to get cover image
10 years ago
chrox 0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 10 years ago
Michael Hall 7379c3a6e5 Display error message upon failed OTA Update. 10 years ago
Michael Hall 4cc9cf85e4 Prevent promptWifiOn() needing to be called twice and refactor OTA update fetch/version check 10 years ago
Paulo Matias afb591a552 Merge pull request #852 from chrox/screensaver
emulate Power button with F2 on emulator
10 years ago
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.
10 years ago
chrox 40bddf0735 emulate Power button with F2 on emulator 10 years ago
Huang Xin 451092905e Merge pull request #842 from WS64/master
Add a new multi line input dialog and change some search behaviour
10 years ago
Qingping Hou 8199aa20c1 Merge pull request #849 from chrox/fix_cannot_translate
remove too verbose information that is utterly untranslatable
10 years ago
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
```
10 years ago
chrox 5890e4a0b1 use conventional util name and update koreader-base 10 years ago
Michael Hall d49153059d Merge remote-tracking branch 'upstream/master' 10 years ago
Michael Hall 7ea90b2dc9 Change to prevent OTA Server check before wifi enabled 10 years ago
WS64 4bad1a6f6f New editor for table fields used 10 years ago
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
10 years ago
WS64 bde3f31089 New input dialog with variable amount of fields 10 years ago
Qingping Hou 749c7f9939 fix(FM): remove redundant call to lfs.dir 10 years ago
Qingping Hou 8ddade9862 Merge pull request #837 from chrox/save_highlight
prompt user to save PDF document after highlighting
10 years ago
Michael Hall 071a301edf Add getWifiStatus function to allow checking for live wifi connection before
trying OTA Update
10 years ago
WS64 6c603bf9ad remove global variable 10 years ago
WS64 6e86923659 remove global variable 10 years ago
WS64 5fba816d08 remove global variable 10 years ago
chrox 092522b89d promote user to save PDF document after highlighting
This is a wordaround for #791.
10 years ago
Qingping Hou bd2fa87c85 Merge pull request #836 from chrox/fix_835
fix #835
10 years ago
Qingping Hou 0302944bc4 Merge pull request #834 from chrox/fix_fallback
fix Droid Sans Fallback not registered to crengine
10 years ago
chrox 985a421852 fix #835 10 years ago
chrox 4c68e091f9 refactoring: better logic and indentation 10 years ago
Michael Hall 8d9eb30886 Switch to local variables 10 years ago
chrox 7ce5c9c052 fix Droid Sans Fallback not registered to crengine 10 years ago
Michael Hall 8e57adadb2 2nd change to make image dynamic in search 10 years ago
Michael Hall d84984521b Making image size in search info dynamic based on screen size 10 years ago
WS64 aaf9d20c64 Give cover images unique names and keep them 30 days 10 years ago
Huang Xin e4ab31de31 Merge pull request #825 from WS64/master
Add last book screensaver for Kobo, also covers to book info screen
10 years ago
WS64 1a71b3e503 resolve github inconsistencies 10 years ago
WS64 26413adab5 resolve github inconsistencies 10 years ago
WS64 03c2782844 Don't show "0: text" in series view but just "text" 10 years ago
Qingping Hou 99f6298b28 Merge pull request #829 from chrox/master
markup annotation quadpoints should be defined in counterclockwise
10 years ago
chrox 7048ca971b add getCoverPageImage api for CreDocument 10 years ago
chrox a2b232c80b add image cache 10 years ago
chrox dc166b50cc fix OTA update on Kobo, close #824 10 years ago
WS64 9661616edb Removed screensaver functions to new lua file 10 years ago
WS64 1a4bdd5895 Removed screensaver functions to new lua file 10 years ago
WS64 45546945e4 Removed screensaver functions to new lua file 10 years ago
WS64 f5f3e61782 Removed screensaver functions to new lua file 10 years ago
chrox 0c29b041fe markup annotation quadpoints should be defined in counterclockwise 10 years ago
WS64 db7c97211c Add images to info screen 10 years ago
WS64 7e1b702111 Allow to take an image from paretn instead of info-i.png 10 years ago
WS64 4599d02c6f Show filename on error in crash.log 10 years ago
WS64 043dc13a24 Add "last book" screensaver for Kobo
Epub only.
If someone knows how to get an jpg/png from a pdf on linux (e.g. convert by imangemagick? But i am not a linux specialist and have no idea how to get that one into koreader) I can add something for linux too.
cbz/cbr should be possible too, but I have not looked into it yet.

Do I see it right that the Kindle screensavers are handled by Kindle itself?
But on Kindle you also profit, you can see picture thumbnails now in the search results (long tap on found book)
10 years ago
chrox 2199da1713 disable string collating in Kobo devices
This should fix #686.
10 years ago
Qingping Hou 63b6d25f72 Merge pull request #818 from chrox/master
enable Wikipedia support
10 years ago
WS64 2e8ee74b2c Update input.lua 10 years ago
chrox f575797b01 use original lookup word in wikipedia lookup 10 years ago
chrox a275a8cc89 strip punctuations in word before wikipedia lookup 10 years ago
Huang Xin 8bde68aedd Merge pull request #820 from WS64/master
Bugfix. Latest version just allowed you to enter the editor once
10 years ago
WS64 9b6d273c66 Bugfix. Latest version just allowed you to enter the editor once 10 years ago
chrox 0d112c4fa5 fix koboEnableWifi 10 years ago
chrox 557c29a7d9 prompt users to turn on Wifi in OTA update and Wikipedia lookup 10 years ago
Huang Xin 3334b4dc77 Merge pull request #819 from WS64/master
Add { and } to cirtual keyboard and just save back settings that really were changed
10 years ago
WS64 1eea694190 To edit arrays we need { and }
I removed pi and e and two other characters that were there twice and replaced them by {, }, [, ]
10 years ago
WS64 f99f18ee13 Just save settings that really were changed
And not also settings that are different from the ones loaded.
This prevents Koreader from overwriting your complete persistent.defaults.settings when you started Koreader with a malformated persistent.defaults.settings file and choose "save settings". In such a malformated case you just can edit the damaged setting and save it back (although you can't see which one is damaged since the defaults settings are taken)
10 years ago
chrox c83f35a0d0 long press the backspace key will clear input text 10 years ago
chrox 948d92a3b3 fix tap on word title will crash koreader 10 years ago
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.
10 years ago
chrox 56fa8a45b7 remove rescaleByDPI since it's not reversible
alternatively we store the original size before scaling by screen DPI
and use that value when needed.
10 years ago
Huang Xin e3af23f5ef Merge pull request #817 from WS64/master
Create a simplified database file out of the calibre file
10 years ago
WS64 d5b35e8547 Default Settings finally also with the array fields 10 years ago
WS64 669d766a39 Code cosmetics 10 years ago
WS64 fdfd94507f Update filemanagermenu.lua 10 years ago
WS64 e19733edf4 Create a simplified database file out of the calibre file
Makes searches WAY 100 times faster.
From the second run on.
10 years ago
chrox dc911c659e adapt DroidSansFallback file name 10 years ago
chrox fe14809bdf update mupdf and k2pdfopt to latest versions 10 years ago
chrox 507b989747 use pdfreader instead of crereader to handle zip files
Generally zip files are zipped pictures which should be
better handled in pdfreader.
10 years ago
chrox 30898a3cd8 config line space/font gamma values directly 10 years ago
chrox c5def15558 lift TOC entry in navi tab 10 years ago
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.
10 years ago
chrox f37faadcf1 ImageWidget now supports png, jpg and tiff files 10 years ago
chrox c8bc9ee37c close screen framebuffer when exiting reader 10 years ago
Huang Xin 88c80f447b Merge pull request #814 from WS64/master
New function, browse series/tags, and sorting of all search results
10 years ago
pazos a455b3a730 move wifi.sh to networkmgr.lua 10 years ago
WS64 5201f59451 Go back to series/tags list after enter a series/tag
Todo: Go back to the actual page
10 years ago
WS64 05abbbdff9 Minor change for error "not found2 messages 10 years ago
WS64 24f3bdb7fa Add number of books to browse fundction 10 years ago
WS64 7fb545286b New function, browse series/tags, and sorting of all search results 10 years ago
Qingping Hou 5d8a9fa1bd Merge pull request #813 from chrox/dict_lookup
lookup input word when holding on word in dict lookup window
10 years ago
chrox d34a7fb355 lookup input word when holding on word in dict lookup window 10 years ago
WS64 0a6fbe28e3 Reaarange cancel buttons to the left 10 years ago
WS64 f39ffc623a Reuse previous search 10 years ago
WS64 298874c4ae Preparation for new function "browse" 10 years ago
WS64 c7240539d5 add second library 10 years ago
WS64 582c56a6dc add reminder to save unsaved settings 10 years ago
WS64 085b4fce6a Handle defaults by type (boolean/string/number) 10 years ago
WS64 24af13e1c3 Full refresh after suspend 10 years ago
WS64 ff4fa33608 Update uimanager.lua 10 years ago
WS64 768077aaa0 Screensaver functionality for Kobo 10 years ago
WS64 fde966afd2 Readded a comment that was lost by an earlier PR 10 years ago
Qingping Hou 3eab7e0917 Merge pull request #797 from chrox/master
rescale image if width or height is specified in ImageWidget
10 years ago
chrox 3018c7c6b6 add rotate method for ImageWidget 10 years ago
pazos 850eea418e translate filemanager (search & setdefaults) 10 years ago
chrox b7c7287bab remove more global variables 10 years ago
chrox 9f3eb0b784 rescale image if width or height is specified in ImageWidget 10 years ago
pazos bad193346e Translate bookmarks page title 10 years ago
WS64 09334dd7a6 Changed size and added some "close"s 10 years ago
WS64 19c7c14809 Search Enhancements
- Paths now can have unicode characters
- Long tap on search result shows book infos
10 years ago
WS64 11996cb6bb Kobo: Turn light on/off according to start parameters
Kobo only.
I guess Kindle handles this himself anyway?
10 years ago