Commit Graph

944 Commits

Author SHA1 Message Date
c4ab516efe set badbit if stream is corrupt 2023-05-18 14:45:38 -04:00
8dc6c36e36 use auto to prevent length truncation/rollover 2023-05-18 14:45:10 -04:00
41c89e06e0 initialize at allocation 2023-05-18 14:44:31 -04:00
f7a79c5a40 omit length bytes from flag data 2023-05-18 14:44:06 -04:00
7315070462 pdu block members are owned by the block and do not require separate memory management. 2023-05-18 14:43:35 -04:00
0c442b74a2 whitespace cleanup 2023-05-18 14:42:06 -04:00
4a067ad66b evaluate unsigned integer as a bool 2023-05-18 14:39:05 -04:00
13981ff727 consider native byte order when interpreting data 2023-05-18 14:38:32 -04:00
14e4bdc5b5 immitate the C++20 byteorder enum 2023-05-18 14:37:50 -04:00
17f9ee21d6 use size type for size attributes 2023-05-18 14:36:14 -04:00
45c2e5c116 convenient streaming of null-terminated strings 2023-05-18 14:33:40 -04:00
c0e7464919 remove unused alias, which just masked what was actually happening 2023-05-18 14:33:04 -04:00
999026abb7 whitespace cleanup 2023-05-18 14:32:33 -04:00
bd15cbd5aa reorder header 2023-05-16 10:28:14 -04:00
7029286883 tolerate addresses that don't begin with a '/' 2023-05-16 10:27:56 -04:00
d5bd61c35b introspection is public 2023-05-16 10:15:08 -04:00
79e9e2f360 rearrange header 2023-05-16 10:09:14 -04:00
7e679f3016 decouple address matching from message dispatching 2023-05-16 09:52:18 -04:00
0398b63907 capture less when scheduling bundles 2023-05-16 09:50:14 -04:00
39bba1f5b0 local include with quotes 2023-05-16 09:49:26 -04:00
1d2a3b7941 add loopback test for OSC #bundle 2023-05-16 08:44:10 -04:00
4fa70b4ff2 tests cleanup 2023-05-16 08:43:43 -04:00
16f3c66562 whitespace cleanup 2023-05-15 11:42:17 -04:00
ba2927e6ee sending methods are constant 2023-05-15 11:40:43 -04:00
654dfed224 always offer parameter descriptions 2023-05-15 11:39:24 -04:00
7e4734f56a checksums are simply additive 2023-05-15 11:38:05 -04:00
258910efe1 loopback test for Tx->Rx 2023-05-15 11:29:22 -04:00
216a08f100 sender for bundles 2023-05-15 11:28:53 -04:00
fdf801c962 use callbacks to send the byte stream 2023-05-15 11:28:39 -04:00
0bd30d1151 the received packet may be a message or a bundle 2023-05-15 11:24:19 -04:00
31ec3ade78 add documentation for the spec 1.0 stream format 2023-05-15 11:23:49 -04:00
bf61bd9c3e recieve methods are public 2023-05-15 11:22:33 -04:00
ac1c5d64d7 remove duplicate allocation 2023-05-15 11:21:49 -04:00
4fd1c4de29 introspection is protected 2023-05-15 11:21:08 -04:00
64901a27cb adding children doen't need to be virtual 2023-05-15 11:20:47 -04:00
f0d5556230 name match a const string 2023-05-15 11:20:16 -04:00
f72ca7e9f6 root dispatching doesn't pop the pattern list 2023-05-15 11:19:29 -04:00
6853a2af5c name matching is protected, and not virtual 2023-05-15 11:18:28 -04:00
0c22c70b38 check if method is root 2023-05-15 11:12:45 -04:00
767c0a9e34 remove unnecessary headers 2023-05-15 10:55:39 -04:00
fe4d94628c use message string i/o 2023-05-15 10:55:24 -04:00
5b65fd8187 corrected initializer for blob data 2023-05-15 10:54:19 -04:00
6022d4bbc6 consistant patterns for byte alignment 2023-05-15 10:52:54 -04:00
745222cbf9 be wrong instead of throwing exemptions 2023-05-15 10:50:59 -04:00
e638b09be6 fast integer types 2023-05-15 10:48:59 -04:00
b64b185d73 independent checksum calculation 2023-05-13 11:38:41 -04:00
2d2ef07de7 test without the fixture 2023-05-13 11:38:18 -04:00
34d74375cc unit testing for OSC 2023-05-13 11:37:10 -04:00
706fe5a3f9 corrected sub-string indexing for nested arrays 2023-05-13 11:36:45 -04:00
81746d635e convenience functions for adding arguments by value 2023-05-13 11:34:50 -04:00