branchRustProtoBuf/mastercancel
18 Commits over 1,827 Days - 0.00cph!
Skip serialization of optional fields set to their default value
Also exclude serializing default value of required fields
Add support for all default values, fix optional field checks applying to DeltaSerialize()
Make sure existing null checks aren't applied on top of new default value checks
Don't apply to enums
Merge branch 'master' into skip_optional_default_fields
Merge branch 'master' into skip_optional_default_fields
Merge branch 'skip_optional_default_fields'
Update: add VarInt U64 buffer read&write utility funcs
Allows to avoid interacting with a stream and it's bookkeeping.
Tests: Used as part of server demo playback
Update: Deprecation of Pool.FreeList API
We now generate either Free call for classes (as they are IPooled) or FreeUnmanaged
Update: Replacing Pool.FreeMemoryStream with FreeUnmanaged
Update: Use Pool.Get<List<T>> instead of GetList<T>
I'm deprecating Pool.GetList<T>, this updates the stale codegen.
Updated code from `threadsafe_protobuf`
Update codegen for uid inspection to use the builtin ID types instead of extensions on every field
Treat NetworkableId, ItemContainerId, and ItemId as builtins so we can serialize them as simple VARINTs instead of length delimited messages with an integer in them
Fix codegen for deserializing and copying repeated structs
Remove commandline submodule
Add commandline directly into this repo instead of as a submodule
Update target framework
Fix global namespace not working for structs
▉▍▉▇▇▍▄ ▅▆█▋▍█▍ ▆▍▉▅ ▅█ ▌▄▉▄▅█
▇▅▍▉▇▄▆▉ ▇▆ `▄▋▉▉▉▇▌▅█▍▉()` ▄▇▅▉█▅▆▄ ▉█ ▉▆▍ ▊▌▆▋▄▊▊▍ ▉▍ ▌▌▉▊ ▌█▅▇▉▅▌ ▇▌▌ ▍▍▍▄█▌ ▌▉▉▊▌▊ ▅▄▅▋ `[▆▊█]`
▇▆▋ ▌▉▇▊▇ ▅▄▄▄▇▍▇▋▄ ▋▊█▋▄ ▇▆▌ ▌▅▇▄▆▋▍▅ ▌█▉▆▄█ ▊▌ █▋▉▉▉█▋▋▇ ▄▄▊▆▋▆ ▍█▍▊▅▇▆▍▆ (▅▍▉▉▌█▄ ▇▍▉)
! ▆▇▌▋▇██ ▉▋▅▋▆▌▅▅▉▋ ▄▋█▉▆▌▆█ ▊▌▅▍
▌▄▋ ▊▊█▍▅▋▊.▆▊▋▉▋ ▉▌ ▄█▇▆ ▊▍▉█▄▍▉▉▆ ▋▉▆▊▌▅ ▍▊ ▅▊▆▇▄
▇▉▌▋▋ ▄▋▉▉█▌ '▊▆▄▅▅▊█▇▊█'
Handle other integer types properly in ResetToPool implementation
Implement CopyTo for repeated fields (except bytes)
Add a throw when calling Dispose with ShouldPool set to false
Add pooled mode for bytes fields (add `[pooled = true]` to the field to enable)
Pooled bytes mode null check fixes