Commit Graph

8686 Commits (0752dd65cc7899a2d94ceb2de3ff154aaa2989bf)

Author SHA1 Message Date
Mike Mazur 4a21d92668 Mark AssetBase.Metadata with [XmlIgnore] 2009-03-13 05:58:32 +00:00
Justin Clarke Casey bd41639a68 * Don't fail the client login if there are no OnClientConnect listeners 2009-03-12 20:38:28 +00:00
Justin Clarke Casey f5ff2eff24 * minor: Lable the heartbeat thread with the region it's beating for 2009-03-12 20:37:15 +00:00
Dr Scofield fa619bdf8c From: Christopher Yeoh <yeohc@au1.ibm.com>
Patch to RegionReady which adds a field which adds to the message
whether the region is ready due to a server startup or due to an oar
file loading.
2009-03-12 18:51:28 +00:00
Justin Clarke Casey a02c3caa0d * Move SceneObject tests into their proper namespace
* Add some more debug code to narrow down where the tests are freezing
2009-03-12 18:13:51 +00:00
Dr Scofield e80e0887f2 - renaming OpenSim.ini.example to OpenSim.ini.example.preview as
the config reorg is still under discussion
    - re-installing complete OpenSim.ini.example for the time being
2009-03-12 18:00:18 +00:00
Dr Scofield 38d56d7cb2 merging XmlRpcCreateUserMethod and XmlRpcCreateUserMethodEmail, adding
optional about_virtual_world and about_real_world parameters to
    XmlRpcUpdateUserAccountMethod to allow setting of "About" and "First
    Life" tab in avatar profile.
2009-03-12 16:50:44 +00:00
Jeff Ames 11b3909021 Add rtomita to Contributors.txt. 2009-03-12 15:34:25 +00:00
Jeff Ames fb258c5ed9 Update svn properties, formatting cleanup. 2009-03-12 15:28:30 +00:00
lbsa71 3865f777bd * Ignored some gens 2009-03-12 11:06:41 +00:00
lbsa71 33f511ee4b * Another stab at refactoring up the CustomiseResponse function. Two fixes:
* Sometimes, null is a valid return value to indicate 'none found'. doh.
  * Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw.

(I believe) this solves mantis issue #3287
2009-03-12 10:50:59 +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
diva 4eba67175d Minor bug fix. Thanks daTwitch. 2009-03-12 01:43:22 +00:00
Jeff Ames a8c66444e2 Update svn properties, minor formatting cleanup. 2009-03-12 01:14:54 +00:00
Justin Clarke Casey 6d5f79c29f * Preliminary preview of a split of a split for OpenSim.ini.example into separate .ini.example files in a config/ directory 2009-03-11 21:30:30 +00:00
lbsa71 2133d35831 * Reverted r8750 to do another round of debugging on mantis #3287 2009-03-11 19:19:48 +00:00
Jeff Ames 6462014250 Thanks rtomita for a patch to fix inventory listings for clients using libomv. (#3285) 2009-03-11 18:46:52 +00:00
Justin Clarke Casey 2e6e0cee28 * fix build break 2009-03-11 18:21:47 +00:00
Justin Clarke Casey acad0328b2 * Make all coded defaults match settings in OpenSim.ini.example
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using
* OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-03-11 18:02:22 +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
Dahlia Trimble 669aa46bff update some ini defaults in code - all defaults from beginning of OpenSim.ini.example thru DefaultScriptEngine = "XEngine" 2009-03-11 09:31:02 +00:00
Dr Scofield b6b83be562 From: Alan M Webb <alan_webb@us.ibm.com>
This fixes *another* sync error in a list/dictionary
  iterator. This time in WorldComm. I'm beginning to think
  something is going on...
2009-03-11 09:07:50 +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
Dahlia Trimble 5cc372fab4 add a taint to SOP.UpdateShape() - addresses Mantis #3277 2009-03-11 04:13:35 +00:00
Mike Mazur 8606d7d126 Remove chained tests in BasicGridTest.cs.
It's good practice to isolate unit tests so their outcome (pass/fail)
does not depend on whether another test has been run/passed/failed. A
method is used to populate the DB independently for each test, and a
TearDown method cleans up the database after each test.

Also adding extra comment in C-style comment test.
2009-03-11 00:33:34 +00:00
lbsa71 1c70790a8f * Cleanup and CCC (Code Convention Conformance) 2009-03-10 20:42:44 +00:00
lbsa71 91a096dca6 * Cleanup and CCC (Code Convention Conformance) 2009-03-10 20:27:41 +00:00
lbsa71 63a5a01945 * Cleanup and CCC (Code Convention Conformance) 2009-03-10 20:06:25 +00:00
lbsa71 a8ae02df4f * Cleanup and CCC (Code Convention Conformance) 2009-03-10 19:55:59 +00:00
Justin Clarke Casey dd28d6ceeb * minor: reduce some code duplication in BaseHttpServer 2009-03-10 18:22:46 +00:00
Justin Clarke Casey 327720498e * Enable test logging for TestSaveOarV0p2 to capture more information the next time this hiccups 2009-03-10 17:57:04 +00:00
Dr Scofield fd9ba29a03 From: Alan M Webb <alan_webb@us.ibm.com>
Fix a null reference loophole in ScenePresence.
2009-03-10 15:54:00 +00:00
Dr Scofield c6415ef71d fixing out-of-sync error in BaseHttpServer 2009-03-10 15:51:17 +00:00
lbsa71 0df0258087 *** POTENTIAL BREAKAGE ***
* Finally got to the point where I could pull up the CustomiseResponse function. Major de-duplication.
* Introduced FromRegionInfo on RegionProfileData
* This revision needs both grid and standalone testing galore.

Work in progress!
2009-03-10 12:11:19 +00:00
lbsa71 1917238cd3 * Re-aligned CustomiseResponse function for imminent up-pulling 2009-03-10 11:47:34 +00:00
lbsa71 1956930e0d * Removed unused and uncommented file 2009-03-10 09:20:27 +00:00
lbsa71 1b34b94331 * Refactored out Create() methods to ensure proper transformation between RegionProfileData and RegionInfo
* Created ToRegionInfo method, still not using it pending peer review. 
* This is a preparatory commit for a subsequent login service refactoring.
2009-03-10 09:05:06 +00:00
Dr Scofield 973ba9c9b7 From: Alan Webb <alan_webb@us.ibm.com>
This commit fixes the attachment position problem described in
  OpenSim Mantis 2841 (and a couple of duplicate tickets).
2009-03-10 06:14:29 +00:00
Dr Scofield 2dcc24cc83 From: Alan Webb <alan_webb@us.ibm.com>
Fix a rather significant error in the UpdateUserAccountMethod.
  The request was failing to set user location and orientation
  correctly.
2009-03-10 06:04:51 +00:00
Jeff Ames 112a1af3a6 Update svn properties, minor formatting cleanup. 2009-03-10 00:03:26 +00:00
Jeff Ames 278ae3477a Thanks M1sha for a patch to reinstate the original functionality of the TreePopulatorModule.
Note that the planting command 'tree' has been changed to 'tree plant'. (#3264)
2009-03-09 23:31:10 +00:00
Justin Clarke Casey 051096e8ae * minor: remove some mono compiler warnings 2009-03-09 19:58:39 +00:00
Justin Clarke Casey ae759f2d06 * Add basic asset cache get test 2009-03-09 19:40:32 +00:00
Justin Clarke Casey 1bf05a543c * Move method documentation from AssetCache up to IAssetCache
* No functional changes
2009-03-09 18:35:26 +00:00
Justin Clarke Casey ee73d72f1d * Apply http://opensimulator.org/mantis/view.php?id=3280
* Some small syntax and refactoring tweaks for asset and inventory MSSQL
* This means the MSSQL db plugin now requires SQL Server 2005
2009-03-09 18:04:23 +00:00
Justin Clarke Casey 5a6bc26600 * Address http://opensimulator.org/mantis/view.php?id=3207
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache.
* This is an imperfect solution.  Ideally we would only expire the assets newly requested for the archive (not existing ones).  But doing that would require a lot more 
restructuring.
* I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-03-09 17:55:08 +00:00
Sean Dague a2ff2e9000 * Added TXXX in front of unit tests to make sure they are running in the correct order. Although it might not make a difference here, this pattern should be followed to avoid further issues.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-03-09 15:20:36 +00:00
Mike Mazur 5bee29e036 Refactor login test class.
There were multiple tests in one test method (T011_Auth_Login). This
test has been refactored into multiple tests. Common setup code was
placed into a SetUp method executed before each test.
2009-03-09 08:07:12 +00:00
Mike Mazur 66120f5a40 Fix tests broken in r8732.
Recent changes in the code handling login_to_simulator XMLRPC method
calls caused two tests to fail because not enough parameters were being
supplied with the method call. The parameters added in this patch work,
but I'm not sure whether they are actually correct or even relevant.
Diva, please look over this.
2009-03-09 07:29:53 +00:00