aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-09-26 missing fileUbitUmarov1-1/+1
2012-08-14Allow the use of the region debug console found in recent viewers. This consoleMelanie4-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.
2012-08-14Allow the use of the region debug console found in recent viewers. This consoleMelanie4-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.
2012-07-04 added a timeout paramenter to PollServiceEventArgs, so each type can define ↵UbitUmarov1-1/+1
it's timeout
2012-06-26Add much easier ConsoleDisplayTable AddColumn() and AddRow() methods.Justin Clark-Casey (justincc)1-0/+15
Use these for new "show regions" command rather than old cumbersome stuff.
2012-05-23refactor: Rename ConsoleTableRow and ConsoleTableColumn to ↵Justin Clark-Casey (justincc)1-9/+9
ConsoleDisplayTableRow and ConsoleDisplayTableColumn
2012-05-23Add ConsoleDisplayList for more consistent formatting of console output in ↵Justin Clark-Casey (justincc)1-0/+112
list form. Convert "show region" to use this structure rather than hand-constructing
2012-05-23refactor: rename ConsoleTable -> ConsoleDisplayTable for clarityJustin Clark-Casey (justincc)1-2/+2
2012-05-10Add ConsoleTable framework class for future uniform formatting of console ↵Justin Clark-Casey (justincc)1-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.
2012-04-28Add text about using double quotes to surround console command arguments ↵Justin Clark-Casey (justincc)1-2/+8
containing spaces to "help" text. e.g. show object name "My long object name"
2012-04-24Minor improvements to loggingOren Hurvitz1-0/+4
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
2012-03-24Allow the user to enter help topics in upper or lowercase.Justin Clark-Casey (justincc)1-10/+12
Forcing uppercase (e.g. help Assets) is too annoying. Thanks to WhiteStar for pointing this out.
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-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.
2012-03-01Use a fully stubbed out MockConsole for unit tests rather than inheriting ↵Justin Clark-Casey (justincc)1-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.
2012-02-10Change parser to leave embedded quotes alone if the pattern is recognizedMelanie1-0/+34
as an OptionSet long option
2012-02-10Change parser to leave embedded quotes alone if the pattern is recognizedMelanie1-0/+34
as an OptionSet long option
2011-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)1-8/+2
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
2011-11-25remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)3-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)
2011-09-16Updated some variables to be closer to the coding standards (and easier to ↵Kevin Houlihan1-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.
2011-09-16Passwords could be revealed in console by pressing backspace.Kevin Houlihan1-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.
2011-04-23print invalid command message to the console, not the logJustin Clark-Casey (justincc)1-3/+1
2011-01-26Implement command "land show". This shows all the parcels on the currently ↵Justin Clark-Casey (justincc)1-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.
2011-01-21Update the "config get <section> <key>" command to "config get [<section>] ↵Justin Clark-Casey (justincc)1-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
2010-11-17small refactor: reuse existing commandLine string rather than calling ↵Justin Clark-Casey (justincc)1-1/+1
cmdline.ToString() again
2010-11-17save all lines to history, not just those which turn out to be valid ↵Justin Clark-Casey (justincc)1-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
2010-11-02Add support for cross-domain AJAX requests to REST console.Marck1-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.
2010-10-09Limit formatting of local console output to actual logging messages.Marck1-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.
2010-09-18REST Console delivers responses with content type text/xml instead of ↵Marck1-2/+2
text/plain. Non-error responses to requests SessionCommand and CloseSession should use the appropriate content type for their XML data payload.
2010-09-12Formatting cleanup.Jeff Ames2-10/+10
2010-09-12Add copyright headers.Jeff Ames1-1/+28
2010-09-10Made it impossible to create a user with names containing spaces and ↵randomhuman2-2/+54
prevented passwords from being echoed after enter is pressed.
2010-07-22Added ': ' to password prompt. Mantis #4851Diva Canto1-1/+1
2010-06-17Force newly connecting remote consoles to display a promptMelanie1-0/+7
2010-06-08Make the text mode remote console really work. It can now be used to sendMelanie Thielker1-14/+22
multi-word commands with proper quoting, handles arguments with spaces and allows interactive use, e.g. user creation.
2010-06-08Make the text mode remote console really work. It can now be used to sendMelanie Thielker1-14/+22
multi-word commands with proper quoting, handles arguments with spaces and allows interactive use, e.g. user creation.
2010-05-28If a command has descriptive help, add a line above and below the print out ↵Justin Clark-Casey (justincc)1-0/+10
for readability
2010-05-28Add ability to load IARs directly from URIsJustin Clark-Casey (justincc)1-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.
2010-05-19Change appender to deal with line feeds more intelligently.Melanie1-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.
2010-05-19Clean up output a bitMelanie1-1/+1
2010-05-04* Added an important comment to warn people not to use MockConsole for ↵Teravus Ovares (Dan Olivares)1-0/+5
anything but testing.
2010-05-04* This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)1-0/+32
reference * Added a MockConsole that doesn't require a handle to System.Console
2010-04-16Fix http://opensimulator.org/mantis/view.php?id=4657 where ↵Justin Clark-Casey (justincc)1-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
2010-04-16Fix http://opensimulator.org/mantis/view.php?id=4657 where ↵Justin Clark-Casey (justincc)1-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
2010-02-15Formatting cleanup.Jeff Ames2-9/+9
2010-01-26* Quick fix to Remote Console session ID handling.Adam Frisby1-0/+6
2010-01-20Console output no longer requires loglevel to be set to info; you can run ↵mbowman2-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>
2010-01-08Fix repeated ArgumentOutOfRangeException when a local OpenSim console is ↵Justin Clark-Casey (justincc)2-35/+79
resized under mono May fix mantises 3186, 3270, 4022, 4238
2009-10-01Formatting cleanup.Jeff Ames1-5/+5
2009-09-22Completely remove the prior implementation of the request event handlingMelanie1-1/+1
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that allow access to the request headers and body.