aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-23Eliminated many warningsOren Hurvitz1-1/+1
2013-03-05Per discussions with justincc... split the JsonStore typeMic Bowman1-1/+38
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 Bowman1-25/+3
remove the deprecated TestPath functions.
2013-02-13Adds a couple requested functions to the JsonStore scriptMic Bowman1-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.
2013-02-12Make path parsing more robust in the JsonStore.Mic Bowman1-12/+6
2013-02-12Adds the parameter for OSD serialization to encode default values. ThisMic Bowman1-4/+7
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-08Make JsonStore path parsing more robust. Should fix theMic Bowman1-20/+48
invalid path problem.
2013-02-08Broaden the internal OSD type checks to parse JSON that hasMic Bowman1-2/+29
non string values.
2013-02-08Adds size limits to JsonStore. Adds a separate configurationMic Bowman1-2/+49
variable to enable binding to dynamic attributes.
2013-02-08Fix the return values for JsonDestroyStore, JsonRemoveValue, and JsonSetValue.Mic Bowman1-4/+13
Fix the link message status when reading a notecard.
2013-02-07Fix a recent regression in e17392a where JsonSetValue() stopped working ↵Justin Clark-Casey (justincc)1-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
2013-02-06Enables script access to the per object dynamic attributes through the JsonStoreMic Bowman1-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.
2013-01-31Move the JsonStore regular expressions to static variables to avoidMic Bowman1-24/+49
recompiling on every operation. Added JsonList2Path script function to simplify array iteration.
2012-04-17Fix the Csharp 3.0 vs 4.0 problem in JsonStore initialization.Mic Bowman1-1/+3
Cut down on the logging spam.
2012-04-17This commit adds a new optional region module, JsonStore, that provides ↵Mic Bowman1-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.