[ros-diffs] [cwittich] 41217: -show registers in hex -set pipe server as default instead of client patches by basisbit: -fix continue toolbar button -fix printing multiple pages -possible fix for backtraces

cwittich at svn.reactos.org cwittich at svn.reactos.org
Sun May 31 14:50:17 CEST 2009


Author: cwittich
Date: Sun May 31 16:50:16 2009
New Revision: 41217

URL: http://svn.reactos.org/svn/reactos?rev=41217&view=rev
Log:
-show registers in hex
-set pipe server as default instead of client

patches by basisbit:
-fix continue toolbar button
-fix printing multiple pages
-possible fix for backtraces

Modified:
    trunk/tools/reactosdbg/DebugProtocol/KDBG.cs
    trunk/tools/reactosdbg/DebugProtocol/Registers.cs
    trunk/tools/reactosdbg/RosDBG/Dockable Objects/RawTraffic.cs
    trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs
    trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs
    trunk/tools/reactosdbg/RosDBG/Settings.cs

Modified: trunk/tools/reactosdbg/DebugProtocol/KDBG.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/DebugProtocol/KDBG.cs?rev=41217&r1=41216&r2=41217&view=diff
==============================================================================
--- trunk/tools/reactosdbg/DebugProtocol/KDBG.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/DebugProtocol/KDBG.cs [iso-8859-1] Sun May 31 16:50:16 2009
@@ -88,7 +88,7 @@
                     string cleanedLine = line.Trim();
                     try 
                     {
-                        if (cleanedLine.StartsWith("Entered debugger on "))
+                        if (cleanedLine.Contains("Entered debugger on "))
                         {
                             mReceivingProcs = false;
                             mReceivingThreads = false;

Modified: trunk/tools/reactosdbg/DebugProtocol/Registers.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/DebugProtocol/Registers.cs?rev=41217&r1=41216&r2=41217&view=diff
==============================================================================
--- trunk/tools/reactosdbg/DebugProtocol/Registers.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/DebugProtocol/Registers.cs [iso-8859-1] Sun May 31 16:50:16 2009
@@ -1,28 +1,91 @@
 using System;
 using System.Collections.Generic;
+using System.Globalization;
 using System.Linq;
 using System.Text;
 using System.ComponentModel;
 
 namespace DebugProtocol
 {
+    public class UlongToHexTypeConverter : TypeConverter
+    {
+        public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
+        {
+            if (sourceType == typeof(string))
+                return true;
+            else
+                return base.CanConvertFrom(context, sourceType);
+        }
+
+        public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
+        {
+            if (destinationType == typeof(string))
+                return true;
+            else
+                return base.CanConvertTo(context, destinationType);
+        }
+
+        public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
+        {
+            if (destinationType == typeof(string) && value.GetType() == typeof(ulong))
+                return string.Format("0x{0:X8}", value);
+            else
+                return base.ConvertTo(context, culture, value, destinationType);
+        }
+
+        public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
+        {
+            if (value.GetType() == typeof(string))
+            {
+                string input = (string)value;
+
+                if (input.StartsWith("0x", StringComparison.OrdinalIgnoreCase))
+                {
+                    input = input.Substring(2);
+                }
+
+                return ulong.Parse(input, NumberStyles.HexNumber, culture);
+            }
+            else
+            {
+                return base.ConvertFrom(context, culture, value);
+            }
+        }
+    }
+
     public class Registers
     {
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Eax { get { return RegisterSet[0]; } set { RegisterSet[0] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Ecx { get { return RegisterSet[1]; } set { RegisterSet[1] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Edx { get { return RegisterSet[2]; } set { RegisterSet[2] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Ebx { get { return RegisterSet[3]; } set { RegisterSet[3] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Esp { get { return RegisterSet[4]; } set { RegisterSet[4] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Ebp { get { return RegisterSet[5]; } set { RegisterSet[5] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Esi { get { return RegisterSet[6]; } set { RegisterSet[6] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Edi { get { return RegisterSet[7]; } set { RegisterSet[7] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Eip { get { return RegisterSet[8]; } set { RegisterSet[8] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Eflags { get { return RegisterSet[9]; } set { RegisterSet[9] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Cs { get { return RegisterSet[10]; } set { RegisterSet[10] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Ds { get { return RegisterSet[11]; } set { RegisterSet[11] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Es { get { return RegisterSet[12]; } set { RegisterSet[12] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Fs { get { return RegisterSet[13]; } set { RegisterSet[13] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Gs { get { return RegisterSet[14]; } set { RegisterSet[14] = value; } }
+        [TypeConverter(typeof(UlongToHexTypeConverter))]
         public ulong Ss { get { return RegisterSet[15]; } set { RegisterSet[15] = value; } }
         public ulong[] RegisterSet = new ulong[32];
     }

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=41217&r1=41216&r2=41217&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] Sun May 31 16:50:16 2009
@@ -16,6 +16,13 @@
     [DebugControl, BuildAtStartup]
     public partial class RawTraffic : ToolWindow, IUseDebugConnection
     {
+        private int startPage;
+        private int totalPages;
+        private int pageNumber;
+        private string strPrintText;
+        PrintDialog pd;
+        PrintDocument printDoc;
+
         DebugConnection mConnection;
         List<string> textToAdd = new List<string>();
 
@@ -139,19 +146,95 @@
 
         public override void Print(bool ShowDialog)
         {
-            PrintDocument printDoc = new PrintDocument();
-            printDoc.PrintPage += new PrintPageEventHandler(printDoc_PrintPage);
-            PrintDialog pd = new PrintDialog();
-            pd.Document = printDoc;
-            if ((!ShowDialog) || (pd.ShowDialog() == DialogResult.OK))
-            {
-                printDoc.Print();
-            }
+                printDoc = new PrintDocument();
+                printDoc.PrintPage += new PrintPageEventHandler(printDoc_PrintPage);
+                pd = new PrintDialog();
+                pd.Document = printDoc;
+                pd.AllowSomePages = true; 
+                if ((!ShowDialog) || (pd.ShowDialog() == DialogResult.OK))
+                {
+                    printDoc.DocumentName = "debuglog-" + DateTime.Now.Date.ToShortDateString() + ".txt";
+                    strPrintText = RawTrafficText.Text.Length > 0 ? RawTrafficText.Text : " ";
+                    switch (pd.PrinterSettings.PrintRange) 
+                    { 
+                        case PrintRange.AllPages: 
+                            startPage = 1; 
+                            totalPages = pd.PrinterSettings.MaximumPage;
+                            break; 
+                        case PrintRange.SomePages: 
+                            startPage = pd.PrinterSettings.FromPage;
+                            totalPages = pd.PrinterSettings.ToPage - startPage + 1;
+                            break; 
+                    }
+                    // start printing
+                    pageNumber = 1;
+                    printDoc.Print();
+                }
         }
 
         private void printDoc_PrintPage(object sender, PrintPageEventArgs e)
         {
-            e.Graphics.DrawString(RawTrafficText.Text, RawTrafficText.Font, Brushes.Black, 10, 25);
+                StringFormat stringFormat = new StringFormat();
+                RectangleF rectFPaper, rectFText;
+                int intChars, intLines;
+
+                rectFPaper = e.MarginBounds;
+                rectFText = RectangleF.Inflate(rectFPaper, 0,
+                                    -2 * RawTrafficText.Font.GetHeight(e.Graphics));
+                int totalLines = (int)Math.Floor(rectFText.Height /
+                                         RawTrafficText.Font.GetHeight(e.Graphics));
+                rectFText.Height = totalLines *
+                                          RawTrafficText.Font.GetHeight(e.Graphics);
+                stringFormat.Trimming = StringTrimming.Word;
+
+                while ((pageNumber < startPage) && (strPrintText.Length > 0))
+                {
+                    e.Graphics.MeasureString(strPrintText, RawTrafficText.Font,
+                                         rectFText.Size, stringFormat,
+                                         out intChars, out intLines);
+                    strPrintText = strPrintText.Substring(intChars);
+                    pageNumber++;
+                }
+
+                // Cancel job when nothing to print is left
+                if (strPrintText.Length == 0)
+                {
+                    e.Cancel = true;
+                    return;
+                }
+
+                e.Graphics.DrawString(strPrintText, RawTrafficText.Font, Brushes.Black, rectFText, stringFormat);
+                e.Graphics.MeasureString(strPrintText, RawTrafficText.Font,
+                                         rectFText.Size, stringFormat,
+                                         out intChars, out intLines);
+                strPrintText = strPrintText.Substring(intChars);
+                stringFormat = new StringFormat();
+
+                // show filename in header
+                stringFormat.Alignment = StringAlignment.Center;
+
+                e.Graphics.DrawString(printDoc.DocumentName, RawTrafficText.Font,
+                                      Brushes.Black, rectFPaper, stringFormat);
+
+                // show page number in footer
+                stringFormat.LineAlignment = StringAlignment.Far;
+
+                e.Graphics.DrawString("Page " + pageNumber, RawTrafficText.Font,
+                                     Brushes.Black, rectFPaper, stringFormat);
+
+                pageNumber++;
+                e.HasMorePages = (strPrintText.Length > 0) &&
+                                 (pageNumber < startPage + totalPages);
+
+                //re-init
+                if (!e.HasMorePages)
+                {
+                    strPrintText = RawTrafficText.Text;
+                    startPage = 1;
+                    totalPages = pd.PrinterSettings.MaximumPage;
+                    pageNumber = 1;
+                }
+            
         }
 
     }

Modified: trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs?rev=41217&r1=41216&r2=41217&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/MainWindow.Designer.cs [iso-8859-1] Sun May 31 16:50:16 2009
@@ -30,21 +30,21 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
-            WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin3 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin();
-            WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin3 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin();
-            WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient7 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
-            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient15 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
-            WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin3 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin();
-            WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient();
-            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient16 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
-            WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient8 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
-            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient17 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
-            WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient();
-            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient18 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
-            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient19 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
-            WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient9 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
-            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient20 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
-            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient21 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+            WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin();
+            WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin();
+            WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+            WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin();
+            WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient();
+            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+            WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+            WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient();
+            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+            WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient();
+            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
+            WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient();
             this.menuStrip = new System.Windows.Forms.MenuStrip();
             this.fileMenu = new System.Windows.Forms.ToolStripMenuItem();
             this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -138,14 +138,14 @@
             this.openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
             this.openToolStripMenuItem.Name = "openToolStripMenuItem";
             this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
-            this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.openToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
             this.openToolStripMenuItem.Text = "&Open";
             this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenFile);
             // 
             // toolStripSeparator3
             // 
             this.toolStripSeparator3.Name = "toolStripSeparator3";
-            this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6);
+            this.toolStripSeparator3.Size = new System.Drawing.Size(145, 6);
             // 
             // saveToolStripMenuItem
             // 
@@ -153,21 +153,21 @@
             this.saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
             this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
             this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
-            this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.saveToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
             this.saveToolStripMenuItem.Text = "&Save";
             this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
             // 
             // saveAsToolStripMenuItem
             // 
             this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
-            this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
             this.saveAsToolStripMenuItem.Text = "Save &as";
             this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItem_Click);
             // 
             // toolStripSeparator4
             // 
             this.toolStripSeparator4.Name = "toolStripSeparator4";
-            this.toolStripSeparator4.Size = new System.Drawing.Size(149, 6);
+            this.toolStripSeparator4.Size = new System.Drawing.Size(145, 6);
             // 
             // printToolStripMenuItem
             // 
@@ -175,7 +175,7 @@
             this.printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
             this.printToolStripMenuItem.Name = "printToolStripMenuItem";
             this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
-            this.printToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.printToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
             this.printToolStripMenuItem.Text = "&Print";
             this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click);
             // 
@@ -183,18 +183,18 @@
             // 
             this.printSetupToolStripMenuItem.Enabled = false;
             this.printSetupToolStripMenuItem.Name = "printSetupToolStripMenuItem";
-            this.printSetupToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.printSetupToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
             this.printSetupToolStripMenuItem.Text = "Print setup";
             // 
             // toolStripSeparator5
             // 
             this.toolStripSeparator5.Name = "toolStripSeparator5";
-            this.toolStripSeparator5.Size = new System.Drawing.Size(149, 6);
+            this.toolStripSeparator5.Size = new System.Drawing.Size(145, 6);
             // 
             // exitToolStripMenuItem
             // 
             this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
-            this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+            this.exitToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
             this.exitToolStripMenuItem.Text = "&Exit";
             this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolsStripMenuItem_Click);
             // 
@@ -493,6 +493,7 @@
             this.continueToolStripButton.Name = "continueToolStripButton";
             this.continueToolStripButton.Size = new System.Drawing.Size(23, 22);
             this.continueToolStripButton.Text = "Continue";
+            this.continueToolStripButton.Click += new System.EventHandler(this.continueToolStripMenuItem_Click);
             // 
             // breakToolStripButton
             // 
@@ -532,50 +533,50 @@
             this.dockPanel.Location = new System.Drawing.Point(0, 49);
             this.dockPanel.Name = "dockPanel";
             this.dockPanel.Size = new System.Drawing.Size(784, 490);
-            dockPanelGradient7.EndColor = System.Drawing.SystemColors.ControlLight;
-            dockPanelGradient7.StartColor = System.Drawing.SystemColors.ControlLight;
-            autoHideStripSkin3.DockStripGradient = dockPanelGradient7;
-            tabGradient15.EndColor = System.Drawing.SystemColors.Control;
-            tabGradient15.StartColor = System.Drawing.SystemColors.Control;
-            tabGradient15.TextColor = System.Drawing.SystemColors.ControlDarkDark;
-            autoHideStripSkin3.TabGradient = tabGradient15;
-            dockPanelSkin3.AutoHideStripSkin = autoHideStripSkin3;
-            tabGradient16.EndColor = System.Drawing.SystemColors.ControlLightLight;
-            tabGradient16.StartColor = System.Drawing.SystemColors.ControlLightLight;
-            tabGradient16.TextColor = System.Drawing.SystemColors.ControlText;
-            dockPaneStripGradient3.ActiveTabGradient = tabGradient16;
-            dockPanelGradient8.EndColor = System.Drawing.SystemColors.Control;
-            dockPanelGradient8.StartColor = System.Drawing.SystemColors.Control;
-            dockPaneStripGradient3.DockStripGradient = dockPanelGradient8;
-            tabGradient17.EndColor = System.Drawing.SystemColors.ControlLight;
-            tabGradient17.StartColor = System.Drawing.SystemColors.ControlLight;
-            tabGradient17.TextColor = System.Drawing.SystemColors.ControlText;
-            dockPaneStripGradient3.InactiveTabGradient = tabGradient17;
-            dockPaneStripSkin3.DocumentGradient = dockPaneStripGradient3;
-            tabGradient18.EndColor = System.Drawing.SystemColors.ActiveCaption;
-            tabGradient18.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
-            tabGradient18.StartColor = System.Drawing.SystemColors.GradientActiveCaption;
-            tabGradient18.TextColor = System.Drawing.SystemColors.ActiveCaptionText;
-            dockPaneStripToolWindowGradient3.ActiveCaptionGradient = tabGradient18;
-            tabGradient19.EndColor = System.Drawing.SystemColors.Control;
-            tabGradient19.StartColor = System.Drawing.SystemColors.Control;
-            tabGradient19.TextColor = System.Drawing.SystemColors.ControlText;
-            dockPaneStripToolWindowGradient3.ActiveTabGradient = tabGradient19;
-            dockPanelGradient9.EndColor = System.Drawing.SystemColors.ControlLight;
-            dockPanelGradient9.StartColor = System.Drawing.SystemColors.ControlLight;
-            dockPaneStripToolWindowGradient3.DockStripGradient = dockPanelGradient9;
-            tabGradient20.EndColor = System.Drawing.SystemColors.GradientInactiveCaption;
-            tabGradient20.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
-            tabGradient20.StartColor = System.Drawing.SystemColors.GradientInactiveCaption;
-            tabGradient20.TextColor = System.Drawing.SystemColors.ControlText;
-            dockPaneStripToolWindowGradient3.InactiveCaptionGradient = tabGradient20;
-            tabGradient21.EndColor = System.Drawing.Color.Transparent;
-            tabGradient21.StartColor = System.Drawing.Color.Transparent;
-            tabGradient21.TextColor = System.Drawing.SystemColors.ControlDarkDark;
-            dockPaneStripToolWindowGradient3.InactiveTabGradient = tabGradient21;
-            dockPaneStripSkin3.ToolWindowGradient = dockPaneStripToolWindowGradient3;
-            dockPanelSkin3.DockPaneStripSkin = dockPaneStripSkin3;
-            this.dockPanel.Skin = dockPanelSkin3;
+            dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight;
+            dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight;
+            autoHideStripSkin1.DockStripGradient = dockPanelGradient1;
+            tabGradient1.EndColor = System.Drawing.SystemColors.Control;
+            tabGradient1.StartColor = System.Drawing.SystemColors.Control;
+            tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark;
+            autoHideStripSkin1.TabGradient = tabGradient1;
+            dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1;
+            tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight;
+            tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight;
+            tabGradient2.TextColor = System.Drawing.SystemColors.ControlText;
+            dockPaneStripGradient1.ActiveTabGradient = tabGradient2;
+            dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control;
+            dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control;
+            dockPaneStripGradient1.DockStripGradient = dockPanelGradient2;
+            tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight;
+            tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight;
+            tabGradient3.TextColor = System.Drawing.SystemColors.ControlText;
+            dockPaneStripGradient1.InactiveTabGradient = tabGradient3;
+            dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1;
+            tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption;
+            tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
+            tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption;
+            tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText;
+            dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4;
+            tabGradient5.EndColor = System.Drawing.SystemColors.Control;
+            tabGradient5.StartColor = System.Drawing.SystemColors.Control;
+            tabGradient5.TextColor = System.Drawing.SystemColors.ControlText;
+            dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5;
+            dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight;
+            dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight;
+            dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3;
+            tabGradient6.EndColor = System.Drawing.SystemColors.GradientInactiveCaption;
+            tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
+            tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption;
+            tabGradient6.TextColor = System.Drawing.SystemColors.ControlText;
+            dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6;
+            tabGradient7.EndColor = System.Drawing.Color.Transparent;
+            tabGradient7.StartColor = System.Drawing.Color.Transparent;
+            tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark;
+            dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7;
+            dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1;
+            dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1;
+            this.dockPanel.Skin = dockPanelSkin1;
             this.dockPanel.TabIndex = 4;
             this.dockPanel.ActiveDocumentChanged += new System.EventHandler(this.dockPanel_ActiveDocumentChanged);
             // 

Modified: trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs?rev=41217&r1=41216&r2=41217&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Properties/AssemblyInfo.cs [iso-8859-1] Sun May 31 16:50:16 2009
@@ -39,5 +39,5 @@
 // will be increased as well. MSI installers must not be generated with the same Build Number
 // otherwise they won't upgrade the old installation!
 
-[assembly: AssemblyVersion("1.0.2.4")]
-[assembly: AssemblyFileVersion("1.0.2.4")]
+[assembly: AssemblyVersion("1.0.2.14")]
+[assembly: AssemblyFileVersion("1.0.2.14")]

Modified: trunk/tools/reactosdbg/RosDBG/Settings.cs
URL: http://svn.reactos.org/svn/reactos/trunk/tools/reactosdbg/RosDBG/Settings.cs?rev=41217&r1=41216&r2=41217&view=diff
==============================================================================
--- trunk/tools/reactosdbg/RosDBG/Settings.cs [iso-8859-1] (original)
+++ trunk/tools/reactosdbg/RosDBG/Settings.cs [iso-8859-1] Sun May 31 16:50:16 2009
@@ -56,7 +56,7 @@
                 set { this["Pipe"] = value; }
             }
 
-            [UserScopedSetting, DefaultSettingValue(@"Client")]
+            [UserScopedSetting, DefaultSettingValue(@"Server")]
             [Browsable(false)]
             public string Mode
             {



More information about the Ros-diffs mailing list