NiLuJe
b48b0d243f
Bump base to pickup posix ffi fix ( #4638 )
6 years ago
Frans de Jonge
a607629129
[fix, AppImage] Add libbsd.so.0 & libXss.so.1 dummy ( #4634 )
...
Fixes #4627 .
6 years ago
Frans de Jonge
48eb21ad60
Bump base to unbreak SDL2 FFI ( #4633 )
...
https://github.com/koreader/koreader-base/pull/830
See https://github.com/koreader/koreader/pull/4631
6 years ago
Frans de Jonge
ca6c7316e6
[fix] ReaderZooming: work around tiles that are too large ( #4608 )
...
Zooms out until a page can fit in the cache. It's a bit ugly, but better than being stuck. Fixes #3491 .
6 years ago
NiLuJe
afa12ef8ce
[fix] Leave size_t alone in FFI stuff: flip that back to size_t ( #4629 )
6 years ago
Frans de Jonge
4015901136
Bump base for better BB8 performance and bitness FFI stuff ( #4631 )
...
* Leave bitness-dependent types alone in FFI stuff https://github.com/koreader/koreader-base/pull/825 @NiLuJe
Required for #4629 .
* A few blitting changes for better BB8 performance https://github.com/koreader/koreader-base/pull/816 @NiLuJe
6 years ago
NiLuJe
6c29b7da65
[fix] PicDocument: Pass a copy of image_bb in getCoverPageImage() ( #4628 )
...
Avoids a use-after-free in mupdf.scaleBlitBuffer
Fix koreader/koreader-base#821
Thanks for the hint, @poire-z ;).
* As @poire-z suggested, the original unscaled bb should probably be free'd.
6 years ago
Frans de Jonge
8e5c1addf5
[feat] Update check ( #4620 )
...
The concept is quite simple: stick a file on the OTA server named
something like `koreader-appimage-latest-stable` (by analogy with
`koreader-cervantes-latest-stable.zsync`), which contains nothing
but a filename.
The difference with the zsync update is that the link is then launched
in the user's browser (AppImage) or DownloadManager (Android, not yet
implemented).
* Android hasOTAUpdate = no for the moment
6 years ago
Frans de Jonge
35ea8893fb
Bump base to download GNU deps from mirror ( #4626 )
...
https://github.com/koreader/koreader-base/pull/824
This is a simple one. https://ftp.gnu.org/ is currently offline but we shouldn't actually be using it anyway.
https://www.gnu.org/server/mirror.en.html
> First, for users/downloaders: the address http://ftpmirror.gnu.org/ multiplexes between the mirrors, trying to choose one that is nearby and up to date. E.g., http://ftpmirror.gnu.org/emacs/ goes to a mirror's directory of GNU Emacs. We recommend using this generic ftpmirror.gnu.org address wherever possible in links, documentation, etc., to reduce load on the main GNU server.
tl;dr http://ftpmirror.gnu.org should be more stable.
6 years ago
NiLuJe
869b8aebd1
[Cervantes, Kobo] Stricter WiFi callback ( #4616 )
...
* Double-checks that the connection was successful, and forcefully kills WiFi if it didn't, to avoid leaving stuff in an inconsistent state.
Should fix #2183
* Limit the turnOffWifi call to devices where it might make some sense to
do
6 years ago
Frans de Jonge
a2c47b35de
[UX] Gesture manager: add paged zoom gestures ( #4610 )
...
References #4333 .
6 years ago
Frans de Jonge
13d4ead330
[fix] Gesture manager: check multiswipe defaults ( #4623 )
...
Pointed out by @poire-z
Also add default previous location action for left, right.
6 years ago
NiLuJe
5495c5d108
[fix] Fix partial refresh when coming out of ScreenSaver in landscape ( #4622 )
...
When we rotate to show a screensaver, restore original rotation *before* closing the ScreenSaver window.
And ensure closing the ScreenSaver *always* triggers a full update, no
matter the settings.
Fix #4621
6 years ago
Frans de Jonge
388871a2c3
[fix, Android] Bump luajit-launcher to unbreak fullscreen toggle in api14-15 ( #4619 )
...
* add support for older energy ereaders https://github.com/koreader/android-luajit-launcher/pull/116
* README: slight tweaks https://github.com/koreader/android-luajit-launcher/pull/117
* [chore] Fix README codacy issues https://github.com/koreader/android-luajit-launcher/pull/118
* fix codacy issues, part one: unused imports and minor fixes https://github.com/koreader/android-luajit-launcher/pull/120
* unbreak fullscreen toggle in api14-15 https://github.com/koreader/android-luajit-launcher/pull/119
6 years ago
Frans de Jonge
8abf79b497
[spec] Add GestureDetector stub ( #4614 )
...
Cf. #4613 .
6 years ago
NiLuJe
e3bcd6c2a9
Really disable HW dithering on Kindle ;) ( #4617 )
...
* Cosmestic tweak to an error message.
PicDocument handles more than just JPEGs ;)
* Bump base
To really disable HW dithering on Kindle ;).
6 years ago
NiLuJe
bad6305124
Bump base ( #4615 )
...
* Bump base
* PB fb setup cleanups (https://github.com/koreader/koreader-base/pull/813 )
* Buildsystem tweaks (https://github.com/koreader/koreader-base/pull/817 )
* Disable HW dithering on Kindle https://github.com/koreader/koreader-base/pull/819 )
6 years ago
Frans de Jonge
c09045efcd
[fix] GestureDetector: multiswipe rotation ( #4613 )
...
Reported by @poire-z in <https://github.com/koreader/koreader/pull/4607#issuecomment-464622906 >.
Also refactor slightly along the way to make the translations more straightforward.
6 years ago
NiLuJe
b70eaa7322
Warn that the restart may fail...
...
(Hopefully, only when there are actual changes to the startup script,
which should be a rare occurence).
6 years ago
NiLuJe
a3f8e49a0d
Use a temporary copy of our tar binary during OTA updating, to avoid the
...
potential for a SIGBUS error...
Fix #4602
6 years ago
NiLuJe
3bc29aa618
Re-order tar CLI args to be closer to other platforms
6 years ago
Martín Fernández
b6683b7a9f
android: update wifi menus
6 years ago
Martín Fernández
4ab7e367b5
strings, not ints
6 years ago
Martín Fernández
04e17424d0
display network settings based on device capabilities + fix android basic network info
6 years ago
Frans de Jonge
f3a36f8285
[fix] GestureDetector typo ( #4612 )
6 years ago
Frans de Jonge
635927269d
[feat] ReaderGesture: add multiswipe support ( #4607 )
...
This basic initial implementation offers an introductory message
on the first multiswipe with the option to disable, as well as
a few example multiswipes.
Custom multiswipes can be added to `settings/multiswipes.lua`.
6 years ago
Frans de Jonge
0adbd510c1
[feat] GestureDetector: add multiswipes ( #4606 )
...
The basic idea is that you gain an infinite amount of extra gestures,
although in practice you're probably mostly limited to your 16 basic
two swipe combinations and maybe a few three swipe ones.
6 years ago
poire-z
62d548fc61
Highlight adjusting: avoid start and end crossing each other
6 years ago
poire-z
e717d67896
bump crengine: font, text and highlights fixes
...
Includes:
- [CI] Add .codacy.yml
- Footnotes, text selection: don't clip on left and right margins
- Fix underline overflowing last word
- Fix ldomXPointer::getRectEx(), cleanup getSegmentRects() workaround
- Update remaining font metrics from Int8 to Int16
cre.cpp:
- adds compareXPointers()
6 years ago
Frans de Jonge
1623acc007
[UX] ReaderGesture: add option - toggle rotation
6 years ago
Frans de Jonge
e4b4680b04
[UX] ReaderGesture: add option - show history
6 years ago
Frans de Jonge
45b87307b4
[UX] ReaderGesture: add option - suspend action
6 years ago
Frans de Jonge
333f8658bb
[UX] ReaderGesture: add back to previous location as an option ( #4600 )
...
See https://github.com/koreader/koreader/issues/4333#issuecomment-464361133
6 years ago
Martín Fernández
de6b6370ac
bump base to pick cervantes framebuffer changes
6 years ago
Martín Fernández
48013dc70d
move dicts from external storage to internal partition,
...
do this after usbms seasons
6 years ago
Martín Fernández
301aa580cc
cervantes: add usb storage on devices w/updated 3rd party tools
6 years ago
Martín Fernández
51ce6664e5
move Cervantes4 to new natural light interface, like Kobo Forma and Kobo ClaraHD
6 years ago
Martín Fernández
62f25351b4
use fractional sleep as a fallback for devices where usleep isn't present
6 years ago
Frans de Jonge
35e5c24cb8
[Android] Bump luajit-launcher for os.execute quote problem half-fix ( #4598 )
...
There is at least one very obvious issue remaining (i.e., one quotes arguments to enclose spaces) but it's not caused by this PR.
Fixes #4586 .
6 years ago
Frans de Jonge
33840c17cb
[fix] Highlight moving button text shouldn't be translated ( #4597 )
6 years ago
Galunid
015fb4d34e
Allows adjusting highlight start and end ( #4582 )
...
Adds arrow buttons under Delete|Edit.
Tap to move by word, hold to move by char.
6 years ago
Frans de Jonge
f3b6d7fc46
README: add a cute little version tag badge ( #4596 )
6 years ago
poire-z
5657fb087e
bump crengine: fix font clipping and hyphenation with HB ( #4593 )
...
Includes:
- Page drawing: don't clip on left and right margins
- Rendering: draw borders before their inner content
- Harfbuzz: fix rendering when hyphenating on a ligature
6 years ago
Frans de Jonge
74f80fc4bf
Bump base for fb:clear() ( #4592 )
...
https://github.com/koreader/koreader-base/pull/814 necessary for https://github.com/koreader/koreader/pull/4591
Also includes https://github.com/koreader/koreader-base/pull/809 https://github.com/koreader/koreader-base/pull/808 and https://github.com/koreader/koreader-base/pull/810
6 years ago
NiLuJe
134998a323
[fix] Eliminate ghosting on eInk when showing an image ScreenSaver ( #4591 )
...
* Flash a white screen before showing a screensaver image, to prevent
ghosting.
* Really limit the white flash to full-screen images
* Limit that behavior to eInk screens
(Not that clear() is implemented anywhere else, but, still).
6 years ago
Frans de Jonge
8026ffbddb
[Android, fix] Fullscreen, bigger aspect ratio ( #4589 )
...
Fixes #4584
Includes https://github.com/koreader/android-luajit-launcher/pull/113
6 years ago
NiLuJe
b274080846
Some more repaint/refresh tweaks ( #4578 )
...
* ReaderView & ReaderPaging panning should *probably* keep using "partial" ;). (Fix #4575 )
* Try to avoid unnecessary footer repaints (mini status bar)
6 years ago
Frans de Jonge
e123cc5dca
[fix, AppImage] writable zsync outbox location ( #4568 )
...
* [fix, AppImage] writable zsync outbox location
* change to zsync-outbox
6 years ago
poire-z
058d73443c
bump crengine: fix search stuck on some pages and others ( #4572 )
...
Includes:
- (Upstream) Support UTF-8 filenames in zip archives
- Update French hyphenation pattern
- cre:findText(): fix search getting stuck on some pages
- CSS: fix ancessor rule parsing
6 years ago
Frans de Jonge
0b2f586d28
[Android] Bump luajit-launcher for Boyue Likebook Plus ( #4573 )
...
Includes https://github.com/koreader/android-luajit-launcher/pull/112
References https://github.com/koreader/koreader/issues/4551#issuecomment-461743510
Also log time elapsed installing
6 years ago