Commit Graph

9130 Commits (225252f48ee0e58d8bd9955ceae6c4c31e4d1a3d)

Author SHA1 Message Date
Melanie Thielker 225252f48e Add the HG asset module skeleton 2009-05-10 22:55:44 +00:00
Melanie Thielker b2111f6a19 Enhance the submodule loader and port the enhancements to the services base 2009-05-10 22:31:10 +00:00
Adam Frisby 54ab7d7ceb * Rather than crash the region simulator, declare the teleport a failure if the "success" mapping doesn't exist. (also; I hate LLSD.) 2009-05-10 21:35:07 +00:00
Adam Frisby dd8c01d7a7 * Attempting to fix NullRef exception in inventory. 2009-05-10 21:00:07 +00:00
Adam Frisby 2d4166fecf * Debugging some inventory related NullRefException's. 2009-05-10 20:50:38 +00:00
Adam Frisby 53a350573e * Further testing against core packet issue. 2009-05-10 20:31:45 +00:00
Adam Frisby da948a992a * Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem. 2009-05-10 20:25:05 +00:00
Melanie Thielker 65c0996a9c Use the new async handling class to actually make the new asset service's
async request perform asynchronously
2009-05-10 16:51:14 +00:00
Melanie Thielker a983f2a3ac Create SynchronousRestObjectRequester and make SynchronousRestObjectPoster
use that. Mark SynchronousRestObjectPoster.BeginPostObject as obsolete.
2009-05-10 16:31:10 +00:00
Melanie Thielker dc4f31db1a Create an async form of the RestObjectPoster. Rename the file (but not the
class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to
cache
2009-05-10 16:20:25 +00:00
Melanie Thielker 1a910b6e1d Connect up the new asset cache and introduce an asynchronous call path
for asset retrieval (full asset only) to ease migration to the new system
2009-05-10 14:03:06 +00:00
Melanie Thielker d8e1842d25 Add some asset cache plumbing. Change the generic cache from UUID to string
keys to allow caching the new crop of URI identified objects.
2009-05-10 12:27:05 +00:00
Melanie Thielker 14a6880352 Fix the build break 2009-05-10 00:40:08 +00:00
Melanie Thielker 13b2ff83df Small asset cache addition. Comment a debug output left in CAPS 2009-05-10 00:30:51 +00:00
Melanie Thielker 89d921c3b2 COmmitting the asset cache skeleton 2009-05-09 23:47:20 +00:00
Homer Horwitz 1d234ca83f Fixed handling of inventory a bit
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type.
- The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string.
- Replaced several magic numbers by their corresponding enum.
- Fixed the invType for gestures and animations in the library.
This should fix Mantis #3610 and the non-terminating inventory loading
2009-05-09 21:11:12 +00:00
Adam Frisby c534d7f614 * Code to make MRM debugging easier. 2009-05-09 17:44:12 +00:00
Melanie Thielker 93d54d7652 Prevent normal (Text) IM from being logged by the group message module in
debug mode.
Fixes Mantis #3609
2009-05-09 17:02:03 +00:00
Melanie Thielker e4236a4233 Fox a boo-boo in ExtraParams - a packet with no data blocks could crash
the session. Also allow multiple data blocks.
2009-05-09 12:04:40 +00:00
Teravus Ovares b76405f50a * Cripples the SampleMoneyModule code.
* The OpenSimulator core developers have voted to remove all currency functionality from OpenSimulator leaving the 'IMoneyModule' interface in.  This affects all systems that used the example money module.   This effects All systems that used the XMLRPC External Money Module Hooks interface.   If you previously used this interface, please consult with the OpenSimWi Redux folk who are keeping the old module with this interface up to date.
* A notice to the opensim-dev mailing list to come as well..  since this is likely a breaking change for some.
2009-05-09 05:56:10 +00:00
Teravus Ovares dac793ea47 * Break out the SampleMoneyModule to a new namespace
* Create the OpenSim.Region.ReplaceableModules namespace for modules that we intend to have people replace (see readme)
* Create the OpenSim.Region.ReplaceableModules.MoneyModule namespace
* Put our current Sample MoneyModule in this namespace. (more modifications here next commit)
2009-05-09 05:21:56 +00:00
Melanie Thielker b3d29aaeb3 Make remote assets work through the new server system 2009-05-09 04:03:32 +00:00
Melanie Thielker b2b13c5a42 Plumb the remote asset hookup, all but the actual requests 2009-05-09 03:08:11 +00:00
Melanie Thielker c1e7352d75 Add the asset service connectors and sample config. READ WARNINGS!!! 2009-05-09 02:49:55 +00:00
Melanie Thielker cc2b072f6e FInish basic asset server functionality on the new asset server 2009-05-09 01:00:21 +00:00
Melanie Thielker a582d1b1a2 Add the /data and /metadata retrieval modes to the new asset server.
Not functional yet.
2009-05-09 00:39:01 +00:00
Justin Clarke Casey 09a6faf0b7 * Fix windows build. Thanks RemedyTomm for the patch 2009-05-08 19:32:10 +00:00
Justin Clarke Casey 567e0d032c * break out 'xml2' deserialization from sog 2009-05-08 19:18:37 +00:00
Melanie Thielker c8d44971c4 Implement an ingenious solution to pacekt pool performance suggested by
dlslake.
2009-05-08 19:03:01 +00:00
Melanie Thielker a1631c496e The new asset server now actually serves existing assets 2009-05-08 18:45:52 +00:00
Sean Dague c1a54c02d3 fix up the comments a little
From: Sean Dague <sdague@gmail.com>
2009-05-08 18:09:48 +00:00
Sean Dague b333690969 added WebFetchInventoryDescendents CAP
From: Robert Smart <smartrob@uk.ibm.com>
2009-05-08 18:09:41 +00:00
Justin Clarke Casey 9f39a490b5 * refactor: break out sog original xml serialization to a separate class 2009-05-08 18:05:54 +00:00
Justin Clarke Casey fcfc97a4bf * minor: rename xml sog serialization method for readability 2009-05-08 16:44:00 +00:00
Justin Clarke Casey 032e3b49eb * refactor: Break out original xml object serialization into a separate class
* No functional change
2009-05-08 15:47:59 +00:00
lbsa71 54b5346f16 * Extracted common superclass for GetAssetStreamHandler and CachedGetAssetStreamHandler
* Added some more tests
2009-05-08 15:44:35 +00:00
Sean Dague 6b88a205d6 another possible cause of some of the inventory wierdness is the 1/2 implemented
OSP resolver, and the caching of the uuid seperate from the string that is a UUID.
Change this behavior back to something that ensures the data for the 2 is the same.
Put the 2 unit tests that depend on the new behavior into ignore state.
2009-05-08 15:40:39 +00:00
Sean Dague 51a9c91909 WARNING: contains migration
Since creatorID is no longer treated as a UUID type in the code from the database we need to make sure that it isn't null in the database.  This updates all empty string and null values for this column to the Zero UUID, and makes the column a not null definition with a default fo the Zero UUID.
2009-05-08 14:16:07 +00:00
Melanie Thielker aec069d161 More additions to the nextgen reference UGAIM 2009-05-08 14:08:41 +00:00
Sean Dague 3485b2b1c3 now that creatorID is no longer a strict UUID, and the column can still be NULL,
we lost protection from NULL strings.  This puts some protection in for that case.
This may address many of the inventory issues that are being seen intermitently.
2009-05-08 12:28:22 +00:00
lbsa71 8ac73be917 * Introduced new HttpServer.Tests project
* Split the GetAssetStreamHandler testing into separate tests for BaseRequestHandler
* Ignored some gens
2009-05-08 06:11:44 +00:00
Dahlia Trimble bf5fda8908 Thanks lulurun for a patch which addresses Mantis #3599: Exceptions when AssetInventoryServer receive a "DeleteItem" request 2009-05-08 04:39:45 +00:00
Dahlia Trimble bd3a4e5f01 Added a Copy() method to PrimMesh and SculptMesh as suggested by dmiles. Sync PrimMesher.cs and SculptMesh.cs with PrimMesher.dll r36. 2009-05-08 03:04:45 +00:00
Sean Dague f532767c6a fix svn properties 2009-05-08 00:47:32 +00:00
Sean Dague 6d36985bbc remove misleading comment 2009-05-07 19:37:25 +00:00
Justin Clarke Casey aaad2fc8ff * minor: use system ascii encoding rather than newing up our own object 2009-05-07 19:27:38 +00:00
Sean Dague ce0a84cbc0 instrument most of the tests with a new InMethod function that may help us figure
out where that pesky deadlock is during test runs.
2009-05-07 19:07:08 +00:00
Dr Scofield 84815ab271 RemoteAdminPlugin was using a mixture of both "true"/"false" and 0/1
(XmlRpc boolean encoding) to return boolean values --- sometimes both
variants in the SAME XmlRpc method! As XmlRpc DOES have a proper
encoding for boolean, i think we should use that --- having a mixture
of both is a bad thing in any case.

this patch changes all "true"/"false" boolean "encodings" to just
true/false which will be properly encoded by XmlRpc.

BIG FAT NOTE: this might/will break existing customers of
RemoteAdminPlugin --- make sure your scripts, apps, etc get updated
accordingly (unless you have already been dealing with this mess
before)
2009-05-07 15:54:13 +00:00
Justin Clarke Casey 48c2e7796f * minor: Quieten down temporary profile resolver to only log when it's actually dealing with a temporary profile 2009-05-07 14:23:26 +00:00
Justin Clarke Casey 2284c8509f * Consistently used dashed uuid format for mysql region data, as is done for all other tables
* This revision contains a mysql data migration.  Please backup your mysql region database as a precaution before using this code.
* I also advise that you do a runprebuild[.sh|.bat] and a clean build ("nant clean build" if you're using the command line).
* This change is needed for future id schemes
2009-05-07 14:20:32 +00:00