Commit Graph

7155 Commits (3efdccbb12fc2d5339870ade39e1b1d54da4fe9b)

Author SHA1 Message Date
Dahlia Trimble 8aa16a9acf Thanks diva for patch that makes a bunch of methods in InventoryServiceBase virtual, so that they can be overriden in subclasses. 2008-11-03 05:22:36 +00:00
Charles Krinke 07ba2f4363 Mantis #2530. Thank you kindly, Idb for a patch that:
The attached patch changes the casts from explicit to implicit.
2008-11-03 01:57:10 +00:00
Homer Horwitz 9c8e4d0914 Added some more coloring to nant-color (especially for tests) 2008-11-02 13:13:45 +00:00
Homer Horwitz 499f1428f7 - Add Util.isUUID
- Add tests for Util.isUUID
- First part of the fix for protocol interoperability between viewer 1.20 and 1.21 for friend offers.
2008-11-02 13:07:57 +00:00
Melanie Thielker 6d4f8b38aa Cause inventory to be fetched on scripted item gives if the destination
avatar is remote or offline.
2008-11-02 08:53:03 +00:00
Jeff Ames 88d6557071 Update svn properties, formatting cleanup. 2008-11-02 01:29:56 +00:00
Melanie Thielker 44852158f2 Mantis #2518
Thank you, idb, for a patch that fixes the conflicts of lsl identifiers
with c# keywords
2008-11-01 23:50:19 +00:00
Justin Clarke Casey 87b8f327aa * Apply http://opensimulator.org/mantis/view.php?id=2440
* The attached patch changes the LSLInteger operator overrides for == and != to return LSLIntegers 1 or 0 instead of a bool and adds similar operator overrides for >, <, >= and 
<=
* Thanks idb!
2008-11-01 23:15:16 +00:00
Adam Frisby 4c24b1bc9b * Massive cleanup of LLClientView, removed a few hundred unnecessary value initialisers, etc. 2008-11-01 22:34:04 +00:00
Adam Frisby 84136c70d8 * Minor cleanup
* Added additional error message when a Object/SOG DB save fails so we can trace why.
2008-11-01 22:20:54 +00:00
Justin Clarke Casey e3864de621 * Apply http://opensimulator.org/mantis/view.php?id=2521
* Fix not tests in LSL which require implicit casting (see mantis for an example)
2008-11-01 22:18:26 +00:00
Homer Horwitz 38e8853e57 Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,
on-/offline updates, calling cards for friends.
This adds methods in the DB layer and changes the MessagingServer, so a full
update (incl. UGAIM) is necessary to get it working. Older regions shouldn't
break, nor should older UGAIM break newer regions, but friends/presence will
only work with all concerned parts (UGAIM, source region and destination
region) at this revision (or later).
I added the DB code for MSSQL, too, but couldn't test that.
BEWARE: May contain bugs.
2008-11-01 22:09:48 +00:00
Justin Clarke Casey e3a1ccf0b2 * minor: Remove mono compiler warning 2008-11-01 22:07:55 +00:00
Justin Clarke Casey 9366a234cf * refactor: Convert most non SOP methods to use SOG.IsAttachment rather than SOP.IsAttachment 2008-11-01 22:04:35 +00:00
Homer Horwitz 44e377d1fb Fix a compile warning about unreachable code 2008-11-01 21:55:48 +00:00
Justin Clarke Casey 7c04d27875 * Introduce an IsAttachment property on the group level (which just returns false if the group is already deleted)
* This is to avoid repetitive null checks - I'm beginning to think that blasting away the root part on object deletion is actually a bad move.  Perhaps we should leave it around 
and let the client ignore any superfluous packets (which it may well do anyway), since we're constantly exposing a race condition
2008-11-01 21:50:07 +00:00
Justin Clarke Casey b03e34dd2d * Fix http://opensimulator.org/mantis/view.php?id=2517
* Don't save attachments on saving oar, which stops them coming back as ghost prims
2008-11-01 21:28:52 +00:00
Melanie Thielker 388c053dcb Make the IM and friends modules optional. Clean up some code that dealt
with the old Grid Instant Message over OGS1. Refactor the EventManager
to be independent of the rigid module structure design imposed by
the current implementation. Message routing is now done in the destination
module rather than in the event manager. This way, more or less granular
solutions are possible without core changes.
2008-11-01 18:18:19 +00:00
Charles Krinke 9299be0080 Revert last checkin. Avatars fall through non-physical prims now.
There is more to the solution then just enabling soft_erp and 
soft_cfm for all d.Contact cases.
2008-11-01 17:58:34 +00:00
Charles Krinke 1e376deedd Added soft_cfm and soft_erp to the general "contact" initialization
for physical prim interactions. They were not previously enabled
for prim-prim interactions.
2008-11-01 17:30:06 +00:00
Melanie Thielker 865b5bb317 Make the inventory transfer module replacable in config. 2008-11-01 17:05:28 +00:00
Melanie Thielker 0bff4215fe Correct the handling of the creator field on inventory gives 2008-11-01 16:49:52 +00:00
Melanie Thielker 4fb2d70373 A stab a getting the user server to act right. Move acquisition of the
locks to just before the try/catch/finally block, so that an exception
thrown between taking the lock and entering the try doesn't leave a mutex
locked
2008-11-01 15:10:45 +00:00
Jeff Ames 337da2a7a3 Update svn properties, minor formatting cleanup. 2008-11-01 07:21:40 +00:00
Justin Clarke Casey 465a931c05 * In the client stack, if the BeginReceive() throws an exception then do print this out to the log once
* This may help us detect if mysterious UDP disconnects are happening because of this.
* Shouldn't be any functional change but I would appreciate a buddy check from Teravus if he has time (as for all client stack changes)
2008-10-31 19:41:07 +00:00
Justin Clarke Casey 4df3a19be6 * Reinstate sending wearables back to the client in response to set appearance
* Since the client sets the appearance in the first place (in response to receiving wearables information originally) this seems a little redundant
* But I've realized I didn't actually test this assumption, so I'm going to reinstate it for now
2008-10-31 18:58:30 +00:00
Justin Clarke Casey 269303d97d * test: Add basic scene test which merely instantiates the scene right now
* set debug scene name on scene registration, rather than within the Scene constructor
2008-10-31 18:39:51 +00:00
Adam Frisby 1f52ca97c7 * Enables PrimitiveBaseShape to be used inside a libOpenMV project by adding some alternate codepaths that avoid triggering OpenSim specific code. Probably not useful for most people, but might be for those working on interop projects. 2008-10-31 08:54:54 +00:00
Adam Frisby 129610e797 * Added some debug information to MySQL UserDataManager to help diagnose a potential issue when in high load. Related to mantis #2508. 2008-10-31 04:58:14 +00:00
Justin Clarke Casey 5feaff8524 test: Extend malformed packet test to actually check that a valid packet can get through after the malformed ones have been sent 2008-10-30 22:32:23 +00:00
Justin Clarke Casey 419775c72b * test: Test that the client stack doesn't completely blow up if a client passes it malformed data 2008-10-30 20:17:30 +00:00
Justin Clarke Casey 7165dd83fa * Remove OpenSim.Data.SQLite.Tests.dll.config that probably accidentally made it into the build
* Not sure how to remove all those annoying XMLConfigurator errors though
2008-10-30 19:51:29 +00:00
Justin Clarke Casey 2fb8089d8c * Slightly tweak to teardown test, try a circuit which never existed in the first place 2008-10-30 19:46:52 +00:00
Justin Clarke Casey 22ec3e7952 * minor: spacing adjustment before next commit 2008-10-30 19:43:58 +00:00
Justin Clarke Casey bc1b69b2fd * test: fill out circuit teardown test 2008-10-30 19:42:25 +00:00
Justin Clarke Casey 9f9d97c57b * minor: remove mono warning 2008-10-30 19:32:36 +00:00
Justin Clarke Casey 80e87747f3 * test: Refactor test infrastructure for future client teardown test 2008-10-30 19:26:38 +00:00
Dr Scofield b222d11b12 From: Alan Webb (alan_webb@us.ibm.com)
XIRCBrigeModule is transient, will merge it with IRCBridgeModule:
extends/refactors IRCBridgeModule to support channel-per-region (if
desired).
2008-10-30 15:31:44 +00:00
Dr Scofield 3a6037b421 From: Alan Webb (alan_webb@us.ibm.com)
Cleanups in REST inventory and asset services.
2008-10-30 15:26:23 +00:00
Dr Scofield e8615f0fee From: Alan Webb (alan_webb@us.ibm.com)
Adding support to set start region and lookat for an avatar via
XmlRpc.
2008-10-30 15:24:52 +00:00
Dr Scofield 537cd4708f From: Chris Yeoh (yeohc@au1.ibm.com)
Here's the patch that clamps llGround to using sane values avoiding
runtime errors.
2008-10-30 15:09:43 +00:00
Charles Krinke 87e7ff5932 Thank you kindly, NLin for an implementation patch
for llSetHoverHeight() and llStopHover(). I believe
this gets is to less then 50 LSL functions left to
implement.
2008-10-30 14:06:00 +00:00
Sean Dague 09d44612aa fix nant file break
From: Sean Dague <sdague@gmail.com>
2008-10-30 13:04:58 +00:00
Sean Dague 9e353d5713 - Includes consistency test for new and updated objects, as
some fixes in MySQL and SQLite

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30 12:56:10 +00:00
Sean Dague 409e7262df Mid-work, trying to fix region part insertion and retrieval
SQLite reports System NUll Reference, but works, inside
LoadItems, on SQLiteRegionData.cs

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30 12:56:04 +00:00
Sean Dague 0d2487d8a9 - Inserted code coverage monocov. To run do nant test-cov.
Creates a new directory cov and exports to html files in
  subdirectories.

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30 12:55:56 +00:00
Justin Clarke Casey 742514b0d7 * Apply http://opensimulator.org/mantis/view.php?id=2492
* object_rez event should now be sent to all scripts in the prim
* Thanks idb!
2008-10-29 20:58:11 +00:00
Justin Clarke Casey 7fdd6b74e3 * Apply patch in http://opensimulator.org/mantis/view.php?id=2494
* Introduces missing casts for float, integer, vector, quaterion and string to list
* Thanks idb
2008-10-29 20:09:02 +00:00
Justin Clarke Casey 8367353ea3 minor: indentation corrections 2008-10-29 20:05:16 +00:00
Justin Clarke Casey f8c2efbe70 * Instead of putting 0.5.11.00000 if there is no revision, just put 0.5.11 instead
* This is to make things less confusing to users (and maybe a little easier to do future version filtering for grid connections)
* If there's disagreement about this, then please say so (preferably in the opensim-dev mailing list)
2008-10-29 19:57:30 +00:00