2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
NiLuJe
6e3a3e8069
[Kobo] Support USBMS exports (#6552)
* \o/

* Make sure the (debug) event log doesn't end up in the fd table of our child processes...
Otherwise, it breaks USBMS.

* Close suspicious fds in the Wi-Fi scripts
To prevent any and all issues w/ USBMS down the road...

* Minor USBMS UI tweaks

* Always ask for confirmation to start on USBMS session on plug

* Bump base

https://github.com/koreader/koreader-base/pull/1161
https://github.com/koreader/koreader-base/pull/1162
https://github.com/koreader/koreader-base/pull/1163
https://github.com/koreader/koreader-base/pull/1165
https://github.com/koreader/koreader-base/pull/1167
2020-08-25 02:00:59 +02:00
Frans de Jonge
a2dcfe9aec
[doc] Tag @todo, @fixme and @warning (#5244)
This commit standardizes the various todos around the code a bit in a manner recognized by LDoc.

Besides drawing more attention by being displayed in the developer docs, they're also extractable with LDoc on the command line:

```sh
ldoc --tags todo,fixme *.lua
```

However, whether that particular usage offers any advantage over other search tools is questionable at best.

* and some random beautification
2019-08-23 19:53:53 +02:00
Martín Fernández
236724ef3e use android log categories 2019-01-03 08:56:29 +01:00
Frans de Jonge
7f4be45d4e
[chore] Handle SDL_MOUSEWHEEL and less hackish SDL events (#3826) 2018-04-03 14:56:28 +02:00
Hzj_jie
7d2ed4c3d0 Move kobo auto-suspension logic out of UIManager (#2933) 2017-06-23 10:04:11 -07:00
Hzj_jie
30378eb2a8 Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 2017-05-16 02:11:11 -07:00
Qingping Hou
77b07255f0 chore: make input debug less verbose 2017-02-27 11:08:57 +01:00
Qingping Hou
f95ad00b9e feat: add logger module & rewrite kobo suspend script in lua 2017-01-02 19:52:09 -08:00
Qingping Hou
4540d51a6e settings: add entry to toggle debug mode 2016-10-30 15:25:51 -07:00
Qingping Hou
6d578b26f5 minor: use io.write instead of print for dbg module 2016-09-13 21:57:10 -07:00
chrox
9ab005a1d3 fix unit test of readerlink and readerpaging
and have more confidence with the unit testing framework.

Now `make testfront` won't retry on failure and testing files are
ordered in each run so that it's possible to reproduce testing failure.

And this patch also fix flush settings not working before suspend issue:
at some point the `FlushSettings` event is sent to `UIManager` instead
of `ReaderUI`, but `UIManager` only delegated events to active widgets
and `ReaderUI` is actually not an active widgets thus will miss the event.

This patch also add a verbose debug mode with "-v" as a switch to turn
on this mode. With verbose mode on, event handling will be logged.
2016-08-12 17:05:07 +08:00
Qingping Hou
ab9a86788f dbg: prefix log with datetime 2016-07-10 23:25:32 -07:00
Qingping Hou
cc425287da doc(fix): avoid module keyword 2016-06-04 19:51:47 -07:00
Qingping Hou
e3137134f8 dbg(add): guard method to toggle assert at based at runtimemode 2016-03-28 23:38:25 -07:00
chrox
a60544b1ad Koreader Ubuntu-touch port
Currently only tested on Ubuntu-touch emulator with framework
ubuntu-sdk-14.10 for armhf.
The ubuntu-touch port is binary compatible with the Kobo port
major changes in this PR are:
1. rename the emulator device to sdl device since both the emulator
and the ubuntu-touch target use libsdl to handle input/output.
2. ubuntu-touch app has no write access to the installation dir so
all write-outs should be in a seperate dir definded in `datastorage`.
2015-10-03 14:48:51 +08:00
Hans-Werner Hilse
5b48c165b3 factor out dump() function, handle reference loops 2014-11-14 16:33:52 +01:00
Frans de Jonge
3334903e8c Actually flush stdio rather than all io. 2014-10-18 15:31:05 +02:00
Frans de Jonge
65d3cacd7c Flush stdio to prevent buffering multiple debugging messages when redirecting output to file. 2014-10-18 15:18:01 +02:00
chrox
a9fceec193 os.execute may cause FC on Android 2014-06-04 21:55:01 +08:00
chrox
3520e0c47e partially working android build
Now the Android build should read PDF and EPUB documents
with limited gestures recognized such as "tap" and "swipe"
2014-05-28 12:57:59 +08:00
chrox
0a4a092d12 initial commit for android port of koreader
This PR just shows how far we have went to
the android port. There is still a few steps before a running
android port.
2014-05-26 23:39:10 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
chrox
0cdc5b64f4 fix debug on/off toggle 2013-10-25 20:07:58 +08:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00
chrox
1ee6d5a9c5 add DEBUGBT function to traceback certain location 2013-10-13 21:59:24 +08:00
Qingping Hou
24400c06e6 add LvDEBUG
so we can get rid of stack overflow when dumping a widget
2013-03-15 05:01:34 -04:00
Qingping Hou
10d980ed87 rearranged source tree 2013-03-13 01:18:53 +08:00