aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey2009-03-112-3/+4
| | | | | | | * In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
* Remove chained tests in BasicGridTest.cs.Mike Mazur2009-03-111-1/+1
| | | | | | | | | | It's good practice to isolate unit tests so their outcome (pass/fail) does not depend on whether another test has been run/passed/failed. A method is used to populate the DB independently for each test, and a TearDown method cleans up the database after each test. Also adding extra comment in C-style comment test.
* Limit the message length from llInstantMessage to 1024 characters ↵idb2009-03-071-1/+5
| | | | | | | | http://wiki.secondlife.com/wiki/LlInstantMessage Also truncate messages that may exceed the limit set by the packet size. The limit in OpenMetaverse is 1100 bytes including a zero byte terminator. Fixes Mantis #3244
* Added the ability to set User-Agent in llHTTPRequest. No new default value ↵idb2009-03-071-0/+3
| | | | | | | has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest Fixes Mantis #3143
* Correct casts so that the target id in the at_target event matches the ↵idb2009-03-071-0/+5
| | | | | | | original target id. Fixes Mantis #2861
* Update svn properties, minor formatting cleanup.Jeff Ames2009-03-071-14/+14
|
* Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-061-16/+13
| | | | | | | | | | llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does, and it should recalculate the absolute height to hover at as an object moves to reflect the current ground/water height under it. Correctly implementing required adjusting the Physics interfaces and implementing at the physics plug-in level. The attached is a patch that correctly implements llSetHoverHeight() including updates to the ODE physics plug-in.
* * refactor: Remove GetLandOwner function from SceneJustin Clarke Casey2009-03-062-29/+34
| | | | | | * Simplify since the land is never null
* * Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap ↵Justin Clarke Casey2009-03-051-12/+9
| | | | (which is used in other contexts)
* * refactor: move media and music url setting from scene into LandObjectJustin Clarke Casey2009-03-052-4/+6
|
* Fixes Mantis #3255. Thank you kindly, MCortez, for a patch that:Charles Krinke2009-03-051-9/+8
| | | | | | | | | | Changes to IWindModule interface: Change from assuming a single array of 256 Vector2 values to a lookup function that takes region x, y, z and returns a Vector3 * Changed llWind() to use new lookup method of IWindModule * Moved logic for determining the wind at a given point in the data array from llWind() to the Wind Module itself.
* Fixes Mantis #3194. Thank you kindly, Godfrey for a patch that:Charles Krinke2009-03-051-1/+19
| | | | | | fixes llSetLinkPrimitiveParams() - PRIM_ROTATION rotates the prim containing the script, rather than the specified child prim
* Fixes Mantis #3253. Thank you kindly, Godfrey, for a patch that:Charles Krinke2009-03-051-1/+1
| | | | | | Corrects the incomplete implementation of llXorBase64StringsCorrect() so that it returns the proper reversible result.
* After another heroic and bloody battle, OpenSim Dino Expedition 1, killed ↵MW2009-03-023-22/+0
| | | | off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.
* This adds a new osGetAgentIP function with threat level set to High. ItSean Dague2009-02-263-0/+38
| | | | | | | isn't tested, but it doesn't break anything else. The reason for this function is to let in world tools be used to coordiante out of world network services that need access to client ip addresses.
* * minor: Remove most mono compiler warningsJustin Clarke Casey2009-02-251-1/+1
|
* Allow /* C-style comments */ in LSL scripts.Mike Mazur2009-02-252-17501/+17655
| | | | | | This fixes Mantis #3199. opensim-libs SVN r87 contains the corresponding changes.
* Fixes Mantis #3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke2009-02-252-0/+2
| | | | | Deals with the multiple warning side affect introduced earlier.
* Update svn properties, add copyright headers, minor formatting cleanup.Jeff Ames2009-02-231-1/+1
|
* Mantis#3187. Thank you kindly, DoranZemlja for a patch that:Charles Krinke2009-02-233-0/+99
| | | | | | | Adds a warning for an LSL construct that exploits a popular list memory saving hack.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-228-32/+38
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* Refactor log4net logger handling in script engine. (#3148)Jeff Ames2009-02-224-43/+43
|
* Thank you kindly, DoranZemlja for a patch that:Charles Krinke2009-02-211-1/+1
| | | | | | Solves the Object-Key problem when using llHTTPRequest()
* Add copyright headers. Minor formatting cleanup.Jeff Ames2009-02-211-2/+2
|
* Thank you, robsmart, for a patch that allows the shard to be set.Melanie Thielker2009-02-211-1/+9
| | | | | | | | The built-in default is OpenSim, unless a user server url is given, then that is used, unless "shard" is also goven, then shard takes precedence. The defult in OpenSim.ini is "OpenSim" for compatibility.
* * 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-181-1/+43
|
* 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-131-4/+4
|
* 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-108-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
* 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
|