aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-09Simplify minimap coarse location code by just reference SP.AbsolutePositionJustin Clark-Casey (justincc)2-12/+3
This is rather than checking whether the avatar is sitting and doing its own calculation.
2012-03-09Get rid of unnecessary ParentID == 0 check on SP.Get_AbsolutePosition since ↵Justin Clark-Casey (justincc)1-2/+2
this is handled by the necessary ParentPart check
2012-03-09Use SP.ParentPart instead of ParentID in places where it's more efficient ↵Justin Clark-Casey (justincc)4-68/+32
(saving extra null checks, etc.) However, it looks like we should retain SP.ParentID since it's much easier to use that in places where another thread could change ParentPart to null. Otherwise one has to clumsily put ParentPart in a reference, etc. to avoid a race.
2012-03-09refactor: cleanup SP.HandleAgentSit so that everything is done within one if ↵Justin Clark-Casey (justincc)1-15/+8
(part != null), rather than having unnecessary multiple checks
2012-03-09Remove a race condition from SP.Set_AbsolutePosition where we assume the ↵Justin Clark-Casey (justincc)1-5/+5
ParentPart is still not null if the ParentID != 0 Another thread could come in and stand the avatar between those two instructions.
2012-03-09FireAndForget scripted rez - port from AvinationMelanie1-41/+46
2012-03-08Hold a ref to the prim we're sat on rather than querying scene each timeMelanie1-27/+29
the check for significant is carried out. Prevents a deadlock condition.
2012-03-08Hold a ref to the prim we're sat on rather than querying scene each timeMelanie1-27/+30
the check for significant is carried out. Prevents a deadlock condition.
2012-03-08Move "change region" command into general categoryJustin Clark-Casey (justincc)1-1/+1
2012-03-08Uses shorter AddCommand form for "show estates"Justin Clark-Casey (justincc)1-1/+1
2012-03-08Display help commander topics in capitalized form - the commands themselves ↵Justin Clark-Casey (justincc)3-45/+14
are still lowercase. Also convert the estate commands to simply AddCommand() calls so that commands from two different modules can be placed in the same category
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)26-143/+196
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-07 changes on undo/redo (untested/incomplete). Think we may consider moving ↵UbitUmarov3-153/+66
this mfrom SOP to client side. At least does seem to work a bit better ( again there wwas a issue on sop.copy )
2012-03-07Always zero the PhysActor on dupes to prevent side effects on the orignal primMelanie1-4/+1
2012-03-07Fix merge issueMelanie1-76/+79
2012-03-07Stop individually deleting objects at the end of each ObjectTortureTest.Justin Clark-Casey (justincc)1-28/+21
We can now do this since the entire scene and all objects within it are now successfully gc'd at the end of these tests. This greatly improves the time taken to run each test (by reducing teardown time, not the time to actually do the test work that we're interested in). Slightly simplifies config read in Scene constructor to help facilitate this.
2012-03-07Add documentation to make more explicit the difference between OnRezScript ↵Justin Clark-Casey (justincc)1-5/+20
and OnNewScript in the event manager OnNewScript fires when a script is added to a scene OnRezScript fires when the script actually runs (i.e. after permission checks, state retrieval, etc.)
2012-03-06Remove static m_MainInstance in LocalGridServiceConnector.Justin Clark-Casey (justincc)1-24/+10
I believe this was originally required back when there could be two LocalGridServiceConnectors but this is no longer the case. Having such statics makes performance testing much more difficult since they prevent GC of objects unless static references are explicitly nulled.
2012-03-06Add sensor, dataserver requests, timer and listener counts to "xengine ↵Justin Clark-Casey (justincc)8-12/+136
status" command. This is for diagnostic purposes.
2012-03-06Remove unnecessary explicit ElapsedEventHandler in SimReporterJustin Clark-Casey (justincc)1-1/+1
2012-03-06Prevent scripted region crossings from crashing with prim limits enabledMelanie1-1/+7
2012-03-06Null PhysActor on SOP.Copy() to prevent clobbering the original oneMelanie1-4/+3
2012-03-06Explictly close down the StatsReporter so that we can shutdown its timerJustin Clark-Casey (justincc)2-0/+8
This is another step necessary for the scene to be garbage collected between performance tests
2012-03-06Removed some whitespace errors - don't be naughty, don't use hard tabs!Melanie1-11/+0
Also removed commented code block.
2012-03-06make copied parts have diferent LocalIds than original. More building ↵UbitUmarov2-5/+74
control for ubitODE. for all let physics know about linking of physical parts. Assume UNTESTED
2012-03-06Fix TestSyntaxError() and TestSyntaxErrorDeclaringVariableInForLoop()Justin Clark-Casey (justincc)1-8/+14
They were all failing assertions but the exceptions these threw were caught as expected Exceptions. I don't think we can easily distinguish these from the Exceptions that we're expecting. So for now we'll do some messy manually checking with boolean setting instead. This patch also corrects the assertions themselves.
2012-03-06Get all test methods in OpenSim.Region.ScriptEngine.Tests.dll to report that ↵Justin Clark-Casey (justincc)8-26/+228
they're running
2012-03-06Fix off by one error in script error reporting.Justin Clark-Casey (justincc)1-1/+1
2012-03-06Simplify NPCModuleTests code by putting the NPCModule in an instance ↵Justin Clark-Casey (justincc)1-61/+56
variable rather than making each test fetch it seperately. Also rename instance variables in the test to conform to naming standards and for understandability
2012-03-06Go back to setting appearance directly in NPCModule.SetAppearance() to fix ↵Justin Clark-Casey (justincc)2-9/+57
mantis 5914 The part reverted is from commit 2ebb421. Unfortunately, IAvatarFactoryModule.SetAppearance() does not transfer attachments. I'm not sure how to do this separately, unfortunately I'll need to leave it to Dan :) Regression test added for this case. Mantis ref: http://opensimulator.org/mantis/view.php?id=5914
2012-03-05Allow NPC to be removed by the owner of the parcel they're over.Melanie1-2/+9
Don't allow NPC creation unless the prim owner has rez rights.
2012-03-05Teleport users to the cornfield when they are teleported withMelanie1-3/+13
llTeleportAgentHome(). Don't try to teleport NPCs.
2012-03-05 update ubitOdeUbitUmarov4-78/+297
2012-03-05llListSort SL compatibility: When sorting strided list and the listMelanie1-2/+5
length is not a multiple of the stride, return the original list. Also, enforce that sort is ascending only when the ascending parameter is 1, and not when it is != 0
2012-03-05SL compatibility - return only points on segemtn, not ray in llCastRayMelanie1-0/+5
2012-03-05A stab at making llEjectFromLand work in all casesMelanie1-3/+10
2012-03-04update UbitOdeUbitUmarov5-65/+69
2012-03-04update UbitODEUbitUmarov3-36/+55
2012-03-04Zero velocity when drag-copyingMelanie1-0/+2
2012-03-02comment out "[CAPS]: ScriptTaskInventory Request" log spamJustin Clark-Casey (justincc)1-1/+1
2012-03-02Remove outdated comment about checking attachment prims in ↵Justin Clark-Casey (justincc)1-3/+1
Scene.PipeEventsForScript()
2012-03-02Allow a script to receive events if its root prim is in an area where it's ↵Justin Clark-Casey (justincc)1-4/+1
allowed to run rather than checking its own prim. This allows scripts to run in child prims that are outside region boundaries. This is an interim patch applied from http://opensimulator.org/mantis/view.php?id=5899 though it does not resolve that bug Thanks tglion!
2012-03-02This still causes terrain artefactsMelanie1-3/+3
Revert " fix my bug on ChODE terrain heightmap build" This reverts commit aa77d1d486f11da7dc841190f1ca85e085d0d648.
2012-03-02This still causes terrain artefactsMelanie1-3/+1
Revert " fix the last fix. Regions are square but... Also remove the 0.5 offset in map position. It was apparently needed to fix we having nsamples = size and not size + 1." This reverts commit 15bc539bd49e7a09c1ec6e539871cde5eee6032e.
2012-03-02ScenePresence line endings and fix AllowMovement default to true.Dan Lake1-30/+30
2012-03-02update ubitODEUbitUmarov1-15/+45
2012-03-02minor: remove mono compiler warningJustin Clark-Casey (justincc)1-2/+1
2012-03-01Send the right name and creation date on the BasicProfileModule.Diva Canto1-2/+11
2012-03-01In ScenePresence, removed several private variables used to store public ↵Dan Lake1-108/+44
parameters. They were only used by the get/set and make code harder to refactor.
2012-03-02Start by adding XAssetService as a copy of the existing AssetService.Justin Clark-Casey (justincc)1-2/+5
This is the start of exploring the creation of a bundled OpenSimulator asset service that does de-duplication and possibly file storage of assets. Along the lines of coyled's SRAS, but not intended to replace, merely to act as a more performant bundled default. Might end up nicking stuff from kcozen's patch at http://opensimulator.org/mantis/view.php?id=5429 More details at http://opensimulator.org/wiki/Feature_Proposals/Deduplicating_Asset_Service Feedback and discussion welcome as commits are made.