aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis#1707. Thank you, Melanie for a patch that:Charles Krinke2008-07-101-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.
* Mantis#1673. Thank you kindly, Matth for a patch that:Charles Krinke2008-07-101-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 -,*,/)
* Mantis#1704. Thank you kindly, Mjm for a patch that:Charles Krinke2008-07-091-2/+9
| | | | | The attached patch implements llRemoveInventory().
* for testing purposes only:MW2008-07-093-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.
* Mantis#1690. Thank you kindly, Melanie for a patch that:Charles Krinke2008-07-081-0/+3
| | | | | esets script permissions when a script is recompiled.
* change SitTarget calls from functions to propertiesSean Dague2008-07-071-1/+2
|
* Mantis#1678. Thank you kindly, Vytek for a patch that:Charles Krinke2008-07-061-1/+1
| | | | | | Changes ...TimeOfDay.Milliseconds to ...TimeOfDay.TotalMilliseconds for llGetTimeOfDay() in both LSL_Api.cs and LSL_BuiltIn_Commands.cs
* Copyright notices and formatting cleanup.Jeff Ames2008-07-062-44/+44
|
* Mantis#1674. Thank you kindly, Matth for a patch that:Charles Krinke2008-07-061-1/+2
| | | | | | This patch fixes an error in llSetPrimitiveParams() that prevents correctly setting the type of the prim to SCULPT_TYPE.
* Add implementation of llGetTimeOfDay()Charles Krinke2008-07-051-2/+1
|
* Mantis#1654. Thank you kindly, Matth for a patch that:Charles Krinke2008-07-032-16/+17
| | | | | Updates llGetPrimitiveParams() and associated files.
* Mantis#1649. Thank you kindly, Matth for a patch that:Charles Krinke2008-07-021-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.
* property encapsulation for SOPSean Dague2008-07-021-1/+1
|
* From: kurt taylor (krtaylor)Dr Scofield2008-07-013-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.
* patch from mantis #1632, thanks MelanieMW2008-06-291-1/+1
|
* Mantis#1623. Thank you, Melanie for a patch that:Charles Krinke2008-06-286-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)
* Mantis#1616. Applied Melanie's patch. This may or mayCharles Krinke2008-06-283-4/+4
| | | | | not break trunk.
* From: Kurt Taylor <krtaylor@us.ibm.com>Dr Scofield2008-06-283-12/+12
| | | | | | | Patch to fix the passed parms and properly show llTakeCamera and llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.
* last round of warning squashing. calling it a day now.Dr Scofield2008-06-273-8/+8
|
* Mantis#1615. Thank you, Matth for a patch that:Charles Krinke2008-06-271-5/+5
| | | | | | causes deprecated LSL functions to throw the deprecated exception rather than not-implemented.
* * Remove responsibilty for signalling scene object change from ↵Justin Clarke Casey2008-06-271-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
* Mantis#1612. Thank you, kindly, Matth for a patch that:Charles Krinke2008-06-271-2/+43
| | | | | | Adds the beginnints of llRemoteLoadScriptPin() and llSetRemoteScriptAccessPin().
* Mantis#1610. Thank you, Melanie for a patch that:Charles Krinke2008-06-261-1/+6
| | | | | | Implements the beginning of llInventoryDrop. Doesn't cover the actual dropping yet, just the permissions for it.
* Mantis#1594. Thank you, Melanie for a patch that:Charles Krinke2008-06-261-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
* Minor formatting cleanup.Jeff Ames2008-06-251-31/+31
|
* Mantis#1590. Thank you kindly, Melanie for a patch that:Charles Krinke2008-06-251-3/+1
| | | | | Makes items appear in the item type folder, rather than in the root
* Mantis#1587. Thank you kindly, Melanie for a patch that:Charles Krinke2008-06-241-1/+1
| | | | | | | Add permissions magling to llGiveInventoryItem, correct some corner case functionality
* Mantis#5189. Thank you kindly, Matth for your patchCharles Krinke2008-06-241-1/+38
| | | | | to add the beginnings of llGiveInventory().
* * Remove all use of asset.InvType, as outlined in mailing list discussionJustin Clarke Casey2008-06-231-1/+1
| | | | | | * This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
* Mantis#1573. Thank you kindly, Mikem for a patch to ourCharles Krinke2008-06-201-1/+1
| | | | | | LSL subroutine implementation to solve an infinite loop in llParseString2List() under certain circumstances.
* Minor formatting cleanup.Jeff Ames2008-06-181-2/+1
|
* * minor: Remove LINK_SET debug Console WritelineJustin Clarke Casey2008-06-131-2/+0
| | | | | | | * only appeared in DotNetEngine's LSL_BuildIn_Commands.cs * Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548)
* A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.csCharles Krinke2008-06-131-11/+9
| | | | | and its copy LSL_ScriptCommands.cs
* Update svn properties. Formatting cleanup.Jeff Ames2008-06-101-2/+2
|
* Mantis#1469. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-091-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/.
* * Fixed it so you can do a lot more llDetected* methods in many additional ↵Teravus Ovares2008-06-083-5/+124
| | | | | | | situations and have it work. * script Collision reporting works now in DotNetEngine
* * Added compiler pre-processor, #if SPAM to SensorRepeat... so if you ↵Teravus Ovares2008-06-081-3/+12
| | | | really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
* * Fixes llDetectedKey. Teravus Ovares2008-06-081-53/+2
|
* * llSetPrimitiveParams PRIM_FLEXIBLE is now supported.Teravus Ovares2008-06-061-0/+1
|
* * Added Light control from script in LLSetPrimitiveParams.Teravus Ovares2008-06-061-2/+57
|
* * Added a configuration option for allowing god script lsl methods.. such ↵Teravus Ovares2008-06-061-19/+29
| | | | as llSetObjectPermMask. By default it's off.
* * Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken ↵Teravus Ovares2008-06-061-5/+46
| | | | because it won't do the setting of the prim flexi from not-flexi, however, it'll tweak the parameters of an already existing flexi prim.
* Mantis#1459. Thank you kindly, CMickeyb for a patch that:Charles Krinke2008-06-051-2/+5
| | | | | | | | | the function that reports errors in event handling is not computing the line numbers correctly for windows paths (and probably linux paths). As a result, the conversion to int throws an exception. note... i'm not sure why we extract the line number, convert it to an int, then convert it back to a string... but hey... :-)
* Mantis#1451. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-051-9/+64
| | | | | | | | | | | | | LSL scripts in which a float type is cast to a string or a string type is cast to a float do not compile. When the script is translated from LSL to C#, the LSL float type is translated into double. There is no string <-> double cast in C#, so compilation fails. There is a LSLFloat type, however it seems unfinished and is not used. I am attaching a patch that implements the LSLFloat type. I have also added two methods to the LSLString type to facilitate float <-> string casts.
* * This sends collision events to the script engine. Teravus Ovares2008-06-054-15/+137
| | | | | * Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
* Mantis#1447. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-06-041-3/+4
| | | | | | | llKey2Name fix to show avatar name instead of "Basic Entity" One line fix. Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
* applied patch from mantis #1268 , thanks mikemMW2008-06-041-0/+4
|
* Formatting cleanup, minor refactoring, svn properties.Jeff Ames2008-06-041-1/+1
|
* Mantis#1422. Thank you kindly, Xantor for your llLoopSound()Charles Krinke2008-05-301-0/+6
| | | | | | patch and I apologize for my confusion with the interim patch earlier.
* Mantis#1422. Thank you kindly, Xantor for a patch that :Charles Krinke2008-05-301-44/+32
| | | | | | | | | - volume doesn't change with a new llLoopSound(same sound, new volume); - SendFullUpdateToClients sends 0's in all sound related fields when there's no sound on the prim, thereby improving the amount of data being sent out on these prims (fixes zeropack) - Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls