From bd58dffbe5090919e08a65de85fb4a21ede0a37a Mon Sep 17 00:00:00 2001
From: "OpenGenesis (MPL 2.0)"
<153564363+opengenesislink@users.noreply.github.com>
Date: Sun, 8 Nov 2026 02:40:41 +0100
Subject: [PATCH] chore(g1): remove obsolete LaunchSLClient, legacy
external-grid presets and 2007 class audit
---
.../Contents/Info.plist | 12 -
.../Contents/MacOS/LaunchSLClient | 13 -
.../LaunchSLClient/Form1.Designer.cs | 95 -------
.../LaunchSLClient/LaunchSLClient/Form1.cs | 246 ------------------
.../LaunchSLClient/LaunchSLClient/Form1.resx | 120 ---------
.../LaunchSLClient/LaunchSLClient/Grid.cs | 38 ---
.../LaunchSLClient/LauncherException.cs | 52 ----
.../LaunchSLClient/MachineConfig.cs | 38 ---
.../LaunchSLClient/OSXConfig.cs | 55 ----
.../LaunchSLClient/LaunchSLClient/Program.cs | 51 ----
.../LaunchSLClient/Properties/AssemblyInfo.cs | 60 -----
.../Properties/Resources.Designer.cs | 95 -------
.../LaunchSLClient/Properties/Resources.resx | 117 ---------
.../Properties/Settings.Designer.cs | 54 ----
.../Properties/Settings.settings | 7 -
.../LaunchSLClient/UnixConfig.cs | 57 ----
.../LaunchSLClient/WindowsConfig.cs | 69 -----
OpenSim/Tools/LaunchSLClient/make-OSX-app.sh | 40 ---
OpenSim/Tools/LaunchSLClient/prebuild.xml | 67 -----
OpenSim/Tools/LaunchSLClient/runprebuild.bat | 4 -
OpenSim/Tools/LaunchSLClient/runprebuild.sh | 5 -
OpenSim/Tools/classaudit.pl | 133 ----------
bin/LaunchSLClient.ini | 15 --
23 files changed, 1443 deletions(-)
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/Info.plist
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/MacOS/LaunchSLClient
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.Designer.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.resx
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Grid.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/LauncherException.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/MachineConfig.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/OSXConfig.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Program.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/AssemblyInfo.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Resources.Designer.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Resources.resx
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Settings.Designer.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Settings.settings
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/UnixConfig.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/LaunchSLClient/WindowsConfig.cs
delete mode 100644 OpenSim/Tools/LaunchSLClient/make-OSX-app.sh
delete mode 100644 OpenSim/Tools/LaunchSLClient/prebuild.xml
delete mode 100644 OpenSim/Tools/LaunchSLClient/runprebuild.bat
delete mode 100644 OpenSim/Tools/LaunchSLClient/runprebuild.sh
delete mode 100644 OpenSim/Tools/classaudit.pl
delete mode 100644 bin/LaunchSLClient.ini
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/Info.plist b/OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/Info.plist
deleted file mode 100644
index 71393507..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/Info.plist
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- CFBundleIdentifier
- LaunchSLClient
- CFBundleExecutable
- LaunchSLClient
- CFBundleIconFile
-
-
-
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/MacOS/LaunchSLClient b/OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/MacOS/LaunchSLClient
deleted file mode 100644
index 22acaded..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient.app.skel/Contents/MacOS/LaunchSLClient
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-PWD=`pwd`
-
-# Fetch the path relative to the launch point where this shell script exists.
-APP_PATH=`echo $0 | awk '{split($0,patharr,"/"); idx=1; while(patharr[idx+3] != "") { if (patharr[idx] != "/") {printf("%s/", patharr[idx]); idx++ }} }'`
-
-# Fetch the app name (its our own name)
-APP_NAME=`echo $0 | awk '{split($0,patharr,"/"); idx=1; while(patharr[idx+1] != "") {idx++} printf("%s", patharr[idx]); }'`
-
-cd "$APP_PATH/Contents/Resources"
-
-./$APP_NAME
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.Designer.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.Designer.cs
deleted file mode 100644
index 8d07724b..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.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 OpenSimulator 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 LaunchSLClient
-{
- partial class Form1
- {
- ///
- /// 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.comboBox1 = new System.Windows.Forms.ComboBox();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.SuspendLayout();
-
- this.comboBox1.FormattingEnabled = true;
- this.comboBox1.Location = new System.Drawing.Point(37, 83);
- this.comboBox1.Name = "comboBox1";
- this.comboBox1.Size = new System.Drawing.Size(348, 21);
- this.comboBox1.TabIndex = 0;
- this.comboBox1.Text = "Choose from list";
- this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
-
- this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBox1.Location = new System.Drawing.Point(37, 32);
- this.textBox1.Name = "textBox1";
- this.textBox1.ReadOnly = true;
- this.textBox1.Size = new System.Drawing.Size(292, 19);
- this.textBox1.TabIndex = 1;
- this.textBox1.Text = "Grid to connect to:";
-
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(501, 339);
- this.Controls.Add(this.textBox1);
- this.Controls.Add(this.comboBox1);
- this.Name = "Form1";
- this.Text = "OpenSim Client Launcher";
- this.ResumeLayout(false);
- this.PerformLayout();
- }
-
- #endregion
-
- private System.Windows.Forms.ComboBox comboBox1;
- private System.Windows.Forms.TextBox textBox1;
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs
deleted file mode 100644
index 2a5d2a6a..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs
+++ /dev/null
@@ -1,246 +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 OpenSimulator 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.IO;
-using System.Collections;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Diagnostics;
-using System.Drawing;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Windows.Forms;
-using Nini.Config;
-
-namespace LaunchSLClient
-{
- public partial class Form1 : Form
- {
- string gridUrl = "";
- string sandboxUrl = "";
- string runUrl = "";
- string runLine = "";
- string exeFlags = "";
- string exePath = "";
-
- private MachineConfig m_machineConfig;
- private List m_grids = new List();
-
- public Form1()
- {
- InitializeComponent();
-
- m_machineConfig = getMachineConfig();
- m_machineConfig.GetClient(ref exePath, ref runLine, ref exeFlags);
-
- initializeGrids();
-
- ArrayList menuItems = new ArrayList();
- menuItems.Add(string.Empty);
-
- addLocalSims(ref menuItems);
-
- foreach (Grid grid in m_grids)
- {
- menuItems.Add(grid.Name + " - " + grid.URL);
- }
-
- comboBox1.DataSource = menuItems;
- }
-
- private MachineConfig getMachineConfig()
- {
- if (Environment.OSVersion.Platform == PlatformID.Unix)
- {
- if (File.Exists("/System/Library/Frameworks/Cocoa.framework/Cocoa"))
- {
- return new OSXConfig();
- }
- else
- {
- return new UnixConfig();
- }
- }
- else
- {
- return new WindowsConfig();
- }
- }
-
- private void initializeGrids()
- {
- string iniFile = "LaunchSLClient.ini";
-
- if (!File.Exists(iniFile))
- return;
-
- IniConfigSource configSource = new IniConfigSource(iniFile);
-
- foreach (IConfig config in configSource.Configs)
- {
- Grid grid = new Grid();
-
- grid.Name = config.Name;
- grid.LoginURI = config.GetString("loginURI", "");
- grid.URL = config.GetString("URL", "");
-
- m_grids.Add(grid);
- }
- }
-
- private void addLocalSandbox(ref ArrayList menuItems)
- {
- // build sandbox URL from Regions/default.xml
- // this is highly dependant on a standard default.xml
- if (File.Exists("Regions/default.xml"))
- {
- string sandboxHostName = "";
- string sandboxPort = "";
- string text;
-
- Regex myRegex = new Regex(".*internal_ip_port=\\\"(?.*?)\\\".*external_host_name=\\\"(?.*?)\\\".*");
-
- FileInfo defaultFile = new FileInfo("Regions/default.xml");
- StreamReader stream = defaultFile.OpenText();
- do
- {
- text = stream.ReadLine();
- if (text == null)
- {
- break;
- }
- MatchCollection theMatches = myRegex.Matches(text);
- foreach (Match theMatch in theMatches)
- {
- if (theMatch.Length != 0)
- {
- sandboxHostName = theMatch.Groups["name"].ToString();
- sandboxPort = theMatch.Groups["port"].ToString();
- }
- }
- } while (text != null);
-
- stream.Close();
- sandboxUrl = "http:\\" + sandboxHostName + ":" + sandboxPort;
- menuItems.Add("Local Sandbox");
- }
- }
-
- private void addLocalGrid(ref ArrayList menuItems)
- {
- //build local grid URL from network_servers_information.xml
- if (File.Exists("network_servers_information.xml"))
- {
- string text;
- FileInfo defaultFile = new FileInfo("network_servers_information.xml");
- Regex myRegex = new Regex(".*UserServerURL=\\\"(?.*?)\\\".*");
- StreamReader stream = defaultFile.OpenText();
-
- do
- {
- text = stream.ReadLine();
- if (text == null)
- {
- break;
- }
- foreach (Match theMatch in myRegex.Matches(text))
- {
- if (theMatch.Length != 0)
- {
- gridUrl = theMatch.Groups["url"].ToString();
- }
- }
- } while (text != null);
- stream.Close();
- if (gridUrl != null)
- {
- menuItems.Add("Local Grid Server");
- }
- }
- }
-
- private void addLocalSims(ref ArrayList menuItems)
- {
- string configDir = m_machineConfig.GetConfigDir();
-
- if (!string.IsNullOrEmpty(configDir))
- {
- Directory.SetCurrentDirectory(configDir);
-
- addLocalSandbox(ref menuItems);
- addLocalGrid(ref menuItems);
- }
- }
-
- private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (comboBox1.Text == string.Empty)
- {
- return;
- }
- else if (comboBox1.Text == "Local Sandbox")
- {
- runUrl=" -loginuri " + sandboxUrl;
- }
- else if (comboBox1.Text == "Local Grid Server")
- {
- runUrl = " -loginuri " + gridUrl;
- }
- else
- {
- foreach (Grid grid in m_grids)
- {
- if (comboBox1.Text == grid.Name + " - " + grid.URL)
- {
- if (grid.LoginURI != string.Empty)
- runUrl = " -loginuri " + grid.LoginURI;
- else
- runUrl = "";
-
- break;
- }
- }
- }
-
- comboBox1.DroppedDown = false;
- Hide();
-
- System.Diagnostics.Process proc = new System.Diagnostics.Process();
- proc.StartInfo.FileName = runLine;
- proc.StartInfo.Arguments = exeFlags + " " + runUrl;
- proc.StartInfo.UseShellExecute = false;
- proc.StartInfo.RedirectStandardOutput = false;
- proc.StartInfo.WorkingDirectory = exePath;
- proc.Start();
- proc.WaitForExit();
-
- Application.Exit();
- }
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.resx b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.resx
deleted file mode 100644
index 19dc0dd8..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.resx
+++ /dev/null
@@ -1,120 +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/LaunchSLClient/LaunchSLClient/Grid.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Grid.cs
deleted file mode 100644
index 58ebbf04..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Grid.cs
+++ /dev/null
@@ -1,38 +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 OpenSimulator 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;
-
-namespace LaunchSLClient
-{
- public struct Grid
- {
- public string Name;
- public string LoginURI;
- public string URL;
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/LauncherException.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/LauncherException.cs
deleted file mode 100644
index a28eb20b..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/LauncherException.cs
+++ /dev/null
@@ -1,52 +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 OpenSimulator 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;
-
-namespace LaunchSLClient
-{
- class LauncherException : ApplicationException
- {
- private const string CUSTOMMESSAGE = "The SL Client Launcher has failed with the following error: ";
-
- private LauncherException() { }
-
- public LauncherException(string errorMesssage, string source)
- : base (CUSTOMMESSAGE + errorMesssage)
- {
- base.Source = source;
- }
-
- public LauncherException(string errorMessage, string source, Exception innerException)
- : base(CUSTOMMESSAGE + errorMessage, innerException)
- {
- base.Source = source;
- }
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/MachineConfig.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/MachineConfig.cs
deleted file mode 100644
index 60203476..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/MachineConfig.cs
+++ /dev/null
@@ -1,38 +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 OpenSimulator 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.IO;
-
-namespace LaunchSLClient
-{
- public abstract class MachineConfig
- {
- public abstract void GetClient(ref string exePath, ref string runLine, ref string exeFlags);
- public abstract string GetConfigDir();
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/OSXConfig.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/OSXConfig.cs
deleted file mode 100644
index 19a2e54a..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/OSXConfig.cs
+++ /dev/null
@@ -1,55 +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 OpenSimulator 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.IO;
-
-namespace LaunchSLClient
-{
- public class OSXConfig : UnixConfig
- {
- public override void GetClient(ref string exePath, ref string runLine, ref string exeFlags)
- {
- if (Directory.Exists("/Applications/Second Life.app"))
- {
- exePath = "/Applications/Second Life.app/Contents/MacOS";
- }
- else if (Directory.Exists("/Applications/Second Life Release Candidate.app"))
- {
- exePath = "/Applications/Second Life Release Candidate.app/Contents/MacOS";
- }
-
- runLine = Path.Combine(exePath, "Second Life");
- exeFlags = string.Empty;
- }
-
- public override string GetConfigDir()
- {
- return string.Empty;
- }
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Program.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Program.cs
deleted file mode 100644
index bfd43cf8..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Program.cs
+++ /dev/null
@@ -1,51 +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 OpenSimulator 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 LaunchSLClient
-{
- static class Program
- {
- [STAThread]
- static void Main()
- {
- try
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
- }
- catch (Exception ex)
- {
- MessageBox.Show(ex.ToString(), "Error");
- }
- }
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/AssemblyInfo.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/AssemblyInfo.cs
deleted file mode 100644
index f6a0c64e..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/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 OpenSimulator 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("LaunchSLClient")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("http://opensimulator.org")]
-[assembly: AssemblyProduct("LaunchSLClient")]
-[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("b08c6904-e6cc-4d9c-8d24-feb0464b1648")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-[assembly: AssemblyVersion("0.6.3.*")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Resources.Designer.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Resources.Designer.cs
deleted file mode 100644
index 6b9a8a16..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/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 OpenSimulator 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.832
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace LaunchSLClient.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("LaunchSLClient.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/LaunchSLClient/LaunchSLClient/Properties/Resources.resx b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/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/LaunchSLClient/LaunchSLClient/Properties/Settings.Designer.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Settings.Designer.cs
deleted file mode 100644
index 5ae7be2b..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/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 OpenSimulator 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.832
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace LaunchSLClient.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/LaunchSLClient/LaunchSLClient/Properties/Settings.settings b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Settings.settings
deleted file mode 100644
index 39645652..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/UnixConfig.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/UnixConfig.cs
deleted file mode 100644
index 5895dad0..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/UnixConfig.cs
+++ /dev/null
@@ -1,57 +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 OpenSimulator 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.IO;
-
-namespace LaunchSLClient
-{
- public class UnixConfig : MachineConfig
- {
- public override void GetClient(ref string exePath, ref string runLine, ref string exeFlags)
- {
- exePath = string.Empty;
- exeFlags = string.Empty;
-
- foreach (string path in Environment.GetEnvironmentVariable("PATH").Split(':'))
- {
- if (File.Exists(Path.Combine(path, "secondlife")))
- {
- exePath = path;
- break;
- }
- }
-
- runLine = Path.Combine(exePath, "secondlife");
- }
-
- public override string GetConfigDir()
- {
- return string.Empty;
- }
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/WindowsConfig.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/WindowsConfig.cs
deleted file mode 100644
index ac0186d2..00000000
--- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/WindowsConfig.cs
+++ /dev/null
@@ -1,69 +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 OpenSimulator 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.IO;
-using Microsoft.Win32;
-
-namespace LaunchSLClient
-{
- public class WindowsConfig : MachineConfig
- {
- public override void GetClient(ref string exePath, ref string runLine, ref string exeFlags)
- {
- RegistryKey regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Linden Research, Inc.\SecondLife");
- if (regKey == null)
- {
- regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\Linden Research, Inc.\SecondLife");
- if (regKey == null)
- {
- throw new LauncherException("Can't find Second Life. Are you sure it is installed?", "LauncherException.Form1");
- }
- }
- string exe = regKey.GetValue("Exe").ToString();
- exeFlags = regKey.GetValue("Flags").ToString();
- exePath = regKey.GetValue("").ToString();
- runLine = Path.Combine(exePath, exe);
- Registry.LocalMachine.Flush();
- Registry.LocalMachine.Close();
- }
-
- public override string GetConfigDir()
- {
- RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\OpenSim\OpenSim");
-
- if (key == null)
- {
- return string.Empty;
- }
- else
- {
- return key.GetValue("Path").ToString();
- }
- }
- }
-}
diff --git a/OpenSim/Tools/LaunchSLClient/make-OSX-app.sh b/OpenSim/Tools/LaunchSLClient/make-OSX-app.sh
deleted file mode 100644
index aa37cb6f..00000000
--- a/OpenSim/Tools/LaunchSLClient/make-OSX-app.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-# This script will build LaunchSLClient.app from the .exe, .dll's, and
-# other necessary files.
-#
-# This should be run from the bin directory.
-
-APP_NAME="LaunchSLClient"
-SOURCE_PATH="../OpenSim/Tools/${APP_NAME}"
-
-ASSEMBLIES="mscorlib.dll \
- System.Windows.Forms.dll \
- System.Drawing.dll \
- System.Configuration.dll \
- System.Xml.dll \
- System.Security.dll \
- Mono.Security.dll \
- System.Data.dll \
- Mono.Data.Tds.dll \
- System.Transactions.dll \
- System.EnterpriseServices.dll \
- Mono.Mozilla.dll \
- Mono.Posix.dll \
- Accessibility.dll"
-
-if [ ! -e ${APP_NAME}.exe ]; then
- echo "Error: Could not find ${APP_NAME}.exe." >& 2
- echo "Have you built it, and are you currently in the bin directory?" >& 2
- exit 1
-fi
-
-mkbundle2 -z -o ${APP_NAME} ${APP_NAME}.exe ${ASSEMBLIES} || exit 1
-
-if [ -d ${APP_NAME}.app ]; then rm -rf ${APP_NAME}.app; fi
-cp -r ${SOURCE_PATH}/${APP_NAME}.app.skel ${APP_NAME}.app
-
-# mkbundle doesn't seem to recognize the -L option, so we can't include Nini.dll in the bundling
-cp Nini.dll ${APP_NAME}.app/Contents/Resources
-
-cp ${APP_NAME} ${APP_NAME}.ini ${APP_NAME}.app/Contents/Resources
diff --git a/OpenSim/Tools/LaunchSLClient/prebuild.xml b/OpenSim/Tools/LaunchSLClient/prebuild.xml
deleted file mode 100644
index 4a13365c..00000000
--- a/OpenSim/Tools/LaunchSLClient/prebuild.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
- TRACE;DEBUG
- false
- false
- false
- 4
- false
-
- ../../../bin
- true
- true
- false
-
-
-
-
- TRACE
- true
- false
- false
- 4
- false
-
- ../../../bin
- false
- true
- false
-
-
-
-
-
-
- ../../../../bin/
-
-
-
-
- ../../../../bin/
-
-
-
- ../../../../bin/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/OpenSim/Tools/LaunchSLClient/runprebuild.bat b/OpenSim/Tools/LaunchSLClient/runprebuild.bat
deleted file mode 100644
index 41e2714a..00000000
--- a/OpenSim/Tools/LaunchSLClient/runprebuild.bat
+++ /dev/null
@@ -1,4 +0,0 @@
-..\..\..\bin\Prebuild.exe /target nant
-..\..\..\bin\Prebuild.exe /target vs2008
-echo C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild LaunchSLClient.sln > compile.bat
-
diff --git a/OpenSim/Tools/LaunchSLClient/runprebuild.sh b/OpenSim/Tools/LaunchSLClient/runprebuild.sh
deleted file mode 100644
index 25ea4cd2..00000000
--- a/OpenSim/Tools/LaunchSLClient/runprebuild.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-mono ../../../bin/Prebuild.exe /target nant
-mono ../../../bin/Prebuild.exe /target monodev
-mono ../../../bin/Prebuild.exe /target vs2008
diff --git a/OpenSim/Tools/classaudit.pl b/OpenSim/Tools/classaudit.pl
deleted file mode 100644
index d5d28c76..00000000
--- a/OpenSim/Tools/classaudit.pl
+++ /dev/null
@@ -1,133 +0,0 @@
-#!/usr/bin/perl
-#
-# Audit tool for OpenSim class and namespace definitions.
-#
-# Copyright 2007 IBM
-#
-# Authors: Sean Dague
-#
-# 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.
-
-use strict;
-use File::Find;
-use Data::Dumper;
-use constant YELLOW => "\033[33m";
-use constant RED => "\033[31m";
-use constant CLEAR => "\033[0m";
-our %totals;
-
-
-find(\&test, "../../OpenSim");
-print Dumper(\%totals);
-
-sub test {
- my $file = $File::Find::name;
- my $dir = $File::Find::dir;
- $file =~ s{^../../}{}; #strip off prefix
- $dir =~ s{^../../}{}; #strip off prefix
-
- return if ($file !~ /\.cs$/);
- return if ($file =~ /AssemblyInfo\.cs$/);
-
- print "Processing File: $file\n";
-
- my $namespace = find_namespace($_);
- my $class = find_class($_);
-
-
-
- if(cmp_namespace($namespace, $dir) == 1) {
- $totals{goodns}++;
- } else {
- $totals{badns}++;
- }
-
-
- if(cmp_class($namespace, $class, $file) == 1) {
- $totals{goodclass}++;
- } else {
- $totals{badclass}++;
- }
- print "\n";
-}
-
-sub find_class {
- my $file = shift;
- my $content = slurp($file);
- if ($content =~ /\n\s*(public|private|protected)?\s*(class|interface)\s+(\S+)/) {
- return $3;
- }
- return "";
-}
-
-sub find_namespace {
- my $file = shift;
- my $content = slurp($file);
-
- if ($content =~ /\bnamespace\s+(\S+)/s) {
- return $1;
- }
- return "";
-}
-
-sub slurp {
- my $file = shift;
- local(*IN);
- local $/ = undef;
-
- open(IN, "$file") or die "Can't open '$file': $!";
- my $content = ;
- close(IN);
-
- return $content;
-}
-
-sub cmp_class {
- my ($ns, $class, $file) = @_;
- $class = "$ns.$class";
- my $classtrans = $class;
- $classtrans =~ s{\.}{/}g;
- $classtrans .= ".cs";
-
- if($classtrans ne $file) {
- error(YELLOW, "CLASS: $class != $file");
- return -1;
- }
- return 1;
-}
-
-sub cmp_namespace {
- my ($ns, $dir) = @_;
- my $nstrans = $ns;
- $nstrans =~ s{\.}{/}g;
-
- if($nstrans ne $dir) {
- error(RED, "NS: $ns != $dir");
- return -1;
- }
- return 1;
-}
-
-sub error {
- print @_, CLEAR, "\n";
-}
diff --git a/bin/LaunchSLClient.ini b/bin/LaunchSLClient.ini
deleted file mode 100644
index 9250a7b9..00000000
--- a/bin/LaunchSLClient.ini
+++ /dev/null
@@ -1,15 +0,0 @@
-[DeepGrid]
-loginURI = http://user.deepgrid.com:8002/
-URL = www.deepgrid.com
-
-[OSGrid]
-loginURI = http://www.osgrid.org:8002/
-URL = www.osgrid.org
-
-[OpenlifeGrid]
-loginURI = http://logingrid.net:8002/
-URL = www.openlifegrid.com
-
-[Linden Lab]
-loginURI =
-URL = www.secondlife.com