From 7ad6df2c6eae75743ce3455d033b1bba65e78bfe Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 8 Feb 2020 06:12:04 -0800 Subject: [PATCH] Fixed spelling mistake --- BeefLibs/Beefy2D/src/gfx/Font.bf | 4 ++-- BeefLibs/corlib/src/Diagnostics/ProcessStartInfo.bf | 2 +- BeefLibs/corlib/src/PropertyBag.bf | 2 +- BeefLibs/corlib/src/System.bf | 4 ++-- BeefLibs/corlib/src/TimeZoneInfo.bf | 2 +- BeefTools/BeefPerf/src/ScriptManager.bf | 4 ++-- IDE/src/Clang/ClangCompiler.bf | 2 +- IDE/src/CompositeFile.bf | 2 +- IDE/src/FileWatcher.bf | 2 +- IDE/src/IDEApp.bf | 2 +- IDE/src/Project.bf | 6 +++--- IDE/src/ScriptManager.bf | 4 ++-- IDE/src/Workspace.bf | 8 ++++---- IDE/src/ui/AutoComplete.bf | 2 +- IDE/src/ui/OpenFileInSolutionDialog.bf | 2 +- IDE/src/ui/ProjectProperties.bf | 2 +- IDE/src/ui/SourceViewPanel.bf | 2 +- 17 files changed, 26 insertions(+), 26 deletions(-) diff --git a/BeefLibs/Beefy2D/src/gfx/Font.bf b/BeefLibs/Beefy2D/src/gfx/Font.bf index bc0bbc32..aff6180f 100644 --- a/BeefLibs/Beefy2D/src/gfx/Font.bf +++ b/BeefLibs/Beefy2D/src/gfx/Font.bf @@ -53,7 +53,7 @@ namespace Beefy.gfx [StdCall, CLink] static extern int32 FTFont_GetKerning(FTFont* font, int32 char8CodeA, int32 char8CodeB); - static Dictionary sFontNameMap ~ DeleteDictionyAndKeysAndItems!(_); + static Dictionary sFontNameMap ~ DeleteDictionaryAndKeysAndItems!(_); static Monitor sMonitor = new .() ~ delete _; struct FTFont @@ -200,7 +200,7 @@ namespace Beefy.gfx { using (sMonitor.Enter()) { - DeleteDictionyAndKeysAndItems!(sFontNameMap); + DeleteDictionaryAndKeysAndItems!(sFontNameMap); sFontNameMap = null; } } diff --git a/BeefLibs/corlib/src/Diagnostics/ProcessStartInfo.bf b/BeefLibs/corlib/src/Diagnostics/ProcessStartInfo.bf index 7798b754..9f3237fa 100644 --- a/BeefLibs/corlib/src/Diagnostics/ProcessStartInfo.bf +++ b/BeefLibs/corlib/src/Diagnostics/ProcessStartInfo.bf @@ -19,7 +19,7 @@ namespace System.Diagnostics internal String mDirectory = new String() ~ delete _; internal String mVerb = new String("Open") ~ delete _; - public Dictionary mEnvironmentVariables ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mEnvironmentVariables ~ DeleteDictionaryAndKeysAndItems!(_); public bool UseShellExecute { get { return mUseShellExecute; } set { mUseShellExecute = value; } }; public bool RedirectStandardInput { get { return mRedirectStandardInput; } set { mRedirectStandardInput = value; } }; diff --git a/BeefLibs/corlib/src/PropertyBag.bf b/BeefLibs/corlib/src/PropertyBag.bf index cfbe1bca..2d19dbb6 100644 --- a/BeefLibs/corlib/src/PropertyBag.bf +++ b/BeefLibs/corlib/src/PropertyBag.bf @@ -4,7 +4,7 @@ namespace System { class PropertyBag { - public Dictionary mProperties ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mProperties ~ DeleteDictionaryAndKeysAndItems!(_); public void Add(String key, T value) where T : struct { diff --git a/BeefLibs/corlib/src/System.bf b/BeefLibs/corlib/src/System.bf index cc65d510..66577048 100644 --- a/BeefLibs/corlib/src/System.bf +++ b/BeefLibs/corlib/src/System.bf @@ -166,7 +166,7 @@ static container.Clear(); } - public static mixin DeleteDictionyAndKeys(var container) + public static mixin DeleteDictionaryAndKeys(var container) { if (container != null) { @@ -178,7 +178,7 @@ static } } - public static mixin DeleteDictionyAndKeysAndItems(var container) + public static mixin DeleteDictionaryAndKeysAndItems(var container) { if (container != null) { diff --git a/BeefLibs/corlib/src/TimeZoneInfo.bf b/BeefLibs/corlib/src/TimeZoneInfo.bf index 164b53ba..24208ef1 100644 --- a/BeefLibs/corlib/src/TimeZoneInfo.bf +++ b/BeefLibs/corlib/src/TimeZoneInfo.bf @@ -225,7 +225,7 @@ namespace System { } #if FEATURE_WIN32_REGISTRY - public Dictionary m_systemTimeZones ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary m_systemTimeZones ~ DeleteDictionaryAndKeysAndItems!(_); //public ReadOnlyCollection m_readOnlySystemTimeZones; public bool m_allSystemTimeZonesRead; diff --git a/BeefTools/BeefPerf/src/ScriptManager.bf b/BeefTools/BeefPerf/src/ScriptManager.bf index 552830e4..0aa1e203 100644 --- a/BeefTools/BeefPerf/src/ScriptManager.bf +++ b/BeefTools/BeefPerf/src/ScriptManager.bf @@ -26,8 +26,8 @@ namespace BeefPerf public Object mTargetObject; } - public Dictionary mTargets = new .() ~ DeleteDictionyAndKeysAndItems!(_); - public Dictionary mCmds = new .() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mTargets = new .() ~ DeleteDictionaryAndKeysAndItems!(_); + public Dictionary mCmds = new .() ~ DeleteDictionaryAndKeysAndItems!(_); } public class QueuedCmd diff --git a/IDE/src/Clang/ClangCompiler.bf b/IDE/src/Clang/ClangCompiler.bf index a4fa44c1..d16a8bbd 100644 --- a/IDE/src/Clang/ClangCompiler.bf +++ b/IDE/src/Clang/ClangCompiler.bf @@ -93,7 +93,7 @@ namespace IDE.Clang public Dictionary mProjectFileSet = new Dictionary() ~ delete _; public Dictionary mProjectBuildString = new Dictionary() ~ { for (var val in _.Values) delete val; delete _; }; // Don't delete 'Project', only the String - public Dictionary mHeaderToSourceMap = new Dictionary() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mHeaderToSourceMap = new Dictionary() ~ DeleteDictionaryAndKeysAndItems!(_); FileWatcher mFileWatcher = new FileWatcher() ~ delete _; public bool mDoDependencyCheck = true; diff --git a/IDE/src/CompositeFile.bf b/IDE/src/CompositeFile.bf index 2157036e..33101d14 100644 --- a/IDE/src/CompositeFile.bf +++ b/IDE/src/CompositeFile.bf @@ -14,7 +14,7 @@ namespace IDE public Monitor mMonitor = new .() ~ delete _; static String sVersionStr = "///@singleFileVersion "; static String sSectionStr = "///@embed "; - public Dictionary mData = new .() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mData = new .() ~ DeleteDictionaryAndKeysAndItems!(_); public String mFilePath ~ delete _; public bool mPendingSave; public bool mHasChanges; diff --git a/IDE/src/FileWatcher.bf b/IDE/src/FileWatcher.bf index b48bd5fe..df0fbbbd 100644 --- a/IDE/src/FileWatcher.bf +++ b/IDE/src/FileWatcher.bf @@ -52,7 +52,7 @@ namespace IDE // One watcher per directory public static int32 sDbgFileCreateDelay; Dictionary mWatchers = new Dictionary(); - Dictionary mWatchedFiles = new Dictionary() ~ DeleteDictionyAndKeysAndItems!(_); // Including ref count + Dictionary mWatchedFiles = new Dictionary() ~ DeleteDictionaryAndKeysAndItems!(_); // Including ref count List mChangeList = new .() ~ DeleteContainerAndItems!(_); Dictionary mChangeMap = new .() ~ delete _; List mDependencyChangeList = new List() ~ delete _; diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index c7b76799..ff84264f 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -416,7 +416,7 @@ namespace IDE public String mFileName ~ delete _; public String mArgs ~ delete _; public String mWorkingDir ~ delete _; - public Dictionary mEnvVars ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mEnvVars ~ DeleteDictionaryAndKeysAndItems!(_); public ArgsFileKind mUseArgsFile; public int32 mParallelGroup = -1; public bool mIsTargetRun; diff --git a/IDE/src/Project.bf b/IDE/src/Project.bf index 5ab39527..663b310a 100644 --- a/IDE/src/Project.bf +++ b/IDE/src/Project.bf @@ -1205,7 +1205,7 @@ namespace IDE public class Config { - public Dictionary mPlatforms = new Dictionary() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mPlatforms = new Dictionary() ~ DeleteDictionaryAndKeysAndItems!(_); } public class Dependency @@ -1235,7 +1235,7 @@ namespace IDE public int32 mCurResVer; public int32 mLastGeneratedResVer; - public Dictionary mConfigs = new Dictionary() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mConfigs = new Dictionary() ~ DeleteDictionaryAndKeysAndItems!(_); public GeneralOptions mGeneralOptions = new GeneralOptions() ~ delete _; public BeefGlobalOptions mBeefGlobalOptions = new BeefGlobalOptions() ~ delete _; @@ -1834,7 +1834,7 @@ namespace IDE } } - DeleteDictionyAndKeysAndItems!(mConfigs); + DeleteDictionaryAndKeysAndItems!(mConfigs); mConfigs = new Dictionary(); for (var configNameSV in data.Enumerate("Configs")) diff --git a/IDE/src/ScriptManager.bf b/IDE/src/ScriptManager.bf index 9a20d180..7460ec9b 100644 --- a/IDE/src/ScriptManager.bf +++ b/IDE/src/ScriptManager.bf @@ -25,8 +25,8 @@ namespace IDE public Object mTargetObject; } - public Dictionary mTargets = new .() ~ DeleteDictionyAndKeysAndItems!(_); - public Dictionary mCmds = new .() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mTargets = new .() ~ DeleteDictionaryAndKeysAndItems!(_); + public Dictionary mCmds = new .() ~ DeleteDictionaryAndKeysAndItems!(_); } public enum CmdFlags diff --git a/IDE/src/Workspace.bf b/IDE/src/Workspace.bf index e8ab9051..0837fa26 100644 --- a/IDE/src/Workspace.bf +++ b/IDE/src/Workspace.bf @@ -307,11 +307,11 @@ namespace IDE public class Config { - public Dictionary mPlatforms = new Dictionary() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mPlatforms = new Dictionary() ~ DeleteDictionaryAndKeysAndItems!(_); } public BeefGlobalOptions mBeefGlobalOptions = new BeefGlobalOptions() ~ delete _; - public Dictionary mConfigs = new Dictionary() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mConfigs = new Dictionary() ~ DeleteDictionaryAndKeysAndItems!(_); public class ProjectSourceCompileInstance { @@ -368,7 +368,7 @@ namespace IDE public CompositeFile mCompositeFile ~ delete _; public List mProjects = new List() ~ DeleteContainerAndItems!(_); public List mProjectSpecs = new .() ~ DeleteContainerAndItems!(_); - public Dictionary mProjectNameMap = new .() ~ DeleteDictionyAndKeys!(_); + public Dictionary mProjectNameMap = new .() ~ DeleteDictionaryAndKeys!(_); public Project mStartupProject; public bool mNeedsCreate; public bool mHasChanged; @@ -779,7 +779,7 @@ namespace IDE public void Deserialize(StructuredData data) { - DeleteDictionyAndKeysAndItems!(mConfigs); + DeleteDictionaryAndKeysAndItems!(mConfigs); mConfigs = new Dictionary(); using (data.Open("Workspace")) diff --git a/IDE/src/ui/AutoComplete.bf b/IDE/src/ui/AutoComplete.bf index 39697851..bdf99469 100644 --- a/IDE/src/ui/AutoComplete.bf +++ b/IDE/src/ui/AutoComplete.bf @@ -17,7 +17,7 @@ namespace IDE.ui { public String mDocString = new String(256) ~ delete _; public String mBriefString ~ delete _; - public Dictionary mParamInfo ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mParamInfo ~ DeleteDictionaryAndKeysAndItems!(_); public String ShowDocString { diff --git a/IDE/src/ui/OpenFileInSolutionDialog.bf b/IDE/src/ui/OpenFileInSolutionDialog.bf index 09b23432..678a0084 100644 --- a/IDE/src/ui/OpenFileInSolutionDialog.bf +++ b/IDE/src/ui/OpenFileInSolutionDialog.bf @@ -56,7 +56,7 @@ namespace IDE.ui delete _; }; public static int32 sCurrentMRUIndex = 1; - static Dictionary sTimeCache = new .() ~ DeleteDictionyAndKeysAndItems!(_); + static Dictionary sTimeCache = new .() ~ DeleteDictionaryAndKeysAndItems!(_); protected EntryListView mFileList; EditWidget mEditWidget; diff --git a/IDE/src/ui/ProjectProperties.bf b/IDE/src/ui/ProjectProperties.bf index 9c7c248a..8a105710 100644 --- a/IDE/src/ui/ProjectProperties.bf +++ b/IDE/src/ui/ProjectProperties.bf @@ -38,7 +38,7 @@ namespace IDE.ui } public Project mProject; - Dictionary> mDependencyValuesMap ~ DeleteDictionyAndKeysAndItems!(_); + Dictionary> mDependencyValuesMap ~ DeleteDictionaryAndKeysAndItems!(_); Project.Options[] mCurProjectOptions ~ delete _; float mLockFlashPct; public int32 mNewDebugSessionCountdown; diff --git a/IDE/src/ui/SourceViewPanel.bf b/IDE/src/ui/SourceViewPanel.bf index 74be54f3..9c242b88 100644 --- a/IDE/src/ui/SourceViewPanel.bf +++ b/IDE/src/ui/SourceViewPanel.bf @@ -154,7 +154,7 @@ namespace IDE.ui public String mFileName ~ delete _; public String mBackupFileName ~ delete _; // Didn't match hash public String mFoundPath ~ delete _; - public Dictionary mRemapMap = new .() ~ DeleteDictionyAndKeysAndItems!(_); + public Dictionary mRemapMap = new .() ~ DeleteDictionaryAndKeysAndItems!(_); public ~this() {