Commit Graph

49 Commits

Author SHA1 Message Date
John Hurliman
b65a4dcbe3 * Set KeepAlive to false for logins so logins after the first won't break
* Set Expect100Continue to false to prevent an unnecessary handshake in HTTP POST exchanges

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1131 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 04:17:07 +00:00
John Hurliman
510d72e324 Exceptions in packet callbacks are now logged (this was broke when we converted to the ManagedThreadPool)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1130 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 01:31:35 +00:00
John Hurliman
a099b9853e * Fixed GlobalPosToRegionHandle() bug
* Typo in the DirectoryManager docs
* ParcelInfoCommand prints out number of people on the ACL for each Parcel
* Documented Parcel.AccessList

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1129 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-17 20:48:18 +00:00
bushing
0641c27ca7 rewrote ParcelDownloader to fix a bug
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1128 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-17 10:17:21 +00:00
John Hurliman
e51ef6a0d2 * Renamed Utilities.Connection to Utilities.ConnectionManager
* Added Utilities.ConnectionManager.PersistentLogin() that repeatedly attempts to login (with intelligent pauses) until an unrecoverable error is encountered or the login succeeds. Useful for automated logins while the grid is down, a simulator has crashed, or the old login presence hasn't been cleared yet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1127 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-16 14:15:07 +00:00
John Hurliman
b59eb7e09d Added Helpers.GlobalPosToRegionHandle() to convert two global floats to two sim-local floats and a region handle
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1126 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-16 06:48:05 +00:00
John Hurliman
d03ecd21f5 Committing CAPS fix from Ahzz to prevent a stack overflow from 404 errors
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1125 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-16 06:08:37 +00:00
John Hurliman
48f7aa5d0f * Attempted fix for issue 87, login redirects failing (new parameters were added)
* Added Caps.IsEventQueueRunning
* Teleports now fail immediately unless the event queue is running
* All Array.Copy calls have been changed to Buffer.BlockCopy
* Improved the GotoCommand, synchronous teleports are used and better feedback is given

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1124 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-15 07:37:53 +00:00
John Hurliman
97e7190bac * Removed "bool md5pass" parameter from Login(), MD5 passwords are detected at runtime
* Implemented asynchronous logins. Look at sldump for example usage
* Added Network.DefaultLoginParams() to help with async login calls
* Added ThreadUtil for making asynchronous callbacks (need to switch it to use the ManagedThreadPool)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1123 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-15 04:59:44 +00:00
John Hurliman
720dd19979 Excluding Heightmap from NAnt build to try and fix the CCNet build
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1121 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 23:22:16 +00:00
John Hurliman
8e374ed9d6 Heightmap project files cleanup
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1120 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 23:20:27 +00:00
John Hurliman
0a8fc45094 How did this get misplaced?
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1119 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 22:29:11 +00:00
John Hurliman
56a71928b1 Set MULTIPLE_SIMS = false in the Heightmap example
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1117 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 21:14:32 +00:00
Michael Cortez
9f918dc8e1 Switch from using exceptions, to using TryParse() in wearable asset decoding.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1116 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 20:23:23 +00:00
John Hurliman
3b6bfbc1ce * Caps initial connection is now asynchronous. This will fix the last remaining occasional lockup on program exit
* Fixed a lockup on exit and NullReferenceException when using ParcelInfoCommand in TestClient
* Basic (but incomplete) support for decoding foliage in CompressedUpdateHandler
* More exception handling in Login.cs
* Housekeeping in MainAvatar.cs
* Increased teleport and caps timeouts
* Added an LLVector3 * LLVector3 operator overload

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1115 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 20:02:21 +00:00
John Hurliman
8c56b9b7eb * Applied patch from issue 84, Parcel.Update() calls the new function Parcel.UpdateOtherCleanTime() for setting auto-return
* AccessListRequest() now actually sends the packet out
* Added the AccessList enum for requesting parcel whitelists or blacklists, and interpreting the returned objects
* ParcelAccessEntry now uses all native data types (LLUUID, DateTime, and AccessList enum
* Removed the custom xml attributes in LLObject until we get serializing figured out

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1114 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-11 04:46:25 +00:00
axial
2aac1f040a Workaround for issue 85 (Unable to use a configuration file path starting with a / on Linux). Filenames that start with a dash still won't work.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1113 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-10 11:47:54 +00:00
axial
18da8ad9b4 Fixed(?) StandCommand in TestClient.
I'm not sure if this actually works, but it compiles now, which is a start!


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1112 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-10 11:23:10 +00:00
bushing
71dc425212 the start of ParcelAccessList support
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1111 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-10 10:05:25 +00:00
John Hurliman
f44c012f60 * Client.Self.Position now does acceleration/velocity interpolation
* Added LLVector3 * float operator
* Adding Oven.cs to Baker (will be moved in to libsecondlife later) that does the first baby steps of baking
* Added the missing Helpers.GetResourceStream() function
* Changed readonly Settings values to const


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1110 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-09 08:03:12 +00:00
bushing
81d192e920 * Adding support for loading resources to libsecondlife, and broken support for 8-bit (grayscale, non-alpha) TGAs to openjpegnet TGALoader
* Baker will try to load a libsecondlife built-in TGA resource on loading
* Small duplicate checking bug in MainAvatarStatus



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1108 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-08 08:28:52 +00:00
John Hurliman
fabdeabf10 * AgentUpdate packets are now complete with the additional enums AgentFlags and AgentState. AgentUpdateFlags has been renamed to ControlFlags
* Fixed a bug where the blocking queue was holding up logouts for up to 15 seconds
* Client.Self is now updated by terse update messages along with full object updates
* Parcel.Update() now takes a bool specifying if we want a confirmation Packet
* An optimization has been added to MainAvatarStatus to prevent duplicate AgentUpdate packets from being sent out. If the avatar is staying idle it will use a lot less bandwidth now
* Default camera distance is now 384 so we see the entire sim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1107 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-06 21:02:20 +00:00
John Hurliman
b7fcba0b86 Applying patch from issue 83, more additions (and a code cleanup) to GroupManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1106 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-06 11:08:21 +00:00
John Hurliman
2117ab8e14 Fixed issue 74, OnFriendNotification() was getting called with true even when avatars went offline
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1103 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-04 01:49:10 +00:00
John Hurliman
26ca1c0159 * Applied patch from issue 75, uninitialized block in GroupManager.RemoveFromRole
* Login code automatically accepts ToS and other required reading again

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1102 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-04 01:34:47 +00:00
John Hurliman
81472d88f4 * Incoming packets are put on a queue instead of processing immediately
* Two new classes added, a ManagedThreadPool that is a performance enhanced ThreadPool, and BlockingQueue which is a thread-safe queue that allows one end to block until something is added to the queue
* Added Simulator.ReceivedResends for tracking the number of resent packets received
* Added StatsCommand to TestClient to print out basic networking stats

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1101 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-03 05:47:09 +00:00
Michael Cortez
8525c111a6 Looks like an ItemCreationUpdate is sent when you buy something. I've commented out the exception that was being thrown and added a TODO.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1099 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-02 20:34:20 +00:00
John Hurliman
e2ea425e2e struct LLUUID 2: NUnit Boogaloo (blame everything on bushing)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1098 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-02 09:34:16 +00:00
John Hurliman
77a9c8bd23 * XmlRpcCS has been replaced with custom XML handling, all login code has been moved to Login.cs
* XmlRpcCS moved to SLProxy folder, since SLProxy still relies on it
* Client.Network.LoginError is now obsolete, replaced by Client.Network.LoginErrorKey and Client.Network.LoginMessage
* Client.Self now has StartLocation and AgentAccess strings after a successful Login
* Removed the null LLUUID check in _Packets_.cs since LLUUID will be a struct soon
* Fixed directories in mapgen.bat
* AgentThrottle class lives in AgentThrottle.cs now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1097 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-02 04:37:15 +00:00
jmalthus
e6b4375131 Reverted to r1093. Bushing should really test his changes, especially those that are as far-reaching as LLUUID.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1096 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 20:19:40 +00:00
jmalthus
35efb77f92 Fixed a bug in the eject code (WHOOPS)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1095 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 20:05:22 +00:00
bushing
4bdfd53fd7 Changed LLUUID's implementation to be a struct wrapping 'Guid', for performance
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1094 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 19:20:08 +00:00
John Hurliman
9250dbe67f Fixed some more logic bugs in Utilities.AppearanceManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1093 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 12:58:04 +00:00
John Hurliman
0d85ae979a * Fixed an exception in Utilities.AppearanceManager
* Fixed the post-build step in openjpegnet to use copy instead of cp
* Added constructors to SerializableDictionary (deserialization was asking for them)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1092 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 12:31:25 +00:00
bushing
df61c4906e Fixed a build issue in StandCommand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1091 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 11:23:29 +00:00
John Hurliman
88e7d9397c * Fixed up the Baker example for bushing's experiments
* Removed the ThreadPool checks, it's a lost cause on Mono right now
* Moved ObjectManager RequestAllObjects and AlwaysDecode to the Settings class as ALWAYS_REQUEST_OBJECTS and ALWAYS_DECODE_OBJECTS
* TestClient uses the new Settings variables for object management
* Increased the CAPS timeout, we need to get the initial connection async quickly
* Added a post-build step for openjpegnet MSVC project to copy openjpeg.dll to the bin/ directory

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1090 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 09:52:13 +00:00
John Hurliman
003ca29a1d * ThreadPool starvation check is done all the time now, not only under debugging mode
* Added Helpers.EnUsCulture for float parsing, converted all of the Single and Double parsing to be internationally friendly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1089 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-31 22:49:25 +00:00
John Hurliman
aab41c4235 * ConfigureThreadPool is changed to CheckThreadPool as it now only prints a warning, since mono doesn't implement ThreadPool.SetMaxThreads()
* Thread starvation problems are only printed when they actually happen

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1088 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-31 04:19:50 +00:00
John Hurliman
25438f1c85 * Implemented basic parser for the terse LLSD format used during Login
* Added a unit test for the new parser
* Removed JSON dependency in favor of the new terse LLSD parser
* Updated NAnt build files to remove JSON reference and point to libsecondlife (instead of libsecondlife-cs)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1086 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 14:14:35 +00:00
jmalthus
5c22c546c5 Adding group write support (A bit untested.)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1085 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 13:00:56 +00:00
John Hurliman
b11024ca59 Fixed a movement bug when multiple agents are logged in, caused by MainAvatarStatus using a static variable to store the current movement info
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1084 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 10:20:49 +00:00
John Hurliman
d50cac8842 SecondLife object now sets the application-wide ThreadPool size on startup to ensure there are enough IOCP threads for packet handling
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1083 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 09:44:42 +00:00
John Hurliman
fbb6754cd1 * Added Bump, Shiny, Fullbright, MediaFlags, and TexMapType properties to prim faces (replaces Flags1 and Flags2)
* TerrainManager will now decode and store patches if Settings.STORE_LAND_PATCHES is true, even if there is no callback
* TestClient now instructs libsl to decode land patches
* Minor performance tweaks

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1078 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 22:25:07 +00:00
John Hurliman
ff8e247cde Removing defunct Teleport example from svn (refer to the goto command in TestClient for teleporting, and sldump for an example libsl application)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1072 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 04:26:38 +00:00
John Hurliman
75ce7000ca * Added a debug check for monitoring the threadpool size
* Changes to how Utilities.AppearanceManager downloads textures to bake (this code is still a non-functional work in progress)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1071 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 01:31:09 +00:00
John Hurliman
1cb7f4c253 Huge svn cleanup!
* libsecondlife-cs is now libsecondlife
* All applications that are staying have been moved to trunk/
* SLProxy loads Analyst plugin by default if no other plugin is specified on the command line

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1068 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 23:12:39 +00:00
John Hurliman
1bfeca79b0 R.I.P. C++, may we see you again some day
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@204 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-19 01:28:32 +00:00
John Hurliman
58de70e3c1 Moved the project in to it's own directory libsecondlife
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@18 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-08 14:47:51 +00:00
John Hurliman
0f992df1d3 git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@17 52acb1d6-8a22-11de-b505-999d5b087335 2006-06-08 14:43:19 +00:00