Commit Graph

49 Commits

Author SHA1 Message Date
Drake Arconis
82fd0133ad Use correct folder type ids instead of asset ids for inventory folders
This corrects a severe error where as AssetTypes were being reused for
the Folder FolderType id resulting in invalid ids for various system
folder types causing inventory validation issues from within the SL
viewer.
2015-08-07 17:26:35 +02:00
Latif Khalifa
990905a5ce Added Helpers.ZCompressOSD() and Helpers.ZDecompressOSD() 2014-06-26 15:43:06 +02:00
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
Latif Khalifa
ba338225b9 Make mesh asset header available to the client 2014-02-23 16:29:34 +01:00
Latif Khalifa
59280cfe3e Make everybody's life easier, use the same zlib Opensim uses 2014-02-23 03:39:30 +01:00
Latif Khalifa
9b8c017ab9 Allow code to be compiled inside OpenSim solution 2013-11-16 04:47:00 +01:00
Revolution Smythe
4466e0c9db Merge branch 'master' of git://github.com/openmetaversefoundation/libopenmetaverse
Conflicts:
	bin/log4net.dll
2013-03-06 21:05:49 -05:00
Latif Khalifa
ad3ae73b79 Couple of doc fixes 2012-11-17 14:23:04 +01:00
Revolution Smythe
fdcb8c9ab5 Commit better archiving pieces. 2012-07-27 13:47:36 -04:00
Latif Khalifa
b1ae7397a8 Removed non-existing param documentation 2012-06-02 19:23:54 +02:00
Latif Khalifa
dac2b89f23 Removed unused var 2012-06-02 19:15:07 +02:00
Douglas R. Miles
acf5ef4dbd Added AssetCallingCard + one extra wrapper for future assetTypes 2012-05-30 14:16:06 -07:00
Latif Khalifa
73c2a836c3 RAD-912: Added mesh decoding to rendering
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3546 52acb1d6-8a22-11de-b505-999d5b087335
2011-06-10 09:57:12 +00:00
Latif Khalifa
0837897926 Save all header data, not only subparts.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3545 52acb1d6-8a22-11de-b505-999d5b087335
2011-06-10 07:32:02 +00:00
Latif Khalifa
4c4679683c LIBOMV-907: [PATCH] Support decoding of old wearable assets (LLWearable version 15 and 16)
Patch by Tim Hart

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3544 52acb1d6-8a22-11de-b505-999d5b087335
2011-06-08 08:43:01 +00:00
Latif Khalifa
5199f8ca91 LIBOMV-876: In AssetLandmark.cs, function Encode() decimal points are replaced by commas under OS Windows French language
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3507 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-09 11:14:49 +00:00
Latif Khalifa
8082f9e68a LIBOMV-895: Added mesh decoder
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3496 52acb1d6-8a22-11de-b505-999d5b087335
2011-04-12 09:51:05 +00:00
Latif Khalifa
b4e493c1f4 LIBOMV-885: Asset landmark decoding fails on non-US locales
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3475 52acb1d6-8a22-11de-b505-999d5b087335
2010-12-16 20:41:17 +00:00
Latif Khalifa
ea8107937c LIBOMV-874: Added support for GetMesh cap (untested)
* Added stub MeshAsset

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3450 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 00:01:17 +00:00
John Hurliman
7d028b3a84 * Renamed SimAccess.Min to SimAccess.Unknown to reflect that this is an invalid state for the enum
* Added missing RegionDenyIdentified and RegionDenyTransacted fields to ParcelPropertiesMessage

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3441 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-23 23:10:43 +00:00
John Hurliman
265892a471 * Added settings file parsing to the OAR loader
* OAR loader now gracefully handles null callback parameters

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3440 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-21 01:30:53 +00:00
John Hurliman
e695ec4018 * Thank you lkalif for a new implementation of Quaternion.GetEulerAngles()
* Fixed the broken quaternion multiplication operators
* Added OAR XML prim loading to PrimWorkshop

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3434 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-19 22:26:04 +00:00
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
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
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
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
John Hurliman
a35b8542d8 * Added more packet splitting tests
* OarFile loading no longer automatically decodes assets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3238 52acb1d6-8a22-11de-b505-999d5b087335
2009-12-02 00:04:42 +00:00
John Hurliman
5bd0aae867 * Inventory.RootNode and Inventory.LibraryRootNode now return null instead of throwing an exception. Properties should not throw exceptions
* Fixed unintended overriding of LindenMessages.AssetUploaderBlock.State
* Changed the disposable pattern of Simulator to match what MS code analysis suggested
* Added using { } blocks to lots of stream opening to ensure the streams are always closed before going out of scope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3080 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 23:45:52 +00:00
Latif Khalifa
d83ea760d9 Remove brilliant "fix"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3063 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-05 02:12:42 +00:00
John Hurliman
c1bc0b4af6 * Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00
John Hurliman
6557e50c2e * Improved notecard generation with embedded items
* Added InventoryManager.EncryptAssetID() helper
* Added Permissions.HasPermissions() helper

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3032 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-29 17:29:36 +00:00
Latif Khalifa
724033b1af Misc docu and typofixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3020 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 14:38:52 +00:00
Jim Radford
b60db797b2 LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Latif Khalifa
0428e2336b Added gesture asset encoder, ability to activate and deactivate gestures (LIBOMV-629)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2982 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-12 21:07:49 +00:00
Latif Khalifa
4aa19adbd5 LIBOMV-629: Added suport for gesture assets decoding and playback
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2979 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-12 15:41:22 +00:00
Latif Khalifa
37fa087021 * Close input stream if deserialization of inventory cache fails
* Decode proper type of embedded item on the notecard
* Added LastOwnerID to InventoryItem and use it when encoding/decoding assets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2976 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 14:50:45 +00:00
Latif Khalifa
68c433b3d6 Fix typo in previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2969 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 23:50:52 +00:00
Latif Khalifa
00c4015ad5 Fixed case when there are multiple embedded items, and corrected the length,
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2968 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 23:42:00 +00:00
John Hurliman
9ff8cdca27 * Fixed StatusCode.InsufficientPermissiosn typo
* Added an overload to AssetManager.RequestAsset() that lets you specify the SourceType
* Modified notecard serialization so embedded items should match the SL viewer serialization byte for byte
* Notecard upload CAP failures will pass along the WebException error message to the callback in case of a failure now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2961 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 16:23:26 +00:00
John Hurliman
f86a6652a4 Added support for embedded inventory items when encoding notecards. This will only embed the inventory data in the notecard asset, it does not create the clickable links that show up in notecard text yet
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2948 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-08 22:56:12 +00:00
Latif Khalifa
75cdaf84d5 Remove leftover debugging output.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2885 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 15:52:40 +00:00
Latif Khalifa
4465673985 LIBOMV-590 Implemented full asset notecard decoding
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2883 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-14 11:28:31 +00:00
Jim Radford
066b5ae91b LIBOMV-501 Cleaning up some compile time warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2843 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-03 20:42:44 +00:00
John Hurliman
250dd512b2 Porting a fix for old tar files in OAR loading from OpenSim
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2822 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-27 21:40:13 +00:00
John Hurliman
4a8079ff2e * Fixing GroupPowers struct. The previous bit-shifting math was created 32-bit values that wrapped around and then converting to 64-bit. Hardcoded integers are used for all of the values now (thank you mcortez)
* Replacing hardcoded paths in OAR archiving with constants

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2750 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 23:01:16 +00:00
John Hurliman
a970cbd661 Initial commit of the OpenMetaverse.Assets namespace. Serialization/deserialization for new PrimObject is done, but OAR saving/loading is still a work in progress
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2746 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 00:07:35 +00:00