From e6a141b0f5afb5a78cc5560c993c05e8d4d56eec Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 27 Oct 2008 21:29:22 +0000 Subject: [PATCH] * Remove the OpenSim GUI. * A better version can now be found on the forge at http://forge.opensimulator.org/gf/project/osgui --- .../Tools/OpenSim.GUI/InputTextBoxControl.cs | 111 -- OpenSim/Tools/OpenSim.GUI/Main.Designer.cs | 1434 ----------------- OpenSim/Tools/OpenSim.GUI/Main.cs | 536 ------ OpenSim/Tools/OpenSim.GUI/Main.resx | 135 -- OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj | 94 -- OpenSim/Tools/OpenSim.GUI/ProcessManager.cs | 98 -- OpenSim/Tools/OpenSim.GUI/Program.cs | 47 - .../OpenSim.GUI/Properties/AssemblyInfo.cs | 60 - .../Properties/Resources.Designer.cs | 95 -- .../OpenSim.GUI/Properties/Resources.resx | 117 -- .../Properties/Settings.Designer.cs | 54 - .../OpenSim.GUI/Properties/Settings.settings | 7 - .../OpenSim.GUI/frmConfiguration.Designer.cs | 88 - OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs | 45 - .../Tools/OpenSim.GUI/frmConfiguration.resx | 129 -- 15 files changed, 3050 deletions(-) delete mode 100644 OpenSim/Tools/OpenSim.GUI/InputTextBoxControl.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Main.Designer.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Main.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Main.resx delete mode 100644 OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj delete mode 100644 OpenSim/Tools/OpenSim.GUI/ProcessManager.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Program.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Properties/AssemblyInfo.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Properties/Resources.Designer.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Properties/Resources.resx delete mode 100644 OpenSim/Tools/OpenSim.GUI/Properties/Settings.Designer.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/Properties/Settings.settings delete mode 100644 OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs delete mode 100644 OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx diff --git a/OpenSim/Tools/OpenSim.GUI/InputTextBoxControl.cs b/OpenSim/Tools/OpenSim.GUI/InputTextBoxControl.cs deleted file mode 100644 index d6a3d04541..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/InputTextBoxControl.cs +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows.Forms; - -namespace OpenSim.GUI -{ - class InputTextBoxControl:System.Windows.Forms.TextBox - { - public InputTextBoxControl() - { - this.KeyDown += new System.Windows.Forms.KeyEventHandler(TextInputControl_KeyDown); - } - - private List CommandHistory = new List(); - private bool InHistory = false; - private int HistoryPosition = -1; - - void TextInputControl_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter && InHistory == false) - { - CommandHistory.Add(this.Text); - } - - if (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down) - { - // if not inside buffer, enter - // InBuffer = true - //Console.WriteLine("History: Check"); - if (InHistory == false) - { - if (this.Text != "") - { - //Console.WriteLine("History: Add"); - CommandHistory.Add(this.Text); - HistoryPosition = CommandHistory.Count; - } - else - { - //HistoryPosition = CommandHistory.Count + 1; - } - //Console.WriteLine("History: InHistory"); - InHistory = true; - } - - if (e.KeyCode == Keys.Up) - HistoryPosition -= 1; - if (e.KeyCode == Keys.Down) - HistoryPosition += 1; - - if (HistoryPosition > CommandHistory.Count - 1) - HistoryPosition = -1; - if (HistoryPosition < -1) - HistoryPosition = CommandHistory.Count - 1; - - //Console.WriteLine("History: Pos: " + HistoryPosition); - //Console.WriteLine("History: HaveInHistCount: " + CommandHistory.Count); - if (CommandHistory.Count != 0) - { - if (HistoryPosition != -1) - { - //Console.WriteLine("History: Getting"); - //this.Text = CommandHistory.Item(HistoryPosition); - this.Text = CommandHistory[HistoryPosition]; - this.SelectionStart = this.Text.Length; - this.SelectionLength = 0; - } - else - { - //Console.WriteLine("History: Nothing"); - this.Text = ""; - } - } - e.Handled = true; - } - else - { - InHistory = false; - HistoryPosition = -1; - } - } - } -} diff --git a/OpenSim/Tools/OpenSim.GUI/Main.Designer.cs b/OpenSim/Tools/OpenSim.GUI/Main.Designer.cs deleted file mode 100644 index af29bce08c..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Main.Designer.cs +++ /dev/null @@ -1,1434 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -namespace OpenSim.GUI -{ - partial class Main - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.timer1 = new System.Windows.Forms.Timer(this.components); - this.clientBox1 = new System.Windows.Forms.TextBox(); - this.btnStart = new System.Windows.Forms.Button(); - this.btnStop = new System.Windows.Forms.Button(); - this.rbGridRegionMode = new System.Windows.Forms.RadioButton(); - this.rbStandAloneMode = new System.Windows.Forms.RadioButton(); - this.rbGridServer = new System.Windows.Forms.RadioButton(); - this.Launch1 = new System.Windows.Forms.Button(); - this.gbLog = new System.Windows.Forms.GroupBox(); - this.tabLogs = new System.Windows.Forms.TabControl(); - this.tabMainLog = new System.Windows.Forms.TabPage(); - this.txtMainLog = new System.Windows.Forms.TextBox(); - this.tabRegionServer = new System.Windows.Forms.TabPage(); - this.txtInputRegionServer = new OpenSim.GUI.InputTextBoxControl(); - this.label1 = new System.Windows.Forms.Label(); - this.txtOpenSim = new System.Windows.Forms.TextBox(); - this.tabUserServer = new System.Windows.Forms.TabPage(); - this.txtInputUserServer = new OpenSim.GUI.InputTextBoxControl(); - this.label2 = new System.Windows.Forms.Label(); - this.txtUserServer = new System.Windows.Forms.TextBox(); - this.tabAssetServer = new System.Windows.Forms.TabPage(); - this.txtInputAssetServer = new OpenSim.GUI.InputTextBoxControl(); - this.label3 = new System.Windows.Forms.Label(); - this.txtAssetServer = new System.Windows.Forms.TextBox(); - this.tabGridServer = new System.Windows.Forms.TabPage(); - this.txtInputGridServer = new OpenSim.GUI.InputTextBoxControl(); - this.label4 = new System.Windows.Forms.Label(); - this.txtGridServer = new System.Windows.Forms.TextBox(); - this.label5 = new System.Windows.Forms.Label(); - this.noProbe1 = new System.Windows.Forms.CheckBox(); - this.label6 = new System.Windows.Forms.Label(); - this.multiple1 = new System.Windows.Forms.CheckBox(); - this.label7 = new System.Windows.Forms.Label(); - this.noMultiple1 = new System.Windows.Forms.CheckBox(); - this.ignorepixeldepth1 = new System.Windows.Forms.CheckBox(); - this.nothread1 = new System.Windows.Forms.CheckBox(); - this.safe1 = new System.Windows.Forms.CheckBox(); - this.noconsole1 = new System.Windows.Forms.CheckBox(); - this.log1 = new System.Windows.Forms.CheckBox(); - this.helperuri1 = new System.Windows.Forms.CheckBox(); - this.autologin1 = new System.Windows.Forms.CheckBox(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.dialog1 = new System.Windows.Forms.CheckBox(); - this.previous1 = new System.Windows.Forms.CheckBox(); - this.simple1 = new System.Windows.Forms.CheckBox(); - this.noinvlib1 = new System.Windows.Forms.CheckBox(); - this.debugst1 = new System.Windows.Forms.CheckBox(); - this.spanish1 = new System.Windows.Forms.CheckBox(); - this.korean1 = new System.Windows.Forms.CheckBox(); - this.local1 = new System.Windows.Forms.CheckBox(); - this.purge1 = new System.Windows.Forms.CheckBox(); - this.nofmod1 = new System.Windows.Forms.CheckBox(); - this.noaudio1 = new System.Windows.Forms.CheckBox(); - this.nosound1 = new System.Windows.Forms.CheckBox(); - this.url1 = new System.Windows.Forms.CheckBox(); - this.port1 = new System.Windows.Forms.CheckBox(); - this.simBox1 = new System.Windows.Forms.TextBox(); - this.portBox1 = new System.Windows.Forms.TextBox(); - this.user1 = new System.Windows.Forms.CheckBox(); - this.quitAfter1 = new System.Windows.Forms.CheckBox(); - this.techTag1 = new System.Windows.Forms.CheckBox(); - this.yield1 = new System.Windows.Forms.CheckBox(); - this.logfile1 = new System.Windows.Forms.CheckBox(); - this.settings1 = new System.Windows.Forms.CheckBox(); - this.outbw1 = new System.Windows.Forms.CheckBox(); - this.inbw1 = new System.Windows.Forms.CheckBox(); - this.drop1 = new System.Windows.Forms.CheckBox(); - this.dropBox1 = new System.Windows.Forms.TextBox(); - this.inbwBox1 = new System.Windows.Forms.TextBox(); - this.outbwBox1 = new System.Windows.Forms.TextBox(); - this.settingsBox1 = new System.Windows.Forms.TextBox(); - this.logfileBox1 = new System.Windows.Forms.TextBox(); - this.yieldBox1 = new System.Windows.Forms.TextBox(); - this.techtagBox1 = new System.Windows.Forms.TextBox(); - this.quitafterBox1 = new System.Windows.Forms.TextBox(); - this.comboBox1 = new System.Windows.Forms.ComboBox(); - this.loginuri1 = new System.Windows.Forms.CheckBox(); - this.loginuriBox1 = new System.Windows.Forms.TextBox(); - this.set1 = new System.Windows.Forms.CheckBox(); - this.setBox1 = new System.Windows.Forms.TextBox(); - this.errmask1 = new System.Windows.Forms.CheckBox(); - this.skin1 = new System.Windows.Forms.CheckBox(); - this.login1 = new System.Windows.Forms.CheckBox(); - this.errmaskBox1 = new System.Windows.Forms.TextBox(); - this.skinBox1 = new System.Windows.Forms.TextBox(); - this.firstBox1 = new System.Windows.Forms.TextBox(); - this.lastBox1 = new System.Windows.Forms.TextBox(); - this.noutc1 = new System.Windows.Forms.CheckBox(); - this.passBox1 = new System.Windows.Forms.TextBox(); - this.raw1 = new System.Windows.Forms.CheckBox(); - this.rawBox1 = new System.Windows.Forms.TextBox(); - this.clear1 = new System.Windows.Forms.Button(); - this.nataddress1 = new System.Windows.Forms.TextBox(); - this.label8 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.exeBox1 = new System.Windows.Forms.TextBox(); - this.label10 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.label12 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.menuStrip1.SuspendLayout(); - this.gbLog.SuspendLayout(); - this.tabLogs.SuspendLayout(); - this.tabMainLog.SuspendLayout(); - this.tabRegionServer.SuspendLayout(); - this.tabUserServer.SuspendLayout(); - this.tabAssetServer.SuspendLayout(); - this.tabGridServer.SuspendLayout(); - this.SuspendLayout(); - // - // menuStrip1 - // - this.menuStrip1.AutoSize = false; - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.fileToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(900, 20); - this.menuStrip1.TabIndex = 7; - this.menuStrip1.Text = "menuStrip1"; - // - // fileToolStripMenuItem - // - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.exitToolStripMenuItem}); - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 16); - this.fileToolStripMenuItem.Text = "File"; - // - // exitToolStripMenuItem - // - this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(130, 22); - this.exitToolStripMenuItem.Text = "Exit Cleanly"; - this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); - // - // timer1 - // - this.timer1.Enabled = true; - // - // clientBox1 - // - this.clientBox1.Location = new System.Drawing.Point(680, 27); - this.clientBox1.Name = "clientBox1"; - this.clientBox1.Size = new System.Drawing.Size(213, 20); - this.clientBox1.TabIndex = 8; - this.clientBox1.Text = "C://Secondlife//"; - // - // btnStart - // - this.btnStart.Location = new System.Drawing.Point(7, 366); - this.btnStart.Name = "btnStart"; - this.btnStart.Size = new System.Drawing.Size(80, 23); - this.btnStart.TabIndex = 2; - this.btnStart.Text = "Start"; - this.btnStart.UseVisualStyleBackColor = true; - this.btnStart.Click += new System.EventHandler(this.btnStart_Click); - // - // btnStop - // - this.btnStop.Location = new System.Drawing.Point(92, 366); - this.btnStop.Name = "btnStop"; - this.btnStop.Size = new System.Drawing.Size(80, 23); - this.btnStop.TabIndex = 3; - this.btnStop.Text = "Stop"; - this.btnStop.UseVisualStyleBackColor = true; - this.btnStop.Click += new System.EventHandler(this.btnStop_Click); - // - // rbGridRegionMode - // - this.rbGridRegionMode.AutoSize = true; - this.rbGridRegionMode.Location = new System.Drawing.Point(96, 27); - this.rbGridRegionMode.Name = "rbGridRegionMode"; - this.rbGridRegionMode.Size = new System.Drawing.Size(76, 17); - this.rbGridRegionMode.TabIndex = 4; - this.rbGridRegionMode.Text = "Grid region"; - this.rbGridRegionMode.UseVisualStyleBackColor = true; - this.rbGridRegionMode.CheckedChanged += new System.EventHandler(this.rbGridRegionMode_CheckedChanged); - // - // rbStandAloneMode - // - this.rbStandAloneMode.AutoSize = true; - this.rbStandAloneMode.Checked = true; - this.rbStandAloneMode.Location = new System.Drawing.Point(8, 27); - this.rbStandAloneMode.Name = "rbStandAloneMode"; - this.rbStandAloneMode.Size = new System.Drawing.Size(82, 17); - this.rbStandAloneMode.TabIndex = 5; - this.rbStandAloneMode.TabStop = true; - this.rbStandAloneMode.Text = "Stand alone"; - this.rbStandAloneMode.UseVisualStyleBackColor = true; - this.rbStandAloneMode.CheckedChanged += new System.EventHandler(this.rbStandAloneMode_CheckedChanged); - // - // rbGridServer - // - this.rbGridServer.AutoSize = true; - this.rbGridServer.Location = new System.Drawing.Point(178, 27); - this.rbGridServer.Name = "rbGridServer"; - this.rbGridServer.Size = new System.Drawing.Size(76, 17); - this.rbGridServer.TabIndex = 6; - this.rbGridServer.Text = "Grid server"; - this.rbGridServer.UseVisualStyleBackColor = true; - this.rbGridServer.CheckedChanged += new System.EventHandler(this.rbGridServer_CheckedChanged); - // - // Launch1 - // - this.Launch1.Location = new System.Drawing.Point(264, 366); - this.Launch1.Name = "Launch1"; - this.Launch1.Size = new System.Drawing.Size(80, 23); - this.Launch1.TabIndex = 9; - this.Launch1.Text = "Client Launch"; - this.Launch1.UseVisualStyleBackColor = true; - this.Launch1.Click += new System.EventHandler(this.Launch1_Click); - // - // gbLog - // - this.gbLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.gbLog.Controls.Add(this.tabLogs); - this.gbLog.Location = new System.Drawing.Point(8, 50); - this.gbLog.Name = "gbLog"; - this.gbLog.Size = new System.Drawing.Size(345, 310); - this.gbLog.TabIndex = 1; - this.gbLog.TabStop = false; - this.gbLog.Text = "Logs"; - // - // tabLogs - // - this.tabLogs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tabLogs.Controls.Add(this.tabMainLog); - this.tabLogs.Controls.Add(this.tabRegionServer); - this.tabLogs.Controls.Add(this.tabUserServer); - this.tabLogs.Controls.Add(this.tabAssetServer); - this.tabLogs.Controls.Add(this.tabGridServer); - this.tabLogs.Location = new System.Drawing.Point(6, 19); - this.tabLogs.Name = "tabLogs"; - this.tabLogs.SelectedIndex = 0; - this.tabLogs.Size = new System.Drawing.Size(333, 285); - this.tabLogs.TabIndex = 0; - // - // tabMainLog - // - this.tabMainLog.Controls.Add(this.txtMainLog); - this.tabMainLog.Location = new System.Drawing.Point(4, 22); - this.tabMainLog.Name = "tabMainLog"; - this.tabMainLog.Size = new System.Drawing.Size(325, 259); - this.tabMainLog.TabIndex = 4; - this.tabMainLog.Text = "Main log"; - this.tabMainLog.UseVisualStyleBackColor = true; - // - // txtMainLog - // - this.txtMainLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtMainLog.Location = new System.Drawing.Point(0, 0); - this.txtMainLog.Multiline = true; - this.txtMainLog.Name = "txtMainLog"; - this.txtMainLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtMainLog.Size = new System.Drawing.Size(325, 259); - this.txtMainLog.TabIndex = 1; - // - // tabRegionServer - // - this.tabRegionServer.Controls.Add(this.txtInputRegionServer); - this.tabRegionServer.Controls.Add(this.label1); - this.tabRegionServer.Controls.Add(this.txtOpenSim); - this.tabRegionServer.Location = new System.Drawing.Point(4, 22); - this.tabRegionServer.Name = "tabRegionServer"; - this.tabRegionServer.Padding = new System.Windows.Forms.Padding(3); - this.tabRegionServer.Size = new System.Drawing.Size(325, 259); - this.tabRegionServer.TabIndex = 0; - this.tabRegionServer.Text = "Region server"; - this.tabRegionServer.UseVisualStyleBackColor = true; - // - // txtInputRegionServer - // - this.txtInputRegionServer.Location = new System.Drawing.Point(53, 239); - this.txtInputRegionServer.Name = "txtInputRegionServer"; - this.txtInputRegionServer.Size = new System.Drawing.Size(272, 20); - this.txtInputRegionServer.TabIndex = 5; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(0, 242); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(57, 13); - this.label1.TabIndex = 4; - this.label1.Text = "Command:"; - // - // txtOpenSim - // - this.txtOpenSim.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtOpenSim.Location = new System.Drawing.Point(0, 0); - this.txtOpenSim.Multiline = true; - this.txtOpenSim.Name = "txtOpenSim"; - this.txtOpenSim.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtOpenSim.Size = new System.Drawing.Size(325, 236); - this.txtOpenSim.TabIndex = 0; - // - // tabUserServer - // - this.tabUserServer.Controls.Add(this.txtInputUserServer); - this.tabUserServer.Controls.Add(this.label2); - this.tabUserServer.Controls.Add(this.txtUserServer); - this.tabUserServer.Location = new System.Drawing.Point(4, 22); - this.tabUserServer.Name = "tabUserServer"; - this.tabUserServer.Padding = new System.Windows.Forms.Padding(3); - this.tabUserServer.Size = new System.Drawing.Size(325, 259); - this.tabUserServer.TabIndex = 1; - this.tabUserServer.Text = "User server"; - this.tabUserServer.UseVisualStyleBackColor = true; - // - // txtInputUserServer - // - this.txtInputUserServer.Location = new System.Drawing.Point(53, 239); - this.txtInputUserServer.Name = "txtInputUserServer"; - this.txtInputUserServer.Size = new System.Drawing.Size(272, 20); - this.txtInputUserServer.TabIndex = 7; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(0, 242); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(57, 13); - this.label2.TabIndex = 6; - this.label2.Text = "Command:"; - // - // txtUserServer - // - this.txtUserServer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtUserServer.Location = new System.Drawing.Point(0, 0); - this.txtUserServer.Multiline = true; - this.txtUserServer.Name = "txtUserServer"; - this.txtUserServer.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtUserServer.Size = new System.Drawing.Size(325, 236); - this.txtUserServer.TabIndex = 1; - // - // tabAssetServer - // - this.tabAssetServer.Controls.Add(this.txtInputAssetServer); - this.tabAssetServer.Controls.Add(this.label3); - this.tabAssetServer.Controls.Add(this.txtAssetServer); - this.tabAssetServer.Location = new System.Drawing.Point(4, 22); - this.tabAssetServer.Name = "tabAssetServer"; - this.tabAssetServer.Size = new System.Drawing.Size(325, 259); - this.tabAssetServer.TabIndex = 2; - this.tabAssetServer.Text = "Asset server"; - this.tabAssetServer.UseVisualStyleBackColor = true; - // - // txtInputAssetServer - // - this.txtInputAssetServer.Location = new System.Drawing.Point(53, 239); - this.txtInputAssetServer.Name = "txtInputAssetServer"; - this.txtInputAssetServer.Size = new System.Drawing.Size(272, 20); - this.txtInputAssetServer.TabIndex = 7; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(0, 242); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(57, 13); - this.label3.TabIndex = 6; - this.label3.Text = "Command:"; - // - // txtAssetServer - // - this.txtAssetServer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtAssetServer.Location = new System.Drawing.Point(0, 0); - this.txtAssetServer.Multiline = true; - this.txtAssetServer.Name = "txtAssetServer"; - this.txtAssetServer.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtAssetServer.Size = new System.Drawing.Size(325, 236); - this.txtAssetServer.TabIndex = 1; - // - // tabGridServer - // - this.tabGridServer.Controls.Add(this.txtInputGridServer); - this.tabGridServer.Controls.Add(this.label4); - this.tabGridServer.Controls.Add(this.txtGridServer); - this.tabGridServer.Location = new System.Drawing.Point(4, 22); - this.tabGridServer.Name = "tabGridServer"; - this.tabGridServer.Size = new System.Drawing.Size(325, 259); - this.tabGridServer.TabIndex = 3; - this.tabGridServer.Text = "Grid server"; - this.tabGridServer.UseVisualStyleBackColor = true; - // - // txtInputGridServer - // - this.txtInputGridServer.Location = new System.Drawing.Point(53, 239); - this.txtInputGridServer.Name = "txtInputGridServer"; - this.txtInputGridServer.Size = new System.Drawing.Size(272, 20); - this.txtInputGridServer.TabIndex = 7; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(0, 242); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(57, 13); - this.label4.TabIndex = 6; - this.label4.Text = "Command:"; - // - // txtGridServer - // - this.txtGridServer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtGridServer.Location = new System.Drawing.Point(0, 0); - this.txtGridServer.Multiline = true; - this.txtGridServer.Name = "txtGridServer"; - this.txtGridServer.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtGridServer.Size = new System.Drawing.Size(325, 236); - this.txtGridServer.TabIndex = 1; - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label5.Location = new System.Drawing.Point(460, 55); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(205, 20); - this.label5.TabIndex = 11; - this.label5.Text = "Command Line Switches"; - // - // noProbe1 - // - this.noProbe1.AutoSize = true; - this.noProbe1.Location = new System.Drawing.Point(359, 275); - this.noProbe1.Name = "noProbe1"; - this.noProbe1.Size = new System.Drawing.Size(68, 17); - this.noProbe1.TabIndex = 12; - this.noProbe1.Text = "-noprobe"; - this.toolTip1.SetToolTip(this.noProbe1, "disable hardware probe"); - this.noProbe1.UseVisualStyleBackColor = true; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(8, 415); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(0, 13); - this.label6.TabIndex = 14; - this.label6.Click += new System.EventHandler(this.label6_Click); - // - // multiple1 - // - this.multiple1.AutoSize = true; - this.multiple1.Location = new System.Drawing.Point(359, 185); - this.multiple1.Name = "multiple1"; - this.multiple1.Size = new System.Drawing.Size(64, 17); - this.multiple1.TabIndex = 15; - this.multiple1.Text = "-multiple"; - this.toolTip1.SetToolTip(this.multiple1, "allow multiple viewers"); - this.multiple1.UseVisualStyleBackColor = true; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label7.Location = new System.Drawing.Point(8, 396); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(338, 13); - this.label7.TabIndex = 16; - this.label7.Text = "Client Command Line String Used and Program Messages :"; - // - // noMultiple1 - // - this.noMultiple1.AutoSize = true; - this.noMultiple1.Location = new System.Drawing.Point(359, 260); - this.noMultiple1.Name = "noMultiple1"; - this.noMultiple1.Size = new System.Drawing.Size(76, 17); - this.noMultiple1.TabIndex = 17; - this.noMultiple1.Text = "-nomultiple"; - this.toolTip1.SetToolTip(this.noMultiple1, "block multiple viewers (secondlife.exe instances)"); - this.noMultiple1.UseVisualStyleBackColor = true; - // - // ignorepixeldepth1 - // - this.ignorepixeldepth1.AutoSize = true; - this.ignorepixeldepth1.Location = new System.Drawing.Point(359, 125); - this.ignorepixeldepth1.Name = "ignorepixeldepth1"; - this.ignorepixeldepth1.Size = new System.Drawing.Size(106, 17); - this.ignorepixeldepth1.TabIndex = 18; - this.ignorepixeldepth1.Text = "-ignorepixeldepth"; - this.toolTip1.SetToolTip(this.ignorepixeldepth1, "ignore pixel depth settings"); - this.ignorepixeldepth1.UseVisualStyleBackColor = true; - // - // nothread1 - // - this.nothread1.AutoSize = true; - this.nothread1.Location = new System.Drawing.Point(359, 305); - this.nothread1.Name = "nothread1"; - this.nothread1.Size = new System.Drawing.Size(71, 17); - this.nothread1.TabIndex = 19; - this.nothread1.Text = "-nothread"; - this.toolTip1.SetToolTip(this.nothread1, "run VFS (Virtual File System) in single thread"); - this.nothread1.UseVisualStyleBackColor = true; - // - // safe1 - // - this.safe1.AutoSize = true; - this.safe1.Location = new System.Drawing.Point(359, 365); - this.safe1.Name = "safe1"; - this.safe1.Size = new System.Drawing.Size(49, 17); - this.safe1.TabIndex = 20; - this.safe1.Text = "-safe"; - this.toolTip1.SetToolTip(this.safe1, "reset preferences, run in safe mode"); - this.safe1.UseVisualStyleBackColor = true; - // - // noconsole1 - // - this.noconsole1.AutoSize = true; - this.noconsole1.Location = new System.Drawing.Point(359, 215); - this.noconsole1.Name = "noconsole1"; - this.noconsole1.Size = new System.Drawing.Size(78, 17); - this.noconsole1.TabIndex = 21; - this.noconsole1.Text = "-noconsole"; - this.toolTip1.SetToolTip(this.noconsole1, "hide the console if not already hidden"); - this.noconsole1.UseVisualStyleBackColor = true; - // - // log1 - // - this.log1.AutoSize = true; - this.log1.Location = new System.Drawing.Point(359, 170); - this.log1.Name = "log1"; - this.log1.Size = new System.Drawing.Size(43, 17); - this.log1.TabIndex = 22; - this.log1.Text = "-log"; - this.toolTip1.SetToolTip(this.log1, "--no info avail--"); - this.log1.UseVisualStyleBackColor = true; - // - // helperuri1 - // - this.helperuri1.AutoSize = true; - this.helperuri1.Location = new System.Drawing.Point(359, 110); - this.helperuri1.Name = "helperuri1"; - this.helperuri1.Size = new System.Drawing.Size(69, 17); - this.helperuri1.TabIndex = 23; - this.helperuri1.Text = "-helperuri"; - this.toolTip1.SetToolTip(this.helperuri1, "--no info avail--"); - this.helperuri1.UseVisualStyleBackColor = true; - // - // autologin1 - // - this.autologin1.AutoSize = true; - this.autologin1.Location = new System.Drawing.Point(359, 65); - this.autologin1.Name = "autologin1"; - this.autologin1.Size = new System.Drawing.Size(75, 17); - this.autologin1.TabIndex = 24; - this.autologin1.Text = "--autologin"; - this.toolTip1.SetToolTip(this.autologin1, "--no info avail--"); - this.autologin1.UseVisualStyleBackColor = true; - // - // dialog1 - // - this.dialog1.AutoSize = true; - this.dialog1.Location = new System.Drawing.Point(359, 95); - this.dialog1.Name = "dialog1"; - this.dialog1.Size = new System.Drawing.Size(57, 17); - this.dialog1.TabIndex = 25; - this.dialog1.Text = "-dialog"; - this.toolTip1.SetToolTip(this.dialog1, "some arcane dialog box that is impossible to raise"); - this.dialog1.UseVisualStyleBackColor = true; - // - // previous1 - // - this.previous1.AutoSize = true; - this.previous1.Location = new System.Drawing.Point(359, 335); - this.previous1.Name = "previous1"; - this.previous1.Size = new System.Drawing.Size(69, 17); - this.previous1.TabIndex = 26; - this.previous1.Text = "-previous"; - this.toolTip1.SetToolTip(this.previous1, "--no info avail--"); - this.previous1.UseVisualStyleBackColor = true; - // - // simple1 - // - this.simple1.AutoSize = true; - this.simple1.Location = new System.Drawing.Point(359, 380); - this.simple1.Name = "simple1"; - this.simple1.Size = new System.Drawing.Size(58, 17); - this.simple1.TabIndex = 27; - this.simple1.Text = "-simple"; - this.toolTip1.SetToolTip(this.simple1, "--no info avail--"); - this.simple1.UseVisualStyleBackColor = true; - // - // noinvlib1 - // - this.noinvlib1.AutoSize = true; - this.noinvlib1.Location = new System.Drawing.Point(359, 245); - this.noinvlib1.Name = "noinvlib1"; - this.noinvlib1.Size = new System.Drawing.Size(65, 17); - this.noinvlib1.TabIndex = 28; - this.noinvlib1.Text = "-noinvlib"; - this.toolTip1.SetToolTip(this.noinvlib1, "do not request inventory library"); - this.noinvlib1.UseVisualStyleBackColor = true; - // - // debugst1 - // - this.debugst1.AutoSize = true; - this.debugst1.Location = new System.Drawing.Point(359, 80); - this.debugst1.Name = "debugst1"; - this.debugst1.Size = new System.Drawing.Size(67, 17); - this.debugst1.TabIndex = 30; - this.debugst1.Text = "-debugst"; - this.toolTip1.SetToolTip(this.debugst1, "debug mask"); - this.debugst1.UseVisualStyleBackColor = true; - // - // spanish1 - // - this.spanish1.AutoSize = true; - this.spanish1.Location = new System.Drawing.Point(359, 395); - this.spanish1.Name = "spanish1"; - this.spanish1.Size = new System.Drawing.Size(65, 17); - this.spanish1.TabIndex = 31; - this.spanish1.Text = "-spanish"; - this.toolTip1.SetToolTip(this.spanish1, "activate (incomplete) Spanish UI translation"); - this.spanish1.UseVisualStyleBackColor = true; - // - // korean1 - // - this.korean1.AutoSize = true; - this.korean1.Location = new System.Drawing.Point(359, 140); - this.korean1.Name = "korean1"; - this.korean1.Size = new System.Drawing.Size(62, 17); - this.korean1.TabIndex = 32; - this.korean1.Text = "-korean"; - this.toolTip1.SetToolTip(this.korean1, "activate (incomplete) Korean UI translation"); - this.korean1.UseVisualStyleBackColor = true; - // - // local1 - // - this.local1.AutoSize = true; - this.local1.Location = new System.Drawing.Point(359, 155); - this.local1.Name = "local1"; - this.local1.Size = new System.Drawing.Size(51, 17); - this.local1.TabIndex = 46; - this.local1.Text = "-local"; - this.toolTip1.SetToolTip(this.local1, "run without simulator"); - this.local1.UseVisualStyleBackColor = true; - // - // purge1 - // - this.purge1.AutoSize = true; - this.purge1.Location = new System.Drawing.Point(359, 350); - this.purge1.Name = "purge1"; - this.purge1.Size = new System.Drawing.Size(56, 17); - this.purge1.TabIndex = 56; - this.purge1.Text = "-purge"; - this.toolTip1.SetToolTip(this.purge1, "delete files in cache"); - this.purge1.UseVisualStyleBackColor = true; - // - // nofmod1 - // - this.nofmod1.AutoSize = true; - this.nofmod1.Location = new System.Drawing.Point(359, 230); - this.nofmod1.Name = "nofmod1"; - this.nofmod1.Size = new System.Drawing.Size(64, 17); - this.nofmod1.TabIndex = 45; - this.nofmod1.Text = "-nofmod"; - this.toolTip1.SetToolTip(this.nofmod1, "FMOD is the API used to distort sound while moving"); - this.nofmod1.UseVisualStyleBackColor = true; - // - // noaudio1 - // - this.noaudio1.AutoSize = true; - this.noaudio1.Location = new System.Drawing.Point(359, 200); - this.noaudio1.Name = "noaudio1"; - this.noaudio1.Size = new System.Drawing.Size(67, 17); - this.noaudio1.TabIndex = 44; - this.noaudio1.Text = "-noaudio"; - this.toolTip1.SetToolTip(this.noaudio1, "no audio, different from -nosound?"); - this.noaudio1.UseVisualStyleBackColor = true; - // - // nosound1 - // - this.nosound1.AutoSize = true; - this.nosound1.Location = new System.Drawing.Point(359, 290); - this.nosound1.Name = "nosound1"; - this.nosound1.Size = new System.Drawing.Size(70, 17); - this.nosound1.TabIndex = 55; - this.nosound1.Text = "-nosound"; - this.toolTip1.SetToolTip(this.nosound1, "no sound, different from -noaudio?"); - this.nosound1.UseVisualStyleBackColor = true; - // - // url1 - // - this.url1.AutoSize = true; - this.url1.Location = new System.Drawing.Point(488, 245); - this.url1.Name = "url1"; - this.url1.Size = new System.Drawing.Size(40, 17); - this.url1.TabIndex = 43; - this.url1.Text = "-url"; - this.toolTip1.SetToolTip(this.url1, "handles secondlife://sim/x/y/z URLs"); - this.url1.UseVisualStyleBackColor = true; - // - // port1 - // - this.port1.AutoSize = true; - this.port1.Location = new System.Drawing.Point(488, 171); - this.port1.Name = "port1"; - this.port1.Size = new System.Drawing.Size(47, 17); - this.port1.TabIndex = 49; - this.port1.Text = "-port"; - this.toolTip1.SetToolTip(this.port1, "Set the TCP port for the client; useful to run multiple instances of SL on the sa" + - "me local home network. Values that may work: 13000 and 13001 (Valid numbers are " + - "13000 to 13050)"); - this.port1.UseVisualStyleBackColor = true; - // - // simBox1 - // - this.simBox1.Location = new System.Drawing.Point(549, 243); - this.simBox1.Name = "simBox1"; - this.simBox1.Size = new System.Drawing.Size(344, 20); - this.simBox1.TabIndex = 66; - this.simBox1.Text = "secondlife://lutra/127/128/60"; - this.toolTip1.SetToolTip(this.simBox1, "type URL here"); - // - // portBox1 - // - this.portBox1.Location = new System.Drawing.Point(549, 169); - this.portBox1.Name = "portBox1"; - this.portBox1.Size = new System.Drawing.Size(58, 20); - this.portBox1.TabIndex = 67; - this.portBox1.Text = "13000"; - this.toolTip1.SetToolTip(this.portBox1, "enter port number here"); - // - // user1 - // - this.user1.AutoSize = true; - this.user1.Location = new System.Drawing.Point(488, 191); - this.user1.Name = "user1"; - this.user1.Size = new System.Drawing.Size(49, 17); - this.user1.TabIndex = 42; - this.user1.Text = "-user"; - this.user1.ThreeState = true; - this.toolTip1.SetToolTip(this.user1, "specify user server in dotted quad"); - this.user1.UseVisualStyleBackColor = true; - // - // quitAfter1 - // - this.quitAfter1.AutoSize = true; - this.quitAfter1.Location = new System.Drawing.Point(680, 65); - this.quitAfter1.Name = "quitAfter1"; - this.quitAfter1.Size = new System.Drawing.Size(67, 17); - this.quitAfter1.TabIndex = 41; - this.quitAfter1.Text = "-quitafter"; - this.toolTip1.SetToolTip(this.quitAfter1, "SL quits after elapsed time in seconds"); - this.quitAfter1.UseVisualStyleBackColor = true; - // - // techTag1 - // - this.techTag1.AutoSize = true; - this.techTag1.Location = new System.Drawing.Point(488, 211); - this.techTag1.Name = "techTag1"; - this.techTag1.Size = new System.Drawing.Size(65, 17); - this.techTag1.TabIndex = 47; - this.techTag1.Text = "-techtag"; - this.toolTip1.SetToolTip(this.techTag1, "unknown (but requires a parameter)"); - this.techTag1.UseVisualStyleBackColor = true; - // - // yield1 - // - this.yield1.AutoSize = true; - this.yield1.Location = new System.Drawing.Point(488, 91); - this.yield1.Name = "yield1"; - this.yield1.Size = new System.Drawing.Size(50, 17); - this.yield1.TabIndex = 48; - this.yield1.Text = "-yield"; - this.toolTip1.SetToolTip(this.yield1, "yield some idle time to local host (changed from - cooperative)"); - this.yield1.UseVisualStyleBackColor = true; - // - // logfile1 - // - this.logfile1.AutoSize = true; - this.logfile1.Location = new System.Drawing.Point(680, 125); - this.logfile1.Name = "logfile1"; - this.logfile1.Size = new System.Drawing.Size(56, 17); - this.logfile1.TabIndex = 54; - this.logfile1.Text = "-logfile"; - this.toolTip1.SetToolTip(this.logfile1, "change the log filename"); - this.logfile1.UseVisualStyleBackColor = true; - // - // settings1 - // - this.settings1.AutoSize = true; - this.settings1.Location = new System.Drawing.Point(680, 95); - this.settings1.Name = "settings1"; - this.settings1.Size = new System.Drawing.Size(65, 17); - this.settings1.TabIndex = 53; - this.settings1.Text = "-settings"; - this.toolTip1.SetToolTip(this.settings1, "specify configuration filename; default is \"settings.ini\""); - this.settings1.UseVisualStyleBackColor = true; - // - // outbw1 - // - this.outbw1.AutoSize = true; - this.outbw1.Location = new System.Drawing.Point(488, 111); - this.outbw1.Name = "outbw1"; - this.outbw1.Size = new System.Drawing.Size(58, 17); - this.outbw1.TabIndex = 52; - this.outbw1.Text = "-outbw"; - this.toolTip1.SetToolTip(this.outbw1, "set outgoing bandwidth"); - this.outbw1.UseVisualStyleBackColor = true; - // - // inbw1 - // - this.inbw1.AutoSize = true; - this.inbw1.Location = new System.Drawing.Point(488, 131); - this.inbw1.Name = "inbw1"; - this.inbw1.Size = new System.Drawing.Size(51, 17); - this.inbw1.TabIndex = 51; - this.inbw1.Text = "-inbw"; - this.toolTip1.SetToolTip(this.inbw1, "set incoming bandwidth"); - this.inbw1.UseVisualStyleBackColor = true; - // - // drop1 - // - this.drop1.AutoSize = true; - this.drop1.Location = new System.Drawing.Point(488, 151); - this.drop1.Name = "drop1"; - this.drop1.Size = new System.Drawing.Size(50, 17); - this.drop1.TabIndex = 50; - this.drop1.Text = "-drop"; - this.toolTip1.SetToolTip(this.drop1, "drop number% of incoming network packets"); - this.drop1.UseVisualStyleBackColor = true; - // - // dropBox1 - // - this.dropBox1.Location = new System.Drawing.Point(549, 149); - this.dropBox1.Name = "dropBox1"; - this.dropBox1.Size = new System.Drawing.Size(58, 20); - this.dropBox1.TabIndex = 68; - this.dropBox1.Text = "0"; - this.toolTip1.SetToolTip(this.dropBox1, "enter percent of packets to drop"); - // - // inbwBox1 - // - this.inbwBox1.Location = new System.Drawing.Point(549, 129); - this.inbwBox1.Name = "inbwBox1"; - this.inbwBox1.Size = new System.Drawing.Size(57, 20); - this.inbwBox1.TabIndex = 69; - this.toolTip1.SetToolTip(this.inbwBox1, "enter incoming cap"); - // - // outbwBox1 - // - this.outbwBox1.Location = new System.Drawing.Point(549, 109); - this.outbwBox1.Name = "outbwBox1"; - this.outbwBox1.Size = new System.Drawing.Size(58, 20); - this.outbwBox1.TabIndex = 70; - this.toolTip1.SetToolTip(this.outbwBox1, "enter outgoing cap"); - // - // settingsBox1 - // - this.settingsBox1.Location = new System.Drawing.Point(741, 93); - this.settingsBox1.Name = "settingsBox1"; - this.settingsBox1.Size = new System.Drawing.Size(152, 20); - this.settingsBox1.TabIndex = 71; - this.settingsBox1.Text = "settings.ini"; - this.toolTip1.SetToolTip(this.settingsBox1, "enter settings file name"); - // - // logfileBox1 - // - this.logfileBox1.Location = new System.Drawing.Point(733, 123); - this.logfileBox1.Name = "logfileBox1"; - this.logfileBox1.Size = new System.Drawing.Size(160, 20); - this.logfileBox1.TabIndex = 72; - this.logfileBox1.Text = "mylogfile.txt"; - this.toolTip1.SetToolTip(this.logfileBox1, "enter log file name here"); - // - // yieldBox1 - // - this.yieldBox1.Location = new System.Drawing.Point(549, 89); - this.yieldBox1.Name = "yieldBox1"; - this.yieldBox1.Size = new System.Drawing.Size(58, 20); - this.yieldBox1.TabIndex = 73; - this.toolTip1.SetToolTip(this.yieldBox1, "enter time to yield in "); - // - // techtagBox1 - // - this.techtagBox1.Location = new System.Drawing.Point(549, 209); - this.techtagBox1.Name = "techtagBox1"; - this.techtagBox1.Size = new System.Drawing.Size(58, 20); - this.techtagBox1.TabIndex = 74; - this.toolTip1.SetToolTip(this.techtagBox1, "enter unknown param here"); - // - // quitafterBox1 - // - this.quitafterBox1.Location = new System.Drawing.Point(745, 63); - this.quitafterBox1.Name = "quitafterBox1"; - this.quitafterBox1.Size = new System.Drawing.Size(148, 20); - this.quitafterBox1.TabIndex = 75; - this.toolTip1.SetToolTip(this.quitafterBox1, "enter time in seconds"); - // - // comboBox1 - // - this.comboBox1.FormattingEnabled = true; - this.comboBox1.Items.AddRange(new object[] { - "agni", - "colo", - "dmz", - "durga", - "siva"}); - this.comboBox1.Location = new System.Drawing.Point(549, 189); - this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(58, 21); - this.comboBox1.TabIndex = 76; - this.comboBox1.Text = "agni"; - this.toolTip1.SetToolTip(this.comboBox1, "select LL user server"); - // - // loginuri1 - // - this.loginuri1.AutoSize = true; - this.loginuri1.Location = new System.Drawing.Point(488, 275); - this.loginuri1.Name = "loginuri1"; - this.loginuri1.Size = new System.Drawing.Size(62, 17); - this.loginuri1.TabIndex = 77; - this.loginuri1.Text = "-loginuri"; - this.toolTip1.SetToolTip(this.loginuri1, "login server and CGI script to use"); - this.loginuri1.UseVisualStyleBackColor = true; - // - // loginuriBox1 - // - this.loginuriBox1.Location = new System.Drawing.Point(549, 273); - this.loginuriBox1.Name = "loginuriBox1"; - this.loginuriBox1.Size = new System.Drawing.Size(344, 20); - this.loginuriBox1.TabIndex = 78; - this.loginuriBox1.Text = "localhost:9000"; - this.toolTip1.SetToolTip(this.loginuriBox1, "enter login url here"); - // - // set1 - // - this.set1.AutoSize = true; - this.set1.Location = new System.Drawing.Point(636, 185); - this.set1.Name = "set1"; - this.set1.Size = new System.Drawing.Size(43, 17); - this.set1.TabIndex = 79; - this.set1.Text = "-set"; - this.toolTip1.SetToolTip(this.set1, "specify value of a particular configuration variable; can be used multiple times " + - "in a single command-line"); - this.set1.UseVisualStyleBackColor = true; - // - // setBox1 - // - this.setBox1.Location = new System.Drawing.Point(680, 183); - this.setBox1.Name = "setBox1"; - this.setBox1.Size = new System.Drawing.Size(213, 20); - this.setBox1.TabIndex = 80; - this.setBox1.Text = "SystemLanguage en-us"; - this.toolTip1.SetToolTip(this.setBox1, "enter params"); - // - // errmask1 - // - this.errmask1.AutoSize = true; - this.errmask1.Location = new System.Drawing.Point(636, 154); - this.errmask1.Name = "errmask1"; - this.errmask1.Size = new System.Drawing.Size(66, 17); - this.errmask1.TabIndex = 81; - this.errmask1.Text = "-errmask"; - this.toolTip1.SetToolTip(this.errmask1, "32-bit bitmask for error type mask"); - this.errmask1.UseVisualStyleBackColor = true; - // - // skin1 - // - this.skin1.AutoSize = true; - this.skin1.Location = new System.Drawing.Point(635, 215); - this.skin1.Name = "skin1"; - this.skin1.Size = new System.Drawing.Size(48, 17); - this.skin1.TabIndex = 82; - this.skin1.Text = "-skin"; - this.toolTip1.SetToolTip(this.skin1, "load skins//skin.xml as the default UI appearance (incomplete)"); - this.skin1.UseVisualStyleBackColor = true; - // - // login1 - // - this.login1.AutoSize = true; - this.login1.Location = new System.Drawing.Point(457, 304); - this.login1.Name = "login1"; - this.login1.Size = new System.Drawing.Size(51, 17); - this.login1.TabIndex = 83; - this.login1.Text = "-login"; - this.toolTip1.SetToolTip(this.login1, "log in as a user"); - this.login1.UseVisualStyleBackColor = true; - // - // errmaskBox1 - // - this.errmaskBox1.Location = new System.Drawing.Point(704, 153); - this.errmaskBox1.Name = "errmaskBox1"; - this.errmaskBox1.Size = new System.Drawing.Size(189, 20); - this.errmaskBox1.TabIndex = 84; - this.toolTip1.SetToolTip(this.errmaskBox1, "32-bit bitmask for error type mask"); - // - // skinBox1 - // - this.skinBox1.Location = new System.Drawing.Point(679, 213); - this.skinBox1.Name = "skinBox1"; - this.skinBox1.Size = new System.Drawing.Size(214, 20); - this.skinBox1.TabIndex = 85; - this.skinBox1.Text = "C://Secondlife//"; - this.toolTip1.SetToolTip(this.skinBox1, "enter directory where skin.xml is"); - // - // firstBox1 - // - this.firstBox1.Location = new System.Drawing.Point(549, 303); - this.firstBox1.Name = "firstBox1"; - this.firstBox1.Size = new System.Drawing.Size(80, 20); - this.firstBox1.TabIndex = 86; - this.firstBox1.Text = "Test"; - this.toolTip1.SetToolTip(this.firstBox1, "firstname"); - // - // lastBox1 - // - this.lastBox1.Location = new System.Drawing.Point(668, 303); - this.lastBox1.Name = "lastBox1"; - this.lastBox1.Size = new System.Drawing.Size(80, 20); - this.lastBox1.TabIndex = 92; - this.lastBox1.Text = "User"; - this.toolTip1.SetToolTip(this.lastBox1, "lastname"); - // - // noutc1 - // - this.noutc1.AutoSize = true; - this.noutc1.Location = new System.Drawing.Point(359, 320); - this.noutc1.Name = "noutc1"; - this.noutc1.Size = new System.Drawing.Size(56, 17); - this.noutc1.TabIndex = 29; - this.noutc1.Text = "-noutc"; - this.toolTip1.SetToolTip(this.noutc1, "logs in local time, not UTC"); - this.noutc1.UseVisualStyleBackColor = true; - // - // passBox1 - // - this.passBox1.Location = new System.Drawing.Point(790, 303); - this.passBox1.Name = "passBox1"; - this.passBox1.Size = new System.Drawing.Size(103, 20); - this.passBox1.TabIndex = 93; - this.passBox1.Text = "test"; - this.toolTip1.SetToolTip(this.passBox1, "password"); - // - // raw1 - // - this.raw1.AutoSize = true; - this.raw1.Location = new System.Drawing.Point(457, 336); - this.raw1.Name = "raw1"; - this.raw1.Size = new System.Drawing.Size(81, 17); - this.raw1.TabIndex = 94; - this.raw1.Text = "Raw CMD :"; - this.toolTip1.SetToolTip(this.raw1, "Raw CMD options, may crash everything"); - this.raw1.UseVisualStyleBackColor = true; - // - // rawBox1 - // - this.rawBox1.Location = new System.Drawing.Point(549, 333); - this.rawBox1.Name = "rawBox1"; - this.rawBox1.Size = new System.Drawing.Size(344, 20); - this.rawBox1.TabIndex = 95; - this.toolTip1.SetToolTip(this.rawBox1, "Raw CMD options, may crash everything"); - // - // clear1 - // - this.clear1.Location = new System.Drawing.Point(178, 366); - this.clear1.Name = "clear1"; - this.clear1.Size = new System.Drawing.Size(80, 23); - this.clear1.TabIndex = 96; - this.clear1.Text = "Clear"; - this.toolTip1.SetToolTip(this.clear1, "clear all switch boxes"); - this.clear1.UseVisualStyleBackColor = true; - this.clear1.Click += new System.EventHandler(this.clear1_Click); - // - // nataddress1 - // - this.nataddress1.Location = new System.Drawing.Point(457, 389); - this.nataddress1.Name = "nataddress1"; - this.nataddress1.Size = new System.Drawing.Size(436, 20); - this.nataddress1.TabIndex = 58; - this.nataddress1.Text = "UNUSED ATM"; - this.nataddress1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label8.Location = new System.Drawing.Point(588, 360); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(175, 20); - this.label8.TabIndex = 59; - this.label8.Text = "World/NAT Address :"; - // - // label9 - // - this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label9.Location = new System.Drawing.Point(633, 27); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(47, 20); - this.label9.TabIndex = 60; - this.label9.Text = "Path :"; - this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // exeBox1 - // - this.exeBox1.Location = new System.Drawing.Point(530, 27); - this.exeBox1.Name = "exeBox1"; - this.exeBox1.Size = new System.Drawing.Size(100, 20); - this.exeBox1.TabIndex = 61; - this.exeBox1.Text = "Secondlife.exe"; - // - // label10 - // - this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label10.Location = new System.Drawing.Point(392, 27); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(138, 20); - this.label10.TabIndex = 62; - this.label10.Text = "Executable Name :"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(514, 306); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(32, 13); - this.label11.TabIndex = 89; - this.label11.Text = "First :"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(632, 306); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(33, 13); - this.label12.TabIndex = 90; - this.label12.Text = "Last :"; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(751, 306); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(36, 13); - this.label13.TabIndex = 91; - this.label13.Text = "Pass :"; - // - // Main - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(900, 431); - this.Controls.Add(this.clear1); - this.Controls.Add(this.rawBox1); - this.Controls.Add(this.raw1); - this.Controls.Add(this.passBox1); - this.Controls.Add(this.lastBox1); - this.Controls.Add(this.label13); - this.Controls.Add(this.label12); - this.Controls.Add(this.label11); - this.Controls.Add(this.firstBox1); - this.Controls.Add(this.skinBox1); - this.Controls.Add(this.errmaskBox1); - this.Controls.Add(this.login1); - this.Controls.Add(this.skin1); - this.Controls.Add(this.errmask1); - this.Controls.Add(this.setBox1); - this.Controls.Add(this.set1); - this.Controls.Add(this.loginuriBox1); - this.Controls.Add(this.loginuri1); - this.Controls.Add(this.comboBox1); - this.Controls.Add(this.quitafterBox1); - this.Controls.Add(this.techtagBox1); - this.Controls.Add(this.yieldBox1); - this.Controls.Add(this.logfileBox1); - this.Controls.Add(this.settingsBox1); - this.Controls.Add(this.outbwBox1); - this.Controls.Add(this.inbwBox1); - this.Controls.Add(this.dropBox1); - this.Controls.Add(this.portBox1); - this.Controls.Add(this.simBox1); - this.Controls.Add(this.label10); - this.Controls.Add(this.exeBox1); - this.Controls.Add(this.label9); - this.Controls.Add(this.label8); - this.Controls.Add(this.nataddress1); - this.Controls.Add(this.purge1); - this.Controls.Add(this.nosound1); - this.Controls.Add(this.logfile1); - this.Controls.Add(this.settings1); - this.Controls.Add(this.outbw1); - this.Controls.Add(this.inbw1); - this.Controls.Add(this.drop1); - this.Controls.Add(this.port1); - this.Controls.Add(this.yield1); - this.Controls.Add(this.techTag1); - this.Controls.Add(this.local1); - this.Controls.Add(this.nofmod1); - this.Controls.Add(this.noaudio1); - this.Controls.Add(this.url1); - this.Controls.Add(this.user1); - this.Controls.Add(this.quitAfter1); - this.Controls.Add(this.korean1); - this.Controls.Add(this.spanish1); - this.Controls.Add(this.debugst1); - this.Controls.Add(this.noutc1); - this.Controls.Add(this.noinvlib1); - this.Controls.Add(this.simple1); - this.Controls.Add(this.previous1); - this.Controls.Add(this.dialog1); - this.Controls.Add(this.autologin1); - this.Controls.Add(this.helperuri1); - this.Controls.Add(this.log1); - this.Controls.Add(this.noconsole1); - this.Controls.Add(this.safe1); - this.Controls.Add(this.nothread1); - this.Controls.Add(this.ignorepixeldepth1); - this.Controls.Add(this.noMultiple1); - this.Controls.Add(this.label7); - this.Controls.Add(this.multiple1); - this.Controls.Add(this.label6); - this.Controls.Add(this.noProbe1); - this.Controls.Add(this.label5); - this.Controls.Add(this.Launch1); - this.Controls.Add(this.clientBox1); - this.Controls.Add(this.rbGridServer); - this.Controls.Add(this.rbStandAloneMode); - this.Controls.Add(this.rbGridRegionMode); - this.Controls.Add(this.btnStop); - this.Controls.Add(this.btnStart); - this.Controls.Add(this.gbLog); - this.Controls.Add(this.menuStrip1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; - this.MainMenuStrip = this.menuStrip1; - this.MaximizeBox = false; - this.Name = "Main"; - this.Text = "OpenSim"; - this.toolTip1.SetToolTip(this, "logs in local time, not UTC"); - this.Load += new System.EventHandler(this.Main_Load); - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); - this.gbLog.ResumeLayout(false); - this.tabLogs.ResumeLayout(false); - this.tabMainLog.ResumeLayout(false); - this.tabMainLog.PerformLayout(); - this.tabRegionServer.ResumeLayout(false); - this.tabRegionServer.PerformLayout(); - this.tabUserServer.ResumeLayout(false); - this.tabUserServer.PerformLayout(); - this.tabAssetServer.ResumeLayout(false); - this.tabAssetServer.PerformLayout(); - this.tabGridServer.ResumeLayout(false); - this.tabGridServer.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.MenuStrip menuStrip1; - private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; - private System.Windows.Forms.Timer timer1; - private System.Windows.Forms.TextBox clientBox1; - private System.Windows.Forms.Button btnStart; - private System.Windows.Forms.Button btnStop; - private System.Windows.Forms.RadioButton rbGridRegionMode; - private System.Windows.Forms.RadioButton rbStandAloneMode; - private System.Windows.Forms.RadioButton rbGridServer; - private System.Windows.Forms.Button Launch1; - private System.Windows.Forms.GroupBox gbLog; - private System.Windows.Forms.TabControl tabLogs; - private System.Windows.Forms.TabPage tabMainLog; - private System.Windows.Forms.TabPage tabRegionServer; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox txtOpenSim; - private System.Windows.Forms.TabPage tabUserServer; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.TextBox txtUserServer; - private System.Windows.Forms.TabPage tabAssetServer; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.TextBox txtAssetServer; - private System.Windows.Forms.TabPage tabGridServer; - private System.Windows.Forms.Label label4; - private System.Windows.Forms.TextBox txtGridServer; - private System.Windows.Forms.TextBox txtMainLog; - private System.Windows.Forms.Label label5; - private System.Windows.Forms.CheckBox noProbe1; - private System.Windows.Forms.Label label6; - private System.Windows.Forms.CheckBox multiple1; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.CheckBox noMultiple1; - private System.Windows.Forms.CheckBox ignorepixeldepth1; - private System.Windows.Forms.CheckBox nothread1; - private System.Windows.Forms.CheckBox safe1; - private System.Windows.Forms.CheckBox noconsole1; - private System.Windows.Forms.CheckBox log1; - private System.Windows.Forms.CheckBox helperuri1; - private System.Windows.Forms.CheckBox autologin1; - private System.Windows.Forms.ToolTip toolTip1; - private System.Windows.Forms.CheckBox dialog1; - private System.Windows.Forms.CheckBox previous1; - private System.Windows.Forms.CheckBox simple1; - private System.Windows.Forms.CheckBox noinvlib1; - private System.Windows.Forms.CheckBox noutc1; - private System.Windows.Forms.CheckBox debugst1; - private System.Windows.Forms.CheckBox spanish1; - private System.Windows.Forms.CheckBox korean1; - private System.Windows.Forms.CheckBox local1; - private System.Windows.Forms.CheckBox nofmod1; - private System.Windows.Forms.CheckBox noaudio1; - private System.Windows.Forms.CheckBox url1; - private System.Windows.Forms.CheckBox user1; - private System.Windows.Forms.CheckBox quitAfter1; - private System.Windows.Forms.CheckBox techTag1; - private System.Windows.Forms.CheckBox yield1; - private System.Windows.Forms.CheckBox purge1; - private System.Windows.Forms.CheckBox nosound1; - private System.Windows.Forms.CheckBox logfile1; - private System.Windows.Forms.CheckBox settings1; - private System.Windows.Forms.CheckBox outbw1; - private System.Windows.Forms.CheckBox inbw1; - private System.Windows.Forms.CheckBox drop1; - private System.Windows.Forms.CheckBox port1; - private System.Windows.Forms.TextBox nataddress1; - private System.Windows.Forms.Label label8; - private System.Windows.Forms.Label label9; - private System.Windows.Forms.TextBox exeBox1; - private System.Windows.Forms.Label label10; - private System.Windows.Forms.TextBox simBox1; - private System.Windows.Forms.TextBox portBox1; - private System.Windows.Forms.TextBox dropBox1; - private System.Windows.Forms.TextBox inbwBox1; - private System.Windows.Forms.TextBox outbwBox1; - private System.Windows.Forms.TextBox settingsBox1; - private System.Windows.Forms.TextBox logfileBox1; - private System.Windows.Forms.TextBox yieldBox1; - private System.Windows.Forms.TextBox techtagBox1; - private System.Windows.Forms.TextBox quitafterBox1; - private System.Windows.Forms.ComboBox comboBox1; - private System.Windows.Forms.CheckBox loginuri1; - private System.Windows.Forms.TextBox loginuriBox1; - private System.Windows.Forms.CheckBox set1; - private System.Windows.Forms.TextBox setBox1; - private System.Windows.Forms.CheckBox errmask1; - private System.Windows.Forms.CheckBox skin1; - private System.Windows.Forms.CheckBox login1; - private System.Windows.Forms.TextBox errmaskBox1; - private System.Windows.Forms.TextBox skinBox1; - private System.Windows.Forms.TextBox firstBox1; - private System.Windows.Forms.Label label11; - private System.Windows.Forms.Label label12; - private System.Windows.Forms.Label label13; - private System.Windows.Forms.TextBox lastBox1; - private System.Windows.Forms.TextBox passBox1; - private InputTextBoxControl txtInputUserServer; - private InputTextBoxControl txtInputAssetServer; - private InputTextBoxControl txtInputRegionServer; - private InputTextBoxControl txtInputGridServer; - private System.Windows.Forms.CheckBox raw1; - private System.Windows.Forms.TextBox rawBox1; - private System.Windows.Forms.Button clear1; - } -} diff --git a/OpenSim/Tools/OpenSim.GUI/Main.cs b/OpenSim/Tools/OpenSim.GUI/Main.cs deleted file mode 100644 index 9467312f73..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Main.cs +++ /dev/null @@ -1,536 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace OpenSim.GUI -{ - public partial class Main : Form - { - - public ProcessManager proc_OpenSim; - public ProcessManager proc_UserServer; - public ProcessManager proc_GridServer; - public ProcessManager proc_AssetServer; - - public Main() - { - InitializeComponent(); - } - - private void Main_Load(object sender, EventArgs e) - { - txtInputUserServer.KeyPress += new KeyPressEventHandler(txtInputUserServer_KeyPress); - txtInputGridServer.KeyPress += new KeyPressEventHandler(txtInputGridServer_KeyPress); - txtInputAssetServer.KeyPress += new KeyPressEventHandler(txtInputAssetServer_KeyPress); - txtInputRegionServer.KeyPress += new KeyPressEventHandler(txtInputRegionServer_KeyPress); - - tabLogs.Selected += new TabControlEventHandler(tabLogs_Selected); - - UpdateTabVisibility(); - } - - void tabLogs_Selected(object sender, TabControlEventArgs e) - { - if (e.TabPage == tabUserServer) - txtInputUserServer.Focus(); - if (e.TabPage == tabGridServer) - txtInputGridServer.Focus(); - if (e.TabPage == tabAssetServer) - txtInputAssetServer.Focus(); - if (e.TabPage == tabRegionServer) - txtInputRegionServer.Focus(); - } - - void txtInputUserServer_KeyPress(object sender, KeyPressEventArgs e) - { - - if (e.KeyChar == 13) - { - // We got a command - e.Handled = true; - proc_UserServer.StandardInput.WriteLine(txtInputUserServer.Text + "\r\n"); - txtInputUserServer.Text = ""; - } - } - - void txtInputGridServer_KeyPress(object sender, KeyPressEventArgs e) - { - if (e.KeyChar == 13) - { - // We got a command - e.Handled = true; - proc_GridServer.StandardInput.WriteLine(txtInputGridServer.Text + "\r\n"); - txtInputGridServer.Text = ""; - } - } - - void txtInputAssetServer_KeyPress(object sender, KeyPressEventArgs e) - { - if (e.KeyChar == 13) - { - // We got a command - e.Handled = true; - proc_AssetServer.StandardInput.WriteLine(txtInputAssetServer.Text + "\r\n"); - txtInputAssetServer.Text = ""; - } - } - - void txtInputRegionServer_KeyPress(object sender, KeyPressEventArgs e) - { - if (e.KeyChar == 13) - { - // We got a command - e.Handled = true; - proc_OpenSim.StandardInput.WriteLine(txtInputRegionServer.Text + "\r\n"); - txtInputRegionServer.Text = ""; - } - } - - private void btnStart_Click(object sender, EventArgs e) - { - noProbe1.Checked = true; - multiple1.Checked = true; - loginuri1.Checked = true; - login1.Checked = true; - // - // THIS PART NEEDS TO BE MOVED TO A SEPARATE THREAD OR A TIMER OF SOME SORT - // should not block on wait - // ALSO - IF SOME SERVICES ARE NOT CONFIGURED, POP UP CONFIGURATION BOX FOR THAT SERVICE! - // - - btnStart.Enabled = false; - btnStop.Enabled = false; - - - - if (rbGridServer.Checked) - { - // Start UserServer - proc_UserServer = new ProcessManager("OpenSim.Grid.UserServer.exe", ""); - txtMainLog.AppendText("Starting: User server" + "\r\n"); - proc_UserServer.OutputDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_UserServer_DataReceived); - proc_UserServer.ErrorDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_UserServer_DataReceived); - proc_UserServer.StartProcess(); - System.Threading.Thread.Sleep(3000); - - // Start GridServer - proc_GridServer = new ProcessManager("OpenSim.Grid.GridServer.exe", ""); - txtMainLog.AppendText("Starting: Grid server" + "\r\n"); - proc_GridServer.OutputDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_GridServer_DataReceived); - proc_GridServer.ErrorDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_GridServer_DataReceived); - proc_GridServer.StartProcess(); - System.Threading.Thread.Sleep(3000); - - // Start AssetServer - proc_AssetServer = new ProcessManager("OpenSim.Grid.AssetServer.exe", ""); - txtMainLog.AppendText("Starting: Asset server" + "\r\n"); - proc_AssetServer.OutputDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_AssetServer_DataReceived); - proc_AssetServer.ErrorDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_AssetServer_DataReceived); - proc_AssetServer.StartProcess(); - System.Threading.Thread.Sleep(3000); - } - - // Start OpenSim - string p = ""; - if (rbGridServer.Checked) - p = "-gridmode=true"; - - proc_OpenSim = new ProcessManager("OpenSim.EXE", p); - txtMainLog.AppendText("Starting: OpenSim (Region server)" + "\r\n"); - proc_OpenSim.OutputDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_OpenSim_DataReceived); - proc_OpenSim.ErrorDataReceived += new System.Diagnostics.DataReceivedEventHandler(proc_OpenSim_DataReceived); - proc_OpenSim.StartProcess(); - - btnStart.Enabled = false; - btnStop.Enabled = true; - - } - public delegate void AppendText(string Text); - void proc_UserServer_DataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e) - { - this.Invoke(new AppendText(txtUserServer.AppendText), new object[] { e.Data + "\r\n" }); - this.Invoke(new AppendText(txtMainLog.AppendText), new object[] { "UserServer: " + e.Data + "\r\n" }); - } - void proc_GridServer_DataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e) - { - this.Invoke(new AppendText(txtGridServer.AppendText), new object[] { e.Data + "\r\n" }); - this.Invoke(new AppendText(txtMainLog.AppendText), new object[] { "GridServer: " + e.Data + "\r\n" }); - } - void proc_AssetServer_DataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e) - { - this.Invoke(new AppendText(txtAssetServer.AppendText), new object[] { e.Data + "\r\n" }); - this.Invoke(new AppendText(txtMainLog.AppendText), new object[] { "AssetServer: " + e.Data + "\r\n" }); - } - void proc_OpenSim_DataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e) - { - this.Invoke(new AppendText(txtOpenSim.AppendText), new object[] { e.Data + "\r\n" }); - this.Invoke(new AppendText(txtMainLog.AppendText), new object[] { "OpenSim: " + e.Data + "\r\n" }); - } - - private void btnStop_Click(object sender, EventArgs e) - { - btnStart.Enabled = false; - btnStop.Enabled = false; - Stop(); - btnStart.Enabled = true; - btnStop.Enabled = false; - } - - private void clear1_Click(object sender, EventArgs e) - { - noProbe1.Checked = false; multiple1.Checked = false; loginuri1.Checked = false; - noMultiple1.Checked = false; korean1.Checked = false; spanish1.Checked = false; - ignorepixeldepth1.Checked = false; nothread1.Checked = false; safe1.Checked = false; - noconsole1.Checked = false; log1.Checked = false; helperuri1.Checked = false; - autologin1.Checked = false; dialog1.Checked = false; previous1.Checked = false; - simple1.Checked = false; noinvlib1.Checked = false; noutc1.Checked = false; - debugst1.Checked = false; local1.Checked = false; purge1.Checked = false; - nofmod1.Checked = false; nosound1.Checked = false; noaudio1.Checked = false; - url1.Checked = false; port1.Checked = false; drop1.Checked = false; - inbw1.Checked = false; outbw1.Checked = false; settings1.Checked = false; - logfile1.Checked = false; yield1.Checked = false; techTag1.Checked = false; - quitAfter1.Checked = false; loginuri1.Checked = false; set1.Checked = false; - errmask1.Checked = false; raw1.Checked = false; skin1.Checked = false; - user1.Checked = false; login1.Checked = false; - } - - private void Stop() - { - if (proc_UserServer != null) - { - txtMainLog.AppendText("Shutting down UserServer. CPU time used: " + proc_UserServer.TotalProcessorTime.ToString() + "\r\n"); - proc_UserServer.StopProcess(); - proc_UserServer = null; - } - if (proc_GridServer != null) - { - txtMainLog.AppendText("Shutting down GridServer. CPU time used: " + proc_GridServer.TotalProcessorTime.ToString() + "\r\n"); - proc_GridServer.StopProcess(); - proc_GridServer = null; - } - if (proc_AssetServer != null) - { - txtMainLog.AppendText("Shutting down AssetServer. CPU time used: " + proc_AssetServer.TotalProcessorTime.ToString() + "\r\n"); - proc_AssetServer.StopProcess(); - proc_AssetServer = null; - } - if (proc_OpenSim != null) - { - txtMainLog.AppendText("Shutting down OpenSim. CPU time used: " + proc_OpenSim.TotalProcessorTime.ToString() + "\r\n"); - proc_OpenSim.StopProcess(); - proc_OpenSim = null; - } - } - private void UpdateTabVisibility() - { - if (rbStandAloneMode.Checked) - { - if (tabLogs.TabPages.Contains(tabUserServer)) - tabLogs.TabPages.Remove(tabUserServer); - if (tabLogs.TabPages.Contains(tabGridServer)) - tabLogs.TabPages.Remove(tabGridServer); - if (tabLogs.TabPages.Contains(tabAssetServer)) - tabLogs.TabPages.Remove(tabAssetServer); - } - else - { - if (!tabLogs.TabPages.Contains(tabUserServer)) - tabLogs.TabPages.Add(tabUserServer); - if (!tabLogs.TabPages.Contains(tabGridServer)) - tabLogs.TabPages.Add(tabGridServer); - if (!tabLogs.TabPages.Contains(tabAssetServer)) - tabLogs.TabPages.Add(tabAssetServer); - } - } - - private void rbStandAloneMode_CheckedChanged(object sender, EventArgs e) - { - UpdateTabVisibility(); - } - - private void rbGridRegionMode_CheckedChanged(object sender, EventArgs e) - { - UpdateTabVisibility(); - } - - private void rbGridServer_CheckedChanged(object sender, EventArgs e) - { - UpdateTabVisibility(); - } - - private int counter; - - private void Exit() - { - counter = 0; - timer1.Interval = 600; - timer1.Enabled = true; - this.timer1.Tick += new System.EventHandler(this.timer1_Tick); - } - - private void timer1_Tick(object sender, System.EventArgs e) - { - if (counter >= 10) - { - timer1.Enabled = false; - counter = 0; - Application.Exit(); - } - else - { - counter = counter + 1; - } - } - - private void exitToolStripMenuItem_Click(object sender, EventArgs e) - { - if (proc_UserServer != null || proc_GridServer != null || proc_AssetServer != null || proc_OpenSim != null) - { - label6.Text = "Stopping server(s) and waiting to safely close.............."; - Stop(); - Exit(); - } - else - { - Application.Exit(); - } - } - /// - /// CLIENT SECTION - /// - string exeString; - string exeArgs; - string usrsvr; - string error = "Reconsider your commandline choices, you have opposing values selected!"; - - private void label6_Click(object sender, EventArgs e) - { - label6.Text = clientBox1.Text; - } - private void errorSwitches() - { - MessageBox.Show(error); - label6.Text = error; - } - bool exists; - private void Launch1_Click(object sender, EventArgs e) - { - if (exists = System.IO.File.Exists(clientBox1.Text + exeBox1.Text)) - { - executeClient(); - } - else - { - MessageBox.Show("FILE DOES NOT EXIST!!!"); - label6.Text = "FILE DOES NOT EXIST!!!"; - } - } - private void NATfix() - { - } - private void executeClient() - { - label6.Text = ""; - exeArgs = ""; - exeString = clientBox1.Text; - exeString = exeString += exeBox1.Text; - - if (multiple1.Checked == true && noMultiple1.Checked == true) errorSwitches(); - else if (korean1.Checked == true && spanish1.Checked == true) errorSwitches(); - else - { - if (noProbe1.Checked == true) exeArgs = exeArgs += " -noprobe"; - if (multiple1.Checked == true) exeArgs = exeArgs += " -multiple"; - if (noMultiple1.Checked == true) exeArgs = exeArgs += " -nomultiple"; - if (korean1.Checked == true) exeArgs = exeArgs += " -korean"; - if (spanish1.Checked == true) exeArgs = exeArgs += " -spanish"; - if (ignorepixeldepth1.Checked == true) exeArgs = exeArgs += " -ignorepixeldepth"; - if (nothread1.Checked == true) exeArgs = exeArgs += " -nothread"; - if (safe1.Checked == true) exeArgs = exeArgs += " -safe"; - if (noconsole1.Checked == true) exeArgs = exeArgs += " -noconsole"; - if (log1.Checked == true) exeArgs = exeArgs += " -log"; - if (helperuri1.Checked == true) exeArgs = exeArgs += " -helperuri"; - if (autologin1.Checked == true) exeArgs = exeArgs += " --autologin"; - if (dialog1.Checked == true) exeArgs = exeArgs += " -dialog"; - if (previous1.Checked == true) exeArgs = exeArgs += " -previous"; - if (simple1.Checked == true) exeArgs = exeArgs += " -simple"; - if (noinvlib1.Checked == true) exeArgs = exeArgs += " -noinvlib"; - if (noutc1.Checked == true) exeArgs = exeArgs += " -noutc"; - if (debugst1.Checked == true) exeArgs = exeArgs += " -debugst"; - if (local1.Checked == true) exeArgs = exeArgs += " -local"; - if (purge1.Checked == true) exeArgs = exeArgs += " -purge"; - if (nofmod1.Checked == true) exeArgs = exeArgs += " -nofmod"; - if (nosound1.Checked == true) exeArgs = exeArgs += " -nosound"; - if (noaudio1.Checked == true) exeArgs = exeArgs += " -noaudio"; - if (url1.Checked == true) - { - exeArgs = exeArgs += " -url "; - exeArgs = exeArgs += simBox1.Text; - } - if (port1.Checked == true) - { - int aPort; - aPort = Convert.ToInt32(portBox1.Text); - if (aPort > 13050) - { - portBox1.Text = "13050"; - MessageBox.Show("Enter Usable port number, defaulting to 13050."); - } - if (aPort < 13000) - { - portBox1.Text = "13000"; - MessageBox.Show("Enter Usable port number, defaulting to 13000."); - } - else - { - } - exeArgs = exeArgs += " -port "; - exeArgs = exeArgs += portBox1.Text; - } - if (drop1.Checked == true) - { - int aPct; - aPct = Convert.ToInt32(dropBox1.Text); - if (aPct > 100) - { - dropBox1.Text = "100"; - MessageBox.Show("Enter Usable port number, defaulting to 100."); - } - if (aPct < 0) - { - dropBox1.Text = "0"; - MessageBox.Show("Enter Usable port number, defaulting to 0."); - } - else - { - } - exeArgs = exeArgs += " -drop "; - exeArgs = exeArgs += dropBox1.Text; - } - if (inbw1.Checked == true) - { - exeArgs = exeArgs += " -inbw "; - exeArgs = exeArgs += inbwBox1.Text; - } - if (outbw1.Checked == true) - { - exeArgs = exeArgs += " -outbw "; - exeArgs = exeArgs += outbwBox1.Text; - } - if (settings1.Checked == true) - { - exeArgs = exeArgs += " -settings "; - exeArgs = exeArgs += settingsBox1.Text; - } - if (logfile1.Checked == true) - { - exeArgs = exeArgs += " -logfile "; - exeArgs = exeArgs += logfileBox1.Text; - } - if (yield1.Checked == true) - { - exeArgs = exeArgs += " -yield "; - exeArgs = exeArgs += yieldBox1.Text; - } - if (techTag1.Checked == true) - { - exeArgs = exeArgs += " -techtag "; - exeArgs = exeArgs += techtagBox1.Text; - } - if (quitAfter1.Checked == true) - { - exeArgs = exeArgs += " -quitafter "; - exeArgs = exeArgs += quitafterBox1.Text; - } - if (loginuri1.Checked == true) - { - exeArgs = exeArgs += " -loginuri "; - exeArgs = exeArgs += loginuriBox1.Text; - } - if (set1.Checked == true) - { - exeArgs = exeArgs += " -set "; - exeArgs = exeArgs += setBox1.Text; - } - if (errmask1.Checked == true) - { - exeArgs = exeArgs += " -errmask "; - exeArgs = exeArgs += errmaskBox1.Text; - } - if (raw1.Checked == true) - { - exeArgs = exeArgs += " " + rawBox1.Text; - } - if (skin1.Checked == true) - { - bool exists; - if (exists = System.IO.File.Exists(skinBox1.Text + "skin.xml")) - { - exeArgs = exeArgs += " -skin "; - exeArgs = exeArgs += skinBox1.Text + "skin.xml"; - } - else - { - MessageBox.Show("SKIN FILE DOES NOT EXIST AT SPECIFIED LOCATION!!!"); - skin1.Checked = false; - executeClient(); - } - } - if (user1.Checked == true) - { - //find actual login urls - if (comboBox1.Text == "agni") { usrsvr = " -user " + "--agni"; } - if (comboBox1.Text == "colo") { usrsvr = " -user " + "--colo"; } - if (comboBox1.Text == "dmz") { usrsvr = " -user " + "--dmz"; } - if (comboBox1.Text == "durga") { usrsvr = " -user " + "--Durga"; } - if (comboBox1.Text == "siva") { usrsvr = " -user " + "--siva"; } - exeArgs = exeArgs += usrsvr; - } - if (login1.Checked == true) - { - exeArgs = exeArgs += " -login "; - exeArgs = exeArgs += firstBox1.Text + " " + lastBox1.Text + " " + passBox1.Text; - } - label6.Text = exeString + exeArgs; - System.Diagnostics.Process proc = new System.Diagnostics.Process(); - proc.StartInfo.FileName = exeString; - proc.StartInfo.Arguments = exeArgs; - proc.StartInfo.UseShellExecute = false; - proc.StartInfo.RedirectStandardOutput = false; - proc.StartInfo.WorkingDirectory = clientBox1.Text; - proc.Start(); - } - } - } -} diff --git a/OpenSim/Tools/OpenSim.GUI/Main.resx b/OpenSim/Tools/OpenSim.GUI/Main.resx deleted file mode 100644 index 517179d1e1..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Main.resx +++ /dev/null @@ -1,135 +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 - - - 17, 17 - - - 126, 17 - - - 209, 17 - - - 209, 17 - - - 39 - - diff --git a/OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj b/OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj deleted file mode 100644 index e722fec47e..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj +++ /dev/null @@ -1,94 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {78AEEDD5-4DA8-4E05-8D53-F3C5476A0B97} - WinExe - Properties - OpenSim.GUI - OpenSim.GUI - - - true - full - false - ..\..\..\bin\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - Form - - - frmConfiguration.cs - - - Component - - - Form - - - Main.cs - - - Component - - - - - Designer - frmConfiguration.cs - - - Designer - Main.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GUI/ProcessManager.cs b/OpenSim/Tools/OpenSim.GUI/ProcessManager.cs deleted file mode 100644 index de693a73f2..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/ProcessManager.cs +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Text; -using System.Diagnostics; - -namespace OpenSim.GUI -{ - public class ProcessManager : Process - { - private string m_FileName; - private string m_Arguments; - public ProcessManager(string FileName,string Arguments) - { - m_FileName = FileName; - m_Arguments = Arguments; - -// MyProc = new Process(); - StartInfo.WorkingDirectory = AppDomain.CurrentDomain.BaseDirectory; - Console.WriteLine("WorkingDirectory: " + StartInfo.WorkingDirectory); - StartInfo.FileName = m_FileName; - - //p.StartInfo.Arguments = ""; - StartInfo.UseShellExecute = false; - StartInfo.RedirectStandardError = true; - StartInfo.RedirectStandardInput = true; - StartInfo.RedirectStandardOutput = true; - StartInfo.CreateNoWindow = true; - - - - } - - public void StartProcess() - { - try - { - Start(); - BeginOutputReadLine(); - BeginErrorReadLine(); - } - catch (Exception ex) - { - Console.WriteLine("Exception Occurred :{0},{1}", - ex.Message, ex.StackTrace.ToString()); - } - } - public void StopProcess() - { - try - { - CancelErrorRead(); - CancelErrorRead(); - if (!HasExited) - { - StandardInput.WriteLine("quit"); - StandardInput.WriteLine("shutdown"); - System.Threading.Thread.Sleep(500); - if (!HasExited) - { - Kill(); - } - } - } - catch (Exception ex) - { - Console.WriteLine("Exception Occurred :{0},{1}", - ex.Message, ex.StackTrace.ToString()); - } - } - } -} diff --git a/OpenSim/Tools/OpenSim.GUI/Program.cs b/OpenSim/Tools/OpenSim.GUI/Program.cs deleted file mode 100644 index c41cfb7888..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Program.cs +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Windows.Forms; - -namespace OpenSim.GUI -{ - static class Program - { - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Main()); - } - } -} diff --git a/OpenSim/Tools/OpenSim.GUI/Properties/AssemblyInfo.cs b/OpenSim/Tools/OpenSim.GUI/Properties/AssemblyInfo.cs deleted file mode 100644 index 8d4b3f5a53..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 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("OpenSim.GUI")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("OpenSim.GUI")] -[assembly: AssemblyCopyright("Copyright (c) 2007")] -[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)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("c8dbda49-66bd-476b-93b3-71774870b73e")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/OpenSim/Tools/OpenSim.GUI/Properties/Resources.Designer.cs b/OpenSim/Tools/OpenSim.GUI/Properties/Resources.Designer.cs deleted file mode 100644 index 6209553b1a..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Properties/Resources.Designer.cs +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.312 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenSim.GUI.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", "2.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("OpenSim.GUI.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/OpenSim/Tools/OpenSim.GUI/Properties/Resources.resx b/OpenSim/Tools/OpenSim.GUI/Properties/Resources.resx deleted file mode 100644 index af7dbebbac..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/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/OpenSim/Tools/OpenSim.GUI/Properties/Settings.Designer.cs b/OpenSim/Tools/OpenSim.GUI/Properties/Settings.Designer.cs deleted file mode 100644 index ec80a6f626..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Properties/Settings.Designer.cs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.312 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenSim.GUI.Properties -{ - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.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/OpenSim/Tools/OpenSim.GUI/Properties/Settings.settings b/OpenSim/Tools/OpenSim.GUI/Properties/Settings.settings deleted file mode 100644 index 39645652af..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs deleted file mode 100644 index 4665dd933b..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -namespace OpenSim.GUI -{ - partial class frmConfiguration - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmConfiguration)); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.SuspendLayout(); - // - // textBox1 - // - this.textBox1.Location = new System.Drawing.Point(12, 12); - this.textBox1.Multiline = true; - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(570, 190); - this.textBox1.TabIndex = 0; - this.textBox1.Text = resources.GetString("textBox1.Text"); - // - // frmConfiguration - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(664, 413); - this.Controls.Add(this.textBox1); - this.Name = "frmConfiguration"; - this.Text = "Configuration"; - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.TextBox textBox1; - } -} diff --git a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs deleted file mode 100644 index 8ed53a2e61..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSim Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace OpenSim.GUI -{ - public partial class frmConfiguration : Form - { - public frmConfiguration() - { - InitializeComponent(); - } - } -} diff --git a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx deleted file mode 100644 index 084547c86f..0000000000 --- a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx +++ /dev/null @@ -1,129 +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 - - - What I want here: -* Region configuration add/disable/modify) -* OpenSim config: what physics/sql/scriptengine modules -* Configuration for each of the servers -* An option of what parts the server will run: "Stand Alone, Grid region, Grid Server, Custom" -Custom = you can enable/disable one or more services, for example if you only run AssetServer on this machine. -* User manager (add/remove/lockout/modify) -- maybe a separate form for this? - - \ No newline at end of file