Commit Graph

5479 Commits (1040f3f454a6f469dcd74f19c45ea67d0584ade1)

Author SHA1 Message Date
Charles Krinke 132b95ec95 Mantis#1714. Thank you kindly, Krtaylor for a patch that:
Solves llGetListLength fails scripts when list is not initialized.
2008-07-12 17:11:43 +00:00
Charles Krinke bdec1aea92 Mantis#1716. Thank you kindly, Nlin for a patch that:
Addresses the Gap when sitting on single prims with 
a sit target (discrepancy with SL)
2008-07-12 17:08:34 +00:00
Charles Krinke e6d3f7c39d Mantis#1691. Thank you kindly, Phrearch for a pactch that:
Solves llGetCameraPos() implementation + permission bug.
2008-07-12 17:04:56 +00:00
Melanie Thielker 9e20318667 Patch #9145 (Mantis #1723)
Allows direct viewing of library scripts from inventory again
2008-07-12 13:42:32 +00:00
Jeff Ames 9e667bdfe3 Update svn properties. 2008-07-12 13:39:30 +00:00
Melanie Thielker f629fdb88d Patches #9143 and #9144 (Mantis #1723)
Changes the permissions module to make scripts permissive only when intended
Adds security checks to asset transfers to prevent hacked clients fron
requesting script sources.
Adds security checks to llClientView to verify all aspects of ownership
and permissions for inventory based script retrieval.
2008-07-12 06:24:43 +00:00
Dahlia Trimble 13399ff439 Passes prim physical status to mesher from physics plugins
Small prims now get a full mesh if they are physical
Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up
Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
2008-07-12 01:58:20 +00:00
Melanie Thielker d85774c101 Patch #9142 (No mantis)
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-12 01:34:36 +00:00
Dahlia Trimble f6c7f167b9 Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher 2008-07-12 01:02:41 +00:00
Melanie Thielker 746c6fb1a2 Patch #9141 (Mantis #1655)
Untangles llDie handling in XEngine, which resulted in a thread being
aborted while executing inside of Scene.
2008-07-12 00:06:45 +00:00
Dahlia Trimble b42770bf7a Trim out nulls from mesh vertex and triangle lists to try and save more memory 2008-07-11 20:32:58 +00:00
Justin Clarke Casey da68f18a6b * Guard against a null point passed to RemoveClientCircuit (odd that this happens at all)
* Patch from Kurt Taylor (IBM) in http://opensimulator.org/mantis/view.php?id=1720
* Thanks Kurt!
2008-07-11 17:58:26 +00:00
Melanie Thielker 53461fad2c Patch #9140 (Mantis #1683)
Add LifetimeService overrides to all MarshalByRef derived classes
to prevent the remoting interfaces from expiring.
2008-07-11 17:52:39 +00:00
Dahlia Trimble 3646cc32c4 Experimental physics optimization: prims with all 3 dimensions less than 0.2 meters will be meshed as a simple box 2008-07-11 17:22:37 +00:00
Justin Clarke Casey 297ca095df * Oops, turn off permissions debugging I stupidly hardcoded 2008-07-11 17:16:03 +00:00
Justin Clarke Casey f7d9b0bab7 * Move thread tracking code to base opensim server so that it's available for all servers (UGAIM as well as Region)
* This will work as long as those servers are actually registering any threads they use (does not include stuff plucked from the thread pool)
* command is now "show threads" rather than threads
2008-07-11 16:24:52 +00:00
Justin Clarke Casey 8535cb52e0 * Put an info entry in the log if permissions are being bypassed
* might help to diagnose mantis 1712
2008-07-11 16:03:12 +00:00
Charles Krinke 1472cee72f Mantis#1005. Thank you kindly, Mircea for a two patches that:
Addresses both locale issues and setting the waterHeight correctly.
2008-07-11 15:40:56 +00:00
Justin Clarke Casey aad55e5034 * Comment out body of experimental ParcelMediaSetTime() since MW says it causes a mono 1.2.4 compile to fail
and MW says it will soon be replaced anyway.
2008-07-11 14:51:02 +00:00
Dr Scofield eec67d7402 trying to fix mantis #1711. 2008-07-11 14:33:47 +00:00
Jeff Ames 3b9cf65234 Update svn properties. 2008-07-11 09:18:17 +00:00
Johan Berntsson 130d8047a2 Thanks Mike for another LSL compiler patch which fixes a bug where 'vector v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;) 2008-07-11 08:33:53 +00:00
Charles Krinke cda5269391 Mantis#1682. Revert temporarily, Sempuki's mono addins patch
while he studies the issues in Windows a little bit.
2008-07-11 02:04:02 +00:00
Charles Krinke 14a6656948 Mantis#1541. Thank you kindly, Phrearch for a patch that:
Solves Remote Admin create_region type Casting failure.
2008-07-10 13:55:01 +00:00
Charles Krinke 81af87545e Mantis#1391. Thank you kindly, Phrearch for a patch that:
Solves svnbackup svn add directory failure.
2008-07-10 13:51:56 +00:00
Charles Krinke 7fd63d9dc8 Mantis#1682. Thank you kindly, Sempuki for a patch that:
Move control of Mono.Addins from source attributes to external XML files.
This removes a lot of coupling of the source with Mono.Addins
2008-07-10 13:45:46 +00:00
Dahlia Trimble 501f3ebd5d Thanks to mikem for a patch that resolves a reference error when building SVN r5406 with Visual Studio 2008-07-10 08:21:46 +00:00
Johan Berntsson d41c1f40a8 Patch from Mike: errors from the LSL/C# compilers are now reported to the user in-world 2008-07-10 05:40:45 +00:00
Charles Krinke 38da8960e9 Mantis#1707. Thank you, Melanie for a patch that:
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-10 03:13:29 +00:00
Charles Krinke c9a7bf7e58 Mantis#1673. Thank you kindly, Matth for a patch that:
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-10 00:40:38 +00:00
Sean Dague 9a06bf47b9 added convenience makefile and nant-color script. I've had these
on my laptop forever, and others might find them useful to be part
of the main tree.
2008-07-10 00:05:21 +00:00
Sean Dague de42154b62 added .gitignore which makes using git-svn easier 2008-07-09 23:59:53 +00:00
mingchen 817a0fa40c *Patch as supplied in Mantis #0001705 by melanie. Fixes: Locked prims allow *any avatar* to deposit scripts in them, regardless of permissions 2008-07-09 19:53:22 +00:00
Charles Krinke 96b64d6973 Mantis#1127. Thank you kindly, Grumly57 for a patch that:
Addresses HTTP_METHOD parameter does not work for POST requests.
2008-07-09 18:42:34 +00:00
Charles Krinke 130cbd4376 Mantis#1704. Thank you kindly, Mjm for a patch that:
The attached patch implements llRemoveInventory().
2008-07-09 18:03:22 +00:00
Charles Krinke 9f68bcd80b Mantis#1700. Thank you, Melanie for a patch that:
Lets osSetParcelMediaTime honor the AllowOSComamnds setting
2008-07-09 14:32:21 +00:00
MW 58ce018625 for testing purposes only:
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-09 12:02:01 +00:00
MW 7db2e19500 corrected the params types on IClientAPI.SendParcelMediaCommand. the command parameter should be set to the the ParcelMediaCommandEnum value. While flags seems to need to be set to (uint)(1<<[value of the command enum]) 2008-07-09 11:01:26 +00:00
Johan Berntsson 5609292101 Patch from Mike which removes a lexer warning in the LSL compiler. 2008-07-09 07:37:42 +00:00
Justin Clarke Casey 79f68e571f * Don't fail the archive operation if exceptions are encountered while analyzing prims 2008-07-08 17:58:45 +00:00
Justin Clarke Casey 00a38df75a * Guard against a failure to find an inventory item in a move request by complaining in the log rather than terminating the session 2008-07-08 16:57:48 +00:00
MW af825dae40 small console message change related to last revision 2008-07-08 15:37:52 +00:00
MW 9a5a7b2614 Added option to userserver config, to be able disable/enable the LLSD Login support. As far as I know, the LLSD login method is currently only used by libsl based clients/bots. So could be useful to be able to disable this if a grid comes under a griefing attack from libsl bots. 2008-07-08 15:36:27 +00:00
Charles Krinke 01904e66f2 Mantis#1690. Thank you kindly, Melanie for a patch that:
esets script permissions when a script is recompiled.
2008-07-08 15:16:43 +00:00
Charles Krinke 27e3fee1cd Mantis#1690. Thank you, Malanie for a patch that:
addresses "recompiles clear perms:
2008-07-08 15:10:53 +00:00
Charles Krinke 71666a894a Mantis#1691. Applied Melanie's modification of
Phrearch's iiGetCameraPos() patch, but not the original
yet. Thank you Phrearch and Melanie.
2008-07-08 15:05:23 +00:00
lbsa71 b7fc172254 * Added experimental SendParcelMediaCommand and SendParcelMediaUpdate to IClientAPI. These methods have not been tested, but feel free to start wiring them to llParcelMediaCommandList. 2008-07-08 14:17:59 +00:00
lbsa71 6c13d68489 * Changed casing of some archaic methods to conform with code standards 2008-07-08 11:30:08 +00:00
lbsa71 ed704f0afc * Ignored some bins 2008-07-08 11:25:58 +00:00
lbsa71 d9b802bb26 * Split out various classes from IClientAPI into their own files, in accordance with code standards 2008-07-08 11:25:18 +00:00