Commit Graph

41 Commits

Author SHA1 Message Date
John Hurliman
3bf0c620ff Added debug logging for CreateItemFromAsset callback to help track down [LIBOMV-268]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1910 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-09 23:43:49 +00:00
Jim Radford
d3fd8ab8d7 LIBOMV-249 Adds new GiveFolder method to InventoryManager for giving a folder and contents, Thanks to Gonta Maltz for the research+patch!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1881 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-26 04:27:14 +00:00
Jim Radford
21d2d3e70e LIBOMV-74 Fixes FolderContents() method to return results even if spread across multiple packets. Thanks Avimote Systems for the patch. See remarks for caveat.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1875 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-20 03:09:31 +00:00
Jim Radford
f01d1426cf LIBOMV-138 Implements RequestDeRezToInventory methods for taking or deleting items in simulator back to agents inventory, or to a tasks inventory. Thanks root66 for the work on this
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1864 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-14 11:17:45 +00:00
John Hurliman
112019de03 Converted logging system to use a singleton log4net wrapper class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1831 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-06 23:57:26 +00:00
Jim Radford
961d6467db * Updates InventoryManagers handling of OnObjectOffered, relaces fields with InstantMessage struct which contains the details of the offer. Mantis#243
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1828 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-06 00:31:03 +00:00
John Hurliman
16d61c2cd2 [libsecondlife]
* Rewrote CapsBase to reimplement the needed functions in WebClient instead of inheriting
* Fixed some bugs in CapsClient with the wrong callbacks being hooked up
* InventoryManager.RequestCreateItemFromAsset() signature changed to add a progress callback
* Updated example code to match new RequestCreateItemFromAsset()
[primpreview]
* Changed FRONT_AND_BACK rendering to FRONT only to speed things up
* Only run picking code for left-clicks

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1827 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-05 23:41:41 +00:00
Jim Radford
33f37e250d * Adds support to InventoryManager to access the shared Library Mantis#260
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1826 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-05 10:32:47 +00:00
Jim Radford
cf8544b538 * Corrects issue with Assets of type Attachment being returned from the simulator as Textures.
* Corrects incorrect usage of InventoryItemFlags which were being applied to all AssetTypes when AssetTypes get their own type specific flags. 
See Mantis#258 for details

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1823 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-05 02:02:29 +00:00
Jim Radford
9577c0a988 * Adds class documentation to InventoryManager (95%)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1819 52acb1d6-8a22-11de-b505-999d5b087335
2008-05-03 04:10:02 +00:00
baba
8ac39b396e updated copyright dates and added missing license text in headers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1745 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-11 07:59:44 +00:00
Jim Radford
5dfe7b3e2a Adds new Method to InventoryManager to rename folders
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1699 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-03 10:03:30 +00:00
Jim Radford
0aa0b55c11 applies patch#198 from CrisOmega - adds the OnInventoryObjectAdded event and InventoryObjectAdded delegate to the Inventory class. It exposes the inventory node structure via the GetNodeFor method for easy traversal. It also adds an Owner field to the Inventory class, for future library support.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1698 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-31 21:31:02 +00:00
Jim Radford
d78502daac [DocumentatInline Documentation Updates for AppearanceManager and InventoryManager classes. (No Code Changes)
* Updates to nsis installer to use relative paths when generating releases.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1685 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-22 00:11:40 +00:00
Jim Radford
785404d552 * Adds missing methods to move/delete task items (Prim Inventory)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1668 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-13 06:45:42 +00:00
Jim Radford
cc17e14250 * Adds support for uploading Notecards to InventoryManager Courtesy of Thoys
* Adds new TestClient command createnotecard to upload a text file as a notecard Courtesy of XLilCasper
See Mantis#116

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1666 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-12 22:46:53 +00:00
Jim Radford
6135b0c748 Cleanup patches from DrScofield, cleans up inline code comments and LLUUID Comparison against null. Mantis#138
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1656 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-06 05:57:16 +00:00
Jim Radford
7939157db3 TransactionID is incorrectly handled in InventoryManager.cs / RequestCreateItem() Mantis#145 - Thanks mcortez
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1649 52acb1d6-8a22-11de-b505-999d5b087335
2008-02-28 21:48:39 +00:00
Jim Radford
cbb25af68b * Implements AlertMessage packet handler/events in AvatarManager - Self.OnAlertMessage
* fixes minor spelling mistake in InventoryManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1644 52acb1d6-8a22-11de-b505-999d5b087335
2008-02-19 08:46:16 +00:00
Jim Radford
ef3796aa90 Fixes #115 from A_Biondi, CreateItemFromAssetResponse doesn't handle null response
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1631 52acb1d6-8a22-11de-b505-999d5b087335
2008-02-03 04:02:14 +00:00
Jim Radford
77143b9b6b * Applies patch from issue #108, avoids Timeout for empty Task content Courtesy of A_Biondi
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1625 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-15 20:16:13 +00:00
Jim Radford
05d660e3e4 * Adds InventoryItemFlags enum to the Inventory system.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1617 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-12 00:12:40 +00:00
John Hurliman
f708c6284b * Fixed LLSDString.AsBoolean() to properly recognize false values
* Hardened up the login process to deal with broken login servers
* Fixed a command-line argument parsing bug in importprimscript

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1595 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-04 22:51:24 +00:00
John Hurliman
33bb4a84d7 Added a safer overload of CreateFolder() and documented both of the overloads
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1557 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-23 04:33:08 +00:00
John Hurliman
9f8e97f13b * Removed the poorly done GetType function from _Packets_.cs
* Housecleaning in FriendsManager
* Make sure LLSDString is never holding a null pointer
* Changes to Login.cs to prepare for the LLSD switch (it is not happening yet!)
* Fixed LLSD export for prims to export light/flex/sculpt data as well, importing that back in is still a TODO

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1540 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 02:25:36 +00:00
John Hurliman
037b7b0aed Initial check-in of the new CAPS rewrite. Current issues:
* Original CapsEventQueue is still being used until a bug in the new one can be resolved
* New progress callbacks are not being utilized (yet)
* Listener classes (CapsListener and EventQueueListener) are only stubs right now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1518 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-06 00:58:28 +00:00
John Hurliman
b8d7966ee5 Switched over deprecated CAPS handler in InventoryManager to the new LLSD system (this was preventing file uploads from working). Thanks to karthic for debugging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1515 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 21:48:50 +00:00
John Hurliman
ba153c9749 * Removed LLUUID.ToStringHyphenated(), LLUUID.ToString() has hyphens now
* Fixed a CAPS crash when the callback was triggered with a null LLSD object
* Fixed TextureEntry bugs, added support for the new glow parameter
* Prim import and export are working now, but need rigorous testing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1507 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 13:15:31 +00:00
John Hurliman
9eecefb290 * Rewrote the LLSD system, changed the namespace name to libsecondlife.StructuredData and created an LLSD instance class
* Removed unused/deprecated login parameters user-agent and author
* More work on prim import/export
* Fixed up GridManager.GetGridRegion()
* Cleaning up AgentManager.LookAt mess
* Attempting to fix AgentManager.StopJump()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1498 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-21 23:50:05 +00:00
John Hurliman
3013742668 * Increased SIMULATOR_TIMEOUT to 30 seconds
* Converted all timers to System.Threading timers to fix problems running in services and the CF
* UDPBase now uses our own ReaderWriterLock that is more efficient, and CF compatible
* Login uses a hand-created LoginProxy object instead of dynamically building the class with reflection .Emit()
* Replaced ParameterizedThreadStart calls with class-wide variables for CF compat.
* Removed transfer timeout code (irrelevant now that uploads go through CAPS)
* Added several new Helpers methods to wrap desktop and CF conditional code
* Replaced Monitor calls with AutoResetEvent in BlockingQueue
* InventoryNodeDictionary uses generics now
* Removed final lingering piece of XML serialization
* Added CookComputing.XmlRpc.CF.dll for the CF

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1479 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-06 09:26:10 +00:00
John Hurliman
62dddabd7c * Transfer timeout support for uploads. This code will be deprecated soon though as CAPS uploading is almost finished
* More parameters to HTTPBase and Capabilities for making special requests
* Renamed InventoryManager callbacks to match the rest of libsecondlife
* Several new InventoryManager functions, not complete yet!
* Fix for null buddy list on login
* OnSimConnecting returns a bool to allow canceling sim connections
* NetworkManager.Connect() properly returns null on a failure

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1393 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 10:20:30 +00:00
jedediah
eeb728c494 handle unknown inventory item types in InventoryManager.CreateInventoryItem
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1381 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-31 07:28:38 +00:00
John Hurliman
349830c983 * Object tracker dictionaries are now internal and only accessible through various methods and properties to prevent locking disasters. Basis of this code written by jradford in issue 342
* Added a Client.Self.Name property for the full name of the avatar which does smart caching
* Adds BackupCommand to TestClient (submitted by CheechBode in issue 314), backs up notecards and scripts from your inventory to hard drive. Needs more refining but it works
* Parsing problems in TestClient no longer crash the app

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1378 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-29 08:55:53 +00:00
John Hurliman
f49e324156 Applying jradford's patch from issue 332:
* Adds ParcelManager.ObjectOwnersRequest and ParcelManager.OnPrimOwnersListReply
* Adds InventoryManager.RezFromInventory
* Adds missing CreatorID to InventoryDescendents parsing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1376 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-26 16:52:08 +00:00
jedediah
216441f0be * added support for asset wrappers to the AssetManager API (BREAKING CHANGE)
* added Image class, modified OpenJPEG to use it
* implemented AssetTexture (with Image class)
* reimplemented Wear* commands, refactored appearance code
* added bake flag parameter to appearance commands
* added InventoryItem subclasses for different item types
* added *FindObjectsByPath to InventoryManager
* added single item FetchInventory


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1373 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-25 09:36:33 +00:00
John Hurliman
25931f50a6 * Changing the signature of the InstantMessageCallback to use a struct instead of 14 arguments to try and fix mono
* Moved several enums outside of of the MainAvatar class that had little or no relationship to the main avatar

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1367 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-22 18:16:38 +00:00
jef
17b2cfd6fb Fix for inventory offer handling section of InventoryManager removes spurious IM notifications. Thanks Thoys!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1329 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-22 19:43:25 +00:00
John Hurliman
c1835ad420 * Renamed InventoryObject to InventoryBase
* Renamed AssetScript to AssetScriptText
* Added simple AppearanceManager.Attach() and AppearanceManager.Detach() functions
* Added stubs for AssetScriptBinary, AssetTexture, and AssetObject

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1311 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-16 18:31:53 +00:00
jef
2265c97419 Addition of OnInventoryObjectRemoved, BeginRequestFolderContents and EndRequestFolderContents. RequestFolderContents now blocks, all courtesy of chris omega. also new xcode project file that seems to compile.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1301 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-14 00:27:23 +00:00
John Hurliman
8db10d3a9d InventoryManager workaround for Mono bug #81563
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1298 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-13 15:45:14 +00:00
Latif Khalifa
f462f44d23 *BREAKING CHANGES* Merging jhurliman branch with the trunk. The old AssetManager, ImageManager, and InventoryManager systems have been phased out and replaced by the new AssetManager and InventoryManager classes. The lowest network layer has been abstracted out and replaced, new networking callbacks added, and many small bugfixes made. AppearanceManager.Wear* commands have been commented out until they are ported to the new inventory system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1296 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-13 14:49:36 +00:00