Commit Graph

9169 Commits (4db2f71c4577e2ae32adbf096231461393c36c1d)

Author SHA1 Message Date
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
Justin Clarke Casey 7440681062 minor: Inconsquential change to provoke another build 2009-05-07 13:59:38 +00:00
Justin Clarke Casey e033f4028d * Consistently use dashed uuid format for sqlite region data, as was previously done for sqlite inventory data.
* This revision contains a data migration.  Please backup your sqlite region db 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 13:20:29 +00:00
Dr Scofield 547f883f74 From: Alan M Webb <alan_webb@us.ibm.com>
This update implements support for creation of one or more
      default avatars from information contained in a file
      default_appearance.xml. Each avatar may have any number of
      "outfits" with each outfit representing a different ensemble.

      The default avatars get created the first time the RemoteAdmin
      interface is used to define a user.

      I've tested this quite a bit, but it will benefit from lost of
      attention, I'm sure.
2009-05-07 12:33:53 +00:00
Melanie Thielker aa4e42069b Change avatar updates to be processed the same way object updates are, e.g.
packet length check. More changes to come
2009-05-07 12:06:07 +00:00
Dr Scofield 3312938f6b From: Alan Webb <alan_webb@us.ibm.com>
logs error message on empty data in DynamicTextureModule
2009-05-07 11:58:45 +00:00
lbsa71 f3db3d6a00 * Added some more GetAssetStreamHandlerTests
* In the process, caught a potential bug where the handler would allow paths not starting with the registered prefix
2009-05-07 06:31:16 +00:00
Dr Scofield 1352a19838 refactoring Scene.NewUserConnection() to be simpler and clearer. 2009-05-06 20:02:49 +00:00
lbsa71 1afdf2ee1f * Added some GetAssetStreamHandlerTests
* Minor tweaks to attain testability
2009-05-06 17:02:51 +00:00
Charles Krinke c84abfa9b1 Thank you kindly, Fly-Man- for a patch that:
Adding more SL likeness for Email module in CORE.
I've added some SL likeness to the Email module so 
that it looks more like emails going out in the 
same standard as SL uses
2009-05-06 02:29:29 +00:00
Homer Horwitz 7e731b024a Allow temp-on-rez prims to take part in physics (e.g. temp-on-rez bullets)
This makes re-rezzed temp-on-rez objects visible, too. Fixes Mantis #3405
2009-05-05 19:44:19 +00:00
Justin Clarke Casey 78425e392b * Change automatic properties back to manual get/set
* Automatic properties are only supported after .Net 2.0, causing these to fail when building via nant on Windows (and probably visual c# 2005 too)
* Hopefully these can be used once building support in Visual C# 2005 is dropped.
2009-05-05 17:09:46 +00:00