Commit Graph

545 Commits

Author SHA1 Message Date
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
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
John Hurliman
d1715e40a5 * Adds InventoryItem.TransactionID for updating inventory items with a new AssetID
* Finished InventoryManager.ParseTaskInventory()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2978 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 23:22:41 +00:00
Latif Khalifa
fac159cba2 Made USE_INTERPOLATION_TIMER static as changes after instantiation of GridClient have no effect
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2977 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 15:30:31 +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
Jim Radford
75dfeb8342 * Updates Message system to support all known message types and variants used for updating assets which are uploaded using the temporary uploader capabilities
* Adds a ton of inline documentation so the classes and fields are easier to understand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2975 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 08:16:43 +00:00
Jim Radford
247cb42900 * Updates Message decoder method to match the output of the Packet decoder
* Other decoder cleanup and enhancements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2974 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 03:43:52 +00:00
John Hurliman
000c0ab577 Added InventoryObject.AttachPoint getter/setter to match InventoryObject.ItemFlags
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2972 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 00:26:51 +00:00
John Hurliman
f403dad3c1 * PacketDecoder now parses InventoryItemFlags field
* Additional callback sanity check in createnotecard

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2970 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 00:17:09 +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
Jim Radford
b4ad11b802 * Corrects decoding behaviour of Message classes that are abstract
* Corrects behaviour of displaying data sent to uploader capability in Inspector views
* Fixes unreferenced object exception in GridProxy when checking for uploader capabilities

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2967 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 22:30:32 +00:00
John Hurliman
268ab32fef * Better error message fetching from failed notecard uploads
* createnotecard command will now add a link to the embedded item at the end of the note (still broken with "Invalid asset type.")

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2966 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 20:20:49 +00:00
John Hurliman
46fe89d0a9 Notecard upload failure now passes the server-returned error message to the callback. "Incorrect asset type." is the error I'm seeing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2965 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 19:36:59 +00:00
John Hurliman
3d2ef50871 * Catch an ObjectDisposedException for the AckTimer
* Added item embedding support to createnotecard, which is currently not working. Any help getting this working would be appreciated

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2963 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 17:31:57 +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
Jim Radford
b504835fc3 renamed base class for UploadBakedTexture, switched UpdateNotecardAgentInventoryMessage to use the same base classes since the messages are the same. Allows us to maintain one set of base classes and variants for AssetUploads done via Capabilities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2960 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 08:14:55 +00:00
Jim Radford
0b38587301 LIBOMV-619 Corrects protection levels of fields in ForceCloseChatterBoxSession Message
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2959 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 07:38:44 +00:00
Jim Radford
e3d5e0074c LIBOMV-625 Implementes UploadBakedTexture Message decoder/encoder
* Defaults Texture cache to enabled by Default.
* Updates Known Capabilities to include recently added capabilities

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2958 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 07:29:35 +00:00