Commit Graph

69 Commits (72ae80870ca406728ee155d43de93a948e0fdd31)

Author SHA1 Message Date
Qingping Hou 72ae80870c quickstart fix (#2804)
* translation text fix

* quickstart(fix): go back to home dir after document close

* quickstart(fix): purge old quick start files

* spec: fix quickstart tests
7 years ago
Qingping Hou f2671a3e20 plugin(fix): catch crash in addToMainMenu 7 years ago
Frans de Jonge 89099e2c94 Swipe for menu and quickstart guide (#2761)
* Swipe for menu and quickstart guide

Because swiping for the menu is a big change from what we're used to, this commit includes a new quickstart guide.

Fixes #2608.

* add some dev docs
* add FileConverter spec
* add QuickStart spec
* add Version module
* add Version spec
7 years ago
Qingping Hou 1922b2526b fix: normalize require path to reuse import result 7 years ago
Robert 9a247e86ae Screensaver on Kindle without Special Offers (#2757) 7 years ago
Qingping Hou f51285e89b revert code that enables screensaver on kindle by default 7 years ago
Robert 59873ae293 Screensaver option on Kindle devices (#2734)
* Screensaver on Kindle devices
7 years ago
Hzj_jie ea2de9638b LuaSettings:wrap() / LuaSettings:child() function to create an LuaSettings to represent a sub table of an existing one (#2685) 7 years ago
Frans de Jonge bdbda9b405 ReaderMenu: fix MenuSorter-related typo (#2689)
Fixes #2688
7 years ago
Frans de Jonge 8b7e18a7d7 MenuSorter: resolve review comments
* simplify user config loop
* simplify unit test for Travis memory use
* remove unused util variable
7 years ago
Frans de Jonge ddf590eb6d MenuSorter: split out menu order configuration 7 years ago
Frans de Jonge 8f31a81601 MenuSorter: some documentation
MenuSorter: forgot to add plugin style change

MenuSorter: worked out the final quirks

* Menu always compressed into tables without missing indexes for ipairs compatibility
* Orphans attached
* Separators no longer count as items
7 years ago
Frans de Jonge b7b5950e98 MenuSorter: review comments and various bug fixes
* fixed wrongful retention of submenus variable and added return to MenuSorter:findById
* fixed readerfooter_spec.lua error
* fixed review comments
7 years ago
Frans de Jonge aa0bf60ccb MenuSorter: pass config prefix for proper user override 7 years ago
Frans de Jonge 5b20106db7 MenuSorter: initial implementation
* Menus are now sanely configurable
* Custom separator placement for clearer menus
7 years ago
Frans de Jonge d1785e1863 Reorganize menus
* Replace "home" (exit) menu with hamburger
* Discard pokeball and put items in hamburger
* Introduce search menu in reader

Cf. #2562
7 years ago
Qingping Hou 9b7aba3fba fix: override readerhighlight hold in readerfooter
Also fix touch zone dependency graph generation code.

ReaderHighlight has now been migrated to use touch zone

Inputcontainer's touch event handling logic changed to only stop
propagation when handler returns `true`. Previously, it stops
propagation when a handler is found. This is needed to support
both readerhighlight_tap and tap_forward touch zones.
7 years ago
Qingping Hou f95ad00b9e feat: add logger module & rewrite kobo suspend script in lua 7 years ago
Qingping Hou d16688c43c feat: show full menu on menu key for touch devices 7 years ago
Qingping Hou d2743b6f15 fix: migrate readermenu to use touch zone 8 years ago
Qingping Hou ec6da5318c screensaver(fix): add back menu toggle to support screensaver folder 8 years ago
chrox 92184f0199 fix #1985 by always return to the parent dir of current doc in the FileManager 8 years ago
Qingping Hou 72e7cd5cf4 style: move functions around 8 years ago
Qingping Hou 186673587e chore: fix some of the luacheck errors 9 years ago
chrox 5d79158602 fix cannot save document if exit directly after highlighting in PDF 9 years ago
chrox f22a53affd screen orientation won't change when going into filemanager
and filemanager remembers screen orientation at exit
This should fix #1338.
9 years ago
Hans-Werner Hilse bb5254022d fix: save properly last open menu in reader
20fd6f902e missed the saving part when
renaming the configuration variable.

Fixes #1335.
10 years ago
chrox 20fd6f902e fix #1175 10 years ago
chrox 1accddb8cd fix #1236 by opening the parent directory of last used document 10 years ago
Frans de Jonge da00b4b8a9 Refactored menu
While looking into #1219 I accidentally ended up refactoring some stuff.

Tested in emulator and on H2O, but be wary because I might have overlooked something.
10 years ago
chrox 897358e09a add missing translation of 'Screensaver' options 10 years ago
chrox edb124471d screensaver options only apply to Kobo devices 10 years ago
Qingping Hou 123d0a1230 Merge pull request #1126 from chrox/wifi_toggler
add network settings in reader menu
10 years ago
chrox 590073e4a8 add network settings in reader menu
and remove the wifi toggler on the footer of each menu page,
so that network status is only checked (currently with the stdout of ip cmd)
when navigating to the "Network settings" submenu instead of checking
on each menu popup.
10 years ago
chrox 95ac27df5c remember menu tab index when showing reader menu 10 years ago
Hans-Werner Hilse d91dccae80 fix night mode setting
implement bezel cleaning with proper background color
10 years ago
chrox 0dd3a1f8a1 add option to turn off e-ink optimization
which currently just sets free the limitation of panning gestures
emitting rate. This should fix #1039 when unchecking the
"E-ink optimization" in the "Screen settings".
10 years ago
chrox 8ddca4bf49 close reader config panel when touching reader menu 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
chrox dfcd67c5bf move screenshot settings to submenu of Screenshot entry in readermenu
And also fix a touchmenu bug that prevent some menu entries
(always at the bottom of the menu) from showing submenus. The reason is
that the onTapSelect method of TouchMenuItem doesn't return true, so that
the tap gesture will propagate to the parent widget and be captured by
touchmenu itself. But at this time the dimen of touchmenu is changed to
the submenu of the tapped menuitem. If the submenu is short enough the
tap will be outside of touchmenu which will cause a TapCloseAllMenus
event and the submenu will never be shown.
10 years ago
Michael Hall 79cb75b153 Added option for proportional cover image screensaver 10 years ago
Qingping Hou 394c847e2b fix(app): initilize menu properly in reader and filemanager 10 years ago
chrox d30709edb0 add djvu render mode options in readermenu 10 years ago
chrox e714caed8d refactoring restoreScreenMode from readerview to filemanager
This should fix #983.
10 years ago
chrox 2b26e599d9 return to previous filemanager view instead of opening a new one 10 years ago
WS64 4ee35bb972 Add "exclude screensaver" to menu 10 years ago
WS64 de1d8d7cac Switch back to portrait before leaving book 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