Commit d1f3f1c
authored
Console poc (#36)
* PoC Console for logging.
* Fix underconstrained type on `nx::sf::Buffer`.
The buffer type previously didn't take into account the lifetime of the referenced data, so it is easy to cause use after free in API clients or accidentally hold on to buffer references too long in server implementations.
This gives a lifetime bound to the buffer type so it (hopefully) doesn't outlive the source data or escape the server function.
* WIP - streaming console output is nicer, but no vty support yet.
* WIP2
* Interactive ANSI console MVP
* fix warnings.
* remove panic from raw frame writes.
* Main no longer returns a Result that automatically panics.
* Fix typo.1 parent 82ce20c commit d1f3f1c
File tree
11 files changed
+946
-46
lines changed- src
- gpu
- ipc/sf
- hid
11 files changed
+946
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
23 | 33 | | |
24 | 34 | | |
25 | 35 | | |
| |||
37 | 47 | | |
38 | 48 | | |
39 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
| |||
58 | 73 | | |
59 | 74 | | |
60 | 75 | | |
| 76 | + | |
| 77 | + | |
61 | 78 | | |
62 | 79 | | |
63 | 80 | | |
| |||
0 commit comments