Commit Graph

7674 Commits (16561bd5286a2c2f056ac61e15b63deaa486f8e1)

Author SHA1 Message Date
Sean Dague 04e8d624d6 From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch ads an OpenSim.ini option (AutomaticLinkPermission)
which when enabled makes PERMISSION_CHANGE_LINKS to be granted to
scripts by default. When enabled llGetPermissions will always return it
as granted and llCreateLink//llBreakLink will succeed without
doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS.

The patch also fixes a minor bug in llCreateLink
related to a potential dereference of a null client object.
2008-12-09 13:24:01 +00:00
Jeff Ames 3ba0bc8f44 Minor formatting cleanup. 2008-12-09 12:15:02 +00:00
Teravus Ovares 3844e73d27 * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.
* Warning! Physics API change. This means that the NBodySimulation needs to be updated!
* PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
2008-12-09 11:11:16 +00:00
Dahlia Trimble 44d133da66 clean up some old debugging code 2008-12-09 08:17:31 +00:00
Adam Frisby 888151833b * Added primitive exception logging capabilities.
* Disabled by default (see OpenSim.ini.example for how to enable)
* Saves exceptions to a folder on disk (default "crashes") when enabled.
* These reports can then be uploaded or posted to help debug an error.
2008-12-09 03:06:26 +00:00
idb 8c33fcb321 Remove null checks on structs 2008-12-09 00:51:35 +00:00
idb 7e65697142 Reinstate setting timeout to never, the default 30 second timeout was causing problems with big migrations 2008-12-08 18:55:19 +00:00
Sean Dague 444436db15 change a UUID cast to an actual new UUID call to be consistant with
the rest of the assignments here.
2008-12-08 17:06:47 +00:00
Sean Dague a260466147 fix an issue I found where primshapes weren't every being removed
because of a logic error.
attempt to speed up deletes a bit by batching up all the primitem
deletes and primshape deletes into single delete statements.  This
removes the lock/release/lock/release/lock/release for loop.
2008-12-08 16:29:48 +00:00
lbsa71 b4a725ed87 * Killed off OpenSimExport. One project less to maintain. 2008-12-08 14:45:40 +00:00
Teravus Ovares e61dacb928 * Adds some rudimentary error handling to the physics debug drawstuff tool. 2008-12-08 07:19:26 +00:00
Teravus Ovares 354ffcf94e * Fixes control issue at the root of the boat turning problem. 2008-12-08 07:18:30 +00:00
Homer Horwitz 7083be07b0 Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320 2008-12-07 19:20:45 +00:00
Teravus Ovares 76e1462dff * Tweaks physics so that linked prim are a single body. This will make linked prim more stable and probably the last obstacle to vehicles physics wise.
* Fixed a bug that caused physics proxies to be scattered when you link an object.
* Single physical prim work exactly the same as before, just linked physical prim will have changed.
2008-12-07 04:03:09 +00:00
Homer Horwitz 6ab09bc139 Send the creation-date of items to the viewer. This fixes Mantis#2769. 2008-12-06 22:51:41 +00:00
Melanie Thielker 5746f42951 And change OpenSim.ini.example back. Too many copies out there already to take the easy way out 2008-12-06 18:39:44 +00:00
Melanie Thielker c5bd7975e8 Change AllowScriptCrossings to be AllowScriptCrossing to match the
.ini files already out there
2008-12-06 18:33:13 +00:00
idb 84ba5dd962 Fix an ArgumentNullException when moving a DotNet scripted object to the next region 2008-12-06 14:55:18 +00:00
Jeff Ames a5bd2b2136 Fix typo in OpenSim.ini.example (#2764) 2008-12-06 11:40:53 +00:00
Jeff Ames 3a4ddfec79 Add copyright headers. 2008-12-06 03:54:01 +00:00
Tedd Hansen f2cbc48a9e GUI for launching grids. Early version, but should work fine.
Will execute all OpenSim services redirect their input/output/errors to the selected "GUI module".
This version has following "GUI modules":
* Windows Forms
* Windows Service (doesn't work yet)
* Console
* TCP daemon

This means that OpenSim can now run in a single console for those who want that.

Console functionallity is not too rich yet, but code/framework is there... more to come. :)
2008-12-06 03:28:34 +00:00
Jeff Ames b23e82b573 Minor formatting cleanup. 2008-12-06 00:54:48 +00:00
Melanie Thielker d24e4a9f2d Committing the missing bits to enable script crossing. Disabled by default.
For a script to successfully cross, both source and destination region must
enable the feature. WARNING: Trusting binaries from other sims allows
ARBITRARY REMOTE CODE EXECUTION for ANYONE! Please do not use except
in ultimate trust scenarios!
2008-12-05 20:30:00 +00:00
Homer Horwitz 05467cb780 - Use the http-port that is now provided by the grid-server. If it isn't (because GridServer is too old), complain.
Not used yet, but will be necessary for crossing regions correcly.
2008-12-05 17:31:31 +00:00
Homer Horwitz 33d7913341 - Fixed missing ToString() in map_blocks response in grid-server
- Added remoting_port to the non-fast if-branch, too
- Added httpPort field to map_blocks response. This isn't needed yet, but will be for correct crossing between regions.
Note: This touches the GridServer.
2008-12-05 17:31:20 +00:00
idb 7ae9ec217d Implementation of the llDetectedTouch* functions 2008-12-05 16:48:47 +00:00
Tedd Hansen c826570751 Fixed Mantis #2756 2008-12-05 16:20:12 +00:00
Dr Scofield bdffd56a45 killing warnings, reformatting RemoteAdminPlugin 2008-12-05 15:28:03 +00:00
Tedd Hansen 336daa1aa8 save file before commit is often useful 2008-12-05 13:12:16 +00:00
Tedd Hansen a20d6b4b42 Fix: removed m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); 2008-12-05 12:59:50 +00:00
Tedd Hansen 7ee209c900 Fixed crash (configsection has to be first XML root child element stupid Microsoft thing) 2008-12-05 12:45:08 +00:00
Tedd Hansen 081383c8cb Garbage Collector
* Enabled GC server
* Enabled concurrent collections
2008-12-05 12:42:32 +00:00
idb e56f918b17 Mantis #2350
Move the DotNetEngine Unloading script debug message
2008-12-05 12:30:50 +00:00
MW 2cb30b3435 some small refactoring of the LoginService to allow sub classes to override the LLSD login authentication 2008-12-05 10:31:34 +00:00
Jeff Ames f278dee5cd Update svn properties. 2008-12-05 09:00:34 +00:00
Melanie Thielker 826450eabe Actually remove the script when it's task inventory item is deleted, rather
than just stopping it.
2008-12-05 07:53:12 +00:00
Melanie Thielker 5e819ba933 And fix it right 2008-12-05 05:28:17 +00:00
Melanie Thielker 2667fdf1e3 Mantis #2754
Stop scripts that are removed from an object's inventory
2008-12-05 05:19:32 +00:00
Melanie Thielker 1cad124b7d Allow no-copy attachments to be worn without losing them 2008-12-05 04:17:21 +00:00
Melanie Thielker 9d64709602 Yay for languages without default parameter values 2008-12-05 03:36:41 +00:00
Melanie Thielker cbd3e53ce1 Stop trying to save attachment states on logout. That caused a predicatble
loss of no copy attachments, as the client context/thread was terminating
before the save could complete.
2008-12-05 03:26:01 +00:00
Justin Clarke Casey 5ffbba9a8f * minor: Take out some of the test log output I accidentally left in a couple of commits ago 2008-12-04 21:06:25 +00:00
Justin Clarke Casey bdee86563c * Check in another patch from http://opensimulator.org/mantis/view.php?id=2710
* This allows removal of the old NHiberate.Mapping.Attributes.dll
* Also add in the files I forgot about last time.  Doh!
2008-12-04 20:48:08 +00:00
Justin Clarke Casey b4db3a550a * Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak.
* Initializes ODE only when a scene is grabbed rather than on plugin load.  This means we don't initialize ode if that physics engine is not used, and it allows other ode use 
plugins to be used instead.
2008-12-04 20:29:34 +00:00
Justin Clarke Casey 38ca31b37a * Put in the code necessary to allow inventory transfer of whole folders (and their contents) between agents, not just single items
* However, this is not currently activated since it's not absolutely fully tested and there's a bug lurking in there to do with the sending of the BulkInventoryUpdate packets
2008-12-04 19:57:36 +00:00
Jeff Ames 1bd92a6d34 Minor formatting cleanup. 2008-12-03 23:48:24 +00:00
Homer Horwitz 17a0474c5f Fixes Mantis#2744: Permissions returned false for resetting scripts in
non-root SOPs. Now, they will use the SOG the SOP belongs to.
2008-12-03 19:45:35 +00:00
Sean Dague 95de4717b6 * Minor test correction, comment removal
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:51 +00:00
Sean Dague b337088997 * Locked some RemoteAdmin methods due to racing condition bad behavior.
* Methods locked: CreateRegion, DeleteRegion, CreateUser, CreateUserMethodEmail,
UpdateUserAccountMethod, LoadOARMethod, LoadXMLMethod
* An example of bad behavior was multiple region creation where same UUID and
grid location was possible, by running multiple XMLRPC threads.

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:46 +00:00
Sean Dague b2ab15ba34 Extends Avatar Appearance tests
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03 19:19:39 +00:00