Commit Graph

26 Commits

Author SHA1 Message Date
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
fd6c2217a0 Add some extra sanity checks when restring inventory from cache
* Don't restore folders that are not in the skeleton
* Don't restore items that belong to changed folders

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3278 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-14 12:50:01 +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
John Hurliman
5bd0aae867 * Inventory.RootNode and Inventory.LibraryRootNode now return null instead of throwing an exception. Properties should not throw exceptions
* Fixed unintended overriding of LindenMessages.AssetUploaderBlock.State
* Changed the disposable pattern of Simulator to match what MS code analysis suggested
* Added using { } blocks to lots of stream opening to ensure the streams are always closed before going out of scope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3080 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 23:45:52 +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
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
Jim Radford
2db5f0c493 LIBOMV-481 Re-Implements XML-RPC Logins, New Settings to switch between LLSD or XML-RPC logins, defaults to XML-RPC Please post any new login issues to http://jira.openmv.org/browse/LIBOMV-481
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2583 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 01:55:59 +00:00
Robin Cornelius
993763515e Import Serialization support for InventoryNodes and things derived from InventoryBase, to allow serialization of inventory to and from disk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2458 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-26 20:41:39 +00:00
John Hurliman
046a778b09 Applying [LIBOMV-395] from Jeff Ames to comment out dead code and fix lots of compiler warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2284 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 16:48:44 +00:00
Jim Radford
c551283fd8 LIBOMV-359 Reverting InventoryManager/Inventory system to old inventory system based on r2020, Disabled GUI library in prebuild.xml as its based on the new inventory system and needs to be rewritten to be used with the old inventorymanager (or re-enabled when new inventory system is added back to trunk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2126 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 01:19:06 +00:00
omegaworks
824d4984c5 InventoryFolder.PartialContents delegate gets a new parameter, remaining, which tells you how many contents the server has yet to send to us. PartialContents delegate documented.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2097 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-17 06:11:59 +00:00
omegaworks
6c0dfb2297 Fixed NullPointerException that would happen when InventoryFolder.RequestContents' PartialContentsCallback delegate received null ItemData[] or null FolderData[]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2091 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-14 05:55:07 +00:00
omegaworks
12bea7b365 Implements Inventory.OnInventoryManaged, triggered when an item or folder is managed. Inventory might *just* be thread-safe now.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2090 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-14 04:09:27 +00:00
omegaworks
bf38b0ed16 OnPartialContents event added to InventoryFolder that triggers as contents are streamed in from the server. RequestFolderContents' FolderContentsCallback parameter can safely be null.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2089 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-13 06:03:00 +00:00
omegaworks
e7def30b9a Inventory.InventoryFromPath now correctly handles "/" and "Folder/".
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2086 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-13 00:41:58 +00:00
omegaworks
82250be4f1 Added more sophisticated path handling to Inventory. cd command path handling is now available to all TestClient commands. Resolved [TC-12]. Helpers.Implode replaced by String.Join.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2077 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 05:55:42 +00:00
omegaworks
b8076e9350 Applied patches from libomv-345 and libomv-346 which initialize GridClient's Inventory instances immediately and add InventorySortOrder parameter to InventoryFolder.RequestContents, respectively.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2065 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 05:07:53 +00:00
Jim Radford
2ec24f22fa Compiler warning cleanup, fixes all unmatched parameters (adds empty placeholders for CrisOmega to fill in when he wakes up :)), Adds additional warning supressions to prebuild.xml
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2033 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 06:51:51 +00:00
John Hurliman
61f9b9eb87 Applying Christopher Omega's patch in [LIBOMV-333] to notify the inventory store of newly created items
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2024 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 23:38:07 +00:00
John Hurliman
bfa6f6ca3f Applying patches from [LIBOMV-288] to completely redo the InventoryManager system, hopefully for great justice
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2021 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-29 21:36:53 +00:00
John Hurliman
e294f47afd * Basic types renaming continued
* Corrected ManagedImage.ExportRaw() function to flip the image (OpenGL has a texture origin in the bottom-left)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2015 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 22:23:48 +00:00
John Hurliman
81e6342d36 Removing LL prefix from all basic types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1998 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 05:15:05 +00:00
John Hurliman
c1f3d6a3c2 Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00