Skip to content

Various implimentations and fixes#1

Open
CatoChristopherMrow wants to merge 44 commits into
masterfrom
implimentations
Open

Various implimentations and fixes#1
CatoChristopherMrow wants to merge 44 commits into
masterfrom
implimentations

Conversation

@CatoChristopherMrow

Copy link
Copy Markdown
Owner

No description provided.

impliments
proc/Export
proc/MeasureText
proc/Crop
proc/DrawBox
proc/Flip
proc/GetPixel
proc/MapColors
proc/SetIntensity
proc/Shift
proc/SwapColor
proc/Turn
proc/Find_char
proc/Replace_char
Preserve modified type constant var overrides through dynamic new path
Implement/wire native shell(), run(), world.OpenPort(), and walk_away()
Implement /matrix.Interpolate() and undocumented matrix(..., MATRIX_INTERPOLATE)
Support set src = usr.loc verb accessibility
Add operator"" string interpolation support
Add focused DM tests for modified type constants, matrix interpolation, shell/run/OpenPort, and stringify overloads
Comment thread OpenDreamRuntime/Objects/DreamObject.cs Fixed
Comment thread OpenDreamRuntime/Objects/Types/DreamObjectIcon.cs Fixed
Comment thread OpenDreamRuntime/Objects/Types/DreamObjectIcon.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMOpcodeHandlers.cs Fixed
Comment thread OpenDreamRuntime/Procs/Native/DreamProcNativeIcon.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMOpcodeHandlers.cs Fixed
Comment thread OpenDreamClient/Resources/ResourceTypes/DMIResource.cs Fixed
Comment thread OpenDreamClient/Resources/ResourceTypes/DMIResource.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMOpcodeHandlers.cs Fixed
Comment thread OpenDreamClient/Resources/DreamResourceManager.cs Fixed
Comment thread OpenDreamRuntime/DreamValue.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMProc.cs Fixed
Comment thread OpenDreamClient/Interface/DreamInterfaceManager.cs Fixed
Comment thread OpenDreamClient/Resources/DreamResourceManager.cs Fixed
Comment thread OpenDreamRuntime/DreamConnection.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMOpcodeHandlers.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMOpcodeHandlers.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMOpcodeHandlers.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMOpcodeHandlers.cs Fixed
Comment thread OpenDreamRuntime/Procs/DMProc.cs Fixed
private readonly delegate*<Bundle, DreamObject?, DreamObject?, DreamValue> _handler;

public NativeProc(int id, TreeEntry owningType, string name, List<string> argumentNames, Dictionary<string, DreamValue> defaultArgumentValues, HandlerFn handler, DreamManager dreamManager, DreamRefManager refManager, AtomManager atomManager, IDreamMapManager mapManager, DreamResourceManager resourceManager, WalkManager walkManager, DreamObjectTree objectTree)
public NativeProc(int id, TreeEntry owningType, string name, List<string> argumentNames, Dictionary<string, DreamValue>? defaultArgumentValues, HandlerFn handler, DreamManager dreamManager, DreamRefManager refManager, AtomManager atomManager, IDreamMapManager mapManager, DreamResourceManager resourceManager, WalkManager walkManager, DreamObjectTree objectTree)
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.Maths;
Comment thread OpenDreamClient/Interface/BrowsePopup.cs Fixed
Comment thread OpenDreamClient/Interface/BrowsePopup.cs Fixed
Comment thread OpenDreamClient/Interface/DreamInterfaceManager.cs Fixed
value = new DMFPropertySize(_window.Size);
return true;
case "is-visible":
value = new DMFPropertyBool(_window.Visible && _window.IsOpen);
foreach (var wingetting in properties) {
if (jsonBuilder.Length > 2)
jsonBuilder.Append(", ");
if (properties.Length == 1 && properties[0] == "*") {
Comment thread OpenDreamClient/Interface/DreamInterfaceManager.cs Fixed
Comment thread OpenDreamClient/Interface/DreamInterfaceManager.cs Fixed
Comment thread OpenDreamShared/Dream/ImmutableAppearance.cs Fixed
Comment thread OpenDreamRuntime/Rendering/DMISpriteComponent.cs Fixed
Comment thread OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs Fixed
Comment thread OpenDreamRuntime/Objects/Types/DreamObjectMatrix.cs Fixed
Comment thread OpenDreamRuntime/DreamConnection.cs Fixed
Comment thread OpenDreamClient/Audio/DreamSoundEngine.cs Fixed
Comment thread DMCompiler/Compiler/DMPreprocessor/DMPreprocessorParser.cs Fixed
Comment thread OpenDreamClient/Interface/DreamInterfaceManager.cs Fixed
Comment thread OpenDreamRuntime/Objects/Types/DreamObjectMatrix.cs Fixed
Comment thread OpenDreamShared/Rendering/SharedDMISpriteComponent.cs Fixed
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.Maths;
using System.Numerics;
Comment thread OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs Fixed
Comment thread OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs Fixed
Comment thread OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs Fixed
if(center.TryGetVariable("contents", out var centerContents) && centerContents.TryGetValueAsDreamList(out var centerContentsList)) {
foreach(DreamValue content in centerContentsList.EnumerateValues()) {
rangeList.AddValue(content);
if (content.TryGetValueAsDreamObject<DreamObjectAtom>(out var contentAtom) && contentAtom is not null)
if (contents.TryGetValueAsDreamList(out var locContentsList)) {
foreach (DreamValue content in locContentsList.EnumerateValues()) {
rangeList.AddValue(content);
if (content.TryGetValueAsDreamObject<DreamObjectAtom>(out var contentAtom) && contentAtom is not null)
AddVisibleAtom(turf);
foreach (DreamValue content in turf.Contents.EnumerateValues()) {
rangeList.AddValue(content);
if (content.TryGetValueAsDreamObject<DreamObjectAtom>(out var contentAtom) && contentAtom is not null)
using OpenDreamRuntime.Procs.DebugAdapter;
using OpenDreamRuntime.Resources;
using OpenDreamShared.Dream;
using Robust.Shared.Log;
}

public static DreamValue CaptureGroupToDreamValue(Group group) {
return group.Success && group.Length > 0 ? new DreamValue(group.Value) : DreamValue.Null;

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InspectCode found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants