Commit Graph

23 Commits (ba7fad2cdf965884706b18b1ed91d09e790fbaf4)

Author SHA1 Message Date
Robert 59873ae293 Screensaver option on Kindle devices (#2734)
* Screensaver on Kindle devices
7 years ago
poire-z 7166efd777 ImageViewer: added zoom & pan via gestures
ImageWidget: removed 'autostretch' setting (replaced by scale_factor=0)
and renamed 'autoscale' setting to 'scale_for_dpi'.
7 years ago
poire-z 0577fde59e Better tracking, management and freeing of BlitBuffers
This should fix the most obvious memory leaks (noticable when
using images as screensaver).
ImageWidget: added a few more options needed by ImageViewer,
and removed 'overflow' option as logic was wrong.
7 years ago
Qingping Hou f95ad00b9e feat: add logger module & rewrite kobo suspend script in lua 7 years ago
Bastien Dejean b959c4de1c Allow local overrides of use_lastfile_as_screensaver 8 years ago
Bastien Dejean 64bc5cd63c Make the powered off state customizable
This changes the behavior of the powered off transition phase for the
Kobo devices: instead of displaying a confirmation dialog, a screensaver
is used after a 2 seconds press delay.

Users can specify separate directories/files/messages for the powered
off and sleeping states through the `path` and `message` attributes of
the `{poweroff,suspend}_screensaver` settings.

Fixes #2327 and closes #2306.
8 years ago
Bastien Dejean fe738ef101 Don't try to return an element from an empty set 8 years ago
Qingping Hou ec6da5318c screensaver(fix): add back menu toggle to support screensaver folder 8 years ago
Qingping Hou e9b9bbadcc fix: luacheck 8 years ago
Hzj_jie 0fb5d5f6fc Fix a naming, which breaks coding style 8 years ago
Hzj_jie 1be9264a0c Resolve review comments 8 years ago
Zijie He 7d4bd076f7 Resolve review comments 8 years ago
Zijie He 865b2a8f90 Update ImageWidget to support more stretch settings, and enable screensaver on kobo 8 years ago
Qingping Hou 186673587e chore: fix some of the luacheck errors 9 years ago
Hans-Werner Hilse 94ce08937a clean up refreshes
This is a larger clean-up of the refresh situation.
The general shift is that refreshes are now mainly triggered by
the (top-level) widgets when they get shown or closed via UIManager.

All refreshes for the widgets when they are in use were handled by
themselves before. This adds the case of showing/closing.

It is the desired result of not having UIManager:show()/:close()
do (full screen) refreshes on its own.
10 years ago
Qingping Hou 6eca26f610 fix(screensaver): lastfile will be nil for fresh installation 10 years ago
Hans-Werner Hilse 3066c86e38 Refactoring hardware abstraction
This is a major overhaul of the hardware abstraction layer.
A few notes:

General platform distinction happens in
  frontend/device.lua
which will delegate everything else to
  frontend/device/<platform_name>/device.lua
which should extend
  frontend/device/generic/device.lua

Screen handling is implemented in
  frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.

The same goes for input handling.
10 years ago
Michael Hall 79cb75b153 Added option for proportional cover image screensaver 10 years ago
WS64 abaa772750 Add "exclude cover from screensaver" functionality 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 0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 10 years ago
chrox 40bddf0735 emulate Power button with F2 on emulator 10 years ago