aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make llGetObjectDetails() return the correct world rotation for a sitting avatarJustin Clark-Casey (justincc)2013-03-141-5/+35
| | | | | | This addresses http://opensimulator.org/mantis/view.php?id=6567 This creates a ScenePresence.GetWorldRotation() with the same semantics as SOP.GetWorldRotation() SP.Rotation can't be used since it's relative to the sat upon prim if the avatar is sitting.
* Remove unnecessary instation of DOMap() in SOP from commit 5c53660 since ↵Justin Clark-Casey (justincc)2013-03-131-1/+0
| | | | this is being done lazily
* Add prototype dynamic objects map for scene object partsJustin Clark-Casey (justincc)2013-03-131-0/+22
| | | | | | | | | This allows region modules to add dynamic objects to SOPs rather than having to continually push and pull OSD dynamic attributes. This is to explore the original MOAP use case for dynamic attributes where it could be very awkward and possibly time-consuming to keep reconstructing MediaEntrys from stored DynamicAttributes. This commit adds a DOExampleModule to demonstrate/evolve this code. Dynamic objects involve no storage or persistence changes - the 'backing store' for any data that does need to be saved will remain the DAMap. DOExampleModule in this commit only attaches a fresh dynamic object. Actually constructing this from stored dynamic attributes and handling persistence is left for later. These changes should affect no existing functionality, though it may or may not reveal necessary changes in DAMap down the road.
* minor: remove mono compiler warning in SceneObjectUndoRedoTestsJustin Clark-Casey (justincc)2013-03-111-2/+2
|
* * Apparently, sometimes texture entries come in from the wire with no ↵teravus2013-03-081-0/+17
| | | | default texture defined.. so apply better fallback protection against that. The net result is clients will have their selected textures set when they would have previously had an ignored exception.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-03-061-1/+13
|\
| * Per discussions with justincc... split the JsonStore typeMic Bowman2013-03-051-1/+13
| | | | | | | | | | functions into one for node type and one for value type. Define and export constants for both nodes and values.
* | Add code for testing event queue messages recevied on region cross.Justin Clark-Casey (justincc)2013-03-061-5/+22
| | | | | | | | This is currently disabled pending an improvement in the test code to properly add avatars when an event queue module is present.
* | Add regression test for presence crossing between regions on the same simulator.Justin Clark-Casey (justincc)2013-03-063-121/+159
|/ | | | Unlike a much earlier commented out version of this test, this is done in synchronous mode.
* Move AllowedClients and BannedClients section to new [AccessControl] section ↵Justin Clark-Casey (justincc)2013-03-021-2/+10
| | | | | | | in OpenSim.ini from [Startup] This change also corrects the setting names - they were actually wrong (though the text in {} was correct). If there are settings in [Startup] they will continue to be used and anything there will override settings in [AccessControl]
* Add regression tests for llGetNotecardLine()Justin Clark-Casey (justincc)2013-02-281-2/+2
|
* Get "show modules" console command to obey selected command line region/sJustin Clark-Casey (justincc)2013-02-271-16/+11
|
* Add regression test for llRequestUrl()Justin Clark-Casey (justincc)2013-02-261-0/+11
|
* Move map related settings from [Startup] to a new [Map] section in OpenSim.iniJustin Clark-Casey (justincc)2013-02-251-2/+9
| | | | | | | Existing map settings in [Startup] will continue to work, and if present will override anything in [Map] However, the proper place for such settings would now be [Map] This is to reduce the use of [Startup] as a bag for non-generic settings which should really go in sections, in common with other settings. This commit also extends Diva's previous work to allow a default setting to be given when looking at multiple sections for settings.
* minor: Add doc to ScenePresence.IsInTransit to make it clear that this is ↵Justin Clark-Casey (justincc)2013-02-221-0/+6
| | | | set only for region crossing and not teleport, etc.
* Fix the JsonStore path set problem justincc found earlier today andMic Bowman2013-02-191-1/+0
| | | | remove the deprecated TestPath functions.
* Deleted all AssemblyFileVersion directivesDiva Canto2013-02-191-1/+1
|
* * Fix walking to <NaN, NaN, NaN> via autopilot.teravus2013-02-161-1/+5
|
* Add regression test TestSaveNonRootFolderToIarJustin Clark-Casey (justincc)2013-02-163-5/+5
|
* Rename new JsonScript functions JsonPathType() -> JsonGetPathType() and ↵Justin Clark-Casey (justincc)2013-02-141-2/+2
| | | | | | | | JsonArrayLength() -> JsonGetArrayLength() This is for consistentency with the verb:noun naming approach existing json script functions and other script functions. Corresponding c# methods also changed since verb:noun is also the .net c# method naming guideline (as used by OpenSimulator) and for consistency with script functions. As agreed with cmickeyb
* Add EventManager events triggered when a SOP is added or removedRobert Adams2013-02-142-0/+57
| | | | from the physical scene. Invocations added in SceneObjectPart.
* Add an event and some logic to allow customizing Simulator Features by avatarMelanie2013-02-141-1/+5
|
* Adds a couple requested functions to the JsonStore scriptMic Bowman2013-02-131-0/+15
| | | | | | interface. JsonPathType returns the type of node pointed to by the path and deprecates the functionality of both JsonTestPath functions. JsonArrayLength returns the length of an array node.
* Fix code to check for no spawn points. Possibly a merge artefact?Melanie2013-02-101-2/+4
|
* Fix teleport/telehub issue:BlueWall2013-02-102-3/+17
| | | | Fix bug that allowed only login access to regions with mis-configured telehubs. Administrators now have teleport access when there exists a mis-configured telehub in the region. Estate owners are now placed at region center in the absence of spawnpoints instead of being denied access. Grid Gods are unrestricted. All others are denied access to the region until spawnpoints are assigned to the telehub object.
* If a component of a coalesced object fails to deserialization, do not add a ↵Justin Clark-Casey (justincc)2013-02-081-4/+18
| | | | | | | null where the object should be. This prevents a later load IAR failure. This code is currently only used by IAR loading.
* Actually plumb the new values to physics.Melanie2013-02-071-0/+20
|
* Add some more code from Avination. This changes physics actor stuff aroundMelanie2013-02-071-37/+152
| | | | to work with the new params. Not actually plumbed just yet.
* Plumb the path from the client to the extra physics params and backMelanie2013-02-073-2/+26
|
* Revert "Add plumbing for physics properties to get to the physics engine."Melanie2013-02-071-50/+6
| | | | This reverts commit c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a.
* Add plumbing for physics properties to get to the physics engine.Robert Adams2013-02-071-6/+50
| | | | Addition of entries to PhysicsActor and setting code in SceneObjectPart.
* Rename "Bounciness" to "Restitution"Melanie2013-02-072-6/+6
|
* Enables script access to the per object dynamic attributes through the JsonStoreMic Bowman2013-02-061-0/+1
| | | | | | | | | | | script functions. Adds JsonAttachObjectStore to associate a store identifier with an object (scripts can only access the store in their host object, this could be extended but isn't necessary for now). Note this opens a method to the DAMap OSDMap. This will be removed later, but greatly simplifies the code for now. The JsonStore and these scripts are disabled by default.
* Partial port of Avination's support for the new physics parameters.Melanie2013-02-062-3/+136
| | | | | | | | Implements the parameters as properties, the serialization and database storage (MySQL only). Implements llSetPrimitiveParams for prim physics shape and the other 4 extra params. Only the prim shape type "None" is currently functional. No support for the Viewer UI (yet), that will be ported in due course. Lots more to port, this is a large-ish changeset.
* Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)2013-02-061-5/+0
|
* Remove very long unused IScriptHost and NullScriptHostJustin Clark-Casey (justincc)2013-02-063-138/+1
|
* Remove unused ScriptEngineLoader and ScriptEngineInterface in ↵Justin Clark-Casey (justincc)2013-02-063-168/+0
| | | | | | OpenSim.Region.Framework.dll I believe this predates the generic system of registering interfaces and is very long unused.
* Remove wrong code in ScriptUtils.GetAssetIdFromKeyOrItemName which would ↵Justin Clark-Casey (justincc)2013-02-061-15/+0
| | | | | | | | | return the item ID instead of the asset ID if the identifier was a uuid that matched an inventory item name. This would practically never happen. This makes this overloaded version of the function consistent with the other version. It looks like this accidentally came over in commit c5af16a from Tue Oct 16 12:40:21 2012 However, there's arguably a case for looking for an item name that matches a UUID before assuming that the identifier is already an asset ID.
* refactor: Move functions that lookup asset ids from task inventory or pass ↵Justin Clark-Casey (justincc)2013-02-061-0/+122
| | | | | | | them through to ScriptUtils class in OpenSim.Region.Framework.dll Renames functions to better reflect what they do. This is so that code registering with modInvoke() can reuse this code to provide functions that behave in a consistent manner with existing LSL/OSSL functions.
* Merge branch 'dynamic-attributes2'Justin Clark-Casey (justincc)2013-02-052-1/+24
|\
| * Added DynAttrs to the serialized XML format of prims. When copying prims, ↵Oren Hurvitz2013-01-252-0/+16
| | | | | | | | use deep copy for DynAttrs.
| * Encapsulate an OSDMap in DAMap (was DynAttrsOSDMap) rather than inheriting ↵Justin Clark-Casey (justincc)2013-01-251-2/+2
| | | | | | | | | | | | from it This is the easier way to give us control over locking, rather than asking that OSDMap IDictionary methods be virtual
| * Implement Dynamic Attributes for SOP and PBS. Implement storage in SQLiteJustin Clark-Casey (justincc)2013-01-251-1/+8
| |
* | Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)2013-02-051-1/+1
| | | | | | | | | | | | | | | | This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
* | minor: change comment about assuming script references are textures in ↵Justin Clark-Casey (justincc)2013-02-021-1/+2
| | | | | | | | UuidGatherer since this is no longer the behaviour.
* | Log missing assets on "fcache assets" found. This ignores references found ↵Justin Clark-Casey (justincc)2013-02-021-2/+5
| | | | | | | | | | | | | | | | by scanning LSL/notecard files since these are the source of false positives. This also changes UuidGatherer to reutn an AssetType.Unknown for embedded script/lsl references instead of Texture, since these are often not textures. This is added to help people in determining when they have missing assets such as textures, etc. In this case, one wants to run "fcache clear" first.
* | Sit and Spin reduction. If sitting, slam avatar angular velocity to zero.teravus2013-02-011-2/+3
| |
* | Whitespace fix and removing unneccessary parenthesesMelanie2013-01-311-1/+1
| |
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimBlueWall2013-01-301-0/+1
|\ \
| * | Add JsonTestStore to determine if a JsonStore is associated withMic Bowman2013-01-301-0/+1
| | | | | | | | | | | | a particular UUID.