aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into careminster-presence-refactorMelanie2010-06-301-4/+33
|\
| * Fix scripts in rezzed objects not starting (Mantis #4775)Melanie2010-06-301-0/+5
| |
| * Fix the XML serializationt to provide an empty script state element ifMelanie2010-06-291-4/+28
| | | | | | | | the script hasn't yet saved state, or can't save state because of a loop
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-06-091-0/+19
|\ \ | |/
| * If a script is deleted before it gets compiled, don't even bother to tryMelanie2010-06-091-0/+19
| | | | | | | | compiling it
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-04-191-0/+18
|\ \ | |/
| * All scripts are now created suspended and are only unsuspended when the objectMelanie2010-04-191-0/+18
| | | | | | | | | | | | is fully rezzed and all scripts in it are instantiated. This ensures that link messages will not be lost on rez/region crossing and makes heavily scripted objects reliable.
| * Formatting cleanup.Jeff Ames2010-02-151-1/+1
| |
* | Some merge fixupsMelanie2010-01-261-15/+3
| |
* | Merge branch 'master' into careminsterMelanie2010-01-261-0/+9
|\ \ | |/
| * 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' into careminsterMelanie2010-01-031-1/+1
|\ \ | |/
| * Formatting cleanup. Add copyright headers.Jeff Ames2010-01-041-1/+1
| |
* | Add a debugger tag to stop Visual Studio from breakingCasperW2009-12-231-0/+1
| |
* | Merge branch 'master' into careminsterMelanie2009-12-221-0/+8
|\ \ | |/
| * 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-221-0/+15
| | | | | | | | | | | | | | It was used. By the API, which is dynamically loaded. So it didn't complain until it hit Bamboo This reverts commit 33d5018e94e52cb875bf43bced623bdc6aa41ef0.
* | Merge branch 'master' into careminsterMelanie2009-12-221-16/+0
|\ \ | |/
| * Remove an insterface member that was never usedMelanie2009-12-221-15/+0
| |
* | Merge branch 'master' into careminsterMelanie2009-12-221-70/+93
|\ \ | |/
| * FINALLY! Script compile errors now appear in the script error pane,Melanie2009-12-221-70/+93
| | | | | | | | 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>
* | Add a data path for error messagesroot2009-12-221-0/+5
| |
* | Merge branch 'master' into careminsterMelanie2009-12-211-18/+29
|\ \ | |/
| * 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.
| * Script State Fix: Step 1Melanie2009-12-211-0/+6
| | | | | | | | | | Add Engine=xxx attribute and check for it's presence. Ignore state data written bby another engine
* | Fix to existing ReaderWriterLockSlim implementationsCasperW2009-12-061-2/+8
| |
* | Convert multiple lock()s which directly hinder script performance in ↵CasperW2009-11-301-171/+244
| | | | | | | | linksets to ReaderWriterLockSlim.
* | Merge branch 'master' into careminsterMelanie2009-11-281-1/+1
|\ \ | |/
| * minor: remove mono compiler warningJustin Clark-Casey (justincc)2009-11-271-1/+1
| |
* | Merge branch 'master' into careminsterMelanie2009-11-261-8/+116
|\ \ | |/
| * Fix a small bug. Trusted script crossings now work againMelanie2009-11-261-1/+1
| |
| * Remove the old (Remoting) region crossing code. Fix the new code toMelanie2009-11-261-8/+116
| | | | | | | | | | | | | | | | | | | | pass script state and assembly again properly. Reintroduce respecting tht TrustBinaries flag. Changes the interregion protocol! No version bump because it was broken anyway, so with a version mismatch it will simply stay broken, but not crash. Region corssing still doesn't work because there is still monkey business with both rezzed prims being pushed across a border and attached prims when walking across a border. Teleport is untested by may work.
| * Remove GetAssemblyName and friends from the SE interface. It's now handledMelanie2009-11-261-9/+86
| | | | | | | | internally
* | Remove GetAssemblyName and friends from the SE interface. It's now handledMelanie2009-11-261-9/+86
| | | | | | | | internally
* | Added some [DebuggerNonUserCode] modifiers to functions that throw ↵CasperW2009-11-231-0/+3
|/ | | | EventAbortException() to ease debugging on Visual Studio
* Remove parallel loading from XEngine, but retain the new design whereMelanie2009-11-031-8/+19
| | | | | | all scripts are loaded from the same thread, rather than launching a new one for each script. This is only marginally slower, but avoids the race condition that led to script engine failure.
* More performance improvements to XEngine script loadingJohn Hurliman2009-10-291-42/+25
|
* * Misc. formatting cleanup for the previous patchJohn Hurliman2009-10-291-9/+9
| | | | * Added the new AppDomainLoading variable to the [XEngine] section in the example config
* OptimizationsDan Lake2009-10-291-20/+31
|
* Add support for display of the script compilation errors in the script editor'sMelanie2009-10-171-13/+32
| | | | | | debug pane. This will still use DEBUG_CHANNEL currently, since it is not fully implemented. This also removes the "Compiled successfully" message that pops up in the viewer.
* Apply http://opensimulator.org/mantis/view.php?id=4066Justin Clark-Casey (justincc)2009-10-091-1/+1
| | | | | If XEngine compile fails, show script name in error message in-world as well as the exception itself Thanks Luca Peck
* Formatting cleanup.Jeff Ames2009-10-011-4/+4
|
* Change the return value if the compiler to "object" to allow compilersMelanie2009-08-311-2/+2
| | | | to return dynamic method objects
* Add some extra info to script load messagesMelanie2009-08-141-2/+2
|
* Replace the Replaceable modules nameMelanie2009-08-101-1/+1
|
* Another stab at cmickeyb's patch for script GC.Melanie2009-08-071-7/+7
| | | | | Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
* Revert the XEngine memleak patch, it causes premature GC.Melanie2009-08-071-7/+7
| | | | | This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
* |From: James J Greensky <jame.j.greensky@intel.com>Melanie2009-08-061-7/+7
| | | | | | | | | | | | | | | | | | | |Date: Wed, 5 Aug 2009 09:51:52 -0700 |Subject: [PATCH] Closed two major memory leaks for scripted objects | |Two major memory leaks for the scripted objects were fixed |- One leak had to do with remoting acrossing app domains. When a script and | its controlling agent communicate across an application boundary, it calls | functions on a stub proxy object that then invokes the remote method on | the object in the other app domain. These stub objects (two for each script) | were setup to have infinate lifetimes and were never being garbage collected. |- The second leak was the result of adding a scene object part instance method | to a scene event and never removing it. This cause the event's delegate list | to maintain a link to that object which is then never freed as the scene event | object is never destroyed. Patch applied, please direct feedback to me. Possible issue: Longtime idle scripts like vendors may fail.