Commit Graph

7 Commits

Author SHA1 Message Date
Lily Tsuru 8e78492728 aries: Implement DecodeBinaryTagData
Not the prettiest implementation, but it seems to work.
2024-03-23 07:24:19 -04:00
Lily Tsuru a5bf226d11 *: begin actually unittesting!
I probably should've a long time ago, but here we are.

The aries library now has unit tests written for it, so we can actually (?) ensure it won't break randomly. It's now only 50% cowboy code!

Also provides a stub implementation of aries::DecodeBinaryTagData, which will be completed later.
2024-03-21 08:18:18 -04:00
Lily Tsuru f2c01cf924 aries: Implement async I/O algorithm for writing Aries messages
This may also save some memory, because we now no longer need to copy the contents of the memory multiple times.
2024-03-20 23:32:15 -04:00
Lily Tsuru a3a43269fe *: Move most Aries protocol stuff to new "aries" library
Not everything is moved yet, this needs a bit more work.
2024-03-20 23:09:58 -04:00
Lily Tsuru 919490a8c0 *: port to spdlog
Later commits will work on creating loggers for each component.
2024-03-10 06:34:42 -04:00
Lily Tsuru 37f21d8167 *: Giant rework
We now have DirtySockClient and DirtySockServer classes which do the actual protocol server work. The server also allow setting the message fourccs that can be accepted, which in theory we can implement derived classes which set that up.. For now we don't do that and run one dummy lobby server

The message factory now handles parsing, and messages now contain the header (mostly for niceity, but in theory we can now bound stuff or smth idk..)

I moved the IMessage code to the root, and I may even move the MessageFactory class to another file if I can.
2024-03-10 05:55:40 -04:00
Lily Tsuru 4851371f56 Initial commit of rewrite based on base/ library
Should make the code actually possible to finish :v
2024-02-05 06:24:57 -05:00