aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lock disposal of separate gdi+ objects under different threads since this ↵Justin Clark-Casey (justincc)2012-08-241-26/+42
| | | | | | | | | | prevents malloc heap corruption seen under Ubuntu 10.04.1 and 11.04 - probably a libcairo issue In testing, it appears that if multiple threads dispose of separate GDI+ objects simultaneously, the native malloc heap can become corrupted, possibly due to a double free(). This may be due to bugs in the underlying libcairo used by mono's libgdiplus.dll on Linux/OSX. These problems were seen with both libcario 1.10.2-6.1ubuntu3 and 1.8.10-2ubuntu1. They go away if disposal is perfomed under lock.
* Fix bug in SoundModule.PlayAttachedSound() where every sound update to an ↵Justin Clark-Casey (justincc)2012-08-241-3/+5
| | | | | | avatar would base its gain calculation on the previous avatar's gain, instead of the original input gain This is similar to commit d89faa which fixed the same kind of bug in TriggerSound()
* Tighten up OpenSim.Framework.Cache locking to avoid race conditions.Justin Clark-Casey (justincc)2012-08-241-30/+53
| | | | | This is to resolve a reported issue in http://opensimulator.org/mantis/view.php?id=6232 Here, the land management module is using OpenSim.Framework.Cache (the only code to currently do so apart from the non-default CoreAssetCache).
* Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)2012-08-2413-23/+69
| | | | | | | | | race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
* Fix llDialog responses so that they can be heard throughout the region. This ↵Melanie2012-08-241-1/+1
| | | | now conforms to the behaviour in SL.
* When reporting a thread timeout, create a copy of the info rather than ↵Justin Clark-Casey (justincc)2012-08-241-1/+14
| | | | | | | passing the original ThreadWatchdogInfo structure. This is to avoid the possibility of misleading reporting if a watchdog update outraces an alarm. Should address any remaining issues from http://opensimulator.org/mantis/view.php?id=6012
* minor: Make xengine debug message on script load a scripting loading message ↵Justin Clark-Casey (justincc)2012-08-241-7/+9
| | | | | | instead. This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
* Correct an exception report in SceneObjectPart so it outputs the stack.Robert Adams2012-08-241-1/+1
|
* Implementing PRIM_LINK_TARGET in a non-recursive fashionSignpostMarv2012-08-241-49/+74
|
* Don't enable the thread watchdog until all regions are ready.Justin Clark-Casey (justincc)2012-08-242-7/+33
| | | | This is to avoid false positives when the machine is under heavy load whilst starting up.
* adding ATTACH_*_PEC constantsSignpostMarv2012-08-241-0/+2
|
* Prevent race conditions when one thread removes an NPC SP before another ↵Justin Clark-Casey (justincc)2012-08-242-39/+50
| | | | thread has retreived it after checking whether the NPC exists.
* Release http-in URLs when llResetScript is calledMelanie2012-08-241-0/+6
|
* Flip version to 0.7.4-rc10.7.4-rc1Justin Clark-Casey (justincc)2012-08-031-1/+1
|
* Strip experimental tag from --publish option of "save oar" region console ↵Justin Clark-Casey (justincc)2012-08-031-8/+7
| | | | command
* Fix old regression that stopped saving parcel owner data in OARs.Justin Clark-Casey (justincc)2012-08-033-36/+73
| | | | | | This was working in 0.7.2 but was accidentally removed from 0.7.3. The --publish option for "save oar" will now save oars stripped of parcel owner information as well as scene object info. Please use the --publish option if you want to publish oars that may be later loaded by others to the same grid from which they were saved.
* Fix build break.Justin Clark-Casey (justincc)2012-08-031-1/+1
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimRobert Adams2012-08-031-4/+4
|\
| * Update settings loading in AvatarFactoryModule which should have been in ↵Justin Clark-Casey (justincc)2012-08-031-4/+4
| | | | | | | | last commit 205f2326
* | BulletSim: pass collision subscription information to the C++ code so ↵Robert Adams2012-08-033-16/+45
| | | | | | | | collisions on objects that don't care are not reported up.
* | BulletSim: Add AddObjectForce to BulletSim API.Robert Adams2012-08-033-20/+38
|/ | | | | | Add interface 2 enhancements to BSCharacter. Modify AddForce and SetForce to use the new Bullet interface. More DetailLog statements for character.
* Consolidate PersistBakedTextures, DelayBeforeAppearanceSend and ↵Justin Clark-Casey (justincc)2012-08-032-4/+9
| | | | | | DelayBeforeAppearanceSave into [Appearance] section from [Startup] config section so that all appearance settings are in the same place and not in the startup bucket. All these settings are in OpenSimDefaults.ini only. If you are using them then please adjust your OpenSim.ini
* Restore SOG constructor chaining removed in recent 513b77b. This is not a ↵Justin Clark-Casey (justincc)2012-08-031-1/+1
| | | | functional change.
* Fix the recent windows compile error by putting newFont for case "R" in ↵Justin Clark-Casey (justincc)2012-08-031-3/+8
| | | | VectorRenderModule inside its own context, rather than disposing of the old font before using it as a prototype for the new.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-031-2/+2
|\
| * attempting to fix a build issueSignpostMarv2012-08-031-2/+2
| | | | | | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* | Move previously unadvertised SendPeriodicAppearanceUpdates setting from ↵Justin Clark-Casey (justincc)2012-08-031-1/+7
|/ | | | | | | | | | [Startup] to [Appearance] config section. Add description and default of false (as before) to OpenSimDefaults.ini If set to true, this config switch will resend avatar appearance information (a small amount of UUID data, not the baked textures themselves) to other avatars in the sim every 60 seconds. For me, this has helped with situations where avatars appear persistently grey - the LL viewer sometimes did not appear to request assets the first time the appearance data was sent. However, this switch will not help with other appearance failure situations (e.g. failure to bake assets). This setting is experimental but will not have any significant impact on the simulator if turned to true.
* refactor: rename SOG.RezzingObjectID to SOG.FromPartID to match ↵Justin Clark-Casey (justincc)2012-08-033-3/+3
| | | | FromFolderID, FromItemID and to reflect that it's a SOP ID rather than a SOG ID.
* Don't bothre setting RezzingObjectID to UUID.Zero in SOG constructor - this ↵Justin Clark-Casey (justincc)2012-08-031-3/+4
| | | | is already its default value as it's a struct.
* ImprovedTerseObjectUpdate packet does not support shape updates, thus ↵SignpostMarv2012-08-031-1/+1
| | | | scheduling terse updates will not (and does not) update shape information in the viewer
* Fixed a rare bug that caused Save OAR to fail because it thought it had ↵Oren Hurvitz2012-08-031-5/+11
| | | | | | timed-out The bug manifested as follows: a large world was saved. All the assets were found. But for some unknown reason, the timeout timer was restarted. So after 1 minute it closed the Archive Writer, because it didn't receive any more assets during that minute. That caused the OAR to become corrupted because ArchiveWriteRequestExecution.Save() was still running.
* Save membership fee to the database when a group is created.Kevin Cozens2012-08-031-25/+25
|
* BulletSim: Debugging log statements added. Reduced size of updata buffer ↵Robert Adams2012-08-022-6/+27
| | | | trying to find a corrupted memory problem. Update DLL and SO.
* minor: Comment out "Deleting asset" log messages for nowJustin Clark-Casey (justincc)2012-08-032-2/+4
|
* Delete old blank SOGSpamTestJustin Clark-Casey (justincc)2012-08-031-37/+0
|
* Properly dispose of all GDI+ entities used in VectorRenderModule for dynamic ↵Justin Clark-Casey (justincc)2012-08-031-253/+316
| | | | | | | textures. The convention is that if an object implements IDiposable() the code must explicitly call Dispose() or call it via the using statement. This may be particularly important for GDI+ objects since they encapsulate native code entities.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-028-4/+55
|\
| * Initialize the Rezzing object to UUID.ZeroMelanie2012-08-021-3/+4
| |
| * reduced-complexity implementation of function to get rezzing object keySignpostMarv2012-08-025-1/+29
| | | | | | | | Signed-off-by: Melanie <melanie@t-data.com>
| * Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-08-011-0/+3
| |\
| * | Create the ability for physics modules to request assets on demand byMelanie2012-08-013-0/+22
| | | | | | | | | | | | | | | | | | themselves. For that, the physics module simply calls RequestAssetMethod, which in turn points to Scene.PhysicsRequestAsset. This gives physics access to the asset system without introducing unwanted knowledge of the scene class.
* | | Add simple draw test for the VectorRenderModuleJustin Clark-Casey (justincc)2012-08-021-0/+75
| |/ |/|
* | Fix a bug in pCampbot grabbing behaviour where an exception would be thrown ↵Justin Clark-Casey (justincc)2012-08-011-0/+3
|/ | | | if the bot was not yet aware of any objects.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-08-013-12/+14
|\
| * BulletSim: fix problem where resizing a primary shape (cube or sphere) would ↵Robert Adams2012-07-312-5/+3
| | | | | | | | not rebuild the physics mesh. Update the DLLs and SOs to latest version.
| * BulletSim: change boolean parameters in the shape data from int's to float's ↵Robert Adams2012-07-312-7/+11
| | | | | | | | to be consistant with parameter data structure
* | Look up the NPC module when the SensorRepeat class is created, rather than ↵Justin Clark-Casey (justincc)2012-08-011-5/+6
|/ | | | on every single sensor sweep.
* Change exception log messages in XInventoryService connector to error rather ↵Justin Clark-Casey (justincc)2012-08-011-9/+8
| | | | | | than debug, since these signal real problems. Also outputs full exception instead of just the message to aid diagnostics.
* Resolve a deadlock between INPCModule and SensorRepeat by replacing the ↵Justin Clark-Casey (justincc)2012-07-311-35/+43
| | | | | | | | SensorRepeat list with a new list on add/removes rather than locking it for the duration of the sensor sweep. A deadlock was observed today where NPC removal on a script thread would lock the NPC list and then try to lock the sensor list via scripted attachment removal. Concurrently, the sensor sweep thread would lock the sensor list and then try to lock the NPC list to check NPC status. This commit resolves the deadlock by replacing the sensor list on update rather than locking it for the duration of the sweep.
* Fix bug in SoundModule.TriggerSound() where every sound update to an avatar ↵Justin Clark-Casey (justincc)2012-07-311-3/+6
| | | | | | would base its gain calculation on the previous avatar's gain, instead of the original input gain. This was making sound attenuate oddly when there were NPCs in the region, though it could also happen with ordinary avatars.