Commit Graph

8129 Commits (e28738c13b4eb3e1a3a2fc6e8edbc2584e50c0fb)

Author SHA1 Message Date
Justin Clarke Casey e28738c13b * Assign incoming items with a random UUID so that archives can be loaded more than once
* Also remove a duplicate write archive call in the unit test which might be causing test failures for people using mono 2.2 (though not 1.9.1, it would seem)
2009-02-17 18:19:24 +00:00
Justin Clarke Casey d205cb5260 * extend inventory archive save test to check for the presence of the item file in the saved archive 2009-02-17 17:40:48 +00:00
diva d347b59ca4 Addresses mantis #3181. Waiting for confirmation from the reporter. 2009-02-17 17:38:11 +00:00
Justin Clarke Casey af57937760 * Apply http://opensimulator.org/mantis/view.php?id=3068
* This enables parsing of xml files and files obtained via http for the -inimaster option as well as -inifile
* Thanks StrawberryFride!
2009-02-17 17:12:10 +00:00
Justin Clarke Casey 4e779bbd81 * switch to pulsing monitors to perform test sync instead of events, since this doesn't allow one to accidentally forget to reset the event 2009-02-17 16:51:09 +00:00
Justin Clarke Casey 014e9e2c6d * Get rid of a unit test race condition based on my misreading of the AutoResetEvent docs
* Hopefully this will reduce the spike in build failures seen in the past few days (since I introduced an addition oar test)
2009-02-17 16:25:59 +00:00
lbsa71 8a39223320 * Ignored even more gens 2009-02-17 16:19:17 +00:00
lbsa71 55d89b73ed * fixed 'path' reference attribute for Nant and VS2008 targets. 2009-02-17 16:15:29 +00:00
Justin Clarke Casey 46fd31346d * Apply http://opensimulator.org/mantis/view.php?id=3178
* Moves llEmail() delay to after e-mail send rather than before, in line with SL
* Thanks DoranZemlja
* Last build failure looks like a glitch, but one that has already happened twice recently which I need to look at
2009-02-17 16:04:43 +00:00
Justin Clarke Casey 6bcf7cbb2c * Apply http://opensimulator.org/mantis/view.php?id=3179
* This slightly extends a lock in WorldCommModule so that it covers the GetNewHandle method which states in it's doc that it assumes locking has happened before the method is 
called
* Thanks DoranZemlja
2009-02-17 15:55:56 +00:00
Justin Clarke Casey 829c84e69f * Apply http://opensimulator.org/mantis/view.php?id=3167
* Clamps textured map rgb values to 0-255
* Thanks DoranZemlja
2009-02-17 15:47:53 +00:00
Justin Clarke Casey 229b69e044 * Establish InventoryArchiveSaved event for unit tests
* This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
2009-02-17 15:39:18 +00:00
lbsa71 2a67c5ec8b * Ignored a bunch of genned files 2009-02-17 14:13:55 +00:00
lbsa71 93465df5e3 * Moved the nifty MySQLEstateData connectionstring password-stripper out into the Util project 2009-02-17 14:12:57 +00:00
Melanie Thielker 3130784934 Re-add the objectID field to the anim pack, that was deemed unneccessary
and dropped nonths ago, because it is required to get smooth region
crossings with AO running. Without it, in some corner cases, anims will
continue to run in an unstoppable state.
2009-02-17 04:16:42 +00:00
diva 2c272762f8 Small change on dealing with ODE physics, so that this warning doesn't happen: "[PHYSICS]: trying to change capsule size, but the following ODE data is missing - Shell Body Amotor". That warning occurred in MakeRoot, because of the call to SetSize, immediately after making the avie physical. 2009-02-17 03:14:08 +00:00
Mike Mazur 76c0935ec7 - remove the Metadata property from AssetBase and return all previous
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122, as mentioned in
  https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
2009-02-17 01:36:44 +00:00
diva 7cc9062137 Major change to how appearance is managed, including changes in login and user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical). 2009-02-17 00:35:52 +00:00
Dr Scofield d97dd2bdb4 cleanup 2009-02-16 20:13:59 +00:00
Dr Scofield 4e1f060dd1 From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>
This changeset fixes a rather nasty script compile bug that manifests
itself under heavy load.
2009-02-16 20:01:54 +00:00
Justin Clarke Casey 80759f708b * Apply http://opensimulator.org/mantis/view.php?id=3166
* Adds estate access list supports to NHibernate data module
* Thanks Tommil
2009-02-16 19:33:11 +00:00
Sean Dague c7a08752c0 line ending fixes and set native eol property 2009-02-16 19:23:53 +00:00
Justin Clarke Casey 93837807ff * refactor: remove AssetCache field hanging off Scene
* This is always available at Scene.CommsManager.AssetCache
2009-02-16 19:15:16 +00:00
Justin Clarke Casey ec07e1aad6 * Iniital inventory archive test code. Doesn't actually do any testing yet 2009-02-16 18:33:05 +00:00
Justin Clarke Casey 1e3acbdfa3 * remove duplicate OpenSim.Region.CoreModules assembly entry 2009-02-16 16:53:43 +00:00
Justin Clarke Casey 9dadf7adfd * Apply http://opensimulator.org/mantis/view.php?id=3165
* Corrects behaviour of llListSort()
* Thanks DoranZemlja!
2009-02-16 16:31:07 +00:00
Justin Clarke Casey 8b513beefa * minor: print out status messages at start and end of inventory archive loading and saving 2009-02-16 16:22:52 +00:00
Sean Dague f4bec00057 From: Alan Webb <awebb@linux.vnet.ibm.com>
The change makes two principal implementation changes:

[1] It removes the hard coded set of possible asset server client
implementations, allowing any arbitrary implementation that has been
identified to the PluginLoader as an appropriate extension. The
extension point for asset server client extension
is /OpenSim/AssetServerClient. All of the old configuration rules have
been preserved, and any of the legacy configuration values will still
work as they did before, except the implementation is now loaded as a
plug-in, rather than as a hard-coded instantiation of a specific class.
The re-hashing of IAssetServer as an extension of IPlugin made upgrading
of the implementation classes a necessity.

Caveat: I have not been able to meaningfully test the crypto-grid
clients. I believe they should work correctly, but the refactoring
necessary to handle plug-in based initialization (vs constructor-based
initialisation) admits the possibility of a problem.

[2] The asset cache implementation, previously introduce as a hard-code
class instantiation is now implemented as an IPlugin. Once again the
previous (configurationless) behavior has been preserved. But now it is
possible for those interested in experimenting with cache technologies
to do so simply by introducing a new extension for the asset cache
extension point (/OpenSim/AssetCache).

I've tested all of the configuration settings, after applying the patch
to a newly extracted tree, and they seem to work OK.
2009-02-16 12:20:31 +00:00
Dr Scofield 81bb87168f cosmetic: adding region name to logging statement 2009-02-16 09:17:55 +00:00
Mike Mazur 68ed72ee22 - replace existing license header in each source file in
AssetInventoryServer with the standard OpenSim license header
- add note about Cable Beach to CONTRIBUTORS.txt
- clean up AssetInventoryServer.ini.example
2009-02-16 02:29:00 +00:00
Mike Mazur e41f761e0d - add restrictions and error handling to plugin loading in
AssetInventoryServer
- assign shorter names to each AssetInventory plugin
- modify AssetInventoryServer.ini.example file so it works out of the
  box
2009-02-16 02:28:51 +00:00
Mike Mazur efbb44b98a Standardize logging messages. 2009-02-16 02:28:43 +00:00
Mike Mazur ab5e332832 - removed OpenSim.Grid.AssetInventoryServer.Metadata class in favor of
OpenSim.Framework.AssetMetadata and related updates in AssetInventory
  server
- removed dependency on MySql.Data.MySqlClient
- commented out the bulk of OpenSimInventoryStorage due to missing
  MySql.Data dependency
- refactor asset creation in OpenSimAssetFrontend
- commented out ForEach implementation, which also depended on
  MySql.Data, until it's supported by OpenSim backends
- commented out some handlers in BrowseFrontend and ReferenceFrontend as
  they relied on either ForEach or the removed Metadata class
2009-02-16 02:28:34 +00:00
Mike Mazur 4c6b7234de We need to return a zero-length byte array from the Handle() routine. 2009-02-16 02:28:24 +00:00
Mike Mazur f8d51e6949 - clean up using references as well as References in prebuild.xml
- comment out a bunch of stuff in OpenSimInventoryFrontendPlugin.cs to
  get rid of warnings
2009-02-16 02:28:16 +00:00
Mike Mazur a928a14c7a Name extension points a little clearer. 2009-02-16 02:28:08 +00:00
Mike Mazur ef19d32a39 - remove dependency on OpenSim.Grid.AssetServer.Plugins.Opensim in
OpenSim.Data.*.addin.xml, this is cruft left over from previous
  testing
- fix example SQLite connection string in
  AssetInventoryServer.ini.example
2009-02-16 02:28:00 +00:00
Mike Mazur 7d9882c04d Fix dependency on non-OpenSim version of OpenMetaverse.StructuredData.dll. 2009-02-16 02:27:51 +00:00
Mike Mazur 5277fc64c0 - change AssetInventoryServer config from XML to INI
- convert AssetInventoryServer logging to OpenSim's log4net
- updated AssetInventoryServer.ini.example file
2009-02-16 02:27:43 +00:00
Mike Mazur 529dd66ed0 - remove dependency on ExtensionLoader.dll (DBConnString.cs can go)
- bring config system in line with other servers
- add new plugin filter class which filters on ID
- update AssetInventoryServer.ini file
2009-02-16 02:27:34 +00:00
Mike Mazur f8ea274090 - asset server functionality works with OpenSim's HttpServer
- start of removal of AssetInventoryServer.Metadata class
2009-02-16 02:27:25 +00:00
Mike Mazur 07b8d51da8 AssetInventoryServer now compiles while using the standard OpenSim
console and HttpServer. It doesn't work though.
2009-02-16 02:27:17 +00:00
Mike Mazur 1778f799ba Update to new generic DataPluginFactory calls. 2009-02-16 02:27:09 +00:00
Mike Mazur f1e71ca5e1 - add list for backend plugins and Dispose() all plugins on shutdown
- fix some plugin names
- remove most references to ExtensionLoader
- remove commented out AssetInventoryServer blobs from prebuild.xml
2009-02-16 02:27:01 +00:00
Mike Mazur 932e591e05 Move NullAuthentication and AuthorizeAll extensions to plugins. 2009-02-16 02:26:52 +00:00
Mike Mazur 02cf9f7e9f Move BrowseFrontend and ReferenceFrontend to
OpenSim/Grid/AssetInventoryServer/Plugins.
2009-02-16 02:26:44 +00:00
Mike Mazur af64c1ee9e Migrate OpenSim inventory frontend to load with Mono.Addins. Everything
should compile and it seems even creating users works somehow.
2009-02-16 02:26:36 +00:00
Mike Mazur 74a2bd237a Add OpenSim & Simple inventory storage plugins and Null metrics plugin. 2009-02-16 02:26:27 +00:00
Mike Mazur 3f3dfd7ac1 - added Simple AssetInventoryServer plugin (asset storage only)
- removed OpenSim storage and frontend classes in Extensions dir
- put OpenSim plugins in
  OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim namespace
2009-02-16 02:26:18 +00:00
Mike Mazur dbee7fcb21 - implement and load NullMetrics module in AssetInventoryServer
- update AssetBase de/serialization in AssetInventoryServer
2009-02-16 02:26:09 +00:00