Commit Graph

3959 Commits (4f41988ef7bcbeffb9c91ac54e7c175dfce1bf7e)

Author SHA1 Message Date
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
Sean Dague fca85cc1a6 comment out OpenSim.Model until first class is added,
otherwise nant is unhappy
2008-04-10 13:14:50 +00:00
lbsa71 f001cd78f1 * Added stub OpenSim.Model project for migrating core types and base classes 2008-04-10 13:05:26 +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
Jeff Ames 4fd7009e0e Update svn properties. 2008-04-10 00:25:48 +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