Commit Graph

906 Commits

Author SHA1 Message Date
John Hurliman
76dfe7cbbd Minor fixes in the libsecondlife.nunit file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1020 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-01 21:38:02 +00:00
Michael Cortez
844e1e2887 * Fixed a bug in AppearanceManager where textures weren't cleared between outfits (jackets could get left on)
* Going mediaeval on Inventory to try and chase down intermittent failures...

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1019 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-01 00:26:47 +00:00
John Hurliman
94a8874793 * Bugfixes in BitPack packing
* Changed a locking order in Caps
* Fixed a stack trace destruction bug in ProtocolManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1018 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 20:44:02 +00:00
John Hurliman
a393bde83c Added another sanity check in InventoryManager for failed incoming folder requests
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1017 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 05:16:00 +00:00
John Hurliman
ca4529ac3a Added null checks and try catch blocks to two callbacks in InventoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1016 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 04:40:09 +00:00
John Hurliman
9b304de160 * Removed superfluous empty quotes from ToString methods in _Packets_.cs
* Rewrote GroupManager to use public events like the rest of the library
* Renamed ExportScriptCommand to ExportParticlesCommand
* TestClient converts Windows line endings to UNIX style when sending reply IMs
* Fixed a counting bug and an endian bug in object update parsing
* Velocity and Accleration are now properly set in object update parsing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1015 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 03:47:46 +00:00
Michael Cortez
1307675a51 Use a different packet when moving inventory.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1014 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 02:19:35 +00:00
John Hurliman
33bb5e06b9 Changed the example code to properly use the automatic AgentThrottle (throttle values need to be set before the client logs in)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1013 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 23:57:36 +00:00
John Hurliman
93a82a327d AgentThrottle packets are sent by default upon connection to each new sim by default, disable with Settings.SEND_THROTTLE
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1012 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 23:45:21 +00:00
John Hurliman
20cda34fd0 * Added several new unpacking functions to BitPack
* Added the ExportScript command to TestClient, for fword
* Added a skeleton function for handling ParticleSystem ObjectUpdate blocks
* Rewrote the ParticleSystem class, binary unpacking now uses the BitPack class and everything has been renamed
* LLColor now stores floats instead of bytes
* Minor memory optimizations in some of the basic type classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1011 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 10:07:50 +00:00
John Hurliman
0b04f815a6 * Moved the Caps class to a separate file
* Numerous CAPS reliability fixes as well as some restructuring
* Renamed Client.Settings.SEND_AGENTUPDATES to SEND_AGENT_UPDATES

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1010 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 05:34:52 +00:00
Michael Cortez
d299921930 Get rid of console.writeline debug... oops
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1009 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-24 00:20:11 +00:00
Michael Cortez
f341e1e42c Make InventoryManager be slightly more thread smart about downloading folder contents. TODO: Should put locks around all folder accessors to prevent enumerators from blowing up by other threads modifying the contents of a folder while enumerating...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1008 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-24 00:17:42 +00:00
Michael Cortez
8881081f01 Add the InventoryType enum to the main trunk inventory manager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1007 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 21:59:56 +00:00
John Hurliman
f3b34812ac * Fixed a few compile errors introduced in the last commit
* Added Settings.SEND_AGENTUPDATES and Settings.AGENT_UPDATE_INTERVAL, AgentUpdate packets are automatically sent by default now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1006 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 21:26:08 +00:00
John Hurliman
c0fc4fa266 * Added untested bit packing support to BitPack, needs a unit test to verify it
* Moved CoarseLocationUpdate handling to GridManager, each sim now has a list of vectors defining avatar positions inside that sim
* Fixed a bug where CoarseLocationUpdate packets were overwriting the actual relative position of the avatar when seated
* Fixed a CAPS bug in the new async code

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1005 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 11:51:38 +00:00
John Hurliman
e1157504ac * BakeLayer.FinalData is public now
* Added baked texture uploading support to Utilities.AppearanceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1004 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 02:23:30 +00:00
Michael Cortez
636a13f997 Recursive inventory download was queuing up child folders, but not downloading them. [Fixed]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1003 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 23:59:39 +00:00
John Hurliman
7fce4b984a * Asynchronous CAPS requests, quicker logins and logouts
* BakeLayer constructor takes a dictionary of parameter IDs and values
* Fixed naming inconsistency with events in NetworkManager, SimDisconnectCallback and DisconnectCallback became SimDisconnectedCallback and DisconnectedCallback
* Removed the AnimationSample example from svn, code examples should become TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1002 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 18:13:42 +00:00
John Hurliman
49c722fef8 * Cleaned up the GroupManager example program and converted it to use Utilities.AssetManager for more reliable image downloads
* Cleaned up the locking code in the image downloading portion of Utilities.AssetManager
* Added another common CAPS error to the ignore list

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1001 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 12:36:31 +00:00
bushing
5c44a248cb openjpeg library for linux x86_64
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1000 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 11:47:14 +00:00
Michael Cortez
2896d33f8b If the first lock doesn't succeed... lock, lock, and lock again?
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@999 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 00:09:45 +00:00
Michael Cortez
cac1790e06 InventorySystem: Don't we all just love race conditions... Two more locks. One is probably overly aggressive -- if it effects performance when downloading inventory, it can be locked down a little better.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@998 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 23:55:36 +00:00
Michael Cortez
b709575376 Inventory Manager: Add a lock in case multiple items are received very quickly, which could cause a collection to be modified while enumerating it.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@997 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 21:45:56 +00:00
Michael Cortez
018b2da28e Make creating new folders and receiving item event, slightly more robust.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@996 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 21:37:37 +00:00
John Hurliman
8b8bdf4d83 Fixed a typo in the NAnt build file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@995 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-20 03:33:35 +00:00
John Hurliman
dc370a972b * Added alpha mask resources to the library for appearance baking
* Changed the MSVC project file and NAnt build file to compile alpha mask resources in
* Added libsecondlife.BakeLayer for compositing bakes
* Utilities.AppearanceManager now handles pre-bake image downloading
* Can send reliable AgentUpdate packets with MainAvatar.Status now
* Bugfix in DumpOutfitCommand
* Better CAPS error handling

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@994 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-20 03:29:44 +00:00
John Hurliman
a3da38bad5 Adding openjpegnet to the TestClient nant build file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@993 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 02:07:21 +00:00
John Hurliman
39d8812483 Adding DumpOutfitCommand (dump outfit textures to the hard drive), MD5Command (for converting passwords in to MD5 hashes), and removing ResearchCommand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@992 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 02:00:01 +00:00
John Hurliman
b313606c98 Removing deprecated attributes from the nant build files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@991 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:48:19 +00:00
John Hurliman
6442eb9fbd * Changed the InstantMessageCallback to use enums instead of bytes
* Fixed several inconsistencies and missing values in the InstantMessageDialog enum
* Consolidated the InstantMessage overrides down to four functions, made the IM behavior closer to the actual client in some cases
* Better handling of CAPS errors on logout
* Added ClickObject
* Fixed incorrect flags setting in Parcel.Update()
* Converted Primitive.ClickAction to an enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@990 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:41:12 +00:00
John Hurliman
c2728e392d Fixed a bug parsing byte fields in to hex dump strings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@989 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:15:43 +00:00
John Hurliman
539a4863fd Fixing broken XML comments all over the place
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@987 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-16 00:50:19 +00:00
John Hurliman
f483279e61 NAnt build now suppresses 1591 warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@986 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 22:24:51 +00:00
John Hurliman
48ec78ee3e Added libsecondlife.Utilities.InventoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@985 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 22:16:58 +00:00
John Hurliman
e92257ba8d * Added BuyObject and SelectObject
* Simplified the login call in some of the samples
* Converted OnChat to use enums instead of bytes
* TestClient uses MainAvatar.Status instead of sending it's own AgentUpdate packets now
* Slight cleanups to MainAvatarStatus
* Consolidated the DefaultLoginValues functions and added another Login override
* Converted two foreach loops in NetworkManager to for loops for performance
* Duplicate and resent packets are logged at Debug level now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@984 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 22:13:44 +00:00
Michael Cortez
82cfa01f08 Appearance, fixed a timeout bug, and a bug introduced by incorrectly back porting the wearable asset decoder (skin/clothing layer # was being lost)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@983 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 21:39:59 +00:00
Michael Cortez
1d8b3fdf67 Attempt to back port jhurliman's wearable asset parsing code into the main trunk.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@982 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 00:11:46 +00:00
Michael Cortez
e20d8724f8 AppearanceManager, added some minor locking to prevent a possible race condition.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@981 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-14 21:48:16 +00:00
Michael Cortez
be46bafaa1 More fault tolerance in Asset/Appearance system.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@980 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-14 21:13:10 +00:00
Michael Cortez
ce524caf28 Updating Asset/Inv/Appearance to use some enums, and to be somewhat more fault tolerant.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@979 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-14 20:26:37 +00:00
John Hurliman
a20e1dcd6c Finished LookAtEffect()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@978 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-13 05:23:37 +00:00
John Hurliman
b44d3ab455 Added a ParcelFlags enumeration with documentation, Parcel.ParcelFlags is now Parcel.Flags
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@977 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-12 11:15:49 +00:00
John Hurliman
206497b1c4 Added TerrainHeightAtPoint() proof to the Heightmap example. Click anywhere on the map to get the exact height at that point
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@976 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-12 10:47:38 +00:00
John Hurliman
5c32edac19 * Added basic sim heightmap tracking (disabled by default) to TerrainManager
* Added TerrainHeightAtPoint() to TerrainManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@975 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-12 10:34:42 +00:00
jef
23366eb629 I must be drunk again. Reverted.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@974 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 17:09:04 +00:00
jef
0a7d6775b8 Small change. Simulator.Dilation is always available now regardless of callbacks being registerd or AlwaysDecode
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@973 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 16:05:58 +00:00
jef
328093e69c We now have a commit cannon.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@972 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 13:52:57 +00:00
jef
cfa20ce8d6 Testing the commit cannon
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@971 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 13:51:47 +00:00
jef
84936482b0 xcode project file maintenence
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@970 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 03:04:41 +00:00