Commit Graph

1795 Commits

Author SHA1 Message Date
Justin Clarke Casey
96ea54409f * minor: remove mono compiler warning 2008-12-12 21:14:27 +00:00
Justin Clarke Casey
1531035b14 * Actually properly enable the purge folders test and correct some problems 2008-12-12 20:04:58 +00:00
Justin Clarke Casey
a7e145bdfd * refactor: pull out common user profile test code into utility functions 2008-12-12 18:48:29 +00:00
Sean Dague
7a4f11b94d * Deleted old EntiyList tests, added new EntityManager tests
* Edited EntityManager to treat Exceptions

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-12 18:33:16 +00:00
Justin Clarke Casey
80e267dcfe * refactor: Stop exposing InventoryFolderImpl.SubFolders publicly 2008-12-11 20:58:11 +00:00
Justin Clarke Casey
bec3993849 * Fold mock classes into existing OpenSim/Tests/Common assembly rather than sprouting another one 2008-12-11 18:07:23 +00:00
Justin Clarke Casey
e02aaaf9db * minor: Move mock test classes into mock namespace 2008-12-11 16:40:22 +00:00
Melanie Thielker
2101680094 Make object return actually use the CanReturnObject permission, rather than
the CanDelete one.
2008-12-11 01:03:53 +00:00
Justin Clarke Casey
c9ae8fce5e * refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests
* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
2008-12-10 20:57:15 +00:00
Justin Clarke Casey
f38c35b609 * refactor: Move inventory handlers out from UserProfileCacheService
* This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging
* This is also more consistent with the way that item inventory manipulation is handled
* I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
2008-12-10 19:12:59 +00:00
Justin Clarke Casey
93977c2d47 * Establish OpenSim.Framework.Communications.Tests beachhead
* No valid tests yet
2008-12-10 17:43:45 +00:00
Melanie Thielker
e8a43b136b Applying diva's revert patch. Reverts closing child agents and makes
TP more reliable again.
2008-12-10 01:37:31 +00:00
Justin Clarke Casey
557567dcf8 * minor: remove some old logging messages 2008-12-09 16:16:16 +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
Teravus Ovares
354ffcf94e * Fixes control issue at the root of the boat turning problem. 2008-12-08 07:18:30 +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
Melanie Thielker
c5bd7975e8 Change AllowScriptCrossings to be AllowScriptCrossing to match the
.ini files already out there
2008-12-06 18:33:13 +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
idb
7ae9ec217d Implementation of the llDetectedTouch* functions 2008-12-05 16:48:47 +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
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
Melanie Thielker
b80a48841e Remove the bandaid (fast rip) 2008-12-03 03:26:58 +00:00
Melanie Thielker
0edb533c27 Apply Diva's bandaid to OpenSim's scraped knee. 2008-12-03 01:55:40 +00:00
Justin Clarke Casey
18ba6c3510 * minor: A few tiny bits of documentation and log message cleanup before starting something different 2008-12-01 20:28:00 +00:00
Justin Clarke Casey
e31b8be54d * minor: remove 2 mono compiler warnings 2008-12-01 19:02:16 +00:00
Melanie Thielker
ddf765f840 Make the permissions module hook CanResetScript suitable for use 2008-12-01 03:32:48 +00:00
Melanie Thielker
d1841ca94d Mantis #2584 (again)
Next step of diva's TP fixes and HG support
2008-11-30 23:36:56 +00:00
idb
e102ed3ce1 Mantis #2716 Null when linking across objects across two regions.
Now silently fails to link prims in different regions.
2008-11-30 21:19:53 +00:00
Melanie Thielker
379d44fd6d Fix prim crossings, again. 2008-11-30 09:03:55 +00:00
Jeff Ames
077314cdd3 Update svn properties. Add copyright header. Minor formatting cleanup. 2008-11-30 00:51:40 +00:00
Melanie Thielker
b6fef0fdb8 Add configuration values for scripted prim region crossing 2008-11-29 14:26:42 +00:00
Melanie Thielker
af5e9147f0 Start scripts in attachments only after a successful attach. Elimininate
a gratuitious asset fetch when region crossing.
2008-11-29 14:16:09 +00:00
Melanie Thielker
b8e8a33d60 Mantis #2584
Applying a patch from Diva. This patch introduces significant improvements
in teleporting. Thank you, Diva.
2008-11-29 13:49:20 +00:00
Melanie Thielker
1b3a3ffc77 Finally make attachments stay put. Randomize local ID generation to
prevent adjacent sims from using identical Local IDs for the attachment
Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of
information, namely that, due to a bug in the viewer, adjacent sims can't
use the same local ids.
2008-11-29 13:17:21 +00:00
Melanie Thielker
e1153394c1 Stop attachments from twisting away. Thismakes attachments phantom, which
is the proper way to handle this
2008-11-29 07:05:33 +00:00
Melanie Thielker
179d114daa Try to prevent attachments twisting/moving 2008-11-29 04:01:46 +00:00
Melanie Thielker
287c724b55 A try to better attachment crossing. 2008-11-29 01:33:10 +00:00
Justin Clarke Casey
4356fc1006 * minor: remove mono compiler warning 2008-11-28 21:05:35 +00:00
Justin Clarke Casey
5f9ccd486f * test: Extend take object test to finally check that the object made it into user inventory and that it was removed from the scene 2008-11-28 20:58:12 +00:00
Justin Clarke Casey
dfbec673a4 * simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly 2008-11-28 20:11:17 +00:00
Justin Clarke Casey
71e05a5707 * test: Add a wodge of code in order to be able to slightly extend a test to deliver a taken object to a user inventory folder without throwing an exception
* test doesn't actually double check for the presence of the item yet
2008-11-28 19:39:46 +00:00
Justin Clarke Casey
abfb7bd2cf * test: Separate out async deletion methods to test delete and take copy separately.
* The take copy test doesn't currently actually test the take
2008-11-28 17:41:45 +00:00
Justin Clarke Casey
df9b0e9e11 * refactor: Replace derez destiation magic numbers with an enumeration 2008-11-28 17:18:10 +00:00
Justin Clarke Casey
18974b7766 * refactor: rename UserServiceAdmin to UserAdminService 2008-11-28 16:04:01 +00:00
Justin Clarke Casey
7b49c711e9 * minor: Eliminate unused paramter in LocalUserServices constructors 2008-11-28 15:40:44 +00:00