Commit Graph

2530 Commits

Author SHA1 Message Date
Justin Clarke Casey
3aaf303a75 * minor: Downgrade friends module 'client logging out' notice from error to debug 2008-12-12 21:24:39 +00:00
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
Jeff Ames
a8fff196f5 Update svn properties, minor formatting cleanup. 2008-12-11 02:35:51 +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
Justin Clarke Casey
9e02a639e5 * Apply the other patch from http://opensimulator.org/mantis/view.php?id=2315
* This means that LL RAW terrains (one source being the upload/download buttons on the estate dialog in the viewer) are now imported the 'right' way around rather than being 
flipped on the y axis
* Existing RAW terrains before this patch will need to be flipped with the "terrain flip y" command from the console after import
* More details on the mailing lists soon.
-This line, and those below, will be ignored--

M    OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/LLRAW.cs
M    OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
M    OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
2008-12-10 16:50:11 +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
dae84498ed * Enable agent to agent transfer of inventory folders
* It should now be possible to give an entire folder to another avatar instead of just single items at a time
2008-12-09 20:07:15 +00:00
Justin Clarke Casey
7c3bfdd8c9 * Apply terrain flip patch from http://opensimulator.org/mantis/view.php?id=2315
* This allows terrain to be flipped on the x or y axis with the command "terrain flip x" (or y)
* See terrain help from the command prompt
* This is in anticipation of change the way around in which terrain raw files are imported to match that of Second Life (to reduce user confusion and improve useability)
* Thanks jonc!
2008-12-09 17:00:42 +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
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
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
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
Melanie Thielker
0d5d3e0b48 Reinstate closing the EQ when the UDP circuit disconnects. This will likely
also reinstate the texture issue, which needs ot be fixed another way.
2008-12-03 06:33:13 +00:00
Jeff Ames
ab83713a2c Make a couple log4net instances static readonly. 2008-12-03 05:18:28 +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
Homer Horwitz
4480d5527b Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now,
they will use the SOG the SOP belongs to (as it was for the root-SOP already).
2008-12-01 22:28:17 +00:00
Sean Dague
047e54acbc don't close eventqueues when you leave a region. This really does seem
to fix the A -> B -> A issue.  Because the code is very reuse friendly,
it shouldn't cause much additional memory bloat in the sims.

I'm sure this isn't the right fix, but it is progress, and confirms that
the close path while leaving a region is part of the issue.
2008-12-01 21:03:55 +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
Sean Dague
c8abe037a5 fix the "I get no textures if I teleport back to a region I've been in
before" issue.  This involves the EventQueueGet module so I'm not sure
this is the right fix but it appears to work.

When the ScenePresence leaves force a close on it.  The reuse of the
queues doesn't seem to be working, so the forced close causes a new one
the next time in.  This does appear to work.
2008-12-01 16:55:39 +00:00
Sean Dague
21b1218737 attempt to modify the event queue for greater debugging 2008-12-01 16:49:26 +00:00
Melanie Thielker
6c86823803 Mantis #2729
Add a check for script reset permissions to the permissions module
2008-12-01 03:40:41 +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
Homer Horwitz
aaba3c342f Fix usage of reflection where it isn't necessary. 2008-11-29 19:50:53 +00:00