Commit Graph

2899 Commits (bdf126260592c512cc7c6da9dae27d1470e46f54)

Author SHA1 Message Date
Teravus Ovares be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Justin Clarke Casey 7dec345d9a * Temporarily, stop the exception of mantis #951 from killing the entire client session. 2008-04-13 22:25:23 +00:00
Justin Clarke Casey 451a5bbf30 * Put in crude poll waiting for 60 seconds for delayed user inventory delivery from the inventory service
* This will reduce failures where the inventory server is simply slow
* Still need to properly inform the user if the inventory service has failed altogether
2008-04-13 22:09:07 +00:00
Adam Frisby 17507404b5 * Added some comments to terrain module.
* Fixed a range issue in the GenericSystemDrawing saving mechanism.
2008-04-13 01:36:03 +00:00
Sean Dague e46454afa6 first drop of user storage implementation for nhibernate.
This surely doesn't work yet, but it compiles, and I'm getting
close to a stopping point for the day.
2008-04-11 23:10:12 +00:00
Sean Dague bcafd8c0a9 add some convenience properties to get floats out of
vectors for UserAgentData
2008-04-11 23:09:05 +00:00
Sean Dague b43ffd12f5 add user agent mapping 2008-04-11 22:18:52 +00:00
Justin Clarke Casey b3f783ae05 * Reduce publicly exposed fields on InventoryCollection, which was causing duplicate sets of inventory data to be sent over the grid
* Won't actually fix anything, since we were handling the problem anyway
* Also add more doc, fix up debugging messages, etc
2008-04-11 20:37:26 +00:00
Justin Clarke Casey 8f345d36d8 * Minor refactoring in OGS1InventoryService 2008-04-11 19:04:33 +00:00
Justin Clarke Casey 7bfd7e6f08 * Remove the worst excesses of my inventory debugging code 2008-04-11 18:58:09 +00:00
Justin Clarke Casey 7ac7f79f88 * Eliminate a class of errors where an inventory request could be made before the region had completely received the inventory for the user.
* A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future.
* This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
2008-04-11 18:46:54 +00:00
Justin Clarke Casey 649f304e76 * Minor inventory code cleanup following on from last patch 2008-04-11 18:19:21 +00:00
Justin Clarke Casey a5176c2e2c * Change inventory async response deliver to deliver all items and folders at once, rather than each individual
* This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
2008-04-11 18:13:10 +00:00
Teravus Ovares 9c5d0f50fa * fix bug 935 2008-04-11 17:51:36 +00:00
Teravus Ovares 5e1d8925fa * Fix bug 934 2008-04-11 17:24:04 +00:00
Justin Clarke Casey e26d4fc085 * minor: replace test of CachedUserInfo.RootFolder != null with something more readable, and make RootFolder get only 2008-04-11 17:02:20 +00:00
Justin Clarke Casey 205b95f2e8 * minor documenting, cleanup, renaming in user profile cache service 2008-04-11 16:49:20 +00:00
Justin Clarke Casey 576db5b72a * documenting and minor refactoring in UserProfileCacheService 2008-04-11 16:30:58 +00:00
Justin Clarke Casey 9a7717743b refactor: eliminate method in UserProfileCacheService 2008-04-11 16:13:33 +00:00
Justin Clarke Casey b3892096f3 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file)
* Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken.
* Thanks Dr Scofield
2008-04-11 15:00:41 +00:00
Sean Dague f337cb205d From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is the second half of the fix for 821 - this is the null reference
check for llDetectedName and the other *Detected* function.
2008-04-11 13:51:11 +00:00
lbsa71 cbf9fcfac5 * Discerned between AddProfile and UpdateProfile in region registration
:: Believe it or not, but INSERT/UPDATE is actually a better pattern than REPLACE, since, with INSERT/UPDATE you can catch erroneous UPDATES to non-INSERTed items as well as catch erroneous re-INSERTS. in 95% of the cases, you SHOULD have a clear INSERT context, and a clear and separate UPDATE context. If you think your case falls within the 5%, maybe you should re-evaluate your code. ::
2008-04-11 09:56:22 +00:00
Adam Frisby 00b8e04ece * Added a "regionload_regionsdir" option to OpenSim.ini which determines where Region.XML files are stored. If not set, it will default to the usual location. 2008-04-11 04:21:29 +00:00
Adam Frisby f100fc1b94 * Updated MapImageModule to support primitives showing on the world map image. As MapImageModule is of unknown use, this may or may not be reflected on the world map. See the ShadeBuildings function in MapImageModule for reference. 2008-04-11 03:33:51 +00:00
Sean Dague 3f47deab32 add user profile mapping for nhibernate 2008-04-10 23:52:23 +00:00
Sean Dague f2bd8b4aed add some convenience properties. Move all the fields
to the top of the file.
2008-04-10 23:51:42 +00:00
Teravus Ovares 50c5e6af10 * With Grid Comms up in the air.. I decided have the friends module update you when your friends come online if they're at least a child agent on the sim. offline status works the same also. So does Instant Message.
* This is until Grid Comms matures a bit more on this.
* This should also work in Standalone as it uses the IUserData interface.
2008-04-10 18:30:34 +00:00
Justin Clarke Casey b41abbd50e * Minor: really just comment and subsequent indentation adjustment. Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding 2008-04-10 17:44:19 +00:00
Justin Clarke Casey 5ad4c79a4e * Refactor GetUsersInventory() 2008-04-10 16:04:19 +00:00
Charles Krinke f565f44d89 Thank you Justin for a patch that solves the issue of: When a sensor detects an Avatar,
and llDetectedOwner is called on the script, the current implementation attempts to 
find the detected avatar as a SceneObjectPart and return the owner of that part.
2008-04-10 15:38:33 +00:00
Charles Krinke 4bdb4a2646 Thank you kindly, A_Biondi for a patch that:
Handles the CreateItem cap request for all wearables, 
setting the proper value in inType and assType.
2008-04-10 15:32:09 +00:00
Justin Clarke Casey ba132f3a0b * Minor: get CreateNewUserInventory() to return true on success 2008-04-10 15:28:52 +00:00
Teravus Ovares f2d36186f0 * Slightly smoother transition between land, shallow water and deep water in map tile generation. 2008-04-10 15:27:02 +00:00
Justin Clarke Casey ded704ef1f * Minor inventory message cleanup and documentation 2008-04-10 15:22:01 +00:00
Sean Dague 55ac1c6dce renaming of attributes in UserAgentData for readability 2008-04-10 14:50:52 +00:00
Sean Dague ef7dfae41c changing UserAgentData to use properties. This caused more
grief than expected, as monodevelop doesn't like to refactor 
properties of properties.
2008-04-10 14:37:17 +00:00
Sean Dague 25fea01b92 further renaming of properties for clarity 2008-04-10 14:09:30 +00:00
Sean Dague c176caeb05 moved fields to properties for UserDataProfile, which was
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Teravus Ovares 1178eddffc * Brings back map tile generation based on the terrain. The algorithm produces a graphic that is a bit Dazzle-ish. A Dazzle-ish map tile is better then a grey map tile IMHO. 2008-04-10 13:37:39 +00:00
Teravus Ovares b92c6901ad * Fix a null reference when there's no [Economy] section in the opensim.ini 2008-04-10 13:05:01 +00:00
Teravus Ovares 9fec575b3e * Made it safe again to use the restart button from the estate tools and the restart console command.
* It looks ugly on the console..   but it's really safe..  and restores some memory.
2008-04-10 10:27:03 +00:00
Teravus Ovares a253ac0830 Patch by lulurun - 0000916: support secondlife client's "-url sim/x/y/z" option
Thanks lulurun!
2008-04-10 09:56:59 +00:00
Teravus Ovares 06967e230f * Updates BetaGridLikeMoneyModule
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header.  See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
2008-04-10 09:36:55 +00:00
Teravus Ovares b85624db18 * Adds twist support for Cubes, Cylinders, and Prisms in the Meshmerizer
* A tweak of the SimStatsReporter so it would report the prim capacity to be 45000.
2008-04-10 00:31:44 +00:00
Sean Dague 69d5eb3cb2 split out UserProfile 2008-04-09 20:38:25 +00:00
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 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
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
Sean Dague 214bd204b1 LLUUID mapper actually appears to work now with
NHibernate for Assets.
2008-04-08 13:49:10 +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 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
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
Sean Dague 2b23734a16 add some error messages for abuse of our IInventoryData interface
(i.e. using add to update, or update to add).
2008-04-07 15:01:00 +00:00
Jeff Ames 8833a72388 Update svn properties. 2008-04-07 14:19:08 +00:00
Charles Krinke 927003de33 Thank you kindly Diva & KMeisthax for adding the beginnings
of search capability to OpenSim in the form of a configurable
module.
2008-04-07 13:50:05 +00:00
Teravus Ovares 072b5faa34 * I XmlIgnored the TaskInventory Property as a temporary measure. Taking things and rezzing them works again. (though, I suggest waiting on taking things until justincc has an opportunity to look at the TaskInventory property causing the XML Serialization to overrun.) It's MinOccurs is 0 in the XML Schema, so it should work fine when he adds it back. 2008-04-07 11:21:44 +00:00
Jeff Ames ac73033231 Remove some dead code. 2008-04-07 02:34:31 +00:00
Justin Clarke Casey dfe5e9d4eb * EXPERIMENTAL ROUGH DRAFT: First rough implementation of avatar to avatar item giving
* Now you can drag an object from your inventory and give it to another avatar
* !!! Use at your own risk !!!  Many things are unimplemented as of yet, including permissions (the person receiving your item can probably do absolutely everything with it)
* Also, items for the receiving end up in their root folder rather than the objects folder
2008-04-07 01:46:00 +00:00
Jeff Ames 7149c8b0c6 Update svn properties. 2008-04-06 14:11:44 +00:00
Adam Frisby 0a0a3992cc * Whoops, forgot to include all the new terrain file loaders and things.
* Added MapImageModule for handling world-map 
* Added new DefaultTerrainGenerator.cs
* Added BMP loader
* Added GIF loader
* Added PNG loader
* Added TIFF loader
2008-04-06 14:04:59 +00:00
Adam Frisby 996309a6e1 * Various terrain engine fixes
* Includes patch #894 fixes for terrain load-tile
* Large number of other terrain fixes and new commands included.
2008-04-06 13:48:28 +00:00
Teravus Ovares 899f00b83d * Fixed up some documentation
* Should help the sinking feeling when new avatar arrive in the scene.
2008-04-06 06:42:54 +00:00
Teravus Ovares 0340531ff0 * Implemented AgentPause and AgentResume. AgentPause extends the timeout for a client at the server by 3x. AgentResume restores the timeout to the normal amount.
* The linden client still doesn't like it when you have an image select box open for more then 100 or so seconds.
2008-04-06 02:05:19 +00:00
Teravus Ovares 9d299926dc * Lowered the default throttle settings. They were way too high at 1.5MB/s!
* This will definitely help the missing prim problem (probably eliminate it entirely)!
* This will help the broken up land block problem (probably eliminate it entirely)!
* Warning, change the default throttle settings at your own risk ( and don't commit the throttle settings! )
2008-04-05 11:06:28 +00:00
Teravus Ovares dbbb115c26 * The simulator now checks the parcel at the position that you get put by the grid server to see if you set it's landing point to a specified landing point. If you did, and the landing point isn't LLVector3.Zero, it puts you at the configured landing point.
* Currently the grid server sticks you at 128x128x128..  so that means it'll use whatever parcel is at that location to get this information.   This allows greater customization of where people log-into and teleport-to if done right.
2008-04-05 09:47:05 +00:00
Justin Clarke Casey 57afbdbdbd From: Kurt Taylor <krtaylor@us.ibm.com>
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-04 19:09:56 +00:00
Sean Dague f010d398cf make AssetBase use Properties instead of fields. This probably
breaks compatibility on grid ops because native serialization is
used here.
2008-04-04 18:14:00 +00:00
Justin Clarke Casey f5ed635750 * Make objects appear in 1.19.1.4 inventory again
* You will probably need to clear your client's cache before this will take effect
* The problem was that the underlying libsecondlife.AssetType was returning "primitive" rather than "object".  This fix is in lieu of correcting/updating our libsecondlife.dll
2008-04-04 17:43:29 +00:00
Justin Clarke Casey cdff09d0bb * Removing debugging goo for mantis 854 since the fix is reported to work. 2008-04-04 15:02:20 +00:00
Sean Dague ae490c7d6f From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have done a bit of clean up for the "create user" and "create
region" XmlRpc methods in RemoteController (contributed earlier by ansgar),
this add a bit of consistency checking, more error checking and also
documentation of the  expected XmlRpc parameters.
2008-04-04 11:48:27 +00:00
Teravus Ovares 27876795f4 * Fixed up some documentation regarding the inventory descendants method XML. Cleaned up an error report. Noted at the top, why the two unused caps path variables must stay. 2008-04-04 08:33:29 +00:00
Teravus Ovares 42e4284277 * Fixes CAPS InventoryDescendants and the notorious 'LLSDParseException:expected </llsd>' error.
* Objects folder still exhibits strange behavior.
2008-04-04 08:07:49 +00:00
Teravus Ovares 75b192a2a0 * Fixing permissions on items returned via CAPS based inventory 2008-04-04 05:50:46 +00:00
Teravus Ovares 7bc0b7b6c1 * Fixes Region/Estate panel in current Linden Official client.
* Sets the default estate parentID to 1..  which means that all regions are treated like private estates in the client as opposed to Linden Mainland. (no space server hiccup message).  If that message annoys you and you want to get rid of it, set your parentEstateID to 1.
2008-04-03 22:59:38 +00:00
Sean Dague 5e32d86b87 move NullStorage => OpenSim.Data.Null to be consistant with
where other data storage assemblies are.
2008-04-03 21:07:03 +00:00
Sean Dague cd4348738a Check in the remaining bits to do Asset store via NHibernate. Still
need to work out auto table creation in a reasonable way.  Tommorrow
I'll work on getting the NHibernate bits in place to be able to put this
into the main tree.
2008-04-03 20:59:20 +00:00
Jeff Ames 4f174fbf57 Update svn properties. 2008-04-03 18:25:01 +00:00
Justin Clarke Casey b9b99ee87c * Attempted resolution for mantis 854
* Also adds more temporary debugging goo in case the fix didn't work
2008-04-03 17:13:45 +00:00
Justin Clarke Casey 042cd57e94 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch removes voice code into a region module.  This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Justin Clarke Casey 4394c747f5 * Minor: fix doc glitch 2008-04-03 15:30:52 +00:00
Justin Clarke Casey 5fe4a39927 * Adding request time limiting strategy for texture requests, though this isn't useable yet 2008-04-03 15:28:50 +00:00
Justin Clarke Casey 6ef4f1bdae * Resolve mantis 849
* Scripts in prims within linksets can now be properly edited using the 'edit linked parts' linden ui option
2008-04-03 13:33:46 +00:00
Sean Dague fe14d65f07 point in time update of NHibernate Asset Mapping code 2008-04-03 12:29:25 +00:00
Teravus Ovares 2d33bf854f * ODEPlugin: put a limit on the minimum size a prim can be ( scale <=0 ). 2008-04-03 04:02:46 +00:00
Sean Dague 341664eabc from krtaylor
Fixe for Mantis 821
2008-04-02 18:58:57 +00:00
Sean Dague 1379d1bef8 remove really odd utf character at the front of this class 2008-04-02 18:20:48 +00:00
Sean Dague fbc6c16fd7 starting to stub out NHibernate data source. This isn't in
prebuild yet so it's currently dead code in tree, and shouldn't
bother anyone.  Once this does *something* I'll add it into the 
main build.  However it seemed like a good idea to commit work 
as I go for people interested in it.
2008-04-02 18:12:33 +00:00
Justin Clarke Casey 272fbef65f Minor: just some method comments 2008-04-02 17:34:53 +00:00
Justin Clarke Casey f27f861072 * Attempt to resolve mantis 873 by placing caps removal operations in a critical section 2008-04-02 16:46:58 +00:00
Sean Dague 30ea28c3b1 fix ups to include OpenSim.Framework explicit includes (they
were implicitly included before).  Everything builds again.
Now off to testing.
2008-04-02 16:00:40 +00:00
Sean Dague 849592391a move signing file 2008-04-02 15:41:30 +00:00
Sean Dague 86cf07f1c4 changing more references to OpenSim.Data 2008-04-02 15:38:44 +00:00
Sean Dague f52c8f3970 attempt to fix up all refernces to new directory structure 2008-04-02 15:36:01 +00:00
Sean Dague c52c68f314 whole lot more moving 2008-04-02 15:24:31 +00:00
Sean Dague 35420b21a3 reorganizing namespaces to put all the Data stuff into it's own namespace
/ dir structure.  This is coming in over a few changesets so consider trunk
broken for the next 30 minutes as these get pulled together.
2008-04-02 15:22:39 +00:00
Justin Clarke Casey 1038c244cf * Add some temporary task inventory item inflation debug messages to investigate mantis 854 2008-04-02 15:16:32 +00:00
Sean Dague b28ef3ca14 refactor, make the file name the class name 2008-04-02 14:49:35 +00:00
lbsa71 f210cf0195 * Added AvatarAppearance.sql for MSSQL 2008-04-02 13:06:52 +00:00
lbsa71 667ebc8ea2 * Reworked Data Framework so that MSSQL works
* Introduced uint as field type
* Removed what should be superfluous Guid handling
* Introduced stub MySQLDataReader if we need to fix the Guid handling anyway
2008-04-02 13:06:18 +00:00
MW 0e789a9a01 Set default terrain to complete flat terrain (at 26 height). Even flat terrain as default seems better than the messed up terrain I was getting. 2008-04-02 11:03:44 +00:00
Teravus Ovares b790a16e98 * Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Justin Clarke Casey 7ec3bb71e6 * Remove the quit command from the inventory console which was actually adding a new inventory instead 2008-04-01 17:11:00 +00:00
Justin Clarke Casey 96ecb62197 * Fix for mantis #678
* Shift copied prims should now keep the script in both prims over region startups
2008-04-01 17:06:33 +00:00
MW cdf27ece5f few more minor changes, needs prebuild to be ran. 2008-04-01 13:34:33 +00:00
MW f43e077150 a few small changes 2008-04-01 13:09:29 +00:00
Sean Dague 731dcbad5b sadly, had to modify line by Ter because it caused mono cil compiler
to spin off into a seemingly infinite loop.
2008-04-01 13:04:29 +00:00
Teravus Ovares a0a0229fdf * Set Svn Properties eol-style: |337 2008-03-31 23:54:49 +00:00
Adam Frisby 15a1565bf8 * Fix for terrain issue whereby loading or manipulating a terrain item from the console would not cause the terrain to be saved to the Scene. (Mantis #845) 2008-03-31 21:05:22 +00:00
Justin Clarke Casey 106fd2f616 * From: Dr Scofield <hud@zurich.ibm.com>
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
Justin Clarke Casey 93303072dd * Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
* This mirrors the grid behaviour
2008-03-31 18:29:08 +00:00
Justin Clarke Casey 48fc4ee059 * Log exceptions which make it up to the top of the http request frame, rather than having them disappear off into the ether 2008-03-31 17:34:32 +00:00
Justin Clarke Casey af3118eccd * Fix problem where inventory code throws a swallowed exception on grid mode if the avatar has never logged in before 2008-03-31 17:08:58 +00:00
Justin Clarke Casey 5f04cebb25 * Fix for mantis 131, 796
* Take copy now actually takes a copy into inventory rather than the original
2008-03-31 16:12:24 +00:00
Jeff Ames e18d046d76 Fixed typo in AvatarFactoryModule.cs 2008-03-31 16:06:12 +00:00
Justin Clarke Casey d53dd8a7cc * Minor change on region grid asset client to change two store log messages to one 2008-03-31 14:19:40 +00:00
Jeff Ames 8af0c9a1af Update svn properties. 2008-03-31 03:29:34 +00:00
lbsa71 f52886f8f5 * Added competely untested MSSQLMapper
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Teravus Ovares 8aa4308097 * Minor cleanup 2008-03-30 19:58:14 +00:00
Adam Frisby c502416548 * Quick fix. Re-enabled some code which registers the Terrain Module's Commander with the scene (whoops). 2008-03-30 09:07:57 +00:00
Adam Frisby fadd19f314 **Big ass update warning**
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>".
* Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax.
* New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class.
* Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-30 09:03:38 +00:00
Teravus Ovares fd2caf5f16 This update has good news and bad news, first the bad.
* This update breaks inter-region communications, sorry.
* You will need to run prebuild.
Next, the good;
* This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa.  So Linux Simulators and Windows simulators are 100% compatible again.
* This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border.   If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost.
That being said, it's best to update all your simulators to this revision at once.
2008-03-30 08:01:47 +00:00
Justin Clarke Casey 2fddd775f4 * Stop the grid inventory service sending all folder and item details twice
* This change will have no functional impact - we were already filtering out the dupes on the other end.
2008-03-30 00:45:04 +00:00
Justin Clarke Casey a6999f8a5d * Refactor: Remove unused inventory methods, some of which weren't properly implemented anyway. 2008-03-29 23:07:48 +00:00
Justin Clarke Casey 7722a87b69 * Tidy up 'show users' display 2008-03-29 22:57:09 +00:00
Justin Clarke Casey a90fbb308d * Minor log message fix per mantis 829 2008-03-29 22:44:14 +00:00
Justin Clarke Casey 9acec3506f * CODE: Add phat warning to RootFolders http request since it no longer does what it used to do (not that the name was actually accurate in the first place) 2008-03-29 22:27:55 +00:00
Justin Clarke Casey 875211b262 * Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal 
with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29 22:18:44 +00:00
alondria 0e0445573e Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. Should fix Mantis 838 2008-03-29 19:49:07 +00:00
MW 7fcffa3a3a Re-enabled terrain texture generation for the world map. Adam can clean up/ sort it out when he gets time.
Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. 
Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-29 17:18:47 +00:00
Jeff Ames 86128ba4d4 Fix compiler warnings in BulletXPlugin. 2008-03-29 04:30:19 +00:00
Jeff Ames bf7ef8c41a Set svn:eol-style. 2008-03-29 04:25:52 +00:00
lbsa71 7f11079f57 * Refactored out common http handler operations 2008-03-28 21:43:46 +00:00
lbsa71 ca718b6f8d * Introduced common abstract UserDataBase provider
* Weeded out multiple AvatarPickerAvatar classes
2008-03-28 19:58:45 +00:00
Justin Clarke Casey 0a47a75b88 * Send full inventory folder skeleton to standalone client logins rather than just the root child folders
* This may resolve some current problems with non root child folders on standalone installations.
* A fix for the same problem in grid mode will come soon.
2008-03-28 19:35:01 +00:00
Justin Clarke Casey 35dec2e53a * Refactor: Eliminate RequestUsersRoot() redundant method 2008-03-28 17:37:55 +00:00
Justin Clarke Casey c8f79eb9b4 * Refactor: Rename CreateInventoryData() to GetInventorySkeleton()
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho
* Add some comments
2008-03-28 16:39:38 +00:00
Justin Clarke Casey 512e52be4c * Remove pointless boolean on AgentInventory.CreateRootFolder() 2008-03-28 16:27:29 +00:00
MW a13d68d98c fixes mantis #778 and shoots himself for making such a mistake to begin with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows. 2008-03-28 15:32:46 +00:00
lbsa71 0e16488ca8 * Introduced base abstract provider class for GridData 2008-03-28 15:05:06 +00:00
MW ac27d9250d attempt to fix mantis # 779. 2008-03-28 14:59:52 +00:00
lbsa71 8c901e9347 * Introduced common abstract AssetDataBase implementing IAssetProvider
* changed the semantics of SQLiteBase to SQLiteUtils
* Added abstract placeholder files for the other db providers
2008-03-28 14:54:20 +00:00
MW 830626999c Applied patch from mantis# 825, thanks A_Biondi 2008-03-28 14:47:51 +00:00
lbsa71 ed74b8af5f * removed redundant constructor 2008-03-28 14:26:28 +00:00
lbsa71 88a14c9a76 * fixed pk_violation on rename for MSSQLInventoryData
("le fix le plus ugly for le problem trés dumb")
2008-03-28 14:19:17 +00:00
Sean Dague 2eda6a1296 From: Michael Osias <mosias@us.ibm.com>
This patch implements llMessageLinked.

I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for
link sets of more than 1 prim, or 0 for a single object, since according
to:

http://rpgstats.com/wiki/index.php?title=LlMessageLinked

linksets with 2 or more prims start the link numbering at 1, but a single
prims link number is 0.
2008-03-28 12:47:03 +00:00
Justin Clarke Casey 0609970f2e * Correct asset type of Lost and Found folder - this might stop it appearing twice
* Other minor corrections to initial inventory contents
* These will only take affect for new users
2008-03-27 18:26:01 +00:00
Justin Clarke Casey 14ee78b3af * Tweaking master uuid exception to make it clearer what just went wrong (user server timeout)
* Increasing GetUserProfile requests only to 6 seconds from 3
* Not completely sure what effect this will have, though probably not much
* At some point one will have to accept that if the grid servers are taking many many seconds to respond, running using that grid will not be viable.
* Perhaps there should be a big warning up front if grid request times are slower than n seconds.
2008-03-26 18:06:29 +00:00
Justin Clarke Casey c538ea5024 * Increase timeout for initial simulator login from 16 to 30 seconds
* Comments, capitalization
2008-03-26 17:21:46 +00:00
Justin Clarke Casey bcd68fb6c4 * More log messages in the region registration process for debug purposes. Some of these may be temporary 2008-03-26 12:44:43 +00:00
Justin Clarke Casey c00e56d3ee * Increase information in simulator_login log messages 2008-03-26 12:34:02 +00:00
Justin Clarke Casey 35b1cae593 * Start printing the region simulator_login exception to the log 2008-03-26 12:28:59 +00:00
Johan Berntsson 7fe243e3d4 Committed patch from Lulurun to fix Mantis 817. Thanks Lulurun 2008-03-26 02:49:35 +00:00
Johan Berntsson 7f5e1546e2 Removing redundant code 2008-03-26 02:12:28 +00:00
Justin Clarke Casey ad6783ff40 * Massaging CAPS setup/teardown log messages
* Leaving quite a few debug messages in for now to help deal with bugs arising
2008-03-25 22:04:41 +00:00
Justin Clarke Casey ad808579a2 * Print out the exception stacks of resolution failures, temporarily 2008-03-25 20:05:02 +00:00
Justin Clarke Casey ed9cdbe99f * Temporary hack to swallow neighbour contact problems on startup (in response to osgrid issues)
* Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
2008-03-25 19:39:41 +00:00
MW 13a077674c checking that these two files are commented out 2008-03-25 19:03:23 +00:00
MW c2ea7b99e1 Moved Avatar appearance Factory to its own project so that the reference to MySQLDatabaseMapper could be removed from Region.Environment.
Added a using OpenSim.Framework.Data statement to MySQLDatabaseMapper , to try to fix the build problem that has been reported on the mailing list.
2008-03-25 18:48:07 +00:00
Justin Clarke Casey 8c74cf7758 * Tear down CAPS and http handlers when an agent leaves a region (via crossing, teleport or logout) 2008-03-25 18:47:14 +00:00
Teravus Ovares e74892ee44 * Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
( Remove ray caster Verbosity )
2008-03-25 17:31:40 +00:00
Teravus Ovares e11e6dc308 * Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. ) 2008-03-25 17:28:09 +00:00
Justin Clarke Casey 2517fe7acd * Remove old CAPS http listeners when a client logs out from a scene
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25 17:08:20 +00:00
Teravus Ovares 3d1b4f8578 * On Ray casting. Now returning the face normal of the collision face. 2008-03-25 16:09:43 +00:00
lbsa71 ba2de258f4 * Refactored out circular reference in Region.Environment <-> Framework.Data.Base
We REALLY need to get the db layer sorted soon...
2008-03-25 14:27:39 +00:00
Teravus Ovares 301c25950d * Committing some voice related caps with hard coded responses so more debugging can occur. 2008-03-25 05:56:27 +00:00
Jeff Ames 9d1b42c39a Comment out unused private methods. 2008-03-25 03:49:08 +00:00
Jeff Ames a8d9a58dd2 Fix a couple more warnings. 2008-03-25 03:43:24 +00:00
Jeff Ames a7556af7de Fix a few compiler warnings. 2008-03-25 03:37:48 +00:00
Teravus Ovares a21112ccee * Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
* It doesn't generate at_target events, because they don't exist yet in the script engine.
* The Tau is different, however, compatible with scripts I tested.
* Not perfect...  but pretty good.
2008-03-25 03:36:31 +00:00
Jeff Ames d2b1a8aa1e Minor formatting / svn properties cleanup. 2008-03-25 01:45:23 +00:00
Teravus Ovares dd6e6e7bdf * Added llApplyImpulse in the local frame. 2008-03-24 22:48:34 +00:00
alondria 15a22e993d Implements llGetInventoryPermMask() 2008-03-24 21:56:52 +00:00
Teravus Ovares dd6a9ffbc7 * OBB: Flipped the -y face normal so ray casting against the -y face correctly results in the point of collision. 2008-03-24 21:48:33 +00:00
Justin Clarke Casey e3949280b1 * Inflate my commits with yet another snippet of documentation... (j/k) 2008-03-24 21:28:45 +00:00
Justin Clarke Casey 3a5521d204 * Put in tiny doc snippet while I remember 2008-03-24 21:27:14 +00:00
Justin Clarke Casey f14c102c7a * Clean up Scene.AddCapsHandler(). There was a race condition warning, but I don't think this is now relevant...
* Remove some now extraneous CAPS related messages
2008-03-24 21:21:05 +00:00
alondria 2b4915ef27 Modified llGetInventoryName() so it indexes inventory in the same manner the LL grid does. (Thanks Teravus for pointing this out.) 2008-03-24 21:19:01 +00:00
Justin Clarke Casey 3aa843cea8 * Remove a spammy comment I meant to remove from the last commit 2008-03-24 20:25:48 +00:00
Justin Clarke Casey 6489746a6b * Make standalone non-home region caps work again.
* When I removed the hard coding for the http port last night, I foolishly assumed standalone would be okay :)
2008-03-24 20:22:58 +00:00
alondria 3be815b206 Implements llGetInventoryName() - the order is based upon inventory key, which probably doesn't match 100% with LL's grid. 2008-03-24 19:58:53 +00:00
Justin Clarke Casey 45b9114df7 From: Michael Osias <mosias@us.ibm.com>
Fixes mantis 771 - multiple uses of llListen cause duplicate events

Thanks Michael!
2008-03-24 19:44:25 +00:00
alondria 9117dfc858 Implements llGetInventoryNumber() 2008-03-24 19:29:35 +00:00
alondria 8a39d04f6d Implements llGetInventoryType() 2008-03-24 19:11:56 +00:00
alondria 3423ed4739 Implements llGetInventoryCreator() 2008-03-24 19:05:44 +00:00
Justin Clarke Casey ca7c954a61 * Fix build break in last revision. Thanks to paulieFemto for pointing it out. 2008-03-24 18:45:21 +00:00
Justin Clarke Casey 185dbb06af * Picky comment change 2008-03-24 18:26:43 +00:00
Justin Clarke Casey 1a970d8f2d * Create null limit strategy 2008-03-24 18:25:50 +00:00
Justin Clarke Casey 8c0955321a * Refactor: Genericise request limit strategies and move to OpenSim.Framework.Communications.Limit 2008-03-24 18:21:06 +00:00
Johan Berntsson 56dfa4e6da Fixed a small XmlRpcCommand bug 2008-03-24 03:03:21 +00:00
Johan Berntsson 39f340e687 XmlRpcCommand refactoring 2008-03-24 01:37:00 +00:00
Johan Berntsson 12a32b0608 Added a plugin loader in GridServer 2008-03-24 01:21:01 +00:00
Justin Clarke Casey ca6e557075 * minor: check in the rest of a comment I forgot to finish off in the last revision 2008-03-23 21:32:30 +00:00
Justin Clarke Casey da531fa9e1 * Start passing around a region server's http port in RegionInfo.
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default 
(9000) port.  
* If you are running a region server, this may only work properly once your grid server upgrades to this revision
* PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision.  However if it does, the instability will persist until 
the grid and region (and possibly all the region's neighbours) have upgraded to this revision.
* This revision also adds extra login related messages, both for success and failure conditions
2008-03-23 21:21:39 +00:00
alondria 68d016517d Implements llGetParcelPrimOwners() 2008-03-23 18:15:08 +00:00
Teravus Ovares f82227a186 * Added a little more stability for getting the object list from the parcel box. (previously it crashed my simulator)
* Found and gracefully handled a few situations where null references occur.  (m_rootPart again!)
2008-03-23 07:10:04 +00:00
Teravus Ovares dc850df50a * Implements Oriented Bounding Box raytracing.
* It's not perfect, but it's good enough. (rarely erroneously returns a backface collision)
* After updating to this revision, rez a prim on another prim and watch it appear where you'd expect it to appear.
2008-03-23 06:24:59 +00:00
alondria 5deca3f0c5 Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList 2008-03-23 06:08:52 +00:00
Jeff Ames 0d43aaa337 Fix llParseString2List bug when separator is longer than 1 character. 2008-03-23 00:39:35 +00:00
Jeff Ames 9a2b289e32 Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch! 2008-03-22 23:52:48 +00:00
Jeff Ames 37121bcf72 Update svn properties. 2008-03-22 23:39:07 +00:00
mingchen 71ca162821 *Moved LandManagement into its own region module (spiffy!) 2008-03-22 23:10:22 +00:00
alondria 5ebef6410e Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). 2008-03-22 23:02:41 +00:00
Justin Clarke Casey 74023aa97c * Miscellaneous comment before I found out that mantis 807 probably isn't an issue worth fixing. 2008-03-22 22:17:35 +00:00
Justin Clarke Casey 170e1a8a09 * Make master UUID exception a bit more useful by telling us which uuid it was trying to look up 2008-03-22 21:19:45 +00:00
Justin Clarke Casey 61ae75f364 * Catch the occasional resolution exception that comes out of SceneCommunicationService.EnableChildAgents so we can see what hostname is failing 2008-03-22 20:44:15 +00:00
Justin Clarke Casey 6ce79a0f78 * Downgrade 'texture not found' message to DEBUG and stop putting out 'already dispatched' message completely temporarily
* I believe that if the Linden client has not started to receive a texture after 15 seconds, it re-requests it. 
* My hypothesis is that the texture packets are often still in the texture queue (esp. if the client has just cleared its cache), so another load of packets get added...
* If this is the cause, resolution is going to be rather complicated.
2008-03-22 19:15:01 +00:00
Justin Clarke Casey 936f961a53 * Reducing spam on console so we only notify once if we're dropping repeated requests for missing textures
* Also minor logic change so that we actually do retry missing texture requests (we weren't before)
2008-03-22 18:30:54 +00:00
Justin Clarke Casey 625e8f7700 * Minor log message change 2008-03-22 17:56:05 +00:00
Justin Clarke Casey e211a3b00b * Tell the user what the new terrain commands format is if they try to execute a deprecated one
* As per CharlieO's suggestion in #806.  Thanks!
2008-03-22 10:09:09 +00:00
Teravus Ovares 7854f6f4a2 * Committing some math to discover the Oriented Bounding Box and decomposing it into planes and normals.
* No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
2008-03-22 03:40:38 +00:00
Charles Krinke 2f3bb3b836 Remove a couple more compiler warnings by commenting unused variables.
This takes us down to 15 compiler warnings on a VS2005 C# build.
2008-03-21 23:31:32 +00:00
alondria 6ac21141c6 Adds in +, -, and / operators for Rotations (and fixes Mantis 671) 2008-03-21 21:31:18 +00:00
alondria d3515bf22e Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails.... 2008-03-21 20:20:39 +00:00
Justin Clarke Casey be83ac37f9 * Small adjust to last commit's logging so we only print out one warning when we start dropping requests 2008-03-21 20:19:43 +00:00