aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-02Attempt to fix Mantis #6311. Honor a destination folder if one is givenMelanie1-0/+39
2012-10-02Add money event routing to the script engine.Melanie1-0/+3
2012-10-02Send money() events to the clicked prim. Reverting a change I made over a ↵Melanie1-1/+1
year ago.
2012-10-02Prevent the ExtraSettings code from crashing SQLite driven sims.Melanie1-0/+6
2012-10-01On more virtual methodDiva Canto1-1/+1
2012-09-30Allow setting connection limits, part 2Melanie1-1/+26
2012-09-30Allow setting max connections for an endpointMelanie2-4/+4
2012-09-30Add using clause I missedMelanie1-0/+1
2012-09-30Allow up to 12 simultaneous connections to a given endpoint rather than 2Melanie1-0/+1
2012-09-30Revert "Added request.Proxy=null everywhere, as discussed in ↵Diva Canto25-41/+8
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow." But the patch is here, in case anyone wants to try it. This reverts commit 531edd51d82ecd6a842a2611c99e9919634491ef.
2012-09-30Added request.Proxy=null everywhere, as discussed in ↵Diva Canto25-8/+41
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow. Thanks R.Gunther (rigun@rigutech.nl) https://lists.berlios.de/pipermail/opensim-users/2012-September/010986.html
2012-09-30Made a method of GridUserService virtual so it can be overridden.Diva Canto1-12/+1
2012-09-29Get rid of some unnecessary casts in RemoteAdminPlugin.Justin Clark-Casey (justincc)1-5/+5
This was stopping http://code.google.com/p/opensimtools/wiki/RemoteAdminPHPClass from working with some methods (e.g. create_user). However, this casting has been around for at least 2 years so I'm puzzled that it worked in the first place, though it probably is extremely old sample code.
2012-09-29Fix bug where debug http level 6 could not be specified. Also converts ↵Justin Clark-Casey (justincc)2-5/+5
newlines at this level to '\n' to enable them to be logged.
2012-09-29Fire EventManager.TriggerOnAttach (and hence LSL attach event) when an ↵Justin Clark-Casey (justincc)2-14/+18
object is attached from the scene. Enables previously disabled regression test. Based on SingpostMarv's patch in http://opensimulator.org/mantis/view.php?id=6302 but I prefer a simpler approach that does not expose a resume scripts option right now.
2012-09-29Extend attachment regression test to check for appropriate attach event firing.Justin Clark-Casey (justincc)1-25/+49
This reveals that the event is not being fired when an object is attached from ground, which is incorrect. This check is temporairly disabled.
2012-09-28BulletSim: remember to release the physical body and shape when a prim is ↵Robert Adams2-16/+16
destroyed. This fixes many problems with physical linksets.
2012-09-27BulletSim: add separate runtime and taint-time linkset children lists to ↵Robert Adams3-80/+93
keep the creation of constraints separate from runtime.
2012-09-27BulletSim: rename some constraint variables to be consistant with other name ↵Robert Adams7-116/+231
use. Added callbacks for shape and body changes in GetBodyAndShape() so the linkset constraints can be picked up and restored. A better design might be to have a "prim shape changed" event. Think about that. Added constraint types to general constraint class.
2012-09-27BulletSim: remove the trailing spaces from lines to make git happierRobert Adams10-276/+275
2012-09-27BulletSim: remove the unused body management code from BSPrim. There is no ↵Robert Adams1-374/+0
going back now.
2012-09-27BulletSim: Fix linkset crash. Caused by the different body and shapeRobert Adams9-94/+182
pointers at runtime and at taint-time. Now passes the body into the taint. Vehicles zero inertia when active to eliminate Bullet's contribution to vehicle motion.
2012-09-27BulletSim: Terrain sets proper collision flags on creation.Robert Adams4-52/+56
Static objects are set to ISLAND_SLEEPING rather than DISABLE_SIMULATION. Might reconsider this and, alternatively, have dynamic objects force activation. Clean up use of DetailLog().
2012-09-27BulletSim: btGhostObjects working to make 'volume detect' work.Robert Adams7-191/+265
Rearrangement and cleanup of shape collection code. Much more readable. Enabling and use of collision filters and masks. Addition of ID to body creation BulletSimAPI calls so always set in shape for collision reporting. Change default of ShouldSplitSimulationIslands and ShouldRandomizeSolverOrder from 'false' to 'true'. When 'false', this suppresses NO_CONTACT_RESPONSE which makes volume detect fail.
2012-09-27BulletSim: renamed members of BulletShape, BulletSim and BulletBodyRobert Adams11-270/+482
so the members case is consistant. Caused modifications everywhere. New logic in BSShapeCollection to track use and sharing of shapes. I just reslized, though, that shapes cannot be shared because the shape's UserPointer is the localID of the prim and is required for tracking collisions. More changes coming. Added DuplicateCollisionShape2() to API and changed BuildNativeShape2 to take a ShapeData structure so don't have to pass so many parameters. This matches the latest version of BulletSim.dll. Additions and removal of DetailLog() statements for debugging.
2012-09-27BulletSim: fix regression that caused cylindar shapes to have a box ↵Robert Adams1-1/+9
collision shape
2012-09-27BulletSim: complete code for managed code shape and body tracking. Not debugged.Robert Adams5-130/+675
Eliminate some null exceptions created adding the above code. Add and remove some detailed logging statements.
2012-09-27BulletSim: add class and infrastructure for shape and objectRobert Adams5-39/+192
tracking in the C# code. Needed for the changing body type (to and from GhostObjects) for volumeDetect.
2012-09-27BulletSim: Convert BSCharacter to use common BSPhysObject code and variables.Robert Adams5-117/+113
Fix avatar height calculation to properly account for the capsule ends. Rearrange some locking in TerrainManager to eliminate possible race conditions. Move DetailLog() definition into common BSPhysObject class. Some variable renaming to make usage clearer (refactor.rename makes this so easy).
2012-09-27BulletSim: move a bunch of common logic out of BSPrim and BSCharacterRobert Adams7-416/+361
and into the parent class BSPhysObject. Rework collision logic to enable extra collision after done colliding. Rename 'Scene' to 'PhysicsScene' to differentiate it from the simulator 'Scene'.
2012-09-28Lock GDI+ portion og VectorRenderModule.GetDrawStringSize() to prevent ↵Justin Clark-Casey (justincc)1-6/+11
concurrent thread use provoking mono crashes. Same rationale as commit 13690582.
2012-09-27Removed the bits about the TOSModule. That module doesn't go into core. ↵Diva Canto3-14/+0
WARNING: migration on GridUser withdrawn too, but left the migration number there.
2012-09-27Add MaxPrimsUndo config setting to [Startup] section of OpenSim.ini.Justin Clark-Casey (justincc)5-19/+12
This controls how many undo steps the simulator will store for each prim. Default is now 20 rather than 5 as it briefly was. The default number could be increased through this is a memory tradeoff which will scale with the number of prims in the sim and level of activity.
2012-09-26Don't store undo states if a scene object is manipulated when it is not in a ↵Justin Clark-Casey (justincc)2-3/+26
scene. Adds regression test for this.
2012-09-26refactor: Change control structures in SOP.StoreUndoState() to reduce nesting.Justin Clark-Casey (justincc)1-45/+43
2012-09-26Make it possible to rescale SOGs when they are not in a scene.Justin Clark-Casey (justincc)2-34/+40
2012-09-26Enforce existing 5 action hardcoded undo limit.Justin Clark-Casey (justincc)3-27/+65
This was present in the code but not enforced, which led to a memory leak over time as part properties were changed, whether by viewer, script or another source. This commit enforces that limit, which will soon become configurable. Regression test for undo limit added Should help with http://opensimulator.org/mantis/view.php?id=6279
2012-09-26Add basic undo/redo regression tests.Justin Clark-Casey (justincc)3-8/+137
2012-09-26Use GridUser properly for foreign users.Diva Canto3-7/+32
2012-09-26Show the user's home url too on the console command.Diva Canto1-4/+3
2012-09-26Not really a change, just added a reminder to fix something here.Diva Canto1-0/+3
2012-09-25TOS module. WARNING: migration in GridUser table.Diva Canto5-5/+72
2012-09-25Oops, that should be inside the curly bracket.Diva Canto1-3/+3
2012-09-25Fix very recently introduced race condition where a CreateNewItem outracing ↵Justin Clark-Casey (justincc)1-19/+18
an UploadAsset request could throw an exception because m_asset did not yet exist. This was accidentally introduced in 4fc0cfb This commit also consistently removes the AssetXferUploader when the transaction completes, no matter if it completed on asset upload or item operation. The amount of data being retained was small, since this was clothing/bodypart metadata in the asset rather than textures themselves.
2012-09-25Comment out old m_storeLocal from AssetXferUploader.Justin Clark-Casey (justincc)1-6/+6
This was only used if none of new item, update item or update task item had been set. But since all transactions go through these paths this old code is redundant.
2012-09-25Insert transaction ID into AssetXferUploader constructor rather than at ↵Justin Clark-Casey (justincc)2-36/+49
UploadAsset() to prevent item creation failure when NewInventoryItem thread reachs the object first. This was preventing the previous race condition fix in 4fc0cfb from actually working. This commit also removes some of the pointless transaction id checks - these conditions are already being enforced in AgentAssetsTransactions.
2012-09-25Move UDP update task item code to AssetXferUploader to match existing create ↵Justin Clark-Casey (justincc)3-64/+52
user item and update user item mechanisms This is done for consistency and to allow removal or some access methods that increase code complexity. However, this path has not been used for a long time, not even by LL 1.23 - viewers use caps http upload for this instead
2012-09-25Fix occasional race condition failure when creating new clothing/body parts ↵Justin Clark-Casey (justincc)3-110/+94
in the viewer or updating existing assets. On creating these items, the viewer sends a UDP AssetUploadRequest followed by a CreateInventoryItem. It was possible for the CreateInventoryItem/UpdateInventoryItem to occasionally outrace the AssetUploadRequest and fail to find an initialized Xfer object, at which point the item create would fail. So instead we always set up a Xfer object on either the asset or inventory item update request. This does not introduce a new race because code already exists to delay the item operation until the asset is uploaded if necessary (but this only worked if the xfer object already existed)
2012-09-25Deleted extraneous debug messageDiva Canto1-2/+0
2012-09-24Documenting object-related eventsSignpostMarv1-0/+43