aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-23Added some null reference and deleted group checks to certain functions to ↵CasperW1-29/+85
fix region crash scenarios.
2009-12-22FINALLY! Script compile errors now appear in the script error pane,Melanie4-5/+5
not in a funky debug window.
2009-12-22Glue code for a couple of new LSL function implementationsMelanie1-2/+4
2009-12-21Fixes some incorrect values returned by llGetPrimitiveParams() and ↵Jeff Lee1-7/+20
osGetLinkPrimitiveParams(). Signed-off-by: Melanie <melanie@t-data.com>
2009-12-17Add cmSetWindlightSceneTargeted. Add restrictions on windlight script use.CasperW3-180/+229
2009-12-15random drive-by minor math optimization. No need for concern, bitshed was ↵dahlia1-2/+2
within acceptable limits
2009-12-15Prevent OSSL from crashing if the sim was loaded from a remote config andMelanie1-3/+3
osGetGridName, osGetGridNick or osGetGridLoginURI is used.
2009-12-13* Mistaken ThreatLevel classification on osGetSimulatorMemory - should have ↵Adam Frisby1-1/+1
been MODERATE.
2009-12-13* Implements OSSL function: osGetSimulatorMemory - returns the current ↵Adam Frisby3-0/+25
amount of memory allocated to the simulator process (Moderate Threat Level). * Cleans redundant information out of the Simulator Version. Versions now look like: "OpenSimulator 0.6.9(dev) Unix/Mono" * [Minor] additional log info for MySQLInventoryData
2009-12-09Move osFunctions into a new Careminster script interfaceCasperW8-387/+597
2009-12-09Enable scripting interface for windlightunknown4-1/+387
2009-12-06Eliminate multiple updates on link/unlinkMelanie1-0/+8
2009-12-06Eliminate multiple updates on link/unlinkMelanie1-0/+8
2009-11-30Convert multiple lock()s which directly hinder script performance in ↵CasperW1-1/+10
linksets to ReaderWriterLockSlim.
2009-11-28Add some conditionals to references to the WorldComm module, so that theMelanie2-8/+18
module can be disabled without crashing the sim
2009-11-27Make locking of timers and listeners in script related functions consistentJustin Clark-Casey (justincc)1-1/+4
See http://opensimulator.org/mantis/view.php?id=4316 Thanks KittyLiu!
2009-11-27Make llDie virtual, since it's functionality is engine specificMelanie1-1/+1
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee1-1/+8
2009-11-26Added osGetRegionStats() function, to return a number of sim statisticsJeff Lee5-0/+45
2009-11-26Remove the old (Remoting) region crossing code. Fix the new code toMelanie1-5/+0
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.
2009-11-26* Re-enable the AbsolutePosition = AbsolutePosition in the LSL_Api in the ↵Teravus Ovares (Dan Olivares)1-0/+12
SetRot method if the object is not active physical. This is important for scripted rotating doors. without AbsolutePosition = AbsolutePosition, the door won't rotate. It's also important that we do not use AbsolutePosition = AbsolutePosition if the object is active physical because that would cause a complete rebuild of the object which would break vehicles. This is the best of both worlds right now. Doors as child prim should work again so long as you don't check the Physical box. * Thanks talentraspel * Thanks NixNerd * Thanks KittoFlora * Thanks lockd
2009-11-25Add the dummy "Size" property to the list typeMelanie1-0/+5
2009-11-25Change osTeleportAgent parameters from long to int. That numerical range isMelanie3-5/+5
not even supported by the underlying type, so there is no need to ask for a type the script can not even supply.
2009-11-25Change osTeleportAgent parameters from long to int. That numerical range isMelanie3-5/+5
not even supported by the underlying type, so there is no need to ask for a type the script can not even supply.
2009-11-24Drop all locking of part.TaskInventory in favour of a ReaderWriterLockSlim ↵CasperW3-256/+334
lock handler. This gives us: - Faster prim inventory actions. Multiple threads can read at once. - Fixes the known prim inventory thread locks - In the event of a thread lock occurring, it will usually self heal after sixty seconds with an error message in the console
2009-11-23Swap the locking of m_EventQueue and m_Script to ease locks on script ↵CasperW1-115/+119
inventory operations
2009-11-23Added some [DebuggerNonUserCode] modifiers to functions that throw ↵CasperW4-1/+12
EventAbortException() to ease debugging on Visual Studio
2009-11-23Formatting cleanup.Jeff Ames2-15/+15
2009-11-20Fix http://opensimulator.org/mantis/view.php?id=3874 - parenthesis in for ↵Justin Clark-Casey (justincc)1-1/+19
statements cause script compile failures This fixes a problem in OpenSim where statements of the form for ((i = 0); (i < 10); (++i)) { ... } do not compile even though they are valid lsl.
2009-11-17refactor: move AnimationSetJustin Clark-Casey (justincc)1-1/+2
2009-11-17refactor: move most animation methods from ScenePresence into a new ↵Justin Clark-Casey (justincc)2-14/+18
ScenePresenceAnimator class
2009-11-12Apply patch http://opensimulator.org/mantis/view.php?id=4369Justin Clark-Casey (justincc)3-32/+81
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-10Add IScriptModuleComms interface and region module to handle dispatch ofMelanie1-3/+16
script messages to region modules and sending back replies. Hook IScriptModuleComms.OnScriptCommand to see commands and use DispatchReply to reply to the script. It is recommended to pass the "id" parameter from the event as the "k" parameter of the reply. The script will receive the reply as a link message from link -1.
2009-11-10Add modSendCommand function (note, this is a new API module, using the APIMelanie4-0/+234
extension mechanism, it's not a osFunction!
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-5/+2
unknown asset type, and log an error if it ever does happen
2009-11-04Removing EntityBase.RotationJohn Hurliman1-1/+8
2009-11-02Removing duplicate SceneObjectPart.RotationalVelocity propertyJohn Hurliman1-2/+1
2009-10-31Patch + minor formatting fixes.Diva Canto1-1/+1
2009-10-31http://opensimulator.org/mantis/view.php?id=4337Douglas R. Miles1-1/+1
2009-10-29More performance improvements to XEngine script loadingJohn Hurliman1-12/+12
2009-10-29* Misc. formatting cleanup for the previous patchJohn Hurliman2-28/+31
* Added the new AppDomainLoading variable to the [XEngine] section in the example config
2009-10-29OptimizationsDan Lake3-95/+91
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman1-4/+4
2009-10-26Add llRotLookat pt1.KittoFlora1-7/+11
2009-10-23Inconsistent locking of SenseRepeaters in Script Engine.unknown1-8/+11
When I attempt to 'save oar' on a region with thousands of scripts with timers, I get a NullReferenceException every time. The problem comes from inconsistent locking in SensorRepeat.cs of the SenseRepeaters List. It is iterated and modified in many places and these places are all wrapped in a lock except in the GetSerializationData(). This is the function throwing the exception because an item in the list becomes null during iteration. The attached patch locks SenseRepeatListLock in GetSerializationData()
2009-10-23Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman2-9/+12
avoiding locking and copying the list each time it is accessed
2009-10-22Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman1-5/+3
use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
2009-10-22Fixing the patch to the patchSnowcrash1-3/+6
2009-10-22Fix rounding error in PRIM_SIZE portion of llSetPrimitiveParamsSnowcrash1-3/+4
2009-10-22Make the LSL scripting delays take full effect. To tune, tweat theMelanie1-56/+49
ScriptDelayFactor in config