Commit Graph

9319 Commits (1cfcace30f6105520a3493eda8db2c33568e7541)

Author SHA1 Message Date
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
Dahlia Trimble e7a051d2be remove defective test criteria from unit test for llAngleBetween 2009-04-07 17:03:00 +00:00
Dr Scofield e540b66a86 From: Alan Webb <alan_webb@us.ibm.com>
Fix null reference exception during close down of IRC module if the
  region was not actually initialized.
2009-04-07 16:53:41 +00:00
Teravus Ovares b326b55bcd * Added finite testing to the character and object constructor 2009-04-07 16:41:07 +00:00
Teravus Ovares 9bbc7e8bf6 * Added a routine to check if a PhysicsVector and Quaternion is finite
* Now validating input to the Physics scene and warning when something is awry.
* This should help nail down that Non Finite Avatar Position Detected issue.
2009-04-07 16:13:17 +00:00
Teravus Ovares 11f8ea30f9 * Tweak the BulletDotNETPlugin character controller so it feels more finished. 2009-04-07 15:01:46 +00:00
Dahlia Trimble eb190905b5 Thanks Ewe Loon for Mantis #3007 - llAngleBetween is producing numbers greater then Pi Radians.
Also modified to use the system constant for Pi and prevent negative results.
2009-04-07 07:59:32 +00:00
Teravus Ovares 0d4880d5cf * This fixes BulletDotNET so it can now be used on linux. 2009-04-07 03:33:28 +00:00
Teravus Ovares 9459b16cc2 * BulletDotNET Updates.
* Should react somewhat normally to editing, and setting physics now.
2009-04-07 00:13:08 +00:00
Homer Horwitz 39f5dd1973 Added some null-checks to Intimidated's patch in r9024.
Hopefully fixes Mantis #3415.
2009-04-06 19:12:26 +00:00
Melanie Thielker fb900f6055 Applying Intimidated's patch to fix anim handling.
Fixes Mantis #3417
2009-04-06 18:02:12 +00:00
Dr Scofield f90c203b7d including Makefile.local iff it exists 2009-04-06 16:28:04 +00:00