Commit Graph

25 Commits (236724ef3e2cb0bd79c671e8bbd4a8f24ac177ef)

Author SHA1 Message Date
Martín Fernández 236724ef3e use android log categories 5 years ago
Frans de Jonge 7f4be45d4e
[chore] Handle SDL_MOUSEWHEEL and less hackish SDL events (#3826) 6 years ago
Hzj_jie 7d2ed4c3d0 Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
Hzj_jie 30378eb2a8 Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 7 years ago
Qingping Hou 77b07255f0 chore: make input debug less verbose 7 years ago
Qingping Hou f95ad00b9e feat: add logger module & rewrite kobo suspend script in lua 7 years ago
Qingping Hou 4540d51a6e settings: add entry to toggle debug mode 8 years ago
Qingping Hou 6d578b26f5 minor: use io.write instead of print for dbg module 8 years ago
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.
8 years ago
Qingping Hou ab9a86788f dbg: prefix log with datetime 8 years ago
Qingping Hou cc425287da doc(fix): avoid module keyword 8 years ago
Qingping Hou e3137134f8 dbg(add): guard method to toggle assert at based at runtimemode 8 years ago
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`.
9 years ago
Hans-Werner Hilse 5b48c165b3 factor out dump() function, handle reference loops 10 years ago
Frans de Jonge 3334903e8c Actually flush stdio rather than all io. 10 years ago
Frans de Jonge 65d3cacd7c Flush stdio to prevent buffering multiple debugging messages when redirecting output to file. 10 years ago
chrox a9fceec193 os.execute may cause FC on Android 10 years ago
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"
10 years ago
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.
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 0cdc5b64f4 fix debug on/off toggle 11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
chrox 1ee6d5a9c5 add DEBUGBT function to traceback certain location 11 years ago
Qingping Hou 24400c06e6 add LvDEBUG
so we can get rid of stack overflow when dumping a widget
11 years ago
Qingping Hou 10d980ed87 rearranged source tree 11 years ago