Modified:
trunk/Build/Experimental_NiftyPerforce.msi
trunk/Build/Experimental_NiftySolution.msi
trunk/NiftyPerforce/Commands/ItemCommandBase.cs
trunk/NiftyPerforce/Commands/NiftyConfigure.cs
trunk/NiftyPerforce/Commands/P4DiffItem.cs
trunk/NiftyPerforce/Commands/P4DiffSolution.cs
trunk/NiftyPerforce/Commands/P4EditItem.cs
trunk/NiftyPerforce/Commands/P4EditModified.cs
trunk/NiftyPerforce/Commands/P4EditSolution.cs
trunk/NiftyPerforce/Commands/P4RenameItem.cs
trunk/NiftyPerforce/Commands/P4RevertItem.cs
trunk/NiftyPerforce/Commands/P4RevisionHistoryItem.cs
trunk/NiftyPerforce/Commands/P4RevisionHistorySolution.cs
trunk/NiftyPerforce/Commands/P4TimeLapseItem.cs
trunk/NiftyPerforce/Commands/ToolbarCommand.cs
trunk/NiftyPerforce/Config.cs
trunk/NiftyPerforce/ConfigDialog.cs
trunk/NiftyPerforce/Connect.cs
trunk/NiftyPerforce/EventHandlers/AutoAddDelete.cs
trunk/NiftyPerforce/EventHandlers/AutoCheckout.cs
trunk/NiftyPerforce/P4Operations.cs
trunk/NiftyPerforce/RegistrySettingsProvider.cs
trunk/NiftyPerforce/bin/en-US/NiftyPerforce.resources.dll
trunk/NiftySolution/Commands/CloseToolWindows.cs
trunk/NiftySolution/Commands/QuickOpen.cs
trunk/NiftySolution/Commands/ToggleFile.cs
trunk/NiftySolution/Connect.cs
trunk/NiftySolution/EventHandlers/SolutionBuildTimings.cs
trunk/NiftySolution/SearchEntry.cs
trunk/NiftySolution/SolutionFiles.cs
trunk/NiftySolution/UI/QuickOpenDialog.Designer.cs
trunk/NiftySolution/UI/QuickOpenDialog.cs
trunk/NiftySolution/UI/SearchResultControl.Designer.cs
trunk/NiftySolution/UI/SearchResultControl.cs
trunk/NiftySolution/bin/en-US/NiftySolution.resources.dll
trunk/Shared/CommandBase.cs
trunk/Shared/Plugin.cs
trunk/Shared/Singleton.cs
Log:
- Made the quickopen command cache the UI dialog from run to run.
- Added new updated copyright info.
Modified: trunk/Build/Experimental_NiftyPerforce.msi
==============================================================================
Binary files. No diff available.
Modified: trunk/Build/Experimental_NiftySolution.msi
==============================================================================
Binary files. No diff available.
Modified: trunk/NiftyPerforce/Commands/ItemCommandBase.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/ItemCommandBase.cs (original)
+++ trunk/NiftyPerforce/Commands/ItemCommandBase.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/NiftyConfigure.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/NiftyConfigure.cs (original)
+++ trunk/NiftyPerforce/Commands/NiftyConfigure.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4DiffItem.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4DiffItem.cs (original)
+++ trunk/NiftyPerforce/Commands/P4DiffItem.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4DiffSolution.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4DiffSolution.cs (original)
+++ trunk/NiftyPerforce/Commands/P4DiffSolution.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4EditItem.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4EditItem.cs (original)
+++ trunk/NiftyPerforce/Commands/P4EditItem.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4EditModified.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4EditModified.cs (original)
+++ trunk/NiftyPerforce/Commands/P4EditModified.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4EditSolution.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4EditSolution.cs (original)
+++ trunk/NiftyPerforce/Commands/P4EditSolution.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4RenameItem.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4RenameItem.cs (original)
+++ trunk/NiftyPerforce/Commands/P4RenameItem.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4RevertItem.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4RevertItem.cs (original)
+++ trunk/NiftyPerforce/Commands/P4RevertItem.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Windows.Forms;
using EnvDTE;
Modified: trunk/NiftyPerforce/Commands/P4RevisionHistoryItem.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4RevisionHistoryItem.cs (original)
+++ trunk/NiftyPerforce/Commands/P4RevisionHistoryItem.cs Tue Aug 19
22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4RevisionHistorySolution.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4RevisionHistorySolution.cs (original)
+++ trunk/NiftyPerforce/Commands/P4RevisionHistorySolution.cs Tue Aug 19
22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/P4TimeLapseItem.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/P4TimeLapseItem.cs (original)
+++ trunk/NiftyPerforce/Commands/P4TimeLapseItem.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Commands/ToolbarCommand.cs
==============================================================================
--- trunk/NiftyPerforce/Commands/ToolbarCommand.cs (original)
+++ trunk/NiftyPerforce/Commands/ToolbarCommand.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftyPerforce/Config.cs
==============================================================================
--- trunk/NiftyPerforce/Config.cs (original)
+++ trunk/NiftyPerforce/Config.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.Text;
Modified: trunk/NiftyPerforce/ConfigDialog.cs
==============================================================================
--- trunk/NiftyPerforce/ConfigDialog.cs (original)
+++ trunk/NiftyPerforce/ConfigDialog.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.ComponentModel;
Modified: trunk/NiftyPerforce/Connect.cs
==============================================================================
Binary files. No diff available.
Modified: trunk/NiftyPerforce/EventHandlers/AutoAddDelete.cs
==============================================================================
--- trunk/NiftyPerforce/EventHandlers/AutoAddDelete.cs (original)
+++ trunk/NiftyPerforce/EventHandlers/AutoAddDelete.cs Tue Aug 19 22:35:59
2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.IO;
using EnvDTE;
Modified: trunk/NiftyPerforce/EventHandlers/AutoCheckout.cs
==============================================================================
--- trunk/NiftyPerforce/EventHandlers/AutoCheckout.cs (original)
+++ trunk/NiftyPerforce/EventHandlers/AutoCheckout.cs Tue Aug 19 22:35:59
2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.IO;
using Extensibility;
Modified: trunk/NiftyPerforce/P4Operations.cs
==============================================================================
--- trunk/NiftyPerforce/P4Operations.cs (original)
+++ trunk/NiftyPerforce/P4Operations.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using System.Threading;
Modified: trunk/NiftyPerforce/RegistrySettingsProvider.cs
==============================================================================
--- trunk/NiftyPerforce/RegistrySettingsProvider.cs (original)
+++ trunk/NiftyPerforce/RegistrySettingsProvider.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using Microsoft.Win32;
Modified: trunk/NiftyPerforce/bin/en-US/NiftyPerforce.resources.dll
==============================================================================
Binary files. No diff available.
Modified: trunk/NiftySolution/Commands/CloseToolWindows.cs
==============================================================================
--- trunk/NiftySolution/Commands/CloseToolWindows.cs (original)
+++ trunk/NiftySolution/Commands/CloseToolWindows.cs Tue Aug 19 22:35:59
2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.IO;
Modified: trunk/NiftySolution/Commands/QuickOpen.cs
==============================================================================
--- trunk/NiftySolution/Commands/QuickOpen.cs (original)
+++ trunk/NiftySolution/Commands/QuickOpen.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
@@ -12,28 +12,34 @@
// trigger rebuilding of the dialog...
public class QuickOpen : CommandBase
{
- private SolutionFiles m_files;
+ private SolutionFiles mFiles = null;
+ QuickOpenDialog mDialog = null;
public QuickOpen()
{
- m_files = null;
}
public override void OnCommand(DTE2 application, OutputWindowPane pane)
{
- if(null == m_files)
+ if(null == mFiles)
{
Log.Info("First time fast open is run, scanning solution for files");
- m_files = new SolutionFiles(application);
- m_files.Refresh();
+ mFiles = new SolutionFiles(application);
+ mFiles.Refresh();
}
-
- QuickOpenDialog dialog = new QuickOpenDialog(m_files);
- if(dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+
+ if(null == mDialog)
+ mDialog = new QuickOpenDialog(mFiles);
+
+ if(mDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
- string name = dialog.FileToOpen;
+ string name = mDialog.FileToOpen;
if(name.Length > 0 )
application.DTE.ExecuteCommand("File.OpenFile", name);
+
+
+ // TODO: Each time here we could save off the window position into
the registry and
+ // use it when we open the window the next time around.
}
}
Modified: trunk/NiftySolution/Commands/ToggleFile.cs
==============================================================================
--- trunk/NiftySolution/Commands/ToggleFile.cs (original)
+++ trunk/NiftySolution/Commands/ToggleFile.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.IO;
Modified: trunk/NiftySolution/Connect.cs
==============================================================================
Binary files. No diff available.
Modified: trunk/NiftySolution/EventHandlers/SolutionBuildTimings.cs
==============================================================================
--- trunk/NiftySolution/EventHandlers/SolutionBuildTimings.cs (original)
+++ trunk/NiftySolution/EventHandlers/SolutionBuildTimings.cs Tue Aug 19
22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/NiftySolution/SearchEntry.cs
==============================================================================
--- trunk/NiftySolution/SearchEntry.cs (original)
+++ trunk/NiftySolution/SearchEntry.cs Tue Aug 19 22:35:59 2008
@@ -1,3 +1,4 @@
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.Text;
Modified: trunk/NiftySolution/SolutionFiles.cs
==============================================================================
--- trunk/NiftySolution/SolutionFiles.cs (original)
+++ trunk/NiftySolution/SolutionFiles.cs Tue Aug 19 22:35:59 2008
@@ -1,3 +1,4 @@
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.Text;
Modified: trunk/NiftySolution/UI/QuickOpenDialog.Designer.cs
==============================================================================
--- trunk/NiftySolution/UI/QuickOpenDialog.Designer.cs (original)
+++ trunk/NiftySolution/UI/QuickOpenDialog.Designer.cs Tue Aug 19 22:35:59
2008
@@ -68,17 +68,20 @@
this.mInputText.Location = new System.Drawing.Point(0, 0);
this.mInputText.Name = "mInputText";
this.mInputText.Size = new System.Drawing.Size(578, 20);
- this.mInputText.TabIndex = 1;
+ this.mInputText.TabIndex = 0;
this.mInputText.TextChanged += new
System.EventHandler(this.textBox1_TextChanged);
this.mInputText.KeyDown += new
System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
//
// mSearchResults
//
+ this.mSearchResults.AutoValidate =
System.Windows.Forms.AutoValidate.Disable;
+ this.mSearchResults.CausesValidation = false;
this.mSearchResults.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.mSearchResults.ImeMode = System.Windows.Forms.ImeMode.Off;
this.mSearchResults.Location = new System.Drawing.Point(0, 26);
this.mSearchResults.Name = "mSearchResults";
this.mSearchResults.Size = new System.Drawing.Size(578, 372);
- this.mSearchResults.TabIndex = 2;
+ this.mSearchResults.TabIndex = 1;
this.mSearchResults.Resize += new
System.EventHandler(this.searchResultControl1_Resize);
//
// QuickOpenDialog
@@ -91,6 +94,7 @@
this.Controls.Add(this.mInputText);
this.Controls.Add(this.mStatuStrip);
this.FormBorderStyle =
System.Windows.Forms.FormBorderStyle.SizableToolWindow;
+ this.KeyPreview = true;
this.Name = "QuickOpenDialog";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "QuickOpen";
Modified: trunk/NiftySolution/UI/QuickOpenDialog.cs
==============================================================================
--- trunk/NiftySolution/UI/QuickOpenDialog.cs (original)
+++ trunk/NiftySolution/UI/QuickOpenDialog.cs Tue Aug 19 22:35:59 2008
@@ -1,3 +1,4 @@
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.ComponentModel;
Modified: trunk/NiftySolution/UI/SearchResultControl.Designer.cs
==============================================================================
--- trunk/NiftySolution/UI/SearchResultControl.Designer.cs (original)
+++ trunk/NiftySolution/UI/SearchResultControl.Designer.cs Tue Aug 19
22:35:59 2008
@@ -32,6 +32,9 @@
//
// SearchResultControl
//
+ this.AutoValidate = System.Windows.Forms.AutoValidate.Disable;
+ this.CausesValidation = false;
+ this.ImeMode = System.Windows.Forms.ImeMode.Off;
this.Name = "SearchResultControl";
this.Size = new System.Drawing.Size(315, 281);
this.Paint += new
System.Windows.Forms.PaintEventHandler(this.SearchResultControl_Paint);
Modified: trunk/NiftySolution/UI/SearchResultControl.cs
==============================================================================
--- trunk/NiftySolution/UI/SearchResultControl.cs (original)
+++ trunk/NiftySolution/UI/SearchResultControl.cs Tue Aug 19 22:35:59 2008
@@ -1,3 +1,4 @@
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using System.ComponentModel;
Modified: trunk/NiftySolution/bin/en-US/NiftySolution.resources.dll
==============================================================================
Binary files. No diff available.
Modified: trunk/Shared/CommandBase.cs
==============================================================================
--- trunk/Shared/CommandBase.cs (original)
+++ trunk/Shared/CommandBase.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using EnvDTE;
using EnvDTE80;
Modified: trunk/Shared/Plugin.cs
==============================================================================
--- trunk/Shared/Plugin.cs (original)
+++ trunk/Shared/Plugin.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
using System.Collections.Generic;
using EnvDTE;
Modified: trunk/Shared/Singleton.cs
==============================================================================
--- trunk/Shared/Singleton.cs (original)
+++ trunk/Shared/Singleton.cs Tue Aug 19 22:35:59 2008
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2007 Jim Tilander. See COPYING for and README for
more details.
+// Copyright (C) 2006-2008 Jim Tilander. See COPYING for and README for
more details.
using System;
namespace Aurora