aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the XML serializationt to provide an empty script state element ifMelanie2010-07-201-4/+28
| | | | the script hasn't yet saved state, or can't save state because of a loop
* Bug in 0.6.9 sometimes restoring script state causes region console to crash ↵unknown2010-07-171-39/+84
| | | | due to unhandled file lock exception. Attempt to resolve by wrapping several instances of file create / read logic in using statements and added some error handling for locked file exceptions. If it is IDisposable, it must be disposed! The close statements are unnecessary but harmless so I have left those in. The end of the using block will close and dispose automagically.
* llVecNorm() now returns a zero-length vector when one is supplied as input. ↵dahlia2010-07-081-7/+2
| | | | Addresses Mantis #4752
* fix a potential division by zerodahlia2010-07-081-6/+11
|
* Fix scripts in rezzed objects not starting (Mantis #4775)Melanie2010-06-301-0/+5
|
* If a script is deleted before it gets compiled, don't even bother to tryMelanie2010-06-091-0/+19
| | | | compiling it
* Revert "Next OSG test. Don't remove app domains if they contain running ↵Melanie2010-06-021-6/+4
| | | | | | | | threads." This reverts commit f831a1778baa766b4810e352f3ae2ab6736e4620. With this, post-fixes is back to normal.
* Next OSG test. Don't remove app domains if they contain running threads.Melanie2010-06-021-4/+6
|
* Next OSG test. Cowardly refuse to save the state of badly behaved scripts, ↵Melanie2010-06-021-2/+5
| | | | instead of forcing the issue.
* Revert "After aborting a thread, wait for it to actually finish. ↵Melanie2010-06-021-1/+0
| | | | | | EXPERIMENTAL for OSG" This reverts commit 241ed5734ee3c5b1417484dfa22af6cf6ae60b82.
* After aborting a thread, wait for it to actually finish. EXPERIMENTAL for OSGMelanie2010-06-021-0/+1
| | | | testing. DO NOT UPDATE TO THIS UNLESS YOU KNOW WHAT YOU'RE DOING!
* Comment and remove JScript support. Mono 2.7Dev and 2.8 no longer include theMelanie2010-06-011-19/+19
| | | | needed libraries
* move linden notecard parsing from LSL_Api.cs to SLUtil so that region ↵Justin Clark-Casey (justincc)2010-05-201-81/+2
| | | | | | modules can use it backport from master
* Small consistency changeMelanie2010-03-071-1/+1
|
* - implementing server 1.38 functionsunknown2010-03-064-10/+114
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Remove a superfluous array creationMelanie2010-03-041-1/+0
|
* Formatting cleanup.Jeff Ames2010-02-152-33/+33
|
* Revolution is on the roll again! :)Revolution2010-02-142-55/+210
| | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
* Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)2010-02-122-17/+17
| | | | | | These patch should allow people using systems that do not have their locale set to En_US or similar to use OpenSim without suffering effects such as being a million miles up in the air on login. The problem was caused by parsing strings without forcing that parse to be En_US (hence different decimal and digit group symbols were causing problems). Thanks very much to VikingErik for doing the legwork on this fix and phacelia for spotting it in the first place.
* minor: rename GetScriptPrimType() to GetPrimType()Justin Clark-Casey (justincc)2010-02-011-2/+2
|
* move hollow sphere faces bug back up to LSL_Api.csJustin Clark-Casey (justincc)2010-02-011-36/+51
|
* remove now duplicated shape code from LSL_Api.csJustin Clark-Casey (justincc)2010-02-011-190/+45
|
* Copy prim face color setting code from LSL_Api down into SOP so that non-LSL ↵Justin Clark-Casey (justincc)2010-02-011-1/+0
| | | | callers can use it
* Apply http://opensimulator.org/mantis/view.php?id=3334Justin Clark-Casey (justincc)2010-01-291-1/+6
| | | | | | Send continuous touch() events if the left mouse button is held down while moving over an object This conforms with Linden Lab practice Thanks Revolution
* Fix a problem where llDie() calls were sometimes leaving dead objects behind.Justin Clark-Casey (justincc)2010-01-251-6/+3
| | | | | | | | | | When an object was deleted, the remove script instance call was aggregating the scripting events as normal. This would queue a full update of the prim before the viewer was notifed of the deletion of that prim (QuitPacket) On some occasions, the QuitPacket would be sent before the full update was dequeued and sent. In principle, you would think that a viewer would ignore updates for deleted prims. But it appears that in the Linden viewer (1.23.5), a prim update that arrives after the prim was deleted instead makes the deleted prim persist in the viewer. Such prims have no properties and cannot be removed from the viewer except by a relog. This change stops the prim event aggregation call if it's being deleted anyway, hence removing the spurious viewer-confusing update.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJohn Hurliman2010-01-124-25/+72
|\
| * minor: formattingJustin Clark-Casey (justincc)2010-01-111-1/+5
| |
| * Whitespace cleanupMelanie2010-01-113-14/+14
| |
| * Adds llRotTarget and the events at_rot_target and not_at_rot_target.Revolution2010-01-113-16/+22
| | | | | | | | Signed-off-by: Melanie <melanie@t-data.com>
| * Adds land collision events.Revolution2010-01-101-17/+54
| | | | | | | | | | | | CRs cleaned from patch Signed-off-by: Melanie <melanie@t-data.com>
* | Bug in llGetNumberOfPrims always returns to script when no clients are ↵Dan Lake2010-01-121-14/+3
|/ | | | connected to the simulator.
* Cause llSetText to send prim updates.Melanie2010-01-031-0/+1
|
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-046-113/+113
|
* Add virtual method StateChange to ScriptBaseClassMelanie2010-01-021-0/+4
|
* Readds llCollisionFilter and adds llPassCollision.Revolution2009-12-311-2/+17
| | | | | | Applied with whitespace cleanup Signed-off-by: Melanie <melanie@t-data.com>
* This patch caused serialization errors and needs to be reexaminedMelanie2009-12-311-44/+4
| | | | | | Revert "[PATCH] Adds llCollisionFilter" This reverts commit eab2b4c6a96cd5b2a0f079f27a9c2ac15273d3f0.
* [PATCH] Adds llCollisionFilterMelanie2009-12-311-4/+44
| | | | Thank you, Revolution. Applied with minor changes.
* Adds osKickUser and osSetSpeedunknown2009-12-313-0/+97
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Fix an omission in LSL that causes a viewer crashMelanie2009-12-301-0/+5
|
* Clear Shape.SculptEntry if prim type is not a sculptie in ↵dahlia2009-12-241-0/+4
| | | | llSetPrimitiveParams() - addresses Mantis #4462
* Add the LSL List Size propertyMelanie2009-12-241-1/+40
|
* Remove GetState. It is really unused and was reinstated by the revertMelanie2009-12-221-7/+0
|
* Revert "Remove an insterface member that was never used"Melanie2009-12-222-0/+16
| | | | | | | It was used. By the API, which is dynamically loaded. So it didn't complain until it hit Bamboo This reverts commit 33d5018e94e52cb875bf43bced623bdc6aa41ef0.
* Remove an insterface member that was never usedMelanie2009-12-222-16/+0
|
* FINALLY! Script compile errors now appear in the script error pane,Melanie2009-12-225-75/+98
| | | | not in a funky debug window.
* Add a data path for error messagesroot2009-12-221-0/+5
| | | | | | Committed from my other box where git is not configured properly Signed-off-by: Melanie <melanie@t-data.com>
* Glue code for a couple of new LSL function implementationsMelanie2009-12-221-2/+4
|
* Fixes some incorrect values returned by llGetPrimitiveParams() and ↵Jeff Lee2009-12-211-7/+20
| | | | | | osGetLinkPrimitiveParams(). Signed-off-by: Melanie <melanie@t-data.com>
* Script State Fix: Part 2Melanie2009-12-211-16/+20
| | | | | | Change the reader to wrap old-style definitions in new style wrappers. Change importer to not check irrelevant data that can't be reconstructed This removes the last bit of knowledge of XEngine's .state files from core.
* Remove extra checking on the itemID of saved state, since it changes duringMelanie2009-12-211-4/+5
| | | | rez from inventory.