Commit Graph

315 Commits

Author SHA1 Message Date
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
c9944b8aaf LIBOMV-183 Adds SaveAssetIntoInventoryHandler delegate and OnSaveAssetToInventory event to InventoryManager to allow client to deal with packet after logoutreply handler is fired.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2645 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-23 09:54:52 +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
Latif Khalifa
ed7daf44f1 LIBOMV-499 automatically deselect objects after their selection since this is most common use case.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2643 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-21 23:45:14 +00:00
Latif Khalifa
98ca04c665 Revert duplicate setting, rate limiting can already be disabled with THROTTLE_OUTGOING_PACKETS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2642 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-21 20:18:24 +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
8fed742abc Add Setting to disable outbound packet rate limiting to Settings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2635 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 08:00:42 +00:00
Jim Radford
57b74be3a9 Fix some compile time warnings, clean out cruft EnableSimulatorHandler code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2634 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 07:50:25 +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
435f4d1029 LIBOMV-496 Forgot to add this file to SVN for previous commit :)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2631 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 06:58:26 +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
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