Commit Graph

36 Commits

Author SHA1 Message Date
Latif Khalifa
7584edae7e LIBOMV-647: Socket exception in GridProxy unhandled
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3026 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-25 10:56:03 +00:00
Jim Radford
b60db797b2 LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Jim Radford
b4ad11b802 * Corrects decoding behaviour of Message classes that are abstract
* Corrects behaviour of displaying data sent to uploader capability in Inspector views
* Fixes unreferenced object exception in GridProxy when checking for uploader capabilities

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2967 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 22:30:32 +00:00
Jim Radford
14e27b83db LIBOMV-620 Fixes unhandled exception trying to save existing filters
LIBOMV-577 Capabilities requesting an "uploader" (mostly assets ie: notecards, scripts) are now proxied through the ProxyServer
* Cleanup to GridProxy debugging (moving everything over to use the openmetaverse logging singleton which makes logging much more clear. (Not done yet)
* Removing sequence debugging since it was pretty much unusable and WinGridProxy allows you to do the same thing by default

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2952 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 00:24:52 +00:00
Jim Radford
b5ce3597ea LIBOMV-561 Fixes login response delegate handling which was causing some required fields to not be populated after login. Allows multiple delegates to be registered.
* Adds Inject packet functionality to WinGridProxy (for now packet format is same as with GridProxy

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2832 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-30 00:35:20 +00:00
John Hurliman
2cd2df4f09 Fixed a minor merge collision in GridProxy
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2808 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-25 20:16:29 +00:00
John Hurliman
2f0aea84b0 * Sanity check for invalid response data during login in libomv and GridClient
* Couple of tiny fixes here and there

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2806 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-25 19:33:20 +00:00
Jim Radford
de8c3131a1 LIBOMV-492 WinGridProxy - Automatically colorize packet details in view
* Log Viewer built into WinGridProxy
* New Decoder system supports the ability to do custom decoding on packet fields, PacketToString moved from Helpers to its own class.
* GridProxy library now uses log4net library to do logging, WinGridProxy logging configuration added to make use of this.
LIBOMV-512 WinGridProxy decodes KeyValue pairs

* Added Invert & Mirror flags to sculptType enum
* Converted SoundManager to use the SoundFlags enum in the AttachedSound callback
* TestClient "who" command now shows agents logal ID

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2805 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-25 19:00:28 +00:00
Jim Radford
4fb5dd7292 LIBOMV-527 Disable DEBUG_CAPS in GridProxy left on debugging issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2728 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 07:57:57 +00:00
Jim Radford
ef8361011e Fixes GridProxy to check for null Acklists in packet header
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2710 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 06:53:58 +00:00
John Hurliman
79beceeb1d * Rewrote the Header class as a struct and optimize for speed. This shouldn't be a breaking change for most apps, but GridProxy and WinGridProxy will need to be tested as thoroughly as possible. Important to note is that Packet.Header.AckList can be null now
* 404 checking in SeedRequestCompleteHandler
* A few new big endian conversion methods in Utils

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2709 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 06:38:28 +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
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
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
e3f0e8608a LIBOMV-484 Updates to GridProxy:
* Added optional Blacklist capability which can be used in conjunction with --log-all
* GridProxyLoader has an overload to take a ProxyConfig object
Patch courtesy of Shack Dougall

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2624 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-17 21:06:51 +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
7bff2ad955 LIBOMV-492 Announcing WinGridProxy - a proxy application for exploring and shaping traffic on Virtual World Grids.
Note: This is a very early release version. Please put any feature requests or suggestions in the jira entry here: http://jira.openmv.org/browse/LIBOMV-492

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2609 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-16 05:14:07 +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
f4ecca5b3f LIBOMV-479 Fixes missing instantiation in GridProxy causing exceptions to be thrown, Thanks Diva Canto for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2579 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-03 19:58:35 +00:00
Robin Cornelius
59d048fe33 LIBOMV-457, Hack grid proxy to allow caps to work from a libomv client. Proxy now is functional with both LL code baesed viewers and libomv based viewers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2502 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-18 21:41:34 +00:00
Robin Cornelius
a998494b90 Fix GridProxys support of xml+llsd logins
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2494 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-18 17:41:05 +00:00
Latif Khalifa
b8c082beac add ability to chain login request and response delegates (LIBOMV-449). Patch by Dahlie
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2449 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-20 18:05:00 +00:00
Latif Khalifa
5a731af4e0 Fixed region crossings when using GridProxy (Patch by Day Oh). Fixes LIBOMV-440 LIBOMV-436
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2431 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-08 08:24:35 +00:00
John Hurliman
364c2c26d9 * Moved all capabilities code to the new library, OpenMetaverse.Http
* OpenMetaverse.Http contains a CAPS client + server, event queue client + server, SSL certificate generation (root CA, server certs, client certs), and client certificate authentication
* HttpServer.dll and Mono.Security.dll are new dependencies for OpenMetaverse.Http.dll

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2400 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-29 20:44:28 +00:00
John Hurliman
4b1f441574 * Sanity check in DeserializeLLSDXml() to return an empty LLSD block instead of throwing an exception
* Removing redundant code from OpenMetaverse.Utilities
* Using System.Diagnostics.StopWatch instead of Environment.TickCount for rate limiting, and speeding up packet sending from 75ms gaps to 10ms (might be slightly too fast, but it works for me)
* Cleaning up the logic a big in RequestAllSimParcels()
* Try/catch block in GridProxy around packet delegates

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2371 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-05 01:34:24 +00:00
John Hurliman
f53aee6fa8 Renaming LLSDParser to OSDParser since it will encompass more than just LLSD parsing in the future
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2322 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 16:54:17 +00:00
John Hurliman
bad3108ddf * Renamed LLSD to OSD. The LLSD-specific (de)serialization functions have been renamed to specify they use LLSD. Other serialization formats will be added in the future, along with better native support for vectors and unsigned integers
* Added Utils.SHA1()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2321 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-30 01:50:59 +00:00
John Hurliman
046a778b09 Applying [LIBOMV-395] from Jeff Ames to comment out dead code and fix lots of compiler warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2284 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 16:48:44 +00:00
John Hurliman
3e5fcb7fab * Moving conversion functions from Helpers to Utils (in OpenMetaverseTypes)
* Added GetLLSD() and FromLLSD() to Permissions
* Started on inventory persistence for Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2267 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-06 22:34:38 +00:00
John Hurliman
53072cf669 * Adding GetHashCode override to Permissions
* Adding PrimFlags.None back (for OpenSim), marking as obsolete
* Slowly transitioning ISceneProvider to become the central resource of Simian (instead of the Simian class). The callbacks are going to change soon

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2200 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-06 18:02:38 +00:00
John Hurliman
87b91ffd38 Added --log-whitelist and --output options to GridProxy, to load a list of packets to log at startup, and to log to a file as well as the console
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2174 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 20:30:30 +00:00
John Hurliman
565f604560 * Added AssetAnimation, cleaned up AssetSound and a few others
* AcceptAllCertificatePolicy is now public so other apps can use it (such as GridProxy)
* Fixed a Simian bug in failed asset upload handling, and added support for animation and sound uploads

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2170 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-25 22:56:00 +00:00
John Hurliman
f0ba48353b * Fixing a few lingering endian issues [LIBOMV-361]
* Removing all big endian methods from Helpers to avoid future confusion
* Sanity check in InventoryCommand.PrintFolder()
* Some GridProxy hackery to work with the OGP client, this will be cleaned up later

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2148 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 21:51:20 +00:00
John Hurliman
99239ebcfc * Splits libomv into OpenMetaverseTypes.dll and OpenMetaverse.dll
* All MathUtils and non-SL-specific Helpers functions have been put in OpenMetaverseTypes.dll inside the Utils class. Helpers only contains SL-specific functions now
* LLSD encoding/decoding for custom types has been moved out of the types and implemented as static functions in the LLSD class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2082 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-12 22:38:02 +00:00
John Hurliman
eae77e78dd * Renamed SLProxy to GridProxy and fixed prebuild config to break it up into library and exe
* Renamed all other examples containing SL to Grid*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1977 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-23 15:35:39 +00:00