Commit Graph

6466 Commits (d19400db4479015fe334d81801025e13deec26a8)

Author SHA1 Message Date
Sean Dague fcc716104b 2 more InventoryItem tests, plus see if I can leave the log4net
configure in there to help me get debug messages while developing.
2008-09-13 02:06:23 +00:00
Homer Horwitz 8ae8bec4d1 Changed "show users" command to display only root agents, "show users full" to
display root and child agents (mantis #2171).
2008-09-12 22:39:17 +00:00
Justin Clarke Casey 9cdd9e215c * Patch http://opensimulator.org/mantis/view.php?id=2172
* Patch attached that adds the check for uninitialized appearance when inventory items are received and processed. Also attempts to ensure that appearance is initialized even 
when the profile cache has not been built.
* This will not fix the race condition, but should at least remove the unhandled exception that is being reported in Mantis 0002126.
* Thanks cmickeyb
2008-09-12 21:32:45 +00:00
Justin Clarke Casey 1edee634ca * minor: spelling mistake and message tidying on Migration messages 2008-09-12 21:24:11 +00:00
Justin Clarke Casey 0dc1018ca1 * minor: Remove warnings
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
2008-09-12 21:20:24 +00:00
Sean Dague ecc2a0f866 add first round of folder tests 2008-09-12 21:00:40 +00:00
Sean Dague 5557f0b772 reformat spacing on some property declarations. Take away the virtual
attribute as that was a left over of an nhibernate approach that
isn't used in the current nhibernate code anyway.
2008-09-12 21:00:29 +00:00
Justin Clarke Casey bf3190538e * Patch http://opensimulator.org/mantis/view.php?id=2158
* RemoteAdmin SaveXMLMethod 
* My tiny mind isn't quite sure how this is useful, but the load xml equivalent is already there, so what the hell :)
* Thanks Olish.
2008-09-12 21:00:05 +00:00
Justin Clarke Casey f1e4001c90 * Make fix to MSSQLRegionData.cs in LoadLandObjects as recommended by Garrett Hussey in Re: [Opensim-dev] MSSQL runtime error in latest build..
* Thanks!
2008-09-12 20:53:21 +00:00
Justin Clarke Casey 62d1eba3b2 * Patch http://opensimulator.org/mantis/view.php?id=2167
* Force ClickAction persistence even if other object properties are not edited 
* Thanks nlin!
2008-09-12 20:42:04 +00:00
Justin Clarke Casey 2d7aca6d9d * Add userstore sql upgrade I carelessly forgot to check in a couple of revisions ago
* Hopefully there wasn't a problem anyway, since the look at stuff isn't enabled yet
2008-09-12 20:38:20 +00:00
Justin Clarke Casey 2fcc131ef3 * Patch http://opensimulator.org/mantis/view.php?id=2163
* Add prim ClickAction persistence to SQLite 
* This will require a prebuild
* Thanks nlin!
2008-09-12 20:37:07 +00:00
Justin Clarke Casey 52a4c4d82f * Check in first part of http://opensimulator.org/mantis/view.php?id=2073
* This patch aims to introduce look at direction persistence between logins.  It won't be active until the second part of the patch is committed in about two weeks time.  At 
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database.  As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
2008-09-12 20:12:03 +00:00
Dahlia Trimble febb781779 remove hidden faces inside prim meshes to improve memory use and startup time 2008-09-12 19:42:26 +00:00
Sean Dague 4b7e287ab2 because UUID supports equality, we can do a straight equals instead of
convert to string and match.
2008-09-12 18:46:55 +00:00
Tedd Hansen 85a0e03984 Note to self: VisualSVN not fully compatible with OpenSim prebuild :) 2008-09-12 18:46:52 +00:00
Sean Dague d312f10420 use new style asserts. They are much easier to read. 2008-09-12 18:46:44 +00:00
Tedd Hansen b41acfb4cf Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case) 2008-09-12 18:42:02 +00:00
Teravus Ovares 18f490a30c * Fix a missing .UUID in llInstantMessage 2008-09-12 18:17:01 +00:00
Sean Dague 9349cf3149 move the actual [Test] methods for databases to OpenSim.Data.Tests
classes.  This did mean loosing 1 unit test that was actually testing
an sqlite function directly instead of the interface.
2008-09-12 18:13:43 +00:00
Sean Dague 1f42c89480 change order in prebuild.xml so this works in nant on a clean
checkout.
2008-09-12 17:45:02 +00:00
Sean Dague 96c720b04a be more clever and move the bulk of the db tests for inventory into
OpenSim.Data.Tests, then subclass with custom init bits for sqlite.
As I've only been testing the plugin interfaces anyway, this should
make it very easy to write only a little bit of code to use these
tests for other databases.  It will also give us the framework for
definining the datastore behavior and making sure that all the databases
do the same thing.
2008-09-12 16:05:06 +00:00
Sean Dague a408b58209 add the m_host.AddScriptLPS(1); line. I'm not actually sure what it
does, but it seems every other function here has it, so it is probably
needed.
2008-09-12 15:04:16 +00:00
Sean Dague 1b333a0f58 From: Rob Smart <SMARTROB@uk.ibm.com>
Implement an osParseJSON method useful for handling simple JSON returns
from http requests.  This will only work in C# at this point.
2008-09-12 15:04:13 +00:00
Charles Krinke 8d6096b815 Mantis#2165. Thank you kindly, CMickeyB for a patch that:
patch is attached that replaces the o(n^2) algorithm currently 
used to build the inventory cache with an o(n) algorithm using 
hash tables. the patch also adds some additional error handling.
2008-09-12 03:33:26 +00:00
Justin Clarke Casey 64e5ff2f59 * minor: CONTRIBUTORS adjustments 2008-09-12 01:09:18 +00:00
Justin Clarke Casey 90ec9c46d5 * Move the ResetChildPrimPhysics() calls to after physics have been applied to the parts rather than after each individual part
* From looking at the code there shouldn't be any difference, and this appears to speed up prim loading and make a certain failure case (where prims seem to be going out of 
bounds on startup) less of a problem.
* However, if I've been bad please revert this patch
2008-09-12 00:45:24 +00:00
Justin Clarke Casey 3f1dbae8e4 * minor: various doc and tidy up, logging increase to make it clearer which prim is failing a border crossing 2008-09-12 00:37:59 +00:00
Melanie Thielker ecc24c3c63 Revert 6242 because of a possible licensing issue 2008-09-12 00:33:24 +00:00
Melanie Thielker 7a63fe7c07 Add the UUIDs of the standard animations. Thanks, Ewe Loon! 2008-09-12 00:23:41 +00:00
Sean Dague 7d61559058 more inventory folder tests 2008-09-11 20:52:35 +00:00
Sean Dague 45df1aaa64 add some folder create and list tests 2008-09-11 18:49:37 +00:00
Sean Dague 380af0b939 added simple add / exists folder check 2008-09-11 18:49:10 +00:00
Teravus Ovares 23e52993fb * This updates the OGP module to support both the revision 2 and revision 3 of the OGP protocol. (Assuming I understood it correctly)
* This also removes the host--> ip pre-resolve workaround.
2008-09-11 18:21:00 +00:00
Sean Dague 7ba9bfc8ad add a few more SQLite Asset tests. 2008-09-11 17:52:11 +00:00
Sean Dague 6238c0f33b add doxygen target 2008-09-11 15:18:02 +00:00
Justin Clarke Casey f3497d9f57 * Start loading prims after region module configuration rather than before
* In some circumstances, loading prims can invoke region modules
2008-09-11 13:56:25 +00:00
lbsa71 e04ce96cee * Removed some legacy commenting 2008-09-11 11:41:52 +00:00
lbsa71 aa12787a17 * Added small convenience function to recursively calculate total amounts of items loaded under library inventory node 2008-09-11 11:39:43 +00:00
Mike Mazur 2dae0291c5 Add file containing output of `svn info` into .zip and .tar.gz files
found at http://builds.opensimulator.org/
2008-09-11 08:25:38 +00:00
Teravus Ovares 8d39d806aa Newtonsoft Json.NET 1.3.1 for upcoming use in comms. 2008-09-11 01:50:31 +00:00
Sean Dague f53d2037ec fix line endings. Wish there was a good way to do this from
git-svn
2008-09-10 21:51:46 +00:00
Sean Dague 0a9c6aecb5 added very basic stubs for User and Inventory db creates and empty
calls to make sure they worked
2008-09-10 21:36:20 +00:00
Sean Dague a90d2b491f fix typo in name of test db 2008-09-10 21:36:12 +00:00
Sean Dague a8f18bda13 make default rule 'all' again 2008-09-10 21:36:01 +00:00
Jeff Ames dd305d2d53 Update svn properties. 2008-09-10 21:29:55 +00:00
Sean Dague 121398732a add basic sniff tests for SQLite Asset store. Initializes a db,
stores an asset, fetches that asset, make sure it has the name
we gave it.  All simple stuff, but should catch the more egregious
breaks.
2008-09-10 20:33:13 +00:00
Sean Dague 71f2176c4b add a simple update attribute test for SOG & SQLite 2008-09-10 20:33:02 +00:00
Sean Dague b7dde33478 have the Makefile run prebuild on test targets as well as it
helps to actually include new test files to run prior to upload.
2008-09-10 20:31:24 +00:00
Sean Dague cc7ff3ac2e added in a few more tests 2008-09-10 19:14:12 +00:00