34 Commits over 1,765 Days - 0.00cph!
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.
Merge branch 'master' into skip_optional_default_fields
Update: Use Pool.Get<List<T>> instead of GetList<T>
I'm deprecating Pool.GetList<T>, this updates the stale codegen.
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.
Update: Replacing Pool.FreeMemoryStream with FreeUnmanaged
Update: Deprecation of Pool.FreeList API
We now generate either Free call for classes (as they are IPooled) or FreeUnmanaged
Make sure existing null checks aren't applied on top of new default value checks
Add support for all default values, fix optional field checks applying to DeltaSerialize()
Also exclude serializing default value of required fields
Skip serialization of optional fields set to their default value
Optimize ReadFromStream(Stream, int) to not allocate because the length is known
Fix writing incorrect padding for len prefixes
Refactor to make BufferStream a class and support resizing the backing buffer automatically
Ditch Stream as the read/write interface to reduce the amount of copying data around
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
▄██▉▇█▍ ▄▉▆▇▋▊▋▊▇▌ ▆▅▉▉▄▌▊▊ ▊▆▋▊
▉▆▌ ▋▌▍▍▉▅▋.▍▌▇▋▆ ▍▍ █▊█▄ ▉▊▌█▄▄▊▋▌ ▊▆▅▇▄▍ ▉▄ ▋▋▊▋▊
Use fully qualified names for repeated fields in generated CopyTo functions (compile fix)
▌▇█▇▄▄▄ ▄██▅▍▌▋ ▄▆█▉ ▅█ ▋▊▋▉▌▄
▊▇▋█▄▆▇▅ ▋▄ `▉▄▍▇▊▇▉▋▉█▌()` ▅▇▅▄▋▍▆▉ ▆▉ ▍▉▍ ▇▊▆▍▇▌▊▊ ▍▄ ▊▇▊▌ ▌█▄▍▍▇▆ ▉▄▊ █▇▇▅▊▉ █▊█▍▍▍ ▄▉▇▋ `[▌▅▅]`
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
Pooled bytes mode null check fixes
Add pooled mode for bytes fields (add `[pooled = true]` to the field to enable)