Commit Graph

8705 Commits (1b56fff7c8ca3a3e14e576ecb0137d9d34997205)

Author SHA1 Message Date
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
Mike Mazur 98b5e5062e - IAssetProviderPlugin was changed to IAssetDataPlugin
- Use OpenSim.Data.DataPluginFactory to load data plugins
2009-02-16 02:26:01 +00:00
Mike Mazur 9e88cef033 AssetInventoryServer plugins can't be a dependency for the OpenSim.Data.MySQL addin. 2009-02-16 02:25:53 +00:00
Mike Mazur 16fa7f516a Converted to Linux newlines. 2009-02-16 02:25:44 +00:00
Mike Mazur 617016fa68 Added OpenSim asset frontend plugin. 2009-02-16 02:25:36 +00:00
Mike Mazur 8d30472551 Rename NewAssetServer AssetInventoryServer and fully qualify with
OpenSim.Grid.AssetInventoryServer.
2009-02-16 02:25:25 +00:00
Mike Mazur b3c0cea024 - add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for OpenSim.Data.*.addin.xml
- remove OpenSim.Grid.NewAssetServer.exe from bin/OpenSim.Data.addin.xml
- add prebuild.xml section for OpenSim.Grid.AssetServer.Plugins.OpenSim.dll
2009-02-16 02:25:15 +00:00
Mike Mazur b2a0faf85b - add section to prebuild.xml for building
OpenSim.Grid.NewAssetServer.exe
2009-02-16 02:25:06 +00:00
Mike Mazur 0e09b4a08b Adding
- NewAssetServer code
- NewAssetServer addin manifest
- example AssetServer.ini file
2009-02-16 02:24:57 +00:00
Melanie Thielker 37a00427bc Thank you, cmickeyb, for a patch to ass two string functions
to OSSL.
Fixes Mantis #3173
2009-02-16 01:58:26 +00:00
Melanie Thielker 7d77e0e703 Thank you, patnad, for a patch that adds 3 new discovery functions
to OSSL.
Applied with changes.
Fixes Mantis #3172
2009-02-16 01:22:37 +00:00
diva 312b0f91c4 More guards around SetHeight. 2009-02-15 20:02:13 +00:00
idb 98e7ea015c Fix exception when standing up.
Fixes Mantis #3170
2009-02-15 16:12:58 +00:00
Melanie Thielker 272a319a3e Thank you, Vytek, for a patch that streamlines the delay in the email
module and changes SMTP authentication (applied with changes)
Fixes Mantis #3168
2009-02-15 13:54:34 +00:00
diva 9b19c65450 Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain when it's 0. 2009-02-15 06:12:11 +00:00
diva 52c5b75174 Moving SendInitialData sort of back to where it was before, so that it doesn't interfere with the unit tests. 2009-02-15 05:50:07 +00:00
diva 3d5a9e6748 This started as way to correct Mantis #3158, which I believe should be fixed now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently. 2009-02-15 05:00:58 +00:00
Dahlia Trimble 7731c055e4 Set sculpt map alpha to 255 prior to scaling and meshing. Addresses Mantis #3150 2009-02-15 04:00:00 +00:00
Melanie Thielker 7ea2812a9e Thank you, DoranZemlja, for a patch that addresses some moe llGetNextEmail
issues.
Fixes Mantis #3145.
2009-02-15 01:06:03 +00:00
Charles Krinke 38b1f2dbfc Mantis 3164. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added tests for manager, user and group lists.
* Added test for ban list. The test had to be left as ignored as 
native MySQL throws exception when ban is saved.
* Added utility class to support parametrized unit tests for range checking.
2009-02-14 22:31:39 +00:00
diva a2d17dfff1 Restores the HGWorldMap functionality that has been reduced since a recent refactoring of the WorldMapModule. 2009-02-14 21:26:20 +00:00
Melanie Thielker 4bc52888be Thank you, DoranZemlja, for a patch that implements local inter-object email
delivery.
Leaving Mantis #3145 open so that more code can be added.
2009-02-14 21:25:22 +00:00
Charles Krinke 3542630478 Remove the "?" that I inadvertently got into the first line
of EstateRegionLink.cs
2009-02-14 20:03:16 +00:00
Charles Krinke a583d8ad70 Thank you kindly, TLaukkan (Tommil) for a patch that:
* Created value object for EstateRegionLink for storing the estate region relationship.
* Refactored slightly NHibernateManager and NHibernateXXXXData implementations for accesing nhibernate generated ID on insert.
** Changed NHibernateManager.Save method name to Insert as it does Insert.
** Changed NHibernateManager.Save return value object as ID can be both UUID and uint currently.
** Changed NHibernateManager.Load method Id parameter to object as it can be both UUID and uint.
* Created NHibernateEstateData implementation. This is the actual estate storage.
* Created NHibernate mapping files for both EstateSettings and EstateRegionLink
* Created MigrationSyntaxDifferences.txt files to write notes about differences in migration scripts between different databases.
* Created estate storage migration scripts for all four databases.
* Created estate unit test classes for all four databases.
* Updated one missing field to BasicEstateTest.cs
* Tested NHibernate unit tests with NUnit GUI. Asset databases fail but that is not related to this patch.
* Tested build with both Visual Studio and nant.
* Executed build tests with nant succesfully.
2009-02-14 19:47:02 +00:00
idb 67b0ba71da Add an override for the % operator.
Fixes Mantis #3157
2009-02-14 18:09:08 +00:00