Commit Graph

203 Commits

Author SHA1 Message Date
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
92e460a066 Removing a formatting string in AutoPilot as it was breaking non En-US clients. Fixes issue 281
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1377 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-26 16:59:40 +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
John Hurliman
721af25e39 * Fixed the TextureEntry unit test to not use out of range values so the test passes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1375 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-25 22:22:53 +00:00
John Hurliman
c2cb525246 * Switched to the new TextureEntry class, should not be a breaking change but please test!
* Fixed a bug in TextureEntry offset parsing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1374 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-25 22:08:27 +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
56600d7757 * Added Settings.OBJECT_TRACKING check on ObjectKill packet handling
* Switched double and triple dictionary lookups in ObjectManager, EventDictionary and elsewhere to use a single TryGetValue() call

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1371 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-23 18:54:43 +00:00
John Hurliman
d46dd96eee * Added Settings.OBJECT_TRACKING to enable or disable internal object tracking, enabled by default
* Added a Helpers.VecDist() overload that works with LLVector3d
* Added Self.GlobalPosition property
* Removed the dead libslupdater app

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1370 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-23 17:41:57 +00:00
John Hurliman
8085ca43ec Applying samtao's patch from issue 277, adds a GroupManager.LeaveGroup() function
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1369 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-23 01:42:23 +00:00
John Hurliman
a12975f89a Added a default constructor to TextureEntryFace for serialization
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1368 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-22 18:52:23 +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
John Hurliman
61127e665e Patch from issue 309 submitted by brianw, LLUUID implements the IComparable interface now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1366 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-22 05:01:22 +00:00
John Hurliman
b3b9dc4629 Applied jradford's patch from issue 289, implementing DirectoryManager.StartPlacesSearch and DirectoryManager.OnPlacesReply for finding places owned by yourself and your groups
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1365 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 20:38:36 +00:00
John Hurliman
328e3f1954 Removed noisy exception logging from UDPBase
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1364 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 20:21:52 +00:00
John Hurliman
47f8a88162 * Moved all simulator statistic information to a new struct at Simulator.Stats
* Added per-sim avatar and prim tracking through Simulator.Objects, use Settings.ALWAYS_DECODE_OBJECTS = true to enable
* Handle DisconnectSim packet and don't send CloseCircuit packets on sim-triggered disconnects
* Interpolation timer now does angular velocity and linear movement interpolation for all objects in the object tracker(s)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1363 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 09:26:21 +00:00
qode
b60d104f8d Patch (0000226) now in SVN. Fixes the removal of friends from your friends list. Thanks samtao!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1361 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-16 19:47:40 +00:00
qode
fd33b49825 Applied patch (0000279) for Group Search features. Thx to adjohn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1360 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-16 19:41:30 +00:00
jedediah
2383aa3360 baking temporarily bypassed (no more checkerboard appearance)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1359 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-14 06:06:05 +00:00
John Hurliman
075a854a6f * Added missing commands for TestClient to the VS2005 project file
* Updated CloneProfileCommand to use the new GroupManager.OnGroupJoined

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1358 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-13 00:19:54 +00:00
Latif Khalifa
ec5fc8de80 * Renamed AssetType.Object to AssetType.Primitive and AssetObject to AssetPrim to clear up confusion
* Big cleanup of group functions, moving things from MainAvatar to GroupManager, renaming BeginGet* to Request*, and adding new functions and callbacks
* Added an Autopilot function that takes doubles as input (very accurate autopilot)
* Added Settings.CONTINUOUS_AGENT_UPDATES which defaults to true
* Added quotes to the post-build event in VS2005
* Added empty AssetSound and AssetClothing, feel free to fill them in :-)
* Client.Self.*Name are read only properties now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1357 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 20:16:19 +00:00
1262a83772 Fix for previous commit: Changed some voids to bools and fixed the return types (thanks Thoys)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1356 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 07:42:23 +00:00
51a698e428 * Added Client.Self.StartJump(), .StopJump(), .StartCrouch(), .StopCrouch()
* Added warnings for functions in MainAvatar.cs which use SendUpdate(), if SEND_AGENT_UPDATES is false

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1355 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 04:06:55 +00:00
1d73c86c9d Added Client.Self.SitOnGround();
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1354 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 02:24:35 +00:00
qode
c2ea061d98 added a FIXME for AvatarAnimation event calls
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1353 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-06 21:29:04 +00:00
qode
329f8666cc added a FIXME to a empty SoundTriggerEvent to surpress the SoundTrigger event errors in DEBUG output
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1352 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-06 20:54:46 +00:00
jedediah
0983fc462a fixed incorrect descriptions for FieldToUTF8String and StringToField
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1351 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-06 06:44:49 +00:00
b555674ad6 Changed $(SolutionDir) to $(ProjectDir) in VS post-build events
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1350 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-05 23:55:58 +00:00
jedediah
a02772e889 update AssetManager for previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1349 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-04 17:43:20 +00:00
jedediah
27623e7fb5 Make asset wrapper encoding/decoding entirely manual
Add asset type field
AssetTexture is commented out until my Image class is ready

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1348 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-04 16:46:37 +00:00
John Hurliman
50adfa5675 * Added Capabilities.CapsReceivedEvent that signals after the initial CAPS connection is made
* Complete rewrite of event handling for packets and CAPS events
 - No more nested generic collections for events
 - No more for loops for every packet callback
 - CAPS event handlers by event name
 - Asynchronous CAPS event handlers
 - Unregistering of CAPS events
* Added a stub SoundManager
* Increased packet buffer size to 2048 after I got an exception about it being too small
* Continued work on VoiceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1347 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-04 14:31:31 +00:00
John Hurliman
d9e2b40e3e * Massive amount of work on VoiceManager and VoiceTest, we are almost logging in
* Fixed a few lingering bugs with the CAPS event queue wanting to time out
* Forced CapsRequest to always use POST
* Removed more debugging spew from HttpBase

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1346 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-03 16:00:50 +00:00
John Hurliman
fa9b7830a3 * Added the beginnings of VoiceManager to libsecondlife.Utilities
* Added VoiceTest to test VoiceManager. For now you will have to manually run the voice daemon (shipped with Second Life) each time

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1345 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-03 07:07:49 +00:00
John Hurliman
5aa0e5b6cc group.ID was not being set in GroupProfileHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1344 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 09:23:31 +00:00
John Hurliman
813875d7b2 * CapsResponseCallback now passes an object instead of a Hashtable
* Added a skeleton implementation of RegistrationApi to libsecondlife.Utilities. It does not work yet! Anyone with RegAPI access that wants to help test let me know. Original code submitted by fkollmann

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1343 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 02:35:40 +00:00
John Hurliman
739cab11bb Another sanity check in libsecondlife.Utilities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1342 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 02:05:09 +00:00
John Hurliman
6de95a27ac * Fixed several CAPS bugs and improved the overall stability and error handling
* Implemented a new logging system in HttpBase and the CAPS classes
* Quieted down the CAPS debug logging a bit
* Added a sanity check in libsecondlife.Utilities.DownloadSimParcels()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1341 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 01:09:53 +00:00
John Hurliman
a8567851d6 * Added HttpBase that serves as the foundation for the new CAPS system
* Rewrote CAPS to use HttpBase, connections now have 30 second timeouts and automatic retrying
* Implemented the static logging function in SecondLife
* Fixed a crash in the GotoLandmark command
* Removed some debug logging from FriendsManager
* Fixed an exception in libsecondlife.Utilities.GetWaterType()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1340 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-01 13:44:27 +00:00
John Hurliman
12828e64a8 * Removed the embedded resources from libsecondlife.dll and moved them to the external folder avatar_data
* Modified key2name example to not use libsecondlife.Utilities
* Made the Animations LLUUIDs readonly
* Removed AvatarTracker from libsecondlife.Utilities as it will be superceded by the built-in avatar tracker

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1339 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-31 10:29:38 +00:00
John Hurliman
0479529fcd Made Helpers.GetResourceStream intelligent. It will first try to load an embedded resource, then an external file, then return null if both failed (no more exceptions thrown from that function)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1338 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-31 09:25:24 +00:00
John Hurliman
9b3416ccb4 Added a static Animations class that holds constant LLUUID values for "built-in" SL animations
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1337 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-30 11:26:56 +00:00
John Hurliman
cd9b2cef2a Changed the AssetManager.RequestUpload function signature to more closely resemble the RequestAsset function, and added an overload to simplify the call
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1336 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-30 08:10:05 +00:00
John Hurliman
17ac9f88db AssetManager.RequestUpload now returns the asset ID of the file that will be uploaded, and documentation was added for RequestUpload and RequestAsset
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1335 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-30 07:35:15 +00:00
b17e6de43e FriendsManager.cs:
* Renamed List GetFriendsList to FriendsList
* Added List PendingOffers<fromAgentID, imSessionID>
* Changed OnFriendshipOffered from a bool to a void
* Added .AcceptFriendship() and .DeclineFriendship()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1334 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-28 19:41:34 +00:00
John Hurliman
699098964b Fixed several locking and dictionary bugs in the new FriendsManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1333 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-28 09:43:48 +00:00
2ad8b21982 Added Client.Self.AutoPilotCancel() and Client.Self.Stand()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1332 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-27 21:30:55 +00:00
John Hurliman
cf26d3aa9b Removing deprecated and duplicated code from AvatarManager.cs. If you are looking for the online/offline notification callback it is in FriendsManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1331 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-24 04:06:29 +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
jef
43e17ee177 Revived the inventory command for TestClient. A simple 'i' will recursively fetch your inventory. If you have a big inventory, this will take a while.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1327 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-20 08:58:46 +00:00
jef
af13b21fff Updates to xcode. Merged in #201 from CrisOmega. Fixed a small bug with new FriendsManager that caused resent packets. Reset packets now show the type (helpful for debuging dumb resent packets like the one I just fixed).
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1326 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-20 08:05:50 +00:00
jedediah
63b272097a git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1324 52acb1d6-8a22-11de-b505-999d5b087335 2007-07-20 04:31:47 +00:00