aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-02Allow registering regions whose names are equivalent under LIKE but not ↵Oren Hurvitz1-0/+11
truly equal
2013-01-02Fix indenting on ConsoleDisplayTable, align indenting on "show animations" ↵Justin Clark-Casey (justincc)1-2/+3
console command
2013-01-02minor: Allow objects to be added directly to a row on a ConsoleDisplayTable ↵Justin Clark-Casey (justincc)1-1/+1
rather than having to ToString() them first
2013-01-02Add "show animations" console command for debug purposes.Justin Clark-Casey (justincc)1-4/+4
This shows the current animation sequence and default anims for avatars.
2013-01-01minor: Assign names to the different SmartThreadPools for debugging purposes.Justin Clark-Casey (justincc)1-0/+1
A different approach to the patch in http://opensimulator.org/mantis/view.php?id=6462 that doesn't involve further forking of SmartThreadPool
2013-01-01refactor: call Util.InitThreadPool() if we are initializing an uninitialized ↵Justin Clark-Casey (justincc)1-1/+1
pool on first use rather than constructing it ourselves. No functional change.
2012-12-22Add helper routine Util.InRange()Robert Adams1-0/+7
2012-12-16Add stack dump function that takes an alternate printer outter. I've found ↵Robert Adams1-1/+7
that log4net can be slowish so, if one is generating A LOT of debug output, alternate printers are better
2012-12-12Add "debug script log" command to allow setting a numeric debug level on ↵Justin Clark-Casey (justincc)1-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.
2012-12-11Hide some console output when initializing addin repositoryBlueWall1-0/+2
We do this in OpenSim.exe to hide output when unmanaged dll are scanned by mono addins. Libomv has hard-coded path to "." for the openjpeg libraries, causing output to the console when they are scanned. We will cover this up for now, then look at getting libomv to look for the libs outside the "." later.
2012-12-07Format changeBlueWall1-1/+1
Removed some white space in a line, looking to trigger a build
2012-12-07Use a thread abort safe version of OpenMetaverse.DoubleDictionary with the ↵Justin Clark-Casey (justincc)1-0/+508
aim of avoiding OpenSimulator problems due to script thread aborts. When an object is removed, its scripts are stopped and then the thread running them is aborted if stop takes too long. However, it appears that aborting a thread at just the wrong moment when it is obtaining a ReaderWriterLockSlim lock can leave this lock in an inconsistent state. One symptom of this is that mono leaps to 100% cpu and a vm thread dump reveals lots of threads waiting for a ReaderWriterLockSlim lock without any thread actually holding it. This is probably the same problem as encountered originally in commit 12cebb12 This commit looks to plaster this problem by putting lock obtaining methods inside finally blocks which should be uninterruptible by thread aborts.
2012-12-05Remove very probably unused PrimitiveBaseShape(bool) constructor to reduce ↵Justin Clark-Casey (justincc)1-12/+6
code complexity
2012-12-05Don't pointlessly set ExtraParams = byte[1] in PrimitiveBaseShape since this ↵Justin Clark-Casey (justincc)1-3/+0
is ignored by the ExtraParams properly anyway
2012-12-05minor: tidy up spacing at bottom of MundaneFrameworkTestsJustin Clark-Casey (justincc)1-6/+2
2012-12-05In BaseHttpServer.HandleRequest(), use Culture.SetCurrentCulture() rather ↵Justin Clark-Casey (justincc)1-1/+1
than creating a new CultureInfo separately
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)12-13/+21
automatically turns off any logging enabled between tests
2012-11-24Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)1-0/+5
parcel owner ID to the estate owner even if the group UUID was present. Aims to address http://opensimulator.org/mantis/view.php?id=6355 As part of this work, an incomplete IXGroupsData was added which currently only allows store/fetch/delete of group records (i.e. no membership data etc) This is subject to change and currently only an in-memory storage implementation exists for regression test purposes.
2012-11-23Make "show threads" and "thread abort" console commands available on all serversJustin Clark-Casey (justincc)3-108/+103
2012-11-23Make "force gc" console command available across all serversJustin Clark-Casey (justincc)2-11/+12
2012-11-23Make "show version" console command available across all serversJustin Clark-Casey (justincc)2-8/+7
2012-11-23Delete unused BaseHttpServer.HandleAgentRequest()Justin Clark-Casey (justincc)1-53/+0
2012-11-23Add "help all" console command which will list all commands alphabetically ↵Justin Clark-Casey (justincc)1-1/+28
in a single list
2012-11-22Factor out command script code.Justin Clark-Casey (justincc)1-2/+50
This also allows comments in command scripts (lines starting with ;, # or //) to be used across all servers
2012-11-22Make "config show/set/get/save" console commands available on all serversJustin Clark-Casey (justincc)1-3/+137
2012-11-22Factor out common pid file creation and removal code.Justin Clark-Casey (justincc)2-40/+47
Log path at which pid file is created or reason for failure to create.
2012-11-22Add "get log level" command - this returns the current server session ↵Justin Clark-Casey (justincc)1-19/+31
console logging level. This supersedes getting information by calling "set log level" without a 4th argument, which is confusing.
2012-11-22Remove unused BaseOpenSimServer.ShowHelp()Justin Clark-Casey (justincc)1-21/+0
2012-11-22Make "set log level" command available across all serversJustin Clark-Casey (justincc)2-31/+31
2012-11-22Make "show info" command available across all serversJustin Clark-Casey (justincc)2-179/+183
This helpfully lists version information, startup location and console log level
2012-11-22Factor out common registration of "show uptime" commandJustin Clark-Casey (justincc)2-66/+76
2012-11-22factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)7-46/+69
2012-11-22refactor: Factor out copy/pasted server uptime report codeJustin Clark-Casey (justincc)2-25/+62
2012-11-20minor: If logging full incoming HTTP data, don't deceptively print ... at ↵Justin Clark-Casey (justincc)1-2/+5
the end of the body.
2012-11-17Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)1-17/+5
This was necessary historically but hasn't been for many years. Can still get CreatorIdAsUuid, which is really just a UUID cached version of the string CreatorId
2012-11-16refactor: Move stat classes out of StatManager and into their own files for ↵Justin Clark-Casey (justincc)3-260/+326
clarity.
2012-11-16Add a first draft mechanism for the IncomingPacketsProcessedStat to show the ↵Justin Clark-Casey (justincc)2-4/+139
delta over time. The chief motivation for this is to be able to tell whether there's any impact on incoming packet processing from enabling extra packet pooling.
2012-11-15Make PacketPool class stats pull stats instead of push stats so they can be ↵Justin Clark-Casey (justincc)1-4/+10
lifted up into LLUDPServer and be distiguished by scene name
2012-11-14A few more AssemblyInfos in a few more dlls.Diva Canto11-4/+301
2012-11-13Updated all existing AssemblyVersions's to 0.7.5.*. Many DLLs still don't ↵Diva Canto3-3/+3
have an AssemblyInfo file.
2012-10-31Make "show object part" command correctly display script status.Justin Clark-Casey (justincc)2-12/+11
Uses new IEntityInventory.TryGetScriptInstanceRunning() Makes it clearer that TaskInventoryItem.ScriptRunning cannot be used as it is temporary and not updated.
2012-10-30Add AnimState to CADUMelanie1-0/+36
2012-10-29fixing poorly-formatted xml doc string for Util.IsInsideBoxSignpostMarv1-1/+1
2012-10-29Add "force gc" region console command which manually invokes garbage collection.Justin Clark-Casey (justincc)1-0/+11
For debugging purposes.
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)2-5/+18
Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
2012-10-25Add TestOsNpcLoadAppearance()Justin Clark-Casey (justincc)1-0/+3
2012-10-24Allow "show object", "show part", "dump object" and "delete object" to ↵Justin Clark-Casey (justincc)1-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
2012-10-24Get "save oar" and "save iar" to tell you in a more friendly manner if the ↵Justin Clark-Casey (justincc)1-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.
2012-10-24Add "dump object uuid" console command. This allows any object in the scene ↵Justin Clark-Casey (justincc)1-91/+115
to be serialized and dumped to XML for debug purposes.
2012-10-24minor: Move co-ordinate related help to object commands to common ↵Justin Clark-Casey (justincc)1-0/+17
ConsoleUtil.CoordHelp