Commit Graph

990 Commits

Author SHA1 Message Date
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
axial
afbeabaaa5 [SLProxy] caps debug output #ifdef DEBUG_CAPS'd out
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1105 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-05 07:26:08 +00:00
axial
b4bf5fc4a0 updated SLProxy.build for new XmlRpcCs path
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1104 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-05 07:23:28 +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
axial
e16c5f5d50 Fixed nant build for SLProxy and ChatConsole. Removed Analyst and Plugin Loader; their build fails because they depend on each other (anyone know what's going on there?).
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1087 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 21:53:58 +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
axial
cd1878f497 fixed SLProxy bug that prevented caps from working if the client-facing http proxy wasn't on localhost:8080
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1082 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 03:08:30 +00:00
axial
cf8e6a75ae epic battle to the death between XCode and svn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1081 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-29 08:00:30 +00:00
axial
2a12a2c8a3 MacProxy tweaks
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1080 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-29 07:56:50 +00:00
John Hurliman
159dcb8f0c openjpegnet can compile in Release mode now in MSVC
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1079 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 22:36:43 +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
axial
c949715566 MacProxy tweaks
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1077 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 21:43:05 +00:00
axial
eaf7052f64 [MacProxy] should work on Mac OS 10.3.9 now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1076 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 20:06:18 +00:00
axial
de5d8eec9e [MacProxy] removing unnecessary build files from the repo
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1075 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 20:00:19 +00:00
axial
b41099f662 MacProxy documentation.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1074 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 09:51:09 +00:00
axial
5ac8cbcc3e Added SLProxy/MacProxy tool which creates a standalone Mac OS X application from an SLProxy application. Not yet complete.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1073 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 09:11:16 +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
0e0fd36aa4 Updated openjpegnet.dll.config to point at the updated OSX .dylib
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1070 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 01:15:00 +00:00
John Hurliman
c6ce87373a Removing empty applications directory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1069 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 23:13:53 +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
324b0b3a25 Formatting cleanup for SLProxy. If someone ever does intend to add the grep functionality back in you can use svn history to look at the old commented out code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1067 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 22:37:16 +00:00
John Hurliman
1e50b5d7f7 Removing some Heightmap-specific and unnecessary code from Baker, getting it to actually compile, and adding a MSVC project file for it
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1066 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 06:26:38 +00:00
bushing
361249225e added 'Baker' example stub and OSX universal library for OpenJPEGNet
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1065 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 05:26:08 +00:00
John Hurliman
4a481fd269 * Fixed RequestMainlandSims(), apparently the simulator doesn't like you requesting the entire grid with returnNonExistent=true
* Moved SimAccess to Simulator
* Added RegionFlags, BillableAccess, and Access to Simulator from RegionHandshake
* Added Parcel.Category
* Beefed up GridRegion a bit, marked GridRegion.RegionFlags obsolete since it appears to always be zero

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1063 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-23 16:11:01 +00:00
John Hurliman
9d75d326de Adding a 32-bit Linux binary for openjpeg and updating openjpegnet.dll.config
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1062 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-22 14:22:26 +00:00
John Hurliman
924b330076 * Added more entries to the ScriptPermission enum and put it to use
* Added ScriptQuestionReply()
* Try/catch block around the OnScriptQuestion callback
* Fixed the item name and owner name being reversed on OnScriptQuestion

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1061 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-21 16:14:06 +00:00
John Hurliman
d695369b51 * Set CAPS KeepAlive to false to resolve issue 67
* Big refactoring of GridManager, no more five second sleep. Added MapLayer CAPS stub. GridRegion is now a struct and GetGridRegion() returns a bool
* LLSD integer type now maps to C# type int instead of long. Misc cleanups in LLSD, more is and as usage
* Added RegionFlags and SimAccess enums
* Another try/catch in SLProxy for CAPS connection problems
* Simulator.Equals now compares based on IPEndPoint, == and != overloads added
* Added a stub for making CAPS calls (awaiting the NetworkManager message pumps)
* More CAPS error handling for 404, timed out connections, and misc problems
* FindSim and Goto commands no longer sleep or try to download info on every sim in the grid
* More logging messages output the simulator name that they originated from
* Helpers.FieldToHexString now properly prints the given field name
* Another disconnect sanity check in NetworkManager
* Log() and DebugLog() now use String.Format. Always use String.Format when there are lots of parameters!
* Settings.cs documentation, CROSS_BORDERS renamed to MULTIPLE_SIMS
* Removed pointless libsecondlife.nunit file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1060 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-21 15:24:51 +00:00
7947e271c5 Added MainAvatar.ScriptPermission to enumerate the various question types (permissions) passed to OnScriptQuestion.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1059 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-21 00:55:59 +00:00
e13e5870f0 Added Client.Self.OnScriptQuestion callback for permission request dialogs invoked by llRequestPermissions.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1058 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-20 22:30:39 +00:00
John Hurliman
d714cb1803 * Increased the network timeout from five seconds to 15 seconds
* Removed a potential deadlock situation from network timeouts
* Constructor for Simulator now only initializes data, separate Connect() method is used to Connect
* Removed the IPEndPoints collection in favor of using the Simulators collection
* Added some helper methods for using the Simlators collection
* Small cleanups in Utilities.ParcelDownloader

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1057 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-19 18:38:34 +00:00
John Hurliman
c2d30336ca * First round of optimizations for converting packets to strings (more to follow)
* Made FieldToString internal and modified how the function works to optimize packet to string conversion and discourage use of it anywhere else. Only use FieldToUTF8String or FieldToHexString!
* Changed almost 40 FieldToString calls to FieldToUTF8String

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1056 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-19 14:38:01 +00:00
John Hurliman
3425e84afb * Significant rewrite of Parcel and ParcelManager
** Code file renamed from Parcel.cs to ParcelManager.cs
** All functions except Update() have been moved from Parcel to the ParcelManager (don't have to have a Parcel object to use the functions now)
** Expanded Parcel to include all of the ParcelProperties fields
** Added several enums
** Added a new overload for request parcel properties
** Renamed everything for consistency and added documentation
* Fixed a bug in Simulator where the PingTimer object could be accessed but not created
* Formatting cleanup in Simulator

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1055 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-19 13:38:10 +00:00