Commit Graph

658 Commits (5af10a61e4e9fa21281981aeb81b2101b4714b75)

Author SHA1 Message Date
lbsa71 a3c91de17d * Reverting the test restructuring as, on second thought, this is not at all how the tests are structured.
(pt2)
2009-06-07 08:51:10 +00:00
lbsa71 7431b9a3f9 * Restructured Scenes Tests to follow (what I conceive of as being) current directory standards. (pt 2 - thank you, svn. not.) 2009-06-05 06:22:42 +00:00
Melanie Thielker 14bb372bb0 Committing the skeleton of the authentication service 2009-06-03 20:14:41 +00:00
lbsa71 6f37fd8399 * Pried apart the ODE tests. This fixes mantis #3212 2009-06-02 18:12:34 +00:00
Justin Clarke Casey fa04937a82 * Add xml2 load test 2009-05-29 16:11:33 +00:00
Dahlia Trimble 42fa7cf989 plumbing for future sculpt map caching 2009-05-29 05:42:06 +00:00
lbsa71 0787967f59 * So, giving up on my efforts to de-duplicate the asset handlers. I'll just service commit my current state, then start over and this time concentrating only on the new handlers.
* Fixed some erroneous refs in Tests.Common
2009-05-27 18:27:28 +00:00
Sean Dague 85e91ddb67 Revert "* Added IntegrationTest Attribute and tagged the ODETestClass"
This reverts commit 8f0096cc7b112fea8f69f391224911f624482747.

To get us back to compiling on fresh checkouts.
2009-05-27 12:53:29 +00:00
Sean Dague 9b003a2a5d the new Tests were defined before the Tests.Common dll in prebuild,
this causes nant to choke on a fresh checkout.  This should fix the build
break
2009-05-27 12:41:18 +00:00
lbsa71 17f0a4be53 * Added IntegrationTest Attribute and tagged the ODETestClass 2009-05-27 12:36:58 +00:00
lbsa71 892406248a * Added OpenSim.Server.Handlers.Tests project
* Added AssetServerGetHandlerTests - not really wired up yet; more to come.
* Ignored some gens
2009-05-27 11:54:17 +00:00
diva f5efb0061a Forgot to include this on the last commit. 2009-05-26 21:35:24 +00:00
diva cb704ecde1 Beginning of refactoring RESTComms/LocalComms in the new style of services and connectors. This commit has the beginning of the In connector, not the Out. Nothing of this is finished yet, and it doesn't run. But it should compile ok. 2009-05-25 20:30:24 +00:00
Dr Scofield 7929970257 letting TestClient implement IClientCore as well to fix test case
failure due to new NAT code
2009-05-25 10:40:09 +00:00
diva 006c2c2e8f Fixes map image on link-region (HG). 2009-05-24 02:09:20 +00:00
Arthur Valadares a85f496f4d * Upgraded LLStandaloneLoginModule, LLProxyLoginModule and LLClientStackModule to new
region modules. This was needed because the stand alone and grid modules weren't deleting
old scenes, which caused an issue when deleting and recreating a region with same name
on same x,y coordinates. Tested it on standalone and issue is fixed. Requires prebuild
to be run again.

Fixes Mantis #3699
2009-05-21 20:28:59 +00:00
Melanie Thielker 744100821d Refactor RegionAssetService to load the service connector rather than
duplicating it's functionality
2009-05-19 00:36:06 +00:00
Melanie Thielker 4789500d32 Rename OpenSim.Server.exe to OpenSim.Services.exe and the corresponding
ini to OpenSim.Services.ini.example, which makes soooo much more sense.
Thanks, Adam!
2009-05-18 21:14:08 +00:00
Melanie Thielker f7dbfe63e5 This commit changes the way the new server works. There is no longer a server
exe for each function, rather each function is a connector and the server ini
loads them. If you like your multiple processes, use -inifile with the server.
Otherwise, you get one server process that serves all configured funcions, see
example .ini. The new exe is OpenSim.Server.exe. Clean your bin, loads of names
have changed!
2009-05-18 21:04:25 +00:00
Melanie Thielker 2534078380 Refactor: Change "Servers" to "Server", since the can only be one. Break
the handlers out of the asset server context into a generic scope.
2009-05-18 12:36:59 +00:00
Melanie Thielker 72adbd976c Nonowrking intermadiate commit,, DO NOT USE 2009-05-18 12:10:56 +00:00
Melanie Thielker cb2ce61876 Move the connectors under services for reasons of application logic. Remove
the user server skeleton in preparation for introducing a generic server
2009-05-18 11:43:37 +00:00
diva f4cee7c97c Duh, prebuild was wrong. My evil twin sister did it. 2009-05-17 01:52:14 +00:00
diva aac8ca0411 HG asset transfers starting to work -- GETs only for now. 2009-05-17 01:38:43 +00:00
diva dc82ba4af5 Fixed minor problem in prebuild.xml 2009-05-15 05:14:59 +00:00
diva 5e4fc6e91e Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems: 
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Melanie Thielker 3aa6fd0d2c Move the server request handlers into a separate lib nunit can digest 2009-05-14 11:26:14 +00:00
Melanie Thielker d843b897b2 Move the connector for the new asset server to a connectors project. Inherit
the region module version from this. This enables inter-server connections
to reuse connetor code from region modules.
2009-05-14 06:18:18 +00:00
lbsa71 40e95cab02 * Added some more tests to the GetAssetStreamHandlers 2009-05-13 17:11:53 +00:00
Melanie Thielker 16efb78698 Changes to the new user system to add the modularity developed for the asset
system
2009-05-11 22:54:09 +00:00
Melanie Thielker 4cd85e5c9e resolve a circular dependency 2009-05-11 21:11:46 +00:00
Melanie Thielker f948fab4da Add AssetService of type IAssetService to Scene 2009-05-11 21:04:27 +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 c1e7352d75 Add the asset service connectors and sample config. READ WARNINGS!!! 2009-05-09 02:49:55 +00:00
Justin Clarke Casey 09a6faf0b7 * Fix windows build. Thanks RemedyTomm for the patch 2009-05-08 19:32:10 +00:00
Melanie Thielker a1631c496e The new asset server now actually serves existing assets 2009-05-08 18:45:52 +00:00
Melanie Thielker aec069d161 More additions to the nextgen reference UGAIM 2009-05-08 14:08:41 +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
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
lbsa71 1afdf2ee1f * Added some GetAssetStreamHandlerTests
* Minor tweaks to attain testability
2009-05-06 17:02:51 +00:00
Melanie Thielker f51f552baa Plumb the database into the new server skel 2009-05-05 04:48:09 +00:00
Melanie Thielker d1c9a41be0 Plumb the new server connector logic 2009-05-05 04:37:06 +00:00
Melanie Thielker 5e28a5982d Committing the user server executable skeleton 2009-05-05 03:15:41 +00:00
Melanie Thielker 96774752c8 Add an interface skeleton for user services 2009-05-05 03:01:17 +00:00
Melanie Thielker 91ce6c90b5 Committing the HTTP (REST) server base 2009-05-05 02:37:04 +00:00
Melanie Thielker 500f71ca1f Add the missing reference to fix windows build break 2009-05-05 01:41:48 +00:00
Melanie Thielker f28b380c4a Committing the new server base 2009-05-05 01:34:41 +00:00
Melanie Thielker 61afd6db2c Remove a superfluous reference 2009-05-04 20:50:37 +00:00
Melanie Thielker acfb5051cd Intermediate commit. WILL NOT COMPILE! 2009-05-04 20:15:39 +00:00
Melanie Thielker f80ba373fa Prebuild changes to allow the console to reference the http server 2009-05-04 15:04:24 +00:00
Melanie Thielker 66e25abbfe Plumb conifg into the client views. Add config option to configure packet
dropping.
2009-05-02 17:31:49 +00:00
Dr Scofield a89f60d4c9 From: Alan Webb <alan_webb@us.ibm.com> & Dr Scofield <drscofield@xyzzyxyzzy.net>
- Adds an admin_modify_region call to allow changing of parcel voice
  settings and changing of public/private status
- add boolean "public" and boolean "enable_voice" to
  admin_create_region XmlRpc call to allow specifying of
  public/private status and to allow enabling voice for all parcels;
  also added config variables to allow setting of defaults for those
- fixing cut-and-paste artefacts
2009-04-29 09:05:01 +00:00
Adam Frisby 2af4ca44a6 * Adds additional background layer for VWoHTTP ClientStack
* Implements asset handling.
2009-04-23 04:51:29 +00:00
Justin Clarke Casey 8ca805009b * Fix the other windows build break. Hopefully that shoudl be the last one 2009-04-22 18:48:49 +00:00
Justin Clarke Casey 3ace45a839 * Fix windows build from last commit 2009-04-22 18:36:45 +00:00
Adam Frisby d6b62b677c * Committing stub VW-over-HTTP ClientStack. (2/2)
* Minor MRM tweak.
2009-04-22 10:11:12 +00:00
Charles Krinke 659b55905d Thank you kindly, MCortez, for a patch that:
Added is a patch that adds a rough Groups implementation. This patch allows 
the creation, adding and maintaining Groups, Roles and Members. Work has begun 
on a very naive implementation of messaging, and minimal support for notifications 
{no attachments yet}. Proposals are not yet supported, but are on the to-do list.
This implementation is not active by default, and must be configured in 
OpenSim.ini to become active.
2009-04-18 21:33:48 +00:00
Charles Krinke b4cb45bb79 Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:
This patch adds extended status reporting with the url 
http://server:port/simstatusx/ [^] . The data is returned 
in json format as "text/plain" type.
2009-04-17 21:48:48 +00:00
Melanie Thielker c98287249e Add the XML manifests needed to get the new style modules to load.
Scripting now works again
2009-04-15 23:59:15 +00:00
Teravus Ovares 53026affb3 * Instead of referencing mesh stuff in the physics plugin.. change the IMesh Interface. (blame prebuild) 2009-04-11 00:11:54 +00:00
Teravus Ovares daac8ad2db * Tweak prebuild #2 2009-04-10 23:55:03 +00:00
Teravus Ovares 881ab5412f * Fixes missing meshing reference. 2009-04-10 23:32:29 +00:00
lbsa71 5572a00295 * Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew* 2009-04-09 16:40:02 +00:00
Homer Horwitz ae98a12235 And another fix for the windows build 2009-04-05 18:36:05 +00:00
Homer Horwitz 9af49f4c59 Try another fix for the Windows build break 2009-04-05 18:32:01 +00:00
Homer Horwitz 3e17e578a4 Fix windows build break. Hopefully. 2009-04-05 18:24:58 +00:00
Homer Horwitz 648452dd91 - Add new RegionModulesControllerPlugin to the application modules
- Change several classes to use the new plugin for handling of region-modules
  (NOTE: No regionmodule is using this yet)
- Add necessary prebuild parts (don't forget to runprebuild)
Attention: Work in progress. This shouldn't break anything, but you never know...
2009-04-05 17:08:11 +00:00
Teravus Ovares e592d03843 * Committing what I have on the BulletDotNETPlugin that I have so far.
* It's not ready to try.   It doesn't do what you expect in many ways.
* It throws errors and prints jibberish on the console
* Test it out only if you're brave and you've backed up first.
* The opensim.ini line is physics = BulletDotNETPlugin
2009-04-05 08:35:38 +00:00
Charles Krinke 54a27f9f5c Thank you kindly, MCortez for a patch that:
With some support from HomerH, this patch adds support for Wind 
Model plugins via the mono.Addin framework.
* Adds console & OSSL access to Wind Parameters
* Adds plug-in support for custom wind models
* Provides two example Wind Model plug-ins
Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^] 
-- will move this documentation to http://opensimulator.org [^] 
after the patch has been committed.
2009-03-31 02:33:19 +00:00
Teravus Ovares 52c482a7a7 * This updates LibOMV to the current release 0.6.0 on March 19 2009
* Important:  HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll.   It still uses the Same HttpServer namespace though.
2009-03-27 22:13:09 +00:00
Justin Clarke Casey 152b02c832 * Ooops, wasn't that - it was the lack of a Types reference isntead 2009-03-26 18:04:35 +00:00
Justin Clarke Casey 58095b2802 * Add missing '.dll' to Serialization OpenMetaverse use to fix windows build break 2009-03-26 18:02:50 +00:00
Justin Clarke Casey 93b26f8933 * iars: Serialize information about item creators to archive 2009-03-26 17:25:12 +00:00
Mike Mazur f28886e26d Rename OpenSim.Framework.Archive to OpenSim.Framework.Serialization
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-16 00:12:25 +00:00
Mike Mazur 7b2977d625 Move ArchiveConstants to OpenSim.Framework.Archive
- move a couple constants from InventoryArchiveConstants to
  ArchiveConstants, now only one of these is needed
- change InventoryArchiveConstants references to ArchiveConstants
- remove InventoryArchive AssetInventoryServer plugin dependency on
  OpenSim.Region.CodeModules
- trim trailing whitespace
2009-03-12 06:04:17 +00:00
Mike Mazur f784620780 Moving TarArchive to OpenSim.Framework.Archive
We now build OpenSim.Framework.Archive.dll which aims to contain code
used for archiving various things in OpenSim. Also remove trailing
whitespace.
2009-03-12 06:03:59 +00:00
Teravus Ovares 5a6e502266 * Fix silly windows prebuild borkage. To use System.Xml, the project must have it as a reference in prebuild.xml 2009-03-11 13:38:36 +00:00
Mike Mazur c20e0286d3 Adding AssetInventory InventoryArchive plugin
This plugin exposes an HTTP handler on the AssetInventoryServer which
serves a gzipped tar file containing the contents of a user's inventory.
The assets referenced by the inventory are not yet archived. At the
moment only export functionality is implemented, restore functionality
is missing.

prebuild.xml had to be shuffled around a bit in order for the plugin to
build, as it has a dependency on OpenSim.Region.CoreModules.

Also, close a MemoryStream in a few places.
2009-03-11 07:38:35 +00:00
Mike Mazur 3676062277 Use Inventory{Item,Folder}Base in AssetInventoryServer.
Also the first inventory storage methods are implemented.
2009-03-05 08:29:52 +00:00
MW 171015f65f Moved Linden protocol login handling to modules in OpenSim.Client.Linden. There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server)
Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services. 
Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-03 15:41:21 +00:00
MW 03b8eddc37 Added OpenSim.Client.Linden which is a (non shared) region module that creates and initialises the LindenClientStack (or actually whatever client stack was set in opensim.ini) for that region. Currently this module is still at a early stage so just for testing, so its hardcoded to be disabled. To enable first turn off auto creation of the client stack in opensimbase (see last revision) and then in OpenSim.Client.Linden.LLClientStackModule change bool m_createClientStack = false; to true. 2009-03-02 17:18:24 +00:00
MW 5626d43259 Changed the CreateCommsManagerPlugin so it requests a IRegionCreator and subscribes to the OnNewRegionCreated event on that interface rather than requesting the LoadRegionsPlugin directly.
Removed the reference to OpenSim.ApplicationPlugins.LoadRegions from the CreateCommsManagerPlugin project.
2009-02-27 17:03:27 +00:00
MW bb9ba1602b Changed the order of the OpenSim.Grid.GridServer and OpenSim.Grid.GridServer.Modules projects in prebuild.xml. Hopefully this will fix the mono build problem. 2009-02-27 16:07:11 +00:00
MW d45fa9c2df Added GridServerPlugin class (which implements IGridPlugin) to OpenSim.Grid.GridServer.Modules.
This class handles all the initialising of the grid server.
And made GridServer into basically a generic server that just loads plugins. 
So this is a step towards having a generic server that loads service modules.
2009-02-27 15:57:09 +00:00
MW 95230c244c Applied patch from Mantis# 3240, thanks tlaukkan/Tommil 2009-02-27 14:50:49 +00:00
Sean Dague 7f727bd33e This adds a new osGetAgentIP function with threat level set to High. It
isn't tested, but it doesn't break anything else.  The reason for this
function is to let in world tools be used to coordiante out of world
network services that need access to client ip addresses.
2009-02-26 22:37:02 +00:00
MW e2d30a0244 Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin.
Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call. 
Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
2009-02-26 21:30:12 +00:00
lbsa71 309eaf4735 * Applied a patch that: Added prim parameters support to MXP client
* Updated MXP to contain extension fragment with prims and updated MXPClientView to fill in the parameters.  
  * Added google protobuffers dll.
  * Update MXP dll.
  * Updated MXPClientView to send prim parameters as Perception event extension
  * Started OpenSim and connected with IdealistViewer via MXP and ensured from log that parameters are being sent.
  * Ensured that nant test target runs succesfully.  
This closes mantis #3229. Thanks, tlaukkan!
2009-02-25 16:29:43 +00:00
MW 98178b4e9f Same treatment for the MessagingServer... added OpenSim.Grid.MessagingServer.Modules for the modules/components of it. 2009-02-24 16:13:16 +00:00
MW 021225675f Added OpenSim.Grid.GridServer.Modules, for the GridServer modules/components. 2009-02-24 15:57:25 +00:00
MW ea26bd4153 First step in separating out the Userserver console command handling to a "module".
Added OpenSim.Grid.UserServer.Modules project/dll which now contains the components of the userserver. With the OpenSim.Grid.UserServer being the setup and initiate exe.
2009-02-24 15:37:03 +00:00
MW bc5018b3c6 Updated MessagingServer to use OpenSim.Grid.Framework 2009-02-24 14:12:25 +00:00
MW 6954013d82 Added OpenSim.Grid.Framework project.
Changed the Gridserver so it uses/references OpenSim.Grid.Framework
2009-02-24 13:53:38 +00:00
Mike Mazur dba8c90611 Load default assets when AssetInventory starts. 2009-02-23 04:39:08 +00:00
Charles Krinke 8f55b9d735 Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
2009-02-22 20:52:55 +00:00
Adam Frisby 937a2e6dca * Adds initial support for the MXP Virtual Worlds protocol (http://www.bubblecloud.org)
* Handled via the MXPModule.cs located in OpenSim.Client.MXP namespace.
* Also implements MXPClientView and MXPPacketServer for IClientAPI compatibility.
* No changes were required to Core to implement this - the thing is self contained in OpenSim.Client.MXP.dll.
* Includes reference implementation of MXP as MXP.dll - this is under the Apache 2.0 license.
* Requires OpenSim.ini setting to enable. "[MXP] \n Enabled=true \n Port=1253"
* May break. Highly untested.
2009-02-22 08:48:55 +00:00
lbsa71 5e39e515f9 * Another stab at removing AssetServer.exe dependencies 2009-02-20 02:26:27 +00:00
lbsa71 35486403e3 * Fixed erroneously reverted xmlns
*sigh*
2009-02-19 20:03:17 +00:00
lbsa71 b99d9bdeb1 * Reverted the AssetServer fix, apparently something was dependent on IAssetDataPlugin being in OpenSim.Data 2009-02-19 19:32:53 +00:00
lbsa71 1bcc489f5b * Moved the AssetStreamHandlers to OpenSim.Framework.Servers
* And there, all refs to OpenSim.Grid.AssetServer.exe gone.

/me takes a bow.
2009-02-19 19:04:51 +00:00
lbsa71 d2617149ca * Changed Prebuild.xml back to specifying xmlns
* Consequentially, dropped Prebuild solution from Prebuild.xml as the 1.7 schema does not allow for more than one solution per xml file. (*rolls eyes*)
2009-02-19 18:48:46 +00:00
lbsa71 06ece33bee * Okay, so finally got my head around this. Problem is that upstream Prebuild copied dlls promiscuously, and this led to the references being all mixed up (/bin dlls overwritten by different versions on every csc)
* Something that thus needs fixing is the fact that ProjectReferences has to be marked 
    <ProjectReference>
      <Private>False</Private>
    </ProjectReference>
but that is not configurable in the upstream Xml Schema. I've hardcoded it in our repo for now.
2009-02-19 18:01:33 +00:00
lbsa71 549c615e0e * reverted the revert of the revert. What can I say? I'm calling this a day, and will get back up on the horse tomorrow. 2009-02-19 14:54:21 +00:00
lbsa71 40d88ce905 * Reverted the revert, as it seems the problem was the 1.0.* in the separate projects. 2009-02-19 14:35:11 +00:00
lbsa71 e36c452d4e * Reverted Prebuild commit due to strange run-time errors. 2009-02-19 14:16:22 +00:00
lbsa71 dd9640cda8 === PREBUILD UPSTREAMS UPDATE : POTENTIAL BREAKAGE ===
* Applied upstreams changes to allow for auditing and debugging in our various environments.
* This should, in theory, bring back 'multiple ref dirs'.
* Temporarily Removed xmlns because prebuild-1.7 schema does not allow for multiple solutions per prebuild node (This will be a moot issue once the Prebuild node is moved out of prebuild.xml)
* Autotools target: Various minor fixes
* MonoDevelop Target : No changes.
* Nant Target: Various minor fixes, support for net-3.5 and mono-2.0/3.5 targets
* Sharpdevelop targets: No changes.
* VS Targets: Refactored into using VSGenericTarget, and supports 2.0-3.5
* XCode Target: No changes.

--- Regressions and outstanding issues ---
* The Solution is assigned a random Guid - will lead to unnecessary reloads and loss of user settings.

--- New features of Prebuild 2.0.4 ---
* (Better) support for Web, WinForms and Database Projects and build actions
* Conditional Framework Version compilation support (1.1, 2.0-3.5)
* ArrayList -> List<>, ICollection -> IList
  (this means Prebuild can generate 1.1 solutions, but can't itself be built under 1.1 - how very meta)
* Added <?include file="sub_prebuild.xml" ?> preprocessor directive.
2009-02-19 12:48:38 +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
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
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 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 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 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 02cf9f7e9f Move BrowseFrontend and ReferenceFrontend to
OpenSim/Grid/AssetInventoryServer/Plugins.
2009-02-16 02:26:44 +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 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
Justin Clarke Casey 34ef01615c * Add missing OpenSIm.Framework.Communications ref for Wdinwos builds 2009-02-12 18:31:56 +00:00
Sean Dague 058ec414b4 * Added XEngine tests and gathered other ScriptEngine
Tests together

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 17:02:54 +00:00
Justin Clarke Casey 170aad040d * Reinstate texture tests, eliminating duplicate OpenSim.Region.CoreModules.Tests 2009-02-10 14:03:51 +00:00
Dr Scofield 180be7de07 this is step 2 of 2 of the OpenSim.Region.Environment refactor.
NOTHING has been deleted or moved off to forge at this point.  what
has happened is that OpenSim.Region.Environment.Modules has been split
in two:

- OpenSim.Region.CoreModules: all those modules that are either
  directly or indirectly referenced from  other  OpenSim packages, or
  that provide functionality that the OpenSim developer community
  considers core functionality:

      CoreModules/Agent/AssetTransaction
      CoreModules/Agent/Capabilities
      CoreModules/Agent/TextureDownload
      CoreModules/Agent/TextureSender
      CoreModules/Agent/TextureSender/Tests
      CoreModules/Agent/Xfer
      CoreModules/Avatar/AvatarFactory
      CoreModules/Avatar/Chat/ChatModule
      CoreModules/Avatar/Combat
      CoreModules/Avatar/Currency/SampleMoney
      CoreModules/Avatar/Dialog
      CoreModules/Avatar/Friends
      CoreModules/Avatar/Gestures
      CoreModules/Avatar/Groups
      CoreModules/Avatar/InstantMessage
      CoreModules/Avatar/Inventory
      CoreModules/Avatar/Inventory/Archiver
      CoreModules/Avatar/Inventory/Transfer
      CoreModules/Avatar/Lure
      CoreModules/Avatar/ObjectCaps
      CoreModules/Avatar/Profiles
      CoreModules/Communications/Local
      CoreModules/Communications/REST
      CoreModules/Framework/EventQueue
      CoreModules/Framework/InterfaceCommander
      CoreModules/Hypergrid
      CoreModules/InterGrid
      CoreModules/Scripting/DynamicTexture
      CoreModules/Scripting/EMailModules
      CoreModules/Scripting/HttpRequest
      CoreModules/Scripting/LoadImageURL
      CoreModules/Scripting/VectorRender
      CoreModules/Scripting/WorldComm
      CoreModules/Scripting/XMLRPC
      CoreModules/World/Archiver
      CoreModules/World/Archiver/Tests
      CoreModules/World/Estate
      CoreModules/World/Land
      CoreModules/World/Permissions
      CoreModules/World/Serialiser
      CoreModules/World/Sound
      CoreModules/World/Sun
      CoreModules/World/Terrain
      CoreModules/World/Terrain/DefaultEffects
      CoreModules/World/Terrain/DefaultEffects/bin
      CoreModules/World/Terrain/DefaultEffects/bin/Debug
      CoreModules/World/Terrain/Effects
      CoreModules/World/Terrain/FileLoaders
      CoreModules/World/Terrain/FloodBrushes
      CoreModules/World/Terrain/PaintBrushes
      CoreModules/World/Terrain/Tests
      CoreModules/World/Vegetation
      CoreModules/World/Wind
      CoreModules/World/WorldMap

- OpenSim.Region.OptionalModules: all those modules that are not core
  modules:

      OptionalModules/Avatar/Chat/IRC-stuff
      OptionalModules/Avatar/Concierge
      OptionalModules/Avatar/Voice/AsterixVoice
      OptionalModules/Avatar/Voice/SIPVoice
      OptionalModules/ContentManagementSystem
      OptionalModules/Grid/Interregion
      OptionalModules/Python
      OptionalModules/SvnSerialiser
      OptionalModules/World/NPC
      OptionalModules/World/TreePopulator
2009-02-10 13:10:57 +00:00
Justin Clarke Casey f95b8b3863 * Reinstate tests that are now in CoreModules 2009-02-09 15:57:53 +00:00
Dr Scofield a89d097355 starting phase 2 of the OpenSim.Region.Environment commit: relocating
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-09 09:16:15 +00:00
Charles Krinke 63fd4c0fb2 Thank you kindly, TLaukkan (Tommil) for a patch that:
Created nunit test for LSL API and example test for 
llAngleBetween which was marked untested in wiki. 
Run new test succesfully with NUnitGUI and nant build.
2009-02-07 18:11:04 +00:00
lbsa71 81019f96f1 * Removed superflous (and circular) ref to OpenSim.Region.Framework 2009-02-06 21:50:05 +00:00
Dr Scofield b8c755c760 killing OpenSim.Data.Base ref once more 2009-02-06 21:47:44 +00:00
Dr Scofield 9cd101034c dropping ref to OpenSim.Grid (another survivor thx to the refactoring by-pass) 2009-02-06 21:41:52 +00:00
Justin Clarke Casey fae20712a9 * reinstate OpenSim/Region/Framework/Scenes/Tests
* should bring us back up to 240 tests
2009-02-06 21:37:10 +00:00
Dr Scofield 3ee10cb30e removing bad references to OpenSim.Data stuff that got deleted earlier
this week but seems to have survive on the refactoring by-pass.
2009-02-06 21:28:30 +00:00
Justin Clarke Casey 1cff4b19bf * Add missing Region.Framework reference in ApplicationPlugins.LoadRegions 2009-02-06 20:05:12 +00:00
Dr Scofield 9b66108081 This changeset is the step 1 of 2 in refactoring
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.

The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.

I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
Mike Mazur 52deb50884 Embed OpenSim.Data.addin.xml as a resource into OpenSim.Data.dll. 2009-02-03 05:20:52 +00:00
Mike Mazur 9377c6f2b2 - move OpenSim/Framework/IInventoryData.cs to
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
2009-02-03 05:20:26 +00:00
Mike Mazur e12b0a2496 - move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
lbsa71 d91bc08737 * Removed the unused Data.Base Framework 2009-02-02 11:16:41 +00:00
Mike Mazur 8c859fa37d Removing ThirdParty/3Di from prebuild.xml. 2009-01-28 01:59:07 +00:00
Charles Krinke bd2c345e56 Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls.
* Added missing field to schema creation scripts: PathTaperY.
* Added schema creation scripts for PostgreSQL.
* Added unit test classes for PostgreSQL.
* Added schema creation script folder to NHibernate project in prebuild.xml
* Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml
* Ensured that build works with both nant and Visual Studio.
* Executed build unit tests with nant and NHibernate unit tests with NUnitGUI
  - Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
2009-01-23 20:21:43 +00:00
Justin Clarke Casey ee3c61247e * refactor: move scene setup code into common test code assembly 2009-01-23 17:32:38 +00:00
Dahlia Trimble 68978e6e2a add event queue code for sending group IM for future group support 2009-01-23 01:49:32 +00:00
Teravus Ovares 8e01f75784 * Progressive texture patch + PriorityQueue put into the LLClient namespace.
* Updates LibOMV to r2362
2009-01-19 17:11:57 +00:00
Justin Clarke Casey eca6442bae * Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-16 21:56:13 +00:00
Justin Clarke Casey bee9efa30e * minor: Future archiver test stub 2009-01-16 18:31:07 +00:00
lbsa71 db88c7c3ee * Fixed breaking VS2008 build. Added missing Statistics reference 2009-01-13 09:31:27 +00:00
Justin Clarke Casey af0fcb96a4 * Apply http://opensimulator.org/mantis/view.php?id=2965
* Adds first version of MsSql2005Dialect support for NHibernate
* Thanks mpallari
2009-01-12 17:51:43 +00:00
Charles Krinke 40f34aeffd Thank you kindly, Tlaukkan (Tommil) for a patch that:
Fixed all NHibernate unit tests by implementing missing persistency 
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene 
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest 
as this was required by the NHibernate persistency. In the process added 
also mock constructor to Scene which only populates RegionInfo in the scene 
which is used by ScenePart.RegionUUID. NHibernate module is still in 
experimental state and has not been tested at opensim region or ugaim runtime 
configuration. Adding unit tests to build is not yet advisable nor using 
NHibernate module in any production setup.
2009-01-11 18:24:16 +00:00
Justin Clarke Casey 7cd8748096 * minor: Put in stub LLPacketHandler testing code 2009-01-09 21:05:53 +00:00
Justin Clarke Casey 5169b1f19e * Establish placeholder for future TextureSender tests 2009-01-08 21:05:24 +00:00
Justin Clarke Casey ccc5d9400d * add the required System.xml reference as well 2009-01-05 18:58:10 +00:00
Justin Clarke Casey 9d62dee531 * Add prereqs and usings required by the Windows compiler 2009-01-05 18:52:43 +00:00
Justin Clarke Casey 0d3a99f6bc fixes mantis #2950 2009-01-05 18:04:47 +00:00
Justin Clarke Casey 04ffcce7ea * Extend stub to test the successful login of a user on the local login service
* Test does not do authentication
2009-01-05 17:38:39 +00:00
Teravus Ovares e9cef70f89 * Updates the sim stats module. Cleans out some of the rot.
* Adds a prototype web stats module which is disabled by default.  It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now.  I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
2009-01-03 03:30:03 +00:00
Justin Clarke Casey c0024b5df0 * Add System.Xml to LindenUDP.Tests project for Windows builds 2009-01-02 20:23:00 +00:00
Justin Clarke Casey 401a0d0a0a * Add Nini reference to Communications.OGS1 2009-01-02 19:43:30 +00:00
Homer Horwitz b83ae7a837 Fix another build error on MonoDevelop 2009-01-02 17:55:55 +00:00
Homer Horwitz fbd664ca84 Get build working on MonoDevelop again. 2009-01-02 17:22:06 +00:00
diva 57518c3624 Merged the InterregionData that Melanie had placed there onto the existing ChildAgentDataUpdate. This commit involves a change in prebuild.xml, because ChildAgentDataUpdate uses OpenMetaverse.StructuredData. Still no use of this data structure, though. Crossing my fingers that this partial commit will compile ok... 2008-12-29 21:10:35 +00:00
Teravus Ovares 4d26da545d * ReCommit the OpenID patch with a few less dependencies.
* Removes all references to ASP.NET (System.Web.UI,*)
* Removes all references to System.Web.Mobile
2008-12-20 01:20:40 +00:00
Charles Krinke 098b5d953d Revert OpenId until we can come to grips with the mono 2 requirement
for System.Web.Mobile
2008-12-20 00:52:17 +00:00
Charles Krinke e86f4d9723 Mantis#2816. Thank you kindly, JHurliman for the beginnings of
OpenID support in OpenSim for the UserServer.
2008-12-19 23:55:28 +00:00
lbsa71 56f1b03cd0 * Added "show queues" command that shows throttling queues for all clients.
*** This only works for LLCLientView at the moment ***
2008-12-18 13:16:41 +00:00
Sean Dague bb31389b7d remove an unused Match line in prebuild that is causing issues for
windows people: http://opensimulator.org/mantis/view.php?id=2851
2008-12-17 21:05:14 +00:00
Justin Clarke Casey f7cfb0694c * Also add the OpenSim.Framework reference to prebuild.xml needed by Windows 2008-12-11 19:19:02 +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 043fb02c89 * Remove duplicate Python module entry in prebuild.xml (it's not impossible that I accidentally inserted this myself yesterday) 2008-12-11 17:36:59 +00:00
Justin Clarke Casey c4b45449ee * test: Add simple user profile test that checks for non-existing users 2008-12-11 17:23:55 +00:00
Justin Clarke Casey e02aaaf9db * minor: Move mock test classes into mock namespace 2008-12-11 16:40:22 +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
lbsa71 b4a725ed87 * Killed off OpenSimExport. One project less to maintain. 2008-12-08 14:45:40 +00:00
Justin Clarke Casey bdee86563c * Check in another patch from http://opensimulator.org/mantis/view.php?id=2710
* This allows removal of the old NHiberate.Mapping.Attributes.dll
* Also add in the files I forgot about last time.  Doh!
2008-12-04 20:48:08 +00:00
Justin Clarke Casey dde32f1130 * Reapply http://opensimulator.org/mantis/view.php?id=2710
* This patch gets NHibernate working
*** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) ***
* Not sure what the dependency is on other distros.  Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome
* Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip)
2008-12-02 15:22:58 +00:00
Justin Clarke Casey 80520206fc * Unforunately it turns out not to be that simple. Revert the rest of r7560 for now. 2008-12-01 18:42:14 +00:00
Adam Frisby 4ed7ca62b1 * From Mantis#2701 - Implements NHibernate data adapter, adds support for MsSql2005 to NHibernate.
* Patch courtesy of Adminotech and realXtend. Thanks!
2008-12-01 07:50:38 +00:00
Dahlia Trimble 07ee2c3504 Revert r7548 and r7549 until someone with prebuild-fu can help structure the dependencies 2008-11-30 03:52:18 +00:00
Teravus Ovares 71474f3092 * try a prebuild fix to the primmesher thing 2008-11-30 03:46:39 +00:00
Teravus Ovares 8bb1b4ad58 * try a prebuild fix to the primmesher thing 2008-11-30 03:41:50 +00:00
Dahlia Trimble 37afd69feb Removed remaining meshing code
Add PrimMesher.dll r21
All meshing tasks are now passed through Meshmerizer and handled by PrimMesher.dll
2008-11-30 03:13:02 +00:00
Tedd Hansen efceda464c And fix to prebuild.xml 2008-11-26 11:24:50 +00:00
Justin Clarke Casey e187972377 * Apply http://opensimulator.org/mantis/view.php?id=2640
* This is Diva's hypergrid patch, as perviously discussed on the opensim-dev mailing list
* Applied some minor prebuild.xml jiggling to resolve a dependency issue
* Thanks Diva!
2008-11-25 15:19:00 +00:00
Justin Clarke Casey 81dcf223bf * Add enough infrastructure code to run an extremely basic and flaky add root agent scene test 2008-11-20 16:58:40 +00:00
Melanie Thielker 4efd36510a Re-add prebuild.xml (r7381) 2008-11-19 06:53:38 +00:00
Melanie Thielker 3234472d62 Reverting the texture sending patch and the new libOMV. This makes this
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Melanie Thielker 0abb762ecc Patch from jhurliman. Fixing the texture decoding issues in progressive
texture sending. Grain of salt not included.
2008-11-18 20:02:25 +00:00
Justin Clarke Casey 70ad3ecd5e * Create TestScene to get at the async object deleter for use in a future test 2008-11-11 21:31:39 +00:00
Adam Frisby c43e466301 * Enabled GTCache for AssetCache
* Items will now be locally cached for only 24 hours from last access. (Rather than until restart)
* Caveat: Implementing the new caching mechanism means statistics gathering on AssetCache is no longer functional. (Justin - you might want to take a look and see if you can somehow get that back and running if you still need it)
2008-11-09 15:00:26 +00:00
Homer Horwitz 03e056646e - Try to fix build again... 2008-11-08 18:40:19 +00:00
Tedd Hansen 73b85d2e84 CIA test 2008-11-08 18:02:07 +00:00
Adam Frisby 2205a86a8a * Fixed prebuild 2008-11-08 17:56:43 +00:00
Tedd Hansen 9511a8c763 Work in progress on SECS stuff. Have been holding it off until after 0.6 release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components. 2008-11-08 17:35:48 +00:00
Homer Horwitz 07cfa1e70b Fix broken build since r7179 2008-11-08 17:16:28 +00:00