Skip to content

Commit

Permalink
Merge branch 'master-syndie' into lizard-digitigrade
Browse files Browse the repository at this point in the history
# Conflicts:
#	Resources/Textures/Clothing/Mask/squadron.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/atmos.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/capformal.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/captain.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/cargotech.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/ce.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/centcom_officer.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/centcom_official.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/chef.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/chemistry.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/cmo.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/detective.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/detective_grey.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/engineering.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/hop.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/hos.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/hos_alt.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/hos_blue.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/medical.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/musician.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/paramedic.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/scientist.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/security.rsi/meta.json
#	Resources/Textures/Clothing/Uniforms/Jumpsuit/warden.rsi/meta.json
  • Loading branch information
Morb0 committed Sep 25, 2023
2 parents aa2c01f + ae593e6 commit d0d6743
Show file tree
Hide file tree
Showing 7,116 changed files with 1,546,365 additions and 831,755 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/toolshed-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Toolshed feature request
about: Suggest a feature for Toolshed (for game admins/developers)
title: "[TOOLSHED REQUEST]"
labels: Toolshed
assignees: moonheart08

---

**Is your feature request related to a problem/bug? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the command you'd like**
A clear and concise description of what you want and what it should do.
If you're a technical user (i.e. programmer) including type signatures is helpful.

**Additional context**
Add any other context or screenshots about the feature request here.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Run Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.6.0
with:
submodules: 'recursive'
- name: Get Engine version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-docfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
docfx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.6.0
- name: Setup submodule
run: |
git submodule update --init --recursive
Expand All @@ -19,9 +19,9 @@ jobs:
cd RobustToolbox/
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/build-map-renderer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build & Test Map Renderer

on:
push:
branches: [ master, staging, trying ]
merge_group:
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
branches: [ master ]

jobs:
build:
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
strategy:
matrix:
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout Master
uses: actions/[email protected]

- name: Setup Submodule
run: |
git submodule update --init --recursive
- name: Pull engine updates
uses: space-wizards/[email protected]

- name: Update Engine Submodules
run: |
cd RobustToolbox/
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: 7.0.x

- name: Install dependencies
run: dotnet restore

- name: Build Project
run: dotnet build Content.MapRenderer --configuration Release --no-restore /p:WarningsAsErrors=nullable /m

- name: Run Map Renderer
run: dotnet run --project Content.MapRenderer Dev

ci-success:
name: Build & Test Debug
needs:
- build
runs-on: ubuntu-latest
steps:
- name: CI succeeded
run: exit 0
6 changes: 3 additions & 3 deletions .github/workflows/build-test-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout Master
uses: actions/checkout@v2
uses: actions/checkout@v3.6.0

- name: Setup Submodule
run: |
Expand All @@ -34,9 +34,9 @@ jobs:
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout Master
uses: actions/checkout@v2
uses: actions/checkout@v3.6.0

- name: Setup Submodule
run: |
Expand All @@ -34,9 +34,9 @@ jobs:
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
steps:
# - name: Install dependencies
# run: sudo apt-get install -y python3-paramiko
#
- uses: actions/checkout@v2

- uses: actions/checkout@v3.6.0
with:
submodules: 'recursive'

Expand All @@ -37,9 +37,9 @@ jobs:
# Corvax-Secrets-End

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.100
dotnet-version: 7.0.x

- name: Get Engine Tag
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rsi-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.6.0

- name: Get changed files
id: files
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: Checkout Master
uses: actions/checkout@v2
uses: actions/checkout@v3.6.0

- name: Setup Submodule
run: |
Expand Down Expand Up @@ -63,9 +63,9 @@ jobs:
# Corvax-Secrets-End

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/update-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout Master
uses: actions/checkout@v2
uses: actions/checkout@v3.6.0

- name: Setup Submodule
run: |
Expand All @@ -36,9 +36,9 @@ jobs:
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.100
dotnet-version: 7.0.x

- name: Install Dependencies
run: dotnet restore
Expand Down Expand Up @@ -70,3 +70,12 @@ jobs:
username: ${{ secrets.WIKI_BOT_USER }}
password: ${{ secrets.WIKI_BOT_PASS }}

- name: Upload entity_prototypes.json to wiki
uses: jtmullen/[email protected]
with:
wiki_text_file: ./bin/Content.Server/data/entity_prototypes.json
edit_summary: Update entity_prototypes.json via GitHub Actions
page_name: "${{ secrets.WIKI_PAGE_ROOT }}/entity_prototypes.json"
api_url: ${{ secrets.WIKI_ROOT_URL }}/api.php
username: ${{ secrets.WIKI_BOT_USER }}
password: ${{ secrets.WIKI_BOT_PASS }}
2 changes: 1 addition & 1 deletion .github/workflows/validate-rgas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.6.0
- name: Setup Submodule
run: git submodule update --init
# Corvax-Secrets-Start
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-rsis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Validate RSIs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.6.0
- name: Setup Submodule
run: git submodule update --init
# Corvax-Secrets-Start
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_mapfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.6.0
- name: Setup Submodule
run: git submodule update --init
# Corvax-Secrets-Start
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/yaml-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.6.0
- name: Setup submodule
run: |
git submodule update --init --recursive
Expand All @@ -24,9 +24,9 @@ jobs:
cd RobustToolbox/
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.100
dotnet-version: 7.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"omnisharp.analyzeOpenDocumentsOnly": true
"omnisharp.analyzeOpenDocumentsOnly": true,
"dotnet.defaultSolution": "SpaceStation14.sln"
}
19 changes: 11 additions & 8 deletions Content.Benchmarks/DeviceNetworkingBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using Content.IntegrationTests;
using Content.IntegrationTests.Pair;
using Content.IntegrationTests.Tests.DeviceNetwork;
using Content.Server.DeviceNetwork;
using Content.Server.DeviceNetwork.Systems;
Expand All @@ -16,7 +17,7 @@ namespace Content.Benchmarks;
[MemoryDiagnoser]
public class DeviceNetworkingBenchmark
{
private PairTracker _pair = default!;
private TestPair _pair = default!;
private DeviceNetworkTestSystem _deviceNetTestSystem = default!;
private DeviceNetworkSystem _deviceNetworkSystem = default!;
private EntityUid _sourceEntity;
Expand Down Expand Up @@ -58,8 +59,9 @@ public class DeviceNetworkingBenchmark
public async Task SetupAsync()
{
ProgramShared.PathOffset = "../../../../";
PoolManager.Startup(typeof(DeviceNetworkingBenchmark).Assembly);
_pair = await PoolManager.GetServerClient();
var server = _pair.Pair.Server;
var server = _pair.Server;

await server.WaitPost(() =>
{
Expand Down Expand Up @@ -90,14 +92,15 @@ await server.WaitPost(() =>
public async Task Cleanup()
{
await _pair.DisposeAsync();
PoolManager.Shutdown();
}

[Benchmark(Baseline = true, Description = "Entity Events")]
public async Task EventSentBaseline()
{
var server = _pair.Pair.Server;
var server = _pair.Server;

_pair.Pair.Server.Post(() =>
_pair.Server.Post(() =>
{
foreach (var entity in _targetEntities)
{
Expand All @@ -112,9 +115,9 @@ public async Task EventSentBaseline()
[Benchmark(Description = "Device Net Broadcast No Connection Checks")]
public async Task DeviceNetworkBroadcastNoConnectionChecks()
{
var server = _pair.Pair.Server;
var server = _pair.Server;

_pair.Pair.Server.Post(() =>
_pair.Server.Post(() =>
{
_deviceNetworkSystem.QueuePacket(_sourceEntity, null, _payload, 100);
});
Expand All @@ -126,9 +129,9 @@ public async Task DeviceNetworkBroadcastNoConnectionChecks()
[Benchmark(Description = "Device Net Broadcast Wireless Connection Checks")]
public async Task DeviceNetworkBroadcastWirelessConnectionChecks()
{
var server = _pair.Pair.Server;
var server = _pair.Server;

_pair.Pair.Server.Post(() =>
_pair.Server.Post(() =>
{
_deviceNetworkSystem.QueuePacket(_sourceWirelessEntity, null, _payload, 100);
});
Expand Down
4 changes: 2 additions & 2 deletions Content.Benchmarks/EntityManagerGetAllComponents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Content.Benchmarks
{
[Virtual]
public class EntityManagerGetAllComponents
public partial class EntityManagerGetAllComponents
{
private IEntityManager _entityManager;

Expand Down Expand Up @@ -87,7 +87,7 @@ public int Noop()
return count;
}

private sealed class DummyComponent : Component
private sealed partial class DummyComponent : Component
{
}
}
Expand Down
Loading

0 comments on commit d0d6743

Please sign in to comment.