aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-26BulletSim: refactor all the linkset logic out of the prim classRobert Adams4-235/+409
and into its own class. The BulletSim data structures track individual prims as linksets of 1 so most of the prim code is not different between a linked and unlinked object.
2012-07-26Add check so Ode does not try to simulate after it has been Dispose()'ed. ↵Robert Adams1-0/+9
Fixes exception that happens when shutting down region (improvements from last patch)
2012-07-26When copying items, copy the item description field instead of the asset ↵Justin Clark-Casey (justincc)2-25/+49
description field. If we copy the asset description then we will only ever replicate the very first description, if there was one, not any subsequent changes. Thanks to Oren Hurvitz of Kitely for this patch from http://opensimulator.org/mantis/view.php?id=6107 I have adapted it slightly to change the order of arguments (name before description rather than vice-versa) and slightly improve some method doc.
2012-07-26Add a Dispose() of the physics engine when a scene is being shutdown.Robert Adams1-0/+9
2012-07-25BulletSim: remove unused, commented out code in BSConstraintRobert Adams1-8/+0
2012-07-25BulletSim: fix line endings in newly added files (Is it DOS or is it UNIX? ↵Robert Adams2-301/+301
Only it's hairdresser knows for sure)
2012-07-25BulletSim: add parameters for setting linkset constraint factorsRobert Adams2-17/+32
2012-07-25BulletSim: small change to use the pointer to the bullet object for zeroing ↵Robert Adams1-6/+5
forces.
2012-07-25BulletSim: Redo parameter specification so only one place hasRobert Adams1-248/+378
to change to have a parameter show up in the ini file and command line. Will make it much easier for the next person.
2012-07-25BulletSim: Add C# classes for storing and tracking constraints.Robert Adams2-0/+301
2012-07-25BulletSim: Move constraint tracking from C++ code to C# codeRobert Adams2-18/+83
for more flexibility.
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)13-2/+13
with other monitoring code from OpenSim.Framework
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)26-29/+27
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Add MemoryWatchdog class missing from git master a1e9964Justin Clark-Casey (justincc)1-0/+129
2012-07-25Correct churn stat from MB/s from KB/sJustin Clark-Casey (justincc)1-1/+1
2012-07-25Add experimental "OpenSim object memory churn" statistics to output of ↵Justin Clark-Casey (justincc)5-63/+72
region console "show stats" command This aims to capture the amount of memory that OpenSim turns over whilst operating a region. This memory is not lost - apart from leaks it is reclaimed by the garbage collector. However, the more memory that gets turned over the more work the GC has to do to reclaim it.
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)8-18/+87
This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
2012-07-24Rename "image queues clear" console command to "clear image queues"Justin Clark-Casey (justincc)1-12/+6
There is less justification for this word arrangement (verb after noun) now that command help is categorized. Also removes "image queues show" in favour of existing alias "show image queues".
2012-07-24Add information about each column to "show queues" region console command help.Justin Clark-Casey (justincc)1-2/+9
2012-07-24Extend region console "show queues" command to show already collected time ↵Justin Clark-Casey (justincc)2-19/+26
since last packeted received by the simulator from a viewer.
2012-07-24Remove bad using statement in AttachmentsModuleTests.Justin Clark-Casey (justincc)1-2/+1
It seems that the mono 2.10.8.1 doesn't choke on this but for some reason 2.4.3 fails.
2012-07-24extend regression TestRezScriptedAttachmentFromInventory() to check actual ↵Justin Clark-Casey (justincc)1-3/+19
start of script rather than just the script status reported by SOG.ContainsScripts()
2012-07-24extend regression TestDetachScriptedAttachementToInventory() to check ↵Justin Clark-Casey (justincc)2-5/+45
correct running status on a re-rezzed attachment
2012-07-23BulletSim: change how prim mass is saved so it is always calculated but zero ↵Robert Adams1-20/+23
is given if not physical.
2012-07-23BulletSim: small optimizations for link and unlink codeRobert Adams1-12/+8
2012-07-23BulletSim: add Dispose() code to free up resources and close log files.Robert Adams1-0/+21
2012-07-23BulletSim: add all the new functions to BulletSimAPI.Robert Adams2-6/+139
Modify ZeroMotion() to not make tainting calls and to use new API calls.
2012-07-23BulletSim: improve linking to add each link individually rather than ↵Robert Adams1-60/+76
rebuilding the object each time. Makes it an O(n) operation rather than O(n\!).
2012-07-23Change attachment handling to remove object from the scene first as perMelanie5-42/+82
justincc's original work. Sample scripts before doing so. Also refactor some crucial common code and eliminate parameters that were only ever used with the same constant value.
2012-07-23Committing Avination's memleak fix-a-thon, installment #3Melanie1-0/+2
When linking, detach the no longer used SOG's from backup so they can be collected. Since their Children collection is never emptied, they prevent their former SOPs from being collected as well.
2012-07-23Committing Avination's memleak fix-a-thon, installment #2Melanie1-1/+10
Ensure items coming off the lockless queue are released. Also ensure this is done when the queue is cleared.
2012-07-23Commiting Avination's memleak fix-a-thon, installment #1Melanie1-4/+8
As the MinHeap shrinks, free object references that have been sent. Also, free the last item when it empties.
2012-07-20BulletSim: add reference to OpenSim.Region.CoreModules in BSScene.cs ↵Robert Adams2-2/+3
attempting to fix a mono compile error.
2012-07-20BulletSim: more detail logging for vehicle and general physics debugging.Robert Adams4-75/+244
Physical linksets are fully functional. Tweeking of the vehicle code to make it semi-work. Utilize the new API2 for some setting operations. Add GetOrientation() API call for proper reporting of children of linksets. Changes the interface between C# and C++ code so old DLLs won't work!
2012-07-20BulletSim: fix compile errors from last commit. Clean up passing of physics ↵Robert Adams2-15/+14
scene into vehicle dynamics code.
2012-07-20BulletSim: Add very detailed logging to BSDynamics for vehicle debuggingRobert Adams3-45/+146
2012-07-20Correct namespace of BinaryLoggingModule (a cut-and-paste error). Add a ↵Robert Adams2-1/+162
simple, high performance logger for high frequency logging (physics sub-operations, for instance).
2012-07-20BulletSim: Add PID variables to physical scene. Not PIDing yet, but soon.Robert Adams3-101/+97
Cleaned up code and got rid of compile warnings.
2012-07-20BulletSim: Add detailed and voluminous debug logging that is enabledRobert Adams2-40/+65
with an ini configuration parameter. Correct computation of relative offsets of children in a linkset. Remove a prim from any link relationship before deleting it. Minor code flow cleanups.
2012-07-20As per opensim-dev mailing list discussion, extend llGetDetectedType() to ↵Justin Clark-Casey (justincc)1-5/+28
return OS_NPC if an OS npc is detected. The detection will also return agent is the NPC has been created with the OS_NPC_SENSE_AS_AGENT option.
2012-07-20As per opensim-dev mailing list conversation, introduce OS_NPC constant for ↵Justin Clark-Casey (justincc)2-2/+4
use with llSensor() This same constant will later be used with llGetDetectedType(). This constant has a different name from NPC to avoid possible conflict with future LSL changes. This constant has a different value to try and avoid unnecessary conflict with future constants that may use the same value. Using the 'NPC' constant with llSensor() will remain valid but is deprecated.
2012-07-20Enables support for UUIDs to be returned in lists fromMic Bowman1-3/+13
modInvoke commands. Thanks SignpostMarv!!!
2012-07-20Implements a very useful OSSL function to test a string to seeMic Bowman3-0/+26
if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
2012-07-20Fix the order of operations on detach. The object must always be serializedMelanie1-6/+10
while still in the scene to avoid losing important script state. DeleteSceneObject can not be called before doing this!
2012-07-19minor: switch around mixed up circuit code and endpoint data in "show ↵Justin Clark-Casey (justincc)1-1/+1
connections" region console command
2012-07-19Make LLClientView instant message handling asynchronous rather than ↵Justin Clark-Casey (justincc)1-1/+1
synchronous to prevent long operations from holding up all inbound packet processing. Giving a large folder from one avatar to another was causing a long delay when handled synchronously, since it took some time to retrieve the necessary data from the inventory service. Handling this asynchronously instead stops this delay from disrupting all avatars in the scene. This has been shown in OSGrid. I see no reason for not handling all IM messages asynchronously, just as incoming chat is handled asynchronously, so this has been switched for all instant messages. Thanks to Nebadon for testing this change out.
2012-07-19Comment out OnIncomingInstantMessage and OnInstantMessage handlers in ↵Justin Clark-Casey (justincc)1-10/+10
GroupsModule, since these led to a private blank method
2012-07-19Stop explicitly closing and nulling out Animator in order to prevent NREs in ↵Justin Clark-Casey (justincc)2-23/+7
various places due to race conditions. Even where checks are being made they aren't enough since they all assume that the Animator they just checked is still there in the next line, which is not necessarily the case without locking. The memory used is small and these should be GC'd anyway when the SP is released. If this is not happening then the wider problem of old SPs being retained needs to be resolved.
2012-07-19minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-3/+1
2012-07-19Prevent race conditions between two threads that call LLClientView.Close() ↵Justin Clark-Casey (justincc)3-33/+60
simultaneously (e.g. ack timeout and an attempt to reconnect)