Frans de Jonge
eb641b6abc
squash: mono-spaced font is necessary for ASCII-art type stuff
...
* reordered requires
8 years ago
Frans de Jonge
e5a3ecd3e5
CreDocument: disable fancy formatting by default
...
It does significantly more harm than good. It can be reenabled with a `txt_preformatted` setting if desired. Fixes #1607 .
8 years ago
Cosmin Gorgovan
10132d1c59
Disable the network asynchronously to avoid blocking the UI
...
Noticeable latency between toggling the power switch and the device
showing the screensaver has been tracked down to the two network
manager calls. This change allows the screen to be updated first.
Note that unloading the open source brcmfmac driver used on okreader
is slower than unloading the proprietary driver shipped by Kobo,
making this delay even more noticeable.
self.suspend() is scheduled after the network manager calls to avoid
race conditions.
8 years ago
Cosmin Gorgovan
11d6bfbc40
Fix typo in frontend/device/generic/device.lua
8 years ago
Hzj_jie
1a2e4f5b55
Force Kobo to suspend ( #2691 )
...
Without this change, the device resumed randomly. With this change, the device had not resumed randomly anymore. (Technically speaking, it still randomly resumed, but got suspended immediately.)
8 years ago
Cosmin Gorgovan
6aeecdba08
Only show the last character of a password after typing it
8 years ago
Qingping Hou
1b700c0044
kobolight(fix): do not consume swipe event if not matched
...
Otherwise it will conflict with swipe to go back feature
8 years ago
Frans de Jonge
cee3603436
TouchMenu: keep hamburger menu on the right
8 years ago
Hzj_jie
ed461c7f30
InputDialog is broken by #2672 ( #2690 )
...
This change also adds a tap_input_func in both TouchMenu and Button.
8 years ago
Hzj_jie
ea2de9638b
LuaSettings:wrap() / LuaSettings:child() function to create an LuaSettings to represent a sub table of an existing one ( #2685 )
8 years ago
Frans de Jonge
bdbda9b405
ReaderMenu: fix MenuSorter-related typo ( #2689 )
...
Fixes #2688
8 years ago
Hzj_jie
0318a048b4
Read timer plugin ( #2672 )
...
A countdown timer to notify user.
8 years ago
Frans de Jonge
791d540a5a
FileSearcher: filter .sdr directories
...
Fixes #2665
8 years ago
Cosmin Gorgovan
3e656d71e0
WiFi manager bugfix: delete the cached psk when changing the password
...
Previously, the cached psk, which is derived from the password and
passed to wpa_supplicant, was not updated when changing the password.
8 years ago
Frans de Jonge
e0c2232237
Menus plugin typo fix
8 years ago
Frans de Jonge
f22dcebb13
MenuSorter: fix overlooked new plugins
...
* frontlight gesture controller
* battery statistics
8 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
8 years ago
Frans de Jonge
1e351e6b87
Menu: remove "Show advanced options"
...
See #2610 for discussion.
8 years ago
Frans de Jonge
99349173be
TouchMenu [widget]: remove check for missing menu item
8 years ago
Frans de Jonge
ddf590eb6d
MenuSorter: split out menu order configuration
8 years ago
Frans de Jonge
33c848f813
MenuSorter: first unit tests
8 years ago
Frans de Jonge
425a4486e4
MenuSorter: fix orphaned storagestat
8 years ago
Frans de Jonge
a970a1f034
MenuSorter: fix outside testability (for potential unit tests)
8 years ago
Frans de Jonge
653ff64438
MenuSorter: handle disabled
8 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
8 years ago
Frans de Jonge
56659ddb20
MenuSorter: avoid recursion in findById
8 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
8 years ago
Frans de Jonge
aa0bf60ccb
MenuSorter: pass config prefix for proper user override
8 years ago
Frans de Jonge
5b20106db7
MenuSorter: initial implementation
...
* Menus are now sanely configurable
* Custom separator placement for clearer menus
8 years ago
robert00s
f2f0c376fa
Minor Reader Fronlight modyfication
8 years ago
Qingping Hou
00cf81febc
readercopt(fix): set view mode after reader is ready
...
Otherwise, self.xpointer might still be nil in
ReaderRolling:onChangeViewMode
8 years ago
robert00s
a2bfc3858d
changes after comments
8 years ago
robert00s
4479d686a0
Refresh status bar after resume
8 years ago
Qingping Hou
a943b73303
fix: adjust pan rate for eink and non-eink screens
8 years ago
Qingping Hou
fc12ee6537
decouple reader footer from dictquicklookup widget & translation fix ( #2664 )
...
* chore: fix strings for translations
* dictionary(chore): decouple reader footer from dictquicklookup widget
8 years ago
Hzj_jie
8f4ec13841
Remove powerd:refreshCapacity() ( #2671 )
8 years ago
Hzj_jie
0b29e73e2e
BatteryStat plugin and instruction of KoboLight plugin ( #2643 )
...
* Start battery stat plugin
* BatteryStat & kobolight
* Several minor improvements
* Remove a useless function
* flush settings
* Some review feedbacks
* Resolve review comments
* Remaining Minutes -> Remaining Hours
* Add dump_file
* typo
* realpath
* realpath on folder
* Remove useless os.time()
* Resolve review comments
* warning
* Add BatteryStat.debugging flag
* treat log as txt
* Minor improvement
* Charging hour should be positive
* Use warn instead of info
* onSuspend in Kobo
* Charging events for kobo and kindle
* More events
* dumpOrLog
* Warnings
* Typo
* More space
* Singleton
* slightly format change
* BatteryStat singleton
* Init
* Remove debugging flag
* sleeping percentage is still negative
* Read settings
* Do not need to change was_suspending and was_charging
* Typo
* Remove debugging flag
* Not charging should happen before suspend
* Resolve review comments
* was_suspend and was_charging should be updated each time in onCallback()
8 years ago
retrue
0edf1cca29
Minor fix in the sorting in language.lua
...
See https://github.com/koreader/koreader/pull/2662#issuecomment-287855474
8 years ago
poire-z
39d1afe37d
Update footer when refreshing screen with diagonal swipe
...
And added diagonal swipe support to readerrolling.
8 years ago
robert00s
00d6403da4
Add supported language
8 years ago
poire-z
112e6a46e4
Fix crash when holding on unsupported image
8 years ago
Qingping Hou
ee0e337433
opds(fix): avoid infinite loop on paging
8 years ago
Robert
4f40250b88
Prompt users to turn on Wifi in Cloud Storage and OPDS Browser ( #2650 )
...
* prompt users to turn on Wifi in Cloud Storage and OPDS Browser
8 years ago
Robert
dccbf4cf96
Fix crash when downloading books with unknown characters in title ( #2628 )
8 years ago
Qingping Hou
d206abc724
update menu-icon.png for voyage ( #2631 )
8 years ago
poire-z
4316284260
Footer: added "memory usage" item
...
Helps following KOReader memory usage (and memory leaks).
8 years ago
poire-z
8b295b5837
Fix KoboLight sensitivity
...
Which was increasing after each opening of a document.
Closes #2605
8 years ago
Qingping Hou
d168db9db5
kobo(suspend): put device back to sleep after unexpected wakeup
8 years ago
Qingping Hou
06562fa582
input(optimization): replace ev type reflection with table lookup
8 years ago
Qingping Hou
597beab616
minor: do not double log key input event
8 years ago