468 Commits over 1,338 Days - 0.01cph!
Update ActionGraphs, NodeLibrary restructuring
* Now one NodeLibrary per TypeLibrary instead of per ResourceLibrary
* No need to have a JsonSerializerOptions per ResourceLibrary any more
ActionGraphResource serialization fixes
Exposing some stuff in GraphView for derived types
Fix ActionGraph serialization test
Got rid of some debug logging
ActionGraphResource, update Facepunch.ActionGraphs
Placeholder NodeUI.OnDoubleClick()
Fixed sboxgame/issues#4132
There might be a deeper issue at play, but this should at least make it usable
Test reproducing sboxgame/issues#4125
Fixed sboxgame/issues#4125
Bad assertion, local functions won't become static if they reference only 'this'
Update Facepunch.ActionGraphs
Include .pdb from Facepunch packages in builds
Revert "Reverting attempting to send Facepunch.ActionGraphs"
This reverts commit 6e264f87f6b172af884e0b420c26c05f1d7b6e0a.
Reverting attempting to send Facepunch.ActionGraphs
Needs the .pdb next
Include docs .xml from any Facepunch.* NuGet package on build
Revert "Revert ActionGraphs inclusion, doesn't make a .xml file so it's failing the build"
This reverts commit 88a50a2706c5b767a61d841af038fb97677b63c4.
Update Facepunch.ActionGraphs
Update Facepunch.ActionGraphs
Support for node plugs in title bars
Support for overriding getting relevant nodes without an input type
Make GraphView.FormatTypeName public
Reference Facepunch.ActionGraphs, NodeEditor abstraction (#1311)
* Allow references to Facepunch.ActionGraph in editor code
* Add some basic node definitions
* Expose TypeLibrary members as nodes
* Refactor NodeGraph to support dynamic nodes
* Hotload: fix before / after constraints on upgrader ordering
* TypeLibrary.GetSerializedObject overload accepting a getter
* Add [Flags] to DockProperty
* Allow custom exception stack trace inspectors
* Skip HideInEditor properties in ControlSheets
Test for null get / set methods in ILHotload (#1287)
Handle upgrading ParameterInfo (#1287)
Fixed check for if this is first time assembly is enrolled
Call TriggerRegisterEvent before OnHotloadSuccess
This makes sure that TypeLibrary knows about the new assembly before
things like EntityManager.OnHotloaded() get called.
Remove references to vphysics2
Co-authored-by: Matt Stevens <matt@mattstevens.co.uk>
More safety in JsonSerializerOptionsUpgrader (#1287)
Fix possible exception in ConcurrentDictionaryUpgrader (#1287)
Possible fix for first error in #1287
I couldn't repro, but it's possible some serialization was happening
during a hotload to cause this.
NetworkTable: build variables in deterministic order
See sboxgame/issues#4066, tbh I don't know why they get reordered
Call Enroller.Dispose() in ServerDll.OnShutdown()
Fixes sboxgame/issues#4067
▋▉▆█▊ ▄▉▍▅▄▍█▆▉ ▇▊▌▌▍▊▉▍▅ █▊▋▄▄▉▊▌, ▅▊▋▍▅ █▆▍▆▆▋▄▉▄▇ ▊▍▅█▊▌
▉▄█▍ ▌▋▄▇▊▋▆▇▇█ █▉▉▅▌▌▇▄ ▅▉▅▆▌▇▆▉ ▇▌▊▌▄
! ▋▊▌▋▉▄█ ▄▌█▉ █▋▊▇▋ ▅▍ ▋▉█▌▌▌▉▌▋▄▄▇█▊█(█, ▊)
! ▌▊▇ ▇▋▌▄▆▄▊▋▄▊▍▌▆▍▍(▇, ▉) ▍▋ ▍▅▊▇▇▄▉▄▌
! ▄▇▄█ ▄▌▉▄▊█▊▋▆▌ ▋▄▄▅ ▄█▋▅▌▋▄▋ ▅▊▇ ▉▄▋▄▋▊▋▊▉▌ ▇▇▌▋▅▆▄▊
! ▇▍▇▇▌█ ▉▅▍ █▇▇▆▊▍▊ ▅█▍ ▋▉▅▍██▇▋▅ ▌▇▋█▄▅▌
! ▊▄▅▅▆ █▊▋▇ ▇▆▉ ▋▇▆▊▊ ▇▆▅▅▍▌ ▌▉ ▋█▆▉▊▌▆▅▌▆
! ▉▍▆ ▊▇▍▇▊▅▆▋▍ ▌▉▋▅▄ ▌▄▊▋▆▇ ▉▉ ▄▇▅▊█▍█▌▄▋, ▊▇▋ ▍▆▋▆▋▉▋ ▋▊▋▋▉▌ ▇▅▅▉▇▊▊
Whoops, revert Log.Info back to Log.Trace here
Always call HotloadManager.Replace in PackageLoader.AddAssembly
Updated docs to explain why
▍▍ ▇▆█▇▄▅▆ ▍▋▋▉▄ ▆▅▋▆ ▋▍▌▊▉▄ ▋▊▅█▆▅▉ ▆▄▍▉ ▋▉▋▍▊ ▄ ▅▊▋▇ ▇▄▍▇▍▆▌
! ▊▅▆▇█▇█▌ ▆▊▌▄▇▉ ▋▊▉█▉▍ ▆▄▍▋▍▋▋▇▊ ▅▅ ▆▍▊▊ ▌▊▅▇▆▆▄
██▇▉▇▌▊ █▇▌ █▆ ▊▉▆▉▇▊▊ ▅▆▄▉▉▅▊▌▌ ▍█▅▆ ▋▆▉█▇▇█▍▋▅▌▆▌
▊▄▅▊ ▄▋▊▊▅▌█ ▍▋█▊▍▋█▍▋ ▅▉▇▍▋▅
Added methods for reading / writing from raw byte buffer to net message
▄▉▄▇▄▄▋▊.▍▇▋▆▄▄▆▊▇▌█▅() ▅▉▆▆▄▇ ▉▄ ▋▌▌▍▇▄ ▆▄▌▅ ▊▊▆▇▄▉ ▉▄▊▅█▄▄ ▉▅▆▊▉▆
Fix edge case for FindDeepestNodeContainingSpan
Fix basic Random primitives (#1219)
* Fix (Rotation / Vector2 / Vector3 / Angles).Random
* Add some System.Random extension methods
* VectorInCircle
* VectorInSphere
* VectorInSquare
* VectorInCube
* Gaussian (+ 2D / 3D / 4D)
Stricter Rotation.Angles() tests
sboxgame/issues/3984
Some angle related MathX methods
LerpDegrees, LerpRadians, DeltaDegrees, DeltaRadians
Don't compare euler angles in rotation tests
There's always at least two solutions
Fixed sboxgame/issues#3984
Fixed typo in DeltaRadians
DeltaDegrees / DeltaRadians tests
LerpDegrees / LerpRadians tests
Rotation -> Angles -> Rotation test
Fails because of #1250
Deal with singularities in Rotation.Angles()
Fixes #1250
Hotload test for dictionary enumeration order (sboxgame/issues#3391)
Use sorted dictionaries for network tables, component lists
Fixes sboxgame/issues#3391
Hotload: Support sorted dictionaries in DictionaryUpgrader
Be more careful about finding active packages
Takes into account full / menu packages, fixes sboxgame/issues#3886
Fix GameTask.source always being invalid in menu
Warn if a TaskSource is created in an invalid state
ShaderGraph: ObjectSpaceNormal node
ShaderGraph: TransformNormal node can now transform from object space
Sandbox.Utility.Svg wrapper (#1208)
* Added Sandbox.Utility.Svg to read paths from a .svg
ShaderGraph: Triplanar texture mapping nodes (#1198)
Added Texture Triplanar and Normal Map Triplanar nodes
Simplify handling expired tasks (#1157)
* Simplify checking expired tasks (#1143)
Allow any tasks defined in our DLLs to continue, but user code can't continue if it was from an expired context
* Allow persistent tasks in current menu package assembly (#1143)
* Move task persistence allowing / forbidding to GameMenuInstance
Don't emit SB3000 about const fields in generic types
Fixed FastPathTest.ResolveGeneric test
Failing test reproducing #1027
Simpler repro of #1027
Fixed #1027 in cases involving array types
Add a generic Texture.GetPixels<T>() (#1117)
* Added Texture.GetPixels<T>(srcRect, slice, mip, dstData, dstFormat, dstStride)
* Fix reading non-zero slice from 3D texture (#1118)
* CopyToStagingResource: only use 1 mip level / array slice in staging texture
* CopyToStagingResource: fix copy destination offset
* GetPixels: add dstSize parameter instead of dstStride
* Add Texture.GetPixels3D<T>()
* Texture.GetPixels( int mip ) now gets everything for array / volume textures
* Added Texture.GetPixel3D() to complement Texture.GetPixel()
* GetPixels: fix nativeDstRect size
* GetPixels: stride fixes
* GetPixels: reading from non-zero mip level fixes
Add TaskSource.WorkerThread()
Added test for GameTask.WorkerThread() / GameTask.MainThread()
Whitelist Task.Wait() / Task.RunSynchronously()
Whitelist System.Collections.Concurrent.ConcurrentBag
Added Texture.Depth property
Added TaskSource.MainThread()
Like TaskSource.NextPhysicsFrame(), but can immediately continue if already on the main thread.
Limit worker thread count to avoid starving the main thread
Failing test reproducing #1027
Fixed #1027
Make sure fast hotload related error reports are grouped correctly
Failing test reproducing #1087
Gracefully handle NotSupportedException during fast hotload
Fixes #1087
Added TypeLibrary.GetGenericArguments(Type) with access control checks