Commit Graph

532 Commits

Author SHA1 Message Date
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
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