aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add "debug script log" command to allow setting a numeric debug level on ↵Justin Clark-Casey (justincc)2012-12-121-4/+24
| | | | | | | individual IScriptInstances for debugging purposes. Current, state changes and event fires can be logged for individual scripts. See command help for more details.
* Add "help all" console command which will list all commands alphabetically ↵Justin Clark-Casey (justincc)2012-11-231-1/+28
| | | | in a single list
* factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)2012-11-223-11/+8
|
* A few more AssemblyInfos in a few more dlls.Diva Canto2012-11-141-1/+1
|
* Updated all existing AssemblyVersions's to 0.7.5.*. Many DLLs still don't ↵Diva Canto2012-11-131-1/+1
| | | | have an AssemblyInfo file.
* Allow "show object", "show part", "dump object" and "delete object" to ↵Justin Clark-Casey (justincc)2012-10-241-2/+56
| | | | | | accept a local ID as well as a UUID. This means that the sub-commands are now id rather than uuid, e.g. show object id
* Get "save oar" and "save iar" to tell you in a more friendly manner if the ↵Justin Clark-Casey (justincc)2012-10-241-0/+19
| | | | | | filename to save already exists, rather than exception throwing. Also changes ConsoleUtil.CheckFileExists to CheckFileDoesNotExist() since this is more meaningful in the context, even though it does result in double negatives.
* Add "dump object uuid" console command. This allows any object in the scene ↵Justin Clark-Casey (justincc)2012-10-241-91/+115
| | | | to be serialized and dumped to XML for debug purposes.
* minor: Move co-ordinate related help to object commands to common ↵Justin Clark-Casey (justincc)2012-10-241-0/+17
| | | | ConsoleUtil.CoordHelp
* Add "delete object pos <start-coord> to <end-coord>" console command.Justin Clark-Casey (justincc)2012-10-101-2/+2
| | | | | This allows one to delete objects within a certain volume. See help on console for more details.
* Add Vector3.Zero return on TryParseConsoleVector() which fails on mono 2.4.3 ↵Justin Clark-Casey (justincc)2012-10-051-0/+3
| | | | but not mono 2.10.9
* Add missing ConsoleUtil from last commitJustin Clark-Casey (justincc)2012-10-051-0/+111
|
* Allow the use of the region debug console found in recent viewers. This consoleMelanie2012-08-144-2/+16
| | | | | | | will be available to estate owners and managers. If the user using the console had god privs, they can use "set console on" and "set console off" to switch on the actual region console. This allows console access from within the viewer. The region debug console can coexist with any other main console.
* Add much easier ConsoleDisplayTable AddColumn() and AddRow() methods.Justin Clark-Casey (justincc)2012-06-261-0/+15
| | | | Use these for new "show regions" command rather than old cumbersome stuff.
* refactor: Rename ConsoleTableRow and ConsoleTableColumn to ↵Justin Clark-Casey (justincc)2012-05-231-9/+9
| | | | ConsoleDisplayTableRow and ConsoleDisplayTableColumn
* Add ConsoleDisplayList for more consistent formatting of console output in ↵Justin Clark-Casey (justincc)2012-05-231-0/+112
| | | | | | list form. Convert "show region" to use this structure rather than hand-constructing
* refactor: rename ConsoleTable -> ConsoleDisplayTable for clarityJustin Clark-Casey (justincc)2012-05-231-2/+2
|
* Add ConsoleTable framework class for future uniform formatting of console ↵Justin Clark-Casey (justincc)2012-05-101-0/+139
| | | | | | | output tables. Still subject to change - if you use this be prepared to change your output code if/when the methods change. Make new "attachments show" command use this.
* Add text about using double quotes to surround console command arguments ↵Justin Clark-Casey (justincc)2012-04-281-2/+8
| | | | | | containing spaces to "help" text. e.g. show object name "My long object name"
* Minor improvements to loggingOren Hurvitz2012-04-241-0/+4
| | | | Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
* Allow the user to enter help topics in upper or lowercase.Justin Clark-Casey (justincc)2012-03-241-10/+12
| | | | | Forcing uppercase (e.g. help Assets) is too annoying. Thanks to WhiteStar for pointing this out.
* 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