aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2012-03-081-22/+92
| | | | | | | | | | | <category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
* Use a fully stubbed out MockConsole for unit tests rather than inheriting ↵Justin Clark-Casey (justincc)2012-03-011-22/+37
| | | | | | | | from CommandConsole. This is so that the static MainConsole.Instance doesn't retain references to methods registered by scene and other modules to service commands. This prevents the scene from being garbage collected at the end of a test. This is not the final thing preventing GC - next up is the timer started by SimStatsReporter that holds a reference to Scene that prevents end of test gc.
* Change parser to leave embedded quotes alone if the pattern is recognizedMelanie2012-02-101-0/+34
| | | | as an OptionSet long option
* Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)2011-12-071-8/+2
| | | | It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
* remove some mono compiler warningsJustin Clark-Casey (justincc)2011-11-251-1/+1
|
* Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2011-10-253-46/+7
| | | | | | | | | 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)
* Updated some variables to be closer to the coding standards (and easier to ↵Kevin Houlihan2011-09-161-91/+88
| | | | | | | 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.
* Passwords could be revealed in console by pressing backspace.Kevin Houlihan2011-09-161-1/+4
| | | | 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.
* print invalid command message to the console, not the logJustin Clark-Casey (justincc)2011-04-231-3/+1
|
* Implement command "land show". This shows all the parcels on the currently ↵Justin Clark-Casey (justincc)2011-01-261-1/+1
| | | | | | 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.
* Update the "config get <section> <key>" command to "config get [<section>] ↵Justin Clark-Casey (justincc)2011-01-211-0/+5
| | | | | | | | | [<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
* small refactor: reuse existing commandLine string rather than calling ↵Justin Clark-Casey (justincc)2010-11-171-1/+1
| | | | cmdline.ToString() again
* save all lines to history, not just those which turn out to be valid ↵Justin Clark-Casey (justincc)2010-11-171-2/+7
| | | | | | | 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
* Add support for cross-domain AJAX requests to REST console.Marck2010-11-021-0/+31
| | | | | | 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.
* Limit formatting of local console output to actual logging messages.Marck2010-10-091-13/+17
| | | | | 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.
* REST Console delivers responses with content type text/xml instead of ↵Marck2010-09-181-2/+2
| | | | | | text/plain. Non-error responses to requests SessionCommand and CloseSession should use the appropriate content type for their XML data payload.
* Formatting cleanup.Jeff Ames2010-09-122-10/+10
|
* Add copyright headers.Jeff Ames2010-09-121-1/+28
|
* Made it impossible to create a user with names containing spaces and ↵randomhuman2010-09-102-2/+54
| | | | prevented passwords from being echoed after enter is pressed.
* Added ': ' to password prompt. Mantis #4851Diva Canto2010-07-221-1/+1
|
* Force newly connecting remote consoles to display a promptMelanie2010-06-171-0/+7
|
* Make the text mode remote console really work. It can now be used to sendMelanie Thielker2010-06-081-14/+22
| | | | | multi-word commands with proper quoting, handles arguments with spaces and allows interactive use, e.g. user creation.
* If a command has descriptive help, add a line above and below the print out ↵Justin Clark-Casey (justincc)2010-05-281-0/+10
| | | | for readability
* Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)2010-05-281-2/+1
| | | | | | | | 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.
* Change appender to deal with line feeds more intelligently.Melanie2010-05-191-1/+4
| | | | | | | 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.
* Clean up output a bitMelanie2010-05-191-1/+1
|
* * Added an important comment to warn people not to use MockConsole for ↵Teravus Ovares (Dan Olivares)2010-05-041-0/+5
| | | | anything but testing.
* * This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)2010-05-041-0/+32
| | | | | | reference * Added a MockConsole that doesn't require a handle to System.Console
* Fix http://opensimulator.org/mantis/view.php?id=4657 where ↵Justin Clark-Casey (justincc)2010-04-161-16/+47
| | | | | | 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
* Formatting cleanup.Jeff Ames2010-02-152-9/+9
|
* * Quick fix to Remote Console session ID handling.Adam Frisby2010-01-261-0/+6
|
* Console output no longer requires loglevel to be set to info; you can run ↵mbowman2010-01-202-2/+2
| | | | | | the simulator with log level WARN or ERROR and see the output of console commands Signed-off-by: Melanie <melanie@t-data.com>
* Fix repeated ArgumentOutOfRangeException when a local OpenSim console is ↵Justin Clark-Casey (justincc)2010-01-082-35/+79
| | | | | | resized under mono May fix mantises 3186, 3270, 4022, 4238
* Formatting cleanup.Jeff Ames2009-10-011-5/+5
|
* Completely remove the prior implementation of the request event handlingMelanie2009-09-221-1/+1
| | | | | on poll handlers. Introduce a new delegate on the PollServiceEventArgs that allow access to the request headers and body.
* Add a RequestID (UUID.Random()) to the PollRequest and pass it to allMelanie2009-09-211-5/+5
| | | | even hander delegates.
* Add a UUID param to NoEvents in PollServiceEventArgs to make it more genericMelanie2009-09-211-3/+3
|
* A small fix for remote console to accommodate PollServiceArgs behavior aMelanie2009-09-211-1/+6
| | | | bit better
* Fix some compile warnings.Jeff Ames2009-08-261-2/+0
|
* Change prompt handling in console. No user changesMelanie2009-08-223-4/+10
|
* Add the OpenSim.ConsoleClient app.Melanie2009-08-172-12/+124
| | | | | Usage: OpenSim.ConsoleClient -h <host> -p <port> -u <user> -P <pass> host defaults to localhost, port defaults to 8003.
* Filling in the blanks: The "meat" of the REST consoleMelanie2009-08-172-9/+385
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-018-8/+8
| | | | LICENSE.txt.
* Add copyright headers, formatting cleanup, ignore some generated files.Jeff Ames2009-05-311-1/+1
|
* * Display normal log information in the console's default foreground colour, ↵Justin Clarke Casey2009-05-251-5/+5
| | | | for those of us with white backgrounds
* * Upped version number to 0.6.5lbsa712009-05-251-1/+1
|
* cleaning out warnings.Dr Scofield2009-05-222-5/+5
| | | | | | NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
* Implement .ini file includes. Anything that begins with "Include-" will beMelanie Thielker2009-05-212-2/+4
| | | | | | | | | | 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
* Put some meat on the bones of the REST console. NO user functionality yetMelanie Thielker2009-05-201-1/+45
|
* Move the color console logic from the appender into the local console, sinceMelanie Thielker2009-05-204-77/+101
| | | | | | | that is the only one that can use it. Change appender output to always go through the console output functions.