Commit Graph

6514 Commits (ca2b788c67f5615c43de7ba2bd2ba0e1c7d4175d)

Author SHA1 Message Date
Mike Mazur 16cf5aa2b8 Allow the list hack from issue 1863 to compile, however its behavior is
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for
details.
2008-07-31 07:11:49 +00:00
Mike Mazur 57ec7a26cd -make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
2008-07-31 07:11:41 +00:00
Mike Mazur 56c4cc39ff Allow assignments in if/while/do-while control statements. Fix issue 1862. 2008-07-31 04:13:46 +00:00
Mike Mazur eef3864278 Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while
statements with no body.
2008-07-31 01:27:33 +00:00
Mike Mazur 1c8f490573 More LSL_Types implicit/explicit cast changes. Fix issue 1854. 2008-07-31 00:29:19 +00:00
Melanie Thielker 3a2caa1f9a Thank you, HomerHorwitz, for a patch that
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
2008-07-30 22:37:42 +00:00
Dr Scofield 5095b4c212 From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that causes the ensuing http_response event (after
an llHTTPRequest) to include the HTTP status code returned from the server
(if available). The patch also sets the body parameter for the
http_response event to be set as the status description returned by the
server.
2008-07-30 16:47:25 +00:00
Dr Scofield 96d1891c71 From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that causes HTTP connections made by llHTTPRequest
to be closed once the response is read.
2008-07-30 16:21:01 +00:00
Adam Frisby 2f8acdbe50 * Applying Mantis #1852 - Plugin Provider refactoring. Courtesy of Ryan/Sempuki. 2008-07-30 08:17:19 +00:00
Dr Scofield 92e7f88a30 cleanups and refactoring to make it more readable. 2008-07-30 08:09:45 +00:00
Melanie Thielker c80493ed4d Prevent acks from being appended to viewer effect packets, since
that has been known to cause an exception in libomv ^^
2008-07-29 22:40:23 +00:00
lbsa71 0c4475725a * Ignored some bins and gens 2008-07-29 19:53:54 +00:00
lbsa71 8edab95bad * Refactored some heavily duplicated RequestSimProfileData functions
* Changed InventoryUrl and GridServerURL type to Uri instead of string - to address '/' issues.
2008-07-29 19:52:58 +00:00
Justin Clarke Casey d84a6bca55 * minor: temporarily command out variables to prevent compile warnings 2008-07-29 18:16:17 +00:00
Justin Clarke Casey 19a5e56d55 * add file path parameter to save-inv (in development) 2008-07-29 18:14:58 +00:00
Justin Clarke Casey d13c9161c9 * find user on save-inv 2008-07-29 18:11:58 +00:00
Justin Clarke Casey aa59dfb1d2 * minor: route create user through underlying super class method rather than calling communications manager directly 2008-07-29 18:01:12 +00:00
Justin Clarke Casey e595959d97 * refactor: move create user console command parsing down to OpenSim.cs from CommunicationsManager 2008-07-29 17:39:15 +00:00
Dr Scofield 9f600b378d adding copyright notice and help option to matrix.py. 2008-07-29 17:04:57 +00:00
Dr Scofield 405e0a4b4e matrix.py is a little launcher tool that knows about the GridInfo
protocol. it expects the grid coordinates to be passed as a
commandline argument either as a "matrix:" or as an "opensim:" style
URI:

	matrix://osgrid.org:8002/

you can also provide region/X/Y/Z:

        matrix://osgrid.org:8002/Wright%20Plaza/128/50/75

and it also understands avatar names and passwords:

        matrix://mr%20smart:secretpassword@osgrid.org:8002/Wright%20Plaza/128/50/75

when you run it the first time, it will complain about a missing
.matrixcfg file --- this is needed so that it can remember where your
secondlife client lives on your box. to generate that file, simply run 

        matrix.py --secondlife path-to-your-secondlife-client-executable
2008-07-29 16:39:48 +00:00
Justin Clarke Casey e7b3e7b749 * Put in stub code for inventory backup.
* No user functionality yet (and not for quite some time)
2008-07-29 14:28:08 +00:00
MW 0710fbb45e Fixed the missing reference to a texture in TexturesAssetSet.xml , reported in mantis 1848. Not sure why the ids on some textures had got changed in there and the reference to femalebody.jp2 removed.
I don't think this is the only problem with avatar appearances though, as I've still seen the puffs of smoke even with that texture set correctly. Seems that anytime where before you would have seen a grey ruth, you now get a puff of smoke. So looks like a urgent drive is needed to fix the avatar appearance system.
2008-07-29 08:50:46 +00:00
Charles Krinke bfa1fd768b Mantis#1849. Thank you kindly, Kinoc for a patch that:
- LLSDLoginMethod should error out in similar way to XMLRPC login for already logged in condition
- Have LLSDLoginMethod mirror the sequence of the XMLRPC for easier side by side compare
- Log messages report which process XML or LLSD generated them for easier debugging
2008-07-29 03:43:31 +00:00
Dr Scofield 0512895eea Trying to guestimate sensible default values for GridInfoService if no
[GridInfo] section is supplied by OpenSim.ini; also adding log warning
if that is the case.
2008-07-28 14:28:26 +00:00
Sean Dague f69ae29e39 remove void keyword for osWeatherMap.lsl. Update asset and inventory
uuids so that these new versions will show up in systems where they were
before.
2008-07-28 14:13:48 +00:00
Dr Scofield f25af1f9e6 dropping GridInfo prototype, now properly implemented as
GridInfoService.
2008-07-28 12:31:46 +00:00
Dr Scofield 03efaff60e moving GridInfo application plugin into a common standalone/grid
service, adding a plain REST GET handler returning XML (no LLSD),
adding appropriate add handler calls to OpenSimBase and UserServer.
2008-07-28 12:18:48 +00:00
Mike Mazur 23eaa950ab Add Shared/LSL_Types* tests to Bamboo. 2008-07-28 07:59:19 +00:00
Mike Mazur f6fa4ada4e When casting strings to int, use double.Parse() as strings may be floats. With
this commit, issue 1822 should be fixed.
2008-07-28 07:46:53 +00:00
Mike Mazur d959c65b91 -implement LSLString -> Quaternion explicit cast
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
2008-07-28 02:36:26 +00:00
Mike Mazur a61e1ea7dc Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822. 2008-07-28 02:36:22 +00:00
Mike Mazur 82fa53a486 -copy LSL_Types tests from Common/ to Shared/
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Melanie Thielker 40bb4edf8c Refresh LSLTypes.cs in Shared/ from the one in Common/, which was
more complete.
2008-07-28 01:33:21 +00:00
Adam Frisby e2ce142669 * Added a check for Infinite or NaN values before updating a heightfield. This may slow down terraforming when it debug mode - feedback appreciated. 2008-07-28 00:43:01 +00:00
Melanie Thielker 9fca0aca64 Reinstate the configuration option on XEngine's use of the lexical
compiler. Changes the default in OpenSim.ini.example to "true" to
allow for a broader user base for testing.
2008-07-28 00:40:35 +00:00
Mike Mazur 9e58ce60c0 Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues 1651, 1339. 2008-07-27 23:53:18 +00:00
Melanie Thielker 50f2e88c99 Re-fix r5681. Sorry for the inconvenience. We will now return you
to your scheduled scripting.
2008-07-27 20:32:22 +00:00
Melanie Thielker 8cd0c90dab Addresses Mantis #1611
Set thread culture for event processing threads in DotNetEngine.
XEngine already had this. Maybe someone with a French OS can verify
the fix.
2008-07-27 19:54:43 +00:00
Melanie Thielker 6c3db99a27 Addresses Mantis #1688
Changes erroneous return value of llGetLinkname() to "" for nonexistent
prims. Corrects an issue where the root prim of a linked set, upon
delink, retains the part number 1.
2008-07-27 19:32:43 +00:00
Melanie Thielker 839e9c94e8 Prevents Mantis #1829
Add array size check to packet from viewer to prevent OOB exception
2008-07-27 19:12:40 +00:00
MW 17ea010b92 applied mantis patch 1833 , thanks kinoc 2008-07-27 17:48:26 +00:00
Jeff Ames 2ec23f934a Update svn properties. 2008-07-27 17:15:41 +00:00
Charles Krinke e4ef774875 Mantis#1831.Thank you kindly, Francis for a patch that addresses:
Not all combinations of list order equally likely with llListRandomize()
2008-07-27 16:21:51 +00:00
lbsa71 f417a03414 Mantis#1817. Thank you kindly, sacha magne, for a patch that:
* Fixes a simulator crash when an asset file is missing on loading asset library.
2008-07-27 13:59:07 +00:00
lbsa71 1784918034 * Added safeguard to ensure valid inventoryserver uri. 2008-07-27 13:34:34 +00:00
Mike Mazur e17520621c Log to console if C# line/column lookup fails. 2008-07-27 10:41:44 +00:00
Mike Mazur 11a3fbf4aa Conversion from double to LSLInteger needs to be explicit. Fix issue 1826. 2008-07-27 07:09:33 +00:00
Mike Mazur 6267db0c4c Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
1832.
2008-07-27 05:42:47 +00:00
lbsa71 290f942858 * Ignored some bins 2008-07-26 21:22:50 +00:00
lbsa71 8e869b2fff * Changed a number of field names to ccc (public members shouldn't be called m_) 2008-07-26 21:22:15 +00:00