aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-31changing to use Type argument instead of objectSignpostMarv1-3/+3
2012-08-31moving code that will be common into private static methodSignpostMarv1-1/+8
2012-07-31Adds support to ScriptModuleComms for region modules to exportMic Bowman1-0/+33
constants to the script engine.
2012-07-25Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)1-1/+1
This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
2012-07-19minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-07-19Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)1-3/+1
enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
2012-07-18Perform other region ready actions even if simulator is configured to leave ↵Justin Clark-Casey (justincc)1-26/+19
logins disabled on startup.
2012-07-18Fix bug where region ready would be triggered a second time if a script was ↵Justin Clark-Casey (justincc)1-30/+23
rezzed on a previously script-free region. There is no need to listen for OnRezScript in RegionReadyModule since OnEmptyScriptCompileQueue will only fire if scripts were compiled.
2012-07-18Establish EventManager.OnRegionReady event. This will only be triggerred ↵Justin Clark-Casey (justincc)1-0/+2
once when the region is ready. Switch MapImageServiceModule to use this.
2012-07-18Pass entire scene object in OnLoginsEnabled event rather than just the ↵Justin Clark-Casey (justincc)1-8/+16
region name. This saves listeners from having to re-retrieve the scene from their own lists, which won't work anyway if multiple regions with the same name have been allowed
2012-07-18Only listen to LoginsEnabled event in RegionReadyModule if it has been asked ↵Justin Clark-Casey (justincc)1-26/+22
to disable logins until all scripts have been compiled
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)2-8/+4
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
2012-07-07minor: rearrange INITIALIZATION COMPLETE log message so that it's clear init ↵Justin Clark-Casey (justincc)1-3/+2
is only complete for a particular region at a time
2012-07-07minor: Get RegionReady module to shout initialization complete status to ↵Justin Clark-Casey (justincc)1-1/+3
draw the eye
2012-04-25Add try/catch around Json script method registration to avoild some issuesMic Bowman1-15/+24
with .NET 3.5 vs 4.0 differences. See http://opensimulator.org/mantis/view.php?id=5971
2012-04-25refactor: Combine ScenePresence.Teleport() and TeleportWithMomentum()Justin Clark-Casey (justincc)1-1/+1
These are identical apart from setting Velocity = zero, which has no practical effect anyway since this is zeroed when the avatar is added back to the physics scene.
2012-04-17clean up some more logging spam in the jsonstore modulesMic Bowman2-2/+4
2012-04-17Fix the Csharp 3.0 vs 4.0 problem in JsonStore initialization.Mic Bowman3-5/+7
Cut down on the logging spam.
2012-04-17This commit adds a new optional region module, JsonStore, that provides ↵Mic Bowman3-0/+1416
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.
2012-04-17make the namespace for the ScriptModuleComms consistent with its file system ↵Mic Bowman1-1/+1
location
2012-03-26Add some more overloads to allow registering overloaded methods and listsMelanie1-4/+14
of methods.
2012-03-26Add a hust UUID to the script invocationsMelanie1-7/+8
2012-03-25Fix compile error in ScriptModuelComms and add some debugging into the modInvokeMic Bowman1-2/+12
routines to simplify finding method registration issues.
2012-03-26Further simplify ScriptCommsMelanie1-1/+3
2012-03-26Dynamically create the delegate type to reduce complexity in the callerMelanie1-1/+21
2012-03-26Correct the design error I introduced into ScriptComms. Untested but about toMelanie1-14/+22
be.
2012-03-25Simplify the module invocation registration. The types and method nameMelanie1-2/+18
can be pulled fromt he delegate so we don't need to pass them explicitly
2012-03-24Add support for key, vector, rotation and list types for bothMic Bowman1-0/+8
arguments and return values to the modInvoke family of functions. See http://opensimulator.org/wiki/OSSL_Script_Library/ModInvoke
2012-03-22RegionReady loggingBlueWall1-10/+5
Some maintenance to clean up logging messages
2012-03-15Adds a new script command 'modInvoke' to invoke registered functionsMic Bowman1-2/+97
from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...)
2012-02-16Remove some debugging output form the loggerBlueWall1-2/+4
2012-01-18RegionReady:BlueWall1-1/+5
Back out some of the oar monitoring for the time being. Need to find a better way to get feedback. Will re-visit this soon.
2012-01-14protect the region ready alerts for loading oarfiles if no post URI is setMic Bowman1-2/+5
2012-01-13Update RegionReadyModuleBlueWall1-6/+51
Fix triggering of alerts when rezzing first script to an empty region, add login disable when loading oars.
2012-01-05Move simulator asset info commands to an optional module from the connector. ↵Justin Clark-Casey (justincc)1-3/+2
Make them conform with service side commands. This stops them appearing twice when Hypergrid is enabled.
2011-12-05Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie1-5/+5
2011-10-20Get OdeScene to use passed in time step rather than hard-coded 0.089Justin Clark-Casey (justincc)1-1/+1
However, I still don't recommend changing MinFrameTime from 0.089, high values do not work well and lower values don't seem to make much difference
2011-08-15Add "shutdown" message to RegionReadyBlueWall1-0/+5
Add "shutdown" message when removing region. From a patch submitted by Michelle Argus. Thanks Michelle
2011-07-13refactor: Move all callers of the obsoleted ↵Justin Clark-Casey (justincc)1-2/+2
SychronousRestObjectPoster.BeginPostObject() to the identical SynchronousRestObjectRequester.MakeRequest()
2011-07-09Rename SetSculptData() to SetSculptProperties(), since this is what it does ↵Justin Clark-Casey (justincc)1-1/+1
(setting SculptData is done through the property)
2011-06-24RegionReady Module:BlueWall1-0/+2
Add notification to neighbors when logins are enabled.
2011-05-28Adding an event to signal that logins are enabledBlueWall1-11/+76
Added an event to signal the eabling of logins and added an alert to send to a configured service.
2011-05-28Add option to disable loginsBlueWall1-1/+24
This just covers script loading for now. More to come.
2011-04-02Comment out some startup logging lines to make up for the one I added ↵Justin Clark-Casey (justincc)1-9/+1
earlier on. Most of these are where the region modules are telling us they are disabled. Convention is only to log when enabled (even that is really noisy)
2011-03-25Start using IPrimCounts populated by PrimCountModule instead of LandData ↵Justin Clark-Casey (justincc)1-0/+1
counts populated by LandManagementModule. In order to pass ILandObject into IClientAPI.SendLandProperties(), had to push ILandObject and IPrimCounts into OpenSim.Framework from OpenSim.Region.Framework.Interfaces, in order to avoid ci Counts are showing odd behaviour at the moment, this will be addressed shortly.
2010-10-28Formatting cleanup.Jeff Ames2-2/+1
2010-10-27Formatting cleanup.Jeff Ames1-7/+4
2010-10-21First attempt to get multiple attachments working to support viewer2.Master ScienceSim1-9/+6
The attachment code appears to work correctly for 1.23 viewers so, in spite of some big changes in the internal representation, there don't appear to be regressions. That being said, I still can't get a viewer2 avatar to show correctly.
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-5/+1
MapAndArray collection
2010-09-12Formatting cleanup.Jeff Ames1-2/+2