Commit Graph

39 Commits

Author SHA1 Message Date
Jim Radford
2ad84bb40c moved shoot out of core libe and put in libsecondlife.Utilities Realism class.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1703 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-04 19:54:43 +00:00
Jim Radford
b4b8c9a5d3 * Fixes LLSD Parser for generic capabilities packets to handle binary fields which come across as Properties.
* Switches TestClient ParcelInfoCommand to using internal RequestAllSimParcels Methods. 
* Mark Utilities ParcelDownloader class as Obsolete
* Adds new RegionDenyAgeUnverified field to Parcel struct.
See Mantis#156


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1658 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-06 21:28:52 +00:00
John Hurliman
ded049f546 Resolving issue #95 reported by div0, add the option to send AgentAnimation packets as either reliable or unreliable
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1584 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-03 21:14:01 +00:00
John Hurliman
037b7b0aed Initial check-in of the new CAPS rewrite. Current issues:
* Original CapsEventQueue is still being used until a bug in the new one can be resolved
* New progress callbacks are not being utilized (yet)
* Listener classes (CapsListener and EventQueueListener) are only stubs right now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1518 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-06 00:58:28 +00:00
John Hurliman
e31883e162 * Committing patch from issue #35 by jradford to add parcel tracking support to ParcelManager. Converted the patch to use SafeDictionary and remove the quirky CurrentParcelID (the new Helpers.VecToParcelLocalID() is a working replacement for it)
* Converted Parcel class to a struct, enforcing valid values for all of the fields in the constructor to avoid accidental null references

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1502 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-29 19:38:32 +00:00
John Hurliman
9eecefb290 * Rewrote the LLSD system, changed the namespace name to libsecondlife.StructuredData and created an LLSD instance class
* Removed unused/deprecated login parameters user-agent and author
* More work on prim import/export
* Fixed up GridManager.GetGridRegion()
* Cleaning up AgentManager.LookAt mess
* Attempting to fix AgentManager.StopJump()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1498 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-21 23:50:05 +00:00
John Hurliman
3013742668 * Increased SIMULATOR_TIMEOUT to 30 seconds
* Converted all timers to System.Threading timers to fix problems running in services and the CF
* UDPBase now uses our own ReaderWriterLock that is more efficient, and CF compatible
* Login uses a hand-created LoginProxy object instead of dynamically building the class with reflection .Emit()
* Replaced ParameterizedThreadStart calls with class-wide variables for CF compat.
* Removed transfer timeout code (irrelevant now that uploads go through CAPS)
* Added several new Helpers methods to wrap desktop and CF conditional code
* Replaced Monitor calls with AutoResetEvent in BlockingQueue
* InventoryNodeDictionary uses generics now
* Removed final lingering piece of XML serialization
* Added CookComputing.XmlRpc.CF.dll for the CF

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1479 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-06 09:26:10 +00:00
John Hurliman
62dddabd7c * Transfer timeout support for uploads. This code will be deprecated soon though as CAPS uploading is almost finished
* More parameters to HTTPBase and Capabilities for making special requests
* Renamed InventoryManager callbacks to match the rest of libsecondlife
* Several new InventoryManager functions, not complete yet!
* Fix for null buddy list on login
* OnSimConnecting returns a bool to allow canceling sim connections
* NetworkManager.Connect() properly returns null on a failure

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1393 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 10:20:30 +00:00
John Hurliman
2bb6a50b08 * Rewrote GiveMoney function and created several offspring Give*Money functions
* Added GroupPowers enum courtesy of Thoys and switched GroupManager over to use it
* Renamed Simulator.SimCaps to Simulator.Caps
* Turned off Keep-Alive and Expect-100: Continue headers on Login
* Added MoneyTransactionType and TransactionFlags

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1391 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-05 01:21:36 +00:00
John Hurliman
25931f50a6 * Changing the signature of the InstantMessageCallback to use a struct instead of 14 arguments to try and fix mono
* Moved several enums outside of of the MainAvatar class that had little or no relationship to the main avatar

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1367 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-22 18:16:38 +00:00
John Hurliman
50adfa5675 * Added Capabilities.CapsReceivedEvent that signals after the initial CAPS connection is made
* Complete rewrite of event handling for packets and CAPS events
 - No more nested generic collections for events
 - No more for loops for every packet callback
 - CAPS event handlers by event name
 - Asynchronous CAPS event handlers
 - Unregistering of CAPS events
* Added a stub SoundManager
* Increased packet buffer size to 2048 after I got an exception about it being too small
* Continued work on VoiceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1347 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-04 14:31:31 +00:00
John Hurliman
d9e2b40e3e * Massive amount of work on VoiceManager and VoiceTest, we are almost logging in
* Fixed a few lingering bugs with the CAPS event queue wanting to time out
* Forced CapsRequest to always use POST
* Removed more debugging spew from HttpBase

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1346 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-03 16:00:50 +00:00
John Hurliman
fa9b7830a3 * Added the beginnings of VoiceManager to libsecondlife.Utilities
* Added VoiceTest to test VoiceManager. For now you will have to manually run the voice daemon (shipped with Second Life) each time

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1345 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-03 07:07:49 +00:00
John Hurliman
813875d7b2 * CapsResponseCallback now passes an object instead of a Hashtable
* Added a skeleton implementation of RegistrationApi to libsecondlife.Utilities. It does not work yet! Anyone with RegAPI access that wants to help test let me know. Original code submitted by fkollmann

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1343 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 02:35:40 +00:00
John Hurliman
739cab11bb Another sanity check in libsecondlife.Utilities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1342 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 02:05:09 +00:00
John Hurliman
6de95a27ac * Fixed several CAPS bugs and improved the overall stability and error handling
* Implemented a new logging system in HttpBase and the CAPS classes
* Quieted down the CAPS debug logging a bit
* Added a sanity check in libsecondlife.Utilities.DownloadSimParcels()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1341 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-02 01:09:53 +00:00
John Hurliman
a8567851d6 * Added HttpBase that serves as the foundation for the new CAPS system
* Rewrote CAPS to use HttpBase, connections now have 30 second timeouts and automatic retrying
* Implemented the static logging function in SecondLife
* Fixed a crash in the GotoLandmark command
* Removed some debug logging from FriendsManager
* Fixed an exception in libsecondlife.Utilities.GetWaterType()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1340 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-01 13:44:27 +00:00
John Hurliman
12828e64a8 * Removed the embedded resources from libsecondlife.dll and moved them to the external folder avatar_data
* Modified key2name example to not use libsecondlife.Utilities
* Made the Animations LLUUIDs readonly
* Removed AvatarTracker from libsecondlife.Utilities as it will be superceded by the built-in avatar tracker

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1339 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-31 10:29:38 +00:00
John Hurliman
479bcd38ab Moved openjpegnet assembly in to libsecondlife.dll, should make life slightly easier for distributing libsl software. Define NO_UNSAFE at compile time to disable OpenJPEGNet components
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1316 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-17 00:06:34 +00:00
John Hurliman
0dc600e83b Merging aditi 1213-1274 in to the trunk, preparing for 1.18 release
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1286 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-11 16:17:06 +00:00
John Hurliman
adfc241218 * Backporting all of the non-networking and non-inventory changes from the jhurliman branch
* The new asset and appearance managers sit alongside the old ones, so no code should break just yet although you might have to be more explicit with your namespaces
* Adding importprimscript to work in conjunction with qarl's Maya sculptie exporter
* Removing the IA_* examples, these should be remade in to TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1275 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-08 04:35:04 +00:00
John Hurliman
39fff0d30e Submitted bug fix to get asset uploads working properly with libsecondlife.Utilities.AssetManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1225 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-20 13:31:51 +00:00
John Hurliman
fec60d1f25 Reverted login changes to use the old style LoginMessage and LoginErrorKey variables. The new enum LoginStatusCode is sticking around
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1187 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-14 07:33:57 +00:00
John Hurliman
937f06f1ee * Fixed a byte copying problem in BakeLayer.cs
* Finished asset uploading code in libsecondlife.Utilities.AssetManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1186 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-14 04:15:00 +00:00
John Hurliman
106b482faa * Lots more work on baking
* Fixed TestClient WearCommand (not heavily tested, subject to change)
* Removed System.Speech reference from TestClient project
* Textures.cs is going to eventually be replaced by TextureEntry.cs which is a lot more efficient, once it is working
* Added some Helper methods to prepare for the new TextureEntry replacement
* Bringing libsecondlife.Tests up to speed again
* New OpenJPEGNet function for generating baked textures
* Formatting cleanup in OpenJPEGNet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1183 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 01:42:28 +00:00
bushing
6d289162a8 more eol-style fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1161 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 20:54:02 +00:00
baned
eabfde13f3 * Fixed all the obsolete warnings in the rest of the projects for the login changes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1151 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:00:09 +00:00
John Hurliman
6e7af40682 * Fixed a crash when attempting to teleport with CAPS disabled
* The meaning of Settings.ALWAYS_DECODE_OBJECTS has changed slightly, agent updates are now always decoded regardless of this setting. Clients that are not doing object tracking and have this set to false should see less memory usage
* NameValue is now a struct
* LLObject.NameValues is now an array to help with performance and serialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1135 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-20 16:03:24 +00:00
John Hurliman
f5b7f702f3 * Settings.ENABLE_CAPS = false; will disable any connection attempts to CAPS servers
* Added Utilities.ParcelDownloader.GetHeightRange() and Utilities.ParcelDownloader.GetRectangularDeviation() for gathering parcel statistics
* Added more output to ParcelInfoCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1134 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-19 02:59:35 +00:00
John Hurliman
df3990e074 * Fixed a bug in Terrain.TerrainHeightAtPoint() for the top-left edges
* Added Utilities.ParcelDownloader.GetWaterType()
* Added the start parameter to Utilities.PersistentLogin()
* Simplified the Heightmap example
* Optimized the TestClient throttle
* ParcelInfoCommand prints out whether each parcel is underwater/waterfront/dry
* Added RegionInfoCommand to print out current region info
* Added Self.Status.UpdateFromHeading() to send an AgentUpdate packet from a rotation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1132 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 08:18:32 +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
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
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
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
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