aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-211-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.
* some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and ↵Dahlia Trimble2008-07-211-36/+48
| | | | llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
* does some verification of the quaternion returned by llAxes2Rot and modifies ↵Dahlia Trimble2008-07-211-31/+39
| | | | the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
* Make the max sizes of physical and nonphysical prims configurable in OpenSim.iniMelanie Thielker2008-07-201-14/+14
| | | | | | Defaulted to 65536 and 10, respectively
* Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"Charles Krinke2008-07-191-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.
* Fix prim link numbers (Mantis #1781)Melanie Thielker2008-07-191-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.
* Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-181-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.
* * Fix http://opensimulator.org/mantis/view.php?id=1761Justin Clarke Casey2008-07-181-1/+1
| | | | | | * Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
* Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.Mike Mazur2008-07-181-0/+5
|
* Treat LSL_Types as special cases in llList2Integer and llList2Float. This ↵Mike Mazur2008-07-181-0/+18
| | | | could be implemented many other places, but let's do that on a case-by-case basis.
* Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-181-1/+15
| | | | | | | llRot2Fwd function modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented.
* Mantis#1598. Thank you kindly, Matth for a patch that addresses:Charles Krinke2008-07-171-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.
* Mantis#1755. Thank you kindly, Matth for a patch that solves:Charles Krinke2008-07-161-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.
* squashing warnings crittersDr Scofield2008-07-162-1/+10
|
* Mantis#1753. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-07-167-1169/+2559
| | | | | | Brings Yield Prolog up to date with sourceforge version 0.9.10 Patched applies to both DotNet and XEngine.
* Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:Charles Krinke2008-07-141-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.
* Mantis#1739. Thank you kindly, Grumly57 for a patch that:Charles Krinke2008-07-141-1/+17
| | | | | Implements X-SecondLife-* HTTP Headers for llHTTPRequest
* Patch #9150Melanie Thielker2008-07-141-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 :(
* Patch #9147Melanie Thielker2008-07-141-7/+10
| | | | | | | Patch #4 of the region settings series. Partial functionality of the new storage system. More patches to follow.
* Mantis#1728. Thank you kindly, Mikem for a patch that solves:Charles Krinke2008-07-141-7071/+7644
| | | | | | The compiler was missing grammar rules for += etc. operators on vector.member variables, which the attached patch implements.
* Mantis#1714. Thank you kindly, Krtaylor for a patch that:Charles Krinke2008-07-121-1/+9
| | | | | Solves llGetListLength fails scripts when list is not initialized.
* Patch #9142 (No mantis)Melanie Thielker2008-07-124-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.
* Patch #9141 (Mantis #1655)Melanie Thielker2008-07-122-1/+15
| | | | | | | Untangles llDie handling in XEngine, which resulted in a thread being aborted while executing inside of Scene.
* Patch #9140 (Mantis #1683)Melanie Thielker2008-07-112-0/+28
| | | | | | | Add LifetimeService overrides to all MarshalByRef derived classes to prevent the remoting interfaces from expiring.
* Thanks Mike for another LSL compiler patch which fixes a bug where 'vector ↵Johan Berntsson2008-07-111-6947/+7211
| | | | v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
* Patch from Mike: errors from the LSL/C# compilers are now reported to the ↵Johan Berntsson2008-07-101-1/+1
| | | | user in-world
* 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#1700. Thank you, Melanie for a patch that:Charles Krinke2008-07-091-0/+8
| | | | | Lets osSetParcelMediaTime honor the AllowOSComamnds setting
* for testing purposes only:MW2008-07-093-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.
* Patch from Mike which removes a lexer warning in the LSL compiler.Johan Berntsson2008-07-091-9593/+9326
|
* Mantis#1691. Applied Melanie's modification of Charles Krinke2008-07-081-2/+13
| | | | | | Phrearch's iiGetCameraPos() patch, but not the original yet. Thank you Phrearch and Melanie.
* another patch from Mike: the llscript compiler is now available in XEngine ↵Johan Berntsson2008-07-085-0/+29509
| | | | as well. Thanks Mike
* 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-061-10/+10
|
* 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.
* Mantis#1659. Thank you, Melanie for a patch that:Charles Krinke2008-07-042-0/+17
| | | | | | | In LSL, the state command should have an immediate effect. The OpenSim script engine seems to wait until the function ends to process the state transition.
* Mantis#1660. Thank you, kindly, Melanie for a patch that:Charles Krinke2008-07-031-2/+3
| | | | | Attached patch changes TRUE and FALSE to be LSLIntegers.
* Mantis#1658. Thank you, Melanie for a patch that:Charles Krinke2008-07-031-2/+25
| | | | | Adds IEmailModule and a module skelaton
* Mantis#1654. Thank you kindly, Matth for a patch that:Charles Krinke2008-07-032-16/+17
| | | | | Updates llGetPrimitiveParams() and associated files.
* Mantis#1653. Thank you kindly, Vytek for a patch that:Charles Krinke2008-07-031-2/+1
| | | | | Implements llGetTimeOfDay().
* Mantis#1652. Thank you, Melanie for a patch that:Charles Krinke2008-07-031-7/+463
| | | | | Applies the patch to LSL_Api.cs
* property encapsulation for SOPSean Dague2008-07-021-1/+1
|
* Mantis#1648. Thank you, Melanie for a patch that:Charles Krinke2008-07-021-1/+1
| | | | | Fix a script Xengine deadlock/hang if llResetScript is used in changed()
* Mantis#1643. Thank you Melanie for a patch that:Charles Krinke2008-07-011-0/+6
| | | | | | | In the new runtime, there is a flag to diable all os* comamnds. The implementation of osGetScriptEngineName ignored it. This patch fixes this.
* 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.
* properly explaining each #pragma warning disableDr Scofield2008-06-308-97/+98
| | | | | | massaging OSHttpRequestPump to not abort on exceptions...
* patch from mantis #1632, thanks MelanieMW2008-06-291-1/+1
|
* Comment out StringTest until we use it somewhere.Charles Krinke2008-06-281-16/+16
|