You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* FastBufferWriter implemented and tested (still need to add and update some xmldoc comments though)
* A few additional tests to cover the last missed cases I can think of (aside from INetworkSerializable, which isn't ready to be tested yet due to lack of BufferSerializer)
* FastBufferReader + tests
* - More tests
- Streamlined the implementations of bit-packing uints and ulongs.
* - Removed NativeArray from FastBufferReader and FastBufferWriter, replacing with byte* allocated directly through UnsafeUtility.Malloc() (same function used under the hood by NativeArray). This is required in order to be able to store pointers to FastBufferReader and FastBufferWriter in order to be able to wrap them with BufferSerializer - NativeArray contains a managed variable in it that disallows taking a pointer to it. And since FBW and FBR are structs, pointers are the only way to wrap them "by reference" in another struct - ref fields aren't allowed even inside ref structs.
* Added utility ref struct "Ref<T>" to more generically support wrapping values in other ref structs in a capture-by-reference style, updated BitReader and BitWriter to use that. Also aggressively inlining properties in FBW and FBR.
* BufferSerializer and tests.
* Removed unnecessary comment.
* XMLDocs + cleanup for PR
* Replaced possibly unaligned memory access with UnsafeUtility.MemCpy... it's a little slower, but apparently some platforms won't support unaligned memory access (e.g., WEBGL, ARM processors) and there's no compile time way to detect ARM processors since the bytecode is not processor-dependent... the cost of the runtime detection would be more expensive than the cost of just doing the memcpy.
* Resurrected BytewiseUtil.FastCopyBytes as a faster alternative to UnsafeUtility.MemCpy for small values, while still supporting unaligned access.
* Reverting an accidental change.
* Removed files that got accidentally duplicated from before the rename.
* Standards fixes
* Removed accidentally added files.
* Added BuildInfo.json to the .gitignore so I stop accidentally checking it in.
* Addressed most of the review feedback. Still need to do a little more restructuring of some of the other tests.
* standards.py --fix
* standards.py --fix
* Fixed incorrect namespaces.
* -Fixed a couple of issues where growing a FastBufferWriter wouldn't work correctly (requesting beyond MaxCapacity and requesting more than double current capacity)
-Added support for FastBufferReader to be used in a mode that doesn't copy the input buffer
* Fix a test failure and better implementation of large growths
* - Removed RefArray
- Fixed incorrect text in a warning in FastBufferReader
* First INetworkMessage WIP - not hooked up to anything yet.
* Killed DelayUtil.
* Hooked up MessagingSystem and converted ConnectionRequestMessage and ConnectionApprovedMessage.
A couple of tests are known to be failing... this is to let the work start being divided up.
* More converted messages
* Finished converting all messages over and removed all the now-dead code.
Several tests are failing... fixing them will be the next checkin.
* Removed IMessageHandler as it's no longer needed after DelayUtil went away.
* Fixed tests.
* standards.py --fix
* Corrected some incorrect xmldocs.
* -Added some tests for serializing RPC parameters using FastBufferReader/FastBufferWriter extension methods
-Fixed invalid IL code generated when using an extension method to serialize an array.
* Fixed missing send queue information for the server on StartClient().
* Added ILPP compile-time check for INetworkMessage Receive() function.
* Missed the meta file.
* Changed generic function lookup in ILPP to use Cecil instead of relying on system types.
* Changed scene management delivery type to ReliableFragmentedSequenced to support larger messages.
* Fixed DontDestroyWithOwner throwing an exception on disconnect, fixed memory leak if the server forcibly disconnects a client
* - Removed DynamicUnmanagedArray in favor of NativeList
- Changed ulong[] to IEnumerable<ulong> in ClientRpcParams
* standards.py --fix, plus some adjustments based on over-the-zoom-shoulder review with Fatih
* Not sure how standards.py --fix missed this the first time.
* increasing timeout in hopes it fixes test failure.
* Restored ClientConnected on the ServerClientId in StartClient... seems we can't rely on the server connect event to come in before messages get sent to it?
* Cherrypick from fast buffer reader/writer branch to fix accidentally reverted stuff.
* Applied much review feedback.
* Fixed snapshot stuff and also an outdated comment.
* More feedback.
* Fix standards check.
* Fixed an edge case where the temp serialize buffer could be too large to copy into the main one.
* Fixed metrics tests.
* standards.py --fix
* Renamed IBufferSerializerImplementation to IReaderWriter
* Ok... actually renamed IBufferSerializerImplementation to IReaderWriter...
* Missed a meta file
* Fixed missing OnAfterSendMessage hook when sending to localhost.
* Take 3 at a rename.
* standards.py --fix
0 commit comments