Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Don't print help after sending message | Robby Zambito | 3 days |
| | |||
* | Add comment for cli example reference | Robby Zambito | 3 days |
| | |||
* | Allow caller to specify what kind of message to send with arg | Robby Zambito | 3 days |
| | |||
* | Nicer message for no response | Robby Zambito | 3 days |
| | |||
* | Handle network blocking well | Robby Zambito | 3 days |
| | |||
* | Receive and print the response from the sentinel | Robby Zambito | 3 days |
| | |||
* | Start proper connection handshake | Robby Zambito | 3 days |
| | |||
* | Move binary back to zaprus | Robby Zambito | 3 days |
| | | | | Also clean up the args for the aux functions by computing the type instead of passing it | ||
* | Break relay into a specific program | Robby Zambito | 3 days |
| | |||
* | Move types to their own file | Robby Zambito | 3 days |
| | | | | Make it so I can specify the payload message | ||
* | GREATLY improve clarity | Robby Zambito | 3 days |
| | |||
* | Move dba to top level scope | Robby Zambito | 3 days |
| | | | | This makes it so references to it are lazily compiled, so I can throw a compileError if it is referenced in the wrong mode. | ||
* | add comments!!!!! | Robby Zambito | 3 days |
| | |||
* | move aux funcs back into the union | Robby Zambito | 3 days |
| | | | | also move the body of the base64 handling back to the only place it is used now | ||
* | Remove redundant comptime | Robby Zambito | 3 days |
| | | | | Move edge together at the end of the switch | ||
* | Properly initialize the SaprusMessage fromBytes | Robby Zambito | 3 days |
| | | | | Will actually use the provided packet type inline. | ||
* | dedup some | Robby Zambito | 3 days |
| | | | | Still need to clean up fromBytesAux | ||
* | Break out encoding and decoding into its own functions | Robby Zambito | 3 days |
| | |||
* | Add decoding connection messages | Robby Zambito | 3 days |
| | |||
* | Add packet decoding | Robby Zambito | 3 days |
| | | | | Big bug where I was setting the payload length do be the pre-encoded size rather than the encoded size. | ||
* | Small cleanup | Robby Zambito | 3 days |
| | | | | Rename allocator to gpa (general purpose allocator) and move DebugAllocator type out of main | ||
* | Remove unnecessary explicit cast | Robby Zambito | 3 days |
| | | | | Remove unnecessary Self declaration. | ||
* | Specify endianness when writing the header struct | Robby Zambito | 3 days |
| | |||
* | Explicitly specify the size of connection options | Robby Zambito | 3 days |
| | | | | This makes it so specifying the wrong number of options would actually throw a compile time error. | ||
* | Clean up string handling | Robby Zambito | 3 days |
| | |||
* | Make header always a packed struct | Robby Zambito | 3 days |
| | | | | This lets us easily use the same writeStructe(header) pattern to write the header for each message type. | ||
* | Base64 encode relay message | Robby Zambito | 3 days |
| | | | | write the packed connection struct directly instead of each of the fields. | ||
* | Add connection message type | Robby Zambito | 3 days |
| | |||
* | Remove tests | Robby Zambito | 3 days |
| | |||
* | Working with nice union | Robby Zambito | 3 days |
| | | | | This let's us easily use a single type for all Saprus messages, and unwrap the specific type with a switch. | ||
* | it works! | Robby Zambito | 3 days |
| | |||
* | Getting some data but malformed | Robby Zambito | 3 days |
| | | | | | | | This is what the data shows up in the sentinal looking like: 2025/04/02 22:36:32 Error decoding message: Hello darkness my old friend::48656c6c6f206461726b6e657373206d79206f6c6420667269656e64aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2025/04/02 22:36:32 INFO: Relay message received: Hello darkness my old friend | ||
* | Add msgs with toBytes functions | Robby Zambito | 3 days |
| | |||
* | Remove lib | Robby Zambito | 3 days |
| | |||
* | Initial commit | Robby Zambito | 3 days |