Commit Graph

96 Commits

Author SHA1 Message Date
Latif Khalifa
c19a78ae90 Allow library descendants to be fetched via caps 2013-06-15 23:11:12 +02:00
Latif Khalifa
6cb053e1df Use fewer parallel downloads due to the new restrictions on http services on SL 2013-03-30 15:31:00 +01:00
Latif Khalifa
9447076f19 Store what inventory item we requested to create, to workaround bug in Linden service that returns broken info 2012-12-21 01:49:36 +01:00
Latif Khalifa
6fe0fd267b Added OSD serialization to InventoryFolder 2012-12-18 04:35:49 +01:00
Latif Khalifa
6d711e88dc * Added OSD serialization/Deserialization for InventoryItem
* Implemented FetchInventory2 capability
2012-12-18 02:31:40 +01:00
Latif Khalifa
9186f94654 Fetch fresh version of COF during appearance setting.
Added setting whether to use caps for some inventory operations.
TODO: Add support for FetchInventory2 capability
2012-12-16 19:21:23 +01:00
Douglas R. Miles
09f0a2f0a0 Added the ability to copy from object inventory 2012-06-02 03:40:27 -07:00
Douglas R. Miles
bcfc0a57b2 InventoryManager - Serializable + ToString() for debugging 2012-05-30 15:16:26 -07:00
Latif Khalifa
f1dd4dcbc9 Implement handler for BulkUpdateInventory message over EventQueue.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3589 52acb1d6-8a22-11de-b505-999d5b087335
2011-10-23 00:42:34 +00:00
Latif Khalifa
3acbd93cf9 Added handling of couple of more fields in caps-to-packet
Removed too verbose warnings

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3587 52acb1d6-8a22-11de-b505-999d5b087335
2011-10-22 22:19:02 +00:00
Latif Khalifa
7119b70634 Guard if name is sent as null (happens in recent server version)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3586 52acb1d6-8a22-11de-b505-999d5b087335
2011-10-22 21:08:43 +00:00
Latif Khalifa
6854511cea LIBOMV-894: Inventory not updated when giving an item away (no copy)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3505 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-09 10:47:29 +00:00
Latif Khalifa
be31ed43c9 Properly decode creation time.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3498 52acb1d6-8a22-11de-b505-999d5b087335
2011-04-13 13:48:41 +00:00
Latif Khalifa
2fed7299ae Added more logging to try to figure out why FetchInventoryDescentants2 cap handler does not work in Mono.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3493 52acb1d6-8a22-11de-b505-999d5b087335
2011-04-09 10:48:34 +00:00
Latif Khalifa
c8326bbbd3 * Mark folders as needing update by default
* Add field to FolderUpdatedEventArgs that indicates if the operation was successful

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3491 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-31 02:53:13 +00:00
Latif Khalifa
12deb0f745 Added RequestFolderContentsCap() for downloading folder contents via a cap. Not plugged into the rest of the InventoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3489 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-30 11:56:33 +00:00
Latif Khalifa
3bb3630a36 Converted AssetManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3286 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 14:00:36 +00:00
Latif Khalifa
eaa3c6afd6 Docu fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3263 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 15:50:42 +00:00
Latif Khalifa
fcbdb71385 LIBOMV-797: Added ability to save changes to scripts and notecards within object contents
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3261 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 13:58:42 +00:00
Latif Khalifa
ca56d4030b Added support for inventory links LIBOMV-795
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3259 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 13:47:44 +00:00
Latif Khalifa
279baa7068 Added IsLink method to InventoryItem that indicates if the item is a link (LIBOMV-793)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3258 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 11:54:08 +00:00
Latif Khalifa
d43b7c0609 LIBOMV-794: added UpdateFolderProperties() method to InventoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3257 52acb1d6-8a22-11de-b505-999d5b087335
2010-02-26 10:43:20 +00:00
Jim Radford
c626ce5038 * Minor change, in InventoryObjectOfferedEventArgs the FolderID contains the default destination for the type of asset being offered. To use a non-default destination set the value of the property to the destination folder you prefer
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3217 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-07 15:05:44 +00:00
Jim Radford
d072a615ee * Clarify documentation in InventoryManager
* Allow the destination folder for InventoryItems offered to be set in the callback, will use the Default folder for the type of asset being sent if not set
* Couple minor fixups in PacketDecoder for the BinaryBucket field in the ImprovedInstantMessage packet
* Remove GroupTitle field from EventQueue decoder for the AgentGroupDataUpdateMessage, this is something opensim hacked in but its not used by the client so we'll just ignore it
* Added copyright header to TerrainCompressor.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3216 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-07 14:57:56 +00:00
Jim Radford
6182ba84cd LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in InventoryManager (Not every delegate is converted yet)
LIBOMV-734 Thanks to Douglas R. Miles for converting the events in EstateManager over to new patterns
LIBOMV-735 Removes redundant LoggedIn event from NetworkManager, when LoginProgress Status == Success you can reliably send packets to a simulator. If you send before this event is raised, an exception will be thrown and your application will crash, previously your request would just get sent to the bitbucket without any notice, Thanks lkalif for the help getting this bug fixed correctly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3187 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 09:39:43 +00:00
Jim Radford
95a87c7857 LIBOMV-686 Convert NetworkManager events/delegates to new patterns
* Remove INetworkManager interface (it was not being used for anything)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
Jim Radford
ba491c6a63 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in AgentManager
* Many other code cleanups and example updates
* BREAKING - this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3145 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-16 02:53:53 +00:00
Latif Khalifa
8b7570e314 * Always call RequestFetchInventory after successful inventory uploads
in order to keep Store synced. This removes .NET 3.5 specific dependency.
* BakeIndexToTextureIndex is now read-only, and specified size
  (hopefully this will keep it updated should number of bakes change)
* Missing doc param in AssetManager


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3092 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-19 07:25:30 +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
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
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
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
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
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
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
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
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
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
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
Robin Cornelius
f08754921d LIBOMV-610, Implement version checking when restoring cached inventory folders and clean up the code responsible for inventory reconstruction
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2913 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 20:51:14 +00:00
Latif Khalifa
7fedc628f3 LIBOMV-593 Inventory store was not properly updated when item or folder is moved
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2887 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 17:45:34 +00:00
Latif Khalifa
1331993148 LIBOMV-592 Properly initialize InventoryFolder when created by UUID
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2884 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 13:11:55 +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
Jim Radford
f3633d6f1e LIBOMV-540 Adds eventqueue message handler for ScriptRunningReply event message in InventoryManager new event: OnScriptRunning, new callback: ScriptRunningCallback (Untested)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2760 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 23:53:16 +00:00
Jim Radford
f2dbbb00b6 LIBOMV-540 Adds parameter to CopyScriptToTask method which allows the scripts running state to be set.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2758 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 21:27:38 +00:00
Jim Radford
168df79f12 LIBOMV-540 Adds method to InventoryManager to change the request the running status of a script contained in a Task inventory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2756 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 20:35:47 +00:00