aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-18From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague3-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.
2009-02-17Re-add the objectID field to the anim pack, that was deemed unneccessaryMelanie Thielker2-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.
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur1-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
2009-02-16cleanupDr Scofield1-6/+0
2009-02-16From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>Dr Scofield1-8/+17
This changeset fixes a rather nasty script compile bug that manifests itself under heavy load.
2009-02-16* refactor: remove AssetCache field hanging off SceneJustin Clarke Casey2-3/+3
* This is always available at Scene.CommsManager.AssetCache
2009-02-16* Apply http://opensimulator.org/mantis/view.php?id=3165Justin Clarke Casey1-125/+109
* Corrects behaviour of llListSort() * Thanks DoranZemlja!
2009-02-16Thank you, cmickeyb, for a patch to ass two string functionsMelanie Thielker3-0/+67
to OSSL. Fixes Mantis #3173
2009-02-16Thank you, patnad, for a patch that adds 3 new discovery functionsMelanie Thielker3-0/+59
to OSSL. Applied with changes. Fixes Mantis #3172
2009-02-14Thank you, DoranZemlja, for a patch that implements local inter-object emailMelanie Thielker1-1/+8
delivery. Leaving Mantis #3145 open so that more code can be added.
2009-02-14Add an override for the % operator.idb1-0/+6
Fixes Mantis #3157
2009-02-13Correct llGetNumberOfPrims to include sitting avatars in the count.idb1-2/+18
2009-02-13Fix some compiler warnings. Minor formatting cleanup.Jeff Ames1-4/+4
2009-02-11Thank you kindly, FrankNichols for a patch that:Charles Krinke1-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.
2009-02-10From Rob Smart <SMARTROB@uk.ibm.com>Sean Dague1-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
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield8-12/+12
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
2009-02-09Update svn properties, minor formatting cleanup.Jeff Ames1-2/+2
2009-02-09a last set of files that seem to have embedded ^M in themSean Dague1-140/+140
2009-02-09fixing warnings.Dr Scofield1-12/+12
2009-02-09This patch implements llLookAt to the extent that an object will correctlyDr Scofield1-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>
2009-02-09Thanks Tommi Laukkanen for a patch that allows theMike Mazur1-3/+7
CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to pass on Windows. Fixes Mantis #3104.
2009-02-07Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-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.
2009-02-07the parameters for llAtan2 were inverted before passing to Math.Sean Dague1-1/+1
Thanks to Rob Smart for pointing this out.
2009-02-07Replace the console for all OpenSim apps with a new console featuring commandMelanie Thielker1-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.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield13-39/+39
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!
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-62/+62
- trim trailing whitespace
2009-02-03* Fission SceneObjectTests into basic and linking setsJustin Clarke Casey1-1/+5
2009-02-03* Lock the parts for the old group while we're clearing it as well - not ↵Justin Clarke Casey1-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
2009-02-02Minor formatting cleanup.Jeff Ames1-1/+2
2009-02-01Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke3-0/+35
Added osTeleportAgent with region coordinates to support hyper grid scripted teleports.
2009-02-01Correct the method signature on llMakeFountain.idb3-3/+3
2009-01-31Speed improvement mostly when sensing objects especially noticeable in a sim ↵idb1-22/+69
with many objects.
2009-01-31Flesh out llGetAgentLanguage to return "en-us" untilCharles Krinke1-2/+4
we have an I18N committee for internationalization.
2009-01-29Complete the implementation of llSHA1String.idb1-1/+2
2009-01-29* minor: just a few formatting changes and log quieteningJustin Clarke Casey1-1/+1
2009-01-28From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-33/+49
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.
2009-01-28Add in a stub for llSHA1String. I believe it is the only one newCharles Krinke3-1/+12
function we were missing.
2009-01-25Remove the addition of the region coordinates to obtain the absolute ↵idb1-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
2009-01-25Add an override of the ! operator to lsl integer.idb1-0/+5
Fixes Mantis #3041
2009-01-23Fix for llGetRot when the script is in a child prim. Also fixed ↵idb1-5/+5
llGetPrimitiveParams for PRIM_ROTATION. Fixes Mantis #3023
2009-01-23* Add direct stream loading and saving methods to the archive module.Justin Clarke Casey1-3/+2
* The async stream method does not yet signal completion to interested calling code
2009-01-22Implement missing LSL TEXTURE_xxx constants including two new textures.idb1-0/+8
Fixes Mantis #3030
2009-01-20Added overrides for == and != for list.idb1-0/+24
Fixes Mantis #3002
2009-01-18Moved applying an impulse to a newly rezzed object to minimise the delay ↵idb1-1/+0
getting the object moving.
2009-01-17Change list type to compare length instead of references.Melanie Thielker1-0/+12
Fixes Mantis #3002
2009-01-16Minor formatting cleanup, add copyright header.Jeff Ames1-3/+3
2009-01-13From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-1/+2
The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA on request to a script when an avatar is sitting on the object that the script resides in. It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA from the scripts when an avatar stands up. It doesn't remove the other automatically granted permissions but this follows LL server behavior. Removing these two permissions avoids some potential race conditions (accidentally taking control after the avatar has stood up) which may be why LL put them in the first place.
2009-01-12Make ZERO_ROTATION.y a float. Fixes Mantis #2985.Mike Mazur1-1/+1
2009-01-08* refactor: move url sending from scene to DialogModuleJustin Clarke Casey1-3/+6
2009-01-08* refactor: move code to send a dialog to a user from scene to DialogModuleJustin Clarke Casey1-1/+10