aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Apply http://opensimulator.org/mantis/view.php?id=2345Justin Clarke Casey2008-10-071-16/+12
| | | | | | | * Bring llSetLinkTexture into line with llSetLinkColor and lLSetLinkPrimitiveParams() implementations * Thanks ralphos
* * Apply http://opensimulator.org/mantis/view.php?id=1207Justin Clarke Casey2008-10-071-1/+6
| | | | | | | * Implmements llModifyLand() and a check for the "Allow others to terraform flag" * Thanks tglion!
* From: chris yeoh <yeohc@au1.ibm.com>Dr Scofield2008-10-071-16/+13
| | | | | | | | | | | | | | | | | The attached patch fixes mantis bug 2312 (llGetPos() returns incorrect values for child prims where the root prim is rotated). Regression tests still pass. Incidentally AbsolutePosition which was used before looks a little suspicious to me as its always going to return the wrong value if the root prim is rotated. GetWorldPosition does take the rotation into account, but AbsolutePosition is used in a lot of places. Though i don't understand why there is both GetWorldPosition as well as AbsolutePosition so I've left the latter alone. [i also cleaned up some indent problems, --- dr scofield]
* From: chris yeoh <yeohc@au1.ibm.com>Dr Scofield2008-10-071-2/+3
| | | | | | | | | | | | | | | | Attached is a patch for LLGround which was just plain broken and could cause a runtime error. It now returns valid data with valid input (ie the offset does not take the position off the edge of the sim), but a runtime error will occur if invalid data is given. On invalid data the LL servers return the ground height based on a valid point closest to the effective position calculated using the supplied offset. Is the OpenSim convention to replicate the LL servers as closely as possible? If so I can submit an additional patch to replicate the LL behaviour.
* Mantis#2342. Thank you kindly, Ralphos for a patch that solves:Charles Krinke2008-10-061-78/+10
| | | | | | | llSetLinkApha is not fully implemented and has not been updated to use the recently added GetLinkParts and associated implementation pattern as per llSetLinkColor and llSetLinkPrimitiveParams.
* Revert r6697 patch as the build fails.Charles Krinke2008-10-061-6/+1
|
* Mantis#1207. Thank you, TGlion for a patch that addresses:Charles Krinke2008-10-061-1/+6
| | | | | | | | | | Implementation of llModifyLand() and There is a bug on permission-check of land-terraforming: x an y-coordinates are interchanged on function-call ExternalChecksCanTerraformLand. Correct: x is west, and y is north. 2) Missing check of "Other allow to terraform-flag" (Parcel.ParcelFlags.AllowTerraform)
* Update svn properties, minor formatting cleanup.Jeff Ames2008-10-052-8/+8
|
* Guard against negative scale set through LSL functionsMelanie Thielker2008-10-041-0/+3
|
* Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)Melanie Thielker2008-10-032-13/+8
| | | | | | | Causes the dataserver event to return "OpenSim" when running on OpenSim. Requires ThreatLevel to be "High" or above to function.
* Mantis#2307. Thank you kindly, Godfrey for a patch that solves:Charles Krinke2008-10-031-11/+7
| | | | | | | | | | | In Second Life's implementation of llParseString2List(), all spacer strings which occur within the source string are included in the resulting list. In OpenSim's implementation, any spacers occurring at the beginning of the string are discarded; furthermore, if multiple spacers occur between non-spacer elements, or at the end of the source string, only the first spacer is added to the resulting list; the remainder are discarded.
* Mantis #2317Melanie Thielker2008-10-032-3/+14
| | | | | | | | Thank you, fusspawn, for an implementation of osGetSimulatorVersion. This patch removes the llRequestSimulatorData(..., 128) hack and implements the functionality as an osFunction.
* - Added SendScriptTeleportRequest to IClientView and classes implementing it.Homer Horwitz2008-10-011-2/+11
| | | | | | - Implemented llMapDestination.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-301-1/+1
|
* Mantis#2300. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-09-301-8/+9
| | | | | | | | | A number of the deprecated functions had missing parameters causing compile errors. These included: llSound, llMakeExplosion, llMakeFountain, llMakeSmoke, llMakeFire, llPointAt, llXorBase64Strings, llSetPrimURL
* Mantis#2299. Thank you kindly, Idb for a patch that:Charles Krinke2008-09-291-6/+14
| | | | | | | | | | OS/SL script conformance, implement llSoundPreload and llRemoteLoadScript to behave as in SL. In SL llSoundPreload appears to do nothing. In OS llRemoteLoadScript shouts an error when invoked "Deprecated. Please use llRemoteLoadScriptPin instead."
* From: rob smart (smartrob@uk.ibm.com)Dr Scofield2008-09-291-6/+22
| | | | | | minor fixes to osParseJSON.
* Implement the plumbing for llSetVehicleType from the LSLCharles Krinke2008-09-281-1/+7
| | | | | | subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators.
* Added the plumbing for llSetVehicleRotationParamCharles Krinke2008-09-281-1/+14
| | | | | | in the classes between the LSL implementation and the underlying physics engines.
* A little bit further with LLSetVehicleVectorParam.Charles Krinke2008-09-281-1/+8
|
* Plumb the connection though from llSetVehicleVectorParamCharles Krinke2008-09-281-1/+1
| | | | | | | to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
* Remove llSetVehicledoubleParam. It does not exist.Charles Krinke2008-09-281-6/+0
| | | | | It was a mistake a year ago to add it in.
* Plumb the connection through from llSetVehicleFloatParamCharles Krinke2008-09-281-1/+8
| | | | | | | to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
* Mantis#2287. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-09-281-5/+58
| | | | | | | | The current llGetLinkName returns an empty string if a prim with the given link number is not found in the link set. In SL an empty string is only returned if the prim name is actually blank, a NULL_KEY is returned instead with a couple of exceptions.
* Fix listeners in multi-region instancesMelanie Thielker2008-09-261-3/+3
|
* Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage()Melanie Thielker2008-09-261-0/+7
|
* * Patch from JHurlimanTeravus Ovares2008-09-262-21/+27
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* * Apply http://opensimulator.org/mantis/view.php?id=2274Justin Clarke Casey2008-09-261-1/+3
| | | | | | | * Reapply homer's click action implementation, which accidentally got blatted * Thanks tyre
* Bringing the OSSLPrim back. Prim.Rotation, etc, will now work again.Melanie Thielker2008-09-261-1/+0
| | | | | | As a bonus, the OSSLPrim has now come to XEngine, too!
* Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.Melanie Thielker2008-09-263-8312/+8228
| | | | | | | | | The binaries are still different, but that is only a small step away now. The OSSLPrim has been removed. This commit will breal all scripts using Prim.Scale(), etc, syntax. It was not secure and will have to be brought back in another form.
* Mantis#2265. Thank you kindly, Idb for a patch that:Charles Krinke2008-09-261-2/+1
| | | | | Implements the LSL function llGetAttached().
* Implement LSL-function llSetClickAction.Homer Horwitz2008-09-251-1/+3
|
* Implement LSL-function llGetRegionAgentCount.Homer Horwitz2008-09-251-2/+1
|
* Add an extension to allow registering multiple interfaces of a type withMelanie Thielker2008-09-251-1/+1
| | | | | | | | | | Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
* Mantis#2017. Thank you kindly, Tyre, for a patch that solves:Charles Krinke2008-09-251-1/+1
| | | | | | | | | | Check the client dialog box (from top menu) WORLD / REGION ESTATE / REGION tab. The client dialog box seems to have a hard limit of about 32 characters per line available for displaying the region version number. Our regions are sending a string which is greater than the limit, causing the client to wrap the text and look ugly.
* CONVERGENCE!!!!!!Melanie Thielker2008-09-252-8221/+8300
| | | | | | | | The entire LSL API is now in the single, shared file OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs This is for both engines. The OSSL function are still separate.
* Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker2008-09-256-86/+74
| | | | | | | | and makes it use a common set of types in both engine. Fixes the issues with running both engines and HTTP requests / listens / timers etc.. Also fixes a couple of minor Scene issues and a CTB by nullref.
* Mantis#2123. Thank you kindly, Idb for a patch that solves:Charles Krinke2008-09-251-2/+20
| | | | | | | | | Under both DotNetEngine and XEngine, if an agent's UUID is passed as the parameter to llGetObjectMass(), it throws an exception.
* Rename lots of stuff in DNE to reduce source code differences in theMelanie Thielker2008-09-242-13/+13
| | | | | | | LSL implementation files. Rename lots of stuff in XEngine for the same reason. Move methods between interfaces. Just refactor stuff.
* Decouple AsyncCommands from XEngine and the script instance. MakeMelanie Thielker2008-09-244-81/+104
| | | | | | | | all methods needed outside the API ststic. Async command processing is now wholly internal to the API. This sets the stage for the next convergence step.
* Mantis #2243Melanie Thielker2008-09-231-484/+551
| | | | | | | | Thank you, tyre, for a patch that refactors LSL to use a unified set of method signatures and type names, reorders methods and removes unused and adds new method stubs.
* * Apply http://opensimulator.org/mantis/view.php?id=2234Justin Clarke Casey2008-09-221-1/+12
| | | | | | | * Exceptions can thrown by llGetOwnerKey() * Thanks idb
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-212-12/+12
|
* - Consistency fix: Like llGetNumberOfNotecardLines, llGetNotecardLine ↵Homer Horwitz2008-09-201-1/+13
| | | | | | | | | | returns NULL_KEY on error now - Conformance fix: If the notecard can't be found, shout on DEBUG_CHANNEL as the docs state - Bug fix: Don't let llGetNotecardLine throw an exception on freshly created notecards
* XEngine: Fix llGetListEntryType to return the correct type for the LSL types.Melanie Thielker2008-09-201-5/+5
| | | | | | Change serialization to omit types it can't deal with.
* Guard LLRezObject against NaNMelanie Thielker2008-09-191-2/+4
|
* Mantis #2217Melanie Thielker2008-09-191-1/+9
| | | | | | | Guard against NaN being returned from llRotBetween. Return a zero rotation if the result is NaN.
* Fix llParcelMedia queries. Correct types and add a missing ToString() (XEngine)Melanie Thielker2008-09-181-3/+3
|
* Remove redundant permissions check in OSSL_Api.csMelanie Thielker2008-09-181-6/+0
|
* From: Robert Smart (SMARTROB@uk.ibm.com)Dr Scofield2008-09-182-6/+193
| | | | | | | | Patch for new scripting method osParseJSON. also, a couple of warning bugs killed.