aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change the IScriptApi back to it's original form, removing XEngineMelanie Thielker2015-08-171-2/+2
| | | | | specific additions that should not have been there in the first place. Sleeping and time measurement are now completely internal to XEngine
* Revert "When scripts are sleeping, don't count that as execution time"Melanie Thielker2015-08-171-3/+1
| | | | | | | The approach is good but the way it is written breaks the architecture. Rewrite follows. This reverts commit a568f06b7faea807149205d0e47454e4883e4836.
* When scripts are sleeping, don't count that as execution timeOren Hurvitz2015-08-111-1/+3
| | | | Sleeping doesn't use the CPU.
* usability fixes for LightShare APIFreaky Tech2015-03-041-41/+328
| | | | | | exception based error messages were cryptic for casual users Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Following on from 50ea2e0, only fetch scene presence for check if ↵Justin Clark-Casey (justincc)2014-01-181-17/+38
| | | | lightscript function has failed initial IsEstateManagerOrOwner() check
* Fixed: Windlight functions caused an error if called when the script's owner ↵Oren Hurvitz2014-01-181-3/+9
| | | | isn't in the scene
* Revert "Fixed: Windlight functions caused an error if called when the ↵Justin Clark-Casey (justincc)2014-01-171-9/+3
| | | | | | | | script's owner isn't in the scene" This reverts commit 39e5785c0f5bfa9fce2549757ac895920c88825a. Did not mean to apply this yet.
* Fixed: Windlight functions caused an error if called when the script's owner ↵Oren Hurvitz2014-01-171-3/+9
| | | | isn't in the scene
* Pass narrower WaitHandle rather than EventWaitHandle as co-op termination ↵Justin Clark-Casey (justincc)2013-01-231-1/+1
| | | | | | wait handle to script APIs. APIs don't need to reference any methods on EventWaitHandle
* Implement co-operative script termination if termination comes during a ↵Justin Clark-Casey (justincc)2013-01-161-3/+5
| | | | | | | | | | script wait event (llSleep(), etc.) This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability. If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread. This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period. Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented. This commit, unlike 1b5c41c, passes the wait handle as an extra parameter through IScript.Initialize() instead of passing IScriptInstance itself.
* Instead of passing separate engine, part and item components to script APIs, ↵Justin Clark-Casey (justincc)2013-01-151-7/+6
| | | | | | | | pass down IScriptInstance instead. This is to allow the future co-operative script thread terminate feature to detect and act upon termination requests. This splits the assembly and state loading out from the ScriptInstance() constructor to a separate Load() method in order to facilititate continued script logic regression testing.
* refactoring for Vector3 operator & constructor tweaksSignpostMarv2012-08-181-4/+4
|
* refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)2012-05-081-3/+1
| | | | This is always available from m_host.LocalId
* Instead of constantly looking up unchanging self item in script code, pass ↵Justin Clark-Casey (justincc)2012-05-081-3/+1
| | | | in self item on initialization.
* refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)2012-04-171-3/+3
| | | | | | | EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
* Introduce a LightShare kill packet ans send it when needed. Currently onlyMelanie2011-12-281-0/+1
| | | | understood by AVN v0.3
* Add case to Lightshare/WindlightBlueWall2011-10-221-0/+3
| | | | Thanks thomax for a patch to add handling for Sun/Moon pos.
* lsGetWindlightScene() returns raw int value, which makes unable to compare ↵Makopoppo2011-07-091-2/+3
| | | | to another value with llListFindList()
* Add lsClearWindlightScene() to the lightshare module to remove WL settingsMelanie2010-11-031-0/+17
| | | | from a region and allow normal day cycles to be reestablished
* When LightShare is enabled, the standard day cycle is bypassed and replaced byMelanie2010-11-031-0/+1
| | | | | | midday defaults when no specific LightShare profile is set. This prevents LightShare info being send out when the region has no LightShare profile, allowing normal day/night cycles to happen.
* minor: remove mono compiler warningJustin Clark-Casey (justincc)2010-08-251-3/+1
|
* Add --merge switch to load iar.Justin Clark-Casey (justincc)2010-06-301-1/+1
| | | | | | When this switch is used, iar folders are merged with existing same-name user inventory folders. This makes it a little easier to back and restore entire individual user inventories, among other things Added unit test to check behaviour
* Rename CM files to LSMelanie Thielker2010-06-111-0/+504