aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Eliminated many warningsOren Hurvitz2014-04-231-1/+1
|
* Per discussions with justincc... split the JsonStore typeMic Bowman2013-03-051-1/+38
| | | | | functions into one for node type and one for value type. Define and export constants for both nodes and values.
* Fix the JsonStore path set problem justincc found earlier today andMic Bowman2013-02-191-25/+3
| | | | remove the deprecated TestPath functions.
* Adds a couple requested functions to the JsonStore scriptMic Bowman2013-02-131-0/+49
| | | | | | 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 Bowman2013-02-121-12/+6
|
* Adds the parameter for OSD serialization to encode default values. ThisMic Bowman2013-02-121-4/+7
| | | | makes the JsonStore get/set operations symmetric.
* Fix handling of string values in JsonSetValueJson(). There areMic Bowman2013-02-111-1/+31
| | | | | some oddities with empty strings: the Json serializer treats them as default values and does not return them in serialized hashes.
* Make JsonStore path parsing more robust. Should fix theMic Bowman2013-02-081-20/+48
| | | | invalid path problem.
* Broaden the internal OSD type checks to parse JSON that hasMic Bowman2013-02-081-2/+29
| | | | non string values.
* Adds size limits to JsonStore. Adds a separate configurationMic Bowman2013-02-081-2/+49
| | | | variable to enable binding to dynamic attributes.
* Fix the return values for JsonDestroyStore, JsonRemoveValue, and JsonSetValue.Mic Bowman2013-02-081-4/+13
| | | | Fix the link message status when reading a notecard.
* Fix a recent regression in e17392a where JsonSetValue() stopped working ↵Justin Clark-Casey (justincc)2013-02-071-1/+1
| | | | | | | | | (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 JsonStoreMic Bowman2013-02-061-13/+51
| | | | | | | | | | | 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.
* Move the JsonStore regular expressions to static variables to avoidMic Bowman2013-01-311-24/+49
| | | | | recompiling on every operation. Added JsonList2Path script function to simplify array iteration.
* Fix the Csharp 3.0 vs 4.0 problem in JsonStore initialization.Mic Bowman2012-04-171-1/+3
| | | | Cut down on the logging spam.
* This commit adds a new optional region module, JsonStore, that provides ↵Mic Bowman2012-04-171-0/+498
structured storage (dictionaries and arrays of string values) for scripts and region modules. In addition, there are operations on the storage that enable "real" distributed computation between scripts through operations similar to those of a tuple space. Scripts can share task queues, implement shared locks or semaphores, etc. The structured store is limited to the current region and is not currently persisted. However, script operations are defined to initialize a store from a notecard and to serialize the store to a notecard. Documentation will be posted to the opensim wiki soon.