Commit Graph

343 Commits

Author SHA1 Message Date
Latif Khalifa
25e877593a LIBOMV-613 add requestID to GroupTitlesCallback too
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2941 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 23:51:20 +00:00
Latif Khalifa
f363e1f364 LIBOMV-613 Back out part of the previous commit, partial lists not feasable with current GroupManger infrastructure
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2940 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 21:37:35 +00:00
Latif Khalifa
75c3930f87 LIBOMV-613 LIBOMV-581 Refactor group manager callbacks to provide information needed to tell which group/request received data belongs to.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2939 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-30 12:25:48 +00:00
Latif Khalifa
2d8f01d067 LIBOMV-615: Use same default file name when saving and opening files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2935 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-29 08:03:24 +00:00
Latif Khalifa
7ec16b5b18 LIBOMV-613: Enhance GroupMembersCallback to allow passing requestID and groupID
* Pass along total number of group members
* Return partial results
if event handler is only interested in the full result a simple
if (memberCount > members.Count) return;
will suffice.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2932 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 19:13:05 +00:00
707b5378aa Removed EstateTools instance from Simulator, in accordance with LIBOMV-516. The only instance should be Client.Estate
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2930 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-28 16:09:01 +00:00
John Hurliman
1f40c164c4 Attempted fix for the prebuild nant regression
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2910 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-24 01:04:29 +00:00
John Hurliman
dd4d781f4b Fix for Prebuild generating project files that are incompatible with VC# express
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2908 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-24 00:52:43 +00:00
John Hurliman
174acc2a19 Added a fix to Prebuild NAnt generation to skip <nowarn> entries for empty values
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2906 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-23 07:08:28 +00:00
John Hurliman
85a7e8e287 * Removed SecondGlance since it never went anywhere and is now superseded by WinGridProxy
* Modified Prebuild to add better support for WinForms projects

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2905 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-22 23:35:58 +00:00
John Hurliman
092017fc85 Fixing [LIBOMV-594], AgentAnimationPacket was being sent before initializing all of the block arrays
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2895 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 19:16:38 +00:00
John Hurliman
d0a9c6401f Resolving [LIBOMV-567]. libomv now throws a helpful error and a stack trace when a packet cannot be serialized because of null blocks
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2886 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-15 17:42:35 +00:00
John Hurliman
e3adf7b02f Cleaned up Packet.FromBytes() to make it clear where the zerodecoding is happening and to skip a redundant check
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2879 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-12 00:50:43 +00:00
Jim Radford
63bd382754 WinGridProxy: Add support for saving sessions and loading sessions from a file. Useful for getting assistance debugging packet information. Login Information is never saved or restored
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2834 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-31 02:20:45 +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
Jim Radford
dc5356bf74 Reorgnaize TestClient orphaned commands into appropriate folder structure
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2825 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-28 00:55:58 +00:00
Jim Radford
d373e13303 Updates GroupManager application to use progressive texture downloads for the insignia as an example. Decoding looks like it still needs some love.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2824 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-28 00:02:55 +00:00
John Hurliman
7a8938c5fd * Fixed incorrect Length calculations for variable fields and variable blocks
* Don't generate ToBytesMultiple() routines that create corrupted packets. This means no automatic packet splitting for AgentSetAppearance, SimStats, AvatarGroupsReply, and CoarseLocationUpdate packets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2823 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-27 22:24:11 +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
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