aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix Mantis #2215: llGetNotecardLine() not detecting EOF under DNEHomer Horwitz2008-09-201-9/+23
|
* * Duh, forgot I had undone some of the changes I meant to include in the ↵Justin Clarke Casey2008-09-192-14/+7
| | | | previous commit
* * Remove one possible deadlock situation as seen todayJustin Clarke Casey2008-09-191-1/+7
| | | | | | | | * On script rez, XEngine was taking an m_scripts lock and then later on an m_parts lock when looking for a part by local id * In the meantime, a scene object being deleted would take an m_parts lock and then later on try to take an m_scripts lock when it tried to trigger script removal * There may be better ways to resolve this, but I believe that in general, we must always take an m_parts lock before an m_scripts lock
* Guard LLRezObject against NaNMelanie Thielker2008-09-192-2/+6
|
* Mantis #2217Melanie Thielker2008-09-192-2/+18
| | | | | | | Guard against NaN being returned from llRotBetween. Return a zero rotation if the result is NaN.
* Fix issue introduces by a fix in 6256. Fixes mantis #2214Melanie Thielker2008-09-191-4/+6
|
* Fix llParcelMedia queries. Correct types and add a missing ToString() (XEngine)Melanie Thielker2008-09-181-3/+3
|
* * Apply http://opensimulator.org/mantis/view.php?id=2212Justin Clarke Casey2008-09-183-16/+23
| | | | | | | * Update llGetNumberOfNotecardLines() and llGetNotecardLine() to use dataserver on dotnetengine * Thanks M.Igarashi
* XEngine: fix collisions, add event coalescing for collision events.Melanie Thielker2008-09-182-119/+150
| | | | | | | Fix a nasty concurrency issue that could cause a high event frequency to start more than one thread pool job for a single script.
* Remove redundant permissions check in OSSL_Api.csMelanie Thielker2008-09-181-6/+0
|
* Fix list reset behavior, and thereby squash one warningMelanie Thielker2008-09-181-1/+1
|
* From: Robert Smart (SMARTROB@uk.ibm.com)Dr Scofield2008-09-185-8/+202
| | | | | | | | Patch for new scripting method osParseJSON. also, a couple of warning bugs killed.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-181-3/+3
|
* Kan-Ed fix series.Melanie Thielker2008-09-181-2/+3
| | | | | | | | Correct a condition where a prim is linked before it has been persisted for the first time and is then persisted through it's former SOG with a bad offset position.
* Another pointless multiplication/division removedMelanie Thielker2008-09-181-2/+2
|
* XEngine API refactor. Fully implement ALL_SIDES with sanity checks.Melanie Thielker2008-09-181-88/+136
| | | | | | | Correct color handling functions to no longer return the inverse color. Remove pointless * 256 / 256 legacy constructs.
* Kan-Ed fix series.Melanie Thielker2008-09-181-31/+64
| | | | | | | | XEngine: Change a number of methods to use the new link part method. Fix ALL_SIDES for llSetColor, llSetTexture, llSetAlpha, llSetPrimitiveParams, llGetPrimitiveParams(PRIM_TEXTURE, PRIM_COLOR).
* Kan-Ed fix series.Melanie Thielker2008-09-181-91/+58
| | | | | | | XEngine: Introduce a common method to determine link parts to work on. Fix llSetLinkColor method.
* Kan-Ed fix series. Fix up llRezAtRoot and llRezObject, fix llCreateLinkMelanie Thielker2008-09-171-10/+5
| | | | | | to send a full update and do a persistence save.
* Kan-Ed fix series. Fix llTakeControls to behave as documented.Melanie Thielker2008-09-174-3/+67
| | | | | | | | | XEngine fixes: prevent queue overruns, prevent spamming when no key is down. Release controls when conflicting permissions are requested or permissions are refused later. Release when prim or script are deleted. Fixes Scene script instance deletion semantics.
* * Apply http://opensimulator.org/mantis/view.php?id=2207Justin Clarke Casey2008-09-172-2/+48
| | | | | | | * Attached patch implements llRequestAgentData for DotNetEngine. (It already is implemented in XEngine.) * Thanks Y. Nitta
* * Apply http://opensimulator.org/mantis/view.php?id=2206Justin Clarke Casey2008-09-172-9/+30
| | | | | | | * Fix/implement LSL group-related functions llDetectedGroup, llSameGroup * Thanks nlin
* Update svn properties, minor formatting cleanup.Jeff Ames2008-09-162-4/+4
|
* * Apply http://opensimulator.org/mantis/view.php?id=2205 with a few small tweaksJustin Clarke Casey2008-09-162-4/+4
| | | | | | | * LSL Conformance: llSetPayPrice should accept more than four arguments in list * Thanks kcozens!
* * Apply http://opensimulator.org/mantis/view.php?id=2204 (with a small tweak)Justin Clarke Casey2008-09-162-4/+24
| | | | | | | * Attached patch implements LSL llGetAgentSize() for DotNetEngine and XEngine. * Thanks Y. Nitta!
* * Apply http://opensimulator.org/mantis/view.php?id=2203Justin Clarke Casey2008-09-162-4/+135
| | | | | | | * Implementation of LSL llBreakLink and llBreakAllLinks * Thanks Y. Nitta!
* * Apply http://opensimulator.org/mantis/view.php?id=2202Justin Clarke Casey2008-09-162-4/+4
| | | | | | | * llGround causes Array out of bounds exception in KanEd#11 script * Thanks Y. Nitta!
* * minor: oops, remove a warning I just inserted myself - naughty boyJustin Clarke Casey2008-09-161-1/+1
|
* * Change XEngine default configuration values to match those in ↵Justin Clarke Casey2008-09-161-3/+3
| | | | | | | | OpenSim.example.ini * Particularly important for max threads since setting this to 2 was causing all events to wait behind the regularly sleeping maintenance event
* * minor: method documentationJustin Clarke Casey2008-09-168-44/+95
|
* Mantis #1843Melanie Thielker2008-09-161-2/+14
| | | | | | | Applying DotNetEnine part of this patch. Thank you, nlin! Corrects ad hoc key list comparison.
* Minor formatting cleanup.Jeff Ames2008-09-161-1/+1
|
* Finish up OSSL enable/disable options in XEngine.Melanie Thielker2008-09-151-8/+45
| | | | | | | Now each function can be allowed, subject to threat level, disabled, or restricted to certain UUIDs.
* Refactor the os functions allowed check into the threat check methodMelanie Thielker2008-09-151-184/+5
|
* * minor: recomment the console c# script printout I accidentally left in on ↵Justin Clarke Casey2008-09-151-1/+1
| | | | the last ocmmit
* * minor: eat up some yummy warningsJustin Clarke Casey2008-09-151-1/+2
|
* Add the option to use Allow_osFunction = false for each OS functionMelanie Thielker2008-09-151-0/+11
| | | | | | in the XEngine section
* Add more granularity and a risk asessment system to the OSSL API in XEngine.Melanie Thielker2008-09-151-60/+254
| | | | | | | Adds the fix from Mantis #2197 in it's new form. Stage one of the scripting security changes, more to come.
* Mantis#2197. Thank you kindly, Tyre, for a patch that:Charles Krinke2008-09-158-4/+114
| | | | | adds the new function osTeleportAgent().
* Added some further clipping to color- and alpha-values.Homer Horwitz2008-09-142-98/+102
|
* Mantis #2186Melanie Thielker2008-09-141-12/+12
| | | | | | Prevent illegal color values from being set.
* Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:Charles Krinke2008-09-142-0/+26
| | | | | | | | | | | | | after using llTakeControls my sim receives about 200 messages per second, l of which get queued , this could be because there is no lag as the viewer and sim are on the same computer. The patch I have included checks to see if the "Changed" param is 0 then searches the EventQueue for Control messages being sent to the same localid, if it finds a message already in the Queue and Changed==0 then the new message is only notifing you the key is being held, since there is already a message the new one isnt needed so it isnt added to the queue.
* Fixed several cases of inverted colors and alpha in DNE and XEngine.Homer Horwitz2008-09-132-70/+70
| | | | | | Added clamping to 0.0 - 1.0 for R, G, B, and A.
* Formatting cleanup.Jeff Ames2008-09-131-115/+115
|
* Fixing a bug in DNE which caused the face-colors to be inverted when set via ↵Homer Horwitz2008-09-131-9/+9
| | | | script.
* Update svn properties. Minor formatting cleanup. Fix some minor typos. ↵Jeff Ames2008-09-131-18/+2
| | | | Remove some old dead code.
* Mantis #2018Melanie Thielker2008-09-132-6/+0
| | | | | | | Read animation data from avataranimations.xml to allow default animations to be started and stopped by name from scripts.
* Mantis #2182Melanie Thielker2008-09-131-1/+1
| | | | | | Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
* Fix some string to float casting nastiness. The "train script" nowMelanie Thielker2008-09-132-3/+14
| | | | | | | | | works. Also makes llGetFreeMemory return the constant 16384. LLGetFreeMemory is useless in SL, as it never goes up, only down. So, the only thing it is used for, in practice, is to detect an imminent stack/heap collision, a danger we don't have.
* Provide a GetApi method on the IScriptEngine to get a named API referenceMelanie Thielker2008-09-134-0/+18
| | | | | | | This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs