PJB3005
5a24576d78
Squashed commit of the following:
...
commit d4f265c314
Author: PJB3005 <pieterjan.briers+git@gmail.com >
Date: Sun Sep 14 14:32:44 2025 +0200
Fix incorrect path combine in DirLoader and WritableDirProvider
This (and the other couple past commits) reported by Elelzedel.
commit 7654d38612
Author: PJB3005 <pieterjan.briers+git@gmail.com >
Date: Sat Sep 13 22:50:51 2025 +0200
Move CEF cache out of data directory
Don't want content messing with this...
commit cdcc255123
Author: PJB3005 <pieterjan.briers+git@gmail.com >
Date: Sat Sep 13 19:11:16 2025 +0200
Make Robust.Client.WebView.Cef.Program internal.
commit 2f56a6a110
Author: PJB3005 <pieterjan.briers+git@gmail.com >
Date: Sat Sep 13 19:10:46 2025 +0200
Update SpaceWizards.NFluidSynth to 0.2.2
commit 16fc48cef2
Author: PJB3005 <pieterjan.briers+git@gmail.com >
Date: Sat Sep 13 19:09:43 2025 +0200
Hide IWritableDirProvider.RootDir on client
This shouldn't be exposed.
(cherry picked from commit 2f07159336bc640e41fbbccfdec4133a68c13bdb)
(cherry picked from commit d6c3212c74373ed2420cc4be2cf10fcd899c2106)
(cherry picked from commit bfa70d7e2ca6758901b680547fcfa9b24e0610b7)
(cherry picked from commit 06e52f5d58efc1491915822c2650f922673c82c6)
2025-09-14 14:55:48 +02:00
Tayrtahn and GitHub
a45b72a1c5
IRobustCloneable and generator support ( #5692 )
...
* Add IRobustCloneable and check for it in compnet generator.
* Redo compnetgenerator support; add test
* Disconnect client at end of test
* Actually test for client entities
* Cleanup
* Cleanup 2
2025-06-27 20:37:43 +02:00
Leon Friedrich and GitHub
c6a1d82bb1
Validate that Toolshed command arguments have parsers ( #6014 )
...
* Add Nullable<T> support to ToolshedManager.TryParse
* Check that command arguments are parseable
* release notes
* a
* A is for Array
* Fix test
* Fix indentation
2025-06-09 23:47:29 +10:00
slarticodefast and GitHub
00494ad9eb
fix TryQueueDelete ( #5996 )
2025-06-05 22:34:50 +10:00
6d46d3f4a5
Cleanup most warnings in unit tests ( #5946 )
...
* 2 warnings in JointDeletion_Test
* 1 warning in Collision_Test
* 2 warnings in Color_Test (deleted test of deprecated HCY color space)
* 1 warning in MapVelocity_Test
* 2 warnings in MapManager_Tests
* 2 warnings in MapPauseTests
* 1 warning in NetDisconnectMessageTest
* 1 warning in ContainerTests
* Suppress 1 warning in EntityEventBusTests.ComponentEvent
* 4 warnings in MapGridMap_Tests
* 1 warning in GridDeletion_Test
* Remove TryGetContainingContainer foolishness
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-05-29 00:12:58 +10:00
metalgearsloth and GitHub
986b0f979d
Fix physics forces not autoclearing ( #5978 )
...
* Fix physics forces not autoclearing
* Changes
2025-05-29 00:04:55 +10:00
metalgearsloth and GitHub
ee8ea4ec3b
Purge PhysicsMapComponent ( #5766 )
...
* Replace PhysicsMapComponent
- Dumb idea
- Lots of book-keeping and perf overhead.
- Much saner this way.
* stuff
* More work
* Purge
* Fixes
* Eh?
* Fixes
* Also this
* weh
* Fixes
* ice-cream
* Fix
* Fix stacking / gravity
* Gravity query
* MoveBuffer optimisations
* Fixes for test
* World gravity
* Fix build
* Avoid some transform resolves for contactless ents
* Less getcomps
* Fix contact caching
* Possibly less copies
* reh
* bulldoze
* Test "fix"
* seikrets
* a
* I saw this but now I decideded against it
* true
2025-05-28 19:18:36 +10:00
slarticodefast and GitHub
7482451ec4
optimize ToMapCoordinates ( #5953 )
2025-05-28 12:07:23 +10:00
Tayrtahn and GitHub
5c97b15849
Mark Entity methods as readonly ( #5919 )
...
* Mark Entity methods as readonly
* Add to GenericEntityPrint
* No but really
2025-05-15 20:23:29 +10:00
metalgearsloth and GitHub
73f6555624
Fix static ent collision spawn ( #5933 )
...
* Fix static ent collision spawn
* Fix test
* cool
2025-05-15 19:11:20 +10:00
Leon Friedrich and GitHub
4d47cfa1a6
Minor respath improvements ( #5876 )
...
* Minor respath improvements
* Add helpers
* tweak helper
* Throw on more than 1 char
* comments
* No emoji separators
2025-05-12 13:04:40 +10:00
eb5ed12270
Serialize TimeSpan from text ( #5865 )
...
* timespanserializer cleanup
* string reading
* high speed, low drag
* unit tests
* Update Robust.Shared/Serialization/TypeSerializers/Implementations/TimespanSerializer.cs
---------
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
2025-05-05 00:57:01 +02:00
Leon Friedrich and GitHub
806c23e034
Move EntityExt.AsNullable extension methods into the Entity struct ( #5899 )
...
* Move `EntityExt.AsNullable` extension methods into the Entity struct
* use constructor
* a
2025-05-04 01:24:23 +02:00
metalgearsloth and GitHub
e80f5d13a1
Add Vector2i / bitmask conversions ( #5901 )
...
Content uses for a couple tile-based flags.
2025-05-04 01:23:04 +02:00
Milon and GitHub
3bbe0e7f44
ftl hot reloading ( #5874 )
...
* sloth is so going to kill me
* the voices in my head told me to do this
* Register ILocalizationManagerInternal on client
* Avoid breaking change
* Cleanup
* Release notes
2025-04-26 22:38:56 +10:00
Tayrtahn and GitHub
8f9e0f6bab
Fix warnings in PhysicsMap_Test ( #5884 )
2025-04-24 18:10:13 +10:00
Tayrtahn and GitHub
3ed408de5d
Fix warnings in Joints_Test ( #5885 )
2025-04-24 18:09:27 +10:00
Leon Friedrich and GitHub
3ce764311d
Make RobustIntegrationTest pool by default ( #5872 )
2025-04-20 17:53:55 +10:00
Leon Friedrich and GitHub
2f8f4f2f7a
Make MappingDataNode use string keys ( #5783 )
...
* string keys
* obsoletions
* Fix ValueTupleSerializer
* Release notes
* fix release note conflict
* cleanup
* Fix yaml validator & tests
* cleanup release notes
* a
* enumerator allocations
* Also sequence enumerator alloc
2025-04-18 19:01:34 +10:00
Tayrtahn and GitHub
7365a59bd9
Cleanup warnings in CollisionWake_Test ( #5847 )
2025-04-18 12:05:48 +10:00
Whatstone and GitHub
919de8ce0e
SharedPhysicsSystem.Island: set position after velocity ( #5801 )
2025-04-09 01:10:17 +10:00
metalgearsloth and GitHub
ae625ebad8
Inline manifold points ( #5794 )
...
* Inline manifold points
Max is 2 so no reason to use an array over a fixedarray.
* this
2025-04-02 00:04:51 +11:00
Tayrtahn and GitHub
f244c94905
Switch from checking comp.Owner == ent to GetComp(ent) == comp ( #5776 )
2025-03-27 15:21:05 +11:00
Tayrtahn and GitHub
01cac6465b
Cleanup warnings in EntityCoordinates_Tests ( #5771 )
...
* Fix warnings
* Use transform refs to simplify WithEntityId
2025-03-27 15:20:20 +11:00
Tayrtahn and GitHub
089224cd44
Cleanup warnings in EntityLookup_Test ( #5775 )
...
* Replace MapManager.DeleteMap calls with MapSystem.DeleteMap
* Remove unused resolves
2025-03-27 15:07:05 +11:00
Tayrtahn and GitHub
dacaa974d4
Replace MapManager.DeleteMap with SharedMapSystem.DeleteMap in misc tests ( #5777 )
...
* Replace MapManager.DeleteMap with SharedMapSystem.DeleteMap in various tests
* Poke tests
* I guess this is was technically a breaking change?
2025-03-27 13:50:56 +11:00
Tayrtahn and GitHub
4529a7569a
Replace uses of ProtoId<EntityPrototype> with ProtoId<EntityCategoryPrototype> ( #5762 )
2025-03-21 04:08:12 +01:00
metalgearsloth and GitHub
45dc9ad80e
Inline polygon vertices ( #5758 )
...
* FastPoly
* Inline polygon vertices
No more pooling, pooling bad. No more arrays in engine, only span.
I made a slim version that's only the 4 verts so no padding on it compared to Polygon. Slightly more clamplicated code but entitylookup + mapmanager are both hotpaths and it's easy to do. Memory usage will likely go up for now but heap allocations should drop significantly due to removing the pooling.
* Unhide these
* Fixes
* More fixes
* More fixes
* Avoid potential bomb
2025-03-20 21:26:05 +11:00
metalgearsloth and GitHub
654480862e
Use Prototype for ITileDef ( #5731 )
...
Forgot to push this.
2025-03-08 15:20:25 +11:00
metalgearsloth and GitHub
348ab70a8d
Update B2DynamicTree ( #5332 )
...
* Update B2DynamicTree
* API updates
* weh
* forcing it
* Fix all of the bugs
* Rebuild
* A crumb of danger
* Fix merge conflicts
2025-03-08 14:15:47 +11:00
Tayrtahn and GitHub
f10e96a6d1
Clean up warnings in Stack_Test ( #5705 )
2025-03-08 13:49:52 +11:00
metalgearsloth and GitHub
9fe9730d4a
Add public API for physicshull ( #5719 )
2025-03-03 22:07:38 +11:00
poklj and GitHub
0dec6a425f
Modify TryCopyComponents metadata TryGetComponent ( #5710 )
2025-02-27 11:25:28 +11:00
beck-thompson and GitHub
11b24579a2
Fix MultiRootInheritanceGraph not detecting circular inheritance ( #5672 )
...
* Fix
* This is better!
* Fixes
2025-02-22 22:08:31 +01:00
685d002bb7
Move VisibilitySystem to shared ( #5694 )
...
* Move VisibilitySystem to shared
* this
* Remove redundant qualifiers.
---------
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com >
2025-02-22 21:36:49 +01:00
8a04a4f3a5
Add a method for copying components ( #5654 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2025-02-21 09:46:13 +11:00
Leon Friedrich and GitHub
b323c8bd1e
Add support for optional and params T[] toolshed command arguments. ( #5573 )
...
* Include argument name in completion suggestions
* Support optional args
* It (not so shrimply) works
* Add tests
* Add TestGenericPipeInference
* Fix tests
* Release notes
* Overzealous YAMLLinter
* Improve help signatures, fix map command
* Improve NoImplementationError
* Better type argument help signatures
* better pipe syntax
* fix NRE
* Add test
* a
* Fix silent toolshed failure
* Fix GetConcreteMethodInternal
* Improve vars command
* EntProtoId IAsType
* More GetConcreteMethodInternal fixes
* I hate this so much
* update tp command description
The command arguments call the the "other" entity the "target"
* Support localized argument hints/signatures
2025-02-16 21:55:05 +11:00
fbc706f37b
Refactor map loading & saving ( #5572 )
...
* Refactor map loading & saving
* test fixes
* ISerializationManager tweaks
* Fix component composition
* Try fix entity deserialization component composition
* comments
* CL
* error preinit
* a
* cleanup
* error if version is too new
* Add AlwaysPushSerializationTest
* Add auto-inclusion test
* Better categorization
* Combine test components
* Save -> TrySave
Also better handling for saving multiple entities individually
* Create new partial class for map loading
* Add OrphanSerializationTest
* Include MapIds in BeforeSerializationEvent
* Addd LifetimeSerializationTest
* Add TestMixedLifetimeSerialization
* Add CategorizationTest
* explicitly serialize list of nullspace entities
* Add backwards compatibility test
* Version comments
also fixes wrong v4 format
* add MapMergeTest
* Add NetEntity support
* Optimize EntityDeserializer
Avoid unnecessary component deserialization
* fix assert & other bugs
* fucking containers strike again
* Fix deletion of pre-init entities
* fix release note merge conflict
* Update Robust.Shared/Map/MapManager.GridCollection.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
* VV
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-02-16 21:25:07 +11:00
metalgearsloth and GitHub
ea1cc5e446
Planet lighting pre-reqs ( #5490 )
...
* Add another lookup overload
* Fix RenderInRenderTarget
See the linked issue for what happens.
* Also this one
* stuff
* Fix stencilling
* fixes
* mix blend
* fix
* blur fixes
* Tile flag
* Minor tweak
* Fixes
* Render state fixes
* Fixes
* Fix stupidity
* More state render bug fixes
* MapUid on overlay draw
* Remove blur comment
* Fixes
* Fixes
* Remove
* Engine vibe
2025-02-16 19:29:32 +11:00
af6cac14d6
Add CollisionPredictionTest ( #5493 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2025-01-27 21:23:23 +11:00
Leon Friedrich and GitHub
80dbf02af4
Log errors when encountering entity data fields ( #5578 )
...
* Log errors when encountering entity data fields
* Cleanup & comments
* Remove unnecessary GetGenericTypeDefinition
2025-01-07 16:54:25 +01:00
Leon Friedrich and GitHub
9af119f57a
Toolshed Rejig ( #5455 )
...
* Toolshed Rejig
* shorten hint string
* Try fix conflicts. Ill make with work later
* bodge
* Fix ProtoIdTypeParser assert
* comment
* AllEntities
* Remove more linq from WhereCommand
* better help strings
* Add ContainsCommand
* loc strings
* Add contains command description
* Add $self variable
* Errors for writing to readonly variables
* A
2024-12-21 17:49:11 +11:00
metalgearsloth and GitHub
0b7e8c2560
Add shapecasts + raycasts ( #5440 )
...
* Add shapecasts + raycasts
Actual raycasts. Need this for AI LIDAR experiment.
* cassette
* more cudin
* Mostly ported
* more work
* More ports
* the big house
* rays
* builds
* Janky not working raycasts
* Fix GJK
* Test fixes
* Shapecast + fixes
* free
* tests
* More fixes
* Minor changes
* Not these
* Release notes
2024-12-16 16:07:24 +11:00
SpaceManiac and GitHub
0c7ace16d1
Fix most non-obsolete warnings ( #5555 )
2024-12-13 01:25:00 +01:00
MilenVolf and GitHub
45c14b2bc3
Replace remaining obsolete TileAccess methods ( #5519 )
...
* Replace remaining TileAccess methods
* Small fix
2024-11-18 17:19:57 +01:00
MilenVolf and GitHub
2a1bcb6f1e
Replace some obsolete TileAccess methods ( #5516 )
...
* Replace some obsolete TileAccess methods
* Guh
2024-11-12 23:17:40 +01:00
Mervill and GitHub
3a670ec25e
Replace obsolete functions in EntityLookup Test ( #5482 )
2024-10-07 18:34:22 +02:00
Mervill and GitHub
9be903ee56
Replace obsolete functions in GridRotation Tests ( #5481 )
2024-10-05 13:21:26 +10:00
Pieter-Jan Briers and GitHub
f40ccb7558
New HWID system prep ( #5446 )
...
* New HWID system prep
* Allow HWID to be disabled.
Both client and server can now request HWID to be disabled.
On the server via CVar, if disabled the client won't send it.
On the client via env var, if disabled it won't be sent to the client.
This involved moving legacy HWID to be sent in MsgEncryptionResponse instead of MsgLoginStart. This means the legacy HWID won't be available anymore if the connection isn't authenticated.
* Fix tests
* Fix another test
* Review
* Thanks Rider
2024-09-29 00:29:02 +02:00
Pieter-Jan Briers and GitHub
f0ed3537ee
Duplicate dependency field analyzer ( #5463 )
...
* Duplicate dependency field analyzer
Detects cases of duplicate [Dependency] fields in a type. We apparently have 27 of these across RT + SS14.
* Fix duplicate dependencies in Robust
2024-09-28 15:35:18 +10:00