509 Commits over 1,399 Days - 0.02cph!
Fix Capsule.RandomPointOnEdge
Before: https://files.facepunch.com/ziks/2024-08-05/sbox-dev_XG28kFmoyv.mp4
After: https://files.facepunch.com/ziks/2024-08-05/sbox-dev_7zJYNsOipq.mp4
Fix shortcuts like Ctrl+Z in ActionGraph
@CarsonKompon let me know if this isn't the right solution here
Add AG nodes to find objects by name
https://files.facepunch.com/ziks/2024-07-30/Pj8i1MXoJx.png
Expose network accessor to ActionGraph
Fix SceneCamera.GetFrustum for ortho cameras
Breaking change, but fixes incorrect behaviour
Fixes Facepunch/sbox-issues#5999
Add Gizmo.Draw.LineFrustum
Use Gizmo.Draw.LineFrustum in CameraComponent.DrawGizmos
Facepunch/sbox-issues#5999
Fix Module.ResolveType for ByRef types
Caused fast hotload to fail for some methods
Add ToString / GetHashCode nodes
https://files.facepunch.com/ziks/2024-07-30/6SrcmglJqF.png
Added failing test reproducing Facepunch/sbox-issues#5991
Be more careful about trivia changes in ILHotload code analyser
Fixes Facepunch/sbox-issues#5991
Reference package.base from libraries when publishing
Fixes Facepunch/sbox-issues#5899
Cache versioned packages separately
AssertNoGraphErrorsInScene: assert downloaded package version
Package.FetchAsync: allow fetching specific version
Disable AssertNoGraphErrorsInScene test temporarily
Fix Json.PopulateReflectionCache
JsonTypeInfos would only be stored if the JsonSerializerOptions is immutable
Add serialization_warn_time con var
https://files.facepunch.com/ziks/2024-07-24/sbox-dev_0DtqgKK1dt.png
Populate Json reflection cache in Json.Initialize
We were seeing some long frame times during first-time prefab instantiation caused by this
Fix warnings in ParticleVector3ControlWidget
Revert "Add LargeNetworkFiles table"
This reverts commit 7365c616af37ef1665abe4961344013815e89b70.
Accidentally rebased master onto a branch - Metapyziks
Add LargeNetworkFiles table
Respect JsonIgnoreAttribute when serializing component properties
We were already checking it for fields
Actually use the new ByteStream
Possible fix for queued messages not sending
Add Scene.GetAllComponents( Type ) overload
Fix Facepunch/sbox-issues#5896
Added Apply TRS shader graph node
https://files.facepunch.com/ziks/2024-07-23/sbox-dev_PnwMGMVjmc.mp4
Fix offset parameter in ByteStream.Write (#1626)
Give more helpful warnings in Component.Serialize
Allow dragging component properties from the inspector again
Keep Time.Now in sync while in editor play mode
Facepunch/sbox-issues#5826
Fix depth test in ObjectHighlight.shader
Was broken by reverse-z, fixes Facepunch/sbox-issues#5787
Fix NREs when using CameraComponent before it OnAwake()s
Whitelist AggregateException
Only call ServiceWorldRequests if map was loaded
Add test asserting no ActionGraphs have errors in a given scene
Serialize prefab vars with expected type
Add Json.ToNode overload with expected type
* We're deserializing with an expected type already
* We can start phasing out JsonConverterFactorys, just use JsonConverter<T>s
* Can actually use [JsonDerivedType] etc
Let anyone serialize / deserialize System.Type
* We already had this in Facepunch.ActionGraphs, add it to Sandox.Json
* Looks up types through TypeLibrary
* Works with array types / generic types / nested types
* Fixes Facepunch/sbox-issues#5762
Add ListControlWidget handle context menu with duplicate option
Simplify scene ref gizmos, fix leak when closing scene
Hotload: Skip some System.Text.Json types
Fix OnComponentUpdate / OnComponentFixedUpdate not running
Fixed Facepunch/sbox-issues#5752
Update Facepunch.ActionGraphs
* Optimization when cloning
* Nicer error messages with invalid pure methods (Facepunch/sbox-issues#5743)
ByteStream Rewrite (#1610)
* Added failing ByteStream stress test
* Rewrite ByteStream to use Span / ReadOnlySpan where possible
▄██▅ ▄██▍▅▅▆▍▊▋▌▍▍█▊▄▋▌▍
! ▋▄ ▊▋█▇ ▅▍▇▄▌▌▊▇▄▌▋ ▊▅▊▆ █▋█▆▉▊.▅▄▋█.▊▅█▋.▄▇▋
▍▉▄▆▌▌▌▍▆▉▌▊▍▇▊▆▋▆▇▆█▍▊▍▍▊▊ ▅▊▅▊ ▍█▍ ▋▉▊ ▍▊▍▊▇▇▄▇▇▌ ▄▄ ▍▊█ ▋▅▆▄
Look for matching source file when creating component from template
Use ClassName when serializing types generated with compedit
Maybe we'll want to always serialize as ClassName if the attrib is present?
Added various editor events to ActionGraph editor
For component editor library to hook into
Expose a way to deserialize ActionGraphs with a cache
Add ActionGraphTargetAttribute
Use first SourceLocationAttribute if multiple found
Allow editor projects to reference actiongraph / shadergraph
Some extra safety in TypeLibrary.IsAllowedType
Update Zio to 0.18.1
Fixes Facepunch/sbox-issues#5683
Warn when a FileSystemWatcher emits an error
This can happen when the internal buffer is exceeded, causing changes to be dropped.
Compiler.Watch: ignore /obj/