aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* system ints can end up in LSL lists, which can cause counter-intuitive ↵SignpostMarv2012-10-261-0/+2
| | | | unknown list element type errors in ConvertFromLSL (via modInvoke)
* Get osNpcCreate() and osNpcLoadAppearance() to generate a script error if ↵Justin Clark-Casey (justincc)2012-10-252-11/+30
| | | | appearance notecard does not exist, rather than returning UUID.Zero or silently failing.
* When scripts generate expected exceptions (e.g. due to checked bad ↵Justin Clark-Casey (justincc)2012-10-254-8/+48
| | | | | | | parameter) throw ScriptException instead of just a plain old exception. This is to make it easier to distinguish these exceptions from unexpected OpenSimulator problems internally and in regression tests. No functional changes.
* Make osNpcCreate() return UUID.Zero instead of throwing an exception if ↵Justin Clark-Casey (justincc)2012-10-253-12/+74
| | | | notecard name is invalid. Make osNpcLoadAppearance() fail silently in same circumstance rather than throwing exception.
* Add TestOsNpcLoadAppearance()Justin Clark-Casey (justincc)2012-10-252-4/+45
|
* Move npc creation tests involving appearance from OSSL_ApiAppearanceTest to ↵Justin Clark-Casey (justincc)2012-10-252-70/+69
| | | | | | OSSL_ApiNpcTests This is a more intuitive location.
* Add CLICK_ACTION_ZOOMBlueWall2012-10-201-0/+1
| | | | Add support for V2/3 CLICK_ACTION_ZOOM to llSetClickAction
* altering documentation for llGetLinkName, as the current documentation is ↵SignpostMarv2012-10-191-1/+11
| | | | rather lengthy for a "summary".
* since llGetLinkName has a "simplest case", it should be the first check made.SignpostMarv2012-10-191-4/+4
|
* the simplest case for llGetLinkName also applies to the LINK_THIS constantSignpostMarv2012-10-191-1/+1
|
* ensuring that operand order in llGetLinkName is internally consistentSignpostMarv2012-10-191-1/+1
|
* Add missing category paremeter to llGiveInventoryList grid IM construction.Justin Clark-Casey (justincc)2012-10-161-1/+1
| | | | | This was a regression from 16c9c1df Sat Oct 6 02:34:49 2012 +0100. Should resolve http://opensimulator.org/mantis/view.php?id=6360
* Improve on TBG Renfold's fix to llRequestSimulatorData DATA_SIM_POS by only ↵Justin Clark-Casey (justincc)2012-10-131-19/+25
| | | | | | performing HG regionflags service check if the region secret is not empty. An empty RegionSecret is never HG, whilst a non-empty one may be HG or being genuinely used as a RegionSecret.
* Now using region flags for llRequestSimulatorData DATA_SIM_POS.TBG Renfold2012-10-131-8/+17
| | | | | | If the region is not classed a hypergrid region, then the region secret is checked to make sure that it is a valid UUID. Just a temporary fix at this time.
* Correct osSetContentType() threat check to query osSetContentType rather ↵Justin Clark-Casey (justincc)2012-10-101-1/+3
| | | | than osSetResponseType
* Remove osDropAttachment threat level check wrongly placed in ↵Justin Clark-Casey (justincc)2012-10-101-1/+0
| | | | OSSL_Api.ShoutErrorOnLackingOwnerPerms.
* On receiving TaskInventoryAccepted with a destination folder in the binary ↵Justin Clark-Casey (justincc)2012-10-061-9/+10
| | | | | | | | | | | bucket slot for RLV, notify the viewer about inventory folder updates. The viewer would not see the folder move without this, either on accept or decline. This commit also updates the TaskInventoryOffered message to better conform with the data LL uses Changes are, agentID is prim owner rather than prim id, agent name is now simply object name rather than name with owner detail, message is just folder name in single quotes, message is not timestamped. However, folder is not renamed "still #RLV/~<name>". Long term solution is probably not to do these operations server-side. Notes will be added to http://opensimulator.org/mantis/view.php?id=6311
* Fix a viewer crash issueMelanie2012-10-031-1/+12
| | | | | | Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
* correcting typoSignpostMarv2012-10-021-3/+3
|
* taking into account the recent introduction of implicit operatorsSignpostMarv2012-10-021-3/+1
|
* added perms checking, duplicated functionality to methods that do not ↵SignpostMarv2012-10-023-6/+86
| | | | require perms and have higher threat level
* fixing copypastaSignpostMarv2012-10-021-1/+1
|
* implementing osDropAttachment & osDropAttachmentAtSignpostMarv2012-10-023-2/+53
|
* Fix llListFindList() returning no match when there is a match with a script ↵Justin Clark-Casey (justincc)2012-09-222-8/+150
| | | | | | | | constant component in the source list. Adds regression test for this case. Based on http://opensimulator.org/mantis/view.php?id=6156 Thanks SignpostMarv.
* passing in the function name to MOD_Api.ConvertFromLSL for more ↵SignpostMarv2012-09-101-4/+4
| | | | user-friendly error messages
* refactoring to allow Scene.GetLandData to accept Vector3 as an argument. ↵SignpostMarv2012-09-082-10/+10
| | | | Note that the prior work on LSL_Vector implicit operators means one does not need to explicitly cast a LSL_Vector to Vector3
* 4096 is used in various places as the maximum height of a region, ↵SignpostMarv2012-09-081-1/+1
| | | | refactoring to be a constant
* Enables cast from int to float for MOD* functions;Mic Bowman2012-09-051-1/+1
| | | | Thanks SignpostMarv!
* wrapping attachment functions in a regionSignpostMarv2012-09-043-2/+4
|
* Implementing functing to send messages directly to attachmentsSignpostMarv2012-09-044-0/+201
|
* refactoring the grunt work of MessageObject into a private method with a ↵SignpostMarv2012-09-041-0/+5
| | | | UUID argument
* implementing a function to get the number of attachments wornSignpostMarv2012-09-043-0/+55
|
* Revert "made setting rotation match Second Life"Melanie2012-09-031-1/+32
| | | | | | | | | Second Life seems to have introduced a bug, as we have confirmation that SL behavior changed recently and changed in contradiction to their stated intention This appears to be another of the bugs SL is notorious for. Signpost and I have decided to back this out until SL's intention becomes clear. This reverts commit f7b88d1c40ba06c62491d8d32809fe6c1c4d360d.
* Revert "no need to assign rotation to a variable now"Melanie2012-09-031-1/+2
| | | | This reverts commit a3d140b57c5e2ae0f3334d59b82e116d40199b49.
* Revert "formatting"Melanie2012-09-031-2/+2
| | | | This reverts commit fb211c64fd9d335f4879549023870b1e28416f74.
* formattingSignpostMarv2012-09-031-2/+2
|
* no need to assign rotation to a variable nowSignpostMarv2012-09-031-2/+1
|
* made setting rotation match Second LifeSignpostMarv2012-09-031-32/+1
|
* Implementing a vastly simpler means of allowing region modules to access ↵SignpostMarv2012-08-311-1/+1
| | | | GetLinkParts than mantis 6236
* fixing bug where last element in list is ignoredSignpostMarv2012-08-301-1/+1
|
* refactoring as the list funcs either skip invalid values or recall ToDoubleListSignpostMarv2012-08-301-12/+11
|
* This partially implements the LSL function to set the responseMic Bowman2012-08-293-1/+28
| | | | | | | | type for an HTTP request. Since the "official" LSL function limits the use of the response type, it is implemented as osSetContentType with a string for the content mime type and a threat level of high. With this function you should be able to implement rather functional media-on-a-prim application with much less difficulty.
* implementing rule trackingSignpostMarv2012-08-291-6/+9
|
* track originating IScriptApi method for SL-like error messages. Will add ↵SignpostMarv2012-08-293-13/+17
| | | | rule number tracking in next commit.
* copying documentation from http://opensimulator.org/wiki/Threat_levelSignpostMarv2012-08-281-0/+59
|
* implementing PRIM_LINK_TARGET on GetPrimParams ala SetPrimParamsSignpostMarv2012-08-252-11/+60
|
* minor formattingSignpostMarv2012-08-251-2/+2
|
* refactoring to local variable for cleaner codeSignpostMarv2012-08-251-2/+5
|
* since we will be making the Get return type the remaining ruleset as with ↵SignpostMarv2012-08-252-18/+22
| | | | the Set return type, we need to move the original return type to a ref param
* use SceneObjectPart instead of varSignpostMarv2012-08-251-3/+3
|