Adam Frisby
0b4a8191a1
* Quick patch before I start on a bigger project
...
* Renamed ITerrainTemp to IMapImageGenerator
* Renamed WriteJpegImage to WriteJpeg2000Image to better reflect it's function.
2008-04-15 03:07:31 +00:00
Justin Clarke Casey
b7ae8701ce
* Working towards notifying the client if the inventory service has failed, rather than simply returning 0 items.
...
* This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner. Also, this only applies to the 1.19.1.4 client onwards
* Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
2008-04-14 18:43:23 +00:00
Teravus Ovares
e21886eea0
* Fixed a few warnings.
...
* Added license info to a few files it was missing from.
* Fleshed out the landbuy interfaces
* If you add '-helperuri http://127.0.0.1:9000/ ' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone. Structured gridmode requires a lot more work, see the documentation in the example money module. The example money module is not secure especially in standalone mode.
2008-04-14 17:13:38 +00:00
Justin Clarke Casey
5c52068dd7
* Get Util.GetHostFromDNS to tell us the dns address it was trying to resolve if it fails.
2008-04-14 15:32:39 +00:00
Sean Dague
1f5eb2ef65
make it so the IRC bridge only relays channel 0 messages
...
not all of them (like it was doing before)
2008-04-14 14:49:16 +00:00
Sean Dague
a3da86c6d7
Possible fix for the 100% CPU issue. I've not fully
...
confirmed that this fixes the issue, however functional
correctness of BlockingQueue requires that these locks be
put into place anyway.
2008-04-14 14:37:36 +00:00
Teravus Ovares
2b7419c7fb
#952 again
2008-04-14 03:20:36 +00:00
Teravus Ovares
30f93b2201
Fix for mantis 952
2008-04-14 01:10:48 +00:00
Justin Clarke Casey
665c5d89f8
* Correct comment from previous patch - I'm not reversing mantis #912 at all, which was in an entirely different location
2008-04-13 23:48:46 +00:00
Justin Clarke Casey
eacba916ec
* Reverse mantis #912 since it was causing inventory to disappear from the root folder on 1.19.1.4 non-cache clear relog.
...
* The folder version numbers probably do need to be non-zero, but there is a further subtlety of the protocol to understand first
2008-04-13 23:38:51 +00:00
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