1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed spelling mistake

This commit is contained in:
Brian Fiete 2020-02-08 06:12:04 -08:00
parent ca668bf0fe
commit 7ad6df2c6e
17 changed files with 26 additions and 26 deletions

View file

@ -53,7 +53,7 @@ namespace Beefy.gfx
[StdCall, CLink] [StdCall, CLink]
static extern int32 FTFont_GetKerning(FTFont* font, int32 char8CodeA, int32 char8CodeB); static extern int32 FTFont_GetKerning(FTFont* font, int32 char8CodeA, int32 char8CodeB);
static Dictionary<String, String> sFontNameMap ~ DeleteDictionyAndKeysAndItems!(_); static Dictionary<String, String> sFontNameMap ~ DeleteDictionaryAndKeysAndItems!(_);
static Monitor sMonitor = new .() ~ delete _; static Monitor sMonitor = new .() ~ delete _;
struct FTFont struct FTFont
@ -200,7 +200,7 @@ namespace Beefy.gfx
{ {
using (sMonitor.Enter()) using (sMonitor.Enter())
{ {
DeleteDictionyAndKeysAndItems!(sFontNameMap); DeleteDictionaryAndKeysAndItems!(sFontNameMap);
sFontNameMap = null; sFontNameMap = null;
} }
} }

View file

@ -19,7 +19,7 @@ namespace System.Diagnostics
internal String mDirectory = new String() ~ delete _; internal String mDirectory = new String() ~ delete _;
internal String mVerb = new String("Open") ~ delete _; internal String mVerb = new String("Open") ~ delete _;
public Dictionary<String, String> mEnvironmentVariables ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, String> mEnvironmentVariables ~ DeleteDictionaryAndKeysAndItems!(_);
public bool UseShellExecute { get { return mUseShellExecute; } set { mUseShellExecute = value; } }; public bool UseShellExecute { get { return mUseShellExecute; } set { mUseShellExecute = value; } };
public bool RedirectStandardInput { get { return mRedirectStandardInput; } set { mRedirectStandardInput = value; } }; public bool RedirectStandardInput { get { return mRedirectStandardInput; } set { mRedirectStandardInput = value; } };

View file

@ -4,7 +4,7 @@ namespace System
{ {
class PropertyBag class PropertyBag
{ {
public Dictionary<String, Object> mProperties ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Object> mProperties ~ DeleteDictionaryAndKeysAndItems!(_);
public void Add<T>(String key, T value) where T : struct public void Add<T>(String key, T value) where T : struct
{ {

View file

@ -166,7 +166,7 @@ static
container.Clear(); container.Clear();
} }
public static mixin DeleteDictionyAndKeys(var container) public static mixin DeleteDictionaryAndKeys(var container)
{ {
if (container != null) if (container != null)
{ {
@ -178,7 +178,7 @@ static
} }
} }
public static mixin DeleteDictionyAndKeysAndItems(var container) public static mixin DeleteDictionaryAndKeysAndItems(var container)
{ {
if (container != null) if (container != null)
{ {

View file

@ -225,7 +225,7 @@ namespace System {
} }
#if FEATURE_WIN32_REGISTRY #if FEATURE_WIN32_REGISTRY
public Dictionary<String, TimeZoneInfo> m_systemTimeZones ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, TimeZoneInfo> m_systemTimeZones ~ DeleteDictionaryAndKeysAndItems!(_);
//public ReadOnlyCollection<TimeZoneInfo> m_readOnlySystemTimeZones; //public ReadOnlyCollection<TimeZoneInfo> m_readOnlySystemTimeZones;
public bool m_allSystemTimeZonesRead; public bool m_allSystemTimeZonesRead;

View file

@ -26,8 +26,8 @@ namespace BeefPerf
public Object mTargetObject; public Object mTargetObject;
} }
public Dictionary<String, Target> mTargets = new .() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Target> mTargets = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
public Dictionary<String, Cmd> mCmds = new .() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Cmd> mCmds = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
} }
public class QueuedCmd public class QueuedCmd

View file

@ -93,7 +93,7 @@ namespace IDE.Clang
public Dictionary<ProjectSource, FileEntry> mProjectFileSet = new Dictionary<ProjectSource, FileEntry>() ~ delete _; public Dictionary<ProjectSource, FileEntry> mProjectFileSet = new Dictionary<ProjectSource, FileEntry>() ~ delete _;
public Dictionary<Project, String> mProjectBuildString = new Dictionary<Project, String>() ~ { for (var val in _.Values) delete val; delete _; }; // Don't delete 'Project', only the String public Dictionary<Project, String> mProjectBuildString = new Dictionary<Project, String>() ~ { for (var val in _.Values) delete val; delete _; }; // Don't delete 'Project', only the String
public Dictionary<String, String> mHeaderToSourceMap = new Dictionary<String, String>() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, String> mHeaderToSourceMap = new Dictionary<String, String>() ~ DeleteDictionaryAndKeysAndItems!(_);
FileWatcher mFileWatcher = new FileWatcher() ~ delete _; FileWatcher mFileWatcher = new FileWatcher() ~ delete _;
public bool mDoDependencyCheck = true; public bool mDoDependencyCheck = true;

View file

@ -14,7 +14,7 @@ namespace IDE
public Monitor mMonitor = new .() ~ delete _; public Monitor mMonitor = new .() ~ delete _;
static String sVersionStr = "///@singleFileVersion "; static String sVersionStr = "///@singleFileVersion ";
static String sSectionStr = "///@embed "; static String sSectionStr = "///@embed ";
public Dictionary<String, String> mData = new .() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, String> mData = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
public String mFilePath ~ delete _; public String mFilePath ~ delete _;
public bool mPendingSave; public bool mPendingSave;
public bool mHasChanges; public bool mHasChanges;

View file

@ -52,7 +52,7 @@ namespace IDE
// One watcher per directory // One watcher per directory
public static int32 sDbgFileCreateDelay; public static int32 sDbgFileCreateDelay;
Dictionary<String, WatcherEntry> mWatchers = new Dictionary<String, WatcherEntry>(); Dictionary<String, WatcherEntry> mWatchers = new Dictionary<String, WatcherEntry>();
Dictionary<String, DepInfo> mWatchedFiles = new Dictionary<String, DepInfo>() ~ DeleteDictionyAndKeysAndItems!(_); // Including ref count Dictionary<String, DepInfo> mWatchedFiles = new Dictionary<String, DepInfo>() ~ DeleteDictionaryAndKeysAndItems!(_); // Including ref count
List<ChangeRecord> mChangeList = new .() ~ DeleteContainerAndItems!(_); List<ChangeRecord> mChangeList = new .() ~ DeleteContainerAndItems!(_);
Dictionary<String, ChangeRecord> mChangeMap = new .() ~ delete _; Dictionary<String, ChangeRecord> mChangeMap = new .() ~ delete _;
List<Object> mDependencyChangeList = new List<Object>() ~ delete _; List<Object> mDependencyChangeList = new List<Object>() ~ delete _;

View file

@ -416,7 +416,7 @@ namespace IDE
public String mFileName ~ delete _; public String mFileName ~ delete _;
public String mArgs ~ delete _; public String mArgs ~ delete _;
public String mWorkingDir ~ delete _; public String mWorkingDir ~ delete _;
public Dictionary<String, String> mEnvVars ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, String> mEnvVars ~ DeleteDictionaryAndKeysAndItems!(_);
public ArgsFileKind mUseArgsFile; public ArgsFileKind mUseArgsFile;
public int32 mParallelGroup = -1; public int32 mParallelGroup = -1;
public bool mIsTargetRun; public bool mIsTargetRun;

View file

@ -1205,7 +1205,7 @@ namespace IDE
public class Config public class Config
{ {
public Dictionary<String, Options> mPlatforms = new Dictionary<String, Options>() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Options> mPlatforms = new Dictionary<String, Options>() ~ DeleteDictionaryAndKeysAndItems!(_);
} }
public class Dependency public class Dependency
@ -1235,7 +1235,7 @@ namespace IDE
public int32 mCurResVer; public int32 mCurResVer;
public int32 mLastGeneratedResVer; public int32 mLastGeneratedResVer;
public Dictionary<String, Config> mConfigs = new Dictionary<String, Config>() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Config> mConfigs = new Dictionary<String, Config>() ~ DeleteDictionaryAndKeysAndItems!(_);
public GeneralOptions mGeneralOptions = new GeneralOptions() ~ delete _; public GeneralOptions mGeneralOptions = new GeneralOptions() ~ delete _;
public BeefGlobalOptions mBeefGlobalOptions = new BeefGlobalOptions() ~ delete _; public BeefGlobalOptions mBeefGlobalOptions = new BeefGlobalOptions() ~ delete _;
@ -1834,7 +1834,7 @@ namespace IDE
} }
} }
DeleteDictionyAndKeysAndItems!(mConfigs); DeleteDictionaryAndKeysAndItems!(mConfigs);
mConfigs = new Dictionary<String, Config>(); mConfigs = new Dictionary<String, Config>();
for (var configNameSV in data.Enumerate("Configs")) for (var configNameSV in data.Enumerate("Configs"))

View file

@ -25,8 +25,8 @@ namespace IDE
public Object mTargetObject; public Object mTargetObject;
} }
public Dictionary<String, Target> mTargets = new .() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Target> mTargets = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
public Dictionary<String, Cmd> mCmds = new .() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Cmd> mCmds = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
} }
public enum CmdFlags public enum CmdFlags

View file

@ -307,11 +307,11 @@ namespace IDE
public class Config public class Config
{ {
public Dictionary<String, Options> mPlatforms = new Dictionary<String, Options>() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Options> mPlatforms = new Dictionary<String, Options>() ~ DeleteDictionaryAndKeysAndItems!(_);
} }
public BeefGlobalOptions mBeefGlobalOptions = new BeefGlobalOptions() ~ delete _; public BeefGlobalOptions mBeefGlobalOptions = new BeefGlobalOptions() ~ delete _;
public Dictionary<String, Config> mConfigs = new Dictionary<String, Config>() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, Config> mConfigs = new Dictionary<String, Config>() ~ DeleteDictionaryAndKeysAndItems!(_);
public class ProjectSourceCompileInstance public class ProjectSourceCompileInstance
{ {
@ -368,7 +368,7 @@ namespace IDE
public CompositeFile mCompositeFile ~ delete _; public CompositeFile mCompositeFile ~ delete _;
public List<Project> mProjects = new List<Project>() ~ DeleteContainerAndItems!(_); public List<Project> mProjects = new List<Project>() ~ DeleteContainerAndItems!(_);
public List<ProjectSpec> mProjectSpecs = new .() ~ DeleteContainerAndItems!(_); public List<ProjectSpec> mProjectSpecs = new .() ~ DeleteContainerAndItems!(_);
public Dictionary<String, Project> mProjectNameMap = new .() ~ DeleteDictionyAndKeys!(_); public Dictionary<String, Project> mProjectNameMap = new .() ~ DeleteDictionaryAndKeys!(_);
public Project mStartupProject; public Project mStartupProject;
public bool mNeedsCreate; public bool mNeedsCreate;
public bool mHasChanged; public bool mHasChanged;
@ -779,7 +779,7 @@ namespace IDE
public void Deserialize(StructuredData data) public void Deserialize(StructuredData data)
{ {
DeleteDictionyAndKeysAndItems!(mConfigs); DeleteDictionaryAndKeysAndItems!(mConfigs);
mConfigs = new Dictionary<String, Config>(); mConfigs = new Dictionary<String, Config>();
using (data.Open("Workspace")) using (data.Open("Workspace"))

View file

@ -17,7 +17,7 @@ namespace IDE.ui
{ {
public String mDocString = new String(256) ~ delete _; public String mDocString = new String(256) ~ delete _;
public String mBriefString ~ delete _; public String mBriefString ~ delete _;
public Dictionary<String, String> mParamInfo ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, String> mParamInfo ~ DeleteDictionaryAndKeysAndItems!(_);
public String ShowDocString public String ShowDocString
{ {

View file

@ -56,7 +56,7 @@ namespace IDE.ui
delete _; delete _;
}; };
public static int32 sCurrentMRUIndex = 1; public static int32 sCurrentMRUIndex = 1;
static Dictionary<String, TimeEntry> sTimeCache = new .() ~ DeleteDictionyAndKeysAndItems!(_); static Dictionary<String, TimeEntry> sTimeCache = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
protected EntryListView mFileList; protected EntryListView mFileList;
EditWidget mEditWidget; EditWidget mEditWidget;

View file

@ -38,7 +38,7 @@ namespace IDE.ui
} }
public Project mProject; public Project mProject;
Dictionary<String, ValueContainer<bool>> mDependencyValuesMap ~ DeleteDictionyAndKeysAndItems!(_); Dictionary<String, ValueContainer<bool>> mDependencyValuesMap ~ DeleteDictionaryAndKeysAndItems!(_);
Project.Options[] mCurProjectOptions ~ delete _; Project.Options[] mCurProjectOptions ~ delete _;
float mLockFlashPct; float mLockFlashPct;
public int32 mNewDebugSessionCountdown; public int32 mNewDebugSessionCountdown;

View file

@ -154,7 +154,7 @@ namespace IDE.ui
public String mFileName ~ delete _; public String mFileName ~ delete _;
public String mBackupFileName ~ delete _; // Didn't match hash public String mBackupFileName ~ delete _; // Didn't match hash
public String mFoundPath ~ delete _; public String mFoundPath ~ delete _;
public Dictionary<String, String> mRemapMap = new .() ~ DeleteDictionyAndKeysAndItems!(_); public Dictionary<String, String> mRemapMap = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
public ~this() public ~this()
{ {