From f2cbc48a9e704da8e86ed659437c1e338e212c50 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 6 Dec 2008 03:28:34 +0000 Subject: GUI for launching grids. Early version, but should work fine. Will execute all OpenSim services redirect their input/output/errors to the selected "GUI module". This version has following "GUI modules": * Windows Forms * Windows Service (doesn't work yet) * Console * TCP daemon This means that OpenSim can now run in a single console for those who want that. Console functionallity is not too rich yet, but code/framework is there... more to come. :) --- OpenSim/Tools/OpenSim.GridLaunch/App.config | 40 + OpenSim/Tools/OpenSim.GridLaunch/AppExecutor.cs | 247 ++++++ .../OpenSim.GridLaunch/AppExecutor_AsyncIO.cs | 85 ++ .../Tools/OpenSim.GridLaunch/AppExecutor_Thread.cs | 187 +++++ .../Tools/OpenSim.GridLaunch/CommandProcessor.cs | 76 ++ .../OpenSim.GridLaunch/GUI/Console/Console.cs | 122 +++ OpenSim/Tools/OpenSim.GridLaunch/GUI/IGUI.cs | 12 + .../Tools/OpenSim.GridLaunch/GUI/Network/Client.cs | 113 +++ .../Tools/OpenSim.GridLaunch/GUI/Network/TCPD.cs | 231 ++++++ .../OpenSim.GridLaunch/GUI/Service/Service.cs | 65 ++ .../GUI/WinForm/OpenSim Bottom Border.png | Bin 0 -> 163 bytes .../GUI/WinForm/OpenSim Right Border.png | Bin 0 -> 545 bytes .../OpenSim.GridLaunch/GUI/WinForm/OpenSim.png | Bin 0 -> 44571 bytes .../GUI/WinForm/ProcessPanel.Designer.cs | 224 ++++++ .../OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.cs | 288 +++++++ .../GUI/WinForm/ProcessPanel.resx | 882 +++++++++++++++++++++ .../GUI/WinForm/ucAppWindow.Designer.cs | 72 ++ .../OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.cs | 63 ++ .../GUI/WinForm/ucAppWindow.resx | 120 +++ .../GUI/WinForm/ucInputField.Designer.cs | 77 ++ .../OpenSim.GridLaunch/GUI/WinForm/ucInputField.cs | 97 +++ .../GUI/WinForm/ucInputField.resx | 120 +++ .../GUI/WinForm/ucLogWindow.Designer.cs | 62 ++ .../OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.cs | 54 ++ .../GUI/WinForm/ucLogWindow.resx | 120 +++ .../OpenSim.GridLaunch/OpenSim.GridLaunch.csproj | 126 +++ .../OpenSim.GridLaunch/OpenSim.GridLaunch.ini | 3 + .../OpenSim.GridLaunch/OpenSim.GridLaunch.sln | 20 + OpenSim/Tools/OpenSim.GridLaunch/Program.cs | 245 ++++++ .../OpenSim.GridLaunch/Properties/AssemblyInfo.cs | 63 ++ .../Properties/Resources.Designer.cs | 84 ++ .../OpenSim.GridLaunch/Properties/Resources.resx | 130 +++ OpenSim/Tools/OpenSim.GridLaunch/Settings.cs | 181 +++++ .../Tools/OpenSim.GridLaunch/log4netAppender.cs | 65 ++ 34 files changed, 4274 insertions(+) create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/App.config create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/AppExecutor.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_AsyncIO.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_Thread.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/CommandProcessor.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/Console/Console.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/IGUI.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/Client.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/TCPD.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/Service/Service.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Bottom Border.png create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Right Border.png create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim.png create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.resx create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.Designer.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.resx create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.Designer.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.resx create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.Designer.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.resx create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.csproj create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.ini create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.sln create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/Program.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/Properties/AssemblyInfo.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.Designer.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.resx create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/Settings.cs create mode 100644 OpenSim/Tools/OpenSim.GridLaunch/log4netAppender.cs diff --git a/OpenSim/Tools/OpenSim.GridLaunch/App.config b/OpenSim/Tools/OpenSim.GridLaunch/App.config new file mode 100644 index 0000000..1e53319 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/App.config @@ -0,0 +1,40 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor.cs b/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor.cs new file mode 100644 index 0000000..2c6ac31 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor.cs @@ -0,0 +1,247 @@ +/* + * 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; +using System.Diagnostics; +using System.IO; +using System.Reflection; +using System.Text; +using System.Threading; +using log4net; + +namespace OpenSim.GridLaunch +{ + internal partial class AppExecutor : IDisposable + { + // How long to wait for process to shut down by itself + private static readonly int shutdownWaitSeconds = 10; + + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + + //private StreamWriter Input { get { return process.StandardInput; } } + //private StreamReader Output { get { return process.StandardOutput; } } + //private StreamReader Error { get { return process.StandardError; } } + + private StreamWriter Input { get; set; } + private StreamReader Output { get; set; } + private StreamReader Error { get; set; } + + private object processLock = new object(); + + private bool isRunning = false; + public bool IsRunning { get { return isRunning; } } + + private string file; + public string File { get { return file; } } + + Process process; + + public AppExecutor(string File) + { + file = File; + } + + #region Dispose of unmanaged resources + ~AppExecutor() + { + Dispose(); + } + private bool isDisposed = false; + public void Dispose() + { + if (!isDisposed) + { + isDisposed = true; + Stop(); + } + } + #endregion + + #region Start / Stop process + public void Start() + { + if (isDisposed) + throw new ApplicationException("Attempt to start process in Disposed instance of AppExecutor."); + // Stop before starting + Stop(); + + lock (processLock) + { + isRunning = true; + + m_log.InfoFormat("Starting \"{0}\".", file); + + // Start the process + process = new Process(); + process.StartInfo.FileName = file; + process.StartInfo.Arguments = ""; + process.StartInfo.CreateNoWindow = true; + process.StartInfo.UseShellExecute = false; + process.StartInfo.ErrorDialog = false; + process.EnableRaisingEvents = true; + + + // Redirect all standard input/output/errors + process.StartInfo.RedirectStandardInput = true; + process.StartInfo.RedirectStandardOutput = true; + process.StartInfo.RedirectStandardError = true; + + // Start process + process.Start(); + + Input = process.StandardInput; + Output = process.StandardOutput; + Error = process.StandardError; + + // Start data copying + timer_Start(); + + // We will flush manually + //Input.AutoFlush = false; + + } + } + + public void Stop() + { + // Shut down process + // We will ignore some exceptions here, against good programming practice... :) + + lock (processLock) + { + // Running? + if (!isRunning) + return; + isRunning = false; + + timer_Stop(); + + m_log.InfoFormat("Stopping \"{0}\".", file); + + // Send exit command to console + try + { + if (Input != null) + { + _writeLine(""); + _writeLine("exit"); + _writeLine("quit"); + // Wait for process to exit + process.WaitForExit(1000 * shutdownWaitSeconds); + } + } + catch (Exception ex) + { + m_log.ErrorFormat("Exeption asking \"{0}\" to shut down: {1}", file, ex.ToString()); + } + + try + { + // Forcefully kill it + if (process.HasExited != true) + process.Kill(); + } + catch (Exception ex) + { + m_log.ErrorFormat("Exeption killing \"{0}\": {1}", file, ex.ToString()); + } + + try + { + // Free resources + process.Close(); + } + catch (Exception ex) + { + m_log.ErrorFormat("Exeption freeing resources for \"{0}\": {1}", file, ex.ToString()); + } + + // Dispose of stream and process object + //SafeDisposeOf(Input); + //SafeDisposeOf(Output); + //SafeDisposeOf(Error); + Program.SafeDisposeOf(process); + } + + // Done stopping process + } + + #endregion + + #region Write to stdInput + public void Write(string Text) + { + // Lock so process won't shut down while we write, and that we won't write while proc is shutting down + lock (processLock) + { + _write(Text); + } + } + public void _write(string Text) + { + if (Input != null) + { + try + { + Input.Write(Text); + Input.Flush(); + } + catch (Exception ex) + { + m_log.ErrorFormat("Exeption sending text \"{0}\" to \"{1}\": {2}", file, Text, ex.ToString()); + } + + } + } + public void WriteLine(string Text) + { + // Lock so process won't shut down while we write, and that we won't write while proc is shutting down + lock (processLock) + { + _writeLine(Text); + } + } + public void _writeLine(string Text) + { + if (Input != null) + { + try + { + m_log.DebugFormat("\"{0}\": Sending: \"{1}\"", file, Text); + Input.WriteLine(Text); + Input.Flush(); + } + catch (Exception ex) + { + m_log.ErrorFormat("Exeption sending text \"{0}\" to \"{1}\": {2}", file, Text, ex.ToString()); + } + } + } + #endregion + + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_AsyncIO.cs b/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_AsyncIO.cs new file mode 100644 index 0000000..0d07226 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_AsyncIO.cs @@ -0,0 +1,85 @@ +/* + * 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.IO; +using System.Text; + +namespace OpenSim.GridLaunch +{ + internal partial class AppExecutor + { + + + #region Start / Stop timer thread + private void timer_Start() + { + asyncReadOutput(); + asyncReadError(); + } + + private bool running = true; + private void timer_Stop() + { + running = false; + } + #endregion + + private byte[] readBufferOutput = new byte[4096]; + private byte[] readBufferError = new byte[4096]; + + private void asyncReadOutput() + { + if (running) + Output.BaseStream.BeginRead(readBufferOutput, 0, readBufferOutput.Length, asyncReadCallBackOutput, null); + } + private void asyncReadError() + { + if (running) + Error.BaseStream.BeginRead(readBufferError, 0, readBufferError.Length, asyncReadCallBackError, null); + } + + private void asyncReadCallBackOutput(IAsyncResult ar) + { + int len = Output.BaseStream.EndRead(ar); + Program.FireAppConsoleOutput(file, + System.Text.Encoding.ASCII.GetString(readBufferOutput, 0, len) + ); + + asyncReadOutput(); + } + private void asyncReadCallBackError(IAsyncResult ar) + { + int len = Error.BaseStream.EndRead(ar); + Program.FireAppConsoleError(file, + System.Text.Encoding.ASCII.GetString(readBufferError, 0, len) + ); + + asyncReadError(); + } + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_Thread.cs b/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_Thread.cs new file mode 100644 index 0000000..cd160f8 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_Thread.cs @@ -0,0 +1,187 @@ +/* + * 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; +//using System.Collections.Generic; +//using System.Reflection; +//using System.Text; +//using System.Threading; +//using log4net; + +//namespace OpenSim.GridLaunch +//{ +// internal class AppExecutor2 +// { +// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); +// private static readonly int consoleReadIntervalMilliseconds = 50; +// //private static readonly Timer readTimer = new Timer(readConsole, null, Timeout.Infinite, Timeout.Infinite); +// private static Thread timerThread; +// private static object timerThreadLock = new object(); + +// #region Start / Stop timer thread +// private static void timer_Start() +// { +// //readTimer.Change(0, consoleReadIntervalMilliseconds); +// lock (timerThreadLock) +// { +// if (timerThread == null) +// { +// m_log.Debug("Starting timer thread."); +// timerThread = new Thread(timerThreadLoop); +// timerThread.Name = "StdOutputStdErrorReadThread"; +// timerThread.IsBackground = true; +// timerThread.Start(); +// } +// } +// } +// private static void timer_Stop() +// { +// //readTimer.Change(Timeout.Infinite, Timeout.Infinite); +// lock (timerThreadLock) +// { +// if (timerThread != null) +// { +// m_log.Debug("Stopping timer thread."); +// try +// { +// if (timerThread.IsAlive) +// timerThread.Abort(); +// timerThread.Join(2000); +// timerThread = null; +// } +// catch (Exception ex) +// { +// m_log.Error("Exception stopping timer thread: " + ex.ToString()); +// } +// } +// } +// } +// #endregion + +// #region Timer read from consoles and fire event + +// private static void timerThreadLoop() +// { +// try +// { +// while (true) +// { +// readConsole(); +// Thread.Sleep(consoleReadIntervalMilliseconds); +// } +// } +// catch (ThreadAbortException) { } // Expected on thread shutdown +// } + +// private static void readConsole() +// { +// try +// { + +// // Lock so we don't collide with any startup or shutdown +// lock (Program.AppList) +// { +// foreach (AppExecutor app in new ArrayList(Program.AppList.Values)) +// { +// try +// { +// string txt = app.GetStdOutput(); +// // Fire event with received text +// if (!string.IsNullOrEmpty(txt)) +// Program.FireAppConsoleOutput(app.File, txt); +// } +// catch (Exception ex) +// { +// m_log.ErrorFormat("Exception reading standard output from \"{0}\": {1}", app.File, ex.ToString()); +// } +// try +// { +// string txt = app.GetStdError(); +// // Fire event with received text +// if (!string.IsNullOrEmpty(txt)) +// Program.FireAppConsoleOutput(app.File, txt); +// } +// catch (Exception ex) +// { +// m_log.ErrorFormat("Exception reading standard error from \"{0}\": {1}", app.File, ex.ToString()); +// } +// } +// } +// } +// finally +// { +// } +// } +// #endregion + + +// #region Read stdOutput and stdError +// public string GetStdOutput() +// { +// return GetStreamData(Output); +// } +// public string GetStdError() +// { +// return GetStreamData(Error); +// } + +// private static int num = 0; +// // Gets any data from StreamReader object, non-blocking +// private static string GetStreamData(StreamReader sr) +// { +// // Can't read? +// if (!sr.BaseStream.CanRead) +// return ""; + +// // Read a chunk +// //sr.BaseStream.ReadTimeout = 100; +// byte[] buffer = new byte[4096]; +// num++; +// Trace.WriteLine("Start read " + num); +// int len = sr.BaseStream.Read(buffer, 0, buffer.Length); +// Trace.WriteLine("End read " + num + ": " + len); + +// // Nothing? +// if (len <= 0) +// return ""; + +// // Return data +// StringBuilder sb = new StringBuilder(); +// sb.Append(System.Text.Encoding.ASCII.GetString(buffer, 0, len)); + +// //while (sr.Peek() >= 0) +// //{ +// // sb.Append(Convert.ToChar(sr.Read())); +// //} + +// return sb.ToString(); +// } +// #endregion + + +// } +//} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/CommandProcessor.cs b/OpenSim/Tools/OpenSim.GridLaunch/CommandProcessor.cs new file mode 100644 index 0000000..aca36e9 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/CommandProcessor.cs @@ -0,0 +1,76 @@ +/* + * 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; + +namespace OpenSim.GridLaunch +{ + internal class CommandProcessor + { + public delegate void CommandLineDelegate(string application, string command, string arguments); + public event CommandLineDelegate CommandLine; + + public bool IsCommand(string cmd) + { + if (cmd.Trim().StartsWith("/")) + return true; + return false; + } + + public static readonly char[] cmdSplit = new char[] { ' ' }; + public bool Process(string app, string command) + { + // Only process commands + if (!IsCommand(command)) + return false; + + // Remove first / + command = command.Trim().Remove(0, 1); + + // Split cmd and args + string[] carg = command.Split(cmdSplit, 2); + if (carg.Length == 0) + return true; + + string cmd = carg[0]; // Command + string arg = ""; + if (carg.Length > 1) + arg = carg[1]; // Arguments + + // Do we have a command? + if (string.IsNullOrEmpty(cmd)) + return true; + + // All is fine + if (CommandLine != null) + CommandLine(app, cmd, arg); + return true; + } + + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/Console/Console.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Console/Console.cs new file mode 100644 index 0000000..a04c9cf --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Console/Console.cs @@ -0,0 +1,122 @@ +/* + * 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; + +namespace OpenSim.GridLaunch.GUI.Console +{ + internal class Console: IGUI + { + private List Apps = new List(); + public Console () + { + Program.AppCreated += Program_AppCreated; + Program.AppRemoved += Program_AppRemoved; + Program.AppConsoleOutput += Program_AppConsoleOutput; + Program.Command.CommandLine += Command_CommandLine; + } + + private string currentApp = ""; + private bool quitTyped = false; + void Command_CommandLine(string application, string command, string arguments) + { + + // If command is a number then someone might be trying to change console: /1, /2, etc. + int currentAppNum = 0; + if (int.TryParse(command, out currentAppNum)) + if (currentAppNum <= Apps.Count) + { + currentApp = Apps[currentAppNum - 1]; + System.Console.WriteLine("Changed console to app: " + currentApp); + } else + System.Console.WriteLine("Unable to change to app number: " + currentAppNum); + + // Has user typed quit? + if (command.ToLower() == "quit") + quitTyped = true; + + // Has user typed /list? + if (command.ToLower() == "list") + { + System.Console.WriteLine("/0 Log console"); + for (int i = 1; i <= Apps.Count; i++) + { + System.Console.WriteLine(string.Format("/{0} {1}", i, Apps[i - 1])); + } + } + } + #region Module Start / Stop + public void StartGUI() + { + // Console start + System.Console.WriteLine("Console GUI"); + System.Console.WriteLine("Use commands /0, /1, /2, etc to switch between applications."); + System.Console.WriteLine("Type /list for list of applications."); + System.Console.WriteLine("Anything that doesn't start with a / will be sent to selected application"); + System.Console.WriteLine("type /quit to exit"); + + + while (quitTyped == false) + { + string line = System.Console.ReadLine().TrimEnd("\r\n".ToCharArray()); + Program.Write(currentApp, line); + } + // We are done + System.Console.WriteLine("Console exit."); + } + + public void StopGUI() + { + // Console stop + } + #endregion + + #region GridLaunch Events + void Program_AppCreated(string App) + { + System.Console.WriteLine("Started: " + App); + if (!Apps.Contains(App)) + Apps.Add(App); + } + + void Program_AppRemoved(string App) + { + System.Console.WriteLine("Stopped: " + App); + if (Apps.Contains(App)) + Apps.Remove(App); + } + + void Program_AppConsoleOutput(string App, string Text) + { + System.Console.Write(App + ": " + Text); + } + #endregion + + + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/IGUI.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/IGUI.cs new file mode 100644 index 0000000..45d8af7 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/IGUI.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenSim.GridLaunch.GUI +{ + public interface IGUI + { + void StartGUI(); + void StopGUI(); + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/Client.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/Client.cs new file mode 100644 index 0000000..19b27e4 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/Client.cs @@ -0,0 +1,113 @@ +/* + * 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.Net.Sockets; +using System.Text; +using System.Text.RegularExpressions; + +namespace OpenSim.GridLaunch.GUI.Network +{ + internal class Client + { + public TcpClient tcpClient; + private byte[] readBuffer = new byte[4096]; + private byte[] writeBuffer; + private TCPD tcp; + private string inputData = ""; + private object inputDataLock = new object(); + public Client(TCPD _tcp, TcpClient Client) + { + tcp = _tcp; + tcpClient = Client; + asyncReadStart(); + Write("OpenSim TCP Console GUI"); + Write("Use commands /0, /1, /2, etc to switch between applications."); + Write("Type /list for list of applications."); + Write("Anything that doesn't start with a / will be sent to selected application"); + Write("type /quit to exit"); + + } + + private void asyncReadStart() + { + tcpClient.GetStream().BeginRead(readBuffer, 0, readBuffer.Length, asyncReadCallBack, null); + } + + //private Regex LineExtractor = new Regex("^(.*)$") + private void asyncReadCallBack(IAsyncResult ar) + { + try + { + // Read data + int len = tcpClient.GetStream().EndRead(ar); + + // Send it to app + string newData = System.Text.Encoding.ASCII.GetString(readBuffer, 0, len); + //lock (inputDataLock) + //{ + inputData += newData; + if (newData.Contains("\n")) + SendInputLines(); + //} + + // Start it again + asyncReadStart(); + } + catch + { + // TODO: Remove client when we get exception + // Temp patch: if exception we don't call asyncReadStart() + } + } + + private void SendInputLines() + { + StringBuilder line = new StringBuilder(); + foreach (char c in inputData) + { + if (c == 13) + continue; + if (c == 10) + { + Program.WriteLine(tcp.currentApp, line.ToString()); + line = new StringBuilder(); + continue; + } + line.Append(c); + } + // We'll keep whatever is left over + inputData = line.ToString(); + } + + public void Write(string Text) + { + writeBuffer = Encoding.ASCII.GetBytes(Text); + tcpClient.GetStream().Write(writeBuffer, 0, writeBuffer.Length); + } + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/TCPD.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/TCPD.cs new file mode 100644 index 0000000..5524e21 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Network/TCPD.cs @@ -0,0 +1,231 @@ +/* + * 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; +using System.Collections.Generic; +using System.Net; +using System.Net.Sockets; +using System.Reflection; +using System.Text; +using System.Threading; +using log4net; + +namespace OpenSim.GridLaunch.GUI.Network +{ + public class TCPD : IGUI, IDisposable + { + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private List Clients = new List(); + + private readonly int defaultPort = 7998; + private TcpListener tcpListener; + private Thread listenThread; + private Thread clientThread; + + + private List Apps = new List(); + internal string currentApp = ""; + private bool quitTyped = false; + + public TCPD() + { + Program.AppCreated += Program_AppCreated; + Program.AppRemoved += Program_AppRemoved; + Program.AppConsoleOutput += Program_AppConsoleOutput; + Program.Command.CommandLine += Command_CommandLine; + + } + + ~TCPD() + { + Dispose(); + } + private bool isDisposed = false; + /// + ///Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + /// + ///2 + public void Dispose() + { + if (isDisposed) + return; + isDisposed = true; + tcpd_Stop(); + } + + public void StartGUI() + { + // We are starting + tcpd_Start(); + } + + public void StopGUI() + { + // We are stopping + tcpd_Stop(); + } + + + #region GridLaunch Events + private void Command_CommandLine(string application, string command, string arguments) + { + // If command is a number then someone might be trying to change console: /1, /2, etc. + int currentAppNum = 0; + if (int.TryParse(command, out currentAppNum)) + if (currentAppNum <= Apps.Count) + { + currentApp = Apps[currentAppNum - 1]; + TCPWriteToAll("Changed console to app: " + currentApp + Environment.NewLine); + } + else + TCPWriteToAll("Unable to change to app number: " + currentAppNum + Environment.NewLine); + + // Has user typed quit? + if (command.ToLower() == "quit") + quitTyped = true; + + // Has user typed /list? + if (command.ToLower() == "list") + { + TCPWriteToAll("/0 Log console"); + for (int i = 1; i <= Apps.Count; i++) + { + TCPWriteToAll(string.Format("/{0} {1}", i, Apps[i - 1])); + } + } + + } + + void Program_AppCreated(string App) + { + TCPWriteToAll("Started: " + App); + if (!Apps.Contains(App)) + Apps.Add(App); + } + + void Program_AppRemoved(string App) + { + TCPWriteToAll("Stopped: " + App); + if (Apps.Contains(App)) + Apps.Remove(App); + } + + private void Program_AppConsoleOutput(string App, string Text) + { + TCPWriteToAll(App, Text); + } + + #endregion + + private void tcpd_Start() + { + listenThread = new Thread(new ThreadStart(ListenForClients)); + listenThread.Name = "TCPDThread"; + listenThread.IsBackground = true; + listenThread.Start(); + + while (!quitTyped) + { + Thread.Sleep(500); + } + + //clientThread = new Thread(new ThreadStart(ProcessClients)); + //clientThread.Name = "TCPClientThread"; + //clientThread.IsBackground = true; + ////clientThread.Start(); + + } + private void tcpd_Stop() + { + StopThread(listenThread); + StopThread(clientThread); + } + private void ListenForClients() + { + int Port = 0; + int.TryParse(Program.Settings["TCPPort"], out Port); + if (Port < 1) + Port = defaultPort; + + m_log.Info("Starting TCP Server on port " + Port); + this.tcpListener = new TcpListener(IPAddress.Any, Port); + + this.tcpListener.Start(); + + while (true) + { + // Blocks until a client has connected to the server + TcpClient tcpClient = this.tcpListener.AcceptTcpClient(); + Client client = new Client(this, tcpClient); + + lock (Clients) + { + Clients.Add(client); + } + System.Threading.Thread.Sleep(500); + } + } + + private static void StopThread(Thread t) + { + if (t != null) + { + m_log.Debug("Stopping thread " + t.Name); + try + { + if (t.IsAlive) + t.Abort(); + t.Join(2000); + t = null; + } + catch (Exception ex) + { + m_log.Error("Exception stopping thread: " + ex.ToString()); + } + } + } + + private void TCPWriteToAll(string app, string text) + { + TCPWriteToAll(text); + } + private void TCPWriteToAll(string text) + { + foreach (Client c in new ArrayList(Clients)) + { + try + { + c.Write(text); + } catch (Exception ex) + { + m_log.Error("Exception writing to TCP: " + ex.ToString()); + } + } + } + + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/Service/Service.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Service/Service.cs new file mode 100644 index 0000000..c6fd501 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/Service/Service.cs @@ -0,0 +1,65 @@ +/* + * 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.ServiceProcess; +using System.Text; +using OpenSim.GridLaunch.GUI; + +namespace OpenSim.GridLaunch +{ + internal class Service: ServiceBase, IGUI + { + private ServiceBase[] ServicesToRun; + public Service() + { + ServicesToRun = new ServiceBase[] {this}; + } + + public void StartGUI() + { + ServiceBase.Run(ServicesToRun); + } + + public void StopGUI() + { + // Nothing + } + + protected override void OnStart(string[] args) + { + // Command line arguments override settings + Program.Settings.ParseCommandArguments(args); + } + + protected override void OnStop() + { + Program.Shutdown(); + } + + } +} \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Bottom Border.png b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Bottom Border.png new file mode 100644 index 0000000..b3594b6 Binary files /dev/null and b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Bottom Border.png differ diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Right Border.png b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Right Border.png new file mode 100644 index 0000000..8b03281 Binary files /dev/null and b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim Right Border.png differ diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim.png b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim.png new file mode 100644 index 0000000..257ca39 Binary files /dev/null and b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/OpenSim.png differ diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs new file mode 100644 index 0000000..1498791 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.Designer.cs @@ -0,0 +1,224 @@ +namespace OpenSim.GridLaunch.GUI.WinForm +{ + partial class ProcessPanel + { + /// + /// 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(ProcessPanel)); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabLogs = new System.Windows.Forms.TabPage(); + this.btnShutdown = new System.Windows.Forms.Button(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pictureBox3 = new System.Windows.Forms.PictureBox(); + this.tabSettings = new System.Windows.Forms.TabPage(); + this.cblStartupComponents = new System.Windows.Forms.CheckedListBox(); + this.gbStartupComponents = new System.Windows.Forms.GroupBox(); + this.btnSave = new System.Windows.Forms.Button(); + this.ucLogWindow1 = new OpenSim.GridLaunch.GUI.WinForm.ucLogWindow(); + this.label1 = new System.Windows.Forms.Label(); + this.tabControl1.SuspendLayout(); + this.tabLogs.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); + this.tabSettings.SuspendLayout(); + this.gbStartupComponents.SuspendLayout(); + this.SuspendLayout(); + // + // tabControl1 + // + this.tabControl1.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.tabControl1.Controls.Add(this.tabSettings); + this.tabControl1.Controls.Add(this.tabLogs); + this.tabControl1.Location = new System.Drawing.Point(-1, 123); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(632, 275); + this.tabControl1.TabIndex = 0; + // + // tabLogs + // + this.tabLogs.Controls.Add(this.ucLogWindow1); + this.tabLogs.Location = new System.Drawing.Point(4, 22); + this.tabLogs.Name = "tabLogs"; + this.tabLogs.Padding = new System.Windows.Forms.Padding(3); + this.tabLogs.Size = new System.Drawing.Size(624, 249); + this.tabLogs.TabIndex = 0; + this.tabLogs.Text = "Logs"; + this.tabLogs.UseVisualStyleBackColor = true; + // + // btnShutdown + // + this.btnShutdown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnShutdown.Location = new System.Drawing.Point(542, 400); + this.btnShutdown.Name = "btnShutdown"; + this.btnShutdown.Size = new System.Drawing.Size(75, 23); + this.btnShutdown.TabIndex = 1; + this.btnShutdown.Text = "Shutdown"; + this.btnShutdown.UseVisualStyleBackColor = true; + this.btnShutdown.Click += new System.EventHandler(this.btnShutdown_Click); + // + // pictureBox2 + // + this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); + this.pictureBox2.Location = new System.Drawing.Point(585, -1); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(46, 124); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.TabIndex = 3; + this.pictureBox2.TabStop = false; + // + // pictureBox1 + // + this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); + this.pictureBox1.Location = new System.Drawing.Point(-1, -1); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(586, 124); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pictureBox1.TabIndex = 2; + this.pictureBox1.TabStop = false; + // + // pictureBox3 + // + this.pictureBox3.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.pictureBox3.Image = global::OpenSim.GridLaunch.Properties.Resources.OpenSim_Bottom_Border; + this.pictureBox3.Location = new System.Drawing.Point(-1, 120); + this.pictureBox3.Name = "pictureBox3"; + this.pictureBox3.Size = new System.Drawing.Size(632, 310); + this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox3.TabIndex = 4; + this.pictureBox3.TabStop = false; + // + // tabSettings + // + this.tabSettings.Controls.Add(this.label1); + this.tabSettings.Controls.Add(this.btnSave); + this.tabSettings.Controls.Add(this.gbStartupComponents); + this.tabSettings.Location = new System.Drawing.Point(4, 22); + this.tabSettings.Name = "tabSettings"; + this.tabSettings.Padding = new System.Windows.Forms.Padding(3); + this.tabSettings.Size = new System.Drawing.Size(624, 249); + this.tabSettings.TabIndex = 1; + this.tabSettings.Text = "Settings"; + this.tabSettings.UseVisualStyleBackColor = true; + // + // cblStartupComponents + // + this.cblStartupComponents.CheckOnClick = true; + this.cblStartupComponents.FormattingEnabled = true; + this.cblStartupComponents.Location = new System.Drawing.Point(6, 19); + this.cblStartupComponents.Name = "cblStartupComponents"; + this.cblStartupComponents.Size = new System.Drawing.Size(202, 109); + this.cblStartupComponents.TabIndex = 0; + // + // gbStartupComponents + // + this.gbStartupComponents.Controls.Add(this.cblStartupComponents); + this.gbStartupComponents.Location = new System.Drawing.Point(9, 6); + this.gbStartupComponents.Name = "gbStartupComponents"; + this.gbStartupComponents.Size = new System.Drawing.Size(214, 136); + this.gbStartupComponents.TabIndex = 1; + this.gbStartupComponents.TabStop = false; + this.gbStartupComponents.Text = "Startup components"; + // + // btnSave + // + this.btnSave.Location = new System.Drawing.Point(9, 148); + this.btnSave.Name = "btnSave"; + this.btnSave.Size = new System.Drawing.Size(92, 23); + this.btnSave.TabIndex = 2; + this.btnSave.Text = "Save settings"; + this.btnSave.UseVisualStyleBackColor = true; + this.btnSave.Click += new System.EventHandler(this.btnSave_Click); + // + // ucLogWindow1 + // + this.ucLogWindow1.Dock = System.Windows.Forms.DockStyle.Fill; + this.ucLogWindow1.Location = new System.Drawing.Point(3, 3); + this.ucLogWindow1.Name = "ucLogWindow1"; + this.ucLogWindow1.Size = new System.Drawing.Size(618, 243); + this.ucLogWindow1.TabIndex = 0; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(108, 149); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(259, 13); + this.label1.TabIndex = 3; + this.label1.Text = "* You have to restart app before changes take effect."; + // + // ProcessPanel + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(629, 428); + this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.btnShutdown); + this.Controls.Add(this.tabControl1); + this.Controls.Add(this.pictureBox3); + this.Name = "ProcessPanel"; + this.Text = "OpenSim GUI alpha"; + this.Load += new System.EventHandler(this.ProcessPanel_Load); + this.tabControl1.ResumeLayout(false); + this.tabLogs.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); + this.tabSettings.ResumeLayout(false); + this.tabSettings.PerformLayout(); + this.gbStartupComponents.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabLogs; + private System.Windows.Forms.Button btnShutdown; + private ucLogWindow ucLogWindow1; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox3; + private System.Windows.Forms.TabPage tabSettings; + private System.Windows.Forms.GroupBox gbStartupComponents; + private System.Windows.Forms.CheckedListBox cblStartupComponents; + private System.Windows.Forms.Button btnSave; + private System.Windows.Forms.Label label1; + + } +} \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.cs new file mode 100644 index 0000000..dbf97d6 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.cs @@ -0,0 +1,288 @@ +/* + * 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.Diagnostics; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +namespace OpenSim.GridLaunch.GUI.WinForm +{ + public partial class ProcessPanel : Form, IGUI + { + public ProcessPanel() + { + Application.EnableVisualStyles(); + //Application.SetCompatibleTextRenderingDefault(false); + + InitializeComponent(); + Program.AppCreated += Program_AppCreated; + Program.AppRemoved += Program_AppRemoved; + Program.AppConsoleOutput += Program_AppConsoleOutput; + Program.AppConsoleError += Program_AppConsoleError; + log4netAppender.LogLine += log4netAppender_LogLine; + } + + #region Module Start / Stop + public void StartGUI() + { + Application.Run(this); + } + + public void StopGUI() + { + this.Close(); + } + #endregion + + #region Main log tab + void log4netAppender_LogLine(Color color, string LogText) + { + ucLogWindow1.Write(color, LogText); + } + #endregion + + #region Form events + private void btnShutdown_Click(object sender, EventArgs e) + { + Program.Shutdown(); + } + #endregion + + #region GridLaunch Events + public delegate void Program_AppCreatedDelegate(string App); + public void Program_AppCreated(string App) + { + if (this.InvokeRequired) { + this.Invoke(new Program_AppCreatedDelegate(Program_AppCreated), App); + return; + } + + Trace.WriteLine("Start: " + App); + + // Do we already have app window for that app? + if (AppWindow_Get(App) != null) + return; + + // New log window + ucAppWindow aw = new ucAppWindow(); + // New tab page + TabPage tp = new TabPage(App); + // Add log window into tab page + tp.Controls.Add(aw); + // Add tab page into tab control + tabControl1.TabPages.Add(tp); + // Add it all to our internal list + AppWindow_Add(App, aw); + // Hook up events + aw.LineEntered += AppWindow_LineEntered; + + // Fill log window fully inside tab page + aw.Dock = DockStyle.Fill; + } + + + public delegate void Program_AppRemovedDelegate(string App); + public void Program_AppRemoved(string App) + { + if (this.InvokeRequired) { + this.Invoke(new Program_AppRemovedDelegate(Program_AppRemoved), App); + return; + } + + Trace.WriteLine("Stop: " + App); + + // Get app window + ucAppWindow aw = AppWindow_Get(App); + if (aw == null) + return; + + // Get its tab page + TabPage tp = aw.Parent as TabPage; + + if (tp != null) + { + // Remove tab page from tab control + tabControl1.TabPages.Remove(tp); + // Remove app window from tab + tp.Controls.Remove(aw); + } + + // Dispose of app window + aw.Dispose(); + + // Dispose of tab page + if (tp != null) + tp.Dispose(); + + // Remove from our internal list + AppWindow_Remove(App); + } + + + public delegate void Program_AppConsoleOutputDelegate(string App, string LogText); + void Program_AppConsoleOutput(string App, string LogText) + { + if (this.InvokeRequired) + { + this.Invoke(new Program_AppConsoleOutputDelegate(Program_AppConsoleOutput), App, LogText); + return; + } + + // Get app window + ucAppWindow aw = AppWindow_Get(App); + // Write text to it + if (aw != null) + aw.Write(System.Drawing.Color.Black, LogText); + } + + public delegate void Program_AppConsoleErrorDelegate(string App, string LogText); + void Program_AppConsoleError(string App, string LogText) + { + if (this.InvokeRequired) { + this.Invoke(new Program_AppConsoleErrorDelegate(Program_AppConsoleError), App, LogText); + return; + } + + // Get app window + ucAppWindow aw = AppWindow_Get(App); + // Write text to it + if (aw != null) + aw.Write(System.Drawing.Color.Red, LogText); + + } + #endregion + + #region App Window events + private void AppWindow_LineEntered(ucAppWindow AppWindow, string LogText) + { + Program.WriteLine(AppWindow_Get(AppWindow), LogText); + } + #endregion + + private void ProcessPanel_Load(object sender, EventArgs e) + { + string[] arr = new string[Program.Settings.Components.Keys.Count]; + Program.Settings.Components.Keys.CopyTo(arr, 0); + cblStartupComponents.Items.AddRange(arr); + + // Now correct all check states + for (int i = 0; i < cblStartupComponents.Items.Count; i++ ) + { + string _name = cblStartupComponents.Items[i] as string; + bool _checked = Program.Settings.Components[_name]; + + cblStartupComponents.SetItemChecked(i, _checked); + } + + + } + + + + + #region Internal App Window list and functions + private Dictionary _appWindows = new Dictionary(); + private Dictionary _appWindows_rev = new Dictionary(); + private void AppWindow_Add(string AppWindowName, ucAppWindow AppWindow) + { + lock (_appWindows) + { + _appWindows.Add(AppWindowName, AppWindow); + _appWindows_rev.Add(AppWindow, AppWindowName); + // Hook events + AppWindow.LineEntered += AppWindow_LineEntered; + } + } + private void AppWindow_Remove(ucAppWindow AppWindow) + { + lock (_appWindows) + { + if (_appWindows_rev.ContainsKey(AppWindow)) + { + // Unhook events + AppWindow.LineEntered -= AppWindow_LineEntered; + // Delete from list + string name = _appWindows_rev[AppWindow]; + _appWindows.Remove(name); + _appWindows_rev.Remove(AppWindow); + } + } + } + private void AppWindow_Remove(string AppWindowName) + { + lock (_appWindows) + { + if (_appWindows.ContainsKey(AppWindowName)) + { + ucAppWindow AppWindow = _appWindows[AppWindowName]; + // Unhook events + AppWindow.LineEntered -= AppWindow_LineEntered; + // Delete from list + _appWindows.Remove(AppWindowName); + _appWindows_rev.Remove(AppWindow); + } + } + } + private string AppWindow_Get(ucAppWindow AppWindow) + { + lock (_appWindows) + { + if (_appWindows_rev.ContainsKey(AppWindow)) + return _appWindows_rev[AppWindow]; + } + return null; + } + private ucAppWindow AppWindow_Get(string AppWindowName) + { + lock (_appWindows) + { + if (_appWindows.ContainsKey(AppWindowName)) + return _appWindows[AppWindowName]; + } + return null; + } + #endregion + + private void btnSave_Click(object sender, EventArgs e) + { + Program.Settings.Components.Clear(); + for (int i = 0; i < cblStartupComponents.Items.Count; i++) + { + string _name = cblStartupComponents.Items[i] as string; + bool _checked = cblStartupComponents.GetItemChecked(i); + + Program.Settings.Components.Add(_name, _checked); + Program.Settings.SaveConfig(); + } + } + + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.resx b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.resx new file mode 100644 index 0000000..361d658 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ProcessPanel.resx @@ -0,0 +1,882 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAAAEAAAB8CAIAAAAny03BAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOpgAA + DqYBh9ypbwAAAYpJREFUKFOV0fkrH3AYw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8gQiMV5bP9QvQnJ4jYWtDGUYrugrHbmo9lRDYcMd1kfgRk1 + sj0HTn/O/tz44ebv/5r/UUUAzCkz18mCDOYlyfMLrS6VRXhTaonfZ6GeeiOO5TDbMScOZvaQBcsETiAN + 982ea2B1AUpZvMjuZgFcUQqZOIIfMsEJsAEPckA4BbQgHyohwGIAzLZVmapMLHuuFwV/n/5oIFwhE6u+ + xYVGIQ08YzfYmKEARSzewinbVEQpZOLItg1ZMMcCJrYzCZRiMRkCLIhi2MYkaNqfZbINSaYSjgAqFilC + LCSw+0YshwEqpz9nfzZ/ufHDzd//cf/zanOMhSBwkcxZq2/5wGPCjTK3DmcKx632xex+Ehwuiy3YrheL + RdS7auxhChY9MDhkzprNQLahNxRPulPfzapWE9t/YzeKkGYxkJpYuKPe3OP0fyP7/1zt/A8n1t1tx8// + +9/7/cHx/79nsN+0uN34gYv4txiE85/M5//B8f//ATQlyz6+IFQfAAAAAElFTkSuQmCC + + + \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.Designer.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.Designer.cs new file mode 100644 index 0000000..1ff7d43 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.Designer.cs @@ -0,0 +1,72 @@ +namespace OpenSim.GridLaunch.GUI.WinForm +{ + partial class ucAppWindow + { + /// + /// 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 Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.ucLogWindow1 = new OpenSim.GridLaunch.GUI.WinForm.ucLogWindow(); + this.ucInputField1 = new OpenSim.GridLaunch.GUI.WinForm.ucInputField(); + this.SuspendLayout(); + // + // ucLogWindow1 + // + this.ucLogWindow1.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.ucLogWindow1.Location = new System.Drawing.Point(3, 3); + this.ucLogWindow1.Name = "ucLogWindow1"; + this.ucLogWindow1.Size = new System.Drawing.Size(232, 132); + this.ucLogWindow1.TabIndex = 0; + // + // ucInputField1 + // + this.ucInputField1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.ucInputField1.Location = new System.Drawing.Point(0, 141); + this.ucInputField1.Name = "ucInputField1"; + this.ucInputField1.Size = new System.Drawing.Size(234, 30); + this.ucInputField1.TabIndex = 1; + // + // ucAppWindow + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.ucInputField1); + this.Controls.Add(this.ucLogWindow1); + this.DoubleBuffered = true; + this.Name = "ucAppWindow"; + this.Size = new System.Drawing.Size(235, 166); + this.ResumeLayout(false); + + } + + #endregion + + private ucLogWindow ucLogWindow1; + private ucInputField ucInputField1; + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.cs new file mode 100644 index 0000000..66072dc --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.cs @@ -0,0 +1,63 @@ +/* + * 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.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +namespace OpenSim.GridLaunch.GUI.WinForm +{ + public partial class ucAppWindow : UserControl + { + // Just forwarding from ucInputField1 + public delegate void LineEnteredDelegate(ucAppWindow AppWindow, string Text); + public event LineEnteredDelegate LineEntered; + + public ucAppWindow() + { + InitializeComponent(); + ucInputField1.LineEntered += ucInputField1_LineEntered; + } + + #region Forward Text Input Event and Log Write Function + void ucInputField1_LineEntered(string Text) + { + if (LineEntered != null) + LineEntered(this, Text); + } + + public void Write(Color color, string LogText) + { + ucLogWindow1.Write(color, LogText); + } + #endregion + + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.resx b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.resx new file mode 100644 index 0000000..19dc0dd --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucAppWindow.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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.GridLaunch/GUI/WinForm/ucInputField.Designer.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.Designer.cs new file mode 100644 index 0000000..1eaec69 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.Designer.cs @@ -0,0 +1,77 @@ +namespace OpenSim.GridLaunch.GUI.WinForm +{ + partial class ucInputField + { + /// + /// 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 Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.txtInput = new System.Windows.Forms.TextBox(); + this.btnSend = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // txtInput + // + this.txtInput.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.txtInput.Location = new System.Drawing.Point(3, 2); + this.txtInput.Name = "txtInput"; + this.txtInput.Size = new System.Drawing.Size(289, 20); + this.txtInput.TabIndex = 0; + this.txtInput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInput_KeyPress); + // + // btnSend + // + this.btnSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSend.Location = new System.Drawing.Point(295, 0); + this.btnSend.Name = "btnSend"; + this.btnSend.Size = new System.Drawing.Size(75, 23); + this.btnSend.TabIndex = 3; + this.btnSend.Text = "&Send"; + this.btnSend.UseVisualStyleBackColor = true; + this.btnSend.Click += new System.EventHandler(this.btnSend_Click); + // + // ucInputField + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.btnSend); + this.Controls.Add(this.txtInput); + this.Name = "ucInputField"; + this.Size = new System.Drawing.Size(373, 25); + this.Load += new System.EventHandler(this.ucInputField_Load); + this.Resize += new System.EventHandler(this.ucInputField_Resize); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtInput; + private System.Windows.Forms.Button btnSend; + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.cs new file mode 100644 index 0000000..5ffa275 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.cs @@ -0,0 +1,97 @@ +/* + * 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.Diagnostics; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +namespace OpenSim.GridLaunch.GUI.WinForm +{ + public partial class ucInputField : UserControl + { + public delegate void LineEnteredDelegate(string Text); + public event LineEnteredDelegate LineEntered; + + public List History = new List(); + + public ucInputField() + { + InitializeComponent(); + } + + private void ucInputField_Load(object sender, EventArgs e) + { + _resize(); + } + + private void ucInputField_Resize(object sender, EventArgs e) + { + _resize(); + } + + private void _resize() + { + Height = txtInput.Height + 10; + } + + private void btnSend_Click(object sender, EventArgs e) + { + Send(); + } + + private void txtInput_KeyPress(object sender, KeyPressEventArgs e) + { + //Trace.WriteLine("KeyChar: " + ((int)e.KeyChar).ToString()); + if (e.KeyChar == 13) + { + e.Handled = true; + Send(); + } + + // TODO: Add arrow up/down history functions + } + + private void Send() + { + // Remove \r\n at end + string txt = txtInput.Text.TrimEnd("\r\n".ToCharArray()); + + // Fire event + if (LineEntered != null) + LineEntered(txt); + + // Add to history + History.Add(txtInput.Text); + + txtInput.Text = ""; + } + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.resx b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.resx new file mode 100644 index 0000000..19dc0dd --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucInputField.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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.GridLaunch/GUI/WinForm/ucLogWindow.Designer.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.Designer.cs new file mode 100644 index 0000000..839fe99 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.Designer.cs @@ -0,0 +1,62 @@ +namespace OpenSim.GridLaunch.GUI.WinForm +{ + partial class ucLogWindow + { + /// + /// 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 Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.txtLog = new System.Windows.Forms.TextBox(); + this.SuspendLayout(); + // + // txtLog + // + this.txtLog.BackColor = System.Drawing.SystemColors.Window; + this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtLog.Location = new System.Drawing.Point(0, 0); + this.txtLog.Multiline = true; + this.txtLog.Name = "txtLog"; + this.txtLog.ReadOnly = true; + this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtLog.Size = new System.Drawing.Size(150, 150); + this.txtLog.TabIndex = 0; + this.txtLog.TextChanged += new System.EventHandler(this.txtLog_TextChanged); + // + // ucLogWindow + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.txtLog); + this.Name = "ucLogWindow"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtLog; + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.cs b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.cs new file mode 100644 index 0000000..7b35c15 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Text; +using System.Windows.Forms; + +namespace OpenSim.GridLaunch.GUI.WinForm +{ + public partial class ucLogWindow : UserControl + { + // If text in window is more than this + private static readonly int logWindowMaxTextLength = 20000; + // Remove this much from start of it + private static int logWindowTrunlTextLength = 10000; + + public ucLogWindow() + { + if (logWindowMaxTextLength < logWindowTrunlTextLength) + logWindowTrunlTextLength = logWindowMaxTextLength / 2; + + InitializeComponent(); + } + + public delegate void textWriteDelegate(Color color, string LogText); + public void Write(Color color, string LogText) + { + // Check if we to pass task on to GUI thread + if (this.InvokeRequired) + { + this.Invoke(new textWriteDelegate(Write), color, LogText); + return; + } + // Append to window + try + { + if (!txtLog.IsDisposed) + txtLog.AppendText(LogText); + } catch { } + } + + private void txtLog_TextChanged(object sender, EventArgs e) + { + // Go to bottom of window + txtLog.ScrollToCaret(); + + // Make sure amount of text in window doesn't grow too big + if (txtLog.Text.Length > logWindowMaxTextLength) + txtLog.Text = txtLog.Text.Remove(0, logWindowTrunlTextLength); + } + + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.resx b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.resx new file mode 100644 index 0000000..19dc0dd --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/GUI/WinForm/ucLogWindow.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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.GridLaunch/OpenSim.GridLaunch.csproj b/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.csproj new file mode 100644 index 0000000..b262dd1 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.csproj @@ -0,0 +1,126 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {595D67F3-B413-4A43-8568-5B5930E3B31D} + Exe + Properties + OpenSim.GridLaunch + OpenSim.GridLaunch + v2.0 + 512 + + + true + full + false + ..\..\..\bin\ + DEBUG;TRACE + prompt + 4 + x86 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + Component + + + Form + + + ProcessPanel.cs + + + UserControl + + + ucAppWindow.cs + + + UserControl + + + ucInputField.cs + + + UserControl + + + ucLogWindow.cs + + + + + + True + True + Resources.resx + + + + + + ProcessPanel.cs + + + ucAppWindow.cs + + + ucInputField.cs + + + ucLogWindow.cs + + + + + + + + + + + PreserveNewest + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.ini b/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.ini new file mode 100644 index 0000000..c065898 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.ini @@ -0,0 +1,3 @@ +GUI=WinForm +;GUI=TCPD +;Components=c:\temp\test.bat;true \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.sln b/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.sln new file mode 100644 index 0000000..8f745e1 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/OpenSim.GridLaunch.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSim.GridLaunch", "OpenSim.GridLaunch.csproj", "{595D67F3-B413-4A43-8568-5B5930E3B31D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {595D67F3-B413-4A43-8568-5B5930E3B31D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {595D67F3-B413-4A43-8568-5B5930E3B31D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {595D67F3-B413-4A43-8568-5B5930E3B31D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {595D67F3-B413-4A43-8568-5B5930E3B31D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/OpenSim/Tools/OpenSim.GridLaunch/Program.cs b/OpenSim/Tools/OpenSim.GridLaunch/Program.cs new file mode 100644 index 0000000..5a0bb0c --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/Program.cs @@ -0,0 +1,245 @@ +/* + * 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; +using System.Collections.Generic; +using System.Reflection; +using System.Threading; +using log4net; +using log4net.Appender; +using log4net.Repository.Hierarchy; +using OpenSim.GridLaunch.GUI; +using OpenSim.GridLaunch.GUI.Network; + +namespace OpenSim.GridLaunch +{ + class Program + { + public static readonly string ConfigFile = "OpenSim.GridLaunch.ini"; + internal static Dictionary AppList = new Dictionary(); + private static readonly int delayBetweenExecuteSeconds = 10; + //private static readonly int consoleReadIntervalMilliseconds = 50; + ////private static readonly Timer readTimer = new Timer(readConsole, null, Timeout.Infinite, Timeout.Infinite); + //private static Thread timerThread; + //private static object timerThreadLock = new object(); + private static IGUI GUIModule; + private static string GUIModuleName = ""; + public static readonly CommandProcessor Command = new CommandProcessor(); + public static readonly Settings Settings = new Settings(); + + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + + public delegate void AppConsoleOutputDelegate(string App, string Text); + public static event AppConsoleOutputDelegate AppConsoleOutput; + public delegate void AppConsoleErrorDelegate(string App, string Text); + public static event AppConsoleErrorDelegate AppConsoleError; + public delegate void AppCreatedDelegate(string App); + public static event AppCreatedDelegate AppCreated; + public delegate void AppRemovedDelegate(string App); + public static event AppRemovedDelegate AppRemoved; + + internal static void FireAppConsoleOutput(string App, string Text) + { + if (AppConsoleOutput != null) + AppConsoleOutput(App, Text); + } + internal static void FireAppConsoleError(string App, string Text) + { + if (AppConsoleError != null) + AppConsoleError(App, Text); + } + + + private static readonly object startStopLock = new object(); + + public static string Name { get { return "OpenSim Grid executor"; } } + + #region Start/Shutdown + static void Main(string[] args) + { + log4net.Config.XmlConfigurator.Configure(); + + // Startup + m_log.Info(Name); + m_log.Info(new string('-', Name.Length)); + + // Read settings + Settings.LoadConfig(ConfigFile); + // Command line arguments override settings + Settings.ParseCommandArguments(args); + + // Start GUI module + StartGUIModule(); + + // Start the processes + ThreadPool.QueueUserWorkItem(startProcesses); + + // Hand over thread control to whatever GUI module + GUIModule.StartGUI(); + + // GUI module returned, we are done + Shutdown(); + + } + + private static void StartGUIModule() + { + // Create GUI module + GUIModuleName = Settings["GUI"]; + + switch (GUIModuleName.ToLower()) + { + case "winform": + GUIModuleName = "WinForm"; + GUIModule = new GUI.WinForm.ProcessPanel(); + break; + case "service": + GUIModuleName = "Service"; + GUIModule = new Service(); + break; + case "tcpd": + GUIModuleName = "TCPD"; + GUIModule = new TCPD(); + break; + case "console": + default: + GUIModuleName = "Console"; + GUIModule = new GUI.Console.Console(); + break; + } + m_log.Info("GUI type: " + GUIModuleName); + + } + + internal static void Shutdown() + { + // Stop the processes + stopProcesses(); + + lock (startStopLock) + { + // Stop GUI module + if (GUIModule != null) + { + GUIModule.StopGUI(); + GUIModule = null; + } + } + } + + internal static void SafeDisposeOf(object obj) + { + IDisposable o = obj as IDisposable; + try + { + if (o != null) + o.Dispose(); + } + catch { } + } + #endregion + + #region Start / Stop applications + private static void startProcesses(Object stateInfo) + { + // Stop before starting + stopProcesses(); + + // Start console read timer + //timer_Start(); + + // Start the applications + foreach (string file in new ArrayList(Settings.Components.Keys)) + { + // Is this file marked for startup? + if (Settings.Components[file]) + { + AppExecutor app = new AppExecutor(file); + app.Start(); + AppList.Add(file, app); + if (AppCreated != null) + AppCreated(app.File); + System.Threading.Thread.Sleep(1000*delayBetweenExecuteSeconds); + } + } + } + + private static void stopProcesses() + { + // Stop timer + //timer_Stop(); + + // Lock so we don't collide with any timer still executing on AppList + lock (AppList) + { + // Start the applications + foreach (AppExecutor app in AppList.Values) + { + try + { + m_log.Info("Stopping: " + app.File); + app.Stop(); + } + catch (Exception ex) + { + m_log.ErrorFormat("Exception while stopping \"{0}\": {1}", app.File, ex.ToString()); + } + finally + { + if (AppRemoved != null) + AppRemoved(app.File); + app.Dispose(); + } + + } + AppList.Clear(); + } + } + #endregion + + public static void Write(string App, string Text) + { + // Check if it is a commands + bool isCommand = Command.Process(App, Text); + + // Write to stdInput of app + if (!isCommand && AppList.ContainsKey(App)) + AppList[App].Write(Text); + } + + public static void WriteLine(string App, string Text) + { + // Check if it is a commands + bool isCommand = Command.Process(App, Text); + + // Write to stdInput of app + if (!isCommand && AppList.ContainsKey(App)) + AppList[App].WriteLine(Text); + } + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/Properties/AssemblyInfo.cs b/OpenSim/Tools/OpenSim.GridLaunch/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4c300d0 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/Properties/AssemblyInfo.cs @@ -0,0 +1,63 @@ +/* + * 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.GridLaunch")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("OpenSim.GridLaunch")] +[assembly: AssemblyCopyright("Copyright (c) 2008")] +[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("5072e919-46ab-47e6-8a63-08108324ccdf")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.Designer.cs b/OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.Designer.cs new file mode 100644 index 0000000..88b0ceb --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.Designer.cs @@ -0,0 +1,84 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.3053 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace OpenSim.GridLaunch.Properties { + using System; + + + /// + /// 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 (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenSim.GridLaunch.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; + } + } + + internal static System.Drawing.Bitmap OpenSim { + get { + object obj = ResourceManager.GetObject("OpenSim", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap OpenSim_Bottom_Border { + get { + object obj = ResourceManager.GetObject("OpenSim_Bottom_Border", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap OpenSim_Right_Border { + get { + object obj = ResourceManager.GetObject("OpenSim_Right_Border", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.resx b/OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.resx new file mode 100644 index 0000000..b82a1fc --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/Properties/Resources.resx @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + ..\gui\winform\opensim.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\gui\winform\opensim bottom border.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\gui\winform\opensim right border.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/OpenSim/Tools/OpenSim.GridLaunch/Settings.cs b/OpenSim/Tools/OpenSim.GridLaunch/Settings.cs new file mode 100644 index 0000000..91353d8 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/Settings.cs @@ -0,0 +1,181 @@ +/* + * 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.Reflection; +using System.Text; +using log4net; + +namespace OpenSim.GridLaunch +{ + internal class Settings + { + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private Dictionary Config = new Dictionary(); + public Dictionary Components = new Dictionary(); + + public static string[] defaultComponents = new string[] + { + "OpenSim.Grid.UserServer.exe", + "OpenSim.Grid.GridServer.exe", + "OpenSim.Grid.AssetServer.exe", + "OpenSim.Grid.InventoryServer.exe", + "OpenSim.Grid.MessagingServer.exe", + "OpenSim.32BitLaunch.exe" + }; + + + private static readonly char[] confSplit = new char[] { '=' }; + private static readonly char[] comaSplit = new char[] { ',' }; + private static readonly char[] colonSplit = new char[] { ';' }; + + private string configFile = ""; + + public Settings() + { + } + public Settings(string ConfigFile) + { + LoadConfig(ConfigFile); + } + + + public void LoadConfig(string ConfigFile) + { + configFile = ConfigFile; + m_log.Info("Reading config file: " + ConfigFile); + try + { + // Read config file + foreach (string line in System.IO.File.ReadAllLines(ConfigFile)) + { + string[] s = line.Split(confSplit, 2); + if (s.Length >= 2) + Config.Add(s[0], s[1]); + } + + // Process Components section + string cmp = Config["Components"]; + Config.Remove("Components"); + foreach (string c in cmp.Split(comaSplit)) + { + string[] cs = c.Split(colonSplit); + if (cs.Length >= 2) + { + bool status = false; + bool.TryParse(cs[1], out status); + Components.Add(cs[0], status); + } + } + } + catch (Exception ex) + { + m_log.Error("Exception reading config file: " + ex.ToString()); + } + // No components? Add default components + if (Components.Count == 0) + foreach (string c in defaultComponents) + { + Components.Add(c, true); + } + } + + public void SaveConfig(string ConfigFile) + { + configFile = ConfigFile; + SaveConfig(); + } + + public void SaveConfig() + { + m_log.Info("Writing config file: " + configFile); + try + { + System.IO.File.WriteAllText(configFile, ToString()); + } + catch (Exception ex) + { + m_log.Error("Exception writing config file: " + ex.ToString()); + } + + } + + public new string ToString() + { + StringBuilder ret = new StringBuilder(); + + Dictionary config = new Dictionary(Config); + + // Add Components key + StringBuilder _Components = new StringBuilder(); + foreach (string c in Components.Keys) + { + if (_Components.Length > 0) + _Components.Append(","); + _Components.Append(c + ";" + Components[c].ToString()); + } + config["Components"] = _Components.ToString(); + + // Make return string + foreach (string key in config.Keys) + { + ret.AppendLine(key + "=" + config[key]); + } + + // Return it + return ret.ToString(); + } + + public string this[string Key] + { + get + { + if (Config.ContainsKey(Key)) + return Config[Key]; + return ""; + } + set { Config[Key] = value; } + } + + public void ParseCommandArguments(string[] args) + { + string key = null; + foreach (string a in args) + { + if (a.StartsWith("--")) + key = a.Remove(0, 2); + else + { + if (key != null) + Config[key] = a; + key = null; + } + } + + } + } +} diff --git a/OpenSim/Tools/OpenSim.GridLaunch/log4netAppender.cs b/OpenSim/Tools/OpenSim.GridLaunch/log4netAppender.cs new file mode 100644 index 0000000..d9bea1a --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/log4netAppender.cs @@ -0,0 +1,65 @@ +/* + * 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.Drawing; +using System.Text; +using System.Windows.Forms; +using log4net.Appender; +using log4net.Core; + +namespace OpenSim.GridLaunch +{ + internal class log4netAppender : log4net.Appender.AppenderSkeleton + { + public delegate void LogLineDelegate(Color color, string Text); + public static event LogLineDelegate LogLine; + public static readonly Dictionary Level2Color = new Dictionary(); + + static log4netAppender() + { + Level2Color.Add("INFO", Color.Black); + Level2Color.Add("DEBUG", Color.Gray); + Level2Color.Add("WARN", Color.OrangeRed); + Level2Color.Add("ERROR", Color.Red); + } + + + protected override void Append(LoggingEvent loggingEvent) + { + // Find appropriate color + Color color = Color.Black; + if (Level2Color.ContainsKey(loggingEvent.Level.Name)) + color = Level2Color[loggingEvent.Level.Name]; + + // Fire event with new log message + if (LogLine != null) + LogLine(color, loggingEvent.RenderedMessage + System.Environment.NewLine); + } + + } +} -- cgit v1.1