Commit Graph

94 Commits

Author SHA1 Message Date
blankie 01b2330ebc
Fix valgrind 2023-01-20 23:03:39 +07:00
blankie 8a4eaea7f9
Optimize log window 2023-01-20 22:22:21 +07:00
blankie 3219ebf65e
Parse buffer lines 2023-01-20 21:41:06 +07:00
blankie d5cf2584db
Fix read bug
Reproduction code:
import time
s = "--------- switch to main\n--------- switch to system\n"
print(s[:0xc], end='', flush=True)
time.sleep(1)
print(s[0xc:], end='', flush=True)
2023-01-20 21:31:07 +07:00
blankie b6ad9c5d90
Parse logcat entries 2023-01-19 23:34:03 +07:00
blankie 6c339fa799
Handle lines from stdout and stderr 2023-01-19 15:25:29 +07:00
blankie d9c7184b0e
Add debug button to request a log entry from the logcat thread 2023-01-18 23:43:30 +07:00
blankie be07a6b3aa
Add non-debug checks 2023-01-18 23:37:37 +07:00
blankie 0132b3ca1d
Add inter-thread communication 2023-01-18 23:34:17 +07:00
blankie 277c9500f9
Use ubsan and tsan 2023-01-17 23:22:12 +07:00
blankie 6f5fa39b04
Rewrite errno handling 2023-01-17 22:35:08 +07:00
blankie 398909328c
Create stdout and stderr pipes 2023-01-17 21:44:17 +07:00
blankie 708fc3b16a
Stop logcat thread when the event loop is stopped 2023-01-17 20:59:04 +07:00
blankie ace07768ee
Use a class for the logcat thread 2023-01-17 20:56:56 +07:00
blankie 2778fb039b
Add a basic logcat thread 2023-01-16 16:10:53 +07:00
blankie 585c79c764
Refactor logging 2023-01-16 15:56:07 +07:00
blankie 7c5e9e5db5
Add make_system_error 2023-01-16 15:41:26 +07:00
blankie d2006d5a4e
Get rid of a logging helper 2023-01-16 11:08:35 +07:00
blankie 381b34f731
Add misc.cpp 2023-01-16 11:05:25 +07:00
blankie 79e816e105
Get rid of current_time() 2023-01-16 10:59:46 +07:00
blankie 4411f88904
Only replace newline with spaces for logging 2023-01-16 10:57:07 +07:00
blankie 5d4b91963c
Enable paranoid asserts 2023-01-16 10:44:28 +07:00
blankie eba472e9b4
Add uid adverb for default logcat command 2023-01-15 21:18:35 +07:00
blankie 80cb7e2086
Allow the use of custom CXXFLAGS 2023-01-10 14:55:39 +07:00
blankie ea18d1ca57
Do not create an exception for debug logging 2023-01-09 14:56:24 +07:00
blankie 85b0d7b8d4
Automatically locate cpp files 2023-01-09 14:48:58 +07:00
blankie 3cc2c379e4
Add ability to change font sizes 2023-01-08 23:12:22 +07:00
blankie 2f28628bbe
Set only LC_TIME 2023-01-08 19:06:18 +07:00
blankie 35229e3dbd
Use fontconfig 2023-01-07 16:15:21 +07:00
blankie 680a1c93af
Use different fonts 2023-01-06 23:30:39 +07:00
blankie 48ac4a560d
Update imgui 2023-01-06 23:25:04 +07:00
blankie 672b39b172
Rename latest_log_entries_read to autoscrolling 2023-01-06 22:42:14 +07:00
blankie 21badd1db4
Make logs button red when there are unread log entries 2023-01-05 21:23:24 +07:00
blankie df3ee3366f
Remove unnecessary config pass 2023-01-05 21:02:50 +07:00
blankie 417addab36
Remove exit confirmation modal 2023-01-05 20:55:54 +07:00
blankie 8a0d2b428e
Add "Add log entry every second" 2023-01-05 20:53:34 +07:00
blankie 11eb08b08f
Add autoscroll 2023-01-05 20:53:23 +07:00
blankie 3bf47f3a5c
Add logging 2023-01-05 17:27:14 +07:00
blankie f1c2dc7f63
Move debug stuff into another window 2023-01-05 16:05:09 +07:00
blankie dfdb631b63
Refactor config handling and related stuff 2023-01-04 23:40:35 +07:00
blankie e7401a6bd1
Automatically size the settings window 2023-01-03 16:13:29 +07:00
blankie 3ec153aca2
Fix bug 2022-12-31 20:10:47 +07:00
blankie 2ae03e1ff1
Show info about logcat command 2022-12-31 20:06:49 +07:00
blankie 6632e58e61
Initial commit
- Basic main window
- Are you sure you want to exit modal
- Basic settings window
2022-12-31 15:35:58 +07:00