Commit Graph

300 Commits

Author SHA1 Message Date
Jim Radford
b0b7df3c8e LIBOMV-477 Adds SendPostcardMessage to Message system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2629 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 06:20:20 +00:00
Jim Radford
5f785e9dfc LIBOMV-477 Adds UpdateScriptAgentMessage and UpdateScriptTaskMessage to the messaging system for uploading scripts to an agents inventory and a prims task inventory respectively, Tests Included
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2628 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 05:57:46 +00:00
Jim Radford
2ebf5fed95 LIBOMV-492 More WinGridProxy goodies:
* Inspector has separate windows for requests and responses to make viewing packets/messages that contain both easier
* Added new Edit Menu which allows selecting, removing and colorizing sessions
* Filter selection is stateful across restarts of the application
* Cleaned up the logic for handling output of a selected session (still needs more love)

LIBOMV-477 Corrected AgentGroupDataUpdateMessage to match what the SL Grid sends

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2623 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-17 10:02:16 +00:00
John Hurliman
78215017dc Added RequestCapabilitiesMessage and RequestCapabilitiesReplyMessage to OpenMetaverse.Messages.CableBeach
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2620 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-17 02:37:36 +00:00
John Hurliman
c0cf8cf56d Applying patch [LIBOMV-493] from Teravus. Adds several new Matrix4 functions as well as a [][] setter
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2613 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-16 17:39:05 +00:00
John Hurliman
f918d41133 * Disable WinGridProxy filters until the proxy is running
* Rename CapsClient.StartRequest() to CapsClient.BeginGetResponse() to match HttpWebRequest
* Adding the blocking method CapsClient.GetResponse()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2611 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-16 16:25:47 +00:00
Jim Radford
1293118b89 LIBOMV-477 Adds RemoteParcelRequestMessage to Message system including encode/decode test
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2608 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-16 04:25:09 +00:00
John Hurliman
d1d990f052 * Changed old references in the tests from OSDURI to OSDUri
* Added OpenMetaverse.Messages.CableBeach which contains several packets for the Cable Beach protocol and several OpenID Attribute Exchange definitions for avatar data
* Better handling for IPAddress values in OpenMetaverse.Messages by using helper functions
* Removed OpenMetaverse.Messages.Simian and merged those messages into the CableBeach protocol

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2607 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-15 23:17:51 +00:00
Jim Radford
c350e2f8be LIBOMV-489 Fixes encoding bug in AssetWearable class encoding of Texture UUIDs Patch courtesy of Arthur Valadares
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2604 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-15 15:54:40 +00:00
Jim Radford
ef32e4b66b LIBOMV-477 Add additional information in case exception is thrown during decoding of a Message. Fixed some issues in AgentManager related to group chat sessions caused by new Message system. And a couple more changes ChatterBoxSessionAgentListUpdatesMessage to better handle the LL generated OSD
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2603 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 06:11:21 +00:00
Jim Radford
8d029fa3d5 LIBOMV-477 Fix a bug deserializing AgentGroupDataUpdateMessage, LL sends the AgentID in an Array
* Converted URLs in Parcel Properties messages back to string (having them as Uri's did not work for null/empty URLS)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2602 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 05:32:20 +00:00
Jim Radford
afe715a30f LIBOMV-477 Adds several capabilities message classes
* Some cleanup of LindenMessages.cs class
* Tests for all messages encode/decode are implemented and included

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2601 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 04:47:55 +00:00
Jim Radford
e24d24a201 LIBOMV-477 Big Messaging system update:
* Adds new IMessage interface for messaging system
* Adds additional Caps Messages + Tests for most (All incoming caps messages should now be handled by new messaging system)
* Unit Tests for new messaging system only test that decoding and encoding work properly, they do not confirm proper formatting required by the simulator
* Switches EventQueueCallback to decode and send message to registered callbacks
* Switches several caps requests over to new messaging interface
Some in-process work is left commented and cluttering up in a few places. Will remove after more cleanup is done
* Update source header/copyright in several classes
Note: this commit features several breaking changes to existing clients. Much code that has been only lightly tested, please report bugs in jira.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2599 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-13 09:32:25 +00:00
Jim Radford
1d272577c9 LIBOMV-487 Implements UDP Blacklisting. Packets returned from login server udp_blacklist are added to a list. A warning is logged if we receive one of these packets and further procesing is cancelled.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2597 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 23:40:07 +00:00
John Hurliman
c223298917 Forgot a using System.Net;
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2594 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 22:20:05 +00:00
John Hurliman
d394e17a03 * Added TeleportFinishMessage, EstablishAgentCommunicationMessage, CrossedRegionMessage and EnableSimulatorMessage to OpenMetaverse.Messages.Linden (how did these get lost?)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2593 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 22:17:18 +00:00
Jim Radford
4705797072 LIBOMV-476 Adds optional callback which provides the ability for end user to manage the way files are stored and retreived from the TextureCache, Thanks Robert Adams for the Patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2592 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 22:02:57 +00:00
Jim Radford
de09b09384 LIBOMV-483 Implements support for AssetLandmark Type, Thanks Josh Eno for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2591 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 21:43:15 +00:00
Jim Radford
62bb22000c * LIBOMV-477 Switches ParcelPropertiesReply to use new Messaging system
* Switches PrimOwnersReply to use new Messaging system
Corrects several minor decoding/encoding issues with new Message system.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2590 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 21:34:59 +00:00
John Hurliman
f48c9922e9 * Added OpenMetaverse.Messages.Linden and OpenMetaverse.Messages.Simian namespaces to hold LLSD serialized messages. The dawn of a new era for libomv!
* Changing LLSD JSON serialization to match the draft at http://tools.ietf.org/html/draft-hamrick-llsd-00 (first breaking change since 0.6.0)
* Moving some enums out to OpenMetaverseTypes.dll
* Adding conversion methods to go to and from the newly moved enums
* Moved Parcel enums out to the main namespace

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2588 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-09 01:17:40 +00:00
John Hurliman
e615e15b73 More cleanup of the login structs and removing the now unnecessary ILoginProxy
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2587 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 21:26:06 +00:00
John Hurliman
1d49d4facb * Swapped out CookComputing.XmlRpcV2.dll for good ol' XMLRPC.dll
* Set another async thread in CapsBase to background to help libomv shutdown times
* Returned the login data structures to libomv types

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2586 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 21:02:58 +00:00
Jim Radford
6293315a9e LIBOMV-481 Added back in XML Conversion method in LoginResponseData which Simian uses
* Cleaned out some extra cruft debug statements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2585 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 06:58:31 +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
Jim Radford
5e7fabef26 LIBOMV-480 Fixes Preprocessor directive in InventoryManager removed during previous commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2582 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-06 07:48:20 +00:00
Jim Radford
b52d412425 LIBOMV-480 Adds CopyScriptToTask method to InventoryManager which places a script contained in the agents inventory to the task inventory of a primitive being simulated. Patch courtesy of Reghu Kumar.R
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2581 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-06 07:24:02 +00:00
Jim Radford
1ae609cca7 LIBOMV-478 Add Packet Type in GridProxy output
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2578 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-03 19:32:18 +00:00
Latif Khalifa
db5be9692b Null Pointer Exception in Primitive.GetHashCode when a
Primitive has not yet received first properties update.
Patch by D. Miles [LIBOMV-466]


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2564 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 20:14:46 +00:00
Jim Radford
e2aac1a6d7 LIBOMV-465 Adds overload to OpbjectManager AddPrim method to allow user specified flags during creation. Thanks Douglas R Miles for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2562 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 19:23:27 +00:00
Jim Radford
4ab698a85f LIBOMV-470 OpenMetaverse/Helpers.cs: FloatToTerseString() screws up trying to trim trailing zeroes, Patch courtesy of Arthur Rodrigo S Valadares <arthursv@br.ibm.com> Thanks!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2561 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 19:05:44 +00:00
Jim Radford
1b38edbdc3 LIBOMV-469 GroupManager throws Exception if RequestCurrentGroups is called immediately after login
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2560 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 19:00:14 +00:00
John Hurliman
3818fb2428 * Fixed a bug where the new server-side PrimFlags values were overlapping with existing values
* Added more documentation to TokenBucket

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2558 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 18:28:02 +00:00
Jim Radford
dd915f9080 Remove cruft debug messages in AvatarManager to get rid of the spam when making avatar name lookup requests
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2556 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 17:12:04 +00:00
d5704737fd Fixes a bug where a collection was being modified during enumeration in recent commit for LIBOMV-450 (CoarseLocationUpdates)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2555 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 16:32:45 +00:00
3541f2bab5 Fixed some documentation and code artifacts left from previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2550 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 19:35:35 +00:00
154d2ef319 [Simulator.cs]
* Changed simulator.AvatarPositions from Dictionary to InternalDictionary
* Resolves LIBOMV-450 by removing simulator.PositionIndexYou and .PositionIndexPrey in favor of Client.Self.AgentID and simulator.PreyID for indexing AvatarPositions
[InternalDictionary.cs]
* Added lock to .TryGetValue
* Added .FindAll overload for using a key as the predicate instead of value
[OpenMetaverse.GUI]
* Visual and functional enhancements to Minimap and AvatarList (takes advantage of new AvatarPositions code)
* Added failed login retry dialog to Dashboard
* Added more documentation to public classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2549 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 18:29:32 +00:00
Jim Radford
8b2f3b6df8 * Fixed verbosity error in notation unit tests
* Disabled Network Tests in Automated builds
* Fixed minor compile time warning due to XML comment mismatch

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2547 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 17:33:54 +00:00
Jim Radford
2180899da3 LIBOMV-180 Adds support for uploading terrain raw files, includes new TestClient uploadterrain command.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2545 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 22:56:44 +00:00
John Hurliman
42cc1ee3b7 * Fixed a bug converting an empty OSD element to a Uri
* Lock the old CircularQueue in the CircularQueue copy constructor

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2543 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 05:13:07 +00:00
John Hurliman
21de923e42 * Added CircularHashedQueue to OpenMetaverseTypes. Provides a circular queue with a hash-based Contains function, useful for ACK accounting (not implemented in libomv yet)
* Added TokenBucket to OpenMetaverseTypes. Provides a hierarchical token bucket for bandwidth throttling (not implemented in libomv yet)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2542 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 04:29:17 +00:00
John Hurliman
987f504e86 * Made Primitive.GetHashCode() much more thorough. Could reasonably be used as a prim CRC now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2540 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 02:18:43 +00:00
Jim Radford
a9e38221f3 LIBOMV-180 Adds packet handler for InitiateDownload packet which the simulator sends in response to a request for a raw terrain download via the EstateMessage packet
Adds new downloadterrain TestClient Command

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2539 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-25 21:39:24 +00:00
John Hurliman
5cbdc8fdd0 Adding Packet.Length to get the length of a packet without serializing to bytes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2537 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-25 20:19:25 +00:00
Jim Radford
d98e36491f Fixes several comment warnings
Re-enables <nowarn> element when compiling with nant (re-added code to prebuild to support this)
Update prebuild binary to fixed version

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2528 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-21 17:28:17 +00:00
John Hurliman
26e0e50615 * Fixed two failing OSD tests. OSDReal.AsString() now uses a slower but more accurate method to produce values that will always round-trip. A random "B" character was removed from the XmlSD DeserializeLLSDSample() test
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2508 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 18:15:49 +00:00
John Hurliman
46450da1ee * Reverts an accidental change to Utils.IntToBytes()
* Adds Utils.IntToBytesBig and Utils.DoubleToBytesBig()
* OSD.AsBinary() functions use big-endian functions where necessary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2507 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 17:57:12 +00:00
Jim Radford
fb6376d2b6 LIBOMV-460 LIBOMV-423 BinaryLLSD Unit Tests Failing, this appears to be caused by an Endian issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2506 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 17:19:23 +00:00
Jim Radford
b418d85e00 Adds XML documentation to the Asset* Classes
Removes ObjectType Enum which was renamed to InventoryItemType and is now contained in InventoryManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2505 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 01:25:28 +00:00
John Hurliman
cad2f351ca Updated documentation for InventoryItemFlags and removed references to (the now redundant) ObjectType enum. jradford will delete ObjectType soon
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2504 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 00:52:03 +00:00
John Hurliman
c20afbbf80 * Added InventoryItemFlags, which is actually only the upper half of the Flags field for inventory items. Stores slam bits, permission override flags, and other things we don't use at all right now
[Simian]
* Initial task inventory support. Move, remove, and RezScript are not supported yet
* SimulationObject Frozen and RotationAxis properties now point to the root prim in the linkset

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2503 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-19 00:25:03 +00:00