improved usability of error messages within llSetPrimitiveParams and llSetLinkPrimitiveParams(Fast)
improved usability of error messages within llSetPrimitiveParams and llSetLinkPrimitiveParams(Fast)
integrating opensim-git 3fe9c7c49d9c39ad879c1175c01c8cacced56046:

Fix looking up line number and colum when there is no exact match.

When a compile error reports a colum/error that is not an exact
match in the positionMap dictionary, the last position in the
map with a line number and position before the reported error
should be returned.

The old code had the following problems:
1) It returns l,c - which are line and column of the C# file, not LSL.
2) It doesn't set l to 'line' when the map has an entry with 'line'.
3) It sorts the map without taking columns into account, which may
   result in a random order of the columns. With my mono implementation
   the columns were reversed in order.

For example, if the map contains the following lines:

99,5,49,10
100,30,50,10
100,40,1,0
101,5,51,10

and a translation of 100,35 was requested,
then the old code would compare '100' with the keys in
the first column - setting l to that key while it is
smaller. Hence, l is set to 99.
Then it finds the key 100 and doesn't update l.
Because of the reversed sort order, it first compares
the column 35 with 40, finding that it is smaller
and therefore it stops; returning 99,1 instead of finding
the correct 100,30 entry and returning 50,10.

This patch causes 50,10 to be returned.

The remaining problems after this patch are:
1) The sorting might not be necessary at all.
2) The is code duplication (I fixed both instances,
   but really there should be no code duplication
   imho).

Signed-off-by: ft <ft@noemail>
changed return value of llGetUsedMemory for scripts that contain memory used checks
unnested two locks in IScriptInstance
integrating opensim-git 1a3ffda8524cfd19e1149a1831cf8e8defa97a57:

the Vector3 is a structure type and does not require explicit copying.
integrating opensim-git bb7c88805a5b9eaad5be4183c9c9f71c102e1abf:

As per the LL grid, for attachments make llGetObjectDetails() OBJECT_VELOCITY return the avatar's velocity and not always Vector3.Zero.

Signed-off-by: ft <ft@noemail>
integrating opensim-git 0cc3cdfb4e7c0a74e60ceaad0528cabe857f65e8:

As per the LL grid, for attachments make llGetObjectDetails() OBJECT_ROT return the avatar's rotation.

Signed-off-by: ft <ft@noemail>
integrating opensim-git 473c559478ab56872f0e9d1bea3971b849df0b15:

As per the LL grid, if an avatar is sitting then return it's velocity relative to the region rather than relative to its seat.

Signed-off-by: ft <ft@noemail>
integrating opensim-git a02dae566ce510e7f43c6324996e70442cba3f46
:

* Fix issue where moving a seated avatar would not adjust their subsequent stand position.

Addresses http://opensimulator.org/mantis/view.php?id=7299

Signed-off-by: ft <ft@noemail>
Revert "integrating opensim-git 473c559478ab56872f0e9d1bea3971b849df0b15:"

This reverts commit b1c6ca4acdbb4084671ad537a5a75b98deb56285.

That patch has side effects on the camera handling. Therefore it is reverted as of now.
added finally that LSL API velocity fix
including refactoring the get accessors for GetWorldPosition and GetWorldRotation into properties WorldPosition and WorldRotation
re-added debug lines for authorization as it helps in diagnosing some problems
integrating opensim-git 2d3072f053f172a1c75c98151a960b951a7a20b1:

  When osNpcMoveToTarget() is called for a sitting avatar then silently do not

    Resolves http://opensimulator.org/mantis/view.php?id=7311
integrating opensim-git 70953dbfcdf70b24fb939252775fa5e2a7ac2316:

    Fix issues where setting llSetTextureAnim(FALSE... did not work properly).
integrating opensim-git a3bd708e772a108169eead039ca4490dd3a52f8b:

 Fix regression from recent a02dae5 where stand positions are no longer correct when a sit target is specified.

 Adjusts stand position using just avatar position relative to the root prim instead.
Fixes http://opensimulator.org/mantis/view.php?id=7315 and  preserves previous fix for  http://opensimulator.org/mantis/view.php?id=7299

Signed-off-by: ft <ft@noemail>
added filter within POST/PUT agent handler
thanks to some weird ideas of some grid admins how they do reservations.

These introduce false seeds beginning with http://agent/
added filter within POST/PUT agent handler
thanks to some weird ideas of some grid admins how they do reservations.

These introduce false seeds beginning with http://agent/
Merge branch 'master' of https://github.com/ft-/arribasim-dev
removed the misplaced line