Commit Graph

10021 Commits

Author SHA1 Message Date
Myra ea3bae1b24 Send server URL on hasJoined (#6416)
* Send server URL when advertising

* Fix

---------

Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
2026-05-08 13:13:49 +02:00
Moony f68abaab68 EntityManager Singleton methods (#6445)
* Implement the singleton methods.

* Fix API + Tests.

* Move remark.

* Typo fix + Proxies.

* Pause remarks.

* No, really, we don't obey paused!

* Release notes.

* testdocs.

* Poke

* The API design axe.

* Update Robust.Shared.IntegrationTests/GameObjects/EntityManagerSingletonTests.cs

Co-authored-by: pathetic meowmeow <uhhadd@gmail.com>

* Remove unused doc comment blerb

---------

Co-authored-by: pathetic meowmeow <uhhadd@gmail.com>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
2026-05-08 12:49:54 +02:00
Pieter-Jan Briers 83c2a1be11 [Dependency] source generator part 2 (#6550)
* [Dependency] source generator

No more reflection, no more codegen at runtime

Also various changes to Roslyn helpers to make this easier to write.

Requires all types with dependencies to be partial and not have readonly dependency fields. An analyzer enforces this at warning level, the previous injection strategies have remained in the code *for now* as a fallback.

No fallback is available for [field: Dependency] properties, due to a Roslyn bug.

Code Fixes exist. We love Roslyn

* Apply dependencies generator changes to all code

* Release notes

* Preprocessor got hands

* Handle nullable dependencies

These are bad but gotta deal with it.

* Apply suggestions from code review

Co-authored-by: Moony <moony@hellomouse.net>

* Fine, let's not use collection expressions

---------

Co-authored-by: Moony <moony@hellomouse.net>
2026-05-08 12:38:33 +02:00
Pieter-Jan Briers b4eb85ad3c [Dependency] source generator (#6549)
* [Dependency] source generator

No more reflection, no more codegen at runtime

Also various changes to Roslyn helpers to make this easier to write.

Requires all types with dependencies to be partial and not have readonly dependency fields. An analyzer enforces this at warning level, the previous injection strategies have remained in the code *for now* as a fallback.

No fallback is available for [field: Dependency] properties, due to a Roslyn bug.

Code Fixes exist. We love Roslyn

* Release notes

* Handle nullable dependencies

These are bad but gotta deal with it.

* Apply suggestions from code review

Co-authored-by: Moony <moony@hellomouse.net>

* Fine, let's not use collection expressions

---------

Co-authored-by: Moony <moony@hellomouse.net>
2026-05-08 12:38:02 +02:00
B_Kirill bbf199757c Fix VRAM leak in MapChunk edge rendering (#6441)
* Fix VRAM leak in MapChunk edge rendering

* Remove CheckGlError because it is called in each of the deletion methods

* Revert "Remove CheckGlError because it is called in each of the deletion methods"

This reverts commit a48ffd71aa.
2026-05-08 11:57:50 +02:00
ArtisticRoomba 740c562ca3 Import tensors and add methods to sbox (#6450)
* Import tensors and add methods to sbox

* might be a good idea to expose pseudo-ctors
also nuke spans as tey're too much to review rn

* nuke buffers

* nuke unconsumable types

* hilarious

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2026-05-08 11:57:19 +02:00
B_Kirill 448d202a16 Add deterministic disposal for textures in IResourceCache (#6483)
* Add deterministic disposal for textures in IResourceCache

* Review

* Thanks PJB

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>

* Review

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2026-05-08 11:43:32 +02:00
rhailrake 302d240a54 Fix escaped quotes in formatted message parameters. (#6547)
* Fix escaped quotes in formatted message parameters

* Dedicated escape function.

---------

Co-authored-by: lunarica <lassovira@duck.com>
2026-05-08 11:40:20 +02:00
Pieter-Jan Briers 9b595eb979 Analyzer to detect nullable dependency fields (#6553)
* Analyzer to detect nullable dependency fields

Does nothing, no point in it.

* Release notes
2026-05-07 21:44:11 +02:00
PJB3005 47a1e63999 Fix broken XML doc on IKeyBinding.GetKeyString() 2026-05-07 17:53:50 +02:00
PJB3005 9b96e926d5 Fix doc comment in EntitySerializer 2026-05-07 17:51:12 +02:00
B_Kirill f39b3d24d2 Fix race condition in HappyEyeballs leaving extra connections alive (#6497)
* Fix race condition in HappyEyeballs leaving extra connections alive

* Review

* Review
2026-05-06 14:45:05 +02:00
PJB3005 9a00570933 Previous commit except I don't check out the wrong commit this time. 2026-05-05 22:05:12 +02:00
PJB3005 4d9bfb146e Make ComponentNetworkGenerator use IPartialTypeInfo
Allows it to support internal types and probably more stuff.
2026-05-05 22:02:59 +02:00
PJB3005 83c05413e8 Add MarkupNode.IsPlainText helper
Was reviewing https://github.com/space-wizards/RobustToolbox/pull/5633 and figured this would make sense.
2026-05-05 19:20:22 +02:00
Moony ff4edd0423 Allow static abstract through the sandbox + INumber (#6432)
* Allow `static abstract`.

* Allow BigInteger + INumber family of interfaces and classes.

* Spurious test fail.

* Further sandbox additions..

* Release notes.

* Fix typo

---------

Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2026-05-05 19:02:15 +02:00
Moony f948bafd3a Make IDependencyCollection constructable. (#6466) 2026-05-05 19:00:12 +02:00
TriviaSolari eb0f03596c Allow hex colour input (#6485)
* Allow entering hex codes for colour selection

* Clarify comment

* Use method groups, fix alpha channel
2026-05-05 18:56:21 +02:00
Moony 90259ffda7 Fix a violation of measure invariants in ScrollContainer (#6494)
* Fix a violation of measure invariants in ScrollContainer

* Poke

* Fix ReturnMeasure-using UIs.
2026-05-05 12:49:39 +02:00
mirrorcult f95a16cf2e Always clean up render handle state after overlay draws (#6508)
* Always clean up render handle state after overlay draws

* i just forgot to commit that part i guess

---------

Co-authored-by: mirrorcult <mirrorcult@pm.me>
2026-05-05 12:44:42 +02:00
mirrorcult 17a15b15d7 Expose access to more fields on AudioComponent (#6510)
Co-authored-by: mirrorcult <mirrorcult@pm.me>
2026-05-05 12:43:57 +02:00
mirrorcult 53e1ec24d5 HRTF support through openal-soft (#6511)
* HRTF support through openal-soft

* a

* more correct

---------

Co-authored-by: mirrorcult <mirrorcult@pm.me>
2026-05-05 12:41:35 +02:00
mastermiller01 15962c62a6 record bandwidth usage on release (#6545) 2026-05-05 12:28:51 +02:00
Tayrtahn 46a56ce348 Version: 276.0.0 v276.0.0 2026-04-30 16:29:08 -04:00
Tayrtahn cd83f45fc8 Release notes 2026-04-30 16:28:08 -04:00
eoineoineoin 612cd04d00 Fix cross-grid collisions. (#6542)
* Fix bug where some grid-grid collisions were missed

* Document future bug; trivial code reorg, for clarity

* Rename poorly named variables
2026-04-30 16:16:24 -04:00
pathetic meowmeow 1046bc9a73 More comprehensively tag auto-generated code (#6541) 2026-04-27 08:43:18 -04:00
Tayrtahn 5a931f368c Add parent check debug assert to SharedContainerSystem.Insert (#6532)
Check for correct parent
2026-04-25 01:22:09 -04:00
Tayrtahn 60d6114906 Fix SetCoordinates causing unexpected reparenting (#6533)
* Don't check for grid traversal when we already know the new parent

* Actually, we shouldn't ever need to check for grid traversal in SetCoordinates
2026-04-25 01:04:00 -04:00
slarticodefast 09284c2fc2 fully remove obsolete methods in mapgridcomponent (#6476)
* obsolete methods in mapgridcomponent

* Update Robust.Shared/Map/Components/MapGridComponent.cs

Co-authored-by: Moony <moony@hellomouse.net>

---------

Co-authored-by: Moony <moony@hellomouse.net>
2026-04-25 01:03:01 -04:00
Tayrtahn 38f345f6fd Fix bad cast syntax with IRobustCloneable field deltas (#6536)
Fix bad cast syntax with IRobustCloneable field deltas
2026-04-25 01:00:49 -04:00
DrSmugleaf 437a65ffd1 Fix TryGetEntitySystem and GetEntitySystemOrNull throwing with uninitialized EntitySystemManager (#6512) 2026-04-07 12:51:57 -04:00
Tayrtahn 1666a3a704 Fix BUI EntitySystem injection (#6515)
* Disable injection when creating BUI instances (the constructor will take care of it)

* Comment

* Release note
2026-04-07 12:51:03 -04:00
Tayrtahn 3c53379036 Report all error logs on TestPair dispose (#6503)
* Report all error logs on TestPair dispose

* Reduce, reuse, recycle
2026-04-05 21:05:51 -04:00
Moony a8f723f635 Catch another couple sources of netencryption exceptions. (#6498)
* Catch another couple sources of netencryption exceptions.

* Clean up tests a bit.

* prevent nonsense.
2026-03-30 15:35:55 -04:00
Tayrtahn 3136118b53 Version: 275.2.0 v275.2.0 2026-03-29 00:06:32 -04:00
Tayrtahn ecf409cd19 Release notes 2026-03-29 00:04:30 -04:00
Moony 03cb357fe6 The damage one typo can do. (#6492) 2026-03-29 00:01:44 -04:00
Tayrtahn a12555988a Version: 275.1.0 v275.1.0 2026-03-27 22:33:30 -04:00
Tayrtahn 6ca6843b18 Release notes 2026-03-27 22:32:56 -04:00
Moony f3aa5ed44c Fix an active denial of service, correctly. (#6491)
* Fix an active denial of service, correctly. Moves a bunch of logging to debug only to avoid amplification.

* One more test.

* Swap over to the NetLogging cvar.

* Be a little more thorough with the bad messages.
2026-03-27 20:08:19 -04:00
Tayrtahn dad56301e1 Version: 275.0.0 v275.0.0 2026-03-27 00:54:04 -04:00
Tayrtahn b3bcfea73f Release notes 2026-03-27 00:52:53 -04:00
mastermiller01 a0809b6112 fix ScrollContainer nullable bool logic (#6484) 2026-03-26 14:31:49 -04:00
slarticodefast a516aa2414 Fully Obsolete TimerComponent (#6475)
remove timer comp
2026-03-25 00:31:14 -04:00
slarticodefast aee5faa997 Fully obsolete methods in ContainerManagerComponent (#6477)
cleanup
2026-03-25 00:06:32 -04:00
slarticodefast 14cdd779bf remove obsolete pvs override methods (#6479) 2026-03-25 00:04:19 -04:00
Tayrtahn d2792926e5 Remove [Virtual] attributes from abstract/sealed classes (#6482)
Removed [Virtual] attributes that shouldn't be there
2026-03-24 23:41:58 -04:00
Moony 8279e2ce26 Allow content to serialize YAML, add missing StringReader/StringWriter. (#6480) 2026-03-24 20:38:43 -04:00
juliangiebel f3e48c97a9 Add release notes for v274.0.1 2026-03-24 21:40:31 +01:00