Commit Graph

258 Commits (6a27f3fb207881c394bc6279fa941f9fd6a973ab)

Author SHA1 Message Date
Justin Clark-Casey (justincc) e6272b8d56 Stop also adding an ordinary http handler when we set up a poll http handler.
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
2011-12-07 12:28:42 +00:00
Justin Clark-Casey (justincc) b785f204ce remove some mono compiler warnings 2011-11-25 22:19:57 +00:00
Justin Clark-Casey (justincc) 8a0a78cbcc Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead of the other way around.
This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes.
Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers
Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer
MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this.  This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-25 20:24:21 +01:00
Kevin Houlihan 903d5c02cb Updated some variables to be closer to the coding standards (and easier to understand).
There were a few variables in LocalConsole with single character names, and the class fields did not use the m_ prefix.
I also removed a redundant variable, h. It was being set to 1 in a couple  of places, and incremented in another, but never actually used.
2011-09-16 20:24:47 +01:00
Kevin Houlihan 923f2459cf Passwords could be revealed in console by pressing backspace.
Pressing backspace causes hidden input (such as passwords) to be revealed on the console. The echo state was not being taken into account when handling a backspace key press.
2011-09-16 19:25:38 +01:00
Justin Clark-Casey (justincc) d5256094d9 print invalid command message to the console, not the log 2011-04-23 00:16:55 +01:00
Justin Clark-Casey (justincc) a0469daf75 Implement command "land show". This shows all the parcels on the currently selected region/s
This is useful for diagnostics.  The command is "land show" rather than "show land" because it's implemented as a module specific subcommand.
2011-01-26 21:12:41 +00:00
Justin Clark-Casey (justincc) cb14e1d272 Update the "config get <section> <key>" command to "config get [<section>] [<key>]"
The config get command shows a current config value on the console.
Now, if <key> is omitted then all the values for the given section are printed.
If <section> is ommitted then all sections and all keys are printed.
Current config can also be dumped to a file using "config save <path>".  This can be handy for resolving or eliminating config issues
2011-01-21 23:59:55 +00:00
Justin Clark-Casey (justincc) 859234f963 small refactor: reuse existing commandLine string rather than calling cmdline.ToString() again 2010-11-17 23:50:23 +00:00
Justin Clark-Casey (justincc) c072a9cfb3 save all lines to history, not just those which turn out to be valid comands. does not store passwords
also, blank lines are not stored to history
this makes it easier to go back and correct a command which was simply mistyped rather than having to type it out again
2010-11-17 23:34:39 +00:00
Marck 4fdab71c8d Add support for cross-domain AJAX requests to REST console.
Enables RemoteConsole to add the appropriate HTTP header when responding to requests that use Cross-Origin Resource Sharing (CORS with simple requests). The allowed origin is set with configuration option "ConsoleAllowedOrigin" in section [Network]. For a suggestion to make this configuration option more flexible, see the TODO comment in the source code.

The WifiConsole uses this functionality with grid mode.
2010-11-02 14:12:25 -07:00
Marck 211ea5d521 Limit formatting of local console output to actual logging messages.
The formatting of lines with the help of a regular expression match will be done only for output with an explicitly given logging level.
This fixes the issue of colons being added to help texts on the local console.
2010-10-09 00:47:39 +01:00
Marck cd42cdcc89 REST Console delivers responses with content type text/xml instead of text/plain.
Non-error responses to requests SessionCommand and CloseSession should use the appropriate content type for their XML data payload.
2010-09-18 02:24:04 +01:00
Jeff Ames f1f0bc23f4 Formatting cleanup. 2010-09-12 13:43:49 -04:00
Jeff Ames 20cd1da6bf Add copyright headers. 2010-09-12 12:54:31 -04:00
randomhuman 30306a775a Made it impossible to create a user with names containing spaces and prevented passwords from being echoed after enter is pressed. 2010-09-10 23:19:18 +01:00
Diva Canto 0c0ac65d38 Added ': ' to password prompt. Mantis #4851 2010-07-22 04:00:24 -07:00
Melanie 544627c79c Force newly connecting remote consoles to display a prompt 2010-06-17 03:03:55 +01:00
Melanie Thielker a791689ceb Make the text mode remote console really work. It can now be used to send
multi-word commands with proper quoting, handles arguments with spaces
and allows interactive use, e.g. user creation.
2010-06-08 22:05:06 +01:00
Justin Clark-Casey (justincc) 3c0f34bc2b If a command has descriptive help, add a line above and below the print out for readability 2010-05-28 20:51:02 +01:00
Justin Clark-Casey (justincc) fff5459f4d Add ability to load IARs directly from URIs
So, something like

load iar Justin Clark-Casey / PASSWORD http://justincc.org/downloads/iars/my-great-items.iar

Will load my IAR directly from the web.
2010-05-28 20:07:15 +01:00
Melanie e4b8d76b10 Change appender to deal with line feeds more intelligently.
Change migration error reporting to not truncate the statement when
reporting. It's a bit messier than the old error reporting, but at least
one gets an idea of what could be wrong again. And things look a lot
neater now.
2010-05-19 04:17:56 +01:00
Melanie 0c209a469b Clean up output a bit 2010-05-19 03:48:03 +01:00
Teravus Ovares (Dan Olivares) a9db266d93 * Added an important comment to warn people not to use MockConsole for anything but testing. 2010-05-04 22:16:07 -04:00
Teravus Ovares (Dan Olivares) f005e570aa * This should fix the tests failing because of a MainConsole.Instance null reference
* Added a MockConsole that doesn't require a handle to System.Console
2010-05-04 22:13:25 -04:00
Justin Clark-Casey (justincc) 48f3733963 Fix http://opensimulator.org/mantis/view.php?id=4657 where OpenSim.Grid.UserServer.exe fails on startup if no previous config
probably appears to occur because mono 2.4.2.3 (and possibly later) erroneously returns a value of 0 for BufferWidth and BufferHeight in some circumstances
2010-04-16 20:43:23 +01:00
Jeff Ames af265e001d Formatting cleanup. 2010-02-15 19:21:56 +09:00
Adam Frisby 19d4867af7 * Quick fix to Remote Console session ID handling. 2010-01-26 07:40:33 +11:00
mbowman c211a120a5 Console output no longer requires loglevel to be set to info; you can run the simulator with log level WARN or ERROR and see the output of console commands
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-20 00:16:08 +00:00
Justin Clark-Casey (justincc) 22b1ffdc6c Fix repeated ArgumentOutOfRangeException when a local OpenSim console is resized under mono
May fix mantises 3186, 3270, 4022, 4238
2010-01-08 14:45:40 +00:00
Jeff Ames ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Melanie dafe5bf05f Completely remove the prior implementation of the request event handling
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that
allow access to the request headers and body.
2009-09-22 06:19:02 +01:00
Melanie bc9e4cfd96 Add a RequestID (UUID.Random()) to the PollRequest and pass it to all
even hander delegates.
2009-09-21 18:11:40 +01:00
Melanie 04170521f0 Add a UUID param to NoEvents in PollServiceEventArgs to make it more generic 2009-09-21 14:59:31 +01:00
Melanie 2a1b5e3540 A small fix for remote console to accommodate PollServiceArgs behavior a
bit better
2009-09-21 14:14:22 +01:00
Jeff Ames 02f937b0dc Fix some compile warnings. 2009-08-26 14:02:52 +09:00
Melanie a22b12ecd4 Change prompt handling in console. No user changes 2009-08-22 20:18:24 +01:00
Melanie cef16bec6d Add the OpenSim.ConsoleClient app.
Usage: OpenSim.ConsoleClient -h <host> -p <port> -u <user> -P <pass>
host defaults to localhost, port defaults to 8003.
2009-08-17 08:45:20 +01:00
Melanie 002940dd5d Filling in the blanks: The "meat" of the REST console 2009-08-17 05:00:30 +01:00
Jeff Ames 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
Jeff Ames 35b450d41d Add copyright headers, formatting cleanup, ignore some generated files. 2009-05-31 18:35:00 +00:00
Justin Clarke Casey ca9432d110 * Display normal log information in the console's default foreground colour, for those of us with white backgrounds 2009-05-25 16:29:01 +00:00
lbsa71 ba360ede8b * Upped version number to 0.6.5 2009-05-25 11:43:56 +00:00
Dr Scofield 1d02636c27 cleaning out warnings.
NOTE: we currently have a gazillion warnings caused stuff flagged as
"obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22 14:57:00 +00:00
Melanie Thielker e5f3337c3f Implement .ini file includes. Anything that begins with "Include-" will be
treated as another ini source to load.
For example:
Include-Asset = AssetSetup.ini
will load AssetSetup.ini after all other ini files are done.
This works recursively, too
2009-05-21 23:06:10 +00:00
Melanie Thielker 787d58ae7f Put some meat on the bones of the REST console. NO user functionality yet 2009-05-20 20:28:57 +00:00
Melanie Thielker 3ae9bb6d83 Move the color console logic from the appender into the local console, since
that is the only one that can use it. Change appender output to always go
through the console output functions.
2009-05-20 14:40:50 +00:00
Melanie Thielker 4065ebff15 Remove the pre-log4net, discrete output methods from the consoles 2009-05-20 13:50:33 +00:00
Melanie Thielker f28b380c4a Committing the new server base 2009-05-05 01:34:41 +00:00
Melanie Thielker acfb5051cd Intermediate commit. WILL NOT COMPILE! 2009-05-04 20:15:39 +00:00
Justin Clarke Casey 257fc5515a * minor: remove some mono compiler warnings, minor cleanup 2009-05-04 15:38:36 +00:00
Melanie Thielker f80ba373fa Prebuild changes to allow the console to reference the http server 2009-05-04 15:04:24 +00:00
Melanie Thielker eedf216eba Add a skeleton class, "RemoteConsole", for a console that uses REST 2009-05-04 12:29:44 +00:00
Melanie Thielker 1b877234da Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
console capable of processing commands. Create LocalConsole as a console
that uses cursor control and context help. Precursor to a distributed
console system for the new grid services. No functional change intended :)
2009-05-04 12:15:55 +00:00
lbsa71 958d764172 * Upped trunk version number to 0.6.4 as we just tagged 0.6.4-release 2009-04-01 19:44:46 +00:00
Melanie Thielker 3ad2fef2d3 Prevent ICommander-generated subcommand trees from generating an exception
when the tree root command is executes without another verb following it.
Fixes Mantis #3258
2009-03-05 21:20:57 +00:00
Charles Krinke 8f55b9d735 Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
2009-02-22 20:52:55 +00:00
Melanie Thielker aaf8b07ecf Allow entry of '?' in http URIs. If the field being typed begins with
"http", the ? is just an ordinary character in that field.
2009-02-21 11:48:50 +00:00
lbsa71 2e095f5727 * Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to 0.6.3.* to better track down dll ref and overwrite problems. 2009-02-20 16:47:31 +00:00
lbsa71 5af465a364 * Changed all AssemblyInfo to explicit version 1.0.0.0 to not confuse poor poor Nant. We probably should take the opportunity to let the non-module bins reside in their /bin/Debug dirs later. 2009-02-19 14:51:33 +00:00
Melanie Thielker a8f3d625cb Guard the values used to set the cursor position in the real time console 2009-02-13 20:49:23 +00:00
Justin Clarke Casey 88b273bc71 * refactor: Move export map function to world map module from scene 2009-02-13 16:43:20 +00:00
Jeff Ames 163c1026d1 Fix some compiler warnings. Minor formatting cleanup. 2009-02-13 02:52:08 +00:00
lbsa71 801da4346a * optimized usings. 2009-02-12 09:53:12 +00:00
Melanie Thielker 9bfbfa381a Add proper handling for shared vs. unshared modules to the command
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
Melanie Thielker 87f328bd30 Change the command parser and resolver to be able to disambiguate commands
that are a prefix of another command. Fixes "terrain load"
Fixes Mantis #3123
2009-02-10 14:39:04 +00:00
Melanie Thielker a1393db7f0 Stopgap measure: To use gridlaunch, or GUI, start opensim with
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
Jeff Ames a3d14832af Update svn properties, minor formatting cleanup. 2009-02-09 22:49:05 +00:00
Justin Clarke Casey a034b640da * Add the ability to type help <command> for more detailed help about a specific command if any is available 2009-02-09 20:52:04 +00:00
Melanie Thielker e4ab15ccb1 Fix a .NET issue where changing a locked reference would cause a crash 2009-02-07 15:51:00 +00:00
Melanie Thielker 54c6a920ba Replace the console for all OpenSim apps with a new console featuring command
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
Dahlia Trimble e94d862db2 Removed some of the darker colors from console messages as they were not visible in some terminal emulators (like putty) 2009-01-20 10:09:16 +00:00
Sean Dague 280ba00c68 oops hash codes can be negative, account for that
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:31 +00:00
Sean Dague c81395593d added display of exception
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:25 +00:00
Sean Dague 0f289ca405 change the appender to have a few more colors, none of which are red
From: Sean Dague <sdague@gmail.com>
2009-01-19 21:38:16 +00:00
Adam Frisby 6fb254965d * Added some debug information when console commands fail. 2008-11-24 16:23:45 +00:00
Homer Horwitz 8ae8bec4d1 Changed "show users" command to display only root agents, "show users full" to
display root and child agents (mantis #2171).
2008-09-12 22:39:17 +00:00
Jeff Ames bea7d4d81a Update svn properties, formatting cleanup. 2008-08-19 02:59:27 +00:00
Justin Clarke Casey 9650632cd1 * It appears that sometimes some IClientAPI reference is not being released, resulting in continual execution of the CheckConnectivity timer method
* For now, just turn off this timer when we close the connection
* Also some minor help refactoring creeps in to this revision.
2008-08-18 21:14:38 +00:00
Jeff Ames 6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Justin Clarke Casey c602d76b79 * Insert a new 'set log level [level] command on the console'
* The primary immediate use is to provide a means of temporarily reducing log output on the console when executing console commands
* Changing the log level on the console is not permanent and does not affect the log information being put into OpenSim.log
* This could have been done by putting in a threshold level on the Console appeneder in OpenSim.exe.config and implementing config watching in the code.
* But I think that it's a little more user friendly to make this doable via the console.
2008-08-16 20:24:08 +00:00
Justin Clarke Casey f2c456c23d * Make currently selected region appear in the region console prompt
* This region is used for single region commands (such as save-xml2)
2008-08-05 17:28:23 +00:00
Justin Clarke Casey 32486dcaf5 * refactor: change console base 'component name' to 'default prompt' since that's the only thing it's being used for 2008-08-05 17:06:35 +00:00
Justin Clarke Casey 451c3d1dd7 * Hive off ConsolePluginCommand into its own framework class 2008-07-12 19:29:49 +00:00
Jeff Ames 5910a49da6 Update svn properties. Formatting cleanup. 2008-06-10 08:35:46 +00:00
mingchen db151bcec7 *Fixed bug that caused failure when System.Console.Readline returns null (no stdin)
*Fixed bug that would crash the simulator if there were two physics/meshing engines loaded with the same name.
2008-06-09 15:20:08 +00:00
Justin Clarke Casey fbaeb081aa * Move most bookending startup/shutdown messages to BaseOpenSimServer so they appear in non-console servers too 2008-06-01 02:02:20 +00:00
Jeff Ames 65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Justin Clarke Casey b4d128c811 From: Alan M Webb <awebb@vnet.ibm.com>
This patch just tightens up console handling in BasOpenSimServer
and removes (or redirects) a couple of messages that were being issued
using Console.Writeline.
2008-05-12 13:39:46 +00:00
Adam Frisby 01f31fd933 * Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby 4692e92312 * Assorted spring cleanings. 2008-05-01 14:45:56 +00:00
Teravus Ovares 12bba3da4b * Fixed an annoying pop-up box when crossing borders. 2008-04-23 23:55:02 +00:00
Teravus Ovares d194f21a5d * Fix a console issue where pressing return on some operating systems cause the console to crash and complain about 0 regex matches. 2008-04-23 18:41:39 +00:00
Charles Krinke 67f2b89bf6 Thank you kindly, Tyre for :
Commands with arguments enclosed in Double quotation marks (e.g. filenames or objects with embedded blanks) should be parsed correctly. e.g.:
console command "edit-scale" don't accept prim names with embedded blanks
edit-scale Prim 20x20x20 20 20 20
Region# :
edit-scale "Prim 20x20x20" 20 20 20
Region# :
edit-scale Prim20x20x20 20 20 20
Searching for Primitive: 'Prim20x20x20'
Edited scale of Primitive: Prim20x20x20
Region# :
2008-04-23 14:31:54 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Sean Dague 731dcbad5b sadly, had to modify line by Ter because it caused mono cil compiler
to spin off into a seemingly infinite loop.
2008-04-01 13:04:29 +00:00
Teravus Ovares a0a0229fdf * Set Svn Properties eol-style: |337 2008-03-31 23:54:49 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Justin Clarke Casey c66b5a9e71 Report command string on ConsoleBase.RunCommand exception 2008-02-20 17:54:14 +00:00
lbsa71 fec87ad3d7 * just added a readonly and a comment 2008-02-20 10:10:19 +00:00
Justin Clarke Casey 500d259c25 * Do not allow a user to be created if one with the same name already exists 2008-02-18 15:50:18 +00:00
Jeff Ames 3b9d332f84 Added copyright notices. 2008-02-17 01:16:40 +00:00
Sean Dague 741f753c56 attempt to make our logging at least fail gracefully, we'll see if this helps 2008-02-14 19:29:07 +00:00
Justin Clarke Casey d546859bc1 * Change logger to handle [<entry>] where <entry> contains non alphabetic characters
* Change logger to not print extra line if [<entry>] <text> like string is not logged
* Remove more of my previous chatty debugging statements
2008-02-09 01:53:57 +00:00
Sean Dague caa255bcdf make a couple more changes to get us back very close to old color scheme 2008-02-06 20:59:31 +00:00
Sean Dague 2d7fbf6137 ummm... removed 1 too many newlines, formating a bit better now 2008-02-06 20:34:50 +00:00
Sean Dague b3e85daf02 pass 1 on getting colors back to the console 2008-02-06 20:32:37 +00:00
Jeff Ames 3a1947f658 Removed super-stealth mode from PasswdPrompt. (Now you can see the prompt) 2008-02-06 10:11:10 +00:00
Jeff Ames 355d0fdb95 Revert color console changes until a cross-platform method is found. 2008-02-06 07:36:14 +00:00
Jeff Ames d76d604ce9 Added colors back to console output.
Fixed line duplication in console output.
2008-02-06 03:52:36 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Teravus Ovares ba142c0410 * Fixing the console write on shutdown where the object is already disposed. 2008-02-05 02:10:01 +00:00
Tedd Hansen b089ccfa3d Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).
Added option to try alternate UDP ports if the one configured is in use.
UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
2008-02-02 06:34:07 +00:00
Justin Clarke Casey 51146fc80d * Changing log messages to use 24 hour clock rather than 12 hour - hope nobody objects 2008-01-23 19:38:12 +00:00
Adam Frisby b25f9f322c * Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
lbsa71 efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Jeff Ames af6eb67999 saved OpenSim source code from the giant rampaging unterminated copyright notice of doom 2007-12-10 05:25:16 +00:00
Jeff Ames 73599c0f25 removed obsolete Verbose() function 2007-12-06 18:17:44 +00:00
Jeff Ames 4bde56457f removed some duplicate hard-coded port numbers. changed ports to uint. 2007-12-06 01:41:41 +00:00
Adam Frisby 01db4cd71d * More console message fixes
* Tagged Verbose("msg",...) as obsolete. Please use Verbose("AREA","msg",...) instead.
2007-12-04 10:22:09 +00:00
Adam Frisby be7ae3dd3e * Removed 12 compiler warnings. 2007-12-04 08:18:09 +00:00
Teravus Ovares f97aeab916 * Quelled a Log format exception in the logging routines.
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
lbsa71 67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
Sean Dague 32869aec47 apply http://bug.opensecondlife.org/view.php?id=512 from chillken
which cleans up the verbose logic
2007-10-25 15:34:43 +00:00
Adam Frisby 5dad0ed729 * Return of R2162. /Take that SVN!/ 2007-10-22 21:57:32 +00:00
Sean Dague 6acaabefc3 revert r2162 as it completely clobbered all the work on
the ChatModule by MW and myself.  Couldn't find Adam online
after that rev went in.
2007-10-22 15:37:54 +00:00
Adam Frisby c4707a284f * Major ass commit.
* Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first.
* Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable.
* Fixed a whole bunch of console message issues such as naming and categorisation
2007-10-22 15:23:48 +00:00
lbsa71 a40e7100a2 * Gave ModuleLoader some good lovin'
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin
* Made LogBase thread-safe (or at least not thread-ignorant)
* Ignored some genned files
2007-10-10 18:24:13 +00:00
Dalien Talbot ad903f1b7b Prevent the crash due to exception in system ReadLine that I saw today
during loadtesting.
2007-09-15 14:52:53 +00:00
Sean Dague 26a67d998c add timestamps to log messages. This probably needs to all be cleaned up
with a real logging module later, but this should make reading logs easier
for now
2007-09-12 10:54:34 +00:00
Sean Dague ffe9c9374a mass update of urls in source code to new website 2007-09-10 08:14:38 +00:00
Dalien Talbot 21227b4fda A small try/catch wrapper to prevent the CLI errors from nuking the sim.
Now will just print the backtrace on the screen and continue.
2007-09-08 16:48:52 +00:00
MW f388a47254 Added a Debug method to the Console/log class that has the Conditional attribute (set to "DEBUG"), so we can use that for writing extra debug info to the console. [for anyone who doesn't know about the Conditional attribute, it is a attribute that can be set on a method, and then any call to that method will on be compiled if the terms of that condition are met, ie is this case only if "DEBUG" is true. So its a cleaner implementation of the #if #endif directives].
A few other minor changes.
2007-08-31 12:19:36 +00:00
mingchen ae20503dae *Added the ability to run commands after all regions have started up
*By default, it is set to startup_commands.txt. Simply add a list of commands separated by a new line to be run or change the file by changing the path of a startup commands file in OpenSim.ini
2007-08-15 19:08:27 +00:00
lbsa71 fdbb891659 * commands are done foreach instead of by [i]
* fixed 'show users' format bug.
2007-08-06 14:14:43 +00:00
Brian McBee 599a6d32ee Changes to prepare for future possible configuration of separate logdir, configdir, datadir. 2007-08-03 18:01:55 +00:00
Sean Dague 32565509e2 Commiting whitespace changes, as this used hard tabs instead of the
4 spaces found everywhere else.
2007-08-01 21:28:34 +00:00
Sean Dague 2507f38d07 factor out the common DeriveColor function just for good house keeping 2007-08-01 20:23:08 +00:00
Sean Dague 2333de33f1 Assume White as a console color just means "default", and don't use it.
This helps reduce confusion for linux people that have white background
terminals.
2007-08-01 20:06:40 +00:00
Adam Frisby 038774de30 Commit 1/2
* DB4o no longer crashes the sim on Startup
* DB4o now crashes the sim on shutdown.
* Variety of console verbosity fixes.
2007-07-29 09:37:29 +00:00
Adam Frisby ad5548de9f * More console related changes. 2007-07-24 04:10:08 +00:00
Adam Frisby 3cbc1e011d * Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things) 2007-07-24 03:59:32 +00:00
lbsa71 2da8a7c128 * Fixed an config issue (log not initialized in RegionInfo config)
* Added LineInfo stacktrace parser to LogBase (not used yet though)
2007-07-20 14:16:12 +00:00
Adam Frisby 765ff13f22 * Assortment of Console changes - console messages are now grouped into modules (eg "client", "grid", "terrain", "storage", etc) 2007-07-20 01:32:27 +00:00
Adam Frisby f5b24b6679 * New log functions which include the module name as an argument. 2007-07-20 01:21:39 +00:00
Sean Dague 2a3c79df83 changed to native line ending encoding 2007-07-16 15:40:11 +00:00
lbsa71 5f8de1e704 * By popular demand, all generated build files are now deleted. Somebody should make sure the wiki is updated. 2007-07-08 19:27:04 +00:00
Adam Frisby 10ece46cf6 * Updating prebuild 2007-07-08 02:58:01 +00:00
mingchen 583f2a9de8 *Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData)
*Added simulator_data_request XMLRPC method to request data from the grid server about a sim instead of faking its login
*Login is progressing, now just getting an XML error (http://pastebin.com/942515) -- if you can fix this, throw MingChen in IRC a Private Message
2007-07-05 15:15:28 +00:00
lbsa71 9b6b6d05d4 * Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
2007-07-03 14:37:29 +00:00