Commit Graph

5141 Commits (e30ca523ae0716b9dfa8aef4697de76ab2da66d7)

Author SHA1 Message Date
Justin Clarke Casey e30ca523ae * refactor: Move xml/archive loading and saving code into separate methods ready for future modularization 2008-07-12 20:14:17 +00:00
Justin Clarke Casey b835b1d7ec * refactor: collapse scene debug settings into same format as packet debug settings 2008-07-12 20:04:31 +00:00
Justin Clarke Casey 91a208b6a5 * Refactor: Minor cleanup of Debug method in OpenSim.cs 2008-07-12 19:47:45 +00:00
Justin Clarke Casey 451c3d1dd7 * Hive off ConsolePluginCommand into its own framework class 2008-07-12 19:29:49 +00:00
Justin Clarke Casey 35d5b3991b * Make archive default tar file modes more permissive 2008-07-12 19:19:22 +00:00
Justin Clarke Casey 77723f8b8d * Remove warning 2008-07-12 19:08:46 +00:00
Justin Clarke Casey 654b3424c7 * Remove warning and tidy up logic in SceneObjectGroup.UpdatePrimFlags() 2008-07-12 19:05:12 +00:00
Justin Clarke Casey 4e7dd0d919 * Start compressing archives 2008-07-12 18:54:21 +00:00
Melanie Thielker 4ff529bdaf Patch #9146 (No Mantis)
Prevent an exception caused by inventory server fetch requests
2008-07-12 18:26:25 +00:00
Charles Krinke 932ed5ec54 Mantis#1726. Thank you kindly, StrawberryFride for a patch that:
On an MSSQL-based Grid OpenSim installation, users could log in to the sim once, 
then log off - after a short time before retrying users would be unable to log in, 
and would see an empty alert box on the client with just a "close" button and no text. 
Despite no users being logged into the sim, user server would report a higher number 
of logins than logouts.
2008-07-12 18:05:57 +00:00
Charles Krinke 33971a7ce8 Mantis#1681. Thank you kindly, Vytek for a patch that:
Adds additional support for llEmail().
2008-07-12 17:23:30 +00:00
Charles Krinke 0b28cf84f1 Mantis#1718. Thank you kindly, Mircea for a patch that:
Adds some IRC bridge improvement.
2008-07-12 17:19:24 +00:00
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