aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * Consistently lock part.TaskInventory as pointed out in ↵Justin Clarke Casey2009-02-202-174/+371
| | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=3159 * Not locking causes enumeration exceptions as described in this matis * part.TaskInventory needs to be locked for every access as it's a dictionary * Extra locking will hopefully not cause any major issues - in places where the enumeration of the dictionary performs other lock or long running operations, the dictionary is cloned instead
* Thanks DoranZemlja for a patch implementing non-shortcircuiting inMike Mazur2009-02-202-12/+31
| | | | | logical and and logical or in LSL. Fixes Mantis #3174.
* Force plugin state update when region crossingMelanie Thielker2009-02-191-0/+4
|
* Try this, then :) remove just one line from script serialization, Melanie Thielker2009-02-191-1/+0
| | | | | | hunting the bug
* Refix the fix, adding a forgotten lineMelanie Thielker2009-02-191-0/+1
|
* Attempt to fix a Windows only race in thread terminationMelanie Thielker2009-02-191-1/+8
|
* Fix the windows sharing violations on script crossingsMelanie Thielker2009-02-182-3/+45
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-02-183-0/+25
| | | | | | | | | | | | | | The attached patch implements osGetDrawStringSize that looks like: vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize) in LSL. It is meant to be used in conjunction with the osDraw* functions. It returns accurate information on the size that a given string will be rendered given the specified font and font size. This allows for nicely formatted and positioned text on the generated image.
* Re-add the objectID field to the anim pack, that was deemed unneccessaryMelanie Thielker2009-02-172-3/+3
| | | | | | | | and dropped nonths ago, because it is required to get smooth region crossings with AO running. Without it, in some corner cases, anims will continue to run in an unstoppable state.
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-171-7/+7
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* cleanupDr Scofield2009-02-161-6/+0
|
* From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>Dr Scofield2009-02-161-8/+17
| | | | | | | This changeset fixes a rather nasty script compile bug that manifests itself under heavy load.
* * refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2009-02-162-3/+3
| | | | | | * This is always available at Scene.CommsManager.AssetCache
* * Apply http://opensimulator.org/mantis/view.php?id=3165Justin Clarke Casey2009-02-161-125/+109
| | | | | | | * Corrects behaviour of llListSort() * Thanks DoranZemlja!
* Thank you, cmickeyb, for a patch to ass two string functionsMelanie Thielker2009-02-163-0/+67
| | | | | | | to OSSL. Fixes Mantis #3173
* Thank you, patnad, for a patch that adds 3 new discovery functionsMelanie Thielker2009-02-163-0/+59
| | | | | | | | to OSSL. Applied with changes. Fixes Mantis #3172
* Thank you, DoranZemlja, for a patch that implements local inter-object emailMelanie Thielker2009-02-141-1/+8
| | | | | | | delivery. Leaving Mantis #3145 open so that more code can be added.
* Add an override for the % operator.idb2009-02-141-0/+6
| | | | | Fixes Mantis #3157
* Correct llGetNumberOfPrims to include sitting avatars in the count.idb2009-02-131-2/+18
|
* Fix some compiler warnings. Minor formatting cleanup.Jeff Ames2009-02-134-11/+6
|
* * Added XEngine tests and gathered other ScriptEngineSean Dague2009-02-121-0/+68
| | | | | | | Tests together From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Thank you kindly, FrankNichols for a patch that:Charles Krinke2009-02-111-1/+1
| | | | | | | The following patch fixes http://opensimulator.org/mantis/view.php?id=3107 [^] by changing call from setRot to llSetRot, the later handles child prim being rotated relative to root prim in linked set.
* From Rob Smart <SMARTROB@uk.ibm.com>Sean Dague2009-02-101-1/+5
| | | | | | | | | | | | In SL if llAbs() is called with the minimum integer value of -2147483648 it will return that value untouched without error. this patch replicates the SL functionality. OpenSim currently throws an overflow exception: number too small under mono or a "System.OverflowException: Negating the minimum value of a twos complement number is invalid. " under .NET
* this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield2009-02-1012-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
* Update svn properties, minor formatting cleanup.Jeff Ames2009-02-091-2/+2
|
* a last set of files that seem to have embedded ^M in themSean Dague2009-02-091-140/+140
|
* fixing warnings.Dr Scofield2009-02-091-12/+12
|
* This patch implements llLookAt to the extent that an object will correctlyDr Scofield2009-02-091-1/+23
| | | | | | | | | rotate and point to the target, however it doesnt yet use the damping or strength parameters. From: Robert Smart <smartrob@uk.ibm.com>
* Thanks Tommi Laukkanen for a patch that allows theMike Mazur2009-02-091-3/+7
| | | | | | CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to pass on Windows. Fixes Mantis #3104.
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-071-0/+140
| | | | | | | Created nunit test for LSL API and example test for llAngleBetween which was marked untested in wiki. Run new test succesfully with NUnitGUI and nant build.
* the parameters for llAtan2 were inverted before passing to Math.Sean Dague2009-02-071-1/+1
| | | | | Thanks to Rob Smart for pointing this out.
* Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker2009-02-071-6/+0
| | | | | | | | | line editing, context sensitive help (press ? at any time), command line history, a new plugin command system and new appender features thet let you type while the console is scrolling. Seamlessly integrates the ICommander interfaces.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-0621-56/+52
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague2009-02-051-17/+46
| | | | | | | | | This patch fixes the problem where if an object containing a script is deleted at the same time as an object containing the same script is rezzed, it can result in the assembly file being deleted after the second object script initialisation has found it but not started using it yet, resulting in the script not starting up.
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-62/+62
| | | | | - trim trailing whitespace
* * Fission SceneObjectTests into basic and linking setsJustin Clarke Casey2009-02-031-1/+5
|
* * Lock the parts for the old group while we're clearing it as well - not ↵Justin Clarke Casey2009-02-031-0/+5
| | | | | | | | much point doing one without the other * Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
* Minor formatting cleanup.Jeff Ames2009-02-021-1/+2
|
* Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-013-0/+35
| | | | | | Added osTeleportAgent with region coordinates to support hyper grid scripted teleports.
* Correct the method signature on llMakeFountain.idb2009-02-013-3/+3
|
* Speed improvement mostly when sensing objects especially noticeable in a sim ↵idb2009-01-311-22/+69
| | | | with many objects.
* Flesh out llGetAgentLanguage to return "en-us" untilCharles Krinke2009-01-311-2/+4
| | | | | we have an I18N committee for internationalization.
* Update svn properties, minor formatting cleanup.Jeff Ames2009-01-301-13/+13
|
* Complete the implementation of llSHA1String.idb2009-01-291-1/+2
|
* * minor: just a few formatting changes and log quieteningJustin Clarke Casey2009-01-291-1/+1
|
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-01-283-41/+61
| | | | | | | | | | | | | | | | | | | This changeset fixes a race condition where a script (XEngine run) can startup before a reference is added to it in all of the required places in the XEngine class. The effect of this is that a script can sometimes on startup miss script events. For example a script which starts up and initialises itself from a notecard may never receive the dataserver event containing the notecard information. The patch isn't as clean as I'd like - I've split the constructor of ScriptInstance up so it does everything it did before except call Startup and post events like state_entry and on_rez. An Init function has been added which is called after the ScriptInstance object has been added to the necessary data structures in XEngine. Happy to rework it if someone suggests a better way of doing it.
* From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-01-281-0/+24
| | | | | | | | | Adding Oarfileloaded and EmptyScriptCompileQueue event support which allows (with a module) for programmatic notification of when a region objects and scripts are up and running after a server start or load-oar.
* Add in a stub for llSHA1String. I believe it is the only one newCharles Krinke2009-01-283-1/+12
| | | | | function we were missing.
* Remove the addition of the region coordinates to obtain the absolute ↵idb2009-01-251-10/+6
| | | | | | | position of a prim/person on the grid. I believe it is superfluous and removes needed decimal places for short range sensors. Fixes Manitis #3046
* Add an override of the ! operator to lsl integer.idb2009-01-251-0/+5
| | | | | Fixes Mantis #3041