aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add stack dump function that takes an alternate printer outter. I've found ↵Robert Adams2012-12-161-1/+7
| | | | that log4net can be slowish so, if one is generating A LOT of debug output, alternate printers are better
* Merge branch 'master' of /home/opensim/var/repo/opensimBlueWall2012-12-121-4/+24
|\
| * 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.
* | Hide some console output when initializing addin repositoryBlueWall2012-12-111-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.
* Format changeBlueWall2012-12-071-1/+1
| | | | Removed some white space in a line, looking to trigger a build
* Merge branch 'master' into connector_pluginBlueWall2012-12-074-22/+517
|\
| * Use a thread abort safe version of OpenMetaverse.DoubleDictionary with the ↵Justin Clark-Casey (justincc)2012-12-071-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.
| * Remove very probably unused PrimitiveBaseShape(bool) constructor to reduce ↵Justin Clark-Casey (justincc)2012-12-051-12/+6
| | | | | | | | code complexity
| * Don't pointlessly set ExtraParams = byte[1] in PrimitiveBaseShape since this ↵Justin Clark-Casey (justincc)2012-12-051-3/+0
| | | | | | | | is ignored by the ExtraParams properly anyway
| * minor: tidy up spacing at bottom of MundaneFrameworkTestsJustin Clark-Casey (justincc)2012-12-051-6/+2
| |
| * In BaseHttpServer.HandleRequest(), use Culture.SetCurrentCulture() rather ↵Justin Clark-Casey (justincc)2012-12-051-1/+1
| | | | | | | | than creating a new CultureInfo separately
* | Merge branch 'master' into connector_pluginBlueWall2012-11-2547-754/+1721
|\ \ | |/ | | | | | | Conflicts: OpenSim/Server/Base/ServicesServerBase.cs
| * Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)2012-11-2412-13/+21
| | | | | | | | automatically turns off any logging enabled between tests
| * Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)2012-11-241-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.
| * Make "show threads" and "thread abort" console commands available on all serversJustin Clark-Casey (justincc)2012-11-233-108/+103
| |
| * Make "force gc" console command available across all serversJustin Clark-Casey (justincc)2012-11-232-11/+12
| |
| * Make "show version" console command available across all serversJustin Clark-Casey (justincc)2012-11-232-8/+7
| |
| * Delete unused BaseHttpServer.HandleAgentRequest()Justin Clark-Casey (justincc)2012-11-231-53/+0
| |
| * 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 command script code.Justin Clark-Casey (justincc)2012-11-221-2/+50
| | | | | | | | This also allows comments in command scripts (lines starting with ;, # or //) to be used across all servers
| * Make "config show/set/get/save" console commands available on all serversJustin Clark-Casey (justincc)2012-11-221-3/+137
| |
| * Factor out common pid file creation and removal code.Justin Clark-Casey (justincc)2012-11-222-40/+47
| | | | | | | | Log path at which pid file is created or reason for failure to create.
| * Add "get log level" command - this returns the current server session ↵Justin Clark-Casey (justincc)2012-11-221-19/+31
| | | | | | | | | | | | console logging level. This supersedes getting information by calling "set log level" without a 4th argument, which is confusing.
| * Remove unused BaseOpenSimServer.ShowHelp()Justin Clark-Casey (justincc)2012-11-221-21/+0
| |
| * Make "set log level" command available across all serversJustin Clark-Casey (justincc)2012-11-222-31/+31
| |
| * Make "show info" command available across all serversJustin Clark-Casey (justincc)2012-11-222-179/+183
| | | | | | | | This helpfully lists version information, startup location and console log level
| * Factor out common registration of "show uptime" commandJustin Clark-Casey (justincc)2012-11-222-66/+76
| |
| * factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)2012-11-227-46/+69
| |
| * refactor: Factor out copy/pasted server uptime report codeJustin Clark-Casey (justincc)2012-11-222-25/+62
| |
| * minor: If logging full incoming HTTP data, don't deceptively print ... at ↵Justin Clark-Casey (justincc)2012-11-201-2/+5
| | | | | | | | the end of the body.
| * Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)2012-11-171-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
| * refactor: Move stat classes out of StatManager and into their own files for ↵Justin Clark-Casey (justincc)2012-11-163-260/+326
| | | | | | | | clarity.
| * Add a first draft mechanism for the IncomingPacketsProcessedStat to show the ↵Justin Clark-Casey (justincc)2012-11-162-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.
| * Make PacketPool class stats pull stats instead of push stats so they can be ↵Justin Clark-Casey (justincc)2012-11-151-4/+10
| | | | | | | | lifted up into LLUDPServer and be distiguished by scene name
| * A few more AssemblyInfos in a few more dlls.Diva Canto2012-11-1411-4/+301
| |
| * Updated all existing AssemblyVersions's to 0.7.5.*. Many DLLs still don't ↵Diva Canto2012-11-133-3/+3
| | | | | | | | have an AssemblyInfo file.
| * Make "show object part" command correctly display script status.Justin Clark-Casey (justincc)2012-10-312-12/+11
| | | | | | | | | | Uses new IEntityInventory.TryGetScriptInstanceRunning() Makes it clearer that TaskInventoryItem.ScriptRunning cannot be used as it is temporary and not updated.
| * Add AnimState to CADUMelanie2012-10-301-0/+36
| |
| * fixing poorly-formatted xml doc string for Util.IsInsideBoxSignpostMarv2012-10-291-1/+1
| |
| * Add "force gc" region console command which manually invokes garbage collection.Justin Clark-Casey (justincc)2012-10-291-0/+11
| | | | | | | | For debugging purposes.
| * Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)2012-10-252-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.
| * Add TestOsNpcLoadAppearance()Justin Clark-Casey (justincc)2012-10-251-0/+3
| |
| * 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
| * Make it possible to turn the base UDP object packet pools on and off whilst ↵Justin Clark-Casey (justincc)2012-10-231-13/+1
| | | | | | | | | | | | running via the "debug lludp pool <on|off>" console command. For debug purposes. This does not currently apply to the higher LLUDP packetpool.
| * Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)2012-10-232-6/+84
| | | | | | | | | | | | | | | | they are enabled. Add count stats for existing LLUDP pool. This introduces a pull stat type in addition to the push stat type. A pull stat takes a method on construction which knows how to update the stat on request. In this way, special interfaces for pull stat collection are not necessary.
| * minor: Get content type handler logger to log "unset" for the content type ↵Justin Clark-Casey (justincc)2012-10-231-1/+1
| | | | | | | | instead of blank if no content type was set.
| * minor: Use LogIncomingToContentTypeHandler() method for incoming HTTP data ↵Justin Clark-Casey (justincc)2012-10-231-8/+2
| | | | | | | | | | | | where this wasn't already used. This allows log level 5 (log sample or large part of incoming post data) to operate and removes copy/paste.