Commit 4d46208
Changes for the upcoming v4 release (#244)
- Fixed issue #216 (#233):
- Extended `CanardTxQueueItem` with extra `allocated_size` field to
remember original size allocated for the item (and its embedded
payload).
- Extended `CanardRxTransfer` with extra `allocated_size` field to
report to the client original size allocated for the payload buffer
(which is normally equal to session `extent`).
- New memory API for the TX pipeline only -- #225 #234 (not RX yet).
Introduced new memory related types:
- `CanardMemoryAllocate`
- `CanardMemoryDeallocate`
- `CanardMemoryDeleter`
- `CanardMemoryResource`
- Fix potential memory leak in tests
- Introduce CanardPayload #235
- added `struct CanardPayload` to combine payload size and data.
- added `struct CanardMutablePayload` to combine payload size, data and
`allocated_size`.
- `canardTxPeek` now returns mutable item - needed for payload ownership
transfer. #236
- Eliminated elaborated type typedefs. #237
- Introduce deadline queue #238
- Introduce TX polling helper #239
---------
Co-authored-by: Sergei <sergej.shirokov@gmail.com>
Co-authored-by: Sergei Shirokov <sshirokov@malwarebytes.com>
Co-authored-by: Sergei Shirokov <sergei.shirokov@zubax.com>1 parent 03fc5fe commit 4d46208
File tree
18 files changed
+2563
-1017
lines changed- .github/workflows
- .idea/dictionaries
- libcanard
- tests
18 files changed
+2563
-1017
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
65 | | - | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
95 | | - | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
110 | | - | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | | - | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
147 | | - | |
148 | | - | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
198 | | - | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | | - | |
| 203 | + | |
202 | 204 | | |
203 | 205 | | |
204 | | - | |
| 206 | + | |
205 | 207 | | |
206 | | - | |
| 208 | + | |
| 209 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments