aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Changed a number of field names to ccc (public members shouldn't be called m_)lbsa712008-07-263-3/+3
|
* Add casts from integer to float. Fix issue 1822.Mike Mazur2008-07-252-0/+10
|
* -add test for newly introduced cast operators (issue 1818)Mike Mazur2008-07-252-4/+6
| | | | | | | -fix formatting -remove CompilerTest test since it seems to fail randomly
* Add mingchen's fix for string->float cast to Shared/Melanie Thielker2008-07-251-0/+4
|
* *Fixes #0001818: typecast string to floatmingchen2008-07-251-0/+4
|
* llApplyImpulse now accepts any non-zero integer as not FALSEDahlia Trimble2008-07-252-21/+5
|
* Update svn properties. Minor formatting cleanup.Jeff Ames2008-07-242-5/+5
|
* Implements llSetForce() and llGetForce(). These are experimental and the ↵Dahlia Trimble2008-07-242-6/+60
| | | | units may not match the Linden implementation.
* Replace the try/catch with a null check.Mike Mazur2008-07-242-12/+6
|
* Replace implicit casts from LSLFloat to int and uint which were removed inMike Mazur2008-07-242-0/+20
| | | | | | | | | r5487. Also put the unit tests back for Bamboo to execute them, let's see how this goes.
* refactor TaskInventoryItem Mask -> Permissions to be consistant with how thingsSean Dague2008-07-232-12/+12
| | | | | | are stored in the db.
* Attempt to fix Mantis #1804Melanie Thielker2008-07-232-35/+9
| | | | | | | Fetches the correct link part to chenge. Please provide feedback, since I was not able to test all variants of this huge function.
* Fix Mantis #1759Melanie Thielker2008-07-231-2/+2
| | | | | | Corrects reported agent positions.
* refactored LandData to use properties, and cleaned up the naming onSean Dague2008-07-232-64/+64
| | | | | | | the properties a bit to be more consistant with other objects (having things like .Name .Description, etc).
* Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames2008-07-237-54/+54
|
* Fix issue 1760. If the inventory item is not found, llSay() and throw an ↵Mike Mazur2008-07-232-7/+13
| | | | exception.
* Enable LSL <-> C# source location mapping when reporing compiler errors to ↵Mike Mazur2008-07-232-3/+44
| | | | the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
* First version of position mapping between LSL <-> C# implemented.Mike Mazur2008-07-233-231/+500
|
* Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-212-2/+2
| | | | | | | | | | | 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-212-73/+98
| | | | 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-212-52/+69
| | | | 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-202-28/+28
| | | | | | Defaulted to 65536 and 10, respectively
* Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"Charles Krinke2008-07-192-5/+62
| | | | | | | | | | 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-193-27/+21
| | | | | | | | | | | 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-182-4/+61
| | | | | | | 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-182-2/+2
| | | | | | * 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-182-0/+10
|
* Treat LSL_Types as special cases in llList2Integer and llList2Float. This ↵Mike Mazur2008-07-182-0/+36
| | | | 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-182-2/+30
| | | | | | | 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-172-55/+105
| | | | | | | | | | | 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-162-32/+107
| | | | | | | | 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-164-2/+20
|
* Mantis#1746. Thank you kindly, nlin for pointing out thatCharles Krinke2008-07-161-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.
* Fix issue 1582. The maximum allowable length for a string passed to SimChat ↵Mike Mazur2008-07-161-1/+1
| | | | is 1500. If it was longer than 1500, it was being truncated to 1501 characters. This caused an exception and prevented the errors from reaching the console and the user in-world.
* Mantis#1753. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-07-1614-2290/+5107
| | | | | | Brings Yield Prolog up to date with sourceforge version 0.9.10 Patched applies to both DotNet and XEngine.
* I had to revert the Mantis#1746 patch as although the local buildCharles Krinke2008-07-152-64/+2
| | | | | with Windows compiled, the automated build failed.
* Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that:Charles Krinke2008-07-152-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.
* Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:Charles Krinke2008-07-142-16/+22
| | | | | | | 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-142-2/+34
| | | | | Implements X-SecondLife-* HTTP Headers for llHTTPRequest
* Patch #9150Melanie Thielker2008-07-142-2/+2
| | | | | | 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-142-14/+20
| | | | | | | 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-142-14142/+15288
| | | | | | The compiler was missing grammar rules for += etc. operators on vector.member variables, which the attached patch implements.
* * On archive loading, tell the user how many objects we are ignoring because ↵Justin Clarke Casey2008-07-121-1/+1
| | | | | | | | they already exist in the scene * (ability to give objects new uuids will come later)
* * minor: just some null guards and name changes to make it clearer that prim ↵Justin Clarke Casey2008-07-121-9/+16
| | | | count is actually a prim local id dispenser
* Mantis#1681. Thank you kindly, Vytek for a patch that:Charles Krinke2008-07-121-1/+5
| | | | | Adds additional support for llEmail().
* Mantis#1714. Thank you kindly, Krtaylor for a patch that:Charles Krinke2008-07-122-2/+18
| | | | | Solves llGetListLength fails scripts when list is not initialized.
* Mantis#1691. Thank you kindly, Phrearch for a pactch that:Charles Krinke2008-07-121-3/+18
| | | | | Solves llGetCameraPos() implementation + permission bug.
* 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-123-3/+25
| | | | | | | 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.