aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-25Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)1-7/+14
problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)1-1/+0
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-07-17fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni1-3/+3
thanks Ai Austin for pointing this out.
2014-05-27Make RegionReady login disabled during initialization message a console ↵Justin Clark-Casey (justincc)1-2/+4
messages instead of a warning message. Same justification as earlier commit 996a6c2. These are not warnings but should still be visible to the user at any log level.
2014-04-23Eliminated many warningsOren Hurvitz2-4/+2
2014-02-09Add JsonRezAtRoot script function. Operation is very similar toMic Bowman1-0/+111
llRezAtRoot except that the start parameter is a Json string that will be unpacked into a json store identified by the objects uuid. This makes a much more expressive (and simpler) way of passing initial parameters to a rezzed object.
2014-01-31Make sure Web streams are disposed after useOren Hurvitz1-1/+1
2014-01-20Clean up orphaned json stores. This can happen when an object isMic Bowman3-3/+274
removed, when a script is removed, or when a script is reset. Also added a stats command to track the number of json stores used by a region. Will probably add some more commands later.
2013-12-14After previous discussion, put eye-catcher 'SCRIPT READY' messages to ↵Justin Clark-Casey (justincc)1-3/+5
console rather than log as warning The problem with logging at warn is that these aren't actually warnings, and so are false positives to scripts that monitor for problems. Ideally, log4net would have a separate "status" logging level, but currently we will compromise by putting them to console, as they are user-oriented
2013-11-27Change the log level for the LOGIN DISABLED and LOGIN ENABLED messages isMic Bowman1-2/+4
the RegionReady module to be warn so that the message will show up in the log for simulators running in a more production mode (knowing when logins are functional is useful).
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams1-1/+4
Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
2013-09-11BulletSim: add LSL function and plumbing for setting a springRobert Adams1-1/+3
equilibrium point in the physics engine constraint.
2013-09-11BulletSim: add extended physics LSL constants for axis specification.Robert Adams1-2/+14
Add specific error warnings for mis-matched parameter types in extended physics functions.
2013-09-11BulletSim: ability to specify groups of axis to modify in constraint ↵Robert Adams1-1/+11
parameters that control multiple axis. Add useLinearReferenceFrameA constraint parameter.
2013-09-11BulletSim: add axis parameter for specifying enable, damping, and stiffness ↵Robert Adams1-4/+6
for spring constraints. Renumber parameter ops since I can as no one is using them yet.
2013-09-11BulletSim: implementation of setting spring specific physical parameters. ↵Robert Adams1-1/+5
Add setting of linkset type to physChangeLinkParams. Lots of detail logging for setting of linkset constraint parameters.
2013-09-11BulletSim: pass both root and child BSPhysObjects to Extension function. ↵Robert Adams1-13/+17
Update routines to use the new parameters list from above change.
2013-09-11BulletSim: Extension parameters passed through the classes made to pass just ↵Robert Adams1-5/+18
and array of objects rather than a mixture of parameters and array. Makes understanding and parsing what is being passed much easier.
2013-09-11BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams1-0/+19
implementation of physChangeLinkParams() in BSLinksetConstraint.
2013-09-11BulletSim: change ExtendedPhysics constants to 'const' so they can be used ↵Robert Adams1-28/+28
as case variables in switch statements.
2013-09-11BulletSim: add physChangeLinkParams to set individual parameters on link ↵Robert Adams1-94/+171
constraints. Not fully functional. Remove double definition of ExtendedPhysics parameters by having BulletSim reference the optional module (addition to prebuild.xml and usings).
2013-09-11BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams1-3/+70
constraint. Add implementation to create spring constraint. Send up property updates for linkset children at the end of flexible linkset links. The simulator probably doesn't do the right thing yet.
2013-09-11BulletSim: initial implementation of physChangeLinkFixed that resets a ↵Robert Adams1-1/+81
linkset's link back to a fixed, non-moving connection.
2013-09-11BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams1-1/+28
2013-08-02BulletSim: add implementation of 'physSetLinksetType' and 'physGetLinksetType'Robert Adams1-5/+60
and processing routines in BulletSim. Add linkset rebuild/conversion routine in BSLinkset.
2013-07-30BulletSim: test method for debugging of extended physics script operations.Robert Adams1-8/+46
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie1-1/+2
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-05Per discussions with justincc... split the JsonStore typeMic Bowman4-34/+130
functions into one for node type and one for value type. Define and export constants for both nodes and values.
2013-02-19Fix the JsonStore path set problem justincc found earlier today andMic Bowman3-95/+3
remove the deprecated TestPath functions.
2013-02-19Convert JsonTestPath() use in json regression tests to JsonGetPathType() insteadJustin Clark-Casey (justincc)1-10/+10
2013-02-18minor: Rename regression test method TestGetArrayLength() -> ↵Justin Clark-Casey (justincc)1-1/+1
JsonTestGetArrayLength() to match others
2013-02-15Enable one sub-test in TestJsonSetValue() which now works (using identifier ↵Justin Clark-Casey (justincc)1-17/+13
with embedded .). Need to look further at other still commented tests. Still need to check coverage against some of Mic's scripts.
2013-02-15Rename JsonSetValueJson() -> JsonSetJson() and JsonGetValueJson() -> ↵Justin Clark-Casey (justincc)2-15/+15
JsonGetJson() This is because JsonGetJson() is getting json from anywhere in the structure, not just values. Equally, JsonSetJson() is setting any type of json, not just json which represents a value. Agreed with cmickeyb
2013-02-15Comment out regression TestJsonTestPath and TestJsonTestPathJson as these ↵Justin Clark-Casey (justincc)1-62/+62
will go away soon
2013-02-15Add regression TestJsonList2Path()Justin Clark-Casey (justincc)1-2/+27
2013-02-14Add regression TestGetArrayLength()Justin Clark-Casey (justincc)1-0/+33
2013-02-14Add regression TestJsonGetPathType()Justin Clark-Casey (justincc)1-0/+47
2013-02-14Rename new JsonScript functions JsonPathType() -> JsonGetPathType() and ↵Justin Clark-Casey (justincc)2-6/+6
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
2013-02-14Make new JsonStore script constants separated with underscores, to be ↵Justin Clark-Casey (justincc)1-5/+5
consistent with existing LSL/OSSL, etc script constants. Agreed with cmickeyb
2013-02-13Adds a couple requested functions to the JsonStore scriptMic Bowman3-1/+147
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.
2013-02-12Make path parsing more robust in the JsonStore.Mic Bowman1-12/+6
2013-02-13Add more sub-tests to TestJsonSetValue for paths containing []{} without {} ↵Justin Clark-Casey (justincc)1-5/+86
delineation. As expected, values are not set and the set call returns FALSE (0). As a reminder, these tests are not currently running on jenkins continuous integration as the functionality is only available on .net 4 (mono 2.8 and later).
2013-02-13Extend JsonTestSetValue() with tests for escaping brackets, periods and ↵Justin Clark-Casey (justincc)1-2/+71
unbalanced braces from paths The sub-tests that are commented out are currently those which fail unexpectedly based on my understanding of the path syntax
2013-02-13Add test for array as root element in TestJsonCreateStore()Justin Clark-Casey (justincc)1-0/+9
2013-02-13Extend TestJsonRemoveValue() with tests for non-penultimate nodes and arraysJustin Clark-Casey (justincc)1-13/+57
2013-02-12Extend TestJsonCreateStore() with a one key input and an input with raw ↵Justin Clark-Casey (justincc)1-2/+20
number values
2013-02-12Re-enable subtest for single quoted token in TestJsonSetValueJson()Justin Clark-Casey (justincc)1-9/+9
This is in response to the resolution of http://opensimulator.org/mantis/view.php?id=6540
2013-02-12Adds the parameter for OSD serialization to encode default values. ThisMic Bowman2-5/+8
makes the JsonStore get/set operations symmetric.
2013-02-11Fix handling of string values in JsonSetValueJson(). There areMic Bowman1-1/+31
some oddities with empty strings: the Json serializer treats them as default values and does not return them in serialized hashes.
2013-02-12Add regression TestJsonSetValueJson()Justin Clark-Casey (justincc)1-0/+58
The part to test setting of single leaf-node string tokens is currently commented out. See http://opensimulator.org/mantis/view.php?id=6540