aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * Refactor the callers of SOG.SetPartAsRoot() to use common codeJustin Clarke Casey2008-11-101-31/+18
|
* * minor: Remove old dead and buried datastore codeJustin Clarke Casey2008-11-103-1288/+0
|
* minor: remove mono compiler warningsJustin Clarke Casey2008-11-101-1/+0
|
* * Extend basic scene test to retrieve the object from the scene and match uuidsJustin Clarke Casey2008-11-106-72/+37
| | | | | | | * Decouple sog and sop by removing the need to pass the sog to the sop when it is created - most of the code was doing this operation (and hence duplicating it) anyway * Remove unused constructors
* Keep dropped prims from being temp-on-rez and getting cleaned upMelanie Thielker2008-11-101-0/+1
|
* another small bit of startup refactoringMW2008-11-101-0/+5
|
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Sean Dague2008-11-101-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses mantis bug 2576. http://opensimulator.org/mantis/view.php?id=2576 Briefly, if you call llDie from many scripts at the same time (say a build is cleaning up excess objects) then OpenSim deadlocks. Avatars are unable to move, and whilst the console is active you can't do much without it also locking up. This only occurs with the XEngine script engine enabled. I have attached a patch which works, but I'm not sure its the right way to address the problem. The fundamental problem is that a lock on a SceneObjectGroup's m_parts is taken when the object is deleted, a callback to the script engine occurs and a fair way down the callchain, potentially there are locks taken on several other SceneObjectGroup's m_parts. Deadlock then occurs if you get unlucky enough to get in the situation where with several llDie's are called and SceneObjectGroups have taken a lock on their own m_parts, and end up waiting on each other's locks to become available. The patch adds a lock at a high level so that that the removal of script instances from an object only occurs once per scene at a time. This avoids the potential of deadlock. Theoretically there could be some performance hit but AFAICT the path taken is not a common occurrence. Would welcome any suggestions for a better solution, otherwise feel free to apply :-) Note this patch was built against the 0.6.0 freeze as trunk was rather broken for me this morning (creating a script killed the client connection).
* The region proxy for the load balancer module works again. The incoming ↵Johan Berntsson2008-11-101-10/+20
| | | | proxy messages were not properly decoded.
* Prevent AO from crashing the sim if the user logs out before the script Melanie Thielker2008-11-101-0/+3
| | | | | | stops
* Add a MinTimerInterval, defaulted at 0.5s, to the scripting configurationMelanie Thielker2008-11-101-0/+5
|
* Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker2008-11-104-7/+13
| | | | | | an avatar moves.
* Thank you, idb, for a patch that fixes avatar height calculationMelanie Thielker2008-11-101-3/+4
| | | | | | Our feet will now be above ground
* Prevent updates about other people's HUD objects being sentMelanie Thielker2008-11-091-0/+3
|
* Enabled SoftERP for the contact structure but not SoftCFM.Charles Krinke2008-11-091-1/+6
| | | | | | A tube on a pole is a bit less "flubbery" so maybe this is the right direction.
* Script region crossing. This has not user functionality, but lays all theMelanie Thielker2008-11-0912-31/+156
| | | | | | groundwork.
* Cause llGetInventoryType to return the asset type, which corresponds withMelanie Thielker2008-11-091-1/+1
| | | | | | the LSL constants.
* Clean up a few comments.Charles Krinke2008-11-091-11/+3
|
* Clean up the mass < 0 logic a tiny bit whenCharles Krinke2008-11-091-2/+1
| | | | | calculating mass.
* * Applying EventQueueGetModule patch to try debug the case of the missing EQG.Adam Frisby2008-11-091-1/+2
|
* * Enabled GTCache for AssetCache Adam Frisby2008-11-092-12/+22
| | | | | | * Items will now be locally cached for only 24 hours from last access. (Rather than until restart) * Caveat: Implementing the new caching mechanism means statistics gathering on AssetCache is no longer functional. (Justin - you might want to take a look and see if you can somehow get that back and running if you still need it)
* Update svn properties. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-094-4/+4
|
* Reintroduce transactionID to the parameter list for SendInstantMessage.Melanie Thielker2008-11-095-10/+16
| | | | | | | It is required by group IM and also for a proper implementation of item give, group notice attachments and offline IM.
* Refactor the detectparams variable from 'd' to Charles Krinke2008-11-081-30/+30
| | | | | a more meaningful name of 'detectedParams'.
* * Quick test for Dahlia, returns Packet Processing Loop to Infinite Loop.Adam Frisby2008-11-081-1/+1
|
* Mantis#2590. Thank you kindly, Diva for a patch that solves:Charles Krinke2008-11-081-1/+10
| | | | | | When the given address to CheckRegion is wrong, it crashes the whole server. Patch included.
* Mantis#2583. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-11-081-16/+31
| | | | | | | | | | PRIM_TEMP_ON_REZ and PRIM_MATERIAL are not implemented in llSetPrimitiveParams so support for these is in the patch. Also two deprecated functions throw errors. They are changed to behave as in SL: llSetPrimURL - Does nothing except the sleep (currently commented out) & llRefreshPrimURL shouts "llRefreshPrimURL - not yet supported" on the error channel
* * Fixed issue where incorrect braces nesting resulted in a section of ↵Adam Frisby2008-11-081-24/+22
| | | | | | | PacketQueue getting disabled. * This means the recent memory fix should now be working correctly - so the current largest memory leak should be fixed. AssetCache still needs to be addressed however.
* * Fixed a major memory leak in packet processing - PacketQueue.Close is ↵Adam Frisby2008-11-082-27/+55
| | | | | | | never called, causing the PacketQueue for dead clients to be preserved (including it's contents). * This patch is highly experimental and may cause clients to not be able to connect, if this is the case, it will be rolled back in approximately 5 minutes.
* Mantis #2553: Thank you, idb, for a fix that helps to persist changes in ↵Homer Horwitz2008-11-081-0/+8
| | | | prim attributes.
* * Added IClientChat to IClientCoreAdam Frisby2008-11-081-16/+3
| | | | | | * Updated LLClientView * Removed defunct SendChatMessage(bytes[]...) method, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
* * Ported InstantMessageModule to IClientCoreAdam Frisby2008-11-081-6/+11
| | | | | * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#InstantMessageModule.cs
* * Implemented OnClientConnect in Scene EventManagerAdam Frisby2008-11-081-0/+16
| | | | | | * Identical to OnNewClient except it passes IClientCore instead of IClientAPI * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
* Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen2008-11-082-3/+0
| | | | release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
* * Added IClientIM to IClientCore interfacesAdam Frisby2008-11-087-44/+47
| | | | | | * Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting. * Removed unused usings from Framework.*
* Added necessary locking to LandManagementModule. As it is used by severalHomer Horwitz2008-11-081-143/+239
| | | | | | | threads concurrently, you'll get bad Heisenbugs without correct locking. This might fix Mantis#2413
* Small bugfix for RemoveNeighbourRegionHomer Horwitz2008-11-081-1/+1
|
* * Made ClientLoop non-infinite, ClientLoop will now disengage when the ↵Adam Frisby2008-11-081-30/+19
| | | | | | | | | | client has logged out. * Cleaned up a section of LLClientView * Removed unused 'using' from HTTPServer * Please test this patch.
* * Implementing first of the 0.6 IClientAPI ChangesAdam Frisby2008-11-081-12/+39
| | | | | | * Introducing IClientCore - this will be the key replacement for IClientAPI in the long run, it has a very minimal set of methods designed to allow you to access specialist API's. * See https://lists.berlios.de/pipermail/opensim-dev/2008-September/003049.html for the early discussion on this.
* Fix llParseString* to create LSLStrings. This makes llListFindList workMelanie Thielker2008-11-081-19/+19
| | | | | | on lists created by parsing
* Add some discovery code, laying groundwork for region-crossing scriptsMelanie Thielker2008-11-083-3/+29
| | | | | | No user functionality yet
* Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-082-2/+29
|
* Remove part of another patch that would cause DNE to nuke the sim in it'sMelanie Thielker2008-11-081-2/+0
| | | | | | current form
* Refactor IEventReceiver back into IScriptEngineMelanie Thielker2008-11-0815-105/+110
|
* * Correct catch changed on last commit, since I just realized I started ↵Justin Clarke Casey2008-11-071-1/+1
| | | | making it catch a little too much, in principle
* * minor: Remove mono compiler warningJustin Clarke Casey2008-11-071-1/+1
|
* * Apply http://opensimulator.org/mantis/view.php?id=2582Justin Clarke Casey2008-11-074-66/+40
| | | | | | | * Send prim flags as booleans from LLClientView rather than in the native LL array * Thanks idb
* * Fix bug in r7162 where avatars could not moveJustin Clarke Casey2008-11-074-28/+30
| | | | | | | * Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one * I don't believe this will cause any problems, but please revert to a separate sequence if it does
* * refactor: cleanup AllocateLocalPrimId() a bit moreJustin Clarke Casey2008-11-079-31/+19
|
* * Rename PrimIDAllocate() to more effectively convey what it does, and put ↵Justin Clarke Casey2008-11-076-14/+15
| | | | the verb at the front
* * Remove next local id from SceneBaseJustin Clarke Casey2008-11-072-12/+0
| | | | | | * This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy