Commit Graph

521 Commits

Author SHA1 Message Date
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
Jim Radford
3ffb4cb35d LIBOMV-325 Adds ParcelMediaCommand packet handler and Events, Thanks Douglas R. Miles for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2954 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 01:48:42 +00:00
Jim Radford
516ce1d0fc LIBOMV-619 Adds AgentDropGroupMessage + Handlers (this packet recently switched over from UDP to CAPS)
* Adds ForceCloseChatterBoxSessionMessage and decoder, no handler written yet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2953 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 01:31:24 +00:00
John Hurliman
7cd73c1d28 * More AbortXfer cleanup
* Fixed a crash from a failed notecard upload

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2951 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-09 22:24:04 +00:00
John Hurliman
0e382f0657 Added handling for AbortXfer packets, which will trigger OnXferReceived with Success=false
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2949 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-09 19:44:02 +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
cc01ea1385 Linden sim does not always send NewGroupData, deal with it
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2947 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 14:31:55 +00:00
Latif Khalifa
61fc8e61b6 Fixed serialization of AgentGroupDataUpdateMessage, problem discovered by unit tests
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2946 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 13:50:45 +00:00
Latif Khalifa
61cc6acf43 LIBOMV-613 Make ListInProfile actually work
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2945 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 13:00:58 +00:00
Latif Khalifa
977217bb15 Correct GroupPowers enum's type to ulong, shift ulong bits too. Good catch jradford
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2944 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 11:51:38 +00:00
Latif Khalifa
7de5688830 LIBOMV-613: some more work on the GroupManager
* Added new member to Group struct ListInProfile
* Added new method that allows saving preferences about notices and listing group in profile
* Changed Powers enum to be hopefully more readable.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2943 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 11:26:17 +00:00
Latif Khalifa
0fb6ff7a2b LIBOMV-613 added ToString() override for GroupTitle struct that retuns the title itself
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2942 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-01 01:29:12 +00:00
Latif Khalifa
25e877593a LIBOMV-613 add requestID to GroupTitlesCallback too
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2941 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 23:51:20 +00:00
Latif Khalifa
f363e1f364 LIBOMV-613 Back out part of the previous commit, partial lists not feasable with current GroupManger infrastructure
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2940 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 21:37:35 +00:00
Latif Khalifa
75c3930f87 LIBOMV-613 LIBOMV-581 Refactor group manager callbacks to provide information needed to tell which group/request received data belongs to.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2939 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 12:25:48 +00:00
Latif Khalifa
5b484e0070 LIBOMV-611: FriendsManager Exception An entry with the same key already exists, patch by Douglas R. Miles
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2934 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-29 07:00:29 +00:00
Latif Khalifa
29cb7d1d7c LIBOMV-612: TerrainManager (Locking the wrong Dictionary), patch by Douglas R Miles
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2933 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-29 06:47:29 +00:00
Latif Khalifa
7ec16b5b18 LIBOMV-613: Enhance GroupMembersCallback to allow passing requestID and groupID
* Pass along total number of group members
* Return partial results
if event handler is only interested in the full result a simple
if (memberCount > members.Count) return;
will suffice.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2932 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 19:13:05 +00:00
Latif Khalifa
5b54b7a6a4 LIBOMV-610: Mark nodes NeedsUpdate that have version mismatch when restoring from cache
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2931 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 16:13:58 +00:00
707b5378aa Removed EstateTools instance from Simulator, in accordance with LIBOMV-516. The only instance should be Client.Estate
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2930 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 16:09:01 +00:00
John Hurliman
6346c5c902 Modified Helpers.ZeroDecode() to print out the full error when something goes bad. This includes a stack trace to help narrow down the source of future problem
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2929 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:46:37 +00:00
Latif Khalifa
024c4b151d Proper implementation of messages related to RemoteParcelRequest capability
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2926 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:07:04 +00:00
John Hurliman
bcffd0cbd6 Removed OpenMetaverse.Messages.CableBeach. These messages have been moved to a new library in the CableBeach repository called CableBeachMessages.dll
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2925 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 23:02:49 +00:00
John Hurliman
184f2602d2 Applying [LIBOMV-598] from Douglas R Miles, adds three new callbacks to ObjectManager to track object modifications
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2924 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:53:48 +00:00
John Hurliman
b5c74a152d Fixes [LIBOMV-560], exception thrown in FriendsManager.OfflineNotificationHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2923 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:44:33 +00:00