Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Per discussions with justincc... split the JsonStore type | Mic Bowman | 2013-03-05 | 4 | -34/+130 |
| | | | | | functions into one for node type and one for value type. Define and export constants for both nodes and values. | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2013-03-02 | 1 | -6/+7 |
|\ | |||||
| * | minor: Quieten down the parts of the WebSocketEcho module logging for now ↵ | Justin Clark-Casey (justincc) | 2013-03-02 | 1 | -6/+7 |
| | | | | | | | | where it tells us it is added/loaded/removed from regions | ||||
* | | Fixed typos in TempAttachmentsModule. No changes. | Diva Canto | 2013-03-02 | 1 | -1/+1 |
|/ | |||||
* | Moved permissions config vars out of [Startup] into [Permissions]. Backwards ↵ | Diva Canto | 2013-03-01 | 1 | -2/+3 |
| | | | | compatible ([Startup] still being looked up), but please update your configs sometime soon. | ||||
* | Add the Mono AddinDependency attribute to the example region modules. | Justin Clark-Casey (justincc) | 2013-03-01 | 2 | -2/+4 |
| | | | | It turns out this is required to get Mono.Addins to pick up plugin DLLs | ||||
* | Add comment to example region modules about need to add Assembly annotation ↵ | Justin Clark-Casey (justincc) | 2013-02-27 | 2 | -0/+10 |
| | | | | if adding modules to a DLL which does not already have this | ||||
* | Make sure we dispose of WebResponse, StreamReader and Stream in various ↵ | Justin Clark-Casey (justincc) | 2013-02-27 | 3 | -32/+47 |
| | | | | places where we were not already. | ||||
* | Streamline stat registration code in ServerStats. Remove most of the | Robert Adams | 2013-02-24 | 1 | -160/+50 |
| | | | | | usage of ProcessCounters which tend to fail oddly and are not supported everywhere. | ||||
* | Addition of ServerStats shared region module which collects and registers | Robert Adams | 2013-02-24 | 1 | -0/+438 |
| | | | | server wide statistics (CPU%, network bytes sent, ...) with StatsManager. | ||||
* | minor: Change summary in "show appearance" console command to "incomplete" ↵ | Justin Clark-Casey (justincc) | 2013-02-21 | 1 | -1/+1 |
| | | | | | | | rather than "corrupt" Corrupt is misleading - it implies textures were uploaded but are not j2k valid. The actual situation is that at least one required baked texture is not present. | ||||
* | Fix the JsonStore path set problem justincc found earlier today and | Mic Bowman | 2013-02-19 | 3 | -95/+3 |
| | | | | remove the deprecated TestPath functions. | ||||
* | Deleted all AssemblyFileVersion directives | Diva Canto | 2013-02-19 | 1 | -1/+1 |
| | |||||
* | Convert JsonTestPath() use in json regression tests to JsonGetPathType() instead | Justin Clark-Casey (justincc) | 2013-02-19 | 1 | -10/+10 |
| | |||||
* | minor: Rename regression test method TestGetArrayLength() -> ↵ | Justin Clark-Casey (justincc) | 2013-02-18 | 1 | -1/+1 |
| | | | | JsonTestGetArrayLength() to match others | ||||
* | Enable one sub-test in TestJsonSetValue() which now works (using identifier ↵ | Justin Clark-Casey (justincc) | 2013-02-15 | 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. | ||||
* | Rename JsonSetValueJson() -> JsonSetJson() and JsonGetValueJson() -> ↵ | Justin Clark-Casey (justincc) | 2013-02-15 | 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 | ||||
* | Comment out regression TestJsonTestPath and TestJsonTestPathJson as these ↵ | Justin Clark-Casey (justincc) | 2013-02-15 | 1 | -62/+62 |
| | | | | will go away soon | ||||
* | Add regression TestJsonList2Path() | Justin Clark-Casey (justincc) | 2013-02-15 | 1 | -2/+27 |
| | |||||
* | Add regression TestGetArrayLength() | Justin Clark-Casey (justincc) | 2013-02-14 | 1 | -0/+33 |
| | |||||
* | Add regression TestJsonGetPathType() | Justin Clark-Casey (justincc) | 2013-02-14 | 1 | -0/+47 |
| | |||||
* | Rename new JsonScript functions JsonPathType() -> JsonGetPathType() and ↵ | Justin Clark-Casey (justincc) | 2013-02-14 | 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 | ||||
* | Make new JsonStore script constants separated with underscores, to be ↵ | Justin Clark-Casey (justincc) | 2013-02-14 | 1 | -5/+5 |
| | | | | | | consistent with existing LSL/OSSL, etc script constants. Agreed with cmickeyb | ||||
* | Adds a couple requested functions to the JsonStore script | Mic Bowman | 2013-02-13 | 3 | -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. | ||||
* | Make path parsing more robust in the JsonStore. | Mic Bowman | 2013-02-12 | 1 | -12/+6 |
| | |||||
* | Add more sub-tests to TestJsonSetValue for paths containing []{} without {} ↵ | Justin Clark-Casey (justincc) | 2013-02-13 | 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). | ||||
* | Extend JsonTestSetValue() with tests for escaping brackets, periods and ↵ | Justin Clark-Casey (justincc) | 2013-02-13 | 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 | ||||
* | Add test for array as root element in TestJsonCreateStore() | Justin Clark-Casey (justincc) | 2013-02-13 | 1 | -0/+9 |
| | |||||
* | Extend TestJsonRemoveValue() with tests for non-penultimate nodes and arrays | Justin Clark-Casey (justincc) | 2013-02-13 | 1 | -13/+57 |
| | |||||
* | Extend TestJsonCreateStore() with a one key input and an input with raw ↵ | Justin Clark-Casey (justincc) | 2013-02-12 | 1 | -2/+20 |
| | | | | number values | ||||
* | Re-enable subtest for single quoted token in TestJsonSetValueJson() | Justin Clark-Casey (justincc) | 2013-02-12 | 1 | -9/+9 |
| | | | | This is in response to the resolution of http://opensimulator.org/mantis/view.php?id=6540 | ||||
* | Adds the parameter for OSD serialization to encode default values. This | Mic Bowman | 2013-02-12 | 2 | -5/+8 |
| | | | | makes the JsonStore get/set operations symmetric. | ||||
* | Fix handling of string values in JsonSetValueJson(). There are | Mic Bowman | 2013-02-11 | 1 | -1/+31 |
| | | | | | some oddities with empty strings: the Json serializer treats them as default values and does not return them in serialized hashes. | ||||
* | Add regression TestJsonSetValueJson() | Justin Clark-Casey (justincc) | 2013-02-12 | 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 | ||||
* | Add regression TestJsonGetValueJson() | Justin Clark-Casey (justincc) | 2013-02-11 | 1 | -0/+33 |
| | |||||
* | Add regression TestJsonTestPathJson() | Justin Clark-Casey (justincc) | 2013-02-11 | 1 | -0/+32 |
| | |||||
* | Add section to TestJsonGetValue() to test call on a sub-tree | Justin Clark-Casey (justincc) | 2013-02-11 | 1 | -9/+21 |
| | |||||
* | Extend TestJsonTestPath() for non-terminating section of path (i.e. one that ↵ | Justin Clark-Casey (justincc) | 2013-02-11 | 1 | -8/+20 |
| | | | | does not point to a value/leaf) | ||||
* | Add section to TestJsonSetValue() to test attempted set of value where the ↵ | Justin Clark-Casey (justincc) | 2013-02-11 | 1 | -8/+23 |
| | | | | penultimate section of path does not exist | ||||
* | Add test to try reading notecard into an invalid path in ↵ | Justin Clark-Casey (justincc) | 2013-02-11 | 1 | -7/+13 |
| | | | | TestJsonReadNotecard() regression test | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Mic Bowman | 2013-02-08 | 2 | -5/+173 |
|\ | |||||
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2013-02-09 | 3 | -4/+266 |
| |\ | |||||
| | * | BulletSim: fix avatar bobbing or jiggling while stationary flying. | Robert Adams | 2013-02-08 | 1 | -1/+9 |
| | | | | | | | | | | | | Various comments and debugging message mods. | ||||
| | * | BulletSim: add initial instance of the ExtendedPhysics region module which ↵ | Robert Adams | 2013-02-08 | 1 | -0/+163 |
| | | | | | | | | | | | | adds new LSL commands for extended physics functions. Uses the modInvoke system. Disabled by default. | ||||
| * | | Change TestDestroyStore() and TestJsonRemoveValue() to reflect the fact that ↵ | Justin Clark-Casey (justincc) | 2013-02-09 | 1 | -5/+2 |
| | | | | | | | | | | | | the return values have changed. | ||||
* | | | Make JsonStore path parsing more robust. Should fix the | Mic Bowman | 2013-02-08 | 2 | -21/+59 |
| |/ |/| | | | | | invalid path problem. | ||||
* | | Broaden the internal OSD type checks to parse JSON that has | Mic Bowman | 2013-02-08 | 1 | -2/+29 |
| | | | | | | | | non string values. | ||||
* | | Adds size limits to JsonStore. Adds a separate configuration | Mic Bowman | 2013-02-08 | 2 | -2/+66 |
|/ | | | | variable to enable binding to dynamic attributes. | ||||
* | Fix the return values for JsonDestroyStore, JsonRemoveValue, and JsonSetValue. | Mic Bowman | 2013-02-08 | 3 | -10/+17 |
| | | | | Fix the link message status when reading a notecard. | ||||
* | Refine TestJsonReadNotecard() and use / instead of . to separate paths. | Justin Clark-Casey (justincc) | 2013-02-08 | 1 | -15/+46 |
| | | | | | | | An attack of the stupid meant that I was using / as a path separator. Fixing this makes the tests behave better, though still with some questions. Also, I imagine / shouldn't really put data in the root as that's not a valid identifier. This commit also fix the / mistake in other tests those this does not affect their outcomes. |