aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2012-03-02Move SenseRepeaters.Count check inside the SenseRepeatListLock.Justin Clark-Casey (justincc)1-4/+4
No methods in the List class are thread safe in the MS specification/documentation
2012-03-02lock SenseRepeatListLock when added a new sensor during script reconstitution.Justin Clark-Casey (justincc)1-1/+3
This is already being done in the other place where a sensor is added. Adding a sensor whilst another thread is iterating over the sensor list can cause a concurrency exception.
2012-03-01Adds an OSSL command for regular expression-based string replacement. ParametersMic Bowman3-0/+32
are osReplaceString(string source, string patter, string replace, integer count, integer start) The count parameter specifies the total number of replacements to make, -1 makes all replacements.
2012-03-01Fix indexing on string trimBlueWall1-1/+1
Thanks to zadark for pointing this out, smxy for deciphering the ?: operator and Plugh for the fix \o/ yay for IRC
2012-02-29ubitODE bug fixUbitUmarov1-1/+1