Commit Graph

363 Commits

Author SHA1 Message Date
Latif Khalifa
13f10b25bf LIBOMV-635: use invariant culture for parsing floats
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2997 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-17 16:40:03 +00:00
Latif Khalifa
0ad625b480 LIBOMV-630: @ command should tell, if a bot is offline
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2995 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-16 18:26:02 +00:00
Latif Khalifa
64417a208a LIBOMV-630: TestClient improvements (patch by Kephra Nurmi)
Improved TestClient:
added '@' as a command prefix to target one avatar only and to check, if a named avatar is logged in.

Improved TestClient to add new commands:

groupmembers GroupnameOrUUID - shows groupmembers UUIDs
grouproles GroupnameOrUUID - shows grouproles UUID and Names
invitegroup AvatarUUID GroupUUID RoleUUID* - invites an avatar into a group (without querying groupmembers first !-)

added public Dictionary<UUID, Group> GroupsCache = null; to TestClient.cs to refactor copy and paste code of group commands.
added friend.UUID to output of FriendsCommand.cs
swapped output of UUID and name in GroupsCommand.cs



git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2989 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-15 23:23:11 +00:00
7b7dad2b15 GOD DAMNIT, COMPILE (addresses previous 2 commit errors)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2987 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-14 23:02:13 +00:00
ad3d6e3c6c Fix for previous commit (removed uncommitted GUI element references)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2986 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-14 22:44:01 +00:00
661816bdf0 Updated Dashboard example to work with latest OpenMetaverse.GUI commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2985 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-14 22:24:05 +00:00
Jim Radford
247cb42900 * Updates Message decoder method to match the output of the Packet decoder
* Other decoder cleanup and enhancements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2974 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 03:43:52 +00:00
John Hurliman
405f66a017 Minor cleanups to createnotecard
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2973 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 01:34:18 +00:00
Latif Khalifa
b5bc88b72c Turns out we need to upload an empty asset first after creating an inventory item, before uploading real data.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2971 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 00:20:56 +00:00
John Hurliman
f403dad3c1 * PacketDecoder now parses InventoryItemFlags field
* Additional callback sanity check in createnotecard

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2970 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 00:17:09 +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
John Hurliman
268ab32fef * Better error message fetching from failed notecard uploads
* createnotecard command will now add a link to the embedded item at the end of the note (still broken with "Invalid asset type.")

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2966 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 20:20:49 +00:00
Jim Radford
65042b42ec LIBOMV-627 Changes all occurrences of FindWithText to FindListViewItem method since FindWithText matches first portion of a listview items key. Thanks jhurliman for the find (har har)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2964 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 18:33:05 +00:00
John Hurliman
3d2ef50871 * Catch an ObjectDisposedException for the AckTimer
* Added item embedding support to createnotecard, which is currently not working. Any help getting this working would be appreciated

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2963 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 17:31:57 +00:00
John Hurliman
3c5a1b5160 Cleaned up createnotecard TestClient command, it will now download and print the raw notecard data after uploading it
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2962 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 17:16:47 +00:00
Jim Radford
c82ef08110 LIBOMV-614 Disables loading of session filters if proxy is not started
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2957 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 02:07:47 +00:00
Jim Radford
e097f389c8 Adds TestClient derez command to allow sending primitives in world back to the Trash folder of your inventory. Thanks Douglas R. Miles for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2956 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 01:58:39 +00:00
Jim Radford
ee398e3a06 LIBOMV-589 Adds SecureSession support to the GridProxy Frame. Thanks to lordgreggreg for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2955 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 01:53:54 +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
John Hurliman
368632dcd2 Adding an xfer command to TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2950 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-09 20:52:11 +00:00
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