Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In compiler tests, remove the ResolveEventHandlers after test exit | Justin Clark-Casey (justincc) | 2014-05-27 | 1 | -3/+6 |
| | |||||
* | Make CompilerTest add same AssemblyResolver as XEngine to see if this solves ↵ | Justin Clark-Casey (justincc) | 2014-05-27 | 1 | -1/+7 |
| | | | | the issue with different AppDomain BaseDirectory in local and Jenkins test runs | ||||
* | Temporarily print regression TestCastAndConcatString() script compile errors ↵ | Justin Clark-Casey (justincc) | 2014-05-27 | 1 | -4/+5 |
| | | | | | | out to console to get a handle on what's going wrong. Does not fail for me locally and I failed to notice this test was failing on Jenkins. | ||||
* | Fix issues where reported LSL compiler error line numbers do not match the ↵ | Justin Clark-Casey (justincc) | 2014-05-24 | 2 | -16/+16 |
| | | | | | | | script. This is probably due to changes in the layout of the generated script preamble (using statements etc, ) in c8afc852 (Jan 17 2013). Re-enabled existing regression test that exercises at least one case of this. | ||||
* | Get regression test TestUseUndeclaredVariable() functional again, though not ↵ | Justin Clark-Casey (justincc) | 2014-05-23 | 1 | -8/+19 |
| | | | | | | yet enabled. This reveals the position map problems and will make the fix (and subsequent continual checking) easier. | ||||
* | Reactivate regression test TestCastAndConcatString() in CompilerTests. | Justin Clark-Casey (justincc) | 2014-05-23 | 2 | -10/+18 |
| | |||||
* | If a script calls llSetCameraAtOffset() or llSetCameraEyeOffset() on a child ↵ | Justin Clark-Casey (justincc) | 2014-05-22 | 1 | -0/+6 |
| | | | | | | prim and the root prim has no corresponding value set, then also set the root prim. This matches behaviour just tested on the Linden Lab grid. | ||||
* | Change llUnSit to be able to unsit any avatar that is currently sat on the ↵ | Vegaslon | 2014-05-06 | 1 | -1/+2 |
| | | | | object, not just avatars sitting on the sittarget in the object containing the script. or when the object is owned by the parcel, land group or estate owner. | ||||
* | Mantis 7146 The lsl function llGetMassMKS is not implemented | Talun | 2014-05-06 | 3 | -0/+13 |
| | | | | | This patch implements llGetMassMKS as it is described in the wiki http://wiki.secondlife.com/wiki/LlGetMassMKS | ||||
* | Show more meaningful error messages when failed to move an item from a prim ↵ | Oren Hurvitz | 2014-05-06 | 2 | -5/+10 |
| | | | | | | to a user's inventory. Also, actually show the error to the user in more cases. (Previously, sometimes the operation failed without telling the user anything.) | ||||
* | Added range-checking for the parameters to PRIM_POINT_LIGHT (used in ↵ | Oren Hurvitz | 2014-05-06 | 1 | -3/+3 |
| | | | | llSetLinkPrimitiveParamsFast() ) | ||||
* | Mantis 7144 missing ATTACH_AVATAR_CENTER constant | Talun | 2014-05-01 | 1 | -0/+2 |
| | | | | This patch adds ATTACH_AVATAR_CENTER and ATTACH_NECK | ||||
* | Change XEngine to call StateChange rather than RemoveScript on state changes | Melanie | 2014-04-30 | 1 | -1/+1 |
| | |||||
* | Add the "StateChange" function to the async comand manager to differentiate | Melanie | 2014-04-30 | 1 | -1/+23 |
| | | | | between state changes and script exit/reset. | ||||
* | Eliminated many warnings | Oren Hurvitz | 2014-04-23 | 2 | -23/+2 |
| | |||||
* | minor: use constants instead of magic numbers in llRequestAgentData() where ↵ | Justin Clark-Casey (justincc) | 2014-04-11 | 1 | -6/+6 |
| | | | | possible | ||||
* | Actually add the llRequestAgentData() test class for commit 530c86 | Justin Clark-Casey (justincc) | 2014-04-11 | 1 | -0/+157 |
| | |||||
* | Fix the presence info caching used in llRequestAgentData(), which was ↵ | Justin Clark-Casey (justincc) | 2014-04-11 | 1 | -58/+85 |
| | | | | | | | | completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case. | ||||
* | refactor: Use m_sittingAvatars to maintain the list of sitting avatars ↵ | Justin Clark-Casey (justincc) | 2014-04-03 | 1 | -11/+8 |
| | | | | | | instead of two independent structures that do exactly the same thing m_sittingAvatars code also already properly handles locking to avoid races. | ||||
* | Add check to prevent the return of a wrong value when key is NULL_KEY | BlueWall | 2014-03-31 | 1 | -1/+4 |
| | |||||
* | Also take YP/commented out JS references from script engine CodeTools. | Justin Clark-Casey (justincc) | 2014-03-26 | 2 | -157/+0 |
| | | | | Fixes build break from d3387d591a2bd496c8315f17b2310d6a6f40a7c3 | ||||
* | Remove unmaintained and unused YieldProlog scripting language | Justin Clark-Casey (justincc) | 2014-03-26 | 16 | -15874/+0 |
| | | | | | | | This hasn't been mainntained since 2008 and has not been kept up with the rest of the language infrastructure. Hence, it almost certainly doesn't work and has never been used, afaik If this is wrong, please say on the opensim-users/dev mailing list. Removing to reduce maintenance burden (since it still needs to be made to compile). | ||||
* | Better error messages | Oren Hurvitz | 2014-03-24 | 1 | -6/+5 |
| | | | | This resolves http://opensimulator.org/mantis/view.php?id=6936 | ||||
* | Mantis 6922: No particles are generated if their size exceeds the maximum ↵ | Talun | 2014-03-21 | 1 | -4/+10 |
| | | | | | | allowed size. This patch ensures that no particle scal value can exceed 4.0 | ||||
* | Mantis 6974 PERMISSION_TRACK_CAMERA should be implicit on attach. | Talun | 2014-03-20 | 1 | -0/+1 |
| | | | | | http://wiki.secondlife.com/wiki/Run_time_permissions This change makes PERMISSION_TRACK_CAMERA implicit on attach | ||||
* | Implement osForceBreakAllLinks(). | Justin Clark-Casey (justincc) | 2014-03-13 | 4 | -0/+25 |
| | | | | Identical to llBreakAllLinks() except that it doesn't require the script to have link permissions. | ||||
* | Only allow llBreakAllLinks() to work if script has received ↵ | Justin Clark-Casey (justincc) | 2014-03-12 | 2 | -0/+50 |
| | | | | | | | PERMISSION_CHANGE_LINKS As per http://wiki.secondlife.com/wiki/LlBreakAllLinks Same as existing llCreateLink() and llBreakLink() | ||||
* | Implement osForceCreateLink() and osForceBreakLink() | Justin Clark-Casey (justincc) | 2014-03-12 | 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. | ||||
* | Add Varregion support to osGetRegionSize OSSL function | Dev Random | 2014-03-07 | 1 | -1/+3 |
| | | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com> | ||||
* | If an avatar is sitting, send out position updates to clients for any ↵ | Justin Clark-Casey (justincc) | 2014-03-05 | 1 | -1/+31 |
| | | | | | | | | change, not just those outside the usual tolerances. This is to allow small adjustments of less than 0.05m in functions such as llSetPrimitiveLinkParams() to work This is another fix for http://opensimulator.org/mantis/view.php?id=7044 Extends regression test for this case. | ||||
* | When positioning agent with PRIM_ROTATION in llSetLinkPrimitiveParams(), set ↵ | Justin Clark-Casey (justincc) | 2014-03-03 | 2 | -12/+38 |
| | | | | | | | 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 | ||||
* | Stop LSL_Api.GetLinkEntities() from creating an unused list on every ↵ | Justin Clark-Casey (justincc) | 2014-02-27 | 1 | -9/+6 |
| | | | | parameter except LINK_THIS. Simplify code. | ||||
* | minor: remove unused variable from recent commit 0e23374 | Justin Clark-Casey (justincc) | 2014-02-27 | 1 | -2/+0 |
| | |||||
* | refactor: Make osGetPrimtiveParams() and soSetPrimitiveParams() use common ↵ | Justin Clark-Casey (justincc) | 2014-02-27 | 1 | -33/+12 |
| | | | | get/set params code in LSL_Api rather than an old copy&pasted section. | ||||
* | Add some regression tests for previous commit 0e23374 | Justin Clark-Casey (justincc) | 2014-02-26 | 1 | -0/+115 |
| | |||||
* | Implement PRIM_ROTATION, PRIM_ROT_LOCAL, PRIM_POSITION and PRIM_POS_LOCAL ↵ | Justin Clark-Casey (justincc) | 2014-02-26 | 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 | ||||
* | Merge branch 'justincc-master' | Justin Clark-Casey (justincc) | 2014-01-31 | 1 | -98/+125 |
|\ | |||||
| * | Made error messages more consistent | David Rowe | 2014-01-31 | 1 | -15/+15 |
| | | |||||
| * | Replaced throwing exceptions with calls to Error() | David Rowe | 2014-01-31 | 1 | -7/+9 |
| | | |||||
| * | Replaced llSay()ing LSL errors with calls Error() | David Rowe | 2014-01-31 | 1 | -9/+8 |
| | | |||||
| * | Replaced LSLError() calls with calls to Error() | David Rowe | 2014-01-31 | 1 | -15/+10 |
| | | |||||
| * | Updated "deprecated" LSL errors to use Deprecrated() | David Rowe | 2014-01-31 | 1 | -19/+11 |
| | | |||||
| * | Updated "not implemented" LSL errors to use NotImplemented() | David Rowe | 2014-01-31 | 1 | -4/+3 |
| | | |||||
| * | Updated ShoutError() calls to use new LSL error methods | David Rowe | 2014-01-31 | 1 | -38/+27 |
| | | |||||
| * | Updated methods for handling LSL script errors, deprecated, and not implemented | David Rowe | 2014-01-31 | 1 | -7/+58 |
| | | |||||
* | | Merge branch 'master' into varregion | Robert Adams | 2014-01-28 | 3 | -0/+29 |
|\ \ | |/ | |||||
| * | Added osGetRegionSize(), which returns the region size in meters and ↵ | Oren Hurvitz | 2014-01-28 | 3 | -0/+29 |
| | | | | | | | | recognizes megaregions | ||||
* | | Merge branch 'master' into varregion | Robert Adams | 2014-01-19 | 1 | -12/+39 |
|\ \ | |/ | |||||
| * | Following on from 50ea2e0, only fetch scene presence for check if ↵ | Justin Clark-Casey (justincc) | 2014-01-18 | 1 | -17/+38 |
| | | | | | | | | lightscript function has failed initial IsEstateManagerOrOwner() check | ||||
| * | Fixed: Windlight functions caused an error if called when the script's owner ↵ | Oren Hurvitz | 2014-01-18 | 1 | -3/+9 |
| | | | | | | | | isn't in the scene |