aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-31Implement "show object uuid <uuid>" console command.Justin Clark-Casey (justincc)1-0/+6
This will show details about a part with the given uuid if it's found.
2012-01-31Move object delete commands into a commands region module, in preparation ↵Justin Clark-Casey (justincc)1-104/+0
for adding similar show commands.
2012-01-31Remove scene object null check on SceneGraph.AddSceneObject(). Complain ↵Justin Clark-Casey (justincc)1-1/+7
explicitly if there's an attempt to add any object with a zero UUID. Callers themselves need to check that they're not attempting to add a null scene object.
2012-01-31Add torture tests to test adding 10,000, 100,000 and 200,000 single prim ↵Justin Clark-Casey (justincc)2-0/+8
scene objects. These can be run using the "nant torture" target. They are not part of "nant test" due to their long-run future nature. Such tests are designed to do some testing of extreme situations and give some feedback on memory usage, etc. However, data can be inconsistent due to different machine circumstances and virtual machine actions. This area is under development.
2012-01-30lock SceneObjectGroupsByFullID in SceneGraph.ForEachSOG() to stop failure if ↵Justin Clark-Casey (justincc)1-5/+7
SceneObjectGroupsByFullID is updated elsewhere at the same time.
2012-01-28Add an overloaded SceneObjectPart.UpdateTextureEntry(Primitive.TextureEntry ↵Justin Clark-Casey (justincc)1-4/+12
texEntry) for region modules
2012-01-28Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)2-5/+21
same grid don't have the publisher as owner.
2012-01-28Comment out xfer section in Scene.UpdateTaskInventory() which was causing ↵Justin Clark-Casey (justincc)1-13/+20
spurious errors and "script saved" messages when script properties were changed. Viewers since at least Linden Lab 1.23 use the script upload capability to save script changes. It's unknown whether the commented out code was working for very old viewers or not. Code is commented out to reduce complexity and so that useful error messages don't need to be removed. If there is a substantial population using extremely old viewers that can't upgrade to a newer version 1 viewer (e.g. 1.23) or similar TPV then this can be revisited.
2012-01-28Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().Justin Clark-Casey (justincc)1-1/+33
This allows NPCs to be sensed as agents by LSL sensors rather than as a specific NPC type (which is currently an OpenSimulator-only extension). Wiki doc on this and other recent NPC functions will follow soon
2012-01-27Implement osNpcGetOwner(key npc):key. This returns the owner for an 'owned' ↵Justin Clark-Casey (justincc)1-1/+1
NPC, the npc's own key for an 'unowned' NPC and NULL_KEY is the input key was not an npc. llGetOwnerKey() could also be extended but this does not allow one to distinguish between an unowned NPC and some other result (e.g. 'no such object' if NULL_KEY is the return. Also, any future extensions to LSL functions by Linden Lab are unpredictable and OpenSim-specific extensions could clash.
2012-01-26Support rejecting a teleport if a user is banned in all parcels that haveMelanie1-0/+30
spawn points
2012-01-26Add basic TestAddScript() regression testJustin Clark-Casey (justincc)2-0/+87
2012-01-26refactor: change RezScriptFromAgentInventory(), RezNewScript() and ↵Justin Clark-Casey (justincc)2-31/+34
AddInventoryItem() to accept an agent id rather than a full IClientAPI. This stops some code having to make spurious client == null checks and reduces regression test complexity.
2012-01-25refactor: decompose most of RezScript() into RezScriptFromAgentInventory(), ↵Justin Clark-Casey (justincc)1-79/+95
RezNewScript() and rename one RezScript() to RezScriptFromPrim()
2012-01-24Removed unused delegates in SceneGraph: ObjectDuplicateDelegate, ↵Dan Lake1-6/+0
ObjectCreateDelegate, ObjectDeleteDelegate
2012-01-24Removed unused events in SceneGraph: OnObjectCreate, OnObjectRemove, ↵Dan Lake1-13/+0
OnObjectDuplicate
2012-01-24Teleport routing, part 1Melanie1-0/+53
2012-01-19Trigger event when prims are scheduled for an update. This gives modules ↵Dan Lake2-0/+28
early access to changed parameters.
2012-01-19Cleaned up Color and Text parameters in SOP and made LocalFlags public for ↵Dan Lake1-20/+6
module access.
2012-01-19Add a version of GetGroupByPrim to Scene which accepts UUID instead of localIDDan Lake2-1/+12
2012-01-16Comment out noisy log lines I accidentally included in the nant build target ↵Justin Clark-Casey (justincc)1-1/+1
adjustment commit. Left in the method doc.
2012-01-16Remove monocov and other obsolete nant build targets.Justin Clark-Casey (justincc)1-1/+1
monocov was a code coverage attempt 3 years ago which no longer works. other removed targets have been commented out or unused for a very long time
2012-01-14Register the UrlModule for script engine events OnScriptRemoved and ↵Justin Clark-Casey (justincc)1-0/+13
OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script. Doing this in every script is unnecessary since the event trigger is parameterized by the item id. All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException. Registration moved to UrlModule so that the handler is registered for all script engine implementations. This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2012-01-13Cleaned up the LookAt code in SOP and SOG. Added support for incrementallyMic Bowman2-45/+30
rotating physical objects. This does not use physics. Currently the rate of change is determined as 1 / (PI * Strength).
2012-01-13Update RegionReadyModuleBlueWall1-0/+38
Fix triggering of alerts when rezzing first script to an empty region, add login disable when loading oars.
2012-01-12Undo some prior workBlueWall1-3/+0
Move some added fuctions out of core into the addon module to keep things clean
2012-01-12Move some interfaces to a more apropriate placeBlueWall2-0/+73
2012-01-12Add permissions checks for owned avatars to all other osNpc* functions.Justin Clark-Casey (justincc)1-1/+1
This is being done outside the npc module since the check is meaningless for region module callers, who can fake any id that they like.
2012-01-12Renamed one var and deleted commented code. No functional changes.Diva Canto1-1/+1
2012-01-12refactor: Move existing npc owner checks to NPCModule.CheckPermissions() ↵Justin Clark-Casey (justincc)1-0/+8
methods and expose on interface for external calls.
2012-01-12HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto2-6/+6
location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
2012-01-11If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)1-1/+1
rather than halting the IAR load with an exception.
2012-01-10HG landing points: this hopefully fixes some confusion that was making HG ↵Diva Canto1-5/+6
avies always land in 0,0
2012-01-10Teleport DebuggingBlueWall1-2/+0
Move setting from ini to existing facitilies - thanks justincc toggle with console command: debug teleport
2012-01-09Add some run-time debugging supportBlueWall2-1/+6
Add configuration option - DEBUG to enable debugging methods. This is temporary for helping users testing teleport routing be able to report back the data with the test cases. We can remove when finished with this, or leave it if it proves to be useful. Users: set DEBUG = true in OpenSim.ini to get more information from teleport routing. The default is false. It presently prints the TeleportFlags value.
2012-01-09Use our TeleportFlagsBlueWall2-22/+30
Switch to our TeleportFlags enum instead of LibOMV because we need to define a type for HG Logins. Also moved some debugging in ScenePresence into a function to make it simpler to enable/disable.
2012-01-09TP Routing debugBlueWall1-2/+5
Fix test to checking against bitfield instead of int
2012-01-09Fix teleport routing for incoming HG+OwnerBlueWall1-18/+19
Incoming HG owner/estate manager, etc. is routed according to the rules defined for teleports within the local grid. Left some commented debugging code inside so we can test other cases. Will remove when tings are settled in.
2012-01-09Debugging HG teleport routingBlueWall1-0/+18
Add some temporary debugging to the teleport routing to get a better view of what happens when HG jumps are made.
2012-01-09Fix HG teleport routingBlueWall1-2/+4
Needed to breakout the ViaHGLogin check to it's own section. For some reason it would not factor in when combined with the other teleport flag types.
2012-01-09Fix a build breakMelanie1-1/+1
2012-01-09Add the HG case to landing point checksMelanie1-1/+1
2012-01-08Update teleport routing to match AvinationMelanie1-16/+58
2012-01-08Fix teleport routingBlueWall1-0/+17
Route non-owner avatars according to land settings
2012-01-07Add method doc to SPA.Falling and use automatic private get propertyJustin Clark-Casey (justincc)1-13/+14
2012-01-07Fix bug where tapping home to stop falling would stop any avatar movement ↵Justin Clark-Casey (justincc)2-9/+10
other than falling again. Addresses http://opensimulator.org/mantis/view.php?id=5839
2012-01-06Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie1-3/+10
owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
2012-01-06If dragging a script that is no copy from prim inventory into agentMelanie1-16/+39
inventory, stop it first in scene. If deleting from prims, move to trash rather then making it poof.
2012-01-05Improve "j2k decode" command to tell us how many layers and components were ↵Justin Clark-Casey (justincc)1-0/+10
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-1/+8
JPEG2000 decode of an asset For debugging purposes.