aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-07-17Mantis#1598. Thank you kindly, Matth for a patch that addresses:Charles Krinke1-28/+52
The previous implementation of llEuler2Rot was not mathematically incorrect, but it was an awkward way of posing the problem that led to a few degenerate cases which were not handled correctly - for example, PI rotations around X and Z axes were wrong. I put some comments in the source about how I arrived at the current implementation, which I think is easier to read, and gives results that match SL.
2008-07-16Mantis#1755. Thank you kindly, Matth for a patch that solves:Charles Krinke1-18/+53
When using math operators +,-,*,/ in an LSL script with an LSLFloat and an integer literal the wrong result is returned. This patch adds operators to the LSLFloat type to handle this case.
2008-07-16Mantis#1746. Thank you kindly, nlin for pointing out thatCharles Krinke1-2/+2
I needed to apply the patch a little better then last night for: Dot product operator in LSL_Types.cs incorrectly returns a component-wise vector multiplication; it should return a scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-15I had to revert the Mantis#1746 patch as although the local buildCharles Krinke2-64/+2
with Windows compiled, the automated build failed.
2008-07-15Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that:Charles Krinke2-2/+64
Dot product operator in LSL_Types.cs incorrectly returns a component-wise vector multiplication; it should return a scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-14Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:Charles Krinke1-8/+11
Changed code to include Melanie's advice about X-SecondLife-Region, then put the exact same content format as a llHTTPRequest issued by other grids.
2008-07-14Mantis#1739. Thank you kindly, Grumly57 for a patch that:Charles Krinke1-1/+17
Implements X-SecondLife-* HTTP Headers for llHTTPRequest
2008-07-14Patch #9150Melanie Thielker1-1/+1
Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
2008-07-14Patch #9147Melanie Thielker1-7/+10
Patch #4 of the region settings series. Partial functionality of the new storage system. More patches to follow.
2008-07-12Mantis#1681. Thank you kindly, Vytek for a patch that:Charles Krinke1-1/+5
Adds additional support for llEmail().
2008-07-12Mantis#1714. Thank you kindly, Krtaylor for a patch that:Charles Krinke1-1/+9
Solves llGetListLength fails scripts when list is not initialized.
2008-07-12Mantis#1691. Thank you kindly, Phrearch for a pactch that:Charles Krinke1-3/+18
Solves llGetCameraPos() implementation + permission bug.
2008-07-10Mantis#1707. Thank you, Melanie for a patch that:Charles Krinke1-0/+36
This patch limits the maximum size of prims that can be created using libsl bots or modified clients to 65536mper side. It also limits LSL functions to that size. If a prim is already physical, the enforced constraint is 10m. A prim that is larger than 10m cannot be turned physical, either via script or UI. Linksets are handled correctly, so scaling of physical linksets is constrained by the size of it's largest component prim. Also, turning linksets physical is based on the size of it's largest ptim.
2008-07-10Mantis#1673. Thank you kindly, Matth for a patch that:Charles Krinke1-0/+20
LSLInteger + literal integer is not an LSLInteger. The included patch fixes the issue: LSLInteger + literal integer is not an LSLInteger (also fixed for -,*,/)
2008-07-09Mantis#1704. Thank you kindly, Mjm for a patch that:Charles Krinke1-2/+9
The attached patch implements llRemoveInventory().
2008-07-09for testing purposes only:MW3-0/+14
added void osSetParcelMediaTime(double time) command to script engines. which sets the position of the media that is playing. Time is in seconds. Doesn't do any security checking (should be checking that the object/script is owned by the parcel owner). So could be abused, if it is then we should remove it, or add the security. Only tested in dotnet scripting engine, but should work in XEngine too.
2008-07-08Mantis#1690. Thank you kindly, Melanie for a patch that:Charles Krinke1-0/+3
esets script permissions when a script is recompiled.
2008-07-07change SitTarget calls from functions to propertiesSean Dague1-1/+2
2008-07-06Mantis#1678. Thank you kindly, Vytek for a patch that:Charles Krinke1-1/+1
Changes ...TimeOfDay.Milliseconds to ...TimeOfDay.TotalMilliseconds for llGetTimeOfDay() in both LSL_Api.cs and LSL_BuiltIn_Commands.cs
2008-07-06Copyright notices and formatting cleanup.Jeff Ames2-44/+44
2008-07-06Mantis#1674. Thank you kindly, Matth for a patch that:Charles Krinke1-1/+2
This patch fixes an error in llSetPrimitiveParams() that prevents correctly setting the type of the prim to SCULPT_TYPE.
2008-07-05Add implementation of llGetTimeOfDay()Charles Krinke1-2/+1
2008-07-03Mantis#1654. Thank you kindly, Matth for a patch that:Charles Krinke2-16/+17
Updates llGetPrimitiveParams() and associated files.
2008-07-02Mantis#1649. Thank you kindly, Matth for a patch that:Charles Krinke1-7/+463
This patch adds the ability to set the prim type using llSetPrimitiveParams(). Seems to work ok, but there are a staggering number of cases to test, so I have not yet tested them all.
2008-07-02property encapsulation for SOPSean Dague1-1/+1
2008-07-01From: kurt taylor (krtaylor)Dr Scofield3-0/+33
Another new OSSL function for returning the name of the script engine currently running, osGetScriptEngineName, added to both DotNet and XEngine OSSL API.
2008-06-29patch from mantis #1632, thanks MelanieMW1-1/+1
2008-06-28Mantis#1623. Thank you, Melanie for a patch that:Charles Krinke6-9/+47
Fully defines the equality operators on the lsl types and plubs in the script engine side of the work begun in 0001616 (aly, this one's for you)
2008-06-28Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke3-4/+4
not break trunk.
2008-06-28From: Kurt Taylor <krtaylor@us.ibm.com>Dr Scofield3-12/+12
Patch to fix the passed parms and properly show llTakeCamera and llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield3-8/+8
2008-06-27Mantis#1615. Thank you, Matth for a patch that:Charles Krinke1-5/+5
causes deprecated LSL functions to throw the deprecated exception rather than not-implemented.
2008-06-27* Remove responsibilty for signalling scene object change from ↵Justin Clarke Casey1-2/+28
SceneObjectPart.SendFullUpdate() * This means that we will no longer pointlessly repersist all the prims in the scene when OpenSim first starts up * This also means that force-update on the console will not trigger repersistence. * Also, in other places persistence is no longer done where it wasn't actually necessary * I think I changed the code for all instances correctly, but it's not possible that I missed some and some things which did persist properly have stopped * Please patch or mantis if this is the case
2008-06-27Mantis#1612. Thank you, kindly, Matth for a patch that:Charles Krinke1-2/+43
Adds the beginnints of llRemoteLoadScriptPin() and llSetRemoteScriptAccessPin().
2008-06-26Mantis#1610. Thank you, Melanie for a patch that:Charles Krinke1-1/+6
Implements the beginning of llInventoryDrop. Doesn't cover the actual dropping yet, just the permissions for it.
2008-06-26Mantis#1594. Thank you, Melanie for a patch that:Charles Krinke1-1/+36
Fixes: - Wearable icon and name sreset to default on copy/paste - Cache is not updated when renaming/moving folders - Partial refactor to make inventory less dependen on AssetBase having a "Name" field - Add llGiveInventoryList() function
2008-06-25Minor formatting cleanup.Jeff Ames1-31/+31
2008-06-25Mantis#1590. Thank you kindly, Melanie for a patch that:Charles Krinke1-3/+1
Makes items appear in the item type folder, rather than in the root
2008-06-24Mantis#1587. Thank you kindly, Melanie for a patch that:Charles Krinke1-1/+1
Add permissions magling to llGiveInventoryItem, correct some corner case functionality
2008-06-24Mantis#5189. Thank you kindly, Matth for your patchCharles Krinke1-1/+38
to add the beginnings of llGiveInventory().
2008-06-23* Remove all use of asset.InvType, as outlined in mailing list discussionJustin Clarke Casey1-1/+1
* This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
2008-06-20Mantis#1573. Thank you kindly, Mikem for a patch to ourCharles Krinke1-1/+1
LSL subroutine implementation to solve an infinite loop in llParseString2List() under certain circumstances.
2008-06-18Minor formatting cleanup.Jeff Ames1-2/+1
2008-06-13* minor: Remove LINK_SET debug Console WritelineJustin Clarke Casey1-2/+0
* only appeared in DotNetEngine's LSL_BuildIn_Commands.cs * Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548)
2008-06-13A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.csCharles Krinke1-11/+9
and its copy LSL_ScriptCommands.cs
2008-06-10Update svn properties. Formatting cleanup.Jeff Ames1-2/+2
2008-06-09Mantis#1469. Thank you kindly, Mikem for a patch that addresses:Charles Krinke1-0/+24
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life: list mylist = []; mylist += [1, 2, 3]; mylist += "four"; list newlist = mylist + 5.0; The problem is that the LSL_Types.list class does not have an operator for adding a string to a list. I am including a patch which implements adding a string, integer or float to a list. I am also including tests. The file LSL_TypesTestList.cs belongs in OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
2008-06-08* Fixed it so you can do a lot more llDetected* methods in many additional ↵Teravus Ovares3-5/+124
situations and have it work. * script Collision reporting works now in DotNetEngine
2008-06-08* Added compiler pre-processor, #if SPAM to SensorRepeat... so if you ↵Teravus Ovares1-3/+12
really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
2008-06-08* Fixes llDetectedKey. Teravus Ovares1-53/+2