aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-13Implement osForceBreakAllLinks().Justin Clark-Casey (justincc)4-0/+25
Identical to llBreakAllLinks() except that it doesn't require the script to have link permissions.
2014-03-12Only allow llBreakAllLinks() to work if script has received ↵Justin Clark-Casey (justincc)1-0/+8
PERMISSION_CHANGE_LINKS As per http://wiki.secondlife.com/wiki/LlBreakAllLinks Same as existing llCreateLink() and llBreakLink()
2014-03-12Implement osForceCreateLink() and osForceBreakLink()Justin Clark-Casey (justincc)4-8/+62
These are identical to llCreateLink() and llBreakLink() except that they don't require script permissions. However, osForceCreateLink() still requires that linked and linkee still have the same owner. There's also an AutomaticLinkPermission setting in [XEngine] that could be set to true to prevent the LSL function checks. But this doesn't allow the finer control over which users/scripts, etc. can do this that the OSSL functions provide.
2014-03-07Add Varregion support to osGetRegionSize OSSL functionDev Random1-1/+3
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2014-03-03When positioning agent with PRIM_ROTATION in llSetLinkPrimitiveParams(), set ↵Justin Clark-Casey (justincc)1-1/+13
the global rotation rather than the local rotation Functionally the same as the patch in http://opensimulator.org/mantis/view.php?id=7044, thanks Aleric. This commit also extends the regression test
2014-02-27Stop LSL_Api.GetLinkEntities() from creating an unused list on every ↵Justin Clark-Casey (justincc)1-9/+6
parameter except LINK_THIS. Simplify code.
2014-02-27minor: remove unused variable from recent commit 0e23374Justin Clark-Casey (justincc)1-2/+0
2014-02-27refactor: Make osGetPrimtiveParams() and soSetPrimitiveParams() use common ↵Justin Clark-Casey (justincc)1-33/+12
get/set params code in LSL_Api rather than an old copy&pasted section.
2014-02-26Implement PRIM_ROTATION, PRIM_ROT_LOCAL, PRIM_POSITION and PRIM_POS_LOCAL ↵Justin Clark-Casey (justincc)1-17/+128
when manipulating avatars via llSetLinkPrimitiveParams() Combination of core parts of Freaky's patch at https://github.com/ft-/opensim-patches/blob/master/opensim-llsetlinkprimitive-agent-fix.patch plus further adjustments from myself. Resolves Mantises 6121, 6421, 6573, 6657
2014-01-31Made error messages more consistentDavid Rowe1-15/+15
2014-01-31Replaced throwing exceptions with calls to Error()David Rowe1-7/+9
2014-01-31Replaced llSay()ing LSL errors with calls Error()David Rowe1-9/+8
2014-01-31Replaced LSLError() calls with calls to Error()David Rowe1-15/+10
2014-01-31Updated "deprecated" LSL errors to use Deprecrated()David Rowe1-19/+11
2014-01-31Updated "not implemented" LSL errors to use NotImplemented()David Rowe1-4/+3
2014-01-31Updated ShoutError() calls to use new LSL error methodsDavid Rowe1-38/+27
2014-01-31Updated methods for handling LSL script errors, deprecated, and not implementedDavid Rowe1-7/+58
2014-01-28Added osGetRegionSize(), which returns the region size in meters and ↵Oren Hurvitz3-0/+29
recognizes megaregions
2014-01-18Following on from 50ea2e0, only fetch scene presence for check if ↵Justin Clark-Casey (justincc)1-17/+38
lightscript function has failed initial IsEstateManagerOrOwner() check
2014-01-18Fixed: Windlight functions caused an error if called when the script's owner ↵Oren Hurvitz1-3/+9
isn't in the scene
2014-01-17Revert "Fixed: Windlight functions caused an error if called when the ↵Justin Clark-Casey (justincc)1-9/+3
script's owner isn't in the scene" This reverts commit 39e5785c0f5bfa9fce2549757ac895920c88825a. Did not mean to apply this yet.
2014-01-17Fixed: Windlight functions caused an error if called when the script's owner ↵Oren Hurvitz1-3/+9
isn't in the scene
2014-01-10Fixed llTextBox error message textDavid Rowe1-1/+1
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams3-7/+9
with a passed region size. This time in the map code and grid services code.
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-5/+5
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-2/+2
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-11-08varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams3-10/+11
Routines in Util to compute region world coordinates from region coordinates as well as the conversion to and from region handles. These routines have replaced a lot of math scattered throughout the simulator. Should be no functional changes.
2013-11-05add support for particle glow LSL functionsdahlia1-0/+12
2013-11-05add support for particle blending LSL functionsdahlia1-1/+15
2013-10-31add new particle system blending rule enumerationsdahlia1-1/+5
2013-10-31add new LSL constants associated with new "ribbon", "glow", and "blend" ↵dahlia1-0/+13
particle system functionality. Note that this does *not* complete required server side changes for implementing the new particle system
2013-10-18Call ScriptSleep() instead of llSleep() in routine for llEmail.Kevin Cozens1-1/+1
Signed-off-by: teravus <teravus@gmail.com>
2013-10-15Fixed rezzing coalesced objects from a prim's inventoryOren Hurvitz1-19/+22
Previously only the first object in the Coalesced Object was rezzed. Now all the objects are rezzed.
2013-10-07varregion: remove scattered use of Constants.RegionSize by having routines ↵Robert Adams1-5/+2
reference RegionInfo.RegionWorldLoc?.
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-6/+6
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)1-1/+1
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-6/+6
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-16Fix bug where using PRIM_LINK_TARGET with only two remaining list items ↵Justin Clark-Casey (justincc)1-2/+2
(e.g. link number then PRIM_ROTATION) would not return the parameter Extended regression test for this case
2013-09-16Make llGetLinkPrimitiveParams() abort and return existing list of params ↵Justin Clark-Casey (justincc)1-2/+11
when it encounters an invalid link number, rather than throwing an exception Addresses http://opensimulator.org/mantis/view.php?id=6768 Thanks to talun for the patch on that commit - in the end I took a different approach that also deals with invalid PRIM_LINK_TARGET However, not yet generating the same warning on invalid PRIM_LINK_TARGET as seen on LL grid This commit also adds regression tests for some cases of llGetLinkPrimitiveParams()
2013-09-126762: llList2Key fails to convert a string in a list to a keyTalun1-1/+1
llGetPrimitiveParams changed to return the sculpty key as an LSL_String so that type checking in llList2Key will work
2013-08-02Fix problem with modInvoke defined integer constants being build intoRobert Adams1-2/+2
scripts as boxed integers rather than proper reference to a new LSLInteger. This fixes an exception when using a registered integer constant in a script.
2013-07-09If a sensor is in an attachment, avoid throwing an exception if the attachee ↵Justin Clark-Casey (justincc)1-0/+10
is removed from the scene before we try to retrieve them.
2013-07-06Add implementations for llSetVelocity and llSetAngularVelocity.Robert Adams3-0/+38
2013-06-14correct method doc for llRot2Axis()dahlia1-1/+1
2013-06-15minor: remove mono compiler warnings from LSL_Api, properly format method ↵Justin Clark-Casey (justincc)1-7/+5
doc for llRot2Axis()
2013-06-15Mantis 6280: llSetContentType(). An implementation.Talun4-0/+84
An implimentation of llSetContentType including all of the new constants added since the mantis was raised.
2013-06-15Mantis 6108: ossetprimitiveparams temporary/phantom problemTalun1-2/+2
Corrected to ensure that the target prim is updated by osSetPrimitiveParams when setting PRIM_TEMP_ON_REZ and/or PRIM_PHANTOM instead of the prim that the script is in.
2013-06-11Adjust output of llRot2Axis and llRot2Angle to match domains SL(tm) uses. ↵dahlia1-0/+3
Addresses Mantis #0006671
2013-06-10llRot2Angle now checks absolute value of s rotation component before normalizingdahlia1-11/+3