aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang7-155/+570
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel4-10/+50
2013-02-08minor: Tidy up disabled logging on AssetTransactionModule for future use. ↵Justin Clark-Casey (justincc)1-8/+10
Make it clear that transaction parameter to HandleUDPUploadRequest is an ID.
2013-02-08Prevent items being destroyed by rename operations. Renaming of a wearable alsoMelanie1-1/+2
sends an asset transaciton but it is empty. So we can't ignore name data when a transaction is present and can't treat every transaction as valid. Conflicts: OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
2012-11-13Another 21 modules' directives moved out of .addin.xmlDiva Canto2-0/+4
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto1-1/+1
2012-11-12Remove any mention of IRegionModule from region names and comments to aidMelanie2-2/+2
grepping for remaining uses
2012-11-11J2KDecoderModule: move the code out of PostInitialise()Diva Canto1-8/+17
2012-11-10One more module converted: XferModule.Diva Canto1-9/+24
2012-11-10One more module converted: J2KDecoderModule.Diva Canto1-10/+32
2012-11-09One more more converted: IPBanModule.Diva Canto1-6/+18
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-06-07Record the fact that child agents can have asset transactions.Justin Clark-Casey (justincc)1-8/+7
Also change code to grab the agent asset transaction module once.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-1/+21
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-01-28Remove IClientAPI from the money module. It was only used to pass in theMelanie1-1/+1
agent id anyway
2012-01-05Improve "j2k decode" command to tell us how many layers and components were ↵Justin Clark-Casey (justincc)1-5/+16
decoded, instead of just success/failure
2012-01-05Add a "j2k decode" region console command that allows a manual request for a ↵Justin Clark-Casey (justincc)1-8/+10
JPEG2000 decode of an asset For debugging purposes.
2012-01-04Minor formatting changes and commented out log lines for future debugging of ↵Justin Clark-Casey (justincc)1-0/+4
image manager (udp texture fetch). No significant functional changes.
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)1-0/+3
hunting. No functional changes.
2011-11-14minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2011-09-23Fix avatar parameter updating for viewer 3 and maybe 2.Justin Clark-Casey (justincc)3-82/+238
When a slider parameter is changed, the viewer uploads a new shape (or other asset) and the item is updated to point to it. Viewer 1 uploaded the data in the initial request itself, so the asset references was almost always correctly updated. However, viewer 3/2 always uploads data in a subsequent xfer, which exposed a race condition where the viewer would make the item update before the asset had uploaded. This commit shuffles the order of operations to avoid this race, the item is updated with the new asset id instead of the old one while the upload was still taking place. A second race had to be fixed where avatar appearance would also be updated with the old asset id rather than the new one. This was fixed by updating the avatar appearance ids when the appearance was actually saved, rather than when the wearables update was made.
2011-04-30Moved several cap-based-service-providing modules from where they were into ↵Diva Canto1-255/+0
a newly created CoreModules/Caps. Not all.
2011-04-28Stop CHANGED_INVENTORY firing twice if a notecard is edited in prim.Justin Clark-Casey (justincc)1-4/+5
Addresses http://opensimulator.org/mantis/view.php?id=5444 Fix is to stop the asset transaction calling UpdateInventoryItem() since the caller is doing it anyway, which is more correct. This did not effect scripts.
2011-02-05Fixed Caps handlers leakDiva Canto1-1/+0
2011-02-05One more diagnosis command:Diva Canto1-1/+27
show caps
2011-01-21remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+2
2011-01-21implement "show throttles" command for showing current agent throttles and ↵Justin Clark-Casey (justincc)1-200/+0
the server settings. This is in a very crude state, currently. The LindenUDPModule was renamed LindenUDPInfoModule and moved to OptionalModules OptionalModules was given a direct reference to OpenSim.Region.ClientStack.LindenUDP so that it can inspect specific LindenUDP settings without having to generalize those to all client views (some of which may have no concept of the settings involved). This might be ess messy if OpenSim.Region.ClientStack.LindenUDP were a region module instead, like MXP, IRC and NPC
2011-01-20minor: help text adjustment for "show queues"Justin Clark-Casey (justincc)1-2/+2
2011-01-20remove reference to CoreModules from ClientStack.LindenUDPJustin Clark-Casey (justincc)1-2/+2
client stack uses modules in the same way that scene does - through their interfaces
2011-01-20Move "show queues" command out of OpenSim.cs and into a separate module.Justin Clark-Casey (justincc)1-0/+200
2010-12-24One more pass at object inventory. This time, fix SceneObjectPartInventory ↵Diva Canto1-80/+14
so that it makes sure that the file is added to Xfer's before it signals the client to come and get it. This allows the simplification of the logic of Xfer's.
2010-12-23Hopefully this fixes all prim inventory issues. No more abort, no more ↵Diva Canto1-35/+49
keeping track of time. Simply handle the issues, which are: (1) rapid double requests from the viewer for the same file; (2) sometimes the file generation takes too long and the Xfer request arrives at the XferModule before the file name is added. This still has debug messages commented out, in case this needs more debugging. Pushing it so others can test.
2010-12-23Removed unused code -- this was the previous version of UDP texture sending, ↵Diva Canto4-866/+0
which now lives entirely in LindenUDP space.
2010-12-23Put back a commented section of code. With some viewers, object inventoryMelanie1-6/+5
transfers just don't start without it. Observed my Nebadon and yours truly.
2010-12-22Added a counter to NewFiles in Xfers to account for simultaneous object ↵Diva Canto1-16/+42
inventory requests, which apparently are happening and may cause race conditions if the file name is removed after the first transfer.
2010-12-21* Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)1-4/+66
* Adds an item that checks to see if the top request has been there for longer then 30 seconds without an update and sends an AbortXfer if it encounters one. This allows the client to cancel the Xfer on it's side so you can re-select the prim and get the inventory when it fails the first time. * Some interesting locking... Using NewFiles to lock the rest of them. We'll see how that goes. * The goal of this is to ensure that Xfers are restartable when they fail. The client will not do that on it's own.
2010-12-04Simplify updating of agent inventory assets. Make newly created asset IDsMelanie1-19/+6
random rather than using IDs known by the client ahead of time.
2010-12-04Convert the agent asset transactions module to a new style module.Melanie3-168/+156
Refactor to remove the property "MyScene" and the pointless circular refs to the managing classes. Converted the module to a non-shared module. Reformatted source for 80 columns. Removed the special role the module had in the old loader.
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)1-3/+1
folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
2010-08-20Unit test breakage fix.Diva Canto1-3/+3
2010-07-14Fixes mantis #4870.Diva Canto1-1/+7
2010-07-02Clean up IMoneyModule and adjust the other modules to the changesMelanie Thielker1-1/+1
2010-05-15Finalized the client's TCP IP address verification process for HG1.5.Diva Canto1-1/+1
2010-04-19Make the "notecard saved" text appear in the saver rather than the notecard ↵Justin Clark-Casey (justincc)1-0/+3
owner, if the notecard is saved by a permitted group member This means moving the alert up to a place where the IClientAPI is available. One can also argue that such client messages shouldn't be sent directly from the scene data model
2010-03-08Add config option for switching between CSJ2K and BuggyJPEG.Melanie1-3/+9
2010-03-07* Added code to support either CSJ2K or OpenJPEG texture decoding. Currently ↵John Hurliman1-20/+33
hardcoded to CSJ2K (so no functional change) but this could easily be switched to a config option