Commit Graph

737 Commits

Author SHA1 Message Date
Latif Khalifa
bae75cb3e2 LIBOMV-835: landstat requests that return no results cause exception to be thrown
Patch by Ben Anhalt

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3350 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-18 10:11:56 +00:00
Latif Khalifa
c46b21a4de LIB-834: Unhandled CAPS event after parcels land stat request
Patch by Ben Anhalt

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3347 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-15 08:57:36 +00:00
Latif Khalifa
292f31b0cf Possible fix for LIBOMV-831:
Reading openmetaverse_data fails on readonly filesystem, or if libomv install is read only to the user currently running it resulting in naked avatars after rebake

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3339 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-08 05:04:39 +00:00
Latif Khalifa
4b96cf05f0 More verbose error messages when failing to load resources needed for baking
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3338 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-08 03:21:35 +00:00
Latif Khalifa
81d75c6ecd LIBOMV-830: Adds a try/catch to DoubleDictionary.FindValue() (jurliman)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3330 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-06 23:31:01 +00:00
Latif Khalifa
64e60e6c3f LIBOMV-829: Group chat session not always properly registered
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3320 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-06 13:43:00 +00:00
Latif Khalifa
0c90200426 LIBOMV-670: [PATCH] Missed the feature of Delinking (Unlinking)
Patch by Thijs Wenker

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3318 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-05 07:29:21 +00:00
Latif Khalifa
e5dc91a79f LIBOMV-676: new LoginParams() should fill out default values
* Made login params into a class instead of a struct
* 3 constructors for most common use

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3316 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-05 07:20:04 +00:00
Latif Khalifa
83879260cc LIBOMV-823: First "single packet" asset upload blocks all subsequent asset uploads
Patch by Kurt Schlager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3314 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-05 05:48:57 +00:00
Latif Khalifa
287ca1bf88 LIBOMV-828: Flag for adult regions missing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3313 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-05 05:38:47 +00:00
Latif Khalifa
1e7e699b6b Register group chat session after a successful session join.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3304 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-01 17:05:24 +00:00
Latif Khalifa
6ac80a35fc LIBOMV-782
* Removed unused GroupChatLeft event.
* Remove group chat session that we are leaving

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3303 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-29 00:07:31 +00:00
Latif Khalifa
f93ed34fbe Fixed 5 layer jpeg2000 decoding (alpha channel was moved from layer 5 to layer 4 in viewer 1.23 and newer).
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3302 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-25 03:40:09 +00:00
Latif Khalifa
622400661e Don't nuke texture UUIDs.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3301 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-23 13:38:02 +00:00
Latif Khalifa
48083bc268 Fixed problems with getting mac address on Linux: don't depend on interface ordering, on Linux the fist interface is loopback which always has empty mac. On Windows the order seem somewhat random.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3300 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-22 17:46:03 +00:00
Latif Khalifa
4a629edbfd Docu typofix
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3299 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-21 16:10:13 +00:00
John Hurliman
9138fee6b0 * Handle "-0" values in wearable assets
* Login fix for Linux clients now that the null ID0 is blacklisted
* Change Parcel from a struct to a class (this object is huge!) and remove the redundant initializers in the constructor
* Moved Terrain and WindSpeed data from TerrainManager to the Simulator class
* Don't track wind data either if STORE_LAND_PATCHES is disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3298 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-21 00:00:54 +00:00
John Hurliman
de2a49dddf First round of memory improvements!
* Disable TRACK_UTILIZATION by default
* Ignore Primitive.ScratchPad and always set it to Utils.EmptyBytes. This field is deprecated on the SL grid and there are better ways to extend the protocol for non-SL grids
* More graceful handling of corrupted wearables
* Free up memory after baking

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3297 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-20 21:58:23 +00:00
John Hurliman
94f830b9d9 * Cleaned up the LocklessQueue implementation, removed the unsafe Clear() method, and added documentation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3296 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:07:50 +00:00
John Hurliman
14782dd1ef * Handle another prim XML ambiguity in OAR loading
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3295 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:01:53 +00:00
John Hurliman
06939fa7ad * Removed OpenMetaverse.Http
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3294 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-01 01:01:01 +00:00
Latif Khalifa
b50958fc99 LIBOMV-819: Implemented support for resource usage limits
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3293 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-31 11:47:52 +00:00
Latif Khalifa
2259689a1f * Moved primitive related enums over to types
* Added EnumInfoAttribute class to specify extra attributes for enums
* Added EnumInfoAttribute.Text attributes to AttachmentPoint enum
* Added Utils.EnumToText() that will return EnumInfoAttribute.Text for a given enum value
* Added Utils.StringToAttachmentPoint() that converts AttachmentPoint string returned in LLSD to AttachmentPoint enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3292 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-31 02:10:59 +00:00
Latif Khalifa
3ccf091c62 Updated list of known caps
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3291 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-30 23:17:07 +00:00
Latif Khalifa
ad52943235 Try to avoid null ref and key not found exceptions.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3290 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-24 03:03:30 +00:00
Latif Khalifa
fa12c169bc LIBOMV-818: Add simulator to AvatarAppearanceEventArgs
Patch by Robert Adams

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3289 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-21 21:00:12 +00:00
John Hurliman
5b6a86d518 * Fixed OAR loading of linkset assets
* Added a helper method to convert from the OAR-loaded PrimObject to OpenMetaverse.Primitive
* Added a basic sanity check to TextureEntry.FromBytes() for TEs less than 16 bytes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3288 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-21 01:49:57 +00:00
Latif Khalifa
3bb3630a36 Converted AssetManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3286 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 14:00:36 +00:00
Latif Khalifa
8a52b8fb52 Converted TerrainManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3285 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 12:30:30 +00:00
Latif Khalifa
42d3ebebba LIBOMV-785: Imaging.OpenJPEG.DecodeToImage adds alpha channel to images that do not have alpha component
Patch by Sheet Spotter

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3282 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-16 18:43:49 +00:00
Latif Khalifa
923b210aea Allow for clients with Linden TPV policy compliant login process .
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3281 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-15 18:44:10 +00:00
Latif Khalifa
60705862cc Fixed nullref when creating group roles, and added ability to delete group roles.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3279 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-14 16:36:05 +00:00
Latif Khalifa
fd6c2217a0 Add some extra sanity checks when restring inventory from cache
* Don't restore folders that are not in the skeleton
* Don't restore items that belong to changed folders

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3278 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-14 12:50:01 +00:00
Latif Khalifa
fa693b5b3d LIBOMV-811: AVATAR FromOSD Problem, when base FromOSD is called, it cannot be explicitly cast to from Primitive to Avatar
Patch by  John R Sohn  

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3277 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-13 20:49:37 +00:00
Latif Khalifa
1141de84d4 LIBOMV-810: Do some sanity checks instead of blindly running into exceptions. Patch by Elric Ember
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3274 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-13 11:31:12 +00:00
Latif Khalifa
d54194a56b LIBOMV-801: Added GetOSD() and FromOSD() functions to Avatar object and all subclasses. Patch by John R. Sohn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3272 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-12 23:31:50 +00:00
Latif Khalifa
8e0d01807b Clean up some cruft from when this feature was developed inside Radegast
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3271 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-10 07:30:36 +00:00
Latif Khalifa
cc4d76231e LIBOMV-805: More reliable resource loading
Disable parallel reading of file to avoid files locking issues in the baker

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3270 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-08 22:39:40 +00:00
Latif Khalifa
06713078af LIBOMV-804: Added ability to manipulate object media
Fixed serialization of ObjectMedia Message

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3269 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-08 10:57:01 +00:00
Latif Khalifa
74fcac0962 Actually enable the CAPs needed for MoaP support.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3268 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 20:29:58 +00:00
Latif Khalifa
eb82abedf4 Added RequestObjectMedia() for getting object media details. Unable to test since the required cap is never granted to libomv.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3267 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 19:58:06 +00:00
Latif Khalifa
285c35471b Don't modify channel string sent by the application. Important for compliance with TPV rules.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3266 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 18:29:53 +00:00
Latif Khalifa
9b53a5ae7b LIBOMV-803: Added support for the new messages used for media on a prim
Allow packet decoder to cope with nulls in arrays

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3265 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-07 14:42:52 +00:00
Latif Khalifa
04f0e2db2a LIBOMB-796: Added Visual Parameters field to Avatar Object and updated avatarmanager event AvatarAppearanceHandler accordingly
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3264 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 21:47:23 +00:00
Latif Khalifa
eaa3c6afd6 Docu fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3263 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 15:50:42 +00:00
Latif Khalifa
fcbdb71385 LIBOMV-797: Added ability to save changes to scripts and notecards within object contents
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3261 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 13:58:42 +00:00
Latif Khalifa
84c3b1b6db Be more resilient when encountering new and unknown visual params.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3260 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 08:02:28 +00:00
Latif Khalifa
ca56d4030b Added support for inventory links LIBOMV-795
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3259 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 13:47:44 +00:00
Latif Khalifa
279baa7068 Added IsLink method to InventoryItem that indicates if the item is a link (LIBOMV-793)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3258 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 11:54:08 +00:00
Latif Khalifa
d43b7c0609 LIBOMV-794: added UpdateFolderProperties() method to InventoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3257 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 10:43:20 +00:00