aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-04-09* Tagged long running tests with LongRunningAttribute.lbsa711-5/+5
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever. * Feel free to run the unit tests as you code, and the rest before commit.
2009-04-09From: Christopher Yeoh <yeohc@au1.ibm.com>Sean Dague3-0/+53
The attached patch implements osKey2Name and osName2Key which converts between a UUID key for an avatar and an avatar name and vice-versa. osKey2Name is similar to llKey2Name except that it will work even if the avatar being looked up is not in the same region as the script.
2009-04-09* Fixed a number of culture-variant bugs in lsl implicit type conversions.lbsa711-9/+11
2009-04-09* argh. reverted untested fix that snuck into the last commitlbsa711-2/+1
2009-04-09* tagged some more database tests as suchlbsa711-1/+2
2009-04-08Correct unit test for llAngleBetween()Dahlia Trimble2-7/+3
Reinstate patch for Mantis #3007
2009-04-07* minor: remove some mono compiler warningsJustin Clarke Casey1-12/+11
2009-04-07* Remove unnecessary build dependencies on the ExamplemoneyModule stub. Teravus Ovares3-3/+0
(??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
2009-04-07* Apply http://opensimulator.org/mantis/view.php?id=3406Justin Clarke Casey1-0/+2
* Makes Second Life environment sensor ranges and maximum response number configurable * Thanks Intimidated
2009-04-07temporarily revert llanglebetween patch until unit test can be updated - ↵Dahlia Trimble1-2/+2
affects Mantis #3007
2009-04-07remove defective test criteria from unit test for llAngleBetweenDahlia Trimble1-4/+4
2009-04-07Thanks Ewe Loon for Mantis #3007 - llAngleBetween is producing numbers ↵Dahlia Trimble1-1/+4
greater then Pi Radians. Also modified to use the system constant for Pi and prevent negative results.
2009-04-06Add copyright headers, formatting cleanup.Jeff Ames1-19/+19
2009-04-05Thanks BlueWall for a patch that adds Hypergrid dynamic linking to ↵diva2-0/+21
osTeleportAgent. Fixes mantis #3408.
2009-04-04Thanks jonc, for a patch that adds rendering of classic clouds.Homer Horwitz1-1/+12
First part of Mantis #964, the necessary clouds image will follow separately.
2009-04-02Fix a nullref when compiling non-LSL scriptsMelanie Thielker1-5/+8
2009-04-02Correct llSetPrimitiveParams to check for a texture in inventory when ↵idb1-17/+17
setting the sculpt map. This Fixes Mantis #3331 Also corrected the capping calculation in llApplyImpulse and several integer "boolean" comparisons from "== 1" to "!= 0" for true
2009-04-01* Upped trunk version number to 0.6.4 as we just tagged 0.6.4-releaselbsa711-1/+1
2009-03-31* Refactored out and de-duplicated Base64ToString(string)lbsa711-8/+2
* Fixed minor typo
2009-03-31Thank you kindly, MCortez for a patch that:Charles Krinke3-1/+65
With some support from HomerH, this patch adds support for Wind Model plugins via the mono.Addin framework. * Adds console & OSSL access to Wind Parameters * Adds plug-in support for custom wind models * Provides two example Wind Model plug-ins Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^] -- will move this documentation to http://opensimulator.org [^] after the patch has been committed.
2009-03-31Update svn properties, add copyright header, formatting cleanup.Jeff Ames2-29/+28
2009-03-29Thank you Flyte Xevious for Mantis #3361 - Implementation of llEdgeOfWorldDahlia Trimble1-2/+60
2009-03-27* This updates LibOMV to the current release 0.6.0 on March 19 2009Teravus Ovares1-1/+1
* Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder. This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
2009-03-27* minor: remove one mono compiler warningJustin Clarke Casey1-1/+1
2009-03-26Read the .map files in on sim startup. Also clean them up when an assemblyMelanie Thielker2-1/+32
is deleted.
2009-03-26Avoid preprocessing scripts on region restart just to generate the lineMelanie Thielker1-11/+23
number map. Instead, write the map to a file for later use. That is not yet used, so currently runtime errors after a sim restart will have wrong line numbers
2009-03-26Avoid writing script state to the filesystem if the state has not changed.Melanie Thielker1-14/+19
Remove the unneccessary double check that was only used to provide a meaningless warning message for a corner case.
2009-03-26 - adding osGetAgents() which returns a list of all avatars in the regionDr Scofield3-46/+79
in which the script is running. - found a bag of space characters under my desk, thought i'd donate them to the JSON OSSL function (aka clean up)
2009-03-26Make the error messages passed to RegionReady more descriptiveMelanie Thielker1-3/+4
Patch by antont, thank you. Fixes Mantis #3338
2009-03-25cleanupDr Scofield2-2/+1
2009-03-24Change llGetOwnerKey to use another overload of GetSceneObject.Melanie Thielker1-1/+1
Fixes Mantis #3326
2009-03-24Thank you, dslake, for a patch that speeds up the Delete Old Files optionMelanie Thielker1-13/+19
in the compiler. Committed with changes. Fixes Mantis #3325
2009-03-22Thank you, dslake, for a patch that fixes XEngine linemap handling.Melanie Thielker1-1/+4
Fixes Mantis #3321
2009-03-20Thank you, mcortez, for patch to add functionality to the sun module.Melanie Thielker3-0/+114
Fixes Mantis #3313
2009-03-18* Apply http://opensimulator.org/mantis/view.php?id=3311Justin Clarke Casey1-10/+22
* Store script timers in a dictionary rather than a list to make unset much more efficient * Thanks dslake
2009-03-17Fixed the looping on llParcelMediaCommandList, now PARCEL_MEDIA_COMMAND_PLAY ↵MW1-2/+13
will make the media play only once like its meant to, and PARCEL_MEDIA_COMMAND_LOOP can be used to make it loop.
2009-03-17From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-5/+10
Attached is a patch which enabled through an OpenSim.ini option the ability to read long notecard lines. Currently although the data is read from the notecard it is truncated at 255 characters (same as for the LL servers. This patch allows the setting of that limit to a different value. ; Maximum length of notecard line read ; Increasing this to large values potentially opens ; up the system to malicious scripters ; NotecardLineReadCharsMax = 255 this allows for save/restore functionality using notecards without having to worry about very short line length limits.
2009-03-15Fixes Mantis #3294. Thank you kindly, Godfrey, for a patch that:Charles Krinke1-2/+40
Attached is a patch which provides osAvatarPlayAnimation() the ability to also trigger animations contained within the same prim as the script, as llStartAnimation() does. (It also modifies osAvatarStopAnimation(), otherwise the script wouldn't be able to stop animations it had started.)
2009-03-15Fixes Mantis #3289. Thank you kindly, Ewe Loon, for a patch that:Charles Krinke1-10/+28
fixes Sporadic Errors in "Dictionary<InstanceData, DetectParams[]" Causing total script Failure
2009-03-13Thank you, mcortez, for a patch that fixes a number of long standingMelanie Thielker3-0/+34
issues with the sun module. Fixes Mantis #3295
2009-03-11* Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey4-5/+8
* 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)
2009-03-11Remove chained tests in BasicGridTest.cs.Mike Mazur1-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.
2009-03-07Limit the message length from llInstantMessage to 1024 characters ↵idb1-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
2009-03-07Added the ability to set User-Agent in llHTTPRequest. No new default value ↵idb1-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
2009-03-07Correct casts so that the target id in the at_target event matches the ↵idb1-0/+5
original target id. Fixes Mantis #2861
2009-03-07Update svn properties, minor formatting cleanup.Jeff Ames1-14/+14
2009-03-06Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:Charles Krinke1-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.
2009-03-06* refactor: Remove GetLandOwner function from SceneJustin Clarke Casey2-29/+34
* Simplify since the land is never null
2009-03-05* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap ↵Justin Clarke Casey1-12/+9
(which is used in other contexts)
2009-03-05* refactor: move media and music url setting from scene into LandObjectJustin Clarke Casey2-4/+6