Commit Graph

47 Commits

Author SHA1 Message Date
Jim Radford
32a6461fa0 LIBOMV-543 Adds addtional methods, handlers and events for dealing with Classified Ads, Patch courtesy of Daten Thielt
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2762 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-14 19:35:57 +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
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
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
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
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
Jim Radford
57b74be3a9 Fix some compile time warnings, clean out cruft EnableSimulatorHandler code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2634 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-20 07:50:25 +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
ef32e4b66b LIBOMV-477 Add additional information in case exception is thrown during decoding of a Message. Fixed some issues in AgentManager related to group chat sessions caused by new Message system. And a couple more changes ChatterBoxSessionAgentListUpdatesMessage to better handle the LL generated OSD
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2603 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 06:11:21 +00:00
Jim Radford
afe715a30f LIBOMV-477 Adds several capabilities message classes
* Some cleanup of LindenMessages.cs class
* Tests for all messages encode/decode are implemented and included

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2601 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-14 04:47:55 +00:00
Jim Radford
e24d24a201 LIBOMV-477 Big Messaging system update:
* Adds new IMessage interface for messaging system
* Adds additional Caps Messages + Tests for most (All incoming caps messages should now be handled by new messaging system)
* Unit Tests for new messaging system only test that decoding and encoding work properly, they do not confirm proper formatting required by the simulator
* Switches EventQueueCallback to decode and send message to registered callbacks
* Switches several caps requests over to new messaging interface
Some in-process work is left commented and cluttering up in a few places. Will remove after more cleanup is done
* Update source header/copyright in several classes
Note: this commit features several breaking changes to existing clients. Much code that has been only lightly tested, please report bugs in jira.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2599 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-13 09:32:25 +00:00
John Hurliman
f48c9922e9 * Added OpenMetaverse.Messages.Linden and OpenMetaverse.Messages.Simian namespaces to hold LLSD serialized messages. The dawn of a new era for libomv!
* Changing LLSD JSON serialization to match the draft at http://tools.ietf.org/html/draft-hamrick-llsd-00 (first breaking change since 0.6.0)
* Moving some enums out to OpenMetaverseTypes.dll
* Adding conversion methods to go to and from the newly moved enums
* Moved Parcel enums out to the main namespace

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2588 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-09 01:17:40 +00:00
John Hurliman
1d49d4facb * Swapped out CookComputing.XmlRpcV2.dll for good ol' XMLRPC.dll
* Set another async thread in CapsBase to background to help libomv shutdown times
* Returned the login data structures to libomv types

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2586 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 21:02:58 +00:00
Jim Radford
2db5f0c493 LIBOMV-481 Re-Implements XML-RPC Logins, New Settings to switch between LLSD or XML-RPC logins, defaults to XML-RPC Please post any new login issues to http://jira.openmv.org/browse/LIBOMV-481
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2583 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-08 01:55:59 +00:00
John Hurliman
00ded81d19 * Sanity check that we are connected to a simulator before teleporting
* Gracefully handle zero length layers in JPEG2000 decoding
[Simian]
* Adding OAR file archive writing (untested)
* Add a /save command to Periscope to save an OAR archive of a scene

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2480 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-11 00:09:47 +00:00
Robin Cornelius
4973542628 Do not force the group flag to true in the ChatterBoxInvitationHandler, but instead use what the CAPS reply told us, as its the only way to tell the difference between a group IM invite and a friends confrence invite
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2475 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-07 18:37:51 +00:00
John Hurliman
3ad7551a4a * Added Utils.EmptyBytes which is equal to new byte[0] and replaced all references of new byte[0] to Utils.EmptyBytes
* Added a CRC32 implementation to OpenMetaverseTypes.dll
* Added ToBytes() functions to most of the OMV types for writing bytes into an existing byte array

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2470 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:32:02 +00:00
John Hurliman
12375d40e9 * Added a server-side flag, ChatType.RegionSay
* AppearanceManager.AddAttachments() now uses the attachment point specified in the inventory item
* Completed the PrimFlags enum by filling in placeholders and inventing our own server-side flags (do not use the placeholder values, they will change)
* Added DoubleDictionary.FindValue()
* Added a random number function, SwapWords(), and SHA1/MD5 hash string functions to Utils

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2461 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-02 22:49:25 +00:00
Robin Cornelius
2358b16225 LIBOMV-454 Implement CAPS version of starting IM conferences and also implement CAPS ChatterBoxAcceptInvite for accepting invites to join conferences
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2459 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-02 11:53:26 +00:00
John Hurliman
48982dfb7f Moved AgentManager enums to the OpenMetaverse namespace to match other enums (maybe all enums should be placed in a separate file?)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2425 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-03 18:14:11 +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
4055e121a6 Cleaned up previous commit involving profile picks
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2340 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 23:59:48 +00:00
Latif Khalifa
285bd80925 Adding functions for updating/creating and deleting profile picks [LIBOMV-421]. Patch by Daten
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2339 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-09 23:52:35 +00:00
8a597a50e4 Updated some renamed params in the xml docs for AgentManager and Helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2327 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-05 23:12:09 +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
ebaea1009c Resolves LIBOMV-410: Client.Self.Movement.Jump() has no way to stop jumping.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2314 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-28 18:27:19 +00:00
Jim Radford
ef1cb455c2 LIBOMV-402 Switches TeleportFinish packet to use CAPS directly.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2307 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-24 18:42:46 +00:00
6e4994c890 Resolves LIBOMV-400: Client.Self.SimPosition missing vector transformation for rotated seat prims
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2305 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-21 21:11:50 +00:00
24163fb4c2 Corrects commit r2289 - Fixed AgentManager.StandUp() not setting Movement.SitOnGround = false ... r2289 actaully contained an update to Movement.TurnToward
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2298 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-15 23:57:38 +00:00
John Hurliman
9dd0b44a48 * Wait up to 10 seconds for an event queue to connect if Self.Teleport() is called when no event queue is connected
* Check if a command exists before running it in TestClient

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2295 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-11 00:17:21 +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
Jim Radford
c277025287 LIBOMV-196 Exposes various group cache data we store to public using our InternalDictionary class
* Adds ActiveGroupPowers field to AgentManager which holds currently active groups GroupPowers for current avatar

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2221 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-14 08:12:51 +00:00
Jim Radford
cc91647129 Fixed UUID comparison in agentmanager, Strings need to be typecast to (UUID) (or better yet compare against UUID.Zero instead of null)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2217 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-13 00:10:47 +00:00
John Hurliman
e0cfefc977 Applying patch by Brandon Lockaby in [LIBOMV-376] to fix BinaryBucket parsing in ChatterBoxInvitation events
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2214 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 19:31:30 +00:00
Jim Radford
d25f89d854 Fixed another LLSD type conversion issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2211 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 00:39:58 +00:00
Jim Radford
03b6a4a9a1 * Fixed up some XML Comments in InventoryManager to clear up compile time warnings,
* Fixed casting issue in AgentManager which was causing compile issues on some platforms

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2210 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 00:32:05 +00:00
Jim Radford
1a886fb085 LIBOMV-375 Removes duplicate GroupPowers struct, adds XML comments to the one that stayed
LIBOMV-374 Adds new ModerateChatSessions method to AgentManager which allows a group member with Moderator rights to silence idiots
LIBOMV-372 Fixes exception thrown while using Group Chat functions caused by recent changes to the LL Simulator, Also fixes TestClient IMGroup command
* Adds (2) Events OnGroupChatJoin/OnGroupChatLeft fired when a member enters or leaves a group chat session



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2207 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-09 04:58:58 +00:00
John Hurliman
f656d185a3 * Removed unused AgentManager.AgentMovementCallback
* Added Avatar.ControlFlags (not used by libomv directly)
Simian:
* Added ISceneProvider interface
* Fixed ObjectSelect crash (due to a packet block not being filled out if the selected object was missing)
* Simplified BuildFullUpdate()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2196 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-04 21:09:44 +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
Jim Radford
2ec24f22fa Compiler warning cleanup, fixes all unmatched parameters (adds empty placeholders for CrisOmega to fill in when he wakes up :)), Adds additional warning supressions to prebuild.xml
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2033 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-30 06:51:51 +00:00
John Hurliman
e294f47afd * Basic types renaming continued
* Corrected ManagedImage.ExportRaw() function to flip the image (OpenGL has a texture origin in the bottom-left)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2015 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 22:23:48 +00:00
Jim Radford
442bffbe28 Updates AgentManager inline comments to use non LL prefixed types (Types no longer begin with LL)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2009 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-28 08:28:16 +00:00
Jim Radford
e000e18243 LIBOMV-236 Cleans up GroupManager class:
* Documents Event Delegates
* Removes Transaction viewing methods and packets due to deprecated protocol packets
* Removes GroupProfile struct since it was an exact duplicate of the Group struct
* Cleans up ToString() override in AgentManager InstantMessage struct
* Updates GroupManager example to use Group struct vs removed GroupProfile struct

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2003 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-26 05:38:30 +00:00
John Hurliman
81e6342d36 Removing LL prefix from all basic types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1998 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 05:15:05 +00:00
John Hurliman
c1f3d6a3c2 Renaming libsecondlife folder to OpenMetaverse. Part of a multi-step process, do not check out this revision!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1957 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-22 22:56:05 +00:00