aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
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-24Documenting object-related eventsSignpostMarv1-0/+43
2012-09-24Documenting LSL script-related eventsSignpostMarv1-2/+147
2012-09-22HG Rez object: warn the user if the item or asset cannot be found.Diva Canto1-2/+7
2012-09-22Guard against inventory get failures.Diva Canto1-0/+3
2012-09-21This fixes HG attachments' missing assets (textures, etc).Diva Canto2-10/+45
Also, further improvements on HGUuidGatherer: if the assets are already in this grid don't fetch them again.
2012-09-22Documenting non-LSL script-related eventsSignpostMarv1-0/+52
2012-09-21Moved the small HGUuidGatherer class to the file where its parent class is. ↵Diva Canto3-74/+38
No need to keep 2 separate files.
2012-09-22Fix llListFindList() returning no match when there is a match with a script ↵Justin Clark-Casey (justincc)2-8/+150
constant component in the source list. Adds regression test for this case. Based on http://opensimulator.org/mantis/view.php?id=6156 Thanks SignpostMarv.
2012-09-21Removed redundant asset fetches on HGAssetMapper. The UuidGatherer already ↵Diva Canto1-18/+24
downloads the assets, so we don't need to do it again...
2012-09-21Minor: may avoid crashes of sims that still don't have this configuration ↵Diva Canto1-1/+1
section.
2012-09-21HG 2.0: added asset import/export policies at the sim too.Diva Canto1-8/+15
2012-09-21Minor: change the return value of unsuccessful posts to string.Empty.Diva Canto1-1/+1
2012-09-21Rename UuidGather.m_assetCache to m_assetService. If HGUuidGatherer hasn't ↵Justin Clark-Casey (justincc)2-9/+6
been instantiated with an assetServerURL then call down to overriden UuidGatherer.GetAsset() instead of calling m_assetService.GetAsset() itself - these two codepaths are now identical.
2012-09-21Simplify UuidGatherer by performing asset fetch synchronously rather than ↵Justin Clark-Casey (justincc)1-40/+44
using the async call but waiting for completion anyway!
2012-09-20More HG2.0: Added permission policies in HGAsset Service based on asset ↵Diva Canto1-15/+19
types. The policies are given in the config. This is only half of the story. The other half, pertaining to exports/imports made by the sim, will be done next.
2012-09-20Don't fail to create an IRC nick if nick randomization is disabled in the ↵Justin Clark-Casey (justincc)1-3/+3
IRC module. Patch from http://opensimulator.org/mantis/view.php?id=6293 Thanks Starflower.
2012-09-20Documentation of teleport-related eventsSignpostMarv1-0/+19
2012-09-20minor tweaks to existing comments for IDE goodnessSignpostMarv1-4/+7
2012-09-20Documentation of agent-related eventsSignpostMarv1-1/+34
2012-09-20Documentation of object-related eventsSignpostMarv1-1/+38
2012-09-20Documentation of OnPluginConsoleSignpostMarv1-0/+16
2012-09-20Make ResendAppearanceUpdates = true by default in [Appearance] in ↵Justin Clark-Casey (justincc)1-0/+2
OpenSimDefaults.ini. This resends appearance uuids to avatars in the scene once a minute. I have seen this help in the past resolve grey appearance problems where viewers have for unknown reasons sometimes ignored the packet. The overhead is very small since only the UUIDs are sent - the viewer then requests the texture only if it does not have it cached. This setting will not help with cloudy avatars which are usually due to the viewer not uploading baked texture data or uploading something that isn't valid JPEG2000
2012-09-19Correctly override and call base OpenSimTestCase.SetUp() method in ↵Justin Clark-Casey (justincc)3-6/+11
GridConnectorsTests and ArchiverTests. Remove unrelated compile warning from AttachmentsModuleTests.
2012-09-18Cleanup from prev. commitBlueWall1-2/+2
Make correct defaults to Phys/nonPhys prims to fix errors in prev. commit
2012-09-18Fix some inconsistencies in configurartion: NonPhys primsBlueWall1-3/+3
Fix inconsistencies between configuration parameter names and their description names. Changing the configuration parameters for non physical prim size min-max from Nonphys* to NonPhys*. Please update your OpenSim.ini and Regions.ini to reflect these changes.
2012-09-17Moving ScriptModuleComms into the CoreModules tree.Mic Bowman1-0/+0
2012-09-17Documentation of IScriptModuleComms.RegisterConstant and ↵SignpostMarv1-1/+18
IScriptModuleComms.LookupModConstant Signed-off-by: Melanie <melanie@t-data.com>
2012-09-17Implementing ability to register script constants and invocations on a ↵SignpostMarv2-0/+54
region module automatically
2012-09-17preventing a null reference exception from being thrownSignpostMarv1-0/+3
Signed-off-by: Melanie <melanie@t-data.com>
2012-09-17script invocations cannot have void return typeSignpostMarv1-9/+9
2012-09-16HG2.0: Generalized the allowed HG appearances to be more than 1.Diva Canto1-31/+59
2012-09-15More on HG2.0: added the possibility of controlling the appearance that ↵Diva Canto2-2/+171
avies use to visit other grids. Not as good as I wanted, but good enough. Unfortunately we can't switch the appearance from under the avie without getting into a lot of weirdnesses because appearance is viewer-controlled. So instead, when this control is on, I'm disallowing HG-TP unless the user is wearing an allowed HG appearance -- the user gets a warning and needs to switch appearance. WARNING: I'm still not committing the config vars because this is still not ready for ppl to test.
2012-09-15BulletSim: update DLLs and SOs and remove some debugging code.Robert Adams1-1/+1
2012-09-15BulletSim: some debugging prints in BSPrim for tracking changes in linkset ↵Robert Adams1-1/+3
children.
2012-09-15BulletSim: add the debugging routine DumpRigidBody2() to API2.Robert Adams1-3/+6
2012-09-15BulletSim: another attempt at computing physics FPS correctly.Robert Adams1-23/+6
2012-09-15BulletSim: remove timeStep parameter from calls for vehicle parameter ↵Robert Adams2-9/+6
setting. There is no reason these should be using the simulation time interval for parameter calculation.
2012-09-15BulletSim: Remove calculation and passing of unused collied object type.Robert Adams4-28/+36
Fix collision code to properly sense mega-region children regions as terrain. When setting an object physical, reset all the physical properties (friction, ...).
2012-09-15BulletSim: set all linkset objects center of mass to the whole linkset's ↵Robert Adams1-2/+15
center of mass
2012-09-15BulletSim: Add calls to linkset class when object going static or dynamic.Robert Adams2-8/+32
Reset center of mass on an object when going dynamic.
2012-09-15BulletSim: remove unused NeedsMeshing() code from BSScene.Robert Adams1-116/+0
2012-09-15BulletSim: Add 'IsNativeShape2' callRobert Adams1-4/+7
2012-09-15BulletSim: Way too many changes in one commit.Robert Adams9-286/+351
Many changes to BSDynamic for readability and commentary. Linkset hacking for vehicles: don't over mass the root prim. Add parameter for link constraint solver iterations. Correct uses of timestep in timescale calculations for vehicles. Reorganize code/logic for making objects static and dynamic for readability and use of API2. Changed most calls in BSPrim to use API2 calls (the new way). Avatars do not generate default Bullet collision events but do call up to the simulator for every avatar. Reduces overhead. Objects added to collision list only if they are processing collisions. Reduces overhead especially for large numbers of avatars. Generalize call for water height to GetWaterHeightAtXYZ(). Catch and correct exception getting terrain height when out of bounds. Correct race condition in Terrain Manager where creation wasn't at taint-time. Add API calls for constructing compound shapes. Move NeedsMeshing() logic into object class. Reorganize logic for object meshing to reduce rebuilding of meshs/hulls.
2012-09-15Add basic asset connector tests to check behaviour for normal, local and ↵Justin Clark-Casey (justincc)2-2/+141
temporary assets. Make AssetServiceConnector return more useful data on failure, such as what DLL it was trying to load Allow LocalAssetServiceConnector.GetData() to work without a cache present, as works for the other lasc Get* methods.
2012-09-15For FlotsamAssetCache, always update access times of cached scene assets ↵Justin Clark-Casey (justincc)1-20/+17
before looking for files to expire. This is to resolve a problem where an asset marked as local but not temporary but still used in the scene would be removed. The timed expiry scan no longer tries to refetch assets from the scene that are not currently in the cache - this is not helpful since it just drags a lot of data into the cache that may never be referenced. This removes the DeepScanBeforePurge option since setting this to false will introduce the above problem. This previously had a default of true.
2012-09-14Added unit tests for multi-region OARsOren Hurvitz3-60/+332