aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-04-04refactor: Simplify ScriptsHttpRequests.GetNextCompletedRequest to more ↵Justin Clark-Casey (justincc)1-10/+4
simply iterate through pending requests without unnecessary checks.
2013-04-04Fix bug where outstanding llHTTPRequests for scripts were not being aborted ↵Justin Clark-Casey (justincc)3-32/+76
when they were deleted. This was because AsyncCommandManager was handing an item ID to IHttpRequestModule.StopHttpRequest() rather than the expected request ID. This commit also makes the http request asynchronous using BeginGetResponse() rather than doing this by launching a new thread so that we can more safely abort it via HttpWebRequest.Abort() rather than aborting the thread itself. This also renames StopHttpRequest() to StopHttpRequestsForScript() since any outstanding requests are now aborted and/or removed.
2013-04-03minor: Stop falsely logging that a teleport was being aborted on client ↵Justin Clark-Casey (justincc)1-3/+1
logout even when no teleport was active.
2013-04-03Fix minor race condition in SOP.SitTargetOrientationLL where inconsistent ↵Justin Clark-Casey (justincc)1-11/+2
values could be returned if the sit orientation was changed whilst the property was being fetched.
2013-04-03Use consistent GroupPosition value Make SOP.UpdateGroupPosition() rather ↵Justin Clark-Casey (justincc)1-5/+6
than one that could change whilst the method is being executed.
2013-04-03fix minor race condition in SOP.SitTargetPositionLL where inconsistency ↵Justin Clark-Casey (justincc)1-1/+1
could occur if the sit target position changed whilst the property was fetched
2013-04-03minor: Make SOP.UpdateOffset() more consistent by checking against the same ↵Justin Clark-Casey (justincc)1-7/+7
old OffsetPosition rather than one which may vary if it simultaneously changes.
2013-04-02Fix minor race condition where SOP.GetGeometricCenter() and ↵Justin Clark-Casey (justincc)1-4/+4
GetCenterOfMass() could return results which were never the case if these values were changed whilst the method was running No need to create new Vector3s since these are structs.
2013-04-02BulletSim: create axis lock constraint with proper orientation andRobert Adams1-4/+2
enable axis lock functionality.
2013-04-01BulletSim: update unmanaged API for HACD parameter passing. Bullet HACDRobert Adams3-6/+20
mesh to hull conversion calls in place but code not working. Update BulletSim DLLs and SOs for new API and HACD code.
2013-04-01BulletSim: rearrange mega-region terrain code to make the thread flowRobert Adams1-15/+18
a little clearer.
2013-04-02Use Output instead of OutputFormat in appropriate places of XEngine status ↵Justin Clark-Casey (justincc)1-2/+2
reporting.
2013-04-02minor: Remove unnecessary call to GetAttachments() in ↵Justin Clark-Casey (justincc)1-2/+0
AttachmentsModule.UpdateUserInventoryWithAttachment()
2013-04-02Fix what appears to be a bug in HGUserManagementModule where it enables on ↵Justin Clark-Casey (justincc)1-2/+1
the base.Name rather than its own Name.
2013-03-31BulletSim: stop an avatar from moving if standing on a stationaryRobert Adams1-1/+8
object. This will stop avatars from sliding down steep terrains or objects while still allowing an avatar to be moved if standing on a moving object.
2013-03-31BulletSim: not quite functional axis lock code.Robert Adams5-35/+43
2013-03-31BulletSim: start the renaming of local variables to m_ form to match the ↵Robert Adams1-23/+23
OpenSim coding conventions.
2013-03-31BulletSim: fix line endings in BSActor*Robert Adams2-291/+302
2013-03-31BulletSim: convert BSDynamic to a BSActor and change BSPrim to setRobert Adams5-112/+149
up the vehicle actor.
2013-03-31BulletSim: Add physical 'actors' that operate on the physical object.Robert Adams4-74/+311
Add first 'actor' for locked axis.
2013-03-31Export permission, part two. Setting export perms for textures and clothing ↵Melanie3-10/+74
works. Setting perms for prims also works but they don't propagate correctly yet. NOT FOR PRODUCTIN USE. Your database will need to be updated before you can use this!
2013-03-31Export permission, part two. Setting export perms for textures and clothing ↵Melanie3-11/+66
works. Setting perms for prims also works but they don't propagate correctly yet. NOT FOR PRODUCTIN USE. Your database will need to be updated before you can use this!
2013-03-30In the flotasm asset cache, if we get a request for a file that we're ↵Justin Clark-Casey (justincc)1-25/+27
actively writing, simply return null instead of first logging an exception.
2013-03-30refactor: rename ETM.InformClientToInitateTeleportToLocationDelegate to ↵Justin Clark-Casey (justincc)1-9/+9
InformClientToInitiateTeleportToLocationDelegate to correct spelling and bring into line with other ETM Initiate methods
2013-03-29refactor: move the append magic number processing for attachments back up ↵Justin Clark-Casey (justincc)1-6/+6
into RezSingleAttachmentFromInventory from RezSingleAttachmentFromInventoryInternal() done in commit 023faa2
2013-03-29Added missing functionality (mainly custom headers) to llHTTPRequest.Kevin Cozens4-65/+195
2013-03-29Check viewer 2/3 attachment calls against avatar appearance attachment data ↵Justin Clark-Casey (justincc)3-26/+23
rather than actually attached objects By checking against the grid's Avatar data, we can ignore viewer side attachments but still initiate these calls simulator-side. Initiating simulator-side is always necessary for version 1 viewers. This is a further commit to resolve http://opensimulator.org/mantis/view.php?id=6581
2013-03-29Fix bug where CHANGED_REGION and/or CHANGED_TELEPORT weren't firing for ↵Justin Clark-Casey (justincc)4-2/+31
scripts in attachments. This was because the script resumption in AttachmentsModule was firing the attach event instead. Had to reinstate the code in 285bd3a do we can resume the scripts there instead, though the bug existed before its removal. This is to resolve http://opensimulator.org/mantis/view.php?id=6578
2013-03-29Revert "Try eliminating the pause before auto-reteleporting for a megaregion ↵Justin Clark-Casey (justincc)1-1/+1
now that we're telepoting in a different way." Unfortunately fails on Nebadon's system right now. Needs investigation. May put in a temproary option for experimentation soon. This reverts commit d87ddf50fcd674fbd9aa8b8556bf57f2d285a3ba.
2013-03-29Add Location (relative), Rotation (Relative) and Rotation (World) to "show ↵Justin Clark-Casey (justincc)1-0/+3
part" and other related console commands
2013-03-29Try eliminating the pause before auto-reteleporting for a megaregion now ↵Justin Clark-Casey (justincc)1-1/+1
that we're telepoting in a different way. On my own system, I can now eliminate the pause entirely and the reteleport happens whilst the teleport screen is still up. Trying this change to see if this is true for other people.
2013-03-29Eliminate code which tries to restart attachment scripts in ↵Justin Clark-Casey (justincc)1-18/+0
ScenePresence.MakeRootAgent(), since this is already done in AttachmentsModule
2013-03-28Stop attempts to update/add existing attachments in user inventory when ↵Justin Clark-Casey (justincc)4-24/+25
teleporting between regions. This appears to resolve issues on teleport where attachments disappear or become labelled as invalid within user inventory.
2013-03-28Add "debug attachments" console command to allow highly verbose attachment ↵Justin Clark-Casey (justincc)1-61/+109
logging to be switched on and off. Default is off.
2013-03-28minor: remove some mono compiler warnings from EntityTransferModuleJustin Clark-Casey (justincc)1-5/+0
2013-03-28minor: comment out unused Scene.AgentCrossing() to reduce code complexityJustin Clark-Casey (justincc)1-27/+27
2013-03-28If the viewer has already rezzed any attachments itself, then ignore the ↵Justin Clark-Casey (justincc)3-11/+19
simulator-side rez attachments call. This is a further effort to reduce v3 viewer race conditions where this call may clash with the viewer signalling attachment wearing from its current outfit folder.
2013-03-28Fix regression tests by making a new NPC always trigger simulator side ↵Justin Clark-Casey (justincc)1-2/+2
attachment code when created. Regression from previous commit c2093ccc. Failed because NPCs don't set the ViaLogin flag
2013-03-28Move the simulator-side RezAttachments call on login to SP.MakeRootAgent ↵Justin Clark-Casey (justincc)3-39/+32
with the other attachments code, using TeleportFlags.ViaLogin check to fire if necessary. This is to simplify the code (no tricky 'wasChild' signalling required) and to reduce the risk of a thread clash between simulator-side attaching (necessary for v1 viewers) and the viewer-side attaching the v3 viewers perform.
2013-03-28BulletSim: fix race condition when creating very large mega-regions.Robert Adams5-22/+35
The symptom was exceptions while creating physical terrain. Reduce default terrain mesh magnification to 2 from 3 because the higher resolution uses a lot of memory and doesn't solve the terrain smoothness for vehicles. Added comments here and there and improved some debugging log messages.
2013-03-28BulletSim: tweaks to terrain boundry computation. No functional changes.Robert Adams1-21/+29
2013-03-28Add back a log message when we attempt a megaregion auto-reteleportJustin Clark-Casey (justincc)1-0/+4
2013-03-28minor: Only try to deregister stats in EntityTransferModule.RemoveRegion() ↵Justin Clark-Casey (justincc)1-4/+7
if module was enabled.
2013-03-28Fix a bug in HGEntityTransferModule to call base.RemoveRegion() when a ↵Justin Clark-Casey (justincc)1-1/+1
region is removed rather than base.AddRegion()
2013-03-28Instead of going via GodLikeRequestTeleport, auto-teleport the agent ↵Justin Clark-Casey (justincc)2-4/+13
directly in a megaregion, in the same manner at the "teleport user" console command. This is to bypass an issue with the HGLureModule which stops the auto-teleport from happening.
2013-03-28On the North and East sides of a megaregion, only consider regions within ↵Justin Clark-Casey (justincc)1-2/+2
256m to be neighbours rather than regions up to 512 distant. This looks like an off-by-one bug since the view distance was already only 256 on the west and south sides. This reduces the number of child agents being logged into regions neighbouring a megaregion.
2013-03-28minor: Fix usage error message for "debug eq" console commandJustin Clark-Casey (justincc)1-1/+1
2013-03-28Make HGLureModule track god like lures as well as normal lures, to see if ↵Justin Clark-Casey (justincc)1-1/+2
this fixes issues where second megaregion auto-teleport hangs on black teleport screen when HG is active.
2013-03-28Add "show eq" console command to show numbers of messages in agent event queues.Justin Clark-Casey (justincc)1-0/+23
For debugging purposes.
2013-03-28Remove some Console.WriteLines accidentally left in last commit cfb20f09Justin Clark-Casey (justincc)1-2/+0