aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-07-25llApplyImpulse now accepts any non-zero integer as not FALSEDahlia Trimble1-9/+1
2008-07-24Update svn properties. Minor formatting cleanup.Jeff Ames1-3/+3
2008-07-24Implements llSetForce() and llGetForce(). These are experimental and the ↵Dahlia Trimble1-3/+30
units may not match the Linden implementation.
2008-07-24Replace the try/catch with a null check.Mike Mazur1-6/+3
2008-07-24Replace implicit casts from LSLFloat to int and uint which were removed inMike Mazur1-0/+10
r5487. Also put the unit tests back for Bamboo to execute them, let's see how this goes.
2008-07-23refactor TaskInventoryItem Mask -> Permissions to be consistant with how thingsSean Dague1-6/+6
are stored in the db.
2008-07-23Attempt to fix Mantis #1804Melanie Thielker1-18/+5
Fetches the correct link part to chenge. Please provide feedback, since I was not able to test all variants of this huge function.
2008-07-23Fix Mantis #1759Melanie Thielker1-2/+2
Corrects reported agent positions.
2008-07-23refactored LandData to use properties, and cleaned up the naming onSean Dague1-32/+32
the properties a bit to be more consistant with other objects (having things like .Name .Description, etc).
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames4-19/+19
2008-07-23Fix issue 1760. If the inventory item is not found, llSay() and throw an ↵Mike Mazur1-4/+7
exception.
2008-07-23Enable LSL <-> C# source location mapping when reporing compiler errors to ↵Mike Mazur1-3/+28
the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
2008-07-23First version of position mapping between LSL <-> C# implemented.Mike Mazur1-111/+246
2008-07-21Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke1-1/+1
I found a problem trying to get s value directly from a quaternion q. Compiling a script which directly access to q.s value, caused the following error: CS0103: 'The . symbol cannot be used in LSL except in float values or vector components'. Detected around: q.s I did a small change to allow alphabetic letter "s" to be interpretated as valid identifier. This solves the problem.
2008-07-21some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and ↵Dahlia Trimble1-36/+48
llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
2008-07-21does some verification of the quaternion returned by llAxes2Rot and modifies ↵Dahlia Trimble1-31/+39
the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
2008-07-20Make the max sizes of physical and nonphysical prims configurable in OpenSim.iniMelanie Thielker1-14/+14
Defaulted to 65536 and 10, respectively
2008-07-19Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"Charles Krinke1-2/+31
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s> is equal to <-x,-y,-z,-s>. The result may be different from LSL output, but it is correct. A problem of rounding caused an error of square rooting of zero as negative number, corrected by squaring again. Function tested 360° along 3 axes. Vector fwd, left and up have to be normalized.
2008-07-19Fix prim link numbers (Mantis #1781)Melanie Thielker1-9/+9
Implements additional unlink modes (unlink root prim from link set, some multi-set operations). Linking (single and mutiple) fully implemented. Consistent numbering of links while in world. Link/delink with predictable link numbering. Correct link numbers in LSL. Not all multi-set ops implemented. Link numbers still change when taken and re-rezzed.
2008-07-18Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke1-2/+30
llRot2Left and llRot2Up functions modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented.
2008-07-18* Fix http://opensimulator.org/mantis/view.php?id=1761Justin Clarke Casey1-1/+1
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.Mike Mazur1-0/+5
2008-07-18Treat LSL_Types as special cases in llList2Integer and llList2Float. This ↵Mike Mazur1-0/+18
could be implemented many other places, but let's do that on a case-by-case basis.
2008-07-18Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke1-1/+15
llRot2Fwd function modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented.
2008-07-17Mantis#1598. Thank you kindly, Matth for a patch that addresses:Charles Krinke1-27/+53
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-14/+54
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-16squashing warnings crittersDr Scofield2-1/+10
2008-07-16Mantis#1753. Thank you kindly, Kinoc for a patch that:Charles Krinke7-1169/+2559
Brings Yield Prolog up to date with sourceforge version 0.9.10 Patched applies to both DotNet and XEngine.
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-14Mantis#1728. Thank you kindly, Mikem for a patch that solves:Charles Krinke1-7071/+7644
The compiler was missing grammar rules for += etc. operators on vector.member variables, which the attached patch implements.
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-12Patch #9142 (No mantis)Melanie Thielker4-12/+53
Add a config option to OpenSim.ini to select between script compilers in the XEngine without recompile. Set UseNewCompiler=true in OpenSim.ini and try it out. Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12Patch #9141 (Mantis #1655)Melanie Thielker2-1/+15
Untangles llDie handling in XEngine, which resulted in a thread being aborted while executing inside of Scene.
2008-07-11Patch #9140 (Mantis #1683)Melanie Thielker2-0/+28
Add LifetimeService overrides to all MarshalByRef derived classes to prevent the remoting interfaces from expiring.
2008-07-11Thanks Mike for another LSL compiler patch which fixes a bug where 'vector ↵Johan Berntsson1-6947/+7211
v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-10Patch from Mike: errors from the LSL/C# compilers are now reported to the ↵Johan Berntsson1-1/+1
user in-world
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#1700. Thank you, Melanie for a patch that:Charles Krinke1-0/+8
Lets osSetParcelMediaTime honor the AllowOSComamnds setting
2008-07-09for testing purposes only:MW3-0/+15
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-09Patch from Mike which removes a lexer warning in the LSL compiler.Johan Berntsson1-9593/+9326
2008-07-08Mantis#1691. Applied Melanie's modification of Charles Krinke1-2/+13
Phrearch's iiGetCameraPos() patch, but not the original yet. Thank you Phrearch and Melanie.
2008-07-08another patch from Mike: the llscript compiler is now available in XEngine ↵Johan Berntsson5-0/+29509
as well. Thanks Mike
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 Ames1-10/+10
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.