diff --git a/.gitignore b/.gitignore index 4b82ccd9..725330cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -.vs/ -bin/ -obj/ +.idea +.vs +bin +obj \ No newline at end of file diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs deleted file mode 100644 index e6d9a41d..00000000 --- a/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System.Reflection; -using System.Resources; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Windows; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Source Git")] -[assembly: AssemblyDescription("OpenSource GIT client for Windows")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Leo")] -[assembly: AssemblyProduct("Source Git")] -[assembly: AssemblyCopyright("Copyright © longshuang@msn.cn 2020")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -//In order to begin building localizable applications, set -//CultureYouAreCodingWith in your .csproj file -//inside a . For example, if you are using US english -//in your source files, set the to en-US. Then uncomment -//the NeutralResourceLanguage attribute below. Update the "en-US" in -//the line below to match the UICulture setting in the project file. - -//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] - - -[assembly: ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) -)] - -#pragma warning disable CS7035 - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs deleted file mode 100644 index 9b5d30b8..00000000 --- a/Properties/Resources.Designer.cs +++ /dev/null @@ -1,62 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace SourceGit.Properties { - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if ((resourceMan == null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SourceGit.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/Properties/Resources.resx b/Properties/Resources.resx deleted file mode 100644 index af7dbebb..00000000 --- a/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs deleted file mode 100644 index 86e4a784..00000000 --- a/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace SourceGit.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/Properties/Settings.settings b/Properties/Settings.settings deleted file mode 100644 index 033d7a5e..00000000 --- a/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/SourceGit.csproj b/SourceGit.csproj deleted file mode 100644 index ea95909c..00000000 --- a/SourceGit.csproj +++ /dev/null @@ -1,493 +0,0 @@ - - - - - Debug - AnyCPU - {6B38FAF0-57D6-44E6-9B21-9BEAC481EF9E} - WinExe - SourceGit - SourceGit - v4.6 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - On - - - SourceGit.App - - - App.ico - - - - Always - - - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - - - - - - - - - - - - - - - Apply.xaml - - - Blame.xaml - - - CherryPick.xaml - - - Clone.xaml - - - CommitViewer.xaml - - - CreateBranch.xaml - - - CreateTag.xaml - - - Dashboard.xaml - - - DeleteBranch.xaml - - - DeleteRemote.xaml - - - DeleteTag.xaml - - - DiffViewer.xaml - - - Discard.xaml - - - Fetch.xaml - - - FileHistories.xaml - - - GitFlowFinishBranch.xaml - - - GitFlowSetup.xaml - - - GitFlowStartBranch.xaml - - - Histories.xaml - - - Init.xaml - - - InteractiveRebase.xaml - - - Manager.xaml - - - Merge.xaml - - - PopupManager.xaml - - - Preference.xaml - - - Pull.xaml - - - Push.xaml - - - PushTag.xaml - - - Rebase.xaml - - - Remote.xaml - - - RenameBranch.xaml - - - Reset.xaml - - - Revert.xaml - - - Stash.xaml - - - Stashes.xaml - - - WorkingCopy.xaml - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - - - - - - - - - - - About.xaml - - - Launcher.xaml - Code - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SourceGit.sln b/SourceGit.sln index 6ab4db41..50aba2bc 100644 --- a/SourceGit.sln +++ b/SourceGit.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30011.22 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourceGit", "SourceGit.csproj", "{6B38FAF0-57D6-44E6-9B21-9BEAC481EF9E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourceGit", "SourceGit\SourceGit.csproj", "{0A04DD59-7A6C-410C-B427-7DC8183993BD}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,10 +11,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6B38FAF0-57D6-44E6-9B21-9BEAC481EF9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6B38FAF0-57D6-44E6-9B21-9BEAC481EF9E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6B38FAF0-57D6-44E6-9B21-9BEAC481EF9E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6B38FAF0-57D6-44E6-9B21-9BEAC481EF9E}.Release|Any CPU.Build.0 = Release|Any CPU + {0A04DD59-7A6C-410C-B427-7DC8183993BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0A04DD59-7A6C-410C-B427-7DC8183993BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0A04DD59-7A6C-410C-B427-7DC8183993BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0A04DD59-7A6C-410C-B427-7DC8183993BD}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/App.config b/SourceGit/App.config similarity index 100% rename from App.config rename to SourceGit/App.config diff --git a/App.ico b/SourceGit/App.ico similarity index 100% rename from App.ico rename to SourceGit/App.ico diff --git a/App.xaml b/SourceGit/App.xaml similarity index 100% rename from App.xaml rename to SourceGit/App.xaml diff --git a/App.xaml.cs b/SourceGit/App.xaml.cs similarity index 100% rename from App.xaml.cs rename to SourceGit/App.xaml.cs diff --git a/Converters/BoolToCollapsed.cs b/SourceGit/Converters/BoolToCollapsed.cs similarity index 100% rename from Converters/BoolToCollapsed.cs rename to SourceGit/Converters/BoolToCollapsed.cs diff --git a/Converters/FileStatusToColor.cs b/SourceGit/Converters/FileStatusToColor.cs similarity index 100% rename from Converters/FileStatusToColor.cs rename to SourceGit/Converters/FileStatusToColor.cs diff --git a/Converters/FileStatusToIcon.cs b/SourceGit/Converters/FileStatusToIcon.cs similarity index 100% rename from Converters/FileStatusToIcon.cs rename to SourceGit/Converters/FileStatusToIcon.cs diff --git a/Converters/IndentToMargin.cs b/SourceGit/Converters/IndentToMargin.cs similarity index 100% rename from Converters/IndentToMargin.cs rename to SourceGit/Converters/IndentToMargin.cs diff --git a/Converters/InverseBool.cs b/SourceGit/Converters/InverseBool.cs similarity index 100% rename from Converters/InverseBool.cs rename to SourceGit/Converters/InverseBool.cs diff --git a/Converters/InverseBoolToCollapsed.cs b/SourceGit/Converters/InverseBoolToCollapsed.cs similarity index 100% rename from Converters/InverseBoolToCollapsed.cs rename to SourceGit/Converters/InverseBoolToCollapsed.cs diff --git a/Converters/PercentToDouble.cs b/SourceGit/Converters/PercentToDouble.cs similarity index 100% rename from Converters/PercentToDouble.cs rename to SourceGit/Converters/PercentToDouble.cs diff --git a/Converters/TreeViewItemDepthToMargin.cs b/SourceGit/Converters/TreeViewItemDepthToMargin.cs similarity index 100% rename from Converters/TreeViewItemDepthToMargin.cs rename to SourceGit/Converters/TreeViewItemDepthToMargin.cs diff --git a/Git/Blame.cs b/SourceGit/Git/Blame.cs similarity index 100% rename from Git/Blame.cs rename to SourceGit/Git/Blame.cs diff --git a/Git/Branch.cs b/SourceGit/Git/Branch.cs similarity index 100% rename from Git/Branch.cs rename to SourceGit/Git/Branch.cs diff --git a/Git/Change.cs b/SourceGit/Git/Change.cs similarity index 100% rename from Git/Change.cs rename to SourceGit/Git/Change.cs diff --git a/Git/Commit.cs b/SourceGit/Git/Commit.cs similarity index 100% rename from Git/Commit.cs rename to SourceGit/Git/Commit.cs diff --git a/Git/Decorator.cs b/SourceGit/Git/Decorator.cs similarity index 100% rename from Git/Decorator.cs rename to SourceGit/Git/Decorator.cs diff --git a/Git/MergeTool.cs b/SourceGit/Git/MergeTool.cs similarity index 100% rename from Git/MergeTool.cs rename to SourceGit/Git/MergeTool.cs diff --git a/Git/Preference.cs b/SourceGit/Git/Preference.cs similarity index 100% rename from Git/Preference.cs rename to SourceGit/Git/Preference.cs diff --git a/Git/Remote.cs b/SourceGit/Git/Remote.cs similarity index 100% rename from Git/Remote.cs rename to SourceGit/Git/Remote.cs diff --git a/Git/Repository.cs b/SourceGit/Git/Repository.cs similarity index 100% rename from Git/Repository.cs rename to SourceGit/Git/Repository.cs diff --git a/Git/Stash.cs b/SourceGit/Git/Stash.cs similarity index 100% rename from Git/Stash.cs rename to SourceGit/Git/Stash.cs diff --git a/Git/Tag.cs b/SourceGit/Git/Tag.cs similarity index 100% rename from Git/Tag.cs rename to SourceGit/Git/Tag.cs diff --git a/Git/User.cs b/SourceGit/Git/User.cs similarity index 100% rename from Git/User.cs rename to SourceGit/Git/User.cs diff --git a/Helpers/CommitGraph.cs b/SourceGit/Helpers/CommitGraph.cs similarity index 100% rename from Helpers/CommitGraph.cs rename to SourceGit/Helpers/CommitGraph.cs diff --git a/Helpers/TextBoxHelper.cs b/SourceGit/Helpers/TextBoxHelper.cs similarity index 100% rename from Helpers/TextBoxHelper.cs rename to SourceGit/Helpers/TextBoxHelper.cs diff --git a/Helpers/TreeViewHelper.cs b/SourceGit/Helpers/TreeViewHelper.cs similarity index 100% rename from Helpers/TreeViewHelper.cs rename to SourceGit/Helpers/TreeViewHelper.cs diff --git a/Helpers/Validations.cs b/SourceGit/Helpers/Validations.cs similarity index 100% rename from Helpers/Validations.cs rename to SourceGit/Helpers/Validations.cs diff --git a/SourceGit/Properties/AssemblyInfo.cs b/SourceGit/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..c0ea722f --- /dev/null +++ b/SourceGit/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Windows; + +[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] \ No newline at end of file diff --git a/Resources/Controls.xaml b/SourceGit/Resources/Controls.xaml similarity index 100% rename from Resources/Controls.xaml rename to SourceGit/Resources/Controls.xaml diff --git a/Resources/Icons.xaml b/SourceGit/Resources/Icons.xaml similarity index 100% rename from Resources/Icons.xaml rename to SourceGit/Resources/Icons.xaml diff --git a/Resources/Styles/Border.xaml b/SourceGit/Resources/Styles/Border.xaml similarity index 100% rename from Resources/Styles/Border.xaml rename to SourceGit/Resources/Styles/Border.xaml diff --git a/Resources/Styles/Button.xaml b/SourceGit/Resources/Styles/Button.xaml similarity index 100% rename from Resources/Styles/Button.xaml rename to SourceGit/Resources/Styles/Button.xaml diff --git a/Resources/Styles/CheckBox.xaml b/SourceGit/Resources/Styles/CheckBox.xaml similarity index 100% rename from Resources/Styles/CheckBox.xaml rename to SourceGit/Resources/Styles/CheckBox.xaml diff --git a/Resources/Styles/ComboBox.xaml b/SourceGit/Resources/Styles/ComboBox.xaml similarity index 100% rename from Resources/Styles/ComboBox.xaml rename to SourceGit/Resources/Styles/ComboBox.xaml diff --git a/Resources/Styles/ContextMenu.xaml b/SourceGit/Resources/Styles/ContextMenu.xaml similarity index 100% rename from Resources/Styles/ContextMenu.xaml rename to SourceGit/Resources/Styles/ContextMenu.xaml diff --git a/Resources/Styles/DataGrid.xaml b/SourceGit/Resources/Styles/DataGrid.xaml similarity index 100% rename from Resources/Styles/DataGrid.xaml rename to SourceGit/Resources/Styles/DataGrid.xaml diff --git a/Resources/Styles/HyperLink.xaml b/SourceGit/Resources/Styles/HyperLink.xaml similarity index 100% rename from Resources/Styles/HyperLink.xaml rename to SourceGit/Resources/Styles/HyperLink.xaml diff --git a/Resources/Styles/Label.xaml b/SourceGit/Resources/Styles/Label.xaml similarity index 100% rename from Resources/Styles/Label.xaml rename to SourceGit/Resources/Styles/Label.xaml diff --git a/Resources/Styles/ListView.xaml b/SourceGit/Resources/Styles/ListView.xaml similarity index 100% rename from Resources/Styles/ListView.xaml rename to SourceGit/Resources/Styles/ListView.xaml diff --git a/Resources/Styles/Path.xaml b/SourceGit/Resources/Styles/Path.xaml similarity index 100% rename from Resources/Styles/Path.xaml rename to SourceGit/Resources/Styles/Path.xaml diff --git a/Resources/Styles/RadioButton.xaml b/SourceGit/Resources/Styles/RadioButton.xaml similarity index 100% rename from Resources/Styles/RadioButton.xaml rename to SourceGit/Resources/Styles/RadioButton.xaml diff --git a/Resources/Styles/ScrollBar.xaml b/SourceGit/Resources/Styles/ScrollBar.xaml similarity index 100% rename from Resources/Styles/ScrollBar.xaml rename to SourceGit/Resources/Styles/ScrollBar.xaml diff --git a/Resources/Styles/ScrollViewer.xaml b/SourceGit/Resources/Styles/ScrollViewer.xaml similarity index 100% rename from Resources/Styles/ScrollViewer.xaml rename to SourceGit/Resources/Styles/ScrollViewer.xaml diff --git a/Resources/Styles/TabControl.xaml b/SourceGit/Resources/Styles/TabControl.xaml similarity index 100% rename from Resources/Styles/TabControl.xaml rename to SourceGit/Resources/Styles/TabControl.xaml diff --git a/Resources/Styles/TextBox.xaml b/SourceGit/Resources/Styles/TextBox.xaml similarity index 100% rename from Resources/Styles/TextBox.xaml rename to SourceGit/Resources/Styles/TextBox.xaml diff --git a/Resources/Styles/ToggleButton.xaml b/SourceGit/Resources/Styles/ToggleButton.xaml similarity index 100% rename from Resources/Styles/ToggleButton.xaml rename to SourceGit/Resources/Styles/ToggleButton.xaml diff --git a/Resources/Styles/Tooltip.xaml b/SourceGit/Resources/Styles/Tooltip.xaml similarity index 100% rename from Resources/Styles/Tooltip.xaml rename to SourceGit/Resources/Styles/Tooltip.xaml diff --git a/Resources/Styles/TreeView.xaml b/SourceGit/Resources/Styles/TreeView.xaml similarity index 100% rename from Resources/Styles/TreeView.xaml rename to SourceGit/Resources/Styles/TreeView.xaml diff --git a/Resources/Themes/Dark.xaml b/SourceGit/Resources/Themes/Dark.xaml similarity index 100% rename from Resources/Themes/Dark.xaml rename to SourceGit/Resources/Themes/Dark.xaml diff --git a/Resources/Themes/Light.xaml b/SourceGit/Resources/Themes/Light.xaml similarity index 100% rename from Resources/Themes/Light.xaml rename to SourceGit/Resources/Themes/Light.xaml diff --git a/SourceGit/SourceGit.csproj b/SourceGit/SourceGit.csproj new file mode 100644 index 00000000..35ac30eb --- /dev/null +++ b/SourceGit/SourceGit.csproj @@ -0,0 +1,16 @@ + + + net461 + latest + WinExe + true + true + App.ico + Leo + OpenSource GIT client for Windows + Copyright © sourcegit 2020. All rights reserved. + + + + + \ No newline at end of file diff --git a/UI/About.xaml b/SourceGit/UI/About.xaml similarity index 96% rename from UI/About.xaml rename to SourceGit/UI/About.xaml index 35c8e273..3b7b773e 100644 --- a/UI/About.xaml +++ b/SourceGit/UI/About.xaml @@ -10,7 +10,7 @@ - + diff --git a/UI/About.xaml.cs b/SourceGit/UI/About.xaml.cs similarity index 100% rename from UI/About.xaml.cs rename to SourceGit/UI/About.xaml.cs diff --git a/UI/Apply.xaml b/SourceGit/UI/Apply.xaml similarity index 100% rename from UI/Apply.xaml rename to SourceGit/UI/Apply.xaml diff --git a/UI/Apply.xaml.cs b/SourceGit/UI/Apply.xaml.cs similarity index 100% rename from UI/Apply.xaml.cs rename to SourceGit/UI/Apply.xaml.cs diff --git a/UI/Blame.xaml b/SourceGit/UI/Blame.xaml similarity index 100% rename from UI/Blame.xaml rename to SourceGit/UI/Blame.xaml diff --git a/UI/Blame.xaml.cs b/SourceGit/UI/Blame.xaml.cs similarity index 100% rename from UI/Blame.xaml.cs rename to SourceGit/UI/Blame.xaml.cs diff --git a/UI/CherryPick.xaml b/SourceGit/UI/CherryPick.xaml similarity index 100% rename from UI/CherryPick.xaml rename to SourceGit/UI/CherryPick.xaml diff --git a/UI/CherryPick.xaml.cs b/SourceGit/UI/CherryPick.xaml.cs similarity index 100% rename from UI/CherryPick.xaml.cs rename to SourceGit/UI/CherryPick.xaml.cs diff --git a/UI/Clone.xaml b/SourceGit/UI/Clone.xaml similarity index 100% rename from UI/Clone.xaml rename to SourceGit/UI/Clone.xaml diff --git a/UI/Clone.xaml.cs b/SourceGit/UI/Clone.xaml.cs similarity index 100% rename from UI/Clone.xaml.cs rename to SourceGit/UI/Clone.xaml.cs diff --git a/UI/CommitViewer.xaml b/SourceGit/UI/CommitViewer.xaml similarity index 100% rename from UI/CommitViewer.xaml rename to SourceGit/UI/CommitViewer.xaml diff --git a/UI/CommitViewer.xaml.cs b/SourceGit/UI/CommitViewer.xaml.cs similarity index 100% rename from UI/CommitViewer.xaml.cs rename to SourceGit/UI/CommitViewer.xaml.cs diff --git a/UI/CreateBranch.xaml b/SourceGit/UI/CreateBranch.xaml similarity index 100% rename from UI/CreateBranch.xaml rename to SourceGit/UI/CreateBranch.xaml diff --git a/UI/CreateBranch.xaml.cs b/SourceGit/UI/CreateBranch.xaml.cs similarity index 100% rename from UI/CreateBranch.xaml.cs rename to SourceGit/UI/CreateBranch.xaml.cs diff --git a/UI/CreateTag.xaml b/SourceGit/UI/CreateTag.xaml similarity index 100% rename from UI/CreateTag.xaml rename to SourceGit/UI/CreateTag.xaml diff --git a/UI/CreateTag.xaml.cs b/SourceGit/UI/CreateTag.xaml.cs similarity index 100% rename from UI/CreateTag.xaml.cs rename to SourceGit/UI/CreateTag.xaml.cs diff --git a/UI/Dashboard.xaml b/SourceGit/UI/Dashboard.xaml similarity index 100% rename from UI/Dashboard.xaml rename to SourceGit/UI/Dashboard.xaml diff --git a/UI/Dashboard.xaml.cs b/SourceGit/UI/Dashboard.xaml.cs similarity index 100% rename from UI/Dashboard.xaml.cs rename to SourceGit/UI/Dashboard.xaml.cs diff --git a/UI/DeleteBranch.xaml b/SourceGit/UI/DeleteBranch.xaml similarity index 100% rename from UI/DeleteBranch.xaml rename to SourceGit/UI/DeleteBranch.xaml diff --git a/UI/DeleteBranch.xaml.cs b/SourceGit/UI/DeleteBranch.xaml.cs similarity index 100% rename from UI/DeleteBranch.xaml.cs rename to SourceGit/UI/DeleteBranch.xaml.cs diff --git a/UI/DeleteRemote.xaml b/SourceGit/UI/DeleteRemote.xaml similarity index 100% rename from UI/DeleteRemote.xaml rename to SourceGit/UI/DeleteRemote.xaml diff --git a/UI/DeleteRemote.xaml.cs b/SourceGit/UI/DeleteRemote.xaml.cs similarity index 100% rename from UI/DeleteRemote.xaml.cs rename to SourceGit/UI/DeleteRemote.xaml.cs diff --git a/UI/DeleteTag.xaml b/SourceGit/UI/DeleteTag.xaml similarity index 100% rename from UI/DeleteTag.xaml rename to SourceGit/UI/DeleteTag.xaml diff --git a/UI/DeleteTag.xaml.cs b/SourceGit/UI/DeleteTag.xaml.cs similarity index 100% rename from UI/DeleteTag.xaml.cs rename to SourceGit/UI/DeleteTag.xaml.cs diff --git a/UI/DiffViewer.xaml b/SourceGit/UI/DiffViewer.xaml similarity index 100% rename from UI/DiffViewer.xaml rename to SourceGit/UI/DiffViewer.xaml diff --git a/UI/DiffViewer.xaml.cs b/SourceGit/UI/DiffViewer.xaml.cs similarity index 100% rename from UI/DiffViewer.xaml.cs rename to SourceGit/UI/DiffViewer.xaml.cs diff --git a/UI/Discard.xaml b/SourceGit/UI/Discard.xaml similarity index 100% rename from UI/Discard.xaml rename to SourceGit/UI/Discard.xaml diff --git a/UI/Discard.xaml.cs b/SourceGit/UI/Discard.xaml.cs similarity index 100% rename from UI/Discard.xaml.cs rename to SourceGit/UI/Discard.xaml.cs diff --git a/UI/Fetch.xaml b/SourceGit/UI/Fetch.xaml similarity index 100% rename from UI/Fetch.xaml rename to SourceGit/UI/Fetch.xaml diff --git a/UI/Fetch.xaml.cs b/SourceGit/UI/Fetch.xaml.cs similarity index 100% rename from UI/Fetch.xaml.cs rename to SourceGit/UI/Fetch.xaml.cs diff --git a/UI/FileHistories.xaml b/SourceGit/UI/FileHistories.xaml similarity index 100% rename from UI/FileHistories.xaml rename to SourceGit/UI/FileHistories.xaml diff --git a/UI/FileHistories.xaml.cs b/SourceGit/UI/FileHistories.xaml.cs similarity index 100% rename from UI/FileHistories.xaml.cs rename to SourceGit/UI/FileHistories.xaml.cs diff --git a/UI/GitFlowFinishBranch.xaml b/SourceGit/UI/GitFlowFinishBranch.xaml similarity index 100% rename from UI/GitFlowFinishBranch.xaml rename to SourceGit/UI/GitFlowFinishBranch.xaml diff --git a/UI/GitFlowFinishBranch.xaml.cs b/SourceGit/UI/GitFlowFinishBranch.xaml.cs similarity index 100% rename from UI/GitFlowFinishBranch.xaml.cs rename to SourceGit/UI/GitFlowFinishBranch.xaml.cs diff --git a/UI/GitFlowSetup.xaml b/SourceGit/UI/GitFlowSetup.xaml similarity index 100% rename from UI/GitFlowSetup.xaml rename to SourceGit/UI/GitFlowSetup.xaml diff --git a/UI/GitFlowSetup.xaml.cs b/SourceGit/UI/GitFlowSetup.xaml.cs similarity index 100% rename from UI/GitFlowSetup.xaml.cs rename to SourceGit/UI/GitFlowSetup.xaml.cs diff --git a/UI/GitFlowStartBranch.xaml b/SourceGit/UI/GitFlowStartBranch.xaml similarity index 100% rename from UI/GitFlowStartBranch.xaml rename to SourceGit/UI/GitFlowStartBranch.xaml diff --git a/UI/GitFlowStartBranch.xaml.cs b/SourceGit/UI/GitFlowStartBranch.xaml.cs similarity index 100% rename from UI/GitFlowStartBranch.xaml.cs rename to SourceGit/UI/GitFlowStartBranch.xaml.cs diff --git a/UI/Histories.xaml b/SourceGit/UI/Histories.xaml similarity index 100% rename from UI/Histories.xaml rename to SourceGit/UI/Histories.xaml diff --git a/UI/Histories.xaml.cs b/SourceGit/UI/Histories.xaml.cs similarity index 100% rename from UI/Histories.xaml.cs rename to SourceGit/UI/Histories.xaml.cs diff --git a/UI/Init.xaml b/SourceGit/UI/Init.xaml similarity index 100% rename from UI/Init.xaml rename to SourceGit/UI/Init.xaml diff --git a/UI/Init.xaml.cs b/SourceGit/UI/Init.xaml.cs similarity index 100% rename from UI/Init.xaml.cs rename to SourceGit/UI/Init.xaml.cs diff --git a/UI/InteractiveRebase.xaml b/SourceGit/UI/InteractiveRebase.xaml similarity index 100% rename from UI/InteractiveRebase.xaml rename to SourceGit/UI/InteractiveRebase.xaml diff --git a/UI/InteractiveRebase.xaml.cs b/SourceGit/UI/InteractiveRebase.xaml.cs similarity index 100% rename from UI/InteractiveRebase.xaml.cs rename to SourceGit/UI/InteractiveRebase.xaml.cs diff --git a/UI/Launcher.xaml b/SourceGit/UI/Launcher.xaml similarity index 100% rename from UI/Launcher.xaml rename to SourceGit/UI/Launcher.xaml diff --git a/UI/Launcher.xaml.cs b/SourceGit/UI/Launcher.xaml.cs similarity index 100% rename from UI/Launcher.xaml.cs rename to SourceGit/UI/Launcher.xaml.cs diff --git a/UI/Manager.xaml b/SourceGit/UI/Manager.xaml similarity index 100% rename from UI/Manager.xaml rename to SourceGit/UI/Manager.xaml diff --git a/UI/Manager.xaml.cs b/SourceGit/UI/Manager.xaml.cs similarity index 100% rename from UI/Manager.xaml.cs rename to SourceGit/UI/Manager.xaml.cs diff --git a/UI/Merge.xaml b/SourceGit/UI/Merge.xaml similarity index 100% rename from UI/Merge.xaml rename to SourceGit/UI/Merge.xaml diff --git a/UI/Merge.xaml.cs b/SourceGit/UI/Merge.xaml.cs similarity index 100% rename from UI/Merge.xaml.cs rename to SourceGit/UI/Merge.xaml.cs diff --git a/UI/PopupManager.xaml b/SourceGit/UI/PopupManager.xaml similarity index 100% rename from UI/PopupManager.xaml rename to SourceGit/UI/PopupManager.xaml diff --git a/UI/PopupManager.xaml.cs b/SourceGit/UI/PopupManager.xaml.cs similarity index 100% rename from UI/PopupManager.xaml.cs rename to SourceGit/UI/PopupManager.xaml.cs diff --git a/UI/Preference.xaml b/SourceGit/UI/Preference.xaml similarity index 100% rename from UI/Preference.xaml rename to SourceGit/UI/Preference.xaml diff --git a/UI/Preference.xaml.cs b/SourceGit/UI/Preference.xaml.cs similarity index 100% rename from UI/Preference.xaml.cs rename to SourceGit/UI/Preference.xaml.cs diff --git a/UI/Pull.xaml b/SourceGit/UI/Pull.xaml similarity index 100% rename from UI/Pull.xaml rename to SourceGit/UI/Pull.xaml diff --git a/UI/Pull.xaml.cs b/SourceGit/UI/Pull.xaml.cs similarity index 100% rename from UI/Pull.xaml.cs rename to SourceGit/UI/Pull.xaml.cs diff --git a/UI/Push.xaml b/SourceGit/UI/Push.xaml similarity index 100% rename from UI/Push.xaml rename to SourceGit/UI/Push.xaml diff --git a/UI/Push.xaml.cs b/SourceGit/UI/Push.xaml.cs similarity index 100% rename from UI/Push.xaml.cs rename to SourceGit/UI/Push.xaml.cs diff --git a/UI/PushTag.xaml b/SourceGit/UI/PushTag.xaml similarity index 100% rename from UI/PushTag.xaml rename to SourceGit/UI/PushTag.xaml diff --git a/UI/PushTag.xaml.cs b/SourceGit/UI/PushTag.xaml.cs similarity index 100% rename from UI/PushTag.xaml.cs rename to SourceGit/UI/PushTag.xaml.cs diff --git a/UI/Rebase.xaml b/SourceGit/UI/Rebase.xaml similarity index 100% rename from UI/Rebase.xaml rename to SourceGit/UI/Rebase.xaml diff --git a/UI/Rebase.xaml.cs b/SourceGit/UI/Rebase.xaml.cs similarity index 100% rename from UI/Rebase.xaml.cs rename to SourceGit/UI/Rebase.xaml.cs diff --git a/UI/Remote.xaml b/SourceGit/UI/Remote.xaml similarity index 100% rename from UI/Remote.xaml rename to SourceGit/UI/Remote.xaml diff --git a/UI/Remote.xaml.cs b/SourceGit/UI/Remote.xaml.cs similarity index 100% rename from UI/Remote.xaml.cs rename to SourceGit/UI/Remote.xaml.cs diff --git a/UI/RenameBranch.xaml b/SourceGit/UI/RenameBranch.xaml similarity index 100% rename from UI/RenameBranch.xaml rename to SourceGit/UI/RenameBranch.xaml diff --git a/UI/RenameBranch.xaml.cs b/SourceGit/UI/RenameBranch.xaml.cs similarity index 100% rename from UI/RenameBranch.xaml.cs rename to SourceGit/UI/RenameBranch.xaml.cs diff --git a/UI/Reset.xaml b/SourceGit/UI/Reset.xaml similarity index 100% rename from UI/Reset.xaml rename to SourceGit/UI/Reset.xaml diff --git a/UI/Reset.xaml.cs b/SourceGit/UI/Reset.xaml.cs similarity index 100% rename from UI/Reset.xaml.cs rename to SourceGit/UI/Reset.xaml.cs diff --git a/UI/Revert.xaml b/SourceGit/UI/Revert.xaml similarity index 100% rename from UI/Revert.xaml rename to SourceGit/UI/Revert.xaml diff --git a/UI/Revert.xaml.cs b/SourceGit/UI/Revert.xaml.cs similarity index 100% rename from UI/Revert.xaml.cs rename to SourceGit/UI/Revert.xaml.cs diff --git a/UI/Stash.xaml b/SourceGit/UI/Stash.xaml similarity index 100% rename from UI/Stash.xaml rename to SourceGit/UI/Stash.xaml diff --git a/UI/Stash.xaml.cs b/SourceGit/UI/Stash.xaml.cs similarity index 100% rename from UI/Stash.xaml.cs rename to SourceGit/UI/Stash.xaml.cs diff --git a/UI/Stashes.xaml b/SourceGit/UI/Stashes.xaml similarity index 100% rename from UI/Stashes.xaml rename to SourceGit/UI/Stashes.xaml diff --git a/UI/Stashes.xaml.cs b/SourceGit/UI/Stashes.xaml.cs similarity index 100% rename from UI/Stashes.xaml.cs rename to SourceGit/UI/Stashes.xaml.cs diff --git a/UI/WorkingCopy.xaml b/SourceGit/UI/WorkingCopy.xaml similarity index 100% rename from UI/WorkingCopy.xaml rename to SourceGit/UI/WorkingCopy.xaml diff --git a/UI/WorkingCopy.xaml.cs b/SourceGit/UI/WorkingCopy.xaml.cs similarity index 100% rename from UI/WorkingCopy.xaml.cs rename to SourceGit/UI/WorkingCopy.xaml.cs