Commit Graph

325 Commits

Author SHA1 Message Date
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
John Hurliman
f1e8fd4fe8 Major rewrite of the packet sending code:
* Automatic packet splitting. You can send packets with any number of blocks and the networking layer will split them up automatically
* Less memory is allocated for outgoing packet buffers
* Memory is only allocated for zerocoding (outgoing and incoming) when it is needed
* A lockless queue is used to hold outgoing ACKs
* ACKs are stuffed into packets until they hit the MTU
* All outgoing packets are serialized exactly once, instead of serializing every resend
* Improved the clarity of the networking layer (I will upload a flow chart of packet sending soon)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2800 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-22 19:54:00 +00:00
Latif Khalifa
dcb7da5a24 * [LIBOMV-549] Added Packet.ToBytesMultiple() class that will automatically split a packet with variable blocks up into multiple packets that fit in the MTU (1200). Unit test is included. This is not actually being used by the library anywhere (yet), but hopefully it will be soon
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2799 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-22 00:09:22 +00:00
John Hurliman
5f20603374 * Small performance tweaks to packet classes
* Fixed a recursive locking problem when running UDPBase in server mode

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2788 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-20 19:21:30 +00:00
John Hurliman
2520b6d0ea * Adding a LocklessQueue collection to OpenMetaverseTypes
* Fixing minor compile warnings

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2772 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 09:12:12 +00:00
John Hurliman
660ada1b8c Reverting the hack to make Prebuild always put NAnt in mono-3.5 profile
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2770 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 01:43:08 +00:00
John Hurliman
8014afcc3e * Added ReaderWriterLockSlim.cs to OpenMetaverseTypes from the Mono SVN
* Prebuild will now define the VISUAL_STUDIO symbol in .csproj files while leaving NAnt files alone
* A conditional was added to use the .NET ReaderWriterLockSlim for VS compiles and the one in OpenMetaverseTypes for Mono compiles. This is a kludge until everyone is running Mono 2.6 or later (hah)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2769 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 01:34:41 +00:00
John Hurliman
61336cff23 Part two of the experimental commit: Configure NAnt to always use the mono-3.5 profile
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2766 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 00:36:16 +00:00
Jim Radford
fa31093174 Rename WinGridProxy main form class files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2764 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-15 19:20:59 +00:00
Jim Radford
63f2f3ffc9 LIBOMV-541 adds new TestClient command to set a script tasks running state.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2761 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-14 04:48:48 +00:00
Jim Radford
f2dbbb00b6 LIBOMV-540 Adds parameter to CopyScriptToTask method which allows the scripts running state to be set.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2758 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 21:27:38 +00:00
Jim Radford
cd7e2893b3 LIBOMV-539 oops typo
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2749 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 12:04:46 +00:00
Jim Radford
90825a5042 LIBOMV-539 Patch from Douglas Miles - Implements example TestClient command to upload a script to inventory + corrects capability name
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2748 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 11:58:12 +00:00
John Hurliman
a970cbd661 Initial commit of the OpenMetaverse.Assets namespace. Serialization/deserialization for new PrimObject is done, but OAR saving/loading is still a work in progress
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2746 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 00:07:35 +00:00
Jim Radford
d520cd3263 LIBOMV-530 Updates TestClient regioninfo command to display additional information included in previous commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2739 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-10 09:13:03 +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
f92d76d2b7 PrimWorkshop: Adds back in download progress indicator
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2720 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 21:39:06 +00:00
Jim Radford
f164ef7e8d remove cruft TexturePipeline.cs class from PrimWorkshop project
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2719 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 21:35:28 +00:00
John Hurliman
9a3bbecc54 Added a special WaitForLoginCommand (waitforlogin) to TestClient that allows the command line or a script to wait until all current logins have completed before continuing. Automated scripting of TestClient will need to use this command
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2716 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 19:19:53 +00:00
John Hurliman
9801078b08 * Replacing hacky ClientManagerRef in TestClient with a proper singleton implementation of ClientManager
* Use BeginLogin in TestClient to try out asynchronous logins (this is experimental and may very likely break things, hooray for trunk)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2715 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 18:57:45 +00:00
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
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
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
ba644b5ff3 LIBOMV-512 PacketToString now decodes nested properties
LIBOMV-509 Loading saved filters will prompt to apply to current session list
LIBOMV-519 Adds initial support for loading GridProxy plugins (not well tested yet)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2705 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 20:55:03 +00:00
John Hurliman
85f09236ee * Removing ultra-noisy debug line from TexturePipeline
* Removing the WinGridProxy Plugin menu command hookup since the function didn't exist

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2704 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 19:00:43 +00:00
John Hurliman
7dac216bf3 * Catch login timeouts in the XML-RPC login method
* Removed unused libopenjpeg-dotnet-2.1.3.0-dotnet-1.so
* Fixed login parameter construction in GridImageUpload
* Fixed GridImageUpload config file
* Updated GridImageUpload version number

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2702 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 17:46:31 +00:00
John Hurliman
e953d2b990 Added a Save Image button to GridImageUpload
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2701 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 17:24:39 +00:00
Jim Radford
59c8c38eba LIBOMV-505 Turning off timing checks by default, minor cleanup of AppearanceManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2700 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:20:57 +00:00
Jim Radford
14869cab48 LIBOMV-505 Merge in jradford-texturepipeline branch
This changes the way texture requests are handled, the AssetManager
RequestImage method signatures have been changed and are now expecting
the callback with the request.
Progressive requests for textures are supported for rendering viewers
Tuning parameters have been moved to Settings


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2699 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:10:52 +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
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
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
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
980a35c283 Fixed pathing error in Resource file causing compiles to fail under nant
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2654 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-24 06:46:53 +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
2758dc6f18 Fix issue when compiling using nant/mono where resource file is not able to be found due to path issue.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2633 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 07:40:34 +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
c73fb90fd9 LIBOMV-492 Remove duplicate resource file to fix Properties\Resources.Designer.cs(25,20): error CS0101: The namespace 'WinGridProxy.Properties' already contains a definition for 'Resources' error
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2627 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 04:25:19 +00:00
Jim Radford
3f588e62ff LIBOMV-492 WinGridProxy - Add Missing Resource data, Starting to add context menu to Session list and more advanced filtering capabilities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2626 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-18 04:21:51 +00:00
Jim Radford
e21b787fbd LIBOMV-492 WinGridProxy - Fixes positioning of Select Checkboxes in filters
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2625 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-17 23:13:33 +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
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
Jim Radford
320559f35f LIBOMV-492 Updates to WinGridProxy:
* Added Hex Viewer to Inspector
* Login Response is now decoded as XML
* Sessions list is now Flicker Free
* Lots of other minor code cleanup

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2615 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-17 00:48:52 +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
686eefa653 LIBOMV-492 Updates to WinGridProxy:
* Added XML to Treeview decoder for Capabilities messages
* bound form parameters for port, url and ip to proxy startup
* Default raw tab font is Consolas, Cleaned up the format a bit
* Filter lists are now sorted alphabetically


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2610 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-16 08:19:45 +00:00