Commit Graph

9130 Commits (225252f48ee0e58d8bd9955ceae6c4c31e4d1a3d)

Author SHA1 Message Date
Adam Frisby b664566b8f * Fixes a bug in MRM scripting whereby the Touch flag is never enabled for OnTouch capable scripts. 2009-04-10 05:13:02 +00:00
Teravus Ovares b05a1aa4b7 * Whoops, never saved the BulletDotNETScene.. Last commit continued..... 2009-04-09 22:00:15 +00:00
Teravus Ovares 4050dec682 * Changes the timstep of the bullet world
* Enables border crossings when using the BulletDotNETPlugin 
* Enabled variable time steps in BulletDotNETPlugin
* Still no 'linked physical objects' yet
* Still no script engine integration
2009-04-09 21:48:11 +00:00
Arthur Valadares 08f83f275d * Reinstated Scene Crossing tests, now with timeouts to check for race conditions 2009-04-09 21:37:54 +00:00
Justin Clarke Casey 80ea563bcc * minor: correct some documentation in SQLiteAssetData.cs 2009-04-09 20:07:12 +00:00
Justin Clarke Casey 601fa22185 * minor: remove some mono compiler warnings 2009-04-09 20:06:30 +00:00
lbsa71 6af0751cc5 * Tagged long running tests with LongRunningAttribute.
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever.
* Feel free to run the unit tests as you code, and the rest before commit.
2009-04-09 20:06:27 +00:00
Justin Clarke Casey 1066aa6998 * Remove Autooar module pending it's migration to the forge 2009-04-09 19:49:33 +00:00
Justin Clarke Casey 2176a80bcf * Terminate OpenSim startup if we cannot listen to the designated HTTP port
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway
2009-04-09 19:46:14 +00:00
Justin Clarke Casey 7f8552fe63 * Change SQLite asset UUID to dashed format to be consistent
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql
* Migration of these will happen at a later date, unless someone else wants to do it
2009-04-09 19:23:19 +00:00
Justin Clarke Casey 67333d48fc * Change UUIDs in SQLite user db to dashed format to match representations elsewhere 2009-04-09 19:01:52 +00:00
Justin Clarke Casey 39c6302972 * Improve inventory uuid conversions to make sure that we aren't converting anything that already contains a -
* Among other things, this means that if a migration is interrupted, it can simply be retried
2009-04-09 18:17:52 +00:00
Justin Clarke Casey b5ba5634fb * Migrate UUID representations in SQLite inventory store to dashed format
* This makes the representation consistent with that most commonly used in the other supported database layers
2009-04-09 16:56:01 +00:00
lbsa71 d2a412e94b * Added some more experimental code; nothing wired in so far. 2009-04-09 16:45:22 +00:00
lbsa71 5572a00295 * Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew* 2009-04-09 16:40:02 +00:00
Adam Frisby f44694c28e * Allows MRMs to import libraries in the OpenSim bin directory.
* Syntax: //@DEPENDS:library.dll
2009-04-09 15:46:02 +00:00
Sean Dague a5ceb1a2a0 From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch implements osKey2Name and osName2Key
which converts between a UUID key for an avatar and
an avatar name and vice-versa.

osKey2Name is similar to llKey2Name except that it will work
even if the avatar being looked up is not in the same region
as the script.
2009-04-09 15:04:02 +00:00
Adam Frisby 8ee81f98ea * Implements IObject.Materials[].*
* This lets you do things like IObject.Materials[0].Texture = new UUID("0000-...");
2009-04-09 14:51:18 +00:00
Adam Frisby c77e7fce9e * Implements IGraphics interface for MRM Scripting.
* This allows you to utilize System.Drawing tools on textures within the region.
* Example: use System.Drawing.Bitmap to make your texture, then use Host.Graphics.SaveBitmap to make an asset from it in JPEG2K. You can edit (but not overwrite) existing textures using Host.Graphics.LoadBitmap.
2009-04-09 14:19:49 +00:00
Adam Frisby 98eda9ebdb * Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);
* This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
2009-04-09 13:22:27 +00:00
Adam Frisby c91c24441b * Limits MRM scripting to Region Master Avatar only.
* This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions.
* Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
2009-04-09 13:14:25 +00:00
Adam Frisby 162dd5c65c * World.OnChat no longer fires if there is no chat text (prevents the typing animation packet from firing OnChat) 2009-04-09 13:05:01 +00:00
Adam Frisby 03984e7304 * Added additional debug testing info to Scene
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.)
* Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException
* Added some temporary logging to MRM World.*
2009-04-09 13:03:27 +00:00
Adam Frisby 0af0399198 * Forgot to commit IEntity in last commit.
* Added "DrunkenTextAppreciationModule" Demo MRM - behaves very similarly to the sobriety filter in WoW. ;)
2009-04-09 11:25:50 +00:00
Adam Frisby b529750548 * Moves Name, GlobalID and WorldPosition into new IEntity interface.
* Avatar and Object now inherit from IEntity.
* Avatar.Position is now Avatar.WorldPosition to match IObject property.
* Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
2009-04-09 11:09:24 +00:00
Adam Frisby 1b56fff7c8 * Implements retrieving child primitives via World.Objects[id] (MRM)
* Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core)
* Updates Test MRM.
2009-04-09 10:07:40 +00:00
lbsa71 73ab6bd455 * Thank you, mpallari for a patch that updates NHibernate inventory base mapping.
This fixes mantis #3435
2009-04-09 07:49:16 +00:00
Adam Frisby 232241ab25 * Implements IObject.OnTouch += delegate(IObject sender, TouchEventArgs e)
* This is equivalent to LSL 'touch(int senders)'
2009-04-09 07:46:05 +00:00
lbsa71 99bf4ce72f * Fixed a number of culture-variant bugs in lsl implicit type conversions. 2009-04-09 07:33:05 +00:00
lbsa71 0366cc1601 * argh. reverted untested fix that snuck into the last commit 2009-04-09 07:14:20 +00:00
lbsa71 ed33878a0f * tagged some more database tests as such 2009-04-09 07:11:49 +00:00
lbsa71 a707fa7bea * Added custom DatabaseTestAttribute to help separating unit tests from component tests. 2009-04-09 06:42:15 +00:00
Sean Dague 65dcfdf031 SQLite doesn't work on ppc64, so ignore these tests if we are
on this platform
2009-04-08 20:16:23 +00:00
lbsa71 ed70ef6407 * butterfingers 2009-04-08 20:10:43 +00:00
lbsa71 e93b782f9d * Introduced some experimental code with regards to asset data substitution 2009-04-08 19:59:37 +00:00
Justin Clarke Casey f3c7298fc5 * Make it possible to store creator strings in user inventory items as well as UUIDs
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Teravus Ovares 8d8c45b659 * Fix the remainder of the packets that require sessionId checks. 2009-04-08 16:31:56 +00:00
lbsa71 f913221313 * Restored GridLaunch that was mistakenly deleted in 9036 2009-04-08 16:30:43 +00:00
lbsa71 abf1df8ae0 * Restored 32BitLaunch that was mistakenly deleted in 9036 2009-04-08 16:27:30 +00:00
Adam Frisby 5118f88bc4 * [SECURITY] Implements additional packet security checks for Object related packets.
* Note: as with the last commit, this requires additional testing.
* This represents 2/8ths of packets now being checked appropriately.
2009-04-08 06:41:52 +00:00
Adam Frisby 2bd6a915a0 * [SECURITY] Implements a large number of new security checks into Scene/Avatar packet processing within ProcessInPacket.
* Notes: this requires heavy testing, it may cause new issues where LL have recycled agent block data for non-security purposes. It can be disabled on Line 4421 of LLClientView.cs by changing m_checkPackets to false.
* This represents approx 1/8th of the packets being checked.
2009-04-08 06:31:19 +00:00
Dahlia Trimble d5727c8c1a Correct unit test for llAngleBetween()
Reinstate patch for Mantis #3007
2009-04-08 03:16:24 +00:00
Justin Clarke Casey ad7b005784 * minor: remove some mono compiler warnings 2009-04-07 20:24:09 +00:00
Teravus Ovares 41fab69ad5 * Remove unnecessary build dependencies on the ExamplemoneyModule stub.
(??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
2009-04-07 19:37:54 +00:00
Justin Clarke Casey 0752dd65cc * Ooops, really put this on the task queue and not texture 2009-04-07 19:30:10 +00:00
Justin Clarke Casey 952960e375 * Put AgentTextureCached? response packet on the task queue rather than the wind queue
* Thanks to rtomita for pointing this out.
2009-04-07 19:23:17 +00:00
Justin Clarke Casey 513ae92bbb * Apply http://opensimulator.org/mantis/view.php?id=3406
* Makes Second Life environment sensor ranges and maximum response number configurable
* Thanks Intimidated
2009-04-07 19:15:26 +00:00
Justin Clarke Casey d0d481a0ab * Apply http://opensimulator.org/mantis/view.php?id=3418
* Prevents occasional wind module related exceptions on region server shutdown
* Thanks Intimidated!
2009-04-07 19:07:23 +00:00
Justin Clarke Casey ed6165ab9c * Apply http://opensimulator.org/mantis/view.php?id=3227
* Implement "Add To Outfit"
* Thanks FredoChaplin
2009-04-07 17:46:23 +00:00
Dahlia Trimble ea5b120006 temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007 2009-04-07 17:29:55 +00:00