Commit Graph

6448 Commits (c692c14a2f673e975877977227d53c6671982263)

Author SHA1 Message Date
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
Sean Dague 4f279c0b3e break the rsync line because bamboo doesn't accept it in the comment field 2008-09-10 18:29:01 +00:00
Sean Dague 3f73884674 the explicit log4net configure attempt was maybe breaking bamboo, get
rid of that.
2008-09-10 18:17:10 +00:00
Sean Dague 601be9079a don't build doxygen docs on every build. This really slows down bamboo
and is probably better done on cron.
2008-09-10 18:14:53 +00:00
Sean Dague 1776d4d84e force a clean before the build to see if this makes bamboo
fail less often.
2008-09-10 18:12:02 +00:00
Sean Dague f970597194 added the first couple of sqlite tests. we'll see how bamboo
handles them.
2008-09-10 17:49:41 +00:00
Sean Dague 1799913593 add shell for SQLite testing. No tests yet.
add another nant target for test-xml to get the verbose
version
2008-09-10 17:49:37 +00:00
Charles Krinke 9af5a44c91 Revert the two debug log statements from r6212 as described in Mantis 2126. 2008-09-10 14:12:56 +00:00
Melanie Thielker a68e34b558 Mantis #511
Allow parsing of hexadecimal int constants from strings.
Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10 06:14:38 +00:00
Jeff Ames b9b996be38 Update svn properties, minor formatting cleanup.
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Charles Krinke 03672c35e4 Thank you kindly, CMickeyB for a patch that adds a
couple of debug statements for null items while we
diagnose our interrmittent inventory issues. I looked
at this and it seems helpful to others. We can back it 
later if desired.
2008-09-10 03:27:09 +00:00
Charles Krinke 7305dadba2 Mantis#2153. Thank you kindly, Godfrey for a patch that solves:
osSetDynamicTextureData() produces error on console if 
ExtraParams passed empty string
2008-09-10 03:19:57 +00:00
Charles Krinke 291aa9fa10 Implementation of llDetectedGroup for DotNetEngine. 2008-09-10 02:25:02 +00:00
Charles Krinke 796fedb1e9 *Almost* have a complete implementation of llDetectedGroup.
One member missing, so a portion is commented out.
2008-09-10 02:10:25 +00:00
Charles Krinke 6b10725f20 Implementation for llDetectedLinkNumber in DotNetEngine. 2008-09-10 01:54:25 +00:00
Mike Mazur e0d092ec53 Thanks, nlin, for a patch implementing persistence for "When Left Clicked"
object property. Fix issue 2149.
2008-09-10 00:19:36 +00:00
Teravus Ovares fac18f608d * Fixes Sqlite crash bug when saving a prim. 2008-09-09 23:42:44 +00:00
Sean Dague 6f15ec2d46 possible fix for EARTH SHATTERING KABOOM! when trying to save a prim 2008-09-09 20:45:21 +00:00
Sean Dague 017a6f5511 fix an automatically stripped out UUID from SQLiteManager
fix some spacing in SQLiteRegionData
2008-09-09 20:23:10 +00:00