Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Fixed outdated whitelist. Upped version. Attempt to fix the docgen no…
Browse files Browse the repository at this point in the history
…t being able to extract all actions and properties now (currently failure)
  • Loading branch information
malware-dev committed Apr 30, 2023
1 parent 55c39f2 commit a2fc7a2
Show file tree
Hide file tree
Showing 11 changed files with 495 additions and 69 deletions.
2 changes: 2 additions & 0 deletions Source/DocGen.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=OB/@EntryIndexedValue">OB</s:String></wpf:ResourceDictionary>
2 changes: 1 addition & 1 deletion Source/DocGen2/WhitelistAndTerminalCachesView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Text="{Binding StatusText}" Margin="8" />
<TextBlock TextWrapping="Wrap" Margin="8">
This operation will start the game and use a plugin to extract certain information only available through a running game.
The plugin will shut town the game automatically when its job is complete.
The plugin will shut down the game automatically when its job is complete.
</TextBlock>
</DockPanel>
</UserControl>
153 changes: 135 additions & 18 deletions Source/IngameScriptTemplate/MDK/whitelist.cache
Original file line number Diff line number Diff line change
@@ -1,13 +1,109 @@
System.Collections.*, mscorlib
System.Collections.Generic.*, mscorlib
System.Collections.Generic.*, System.Core
System.Collections.Generic.*, System
System.Collections.Concurrent.*, mscorlib
System.Collections.Concurrent.*, System
System.Linq.*, System.Core
System.Collections.Generic.*, mscorlib
System.Text.*, mscorlib
System.Text.RegularExpressions.*, System
System.Globalization.*, mscorlib
System.Linq.IQueryable+*, System.Core
System.Linq.IQueryable<T>+*, System.Core
System.Linq.IQueryProvider+*, System.Core
System.Linq.IOrderedQueryable+*, System.Core
System.Linq.IOrderedQueryable<T>+*, System.Core
System.Linq.Queryable+*, System.Core
System.Linq.Enumerable+*, System.Core
System.Linq.EmptyEnumerable<TElement>+*, System.Core
System.Linq.IdentityFunction<TElement>+*, System.Core
System.Linq.IOrderedEnumerable<TElement>+*, System.Core
System.Linq.IGrouping<TKey, TElement>+*, System.Core
System.Linq.ILookup<TKey, TElement>+*, System.Core
System.Linq.Lookup<TKey, TElement>+*, System.Core
System.Linq.Set<TElement>+*, System.Core
System.Linq.GroupedEnumerable<TSource, TKey, TElement, TResult>+*, System.Core
System.Linq.GroupedEnumerable<TSource, TKey, TElement>+*, System.Core
System.Linq.OrderedEnumerable<TElement>+*, System.Core
System.Linq.OrderedEnumerable<TElement, TKey>+*, System.Core
System.Linq.EnumerableSorter<TElement>+*, System.Core
System.Linq.EnumerableSorter<TElement, TKey>+*, System.Core
System.Linq.Buffer<TElement>+*, System.Core
System.Linq.SystemCore_EnumerableDebugView<T>+*, System.Core
System.Linq.SystemCore_EnumerableDebugViewEmptyException+*, System.Core
System.Linq.SystemCore_EnumerableDebugView+*, System.Core
System.Linq.IIListProvider<TElement>+*, System.Core
System.Linq.SingleLinkedNode<TSource>+*, System.Core
System.Linq.EnumerableQuery+*, System.Core
System.Linq.EnumerableQuery<T>+*, System.Core
System.Linq.EnumerableExecutor+*, System.Core
System.Linq.EnumerableExecutor<T>+*, System.Core
System.Linq.EnumerableRewriter+*, System.Core
System.Linq.TypeHelper+*, System.Core
System.Linq.Strings+*, System.Core
System.Linq.Error+*, System.Core
System.Linq.AggregationMinMaxHelpers<T>+*, System.Core
System.Linq.SRDescriptionAttribute+*, System.Core
System.Linq.SRCategoryAttribute+*, System.Core
System.Linq.SR+*, System.Core
System.Linq.Enumerable.Iterator<TSource>+*, System.Core
System.Linq.Enumerable.WhereEnumerableIterator<TSource>+*, System.Core
System.Linq.Enumerable.WhereArrayIterator<TSource>+*, System.Core
System.Linq.Enumerable.WhereListIterator<TSource>+*, System.Core
System.Linq.Enumerable.SelectEnumerableIterator<TSource, TResult>+*, System.Core
System.Linq.Enumerable.WhereSelectEnumerableIterator<TSource, TResult>+*, System.Core
System.Linq.Enumerable.WhereSelectArrayIterator<TSource, TResult>+*, System.Core
System.Linq.Enumerable.WhereSelectListIterator<TSource, TResult>+*, System.Core
System.Linq.Enumerable.AppendPrependIterator<TSource>+*, System.Core
System.Linq.Enumerable.AppendPrepend1Iterator<TSource>+*, System.Core
System.Linq.Enumerable.AppendPrependN<TSource>+*, System.Core
System.Linq.Enumerable.<WhereIterator>d__2<TSource>+*, System.Core
System.Linq.Enumerable.<SelectIterator>d__5<TSource, TResult>+*, System.Core
System.Linq.Enumerable.<>c__DisplayClass6_0<TSource>+*, System.Core
System.Linq.Enumerable.<>c__DisplayClass7_0<TSource, TMiddle, TResult>+*, System.Core
System.Linq.Enumerable.<SelectManyIterator>d__17<TSource, TResult>+*, System.Core
System.Linq.Enumerable.<SelectManyIterator>d__19<TSource, TResult>+*, System.Core
System.Linq.Enumerable.<SelectManyIterator>d__21<TSource, TCollection, TResult>+*, System.Core
System.Linq.Enumerable.<SelectManyIterator>d__23<TSource, TCollection, TResult>+*, System.Core
System.Linq.Enumerable.<TakeIterator>d__25<TSource>+*, System.Core
System.Linq.Enumerable.<TakeWhileIterator>d__27<TSource>+*, System.Core
System.Linq.Enumerable.<TakeWhileIterator>d__29<TSource>+*, System.Core
System.Linq.Enumerable.<SkipIterator>d__31<TSource>+*, System.Core
System.Linq.Enumerable.<SkipWhileIterator>d__33<TSource>+*, System.Core
System.Linq.Enumerable.<SkipWhileIterator>d__35<TSource>+*, System.Core
System.Linq.Enumerable.<JoinIterator>d__38<TOuter, TInner, TKey, TResult>+*, System.Core
System.Linq.Enumerable.<GroupJoinIterator>d__41<TOuter, TInner, TKey, TResult>+*, System.Core
System.Linq.Enumerable.<ConcatIterator>d__59<TSource>+*, System.Core
System.Linq.Enumerable.<ZipIterator>d__61<TFirst, TSecond, TResult>+*, System.Core
System.Linq.Enumerable.<DistinctIterator>d__64<TSource>+*, System.Core
System.Linq.Enumerable.<UnionIterator>d__67<TSource>+*, System.Core
System.Linq.Enumerable.<IntersectIterator>d__70<TSource>+*, System.Core
System.Linq.Enumerable.<ExceptIterator>d__73<TSource>+*, System.Core
System.Linq.Enumerable.<ReverseIterator>d__75<TSource>+*, System.Core
System.Linq.Enumerable.<DefaultIfEmptyIterator>d__93<TSource>+*, System.Core
System.Linq.Enumerable.<OfTypeIterator>d__95<TResult>+*, System.Core
System.Linq.Enumerable.<CastIterator>d__97<TResult>+*, System.Core
System.Linq.Enumerable.<RangeIterator>d__113+*, System.Core
System.Linq.Enumerable.<RepeatIterator>d__115<TResult>+*, System.Core
System.Linq.IdentityFunction<TElement>.<>c+*, System.Core
System.Linq.Lookup<TKey, TElement>.Grouping+*, System.Core
System.Linq.Lookup<TKey, TElement>.<GetEnumerator>d__12+*, System.Core
System.Linq.Lookup<TKey, TElement>.<ApplyResultSelector>d__13<TResult>+*, System.Core
System.Linq.Set<TElement>.Slot+*, System.Core
System.Linq.OrderedEnumerable<TElement>.<GetEnumerator>d__1+*, System.Core
System.Linq.EnumerableRewriter.<>c__DisplayClass9_0+*, System.Core
System.Linq.EnumerableRewriter.<>c+*, System.Core
System.Linq.EnumerableRewriter.<>c__DisplayClass10_0+*, System.Core
System.Linq.ParallelEnumerable.<>c__10<TSource>+*, System.Core
System.Linq.ParallelEnumerable.<>c__DisplayClass47_0<TSource, TKey, TResult>+*, System.Core
System.Linq.ParallelEnumerable.<>c__DisplayClass48_0<TSource, TKey, TResult>+*, System.Core
System.Linq.ParallelEnumerable.<>c__DisplayClass49_0<TSource, TKey, TElement, TResult>+*, System.Core
System.Linq.ParallelEnumerable.<>c__DisplayClass50_0<TSource, TKey, TElement, TResult>+*, System.Core
System.Linq.ParallelEnumerable.<>c__51<T>+*, System.Core
System.Linq.ParallelEnumerable.<>c__149<TSource>+*, System.Core
System.Linq.AggregationMinMaxHelpers<T>.<>c__DisplayClass3_0+*, System.Core
System.Linq.AggregationMinMaxHelpers<T>.<>c__DisplayClass4_0+*, System.Core
System.Linq.AggregationMinMaxHelpers<T>.<>c+*, System.Core
System.Linq.ParallelQuery<TSource>.<>c__1<TCastTo>+*, System.Core
System.Linq.ParallelQuery<TSource>.<>c__2<TCastTo>+*, System.Core
System.Linq.Lookup<TKey, TElement>.Grouping.<GetEnumerator>d__7+*, System.Core
object+*, mscorlib
System.IDisposable+*, mscorlib
string+*, mscorlib
Expand Down Expand Up @@ -51,9 +147,6 @@ System.Xml.Serialization.XmlRootAttribute+*, System.Xml
System.Xml.Serialization.XmlTextAttribute+*, System.Xml
System.Xml.Serialization.XmlTypeAttribute+*, System.Xml
System.Runtime.CompilerServices.RuntimeHelpers+*, mscorlib
System.IO.Stream+*, mscorlib
System.IO.TextWriter+*, mscorlib
System.IO.TextReader+*, mscorlib
System.IO.BinaryReader+*, mscorlib
System.IO.BinaryWriter+*, mscorlib
System.NullReferenceException+*, mscorlib
Expand All @@ -80,6 +173,13 @@ System.StringSplitOptions+*, mscorlib
System.DateTimeKind+*, mscorlib
System.MidpointRounding+*, mscorlib
System.EventArgs+*, mscorlib
System.Buffer+*, mscorlib
System.ComponentModel.INotifyPropertyChanging+*, System
System.ComponentModel.PropertyChangingEventHandler+*, System
System.ComponentModel.PropertyChangingEventArgs+*, System
System.ComponentModel.INotifyPropertyChanged+*, System
System.ComponentModel.PropertyChangedEventHandler+*, System
System.ComponentModel.PropertyChangedEventArgs+*, System
System.Reflection.MemberInfo, mscorlib
System.Reflection.MemberInfo.Name, mscorlib
System.Type, mscorlib
Expand Down Expand Up @@ -150,25 +250,32 @@ System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>+*, System.Core
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>+*, System.Core
SpaceEngineers.Game.ModAPI.Ingame.*, SpaceEngineers.Game
SpaceEngineers.Game.ModAPI.Ingame.*, SpaceEngineers.ObjectBuilders
System.Collections.Generic.*, VRage.Library
VRage.Game.ModAPI.Ingame.*, VRage.Game
VRage.Game.ModAPI.Ingame.Utilities.*, VRage.Game
Sandbox.ModAPI.Ingame.*, Sandbox.Common
VRageMath.*, VRage.Math
VRage.Game.GUI.TextPanel.*, VRage.Game
SpaceEngineers.Game.ModAPI.Ingame.IMyTurretControlBlock+*, Sandbox.Common
Sandbox.Game.Gui.TerminalActionExtensions+*, Sandbox.Game
Sandbox.ModAPI.Interfaces.ITerminalAction+*, Sandbox.Common
Sandbox.ModAPI.Interfaces.ITerminalProperty+*, Sandbox.Common
Sandbox.ModAPI.Interfaces.ITerminalProperty<TValue>+*, Sandbox.Common
Sandbox.ModAPI.Interfaces.TerminalPropertyExtensions+*, Sandbox.Common
Sandbox.Game.Localization.MySpaceTexts+*, Sandbox.Game
System.Text.StringBuilderExtensions_Format+*, VRage.Library
VRage.MyFixedPoint+*, VRage.Library
VRage.MyTexts, VRage
VRage.MyTexts.GetString(string), VRage
VRage.MyTexts.GetString(VRage.Utils.MyStringId), VRage
VRage.MyTexts.Exists(VRage.Utils.MyStringId), VRage
VRage.MyTexts.Get(VRage.Utils.MyStringId), VRage
VRage.MyTexts.AppendFormat(System.Text.StringBuilder, VRage.Utils.MyStringId, object), VRage
VRage.MyTexts.Languages, VRage
VRage.MyTexts.LanguageDescription+*, VRage
VRage.MyTuple+*, VRage.Library
VRage.MyTuple<T1>+*, VRage.Library
VRage.MyTuple<T1, T2>+*, VRage.Library
VRage.MyTuple<T1, T2, T3>+*, VRage.Library
VRage.MyTuple<T1, T2, T3, T4>+*, VRage.Library
VRage.MyTuple<T1, T2, T3, T4, T5>+*, VRage.Library
VRage.MyTuple<T1, T2, T3, T4, T5, T6>+*, VRage.Library
VRage.MyTupleComparer<T1, T2>+*, VRage.Library
VRage.MyTupleComparer<T1, T2, T3>+*, VRage.Library
VRage.MyTexts.MyLanguageDescription+*, VRage
VRage.MyLanguagesEnum+*, VRage
VRage.Game.Components.MyComponentContainer, VRage.Game
VRage.Game.Components.MyComponentContainer.TryGet<T>(out T), VRage.Game
Expand All @@ -181,16 +288,22 @@ VRage.Game.MyRelationsBetweenPlayerAndBlock+*, VRage.Game
VRage.Game.MyRelationsBetweenPlayerAndBlockExtensions+*, VRage.Game
VRage.Game.Components.MyResourceSourceComponentBase+*, VRage.Game
VRage.Game.ObjectBuilders.Definitions.MyObjectBuilder_GasProperties+*, VRage.Game
VRage.ObjectBuilders.MyObjectBuilder_Base+*, VRage.Game
VRage.Game.Components.MyComponentBase+*, VRage.Game
VRage.ObjectBuilders.SerializableDefinitionId+*, VRage.Game
VRage.Game.MyCubeSize+*, VRage.Game
VRage.Game.Components.MyComponentBase, VRage.Game
VRage.Game.Components.MyComponentBase.GetAs<T>(), VRage.Game
VRage.Game.Components.MyComponentBase.ContainerBase, VRage.Game
VRage.ObjectBuilders.MyObjectBuilder_Base, VRage.Game
VRage.ObjectBuilders.MyObjectBuilder_Base.TypeId, VRage.Game
VRage.ObjectBuilders.MyObjectBuilder_Base.SubtypeId, VRage.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent.CurrentOutput, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent.MaxOutput, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent.DefinedOutput, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent.ProductionEnabled, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent.RemainingCapacity, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent.HasCapacityRemaining, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSourceComponent.ResourceTypes, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSinkComponent, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSinkComponent.AcceptedResources, Sandbox.Game
Sandbox.Game.EntityComponents.MyResourceSinkComponent.RequiredInput, Sandbox.Game
Expand All @@ -204,4 +317,8 @@ VRage.Game.Components.MyResourceSinkComponentBase.IsPowerAvailable(VRage.Game.My
VRage.Game.Components.MyResourceSinkComponentBase.IsPoweredByType(VRage.Game.MyDefinitionId), VRage.Game
VRage.Game.Components.MyResourceSinkComponentBase.MaxRequiredInputByType(VRage.Game.MyDefinitionId), VRage.Game
VRage.Game.Components.MyResourceSinkComponentBase.RequiredInputByType(VRage.Game.MyDefinitionId), VRage.Game
VRage.Game.Components.MyResourceSinkComponentBase.SuppliedRatioByType(VRage.Game.MyDefinitionId), VRage.Game
VRage.Game.Components.MyResourceSinkComponentBase.SuppliedRatioByType(VRage.Game.MyDefinitionId), VRage.Game
System.ArrayExtensions, VRage.Library
System.ArrayExtensions.Contains<T>(T[], T), VRage.Library
VRage.Game.ModAPI.Ingame.MyPhysicalInventoryItemExtensions_ModAPI+*, Sandbox.Game
System.Collections.Immutable.*, System.Collections.Immutable
2 changes: 1 addition & 1 deletion Source/MDK/MDKPackage.GeneratedInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public partial class MDKPackage
/// <summary>
/// The current package version
/// </summary>
public static readonly Version Version = new Version("1.4.13");
public static readonly Version Version = new Version("1.4.14");

/// <summary>
/// The required IDE version
Expand Down
2 changes: 1 addition & 1 deletion Source/MDK/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="MDK.Morten Aune Lyrstad.e02b602e-3099-44a5-88c6-cb30cab978f6" Version="1.4.13" Language="en-US" Publisher="Morten Aune Lyrstad" />
<Identity Id="MDK.Morten Aune Lyrstad.e02b602e-3099-44a5-88c6-cb30cab978f6" Version="1.4.14" Language="en-US" Publisher="Morten Aune Lyrstad" />
<DisplayName>MDK/SE</DisplayName>
<Description xml:space="preserve">A toolkit to help with ingame script (programmable block) development for Keen Software House's space sandbox Space Engineers.

Expand Down
7 changes: 7 additions & 0 deletions Source/MDKAnalyzer/whitelist.cache
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ System.DateTimeKind+*, mscorlib
System.MidpointRounding+*, mscorlib
System.EventArgs+*, mscorlib
System.Buffer+*, mscorlib
System.ComponentModel.INotifyPropertyChanging+*, System
System.ComponentModel.PropertyChangingEventHandler+*, System
System.ComponentModel.PropertyChangingEventArgs+*, System
System.ComponentModel.INotifyPropertyChanged+*, System
System.ComponentModel.PropertyChangedEventHandler+*, System
System.ComponentModel.PropertyChangedEventArgs+*, System
System.Reflection.MemberInfo, mscorlib
System.Reflection.MemberInfo.Name, mscorlib
System.Type, mscorlib
Expand Down Expand Up @@ -251,6 +257,7 @@ VRage.Game.ModAPI.Ingame.Utilities.*, VRage.Game
Sandbox.ModAPI.Ingame.*, Sandbox.Common
VRageMath.*, VRage.Math
VRage.Game.GUI.TextPanel.*, VRage.Game
SpaceEngineers.Game.ModAPI.Ingame.IMyTurretControlBlock+*, Sandbox.Common
Sandbox.Game.Gui.TerminalActionExtensions+*, Sandbox.Game
Sandbox.ModAPI.Interfaces.ITerminalAction+*, Sandbox.Common
Sandbox.ModAPI.Interfaces.ITerminalProperty+*, Sandbox.Common
Expand Down
Loading

0 comments on commit a2fc7a2

Please sign in to comment.