Frans de Jonge
2f456dfb2f
[UX] Gesture manager: add actions - toggle wifi and wifi on/off ( #4739 )
...
As suggested by @poire-z.
https://github.com/koreader/koreader/issues/4727#issuecomment-469668338
I wanted to make the gesture a `W`, but that's a bit too unwieldy. Instead there's the suggestion of a (backward) `W`.
The default gestures for wifi on and off are diagonal multiswipe half circles, like an turnable on/off knob.
2019-03-05 21:34:58 +01:00
Martín Fernández
fda231adcd
scheduleIn actions needed to open a new file from an intent on resume, to provide feedback since we cannot blit to the window yet
2019-03-05 20:46:47 +01:00
Martín Fernández
b1e2123a2c
bump android-luajit-launcher: ignore intents for schemes other than file
2019-03-05 20:46:47 +01:00
Martín Fernández
98457f7bf8
bump base: do not refresh e-ink on framebuffer init
2019-03-05 20:46:47 +01:00
poire-z
addd06c1de
[fix, UX] Gesture manager: fix "Toggle rotation" action ( #4740 )
...
By using the same events used by the bottom menu toggles.
Reference #4724 (comment). Close #4738 .
2019-03-05 18:33:50 +01:00
Frans de Jonge
29f52cce81
[feat] Gesture manager: add Wallabag download
2019-03-05 15:55:03 +01:00
Frans de Jonge
090a0f8035
[feat] plugins/wallabag: Allow calling Wallabag retrieval with event
2019-03-05 15:55:03 +01:00
Frans de Jonge
151aedb038
[chore] Bring file manager plugin loading in line with reader
...
This allows for simple testing if self.ui.plugin_name is loaded without complex additional methods in, e.g., PluginLoader.
2019-03-05 15:55:03 +01:00
Martín Fernández
39be43ad84
do not refresh eink on activity changes, system will do that! ( #4735 )
2019-03-05 12:25:04 +01:00
Qingping Hou
4b7d5c82b7
fix: update gesturedector constant for custom screen dpi
2019-03-05 01:17:37 -08:00
Frans de Jonge
bae83ad663
[UX] Gesture manager: add action - folder shortcuts ( #4733 )
...
See #4727 .
2019-03-04 22:45:55 +01:00
Frans de Jonge
bcb0b6e120
Bump base for ffi/framebuffer: set self.dpi in setDPI ( #4734 )
...
https://github.com/koreader/koreader-base/pull/841
Fixes #4726 .
2019-03-04 22:36:31 +01:00
Frans de Jonge
710ab1ba1b
Bump base to switch zlib to a mirror ( #4732 )
...
https://github.com/koreader/koreader-base/pull/840
2019-03-04 20:44:14 +01:00
Frans de Jonge
c5b2bad6d6
[fix] Allow overriding low pan rate on E Ink device ( #4729 )
...
Cf. #4721 .
2019-03-04 19:15:00 +01:00
Frans de Jonge
17fa07ee43
[fix] GestureDetector: deep copies of events for multiswipes when rotated ( #4728 )
...
Fixes #4724 .
2019-03-04 19:01:01 +01:00
poire-z
c510a5b1b1
[UX] Gesture manager: add Exit and Restart action and a few gestures ( #4725 )
...
* [UX] Gesture manager: add action - Exit and Restart
Also:
- add and show some separators in the gestures list
- fix gesture removal, and also remove it from settings
- add missing east west east
- add 6 remaining of the 8 knob 3/4 rotations
- add 3 easy knob full rotation (down + east + west)
* Show and allow removing gestures only in settings
* small optimisation (no loop needed on each multiswipe check)
* keep menu open and updated when recording multiswipe
2019-03-04 18:46:58 +01:00
NiLuJe
8ecdf9d888
Bump base ( #4723 )
...
Pickup FBInk & tar updates
2019-03-04 01:49:15 +01:00
Martín Fernández
5e01a0c264
android: hasColorScreen depends on hasEinkScreen
2019-03-03 16:06:39 +01:00
Martín Fernández
f8c71f6a45
disable low_pan_rate on non e-ink devices by default
2019-03-03 16:06:39 +01:00
Qingping Hou
587758939e
split UI agnostic code from font.lua into fontlist.lua
2019-03-03 13:10:45 +01:00
Qingping Hou
05f62cc4ba
add more comment
2019-03-03 13:10:45 +01:00
Qingping Hou
bf40b5d5e6
avoid assigning screen as local variable in creoptions
2019-03-03 13:10:45 +01:00
Qingping Hou
dd1ab7b409
bump base to decouple G_reader_settings from core
2019-03-03 13:10:45 +01:00
Qingping Hou
634fed5487
use device instead of canvascontext in UI modules
2019-03-03 13:10:45 +01:00
Qingping Hou
1605409c60
rename runtimectl to document/canvascontext
2019-03-03 13:10:45 +01:00
Qingping Hou
adb5d5a52c
use screen for UI color control
2019-03-03 13:10:45 +01:00
Qingping Hou
4d8da96177
fix test
2019-03-03 13:10:45 +01:00
Qingping Hou
e29c2275ef
add check command to kodev
2019-03-03 13:10:45 +01:00
Qingping Hou
855c8c2569
add dummy device & rename runtimectl:setDevice to runtimectl:init
2019-03-03 13:10:45 +01:00
Qingping Hou
8513778990
decouple device from koptinterface
2019-03-03 13:10:45 +01:00
Qingping Hou
b1f94f9afa
decouple device from credocument
2019-03-03 13:10:45 +01:00
Qingping Hou
d749591984
decouple device from pdfdocument, font & bgr checking
2019-03-03 13:10:45 +01:00
Qingping Hou
9e57e56f95
decouple UI definitions from document modules
2019-03-03 13:10:45 +01:00
Qingping Hou
02eca23649
decouple device from document modules
2019-03-03 13:10:45 +01:00
Frans de Jonge
2ba480b41d
[UX] Gesture manager: add action - file search ( #4720 )
...
Also makes it callable from the reader.
Fixes #4717 .
2019-03-03 12:43:09 +01:00
NiLuJe
bb3f49a566
[feat, Kobo] On Kobo, drop fb to 8bpp on startup ( #4637 )
...
* The Great 8bpp Experiment
Swap to 8bpp on Kobo, because we're 'effing grayscale, for pete's sake!
* Always swap to 8bpp, no matter the launch method.
Because it turned out that, even when restarting Nickel, we had to
restore the expected bitdepth ourselves, because pickel/Nickel didn't do
the job completely.
(I'm going to guess the grayscale flag wasn't getting flipped properly).
* Dither every non-transparent icon to the eInk palette
* Make sure hasBGRFrameBuffer is only enabled when the Kobo fb actually is
@ 32bpp...
* Re-process badly grayscaled icons
* And re-grayscale that one w/ gamma correction so the squares show up
better.
* Allow the fbdepth switch to be disabled (in Developer settings).
Also, allow setting debug mode that way.
Also, forcibly disable verbose logging when disabling debug.
* Update setting name to piggyback on the existing check in reader.lua
* Update icons postprocessing info
2019-03-03 12:31:55 +01:00
Martín Fernández
be407d1059
[Android] Disable ota updates on fdroid builds
2019-03-03 11:47:52 +01:00
Martín Fernández
ae0861eda8
[Android] Set flavor at build time
2019-03-03 11:47:52 +01:00
Frans de Jonge
42346d8197
[Android] Bump luajit-launcher for build flavors ( #4719 )
...
See https://github.com/koreader/android-luajit-launcher/pull/126
2019-03-03 11:05:22 +01:00
poire-z
3059ad8bce
Fix "fonts test HTML document" styles ( #4718 )
...
Needed some update after we made htm.css obsolete and
use epub.css instead.
2019-03-03 09:16:27 +01:00
Frans de Jonge
c1b4085b93
[UX] Add cropping: none mapped to page width zoom ( #4696 )
...
Fixes #1923 .
2019-03-03 08:57:20 +01:00
poire-z
93422d05f4
[UX] Gesture manager: add action - clear location history ( #4716 )
...
Also show notification when previous_location can't go
back because the location stack is empty.
2019-03-02 22:55:09 +01:00
Frans de Jonge
5b30ea1920
[fix, UX] Common menu & info menu: switch to dofile ( #4713 )
...
Require is kept in memory, including the modifications made to it by MenuSorter. This can cause trouble when switching between the FileManager and Reader.
Fixes #4703 .
2019-03-02 21:45:12 +01:00
Frans de Jonge
e96ac7e7dc
[UX] Gesture manager: add action - fulltext search ( #4715 )
...
Fixes #4687 .
2019-03-02 21:36:30 +01:00
Frans de Jonge
c9de46d656
[UX] Gesture manager: add action - follow nearest link ( #4714 )
...
Start your gesture on the link to follow it.
Defaults to southeast, northeast.
References https://github.com/koreader/koreader/issues/4687
See https://github.com/koreader/koreader/issues/4687#issuecomment-468827385
2019-03-02 21:23:40 +01:00
tob1az
b910f27201
bump base: PocketBook resume freeze fix ( #4712 )
2019-03-02 18:45:55 +01:00
poire-z
279ffbab43
Fix slow keyboard when double tap not disabled ( #4711 )
...
[fix, UX] Fix slow keyboard when double tap not disabled
When double tap is not disabled (only ensured in ReaderRolling),
repeated key hits were slowed down by it. This ensures
Input widgets that temporarily overrides it to be disabled
are satisfied.
2019-03-02 16:50:07 +01:00
Frans de Jonge
614cbb509d
[fix] ReaderFooter: Don't hide progressbar if it's the only ticked option ( #4648 )
...
Fixes #3914 .
Cf. #3056 .
2019-03-02 15:06:26 +01:00
Frans de Jonge
e4319ddaea
[feat, UX] Gesture manager: add support for diagonal swipes ( #4710 )
...
NB The north east and north west arrows are swapped, see https://github.com/koreader/koreader/issues/4707
2019-03-02 14:38:40 +01:00
Frans de Jonge
57ce8dc574
[UX] Gesture manager: add action - show dictionary/Wikipedia ( #4699 )
...
References #4687 .
2019-03-02 13:29:10 +01:00