Commit Graph

123 Commits

Author SHA1 Message Date
blankie a6a53eb98a
Actually use default logcat command 2023-02-03 15:15:54 +07:00
blankie 1c44b770a8
Don't show logcat exit code if there's any request 2023-02-03 12:01:19 +07:00
blankie 04c46e220f
Use localtime_r 2023-02-03 11:59:51 +07:00
blankie 9e73720525
Remove debug print 2023-02-03 11:57:12 +07:00
blankie 6b6dd58a0e
Add process control 2023-02-02 19:50:28 +07:00
blankie d62822640c
Add exclusions 2023-02-01 22:22:08 +07:00
blankie 49a74d552b
Use json for config and persist filters 2023-01-31 21:40:04 +07:00
blankie d157e983c4
Remove set item spacing 2023-01-30 12:14:15 +07:00
blankie 27ed96e13b
Add option to toggle exact match 2023-01-30 09:41:42 +07:00
blankie 539ea7aa27
Fullscreen logcat 2023-01-29 18:59:56 +07:00
blankie 072466c54f
Add a small optimization 2023-01-29 18:59:33 +07:00
blankie 3f696c0076
Add more helpers 2023-01-29 17:08:27 +07:00
blankie 75d62a0031
Table-ify logs 2023-01-29 15:21:22 +07:00
blankie fbf717db33
Table-ify logcat 2023-01-29 14:56:05 +07:00
blankie 18551db53a
Un-inline render_add_filter_popup 2023-01-28 22:12:11 +07:00
blankie f08282a5ed
Add filters 2023-01-28 21:11:46 +07:00
blankie 68e30aa968
Enable ubsan and tsan by default only if it's a debug build 2023-01-25 12:39:15 +07:00
blankie c46c7778b6
Use OK/Canel/Apply buttons 2023-01-24 12:17:05 +07:00
blankie 1aa93dfea2
Use strncmp 2023-01-23 21:29:37 +07:00
blankie defaa53a40
Give enums a unique ID 2023-01-23 16:10:01 +07:00
blankie 49eca27204
Split windows up into different files 2023-01-23 15:44:16 +07:00
blankie 430ed098a6
Switch from make to cmake 2023-01-22 21:28:14 +07:00
blankie 7f47dfe1e5
Use freetype 2023-01-22 12:16:40 +07:00
blankie d5b1840606
Increase ring buffer size 2023-01-21 15:54:30 +07:00
blankie d1d096d3cb
Pad things out 2023-01-21 15:52:55 +07:00
blankie 5a31b38ef0
Add rudimentary logcat entry view 2023-01-21 15:41:30 +07:00
blankie 35ee4d3ff4
Seperate epoll into its own function 2023-01-21 14:55:09 +07:00
blankie 6cca794fee
Spinlock only if not requested to stop 2023-01-21 14:51:23 +07:00
blankie ae0e97a27f
Add button to test user asserts 2023-01-21 11:42:59 +07:00
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