Commit Graph

3871 Commits (ce5e51240f6bfb6e0bd524c4cb13d577c92f789c)

Author SHA1 Message Date
Sean Dague ce5e51240f NHibernate Inventory support. Lightly tested, but seems to work
well enough on my test environment.  Will need to add some exception
catching down the road.

On to User Store.
2008-04-09 18:04:03 +00:00
Sean Dague 4cc3aad2f9 more futzing around here. None of this works yet because
bloody LLUUID isn't serializable, which is really annoying.
2008-04-09 16:01:57 +00:00
Justin Clarke Casey 8bd1f1c7c3 * Put explicit braces in for single line blocks 2008-04-09 15:36:10 +00:00
Justin Clarke Casey f9646a0c81 From: Michael Osias <mosias@us.ibm.com>
"This is llDetectedKey for touch_start - it is already implemented for sensor."
Thanks Michael
2008-04-09 15:33:04 +00:00
Justin Clarke Casey f512502e51 From: Kurt Taylor <krtaylor@us.ibm.com>
"a patch to add a deprecated call to throw an LSL deprecated specific exception, and the associated code cleanup in the functions."
Thanks!
2008-04-09 15:28:51 +00:00
Sean Dague 5861084e0b make this a class 2008-04-09 15:20:26 +00:00
Sean Dague f8cb4f993d check in an OSUUID wrapper as potential replacement
for LLUUID in most of our code.  Like LLUUID, this is
basically just a box type on the .NET Guid.
2008-04-09 14:38:23 +00:00
Sean Dague 0919df5cdc checking in a chunk of work because I think I'm tackling
the UUID issue
2008-04-09 14:15:54 +00:00
Sean Dague 93d7c8bd31 oops, broke compile. This fixes it 2008-04-09 13:45:32 +00:00
Sean Dague ff2184136d match file to classname 2008-04-09 13:44:28 +00:00
Sean Dague 750291447e changing around types a bit to make stuff more readable for
me.
2008-04-09 13:43:35 +00:00
Sean Dague ea16221c1b NHibernate Inventory getting close, except for some of the
complex folder queries.
2008-04-09 02:08:07 +00:00
Sean Dague be2bc9c6fe fixing attributes 2008-04-09 00:05:59 +00:00
Sean Dague 034255ac24 add a sample script for migrating from old inventory 2008-04-09 00:04:27 +00:00
Sean Dague 960d57090f fix up Inventory hbm definitions to work. Adding indexes in
NHibernate is quite nice (though there will still need to be a 
db creator bit carved out later).
2008-04-08 23:44:52 +00:00
Sean Dague cb436ffe70 add comment for version field based on what Teravus said :) 2008-04-08 23:37:02 +00:00
Sean Dague 2aeeb4fe5f move the mappings to .hbm.xml so NHibernate actually
sees them
2008-04-08 23:35:22 +00:00
Sean Dague 6d6af55108 added the folder mappings 2008-04-08 23:34:51 +00:00
Sean Dague a6d27e0929 further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Sean Dague 8c82117207 added migration script for SqliteAssets 2008-04-08 23:04:16 +00:00
Sean Dague d2744f5140 added Readme for migrations 2008-04-08 22:59:16 +00:00
Justin Clarke Casey f5b254e0bf * Minor: Show summary count of connected agents in 'show users' region console output 2008-04-08 20:54:18 +00:00
Justin Clarke Casey 8eab365e21 * Adjust some inventory lookup failure messages to reduce confusion as to what just went wrong 2008-04-08 20:31:36 +00:00
Justin Clarke Casey f8faf18c66 * Following A_Biondi's suggestion, going to try returning a version number of 1 instead of 0 for the folder requested in a InventoryDescendentsPacket
* Can't hurt - it doesn't appear to cause any problems in a quick test.
2008-04-08 20:11:35 +00:00
Sean Dague c522da0434 added NHibernate stanza to the config which reduces our verboseness
to reasonable levels
2008-04-08 18:08:08 +00:00
Jeff Ames c412a476c2 Update value in OpenSim.ini.example to new DLL name. 2008-04-08 16:22:14 +00:00
Justin Clarke Casey 90422db35a * Update code to use patched libsecondlife.dll which removes the problem where the AssetType enum was 'Primitive' rather than 'Object'
* The libsecondlife patch was also applied to libsecondlife itself in r1714
* Many, many thanks to Dr Schofield (IBM) for his help on this :)
2008-04-08 14:39:29 +00:00
MW 3abc12b89a new compile of libsecondlife (libsecondlife2.dll in root folder) for justincc. 2008-04-08 14:14:26 +00:00
Sean Dague 214bd204b1 LLUUID mapper actually appears to work now with
NHibernate for Assets.
2008-04-08 13:49:10 +00:00
Justin Clarke Casey 0c601b7312 * Removing lulurun's perl UGAI from core svn, pending a link to an external repository, as per mailing list discussion. 2008-04-08 11:19:34 +00:00
Teravus Ovares 95e31c9f02 * Added stretchable ellipsoid support with configurable LOD. It's actually a split facet icosahedral geodesic sphere that's scaled.
* In other words, you can stretch spheres into oblong shapes now and watch them roll around like a football would.
* Still can't cut, twist or profile cut spheres yet.
2008-04-08 05:03:43 +00:00
Sean Dague 04fe45c55c set properties before chi11ken has to :) 2008-04-08 03:20:09 +00:00
Sean Dague 61daaa57a9 added mapping for InventoryItemBase 2008-04-08 03:09:56 +00:00
Sean Dague 32b8dd70d6 attempt to introduce custom LLUUIDString type for
NHibernate
2008-04-08 02:50:44 +00:00
Teravus Ovares d0f7784101 * Adds poor support for ellipsis in the Meshmerizer. This will get better.. notice the huge nasty facets! Regular spheres still work as they did. 2008-04-08 01:29:45 +00:00
Jeff Ames e679f3eb36 Update svn properties. 2008-04-07 23:48:12 +00:00
Sean Dague a02b3fe015 refactor of InventoryCollection for good measure 2008-04-07 23:34:41 +00:00
Sean Dague 5ee75998ce more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
 * clean up names a little bit
 * clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague f436815107 Refactor InventoryItemBase to do the following:
* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague bb2f163bf7 needed to add 4 characters to support the dashes 2008-04-07 23:03:09 +00:00
Teravus Ovares e409892a9c * Updated ODE.NET bindings to the ODE library.
* Fixed some Tapers with Cylinders in the Meshmerizer
2008-04-07 22:11:41 +00:00
Justin Clarke Casey da9eeffc9e * Objects which have their name or description changed while within inventory will now retain those details when rezzed to a scene 2008-04-07 21:33:25 +00:00
Sean Dague c774cd1169 remove the debug files, these must have been added by accident 2008-04-07 21:08:40 +00:00
Justin Clarke Casey 033f0138c8 * Preserve original creator's name when an object is given 2008-04-07 21:03:03 +00:00
Sean Dague 79222a0b45 break out the 5 classes that were
InventoryItemBase into seperate .cs files 1 per class
2008-04-07 18:28:48 +00:00
Sean Dague 98b5276068 added swag #1 on Inventory NHibernate implementation. There
is no hbm.xml mapping yet, so this isn't going to do anything,
plus I'm sure I didn't get the list interfaces right.  However
it now compiles, so worth getting into the tree.
2008-04-07 18:02:58 +00:00
Sean Dague c5804cbb3a fix bad indentation 2008-04-07 17:58:20 +00:00
Justin Clarke Casey 0e7c4046d3 * Nasty hack to reduce the incidence of spurious exceptions where a user deletes a newly rezzed object before the persistence thread gets to it from its queue.
* This should greatly reduce but not eliminate the problem - elimination probably requires a redesign of the prim persistence processes
2008-04-07 17:28:02 +00:00
Justin Clarke Casey c5a5555d4f * Minor: log message correction 2008-04-07 16:46:49 +00:00
Justin Clarke Casey 2caea75aa8 * Okay you can put down your pitchforks - this patch should fix rezzing of items (with inventory) on Windows
* Now properly dealing with prims which don't contain items - thanks to thomas for the patch which gave insight into this situation
* Also, an xml exception no longer crahes the client session    
* Leaving in debugging lines in case there are further problems
* Not yet tested on Linux, though I'm just about to.
2008-04-07 16:30:29 +00:00