Commit Graph

756 Commits

Author SHA1 Message Date
John Hurliman
0055be6820 * THIS IS A POTENTIALLY BREAKING CHANGE *
* Changed the OpenMetaverse.Assets.Asset* classes to normalize their behavior as much as possible:
 - Some unused constructors were removed
 - Decoding is never done if the (assetID, assetData) constructor is called
 - AssetPrim decoding from XML will set the AssetPrim.AssetID to the UUID of the root prim in the linkset if it is not already set
 - Added more sanity checking in Decode() methods

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3408 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-04 23:25:40 +00:00
John Hurliman
9a2a68edf1 * Handle another serialization change in OpenSim XML prims (PlaySoundSlavePrims and LoopSoundSlavePrims fields)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3400 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-29 17:48:35 +00:00
John Hurliman
2ebc810d72 * Finished OAR file loading
* Small performance optimization in JsonMapper.cs
* Added message definitions for new capabilities
* Added (currently unused) new enum values
* Updated to a more recent version of log4net.dll

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3397 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-26 18:01:40 +00:00
Latif Khalifa
74c3b08134 LIBOMV-859: SimPosition reporting RelativePosition when avatar is sitting
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3394 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-25 20:32:43 +00:00
Latif Khalifa
0167806ca3 Additional check in LIBOMV-857 fix.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3386 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-24 13:53:55 +00:00
Latif Khalifa
11121100cb LIBOMV-858: MediaPermission enum needs to be treated as bitfield
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3378 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-22 17:55:42 +00:00
Latif Khalifa
1cf8dee511 LIBOMV-857: Avoid sending AgentUpdate message before we send
RegionHandshakeReply during the connection sequence, it corrupts
agent position and causes other ill side-effects in Linden sim 1.40.4.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3377 52acb1d6-8a22-11de-b505-999d5b087335
2010-07-22 07:35:01 +00:00
Latif Khalifa
cd5b0774c3 LIBOMV-707: TexturePipeline - PacketSeen Dictionary throws null argument exceptions - Masking a ConcurrentModificationException
Patch by Douglas R. Miles

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3375 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-29 13:56:23 +00:00
Latif Khalifa
f91239b460 LIBOMV-856: AgentManager.Sim position returns incorrect results for some OpenSim based grids
LIBOMV-464: SimPosition does not fall back on last known CoarseLocationUpdate info

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3374 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-29 13:36:52 +00:00
Latif Khalifa
a539f769d6 LIBOMV-853: Client.Parcels.Terraform Throwing Packet Errors
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3372 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-29 12:41:12 +00:00
Latif Khalifa
d57f0aa470 LIBOMV-851: part II - change serialization to reflect the new deserialization
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3370 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-28 23:53:20 +00:00
Latif Khalifa
c6c70e79af LIBOMV-851: Bad decoding of mutes for ChatterBoxSessionAgentListUpdatesMessage
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3368 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-28 23:25:41 +00:00
Latif Khalifa
19ee464305 LIBOMV-852: Avatar.Scale not populated
Patch by Sierra Janus

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3365 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-28 20:43:53 +00:00
John Hurliman
f108207698 * Fixed a bug in BitPack where existing 1 bits were not being overwritten by new 0 bits
* Added BitPack.PackBit()
* Made Binary LLSD deserialization more lenient when parsing the header. Tests pass again

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3364 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-25 01:24:11 +00:00
Latif Khalifa
e1417f2101 LIBOMV-847 (Unable to start voice daemon on Linux)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3362 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-15 14:37:35 +00:00
John Hurliman
64f990fa38 * Fixed JSON serialization for null/undefined values
* Added MappingType.Spherical and MappingType.Cylindrical enum values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3361 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-05 14:12:24 +00:00
Latif Khalifa
3ccb97e3e1 LIBOMV-843: Added simulator where sound events originate in corresponding event args
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3358 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-29 13:48:18 +00:00
Latif Khalifa
0dc8e91fed LIBOMV-840: Add method for downloading arbitrary binary data to CapsBase
* added DownloadDataAsync() that allows you to create your own custom HttpWebRequest

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3355 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-25 19:53:38 +00:00
Latif Khalifa
6871439ea2 LIBOMV-837: Dont't dispose objects we're sending via callback
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3352 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-24 10:55:34 +00:00
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