Commit Graph

354 Commits

Author SHA1 Message Date
Jim Radford
c351d287c7 LIBOMV-526 Adds ability to send a string message when requesting friendship with OfferFriendship method.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2724 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:35:06 +00:00
Jim Radford
f88ca201e5 Adds several methods to EstateTools:
LIBOMV-523 Add Estate Managers 
LIBOMV-524 Remove Estate Managers
LIBOMV-525 Teleport All users on an estate to their home location
Thanks Daten for the patches!

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2723 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:18:36 +00:00
Jim Radford
ade2d9a2bf LIBOMV-505 Turning OFF timing debug I accidentally left on during the last commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2722 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:10:10 +00:00
Jim Radford
24c283e121 LIBOMV-505 changes internal callback to a list of callbacks so duplicate texture requests both get the calbacks passed fired.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2721 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:06:10 +00:00
Jim Radford
07f8bfad06 LIBOMV-505
* Adds Delegate and Event for tracking the progress of textures being downloaded via the TexturePipeline class.
* Temporarily fixes noisy developers


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2718 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 21:26:14 +00:00
Jim Radford
5cb332ff1e Applies patches provided by Daten from LIBOMV-520 and LIBOMV-521 which adds methods to EstateManager to control various settings, and to do simwide returns of objects.
Also code cleanup and organization in EstateTools

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2717 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 20:03:35 +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
John Hurliman
545e8c97bd Added TexturePipeline.TransferCount getter property
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2711 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 06:57:39 +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
9d0c803450 Fix xml-rpc login "0 avatars online> 4437 [XML-RPC Login] DEBUG - Login response failure: Object reference not set to an instance of an object." error which was occuring when the login response did not contain a "home" position (ie for new accounts)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2708 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 04:48:24 +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
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
a7ba753336 Fixes [LIBOMV-518], wrong args were being passed to CreateItemFromAssetResponse the second time around
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2703 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 18:09:58 +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
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
2725f1b660 [EstateTools.cs]
* Implemented LIBOMV-514 and LIBOMV-515 based on patches submitted by Daten Thielt for setting estate terrain textures and heights
* Resolved LIBOMV-516 by moving EstateTools instance to Client.Estate
* Added framework for storing the latest received estate texture info (not yet implemented)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2698 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 04:55:36 +00:00
John Hurliman
d8855b7b6e Marking InternalDictionary[] getter as public
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2697 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 00:36:09 +00:00
John Hurliman
fce25d2133 Marking InternalDictionary.Dictionary as internal
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2696 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-06 23:34:50 +00:00
John Hurliman
17932a2e7c * Fixes [LIBOMV-511], locking was happening on the wrong object for InternalDictionary
* Adds a new ForEach(KeyValuePair<TKey,TValue>) method to InternalDictionary
* Removing SafeAdd/SafeRemove from InternalDictionary and adding locks to normal Add/Remove. Also added locks to the [] operator and removed unnecessary locks from ContainsKey/ContainsValue
* Fixed rampant locking inconsistencies in FriendsManager. Rule of thumb: let InternalDictionary handle the locking for you

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2692 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-06 19:07:21 +00:00
John Hurliman
bb97bdcdc7 Fixing [LIBOMV-485] by replacing the GetHashCode() check at login with a randomly generated LoginID value
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2690 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-06 17:41:48 +00:00
Jim Radford
b78464a423 LIBOMV-508 Adds check for MediaData block in ParcelPropertiesMessage Deserializer, this block is missing in OpenSim so a parse except is thrown.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2684 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-02 00:59:50 +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
Latif Khalifa
6d6af6f3f8 LIBOMV-507 fix typo preventing SessionID from being populated
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2678 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-01 03:16:03 +00:00
Jim Radford
fd9e756ccf * Standardized Event Callback names for recently added Event Message handlers and some older Event Callbacks
* Switched ChatterBoxAcceptInvite and StartIMConference to use Message system
* Renamed misspelled StartIMConfrence to StartIMConference *BREAKING CHANGE*
* Minor XML documentation updates to be more clear and some typos corrected.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2675 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-29 18:33:46 +00:00
John Hurliman
95a4f7fd7e * Fixing [LIBOMV-504] reported by Eves Sinister, OSDParser.Deserialize() now handles LLSDXML that starts with <?xml
* Cleaned up the Cable Beach inventory API and added LLIDL for prim serialization. This is still a proposal and no serialization/deserialization exists yet
* Updated content types and file extensions used by Cable Beach to match the table at https://wiki.secondlife.com/wiki/Asset_System

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2674 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-29 17:21:46 +00:00
Jim Radford
7ff9fb14de LIBOMV-503 Implements TeleportFailedEventHandler and CrossedRegionCapsHandler capabilities in library to handle those messages coming across the EventQueue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2672 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-29 06:05:31 +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
9fa36f6466 LIBOMV-477 Adds TeleportFailed to message system, Also modified Caps handler to as a last ditch effort use our generic caps to packet decoder for unhandled caps messages.
Prints out necessary debug information to create new unhandled messages easily.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2668 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-27 23:08:20 +00:00
Jim Radford
2dd6291925 LIBOMV-485 Fixes NullReference Exception when logging into OpenSim based grids since they do not send the UDPBlacklist reply option, check for successful login, exit parser if login failed since there is no reason to try and parse further messages.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2667 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-27 05:36:46 +00:00
Jim Radford
db84a6fb81 LIBOMV-485 Enabling more debug output to track down a NullReferenceException
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2666 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-26 17:57:25 +00:00
Jim Radford
ab517d7501 LIBOMV-485 Disabling check for XML-RPC logins which were failing for mono clients. This needs to still be looked into but is a temporary workaround for now to allow mono clients to login using XML-RPC
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2665 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-26 09:55:20 +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
1efcfbeb6e LIBOMV-477 Adds CrossedRegionMessage to the IMessage interface and the EventDecoder
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2662 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-26 00:54:35 +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
2ad91ceeb6 LIBOMV-477 Adds 3 known variants of ChatSessionRequestMessage to Message System
Adds a little documentation, and some naming cleanup


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2660 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-25 01:54:52 +00:00
John Hurliman
d6449813bc Added more Cable Beach inventory messages
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2659 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-25 01:39:41 +00:00
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