Commit Graph

563 Commits

Author SHA1 Message Date
John Hurliman
52ed43a9fd Reverting the conversion to the .NET 2.0 method of overriding SSL checks. Even though the new method now compiles on Mono, it will still throw a runtime exception
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3065 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-06 17:51:16 +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
Latif Khalifa
b7f85867a7 Don't apply aplha masks to skin layer if it has texture, texture overrides all other skin settings.
Add debug info measuring how long it takes to produce bakes.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3062 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-05 01:48:03 +00:00
Latif Khalifa
0d75e507c4 Remove leftover debugging info
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3061 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:50:17 +00:00
John Hurliman
ad462e8669 Added some sanity checks in BakeLayer to fix IndexOutOfRange and NullReference exceptions when playing around in AvatarPreview
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3060 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:46:38 +00:00
John Hurliman
32b36d88af * Removed even more cruft from the old method of overriding SSL checks
* Updated the documentation on AppearanceManager.TextureData

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3058 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:27:23 +00:00
Latif Khalifa
0133909275 LIBOMV-640: Rewrite texture baker
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3057 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-04 23:16:00 +00:00
John Hurliman
751ef64372 * Finished cleaning out .NET 1.1 CheckValidationResult cruft for overriding SSL checks
* Added a few more fields to PrimInfoCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3056 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 22:27:00 +00:00
John Hurliman
0c18efa8e2 Fixed mono compile errors in AppearanceManager and switched from magic numbers to a defined constant
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3054 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 18:46:14 +00:00
Latif Khalifa
4f64c9c7be Added function that calculates RGB color based on visual params (yey!). (towards LIBOMV-658)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3052 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 03:49:48 +00:00
Latif Khalifa
1faa60a75f LIBOMV-655: Print resend timout before zeroing it out
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3051 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 23:49:58 +00:00
Latif Khalifa
dc60f34a6d Now we decode all alpha mask/color params for each texture. TODO make function to calculate final color tint of the texture and modify baker to use color tint and alpha masks (towards LIBOMV-658)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3050 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 23:29:48 +00:00
Latif Khalifa
adca88b1ed Added support for decoding alpha masks and color params for textures using visual params (towards LIBOMV-658)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3048 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 17:06:29 +00:00
Latif Khalifa
4fbfbc83d6 Added color and alpha blending/bump information to VisualParams (towards LIBOMV-658)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3047 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-02 07:16:11 +00:00
John Hurliman
79684bd8eb Added an overload to AssetManager.RequestAsset() that takes a transactionID
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3044 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 23:23:14 +00:00
John Hurliman
ee7bb90907 Implemented UDP fallback for RequestUploadBakedTexture()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3042 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 21:53:32 +00:00
John Hurliman
59e9e74a45 * Reverted WearableData from a struct back to a class to fix a regression
* Started on WearOutfit()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3041 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 19:36:13 +00:00
John Hurliman
7d57b4afab * Changed WearableData to public and a struct
* Added GetWearableAsset(), IsItemWorn(), and GetWearables()
* Swapped InventoryBase for InventoryItem wherever possible in AppearanceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3039 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 19:00:36 +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
aa28d07115 Fixed documentation for RequestRezFromInventory() and changed overloads to request CreateSelected flag by default
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3036 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 01:28:24 +00:00
John Hurliman
1f4c182558 Fix AppearanceManager to use Client.Assets instead of passing in an AssetManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3033 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-29 17:58:25 +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
John Hurliman
820d447672 * Labeled magic number for transfer timeouts in AssetManager and changed the value from 5 to 15 seconds
* Fixed [LIBOMV-649] by implementing the CAPS path for copying an item from a notecard. UDP fallback was left in

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3031 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-27 19:54:08 +00:00
Latif Khalifa
dfd91e393b LIBOMV-644: ObjectManager does not always set the region handles when creating prims (patch by Douglas R Miles)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3028 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-25 20:03:37 +00:00
Jim Radford
a4242c1a0d * Corrects some compile warnings caused by out of sync xml documentation
* Updates Doc Builder tool to support the OpenMetaverseCore library

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3023 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-24 08:25:28 +00:00
Jim Radford
937ba12fd0 LIBOMV-576 Add missing ClientHelpers class, which is the Replacement class for Helpers that contains static functions useful for client development.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3022 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-23 03:38:00 +00:00
Jim Radford
b80b974c77 0.8 here we come!
LIBOMV-576 Start of Abstracting library into two separate libraries. For now this means: There will be a new dependency for OpenMetaverse.dll named OpenMetaverseCore.dll, the new will be required for OpenMetaverse to operate properly, the inverse is not true. OpenMetaverseCore will eventually contain all packet and message related code. 
* Need to create a singleton logger instance (or move the current logger to Core.
* Currently only Packets, Helpers and some common types have been moved to Core.
* Helpers will need to be split and non-core required helpers moved back to OpenMetaverse.
* Lots more work to be done here, but these changes should not break anything (yet)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3021 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-23 03:31:16 +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
0740cc301b LIBOMV-618: Avoid starting the same thread more than once in case of relog
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3014 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 01:03:12 +00:00
Latif Khalifa
6829ff7648 USE_INTERPOLATION_TIMER no longer static
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3013 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 00:47:53 +00:00
Latif Khalifa
257e6a6fb8 Revert change made in r2977, its no longer needed to make this setting static
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3012 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 00:31:48 +00:00
Jim Radford
0c0a29cf73 LIBOMV-585 Re-implements ObjectSelect trigger when we receive a primitive with the CreateSelected flag set.
* Fixed NullReference exception in TestClient PrimInfoCommand which was being thrown when a primitive was sent with no light data.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3011 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-21 23:53:01 +00:00
Jim Radford
25aef9f879 Mark RemoteParcelRequestBlock Serializable for unit performance tests, Fix summary in OnLogoutReply event documentation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3009 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-21 21:34:27 +00:00
Jim Radford
0530b799b5 XML Documentation updates (No code changes)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3008 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-21 21:05:12 +00:00
Latif Khalifa
11bf653dd1 Catch all exceptions if we cannot change AckTimer, fixes nullref in LIBOMV-636
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3006 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 22:45:09 +00:00
Latif Khalifa
1952d61c25 Change setting names to go along changes in LIBOMV-639
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3005 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 03:50:09 +00:00
Latif Khalifa
a4c8f8bba5 LIBOMV-639:
* Renamed TextureCache to AssetCache
* Plugged in new cache into AssetManager
* Removed OnAssetReceived global event from AssetManger
* RequestAsset and RequestInventoryAsset now take a delegate of type AssetReceivedCallback


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3004 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 03:38:27 +00:00
Latif Khalifa
c90dd9e8cd LIBOMV-638: Allow setting permission of newly created inventory in RequestCreateItemFromAsset()
TODO: update examples to take advantage of this new feature

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3002 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-18 15:55:23 +00:00
Latif Khalifa
cde49a2061 Improvement on previous LIBOMV-636 related commit. Destroy timer with AutoPruneEnabled is assigned false.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3001 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-17 23:53:09 +00:00
Latif Khalifa
6f39ca3ea2 LIBOMV-636: More timer cleanup
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3000 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-17 18:42:58 +00:00
Latif Khalifa
5db0207329 LIBOMV-636: More timer cleanup
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2999 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-17 18:17:27 +00:00
Latif Khalifa
de0e00a1f0 LIBOMV-636: Dereference timers so GC can collect GridClient and managers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2998 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-17 16:54:45 +00:00
Jim Radford
bdeda88b3c * Cleanup of message system, remove some cruft code, message keys are not neccessary to be included in classes, reuse uploader request class used by notecards for gestures
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2996 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-16 20:10:44 +00:00
Jim Radford
616b169729 LIBOMV-501 Minor documentation fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2991 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-16 08:25:44 +00:00
Latif Khalifa
31d313cdd4 * LIBOMV-632: Implement uploading gestures
* Generalize notecard uploaded callback so it can be used with other
  similiar inventory asset uploaders

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2988 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-15 22:11:48 +00:00
Latif Khalifa
a1685ca431 Missing bit of LIBOMV-629 patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2983 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-14 16:16:29 +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
f86ea95052 Mono claims: No overload for method 'WaitOne' takes '1' arguments (LIBOMV-629)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2981 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-12 16:52:36 +00:00
Latif Khalifa
d4152a6291 Avoid redowloading gesture asset on repeated gesture play (LIBOMV-629)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2980 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-12 16:44:07 +00:00