Commit Graph

38 Commits

Author SHA1 Message Date
Jim Radford
1ac746c3f2 LIBOMV-501 Pass 2: Cleanup of compile time warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2714 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 07:45:28 +00:00
Jim Radford
9bed5f15f9 LIBOMV-501 Pass 1: Cleanup of compile time warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2713 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 07:32:49 +00:00
Jim Radford
9d0c803450 Fix xml-rpc login "0 avatars online> 4437 [XML-RPC Login] DEBUG - Login response failure: Object reference not set to an instance of an object." error which was occuring when the login response did not contain a "home" position (ie for new accounts)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2708 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 04:48:24 +00:00
Jim Radford
89401f4a5e LIBOMV-503 Corrects deserialization and TimeStamp field date decoding of LandStatReplyMessage
LIBOMV-512 Changes way sessions are saved to disk, better error checking and hopefully crashes won't cause corrupt settings.osd file now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2707 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 03:13:51 +00:00
Jim Radford
b78464a423 LIBOMV-508 Adds check for MediaData block in ParcelPropertiesMessage Deserializer, this block is missing in OpenSim so a parse except is thrown.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2684 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-02 00:59:50 +00:00
John Hurliman
c5409af63f * [LIBOMV-506] Complete rewrite of CapsBase to use HttpWebRequest instead of our homebrewed WebRequest hack. We lose the upload progress callback but gain IOCP thread instead of System.Thread usage and Keep-Alive support
* Content-Types described in http://tools.ietf.org/html/draft-hamrick-llsd-00 are used for CAPS requests. This *may* be incompatible with the current SL grid, needs testing
* Modified CapsClient requests to require OSDFormat enum and timeout values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2680 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-01 06:04:32 +00:00
Latif Khalifa
6d6af6f3f8 LIBOMV-507 fix typo preventing SessionID from being populated
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2678 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-01 03:16:03 +00:00
John Hurliman
95a4f7fd7e * Fixing [LIBOMV-504] reported by Eves Sinister, OSDParser.Deserialize() now handles LLSDXML that starts with <?xml
* Cleaned up the Cable Beach inventory API and added LLIDL for prim serialization. This is still a proposal and no serialization/deserialization exists yet
* Updated content types and file extensions used by Cable Beach to match the table at https://wiki.secondlife.com/wiki/Asset_System

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2674 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-29 17:21:46 +00:00
Jim Radford
8b493316b0 LIBOMV-477 Corrects TeleportFailedMessage to use OSDArrays instead of maps even though there doesn't seem to be any reason a viewer would receive multiple responses for the same failed message.
* Moves EventDecoder to MessageUtils utility class
LIBOMV-492 Fixes null reference when message decoder sends a null response

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2669 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-27 23:59:49 +00:00
Jim Radford
9fa36f6466 LIBOMV-477 Adds TeleportFailed to message system, Also modified Caps handler to as a last ditch effort use our generic caps to packet decoder for unhandled caps messages.
Prints out necessary debug information to create new unhandled messages easily.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2668 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-27 23:08:20 +00:00
Jim Radford
99a6d8611f LIBOMV-485 Adds missing options to Login DefaultLoginParams to hopefully correct the login issue with Mono
LIBOMV-492 Adds local network interfaces to the listen IP dropdown in WinGridProxy
LIBOMV-477 remove cruft debug code from LindenMessages.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2664 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-26 09:38:34 +00:00
Jim Radford
1efcfbeb6e LIBOMV-477 Adds CrossedRegionMessage to the IMessage interface and the EventDecoder
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2662 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-26 00:54:35 +00:00
Jim Radford
f96f2c8dc1 LIBOMV-477 Adds support to the messaging system to encode/decode the EventQueue (2 variants Ack/Event)
* Fixed ParcelPropertiesUpdateMessage decode/encode of Flags field
LIBOMV-492 WinGridProxy IMessageToString Method enhanced to decode interfaces when a Variant is present

* Updated Helpfile Builder generator to use hana theme and other trickery to enhance the output of the API Documentation output

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2661 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-25 06:40:43 +00:00
Jim Radford
2ad91ceeb6 LIBOMV-477 Adds 3 known variants of ChatSessionRequestMessage to Message System
Adds a little documentation, and some naming cleanup


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2660 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-25 01:54:52 +00:00
John Hurliman
d6449813bc Added more Cable Beach inventory messages
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2659 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-25 01:39:41 +00:00
Jim Radford
a9258c3cdc LIBOMV-477 Some minor fixes to messaging system, and some test updates to fix TeamCity Test Failure.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2652 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-24 04:39:44 +00:00
John Hurliman
17ce11acc1 * Added KeyValuePair overloads for DoubleDictionary.ForEach()
* Fixed conversions from OSDArray to long, ulong, and uint
* More Cable Beach messages and tweaks
* Initial commit of the Cable Beach message template (LLIDL)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2647 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-23 20:41:37 +00:00
Jim Radford
c1b8bdec9d LIBOMV-492 More WinGridProxy fixes:
Complete Search (CTRL+F) Tools
Disable menu items and entries depending on current state of application
Look into ViewerStats Message and verify proper date "AgentStartTime: 1/1/1970 12:00:00 AM (DateTime)"
packet sizes in session list should be combined or an additional column added to separate inbound/outbound
PacketToString remove extraneous information "Name: Object a[OpenMetaverse.Packets.ObjectPropertiesFamilyPacket+ObjectDataBlock]"
PacketToString should format long byte[] fields better
Verify In/Out Icons are being properly shown for packet/message direction


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2646 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-23 10:02:39 +00:00
Jim Radford
7129ee185e LIBOMV-477 LindenMessages additions/fixes:
* New LandStatReplyMessage
* Test added for UpdateNotecardAgentInventoryMessage
LIBOMV-492 More WinGridProxy Goodness:
* New Inspectors: Notation, Raw changed to show Request/Response Headers, default Request/Response tab shows a formatted string representation of the Packet/Message being decoded. 
* All messages are wire-data tested against IMessage system.
* Changed login box to be a dropdown with a few default grid options: Agni, Aditi, OSGrid, and LocalHost for Simian connections
* Some changes to GridProxy to pass along raw byte encoded data and Headers to the Caps Delegate.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2644 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-22 00:01:30 +00:00
John Hurliman
02bb7ededd * Implemented lots of Cable Beach messages
* Added MessageUtils functions to convert back and forth between dictionaries safely

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2641 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-21 20:11:30 +00:00
John Hurliman
27f653043e Ugly renaming hack to get around our ugly prebuild hack
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2639 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-21 00:02:47 +00:00
John Hurliman
c5b8ccf211 * Several new CableBeach messages and fixes
* Adding OpenMetaverse.Messages.CableBeach.CableBeachUtils static class to help convert back and forth between content-type strings, file extensions, and SL asset types
* Split CableBeach service URIs out from AvatarAttributes into AvatarServices

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2636 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 23:40:28 +00:00
Jim Radford
759bd7a8bd LIBOMV-477 Fixes cast issue in AgentGroupDataUpdateMessage due to Capability message format differences (this class needs to inherit from a base class to handle the different formats)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2632 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 07:24:14 +00:00
Jim Radford
a007ec8554 LIBOMV-477 Finished UpdateNotecardAgentInventoryMessage class for Message system (Still need unit test)
LIBOMV-496 Implements new ObservableDictionary class
* Switched out KnownCaps dictionary in GridProxy to use new ObservableDictionary.
LIBOMV-495 Fixes bug while loading saved settings file in WinGridProxy.AboutBox1.resources
LIBOMV-492 Enhancements to WinGridProxy:
* All Selection and Filtering menu uptions should work properly now
* Made several setting optional in the File and Session menu
* Filter preferences can be saved and restored (ie: white/blacklist like in GridProxy)
* Work has began on WinGridProxy session searching
* Switched out CheckedListBoxes for ListViews since they have more flexibility
* Refactored WinGridProxy into multuple classes, major code cleanup
* Capabilities discovered and events sent via the EventQueue are automatically added to the Messages Filter listview


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2630 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 06:57:07 +00:00
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
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
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
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
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