Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Extend TestJsonReadNotecard() for reads to non-root locations and fake stores. | Justin Clark-Casey (justincc) | 2013-02-08 | 1 | -9/+33 |
| | | | | Assertions for loading to non-root paths are currently commented out because this doesn't seem to be working. Will be raising mantis to resolve. | ||||
* | Stop wrongly create a receiving store already populated with "Hello":"World" ↵ | Justin Clark-Casey (justincc) | 2013-02-08 | 1 | -1/+3 |
| | | | | in TestJsonReadNotecard() | ||||
* | Extend TestJsonWriteNotecard() regression test for cases with fake paths and ↵ | Justin Clark-Casey (justincc) | 2013-02-08 | 1 | -8/+61 |
| | | | | | | fake stores. Also separates out TestJsonWriteReadNotecard() into separate write and read tests | ||||
* | Extend TestJsonSetValue() regressio ntes tto test against a fake store | Justin Clark-Casey (justincc) | 2013-02-08 | 1 | -0/+5 |
| | |||||
* | Extend TestJsonTestPath() regression test with checks against fake values ↵ | Justin Clark-Casey (justincc) | 2013-02-08 | 1 | -0/+8 |
| | | | | and fake stores | ||||
* | Add tests for removing fake values/from fake store in TestJsonRemoveValue() | Justin Clark-Casey (justincc) | 2013-02-07 | 1 | -0/+11 |
| | | | | Again, need to check if returning true for removing a value that doesn't exist is most appropriate. | ||||
* | Add testing for getting non-existing values and values from a non-existing ↵ | Justin Clark-Casey (justincc) | 2013-02-07 | 1 | -1/+10 |
| | | | | datastore to TestJsonGetValue() | ||||
* | Add TestJsonDestoreStoreNotExists() | Justin Clark-Casey (justincc) | 2013-02-07 | 1 | -0/+14 |
| | | | | | This still returns true even if we ask to destroy a store that does not exist. Need to check that this is more appropriate behaviour. | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2013-02-07 | 5 | -15/+249 |
|\ | |||||
| * | Plumb the path from the client to the extra physics params and back | Melanie | 2013-02-07 | 2 | -0/+10 |
| | | |||||
| * | Change passed PhysicsParameter value from float to the more general string value | Robert Adams | 2013-02-07 | 1 | -14/+5 |
| | | |||||
| * | Websocket Echo module should not be on by default. | teravus | 2013-02-07 | 1 | -1/+1 |
| | | |||||
| * | * missing example module.. Oops. | teravus | 2013-02-07 | 1 | -0/+174 |
| | | |||||
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Justin Clark-Casey (justincc) | 2013-02-07 | 3 | -13/+95 |
| |\ | |||||
| * | | Add TestJsonWriteReadNotecard() regression test | Justin Clark-Casey (justincc) | 2013-02-07 | 1 | -1/+44 |
| | | | |||||
| * | | Make json store tests operate on a single thread to ensure we don't run into ↵ | Justin Clark-Casey (justincc) | 2013-02-07 | 1 | -0/+16 |
| | | | | | | | | | | | | any race related test failures in the future. | ||||
* | | | Fix a recent regression in e17392a where JsonSetValue() stopped working ↵ | Justin Clark-Casey (justincc) | 2013-02-07 | 3 | -15/+15 |
| |/ |/| | | | | | | | | | | | | | | | (probably other functions as well). Fix is to call through to the no-arg constructor from the string constructor in JsonStore, which I suspect was just forgotten. This was actually picked up by the TestJsonSetValue() regression test failing But this isn't being run on jenkins due to the .net version issue. This commit also puts the full stack trace in logged messages and makes these error level messages instead of info | ||||
* | | Enables script access to the per object dynamic attributes through the JsonStore | Mic Bowman | 2013-02-06 | 3 | -13/+95 |
|/ | | | | | | | | | | | 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. | ||||
* | Allow JsonReadNotecard() to accept the name of the notecard as well as the ↵ | Justin Clark-Casey (justincc) | 2013-02-06 | 1 | -8/+18 |
| | | | | | | | asset ID. Agreed in discussion with cmickeyb. This is to make this consistent with similar existing LSL/OSSL functions such as llTriggerSound() and osNpcLoadAppearance() that allow an item name or an asset id. | ||||
* | Bump version and assembly version numbers from 0.7.5 to 0.7.6 | Justin Clark-Casey (justincc) | 2013-02-05 | 1 | -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. | ||||
* | Move the JsonStore regular expressions to static variables to avoid | Mic Bowman | 2013-01-31 | 2 | -87/+190 |
| | | | | | recompiling on every operation. Added JsonList2Path script function to simplify array iteration. | ||||
* | Add JsonTestStore to determine if a JsonStore is associated with | Mic Bowman | 2013-01-30 | 2 | -0/+24 |
| | | | | a particular UUID. | ||||
* | Add JsonDestroyStore() basic regression test | Justin Clark-Casey (justincc) | 2013-01-30 | 1 | -0/+15 |
| | |||||
* | refactor: Make invocations of json store functions from the regression test ↵ | Justin Clark-Casey (justincc) | 2013-01-30 | 1 | -42/+17 |
| | | | | simpler | ||||
* | Add regression test for script func JsonRemoveValue() | Justin Clark-Casey (justincc) | 2013-01-30 | 1 | -0/+52 |
| | |||||
* | minor: change name of json script tests to JsonStoreScriptModuleTests ↵ | Justin Clark-Casey (justincc) | 2013-01-29 | 1 | -1/+1 |
| | | | | instead of copy/pasted LSL_ApiInventoryTests | ||||
* | Try ignoring json tests if they can't be run due to being on <=.net 3.5 | Justin Clark-Casey (justincc) | 2013-01-29 | 1 | -6/+17 |
| | |||||
* | minor: Call down to base OpenSimTestCase.SetUp() in NPCModuleTests to ↵ | Justin Clark-Casey (justincc) | 2013-01-26 | 1 | -0/+2 |
| | | | | disable any enabled logging from previous tests | ||||
* | Disable json tests for now - I see this is failing on jenkins because mono ↵ | Justin Clark-Casey (justincc) | 2013-01-25 | 2 | -32/+29 |
| | | | | | | 2.4.3 doesn't have Funcs >5 params, though mono 2.6 onwards does. Standardize logging in JsonStoreScriptModule and some minor code formatting. |