Commit Graph

83 Commits

Author SHA1 Message Date
blankie bc6bd4164f
Add individual copy options for logs and logcat entries 2023-02-09 15:27:39 +07:00
blankie 042ed355d5
Rename some functions to to_string 2023-02-09 14:44:34 +07:00
blankie 5f13a1c1c4
Indent config file 2023-02-07 13:57:37 +07:00
blankie b21c31ad97
Add QoL for editing filter titles 2023-02-07 13:51:18 +07:00
blankie c43dd3a4db
Clear logcat entries when (re)starting logcat 2023-02-07 13:36:51 +07:00
blankie bda12e0112
__restrict-ify codebase and add log wrapper for logcat thread 2023-02-05 22:57:46 +07:00
blankie fd2652b16e
Remove a few lines from windows/main.cpp 2023-02-05 21:02:36 +07:00
blankie 62b6b57b8d
Warn about non-integer font sizes 2023-02-05 13:51:00 +07:00
blankie b545fbffd5
Don't construct IDs 2023-02-04 22:26:47 +07:00
blankie e852ead133
Add Ctrl+W 2023-02-04 14:31:50 +07:00
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