aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-13Same issue as previous commit.Diva Canto1-3/+4
2013-07-13Moved SendInitialDataToMe to earlier in CompleteMovement. Moved ↵Diva Canto2-6/+15
TriggerOnMakeRootAgent to the end of CompleteMovement. Justin, if you read this, there's a long story here. Some time ago you placed SendInitialDataToMe at the very beginning of client creation (in LLUDPServer). That is problematic, as we discovered relatively recently: on TPs, as soon as the client starts getting data from child agents, it starts requesting resources back *from the simulator where its root agent is*. We found this to be the problem behind meshes missing on HG TPs (because the viewer was requesting the meshes of the receiving sim from the departing grid). But this affects much more than meshes and HG TPs. It may also explain cloud avatars after a local TP: baked textures are only stored in the simulator, so if a child agent receives a UUID of a baked texture in the destination sim and requests that texture from the departing sim where the root agent is, it will fail to get that texture. Bottom line: we need to delay sending the new simulator data to the viewer until we are absolutely sure that the viewer knows that its main agent is in a new sim. Hence, moving it to CompleteMovement. Now I am trying to tune the initial rez delay that we all experience in the CC. I think that when I fixed the issue described above, I may have moved SendInitialDataToMe to much later than it should be, so now I'm moving to earlier in CompleteMovement.
2013-07-13Reinsert PhysicsActor variable back into SOP.SubscribeForCollisionEvents() ↵Justin Clark-Casey (justincc)1-8/+12
in order to avoid a race condition. A separate PhysicsActor variable is used in case some other thread removes the PhysicsActor whilst this code is executing. If this is now impossible please revert - just adding this now whilst I remember. Also makes method comment into proper method doc.
2013-07-13In co-op termination, extend EventWaitHandle to give this an indefinite ↵Justin Clark-Casey (justincc)1-2/+21
lifetime in order to avoid a later RemotingException if scripts are being loaded into their own domains. This is necessary because XEngineScriptBase now retains a reference to an EventWaitHandle when co-op termination is active. Aims to address http://opensimulator.org/mantis/view.php?id=6634
2013-07-12Changed UploadBakedTextureModule so that it uses the same pattern as the ↵Diva Canto1-8/+27
others, in preparation for experiments to direct baked texture uploads to a robust instance. No functional or configuration changes -- should work exactly as before.
2013-07-11Centralize duplicated code in SceneObjectPart for subscribing toRobert Adams1-54/+43
collision events. Improve logic for knowing when to add processing routine to physics actor.
2013-07-11Try naming the materials handlers again, this time registering the POST as ↵Justin Clark-Casey (justincc)1-3/+6
RenderMaterials This was probably the mistake. The other handlers are named RenderMaterials as well but this actully has no affect apart from on stats, due to a (counterintuitive) disconnect between the registration name and the name of the request handler. Will be tested very soon and reverted if this still does not work.
2013-07-11minor: remove some regression test logging switches accidentally left ↵Justin Clark-Casey (justincc)2-2/+2
uncommented.
2013-07-11minor: Take out unnecessary clumsy sleep at the end of regression ↵Justin Clark-Casey (justincc)1-3/+0
Test404Response(). This wasn't actually necessary in the end but was accidentally left in.
2013-07-11Fix regression where llHTTPRequests which did not get an OK response ↵Justin Clark-Casey (justincc)2-40/+238
returned 499 and the exception message in the http_response event rather than the actual response code and body. This was a regression since commit 831e4c3 (Thu Apr 4 00:36:15 2013) This commit also adds a regression test for this case, though this currently only works with Mono This aims to address http://opensimulator.org/mantis/view.php?id=6704
2013-07-11Changed the UserProfileModule so that it's less greedy in terms of thread usage.Diva Canto1-7/+5
2013-07-11Switched UUIDNameRequest and RegionHandleRequest to Sync, because now they ↵Diva Canto1-2/+2
are also non-blocking handlers.
2013-07-11Switched TransferRequest (UDP packet handler) to sync. The permissions ↵Diva Canto1-99/+115
checks may block, so they get a FireAndForget. Everything else is non-blocking.
2013-07-10remove names from Capability handlers (added by justincc in commit ↵dahlia1-7/+4
013710168b3878fc0a93a92a1c026efb49da9935) as they seem to disable the use of multiple access methods for a single Capability in MaterialsDemoModule
2013-07-10Switched RegionHandshakeReply to Sync, because it's not doing anything blocking.Diva Canto1-1/+1
2013-07-10EXPERIMENTAL: make RequestImage (UDP packet handler) sync instead of async. ↵Diva Canto1-1/+1
This _shouldn't_ screw things up, given that all this does is to dump the request in a queue.
2013-07-10show client stats: Fixed the requests/min. Also changed the spelling of the ↵Diva Canto1-21/+22
command, not without the dash.
2013-07-10Added show client-stats [first last] command to expose what viewers are ↵Diva Canto3-17/+137
requesting.
2013-07-09Comment out old inbound UDP throttling hack. This would cause the UDPRobert Adams1-0/+2
reception thread to sleep for 30ms if the number of available user worker threads got low. It doesn't look like any of the UDP packet types are marked async so this check is 1) unnecessary and 2) really crazy since it stops up the reception thread under heavy load without any indication.
2013-07-09Revert "minor: remove some mono compiler warnings in UserProfileModule"Robert Adams1-13/+16
Revert until we understand why all the calls to GetUserProfileServerURI were also commented out. This reverts commit 5f58b9b5526c401e039d27b8c92603ff02421fb8.
2013-07-09If a sensor is in an attachment, avoid throwing an exception if the attachee ↵Justin Clark-Casey (justincc)1-0/+10
is removed from the scene before we try to retrieve them.
2013-07-09Handle UUIDNameRequest UDP packet processing async instead of within the ↵Justin Clark-Casey (justincc)1-1/+1
main inbound UDP processing loop, to avoid any chance that this is delaying the main udp in loop. The potential impact of this should be lower now that these requests are being placed on a queue.
2013-07-09Put guards on a bunch of exception-inducing code, as seen in logs from load ↵Diva Canto6-6/+20
test.
2013-07-09BulletSim: add parameter to optionally disable vehicle linear deflection.Robert Adams2-16/+34
Add parameter to not apply vehicle linear deflection Z forces if vehicle is not colliding. This defaults to 'true' so vehicles will fall even if there is some linear deflection to apply.
2013-07-08remove some cruft and trigger a rebuilddahlia1-1/+0
2013-07-08remove an invalid null UUID check which caused a warningdahlia1-8/+1
2013-07-08BulletSim: make all the different angularVerticalAttraction algorithmsRobert Adams4-138/+146
selectable from configuration paramters. Changed default algorithm to "1" from previous default as it seems to handle Y axis correction a little better. Add config file independent enablement of vehicle angular forces to make debugging easier (independent testing of forces).
2013-07-09minor: remove some mono compiler warnings in UserProfileModuleJustin Clark-Casey (justincc)1-16/+13
2013-07-08minor: remove mono compiler warnings related to keyframe codeJustin Clark-Casey (justincc)2-8/+3
2013-07-08minor: remove some mono compiler warnings in OdePluginJustin Clark-Casey (justincc)2-2/+1
2013-07-08For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)4-10/+20
not set
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)8-14/+240
to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
2013-07-08Make dictionary read/write locking consistent in CapabilitiesModule, rename ↵Justin Clark-Casey (justincc)1-48/+82
two dictionary fields to standard m_ format
2013-07-08Placed a throttle on UserManagementModule for name lookups. Singularity ↵Diva Canto2-11/+57
apparently is flooding the sims with name requests.
2013-07-07BulletSim: Different Implementation of Angular Deflection for vehicles, ↵Vegaslon1-15/+16
Activates it again and fixes problem with fighting with vertical attractor removing wobble of forward axis. Comments on testing welcome, May require adjustments of this force or other forces after this commit, exact tweaking to come after testing on other hardware. Signed-off-by: Robert Adams <Robert.Adams@intel.com>
2013-07-07BulletSim: fix jumping up and down of linksets when center-of-massRobert Adams1-6/+2
was enabled. Didn't effect the physical position but the viewer saw the linkset jumping between its simulator center and its physical center.
2013-07-07BulletSim: rename position and orientation variables to remove theRobert Adams3-95/+71
inconsistant use of Raw* and _* conventions.
2013-07-06Try to normalize the creatorData of scene object parts with the trailing ↵Diva Canto1-0/+4
'/'. What a nightmare this '/' is!
2013-07-06Revert "WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMIT"Diva Canto1-3/+1
This reverts commit 9b75d757241e87408c50b1f92996bf667960c348.
2013-07-06Some more fixes on strange behaviors of Unknown User, esp. related to large ↵Diva Canto2-16/+16
messy inventories and esp. related to kokua
2013-07-06MORE DEBUG. DON"T USE THIS.Diva Canto1-3/+3
2013-07-06WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMITDiva Canto1-1/+3
2013-07-06Add implementations for llSetVelocity and llSetAngularVelocity.Robert Adams3-0/+38
2013-07-06BulletSim: implementation of linkset center-of-mass.Robert Adams5-29/+70
Default off, for the moment, until more testing. Add separate thread and center-of-mass flags to OpenSimDefaults.ini. Clean up comments in OpenSimDefaults.ini.
2013-07-06BulletSim: More tweaking on center-of-mass. Almost there. Changes have no ↵Robert Adams4-101/+51
effect if LinksetOffsetCenterOfMass=false (the default).
2013-07-06BulletSim: comments and non-functional changes working toward the ↵Robert Adams4-20/+39
center-of-gravity implementation.
2013-07-06BulletSim: non-functional updates. Comments and formatting.Robert Adams4-43/+67
Update TODO list.
2013-07-05Changed a few bits in Inventory/Archiver/InventoryArchiveReadRequest.cs to ↵Diva Canto5-25/+29
be less dependent on a Scene.
2013-07-06Fix mono warning in LLImageManagerTestsJustin Clark-Casey (justincc)1-1/+1
2013-07-06Get InventoryWorkerThreads to update watchdog on processing requestsJustin Clark-Casey (justincc)1-0/+2