Commit Graph

114 Commits

Author SHA1 Message Date
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
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