Commit Graph

33 Commits

Author SHA1 Message Date
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
Latif Khalifa
f1b8fcaf47 Added ability to use SmartThreadPool 2013-07-18 20:00:11 +02:00
Douglas R. Miles
55a11c3f12 GridManager - Handle error results 2012-06-09 11:25:19 -07:00
Latif Khalifa
2cb2614764 Hypergrid regions always return Y=0. Allow that.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3595 52acb1d6-8a22-11de-b505-999d5b087335
2011-12-03 16:42:46 +00:00
Latif Khalifa
3268079199 LIBOMV-808: Use of the WorldTime command causes a system stack overflow exception
Removed WorldTime
LIBOMV-855: Added GridManager.TimeOfDay

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3508 52acb1d6-8a22-11de-b505-999d5b087335
2011-05-09 11:24:17 +00:00
John Hurliman
903dc7570b * Enabled synchronous handling for seven high traffic sim->client packets: AvatarAnimation, CoarseLocation, ImprovedTerseObjectUpdate, ObjectUpdate, StartPingCheck, CompletePingCheck, and SimStats. For the first four in that last, if your app registers a callback that is fired from any of those handlers the callback will be fired asynchronously still while the rest of the handler runs synchronously
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3419 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-12 22:37:27 +00:00
Jim Radford
95a87c7857 LIBOMV-686 Convert NetworkManager events/delegates to new patterns
* Remove INetworkManager interface (it was not being used for anything)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
Jim Radford
b0cb77e1e5 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in GroupManager
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3162 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-20 20:18:03 +00:00
Jim Radford
039dad5149 Fixes some TODO: items in GridManager, implements known MapItem classes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3156 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 08:21:41 +00:00
Jim Radford
3902497f54 LIBOMV-686 Implements new event pattern style in GridManager to conform with standard best practices guidelines
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3155 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 04:41:07 +00:00
Jim Radford
0567a983fc LIBOMV-671 Adds Adult Event and Adult Land for sale fields to GridItemType enum to support additional "adult" functionality
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3144 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-15 20:27:50 +00:00
John Hurliman
702df01beb Applying [LIBOMV-605], region names are now case sensitive. Make sure to check your TestClient launch files and your code for case sensitivity issues!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2919 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-27 22:13:22 +00:00
Jim Radford
b49d0736cc LIBOMV-557 Adds sanity check to CoarseLocationHandler to fix IndexOutOfRangeException, Underlying problem is the packet being sent from Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2811 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-26 16:24:00 +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
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
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
d5704737fd Fixes a bug where a collection was being modified during enumeration in recent commit for LIBOMV-450 (CoarseLocationUpdates)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2555 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-31 16:32:45 +00:00
3541f2bab5 Fixed some documentation and code artifacts left from previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2550 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 19:35:35 +00:00
154d2ef319 [Simulator.cs]
* Changed simulator.AvatarPositions from Dictionary to InternalDictionary
* Resolves LIBOMV-450 by removing simulator.PositionIndexYou and .PositionIndexPrey in favor of Client.Self.AgentID and simulator.PreyID for indexing AvatarPositions
[InternalDictionary.cs]
* Added lock to .TryGetValue
* Added .FindAll overload for using a key as the predicate instead of value
[OpenMetaverse.GUI]
* Visual and functional enhancements to Minimap and AvatarList (takes advantage of new AvatarPositions code)
* Added failed login retry dialog to Dashboard
* Added more documentation to public classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2549 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 18:29:32 +00:00
John Hurliman
d4e07b8c4d * Few more tweaks to event queue server to improve performance and thread safety
[Simian]
* Made default assets for map water overlay and HyperGrid portals
* Fixed asset store loading regression
* Start synchronization after RegionHandshakeReply instead of CompleteAgentMovement (allows the sync function to be called for child agents as well)
* Start informing clients of neighbor regions when AgentThrottle is received (prevents client crashes, and this will become necessary data in the future)
* Minor fixes in map handling

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2488 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-17 00:17:07 +00:00
Latif Khalifa
d116087ecb LIBOMV-450: Breaking change. Change avatar locations from List<Vector3> to Dictionary<UUID, Vector3> to enable more uses of CoarseLocationUpdateCallback.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2451 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-22 10:45:03 +00:00
John Hurliman
1ab82e4f17 * Removed Agent.CurrentPosition in favor of Agent.Avatar.Position
* Stubbed out the UDP teleport request handler
* Removed some redundancies in the ISceneProvider interface between objects and agents, and fixed SceneManager to operate on both agent and object stores where needed

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2424 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-03 01:59:46 +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
John Hurliman
8e84377b22 * Removing EnUsCulture from Helpers as it already exists in Utils
* Removing Helpers.NewLine as it already exists in Environment.NewLine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2360 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 23:37:02 +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
431c08482e Resolves LIBOMV-399: sim.AvatarPositions has the incorrect Z value (Z / 4)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2304 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-19 22:29:09 +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
John Hurliman
8e70446f3c * Added Utils.CopyBytes() to OpenMetaverseTypes, should be used any time a byte array is grabbed from a packet member and directly assigned to another variable
* Moved Simulator enums (RegionFlags and SimAccess) into the main OpenMetaverse namespace
* More comments

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2233 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-22 15:05:14 +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
3e715ebd2f LIBOMV-324 Adds Client.Grid.RequestRegionHandle(regionID) and OnRegionHandleReply event
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2001 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-25 19:32:33 +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