aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add Varregion support to osGetRegionSize OSSL functionDev Random2014-03-071-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-051-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-032-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-271-9/+6
| | | | parameter except LINK_THIS. Simplify code.
* minor: remove unused variable from recent commit 0e23374Justin Clark-Casey (justincc)2014-02-271-2/+0
|
* refactor: Make osGetPrimtiveParams() and soSetPrimitiveParams() use common ↵Justin Clark-Casey (justincc)2014-02-271-33/+12
| | | | get/set params code in LSL_Api rather than an old copy&pasted section.
* Add some regression tests for previous commit 0e23374Justin Clark-Casey (justincc)2014-02-261-0/+115
|
* Implement PRIM_ROTATION, PRIM_ROT_LOCAL, PRIM_POSITION and PRIM_POS_LOCAL ↵Justin Clark-Casey (justincc)2014-02-261-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-311-98/+125
|\
| * Made error messages more consistentDavid Rowe2014-01-311-15/+15
| |
| * Replaced throwing exceptions with calls to Error()David Rowe2014-01-311-7/+9
| |
| * Replaced llSay()ing LSL errors with calls Error()David Rowe2014-01-311-9/+8
| |
| * Replaced LSLError() calls with calls to Error()David Rowe2014-01-311-15/+10
| |
| * Updated "deprecated" LSL errors to use Deprecrated()David Rowe2014-01-311-19/+11
| |
| * Updated "not implemented" LSL errors to use NotImplemented()David Rowe2014-01-311-4/+3
| |
| * Updated ShoutError() calls to use new LSL error methodsDavid Rowe2014-01-311-38/+27
| |
| * Updated methods for handling LSL script errors, deprecated, and not implementedDavid Rowe2014-01-311-7/+58
| |
* | Merge branch 'master' into varregionRobert Adams2014-01-283-0/+29
|\ \ | |/
| * Added osGetRegionSize(), which returns the region size in meters and ↵Oren Hurvitz2014-01-283-0/+29
| | | | | | | | recognizes megaregions
* | Merge branch 'master' into varregionRobert Adams2014-01-191-12/+39
|\ \ | |/
| * 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
* | Merge branch 'master' into varregionRobert Adams2014-01-111-1/+1
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/SceneBase.cs OpenSim/Services/Interfaces/IGridService.cs OpenSim/Services/LLLoginService/LLLoginResponse.cs (conflicts were debug statements that are commented out in master branch)
| * Fixed llTextBox error message textDavid Rowe2014-01-101-1/+1
| |
* | Merge branch 'master' into varregionRobert Adams2014-01-042-8623/+10023
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Constants.cs OpenSim/Framework/RegionInfo.cs OpenSim/Services/GridService/GridService.cs OpenSim/Services/Interfaces/IGridService.cs Most conflicts had to do with Util routines not in master branch yet.
| * Add lsl arg syntax checking for control eventJustin Clark-Casey (justincc)2013-12-212-9386/+9716
| |
| * refactor: rename internal lsl parser VectorDeclaration -> VecDeclaration for ↵Justin Clark-Casey (justincc)2013-12-211-7907/+7903
| | | | | | | | consistency
| * Add arg checking for at_target lsl eventJustin Clark-Casey (justincc)2013-12-212-8828/+9158
| |
| * Add lsl event arg checking for at_rot_targetJustin Clark-Casey (justincc)2013-12-212-8915/+9306
| |
| * Add lsl event argument checking for attach and on_rezJustin Clark-Casey (justincc)2013-12-212-8593/+8946
| |
* | varregion: many more updates removing the constant RegionSize and replacingRobert Adams2013-12-263-7/+9
| | | | | | | | with a passed region size. This time in the map code and grid services code.
* | Merge branch 'master' into varregionRobert Adams2013-12-171-1/+1
|\ \ | |/ | | | | | | | | | | | | Add new region crossing code to varregion Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
| * Extend TestLlGetNotecardLine() regression test to contain chars that are two ↵Justin Clark-Casey (justincc)2013-12-141-1/+1
| | | | | | | | bytes in utf8
* | varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams2013-12-141-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.
* | Merge branch 'master' into varregionRobert Adams2013-12-012-7784/+8165
|\ \ | |/
| * Add parameter checking for land_collision, land_collision_start and ↵Justin Clark-Casey (justincc)2013-11-292-7784/+8165
| | | | | | | | | | | | land_collision_end lsl events Wrong number of parmeters now generates syntax error on compile, as seen on LL grid
* | Merge branch 'master' into varregionRobert Adams2013-11-242-8245/+8786
|\ \ | |/
| * Add regression test to check that specifying a non-existent event raise a ↵Justin Clark-Casey (justincc)2013-11-161-0/+9
| | | | | | | | | | | | syntax error This was the case before any of the recent changes
| * Add syntax checking for no_sensor() no-arg eventJustin Clark-Casey (justincc)2013-11-162-4970/+4981
| |
| * refactor common code out of no argument LSL event regression testsJustin Clark-Casey (justincc)2013-11-161-14/+13
| |
| * If anything other than a single integer is specified for events that only ↵Justin Clark-Casey (justincc)2013-11-162-8245/+8691
| | | | | | | | | | | | take a single integer, generate a syntax error on LSL script compile rather than an exception later on. This applies to events changed, collision, collision_start, collision_end, on_rez, run_time_permissions, sensor, touch, touch_start, touch_end
| * Make state_exit, moving_end, moving_start, not_at_rot_target, not_at_target ↵Justin Clark-Casey (justincc)2013-11-162-7447/+7520
| | | | | | | | | | | | | | and timer LSL events generate a syntax error if inappropriately given arguments. This matches behaviour seen on the LL grid and a previous change for state_entry. These are all the events which should take no arguments
| * refactor LSL_EventTests.TestStateEntryEvent into single method to test compileJustin Clark-Casey (justincc)2013-11-161-14/+17
| |
* | Merge branch 'master' into varregionRobert Adams2013-11-152-3/+3
|\ \ | |/
| * refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-152-3/+3
| | | | | | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* | Merge branch 'master' into varregionRobert Adams2013-11-081-0/+64
|\ \ | |/
| * Add initial test for checking that specifying a parameter in LSL ↵Justin Clark-Casey (justincc)2013-11-091-0/+64
| | | | | | | | | | | | state_entry() generates a syntax error. Same for other events to follow at a later date.
* | varregion: elimination of Constants.RegionSize from all over OpenSimulator.Robert Adams2013-11-083-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.