Commit Graph

5837 Commits (5245f018a6c270a29530bc553ba65f128b70cafa)
 

Author SHA1 Message Date
Mahmoud Nagy 5245f018a6 [fix] small skim problem (#3580)
in relative page turning in skim, errors appear when page number is less than 10, and you press -10 in skim it gives warning and the page doesn't change, this happens in pdf.
"update" method solves this if it comes first.
6 years ago
poire-z 98abcafa1b Screensaver: change default & show messages on reboot and poweroff (#3572)
Use "message" as the default for screensaver (instead of "disable") (https://github.com/koreader/koreader/pull/3535#issuecomment-353337143)

On Kobo 
Fix: display message on poweroff or reboot (https://github.com/koreader/koreader/pull/3535#issuecomment-352355865)
Allows for overwritting these default messages with the classic screensaver settings, by just prepending "poweroff_" or "reboot_" to them. (https://github.com/koreader/koreader/pull/3535#issuecomment-352498497)

So one can manually add to its settings.reader.lua:
```
"poweroff_screensaver_type" = "random_image" or "message", "cover", "bookstatus", "readingprogress", "disable",
"poweroff_screensaver_dir" = "path to same as screensaver_dir or alternate dir for poweroff image(s)",
"poweroff_screensaver_message" = "message to use instead of Powered off",
```
```
"reboot_screensaver_type" = "random_image" or "message", "cover", "bookstatus", "readingprogress", "disable",
"reboot_screensaver_dir" = "path to same as screensaver_dir or alternate dir for reboot image(s)",
"reboot_screensaver_message" = "message to use instead of Rebooting...",
```
6 years ago
Fabian Müller-Knapp 88c03c08d1 Partial fix for 3477 (#3568)
Partial, as it will safe the state when suspending the reader by pressing the power-button.

However, it will still not safe the state when Pocketbooks autoPowerOff-Feature kicks in, as this does not create an event (e.g. no EVT_BACKGROUND) of any kind.

* Clean up device.lua

* Save state on suspend
6 years ago
Robert 22a8cfde7c Fix missing createFolder() function and fix KOReader File Browser is no longer tappable (#3576) 6 years ago
poire-z 6df0824474 kodev: two small fixes (#3575)
- kodev-run: fix use of $args
- kodev-build: build the emulator in debug mode, for consistency
with kodev-run
- kodev build: add --debug / --no-debug options
6 years ago
poire-z 7797c2369e
credocument: deal with loadDocument() failures (#3570)
cre:loadDocument() may fail in recognizing the document format, and
koreader would previously keep calling other methods on it, which would
make crengine segfaults. We now check loadDocument success at the
various places it is called, and try to deal the best way we can when it fails.
6 years ago
Robert 6f41cecab2 Add info when copy or cut file (#3571) 6 years ago
Robert 227584de22 New option - create new directory (#3555) 6 years ago
Ben Kelly f9ac8b138b Basic fixes to calibre-sync (#3558)
* Properly create intermediate directories when receiving books from Calibre.

This fixes an issue where you can't receive books except into directories that
already exist on the Kobo, which, in particular, causes problems when your
configuration in Calibre is something like "put books in $Author/$Title.epub"
and you haven't previously synced any books by that author.

* Wake up periodically to process ZMQs if any are registered.

This fixes an issue where if there are any timed events (such as the suspend
timer) in the queue, ZMQ events may not get processed until the timed event
fires, which is a problem when (for example) the suspend timer goes off in
an hour and you have something trying to send a book to the kobo over wifi
*right now*.

With this change, the event loop will wake up every 50ms to check for ZMQ
events and process them if necessary. If there are no ZMQs registered (which
is typical), it uses the original behaviour -- so this won't affect battery
life under normal usage.
6 years ago
Robert 79517eb166 Truncate path in filemanager (#3565) 6 years ago
poire-z b2ec0eba8d
Bump base for MuPDF build without ICC/lcms2 (#3569) 6 years ago
Robert 1d1b005b1a
copying file with .sdr (#3563) 6 years ago
Robert b855eff1b9
Remove not empty folder (#3562) 7 years ago
Frans de Jonge a16c500ac7
README: add CBT to list of supported formats (#3560)
Was added in https://github.com/koreader/koreader/pull/3554
7 years ago
TnS-hun 15ec47d7e0 cbt support (#3533) (#3554) 7 years ago
poire-z 69ec6c07c5 Wikipedia Save as EPUB: fix some wiki links and speedup download (#3551)
- Fix links to wikipedia pages containing '?oldid=123', that
  wouldn't work when used back thru the API.
- Make external links to other wikipedias with a different langage
  work (they didn't work when non-ascii page titles)
- Speedup download of images by using a newly added 'fast_refresh'
  option to Trapper:info() to bypass UIManager.
7 years ago
TnS-hun 89164dcbd7 MuPDF 1.12 (#3547)
* addMarkupAnnotation expects a float array

* Use the latest from koreader-base with koreader/koreader-base#577

Closes #3519.
7 years ago
Robert fe4d52c406 Remove unneeded string S.DARKEST (#3552) 7 years ago
Robert a692b5adfb KeyValuePage: option to align value to the right (#3550)
Applied in Reading statistics plugin
7 years ago
Robert efa0d06df9 Add new options to screensaver (#3535)
* Prevent open screensaver more than one in the same time

* Add option to enable/disable background in message screensaver

* fallback to random images if this book cover is excluded feature + fix Disabled (leave screen/page as it is)

* Autostretch disable by default, more fallback options, leave screen as it is
7 years ago
poire-z 70f2aa09ea Adds Wikipedia history (#3549)
Just like Dictionary lookup history.
Also changed Disable to Enable in some menu items to be more positive.
7 years ago
Fabian Müller-Knapp 279329227a Add PB623 alias Touch Lux (#3542) 7 years ago
poire-z 8886e16baa Small fix to wikipedia epub stylesheet (#3534) 7 years ago
poire-z 17bbf68dac [Fix] actually use 'reverse_collate' saved setting (#3532) 7 years ago
Fabian Müller-Knapp f0f59afcdd Added Pocketbook 624 alias Basic Touch (#3528)
Fix #3525
7 years ago
Huang Xin f384a8311c
Fixed zlib has no soname on Kindle (#3523) (#3524) 7 years ago
Frans de Jonge 6b205fba97
README: add a few more pointers (#3512) 7 years ago
Huang Xin a44b39fda6
[build] Darwin build of Android port (#3520) 7 years ago
Frans de Jonge 021e3db002
kobo/device: finetune KoboStar (Aura 2) viewport (#3513)
See https://github.com/koreader/koreader/issues/2418#issuecomment-346287297 and  https://github.com/koreader/koreader/issues/2418#issuecomment-346426685
7 years ago
TnS-hun cdd8055e28 [fix] wbuilder blitbuffer issue (#3514) 7 years ago
Frans de Jonge 3e19ff81ce
[fix] kodev: grep filter debug/no-debug dir (#3506)
Fixes https://github.com/koreader/koreader/issues/3504.
7 years ago
poire-z 2697a30166 [fix] Optimize cre highlights onTap and drawing (#3508)
drawXPointerSavedHighlight() and onTapXPointerSavedHighlight were
looping thru all credocuments highlights, which was expensive.
Now, we first check with cheaper getPageFromXPointer() the highlights
are on the current page before doing more expensive stuff.

Closes #3503.
7 years ago
Robert a6de9ff7d4 [UX] Right align keyvaluepage in statistics (#3507) 7 years ago
TnS-hun 29b376fdd9 [UX] Option to show dictionary in large window (#3499) 7 years ago
Robert b37ae2d681 [UX] Fix bookstatuswidget truncated at the bottom in landscape (#3498) 7 years ago
poire-z ce910cf2e7 Disable Purge .sdr and Delete for currently opened book (#3500) 7 years ago
TnS-hun 2c97b8d31c Ignore -debug builds (#3497) 7 years ago
Frans de Jonge fa5e68e828
README: put ccache website in relevant list item (#3495) 7 years ago
poire-z 8192a2f947 Small decrease of ToggleSwitches width
Just to add some margin, needed on large screen DPI
7 years ago
poire-z 445926ab1c Fix live refresh when changing pdf contrast
nextTick somehow prevented a full refresh of the screen
scheduleIn, as used by other widgets, makes that ok
7 years ago
poire-z 8360164e24 Use toggle for CRE Contrast in bottom menu (#3490) 7 years ago
poire-z 338d14edb7 Speedup dictionaries init (#3489)
When looking for .ifo to populate Dictionary settings menu,
avoid walking sub-directories once we found a .ifo, as these
sub-directories may contain a lot of images and other subdirs.
7 years ago
Frans de Jonge 2538189473
[doc] WidgetContainer: fix some typos 7 years ago
Frans de Jonge 06dfe4fb78
[feat] Add Device:hasClipboard() (#3465)
References https://github.com/koreader/koreader/issues/3441
7 years ago
Frans de Jonge aa7d4f9751
[Kobo] Update H2O2 to nearly working touch. (#3481)
See https://www.mobileread.com/forums/showpost.php?p=3610605&postcount=24 for evtest output.
7 years ago
Huang Xin 0e5293f1eb
[fix] add OSX build prerequisites cmake and makedepend (#3478) 7 years ago
Frans de Jonge 1515753621
[UX] Always show screensaver menu in reader (#3471)
* Add enabled_func on relevant settings

Fixes https://github.com/koreader/koreader/issues/3470
7 years ago
poire-z af48c7c2b7 Android: Change screenOrientation to sensorPortrait (#3474) 7 years ago
Fabian Müller-Knapp 8ef783fd1b Add PocketBook626 (#3472) 7 years ago
Frans de Jonge 5faddfd0ec
Bump base (#3468)
Includes C blitbuffer implementation https://github.com/koreader/koreader-base/pull/571 by @chrox

Should help performance degeneration on Android due to mcode allocation failure, see https://github.com/koreader/koreader/issues/1416
7 years ago