aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* 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-102-16/+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-102-17/+11
| | | | | | Our feet will now be above ground
* * Fixed asset bug.Adam Frisby2008-11-091-2/+2
|
* 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-0913-32/+157
| | | | | | 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
|
* * Added license file for previous commit.Adam Frisby2008-11-091-0/+477
|
* * Enabled GTCache for AssetCache Adam Frisby2008-11-094-204/+100
| | | | | | * 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)
* * Adding GlynnTucker.Cache.dll, from http://gtcache.sourceforge.net/Adam Frisby2008-11-091-0/+0
| | | | | | | * Licensed under MPL License. * Adding to be used in the AssetCache, this cache allows you to do things like specify rules on when cache items should be removed (ie 24 hours since last access, etc). * No code changed in this commit.
* Refactoring: Moved component creation to "ComponentFactory" as dictated by ↵Tedd Hansen2008-11-094-108/+155
| | | | convention
* Update svn properties. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-0926-140/+653
|
* Reintroduce transactionID to the parameter list for SendInstantMessage.Melanie Thielker2008-11-097-13/+21
| | | | | | | It is required by group IM and also for a proper implementation of item give, group notice attachments and offline IM.
* Mantis#2591. Thank you kindly, Ruud Lathrop for a patch that:Charles Krinke2008-11-092-0/+50
| | | | | | | This patch is two script that fixes a issue when adding more then 1 avatar to estateban/estatemanager list. It removes a key and adds a index to the tables.
* 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
* Mantis#2589: Thanks StrawberryFride, for a patch that fixes the build on VS2005.Homer Horwitz2008-11-081-2/+3
|
* * 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-083-27/+64
| | | | | | | 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.
* * "Fixed" a NRE with the new script engine Tedd committedAdam Frisby2008-11-081-8/+14
| | | | | * Tedd will need to fix properly.
* Mantis#2598: Thanks Fly-Man- for a patch that fixes a client-thread crash byHomer Horwitz2008-11-081-1/+1
| | | | | | allowing landFlags bit 31 to be used (Int32 -> UInt32).
* Mantis #2553: Thank you, idb, for a fix that helps to persist changes in ↵Homer Horwitz2008-11-081-0/+8
| | | | prim attributes.
* * Missed a file from previous checkin.Adam Frisby2008-11-081-0/+15
|
* * Added IClientChat to IClientCoreAdam Frisby2008-11-082-102/+187
| | | | | | * Updated LLClientView * Removed defunct SendChatMessage(bytes[]...) method, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
* - Try to fix build again...Homer Horwitz2008-11-081-2/+2
|
* * Ported InstantMessageModule to IClientCoreAdam Frisby2008-11-081-6/+11
| | | | | * See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#InstantMessageModule.cs
* CIA testTedd Hansen2008-11-081-0/+1
|
* * Fixed prebuildAdam Frisby2008-11-081-20/+1
|
* * 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-0853-573/+2997
| | | | 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-0833-116/+111
| | | | | | * 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.*
* Fix broken build since r7179Homer Horwitz2008-11-081-0/+22
|
* 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-082-33/+20
| | | | | | | | | | 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-083-98/+47
| | | | | | * 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
* Change Version string from 0.5.11 to 0.6.0 for release.Charles Krinke2008-11-081-1/+1
|
* Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-0829-24/+726
|
* Fix .mdb include in Prebuild.Jeff Ames2008-11-082-3/+1
|