[ros-diffs] [cwittich] 41171: -remove obsolete code

cwittich at svn.reactos.org cwittich at svn.reactos.org
Thu May 28 12:10:09 CEST 2009


Author: cwittich
Date: Thu May 28 14:10:08 2009
New Revision: 41171

URL: http://svn.reactos.org/svn/reactos?rev=41171&view=rev
Log:
-remove obsolete code

Removed:
    trunk/tools/reactosdbg/RosDBG/HostWindow.Designer.cs
    trunk/tools/reactosdbg/RosDBG/HostWindow.cs
    trunk/tools/reactosdbg/RosDBG/HostWindow.resx
Modified:
    trunk/tools/reactosdbg/RosDBG/Dockable Objects/BackTrace.cs
    trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs
    trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs
    trunk/tools/reactosdbg/RosDBG/Dockable Objects/RegisterView.cs
    trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.cs
    trunk/tools/reactosdbg/RosDBG/RosDBG.csproj

Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/BackTrace.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%20Objects/BackTrace.cs?rev=41171&r1=41170&r2=41171&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/BackTrace.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/BackTrace.cs [iso-8859-1] Thu May 28 14:10:08 2009
@@ -29,7 +29,6 @@
         public BackTrace()
         {
             InitializeComponent();
-            this.Tag = "Backtrace";
         }
 
         public void SetShell(IShell shell)

Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%20Objects/RawTraffic.cs?rev=41171&r1=41170&r2=41171&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs [iso-8859-1] Thu May 28 14:10:08 2009
@@ -65,7 +65,6 @@
         public RawTraffic()
         {
             InitializeComponent();
-            this.Tag = "Raw Traffic";
             InputLabel.Location = new Point(2, 2);
         }
 

Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%20Objects/ReactOSWeb.cs?rev=41171&r1=41170&r2=41171&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/ReactOSWeb.cs [iso-8859-1] Thu May 28 14:10:08 2009
@@ -17,7 +17,6 @@
         public ReactOSWeb()
         {
             InitializeComponent();
-            this.Tag = "Web";
             BrowserView.CanGoBackChanged += BrowserView_CanGoBackChanged;
             BrowserView.CanGoForwardChanged += BrowserView_CanGoForwardChanged;
             BrowserView.GoHome(); 
@@ -26,7 +25,7 @@
         public ReactOSWeb(string Title, string URL)
         {
             InitializeComponent();
-            this.Tag = Title;
+            this.Text = Title;
             BrowserView.CanGoBackChanged += BrowserView_CanGoBackChanged;
             BrowserView.CanGoForwardChanged += BrowserView_CanGoForwardChanged;
             BrowserView.Navigate(URL);              

Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/RegisterView.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%20Objects/RegisterView.cs?rev=41171&r1=41170&r2=41171&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/RegisterView.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/RegisterView.cs [iso-8859-1] Thu May 28 14:10:08 2009
@@ -22,7 +22,6 @@
         {
             InitializeComponent();
             RegisterGrid.SelectedObject = new Registers();
-            this.Tag = "Registers";
         }
 
         public void SetDebugConnection(DebugConnection conn)

Modified: trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Dockable%20Objects/SourceView.cs?rev=41171&r1=41170&r2=41171&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Dockable Objects/SourceView.cs [iso-8859-1] Thu May 28 14:10:08 2009
@@ -67,7 +67,6 @@
         public SourceView(string FileName)
         {
             InitializeComponent();
-            this.Tag = FileName;
             this.Text = FileName;
         }
 

Removed: trunk/tools/reactosdbg/RosDBG/HostWindow.Designer.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/HostWindow.Designer.cs?rev=41170&view=auto
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/HostWindow.Designer.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/HostWindow.Designer.cs (removed)
@@ -1,116 +1,0 @@
-namespace RosDBG
-{
-    partial class HostWindow
-    {
-        /// <summary>
-        /// Required designer variable.
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary>
-        /// Clean up any resources being used.
-        /// </summary>
-        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Windows Form Designer generated code
-
-        /// <summary>
-        /// Required method for Designer support - do not modify
-        /// the contents of this method with the code editor.
-        /// </summary>
-        private void InitializeComponent()
-        {
-            this.ContentSplitter = new System.Windows.Forms.SplitContainer();
-            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
-            this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.redockToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.ContentSplitter.Panel1.SuspendLayout();
-            this.ContentSplitter.SuspendLayout();
-            this.menuStrip1.SuspendLayout();
-            this.SuspendLayout();
-            // 
-            // ContentSplitter
-            // 
-            this.ContentSplitter.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.ContentSplitter.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
-            this.ContentSplitter.IsSplitterFixed = true;
-            this.ContentSplitter.Location = new System.Drawing.Point(0, 0);
-            this.ContentSplitter.Name = "ContentSplitter";
-            this.ContentSplitter.Orientation = System.Windows.Forms.Orientation.Horizontal;
-            // 
-            // ContentSplitter.Panel1
-            // 
-            this.ContentSplitter.Panel1.Controls.Add(this.menuStrip1);
-            this.ContentSplitter.Size = new System.Drawing.Size(292, 273);
-            this.ContentSplitter.SplitterDistance = 25;
-            this.ContentSplitter.TabIndex = 0;
-            // 
-            // menuStrip1
-            // 
-            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
-            this.windowToolStripMenuItem});
-            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
-            this.menuStrip1.Name = "menuStrip1";
-            this.menuStrip1.Size = new System.Drawing.Size(292, 24);
-            this.menuStrip1.TabIndex = 0;
-            this.menuStrip1.Text = "menuStrip1";
-            // 
-            // windowToolStripMenuItem
-            // 
-            this.windowToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
-            this.redockToolStripMenuItem,
-            this.closeToolStripMenuItem});
-            this.windowToolStripMenuItem.Name = "windowToolStripMenuItem";
-            this.windowToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
-            this.windowToolStripMenuItem.Text = "Window";
-            // 
-            // redockToolStripMenuItem
-            // 
-            this.redockToolStripMenuItem.Name = "redockToolStripMenuItem";
-            this.redockToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
-            this.redockToolStripMenuItem.Text = "Redock";
-            this.redockToolStripMenuItem.Click += new System.EventHandler(this.redockToolStripMenuItem_Click);
-            // 
-            // closeToolStripMenuItem
-            // 
-            this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
-            this.closeToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
-            this.closeToolStripMenuItem.Text = "Close";
-            this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
-            // 
-            // HostWindow
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(292, 273);
-            this.Controls.Add(this.ContentSplitter);
-            this.MainMenuStrip = this.menuStrip1;
-            this.Name = "HostWindow";
-            this.Text = "HostWindow";
-            this.ContentSplitter.Panel1.ResumeLayout(false);
-            this.ContentSplitter.Panel1.PerformLayout();
-            this.ContentSplitter.ResumeLayout(false);
-            this.menuStrip1.ResumeLayout(false);
-            this.menuStrip1.PerformLayout();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.SplitContainer ContentSplitter;
-        private System.Windows.Forms.MenuStrip menuStrip1;
-        private System.Windows.Forms.ToolStripMenuItem windowToolStripMenuItem;
-        private System.Windows.Forms.ToolStripMenuItem redockToolStripMenuItem;
-        private System.Windows.Forms.ToolStripMenuItem closeToolStripMenuItem;
-    }
-}

Removed: trunk/tools/reactosdbg/RosDBG/HostWindow.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/HostWindow.cs?rev=41170&view=auto
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/HostWindow.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/HostWindow.cs (removed)
@@ -1,60 +1,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-
-namespace RosDBG
-{
-    public partial class HostWindow : Form
-    {
-        public HostWindow()
-        {
-            InitializeComponent();
-        }
-
-        public delegate void RedockControlEventHandler(object sender, RedockControlEventArgs args);
-        public event RedockControlEventHandler RedockControlEvent;
-
-        public Control Content
-        {
-            get 
-            { 
-                if (ContentSplitter.Panel2.Controls.Count > 0)
-                    return ContentSplitter.Panel2.Controls[0];
-                else
-                    return null;
-            }
-            set
-            {
-                ContentSplitter.Panel2.Controls.Clear();
-                if (value != null)
-                    ContentSplitter.Panel2.Controls.Add(value);
-            }
-        }
-
-        private void redockToolStripMenuItem_Click(object sender, EventArgs e)
-        {
-            RedockControlEventArgs args = new RedockControlEventArgs(Content);
-            Content = null;
-            if (RedockControlEvent != null)
-                RedockControlEvent(this, args);
-            Close();
-        }
-
-        private void closeToolStripMenuItem_Click(object sender, EventArgs e)
-        {
-            Close();
-        }
-    }
-
-    public class RedockControlEventArgs : EventArgs
-    {
-        Control mControl;
-        public Control Control { get { return mControl; } }
-        public RedockControlEventArgs(Control ctrl) { mControl = ctrl; }
-    }
-}

Removed: trunk/tools/reactosdbg/RosDBG/HostWindow.resx
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/HostWindow.resx?rev=41170&view=auto
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/HostWindow.resx [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/HostWindow.resx (removed)
@@ -1,123 +1,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>17, 17</value>
-  </metadata>
-</root>

Modified: trunk/tools/reactosdbg/RosDBG/RosDBG.csproj
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/RosDBG.csproj?rev=41171&r1=41170&r2=41171&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/RosDBG.csproj [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/RosDBG.csproj [iso-8859-1] Thu May 28 14:10:08 2009
@@ -99,12 +99,6 @@
       <DependentUpon>ToolWindow.cs</DependentUpon>
     </Compile>
     <Compile Include="HighLevelInteraction.cs" />
-    <Compile Include="HostWindow.cs">
-      <SubType>Form</SubType>
-    </Compile>
-    <Compile Include="HostWindow.Designer.cs">
-      <DependentUpon>HostWindow.cs</DependentUpon>
-    </Compile>
     <Compile Include="IShell.cs" />
     <Compile Include="IUseDebugConnection.cs" />
     <Compile Include="IUseSymbols.cs" />
@@ -150,10 +144,6 @@
     </EmbeddedResource>
     <EmbeddedResource Include="Dockable Objects\BackTrace.resx">
       <DependentUpon>BackTrace.cs</DependentUpon>
-      <SubType>Designer</SubType>
-    </EmbeddedResource>
-    <EmbeddedResource Include="HostWindow.resx">
-      <DependentUpon>HostWindow.cs</DependentUpon>
       <SubType>Designer</SubType>
     </EmbeddedResource>
     <EmbeddedResource Include="Dockable Objects\Locals.resx">



More information about the Ros-diffs mailing list