Commit Graph

34 Commits

Author SHA1 Message Date
Jim Radford
60363eee77 Fixes DateTimeToUnixTime to use passed parameter #114 Thanks A_Biondi
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1624 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-15 20:08:26 +00:00
John Hurliman
adae01ab87 Big cleanup of Types.cs that avoids initializing duplicate copies of structs and comes closer to a uniform naming convention
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1565 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-25 02:37:35 +00:00
John Hurliman
3398bac07d * Make sure "Expect: 100-Continue" is disabled for all CAPS requests
* Reverted a non-working optimization to Helpers.UnixTimeToDateTime()
* Added ToString() overrides for LLSD elements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1536 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 17:55:04 +00:00
John Hurliman
c66b52e7a8 * Partial rewrite of LLObject to properly pack and unpack parameters
* Added the LLVector2 type
* Added some missing error handling to CapsClient
* Added an arithmetic rounding function and two Lerp() functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1523 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-18 19:23:46 +00:00
John Hurliman
11c97db85c Patch from issue #42 by jradford, cleans up parcel tracking and adds Simulator.IsParcelMapFull(). ParcelManager.RequestAllSimParcels() is non-blocking now, and the callback check is done in ParcelPropertiesHandler to fix a race condition
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1513 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 03:59:21 +00:00
John Hurliman
ac602982fb * Fixed an infinite loop bug in Helpers.FloatToTerseString
* Added XmlLLSD unit tests from issue #37 by cadroe (all pass)
* Converted notation deserialization to use the new LLSD object
* Fixed the Type unit tests to pass

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1512 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 03:42:34 +00:00
John Hurliman
3db394f974 * Added CloneCommand to TestClient for cloning appearances (no attachments yet)
* avatar_data output directory is libsl_data
* Added a blocking DirectoryManager.PeopleSearch
* Fixed Helpers.GetResourceStream()
* Added avatar_lad.xml to the Resources directory

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1510 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 23:19:05 +00:00
jef
2762ce08be Applies patch #40 from jradford.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1508 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 14:55:45 +00:00
John Hurliman
ba153c9749 * Removed LLUUID.ToStringHyphenated(), LLUUID.ToString() has hyphens now
* Fixed a CAPS crash when the callback was triggered with a null LLSD object
* Fixed TextureEntry bugs, added support for the new glow parameter
* Prim import and export are working now, but need rigorous testing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1507 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 13:15:31 +00:00
John Hurliman
36995b7726 * Added AgentManager.OnMeanCollision
* More work on import/export with LLSD, exporting prims is working again along with exporting single packets (such as ExportOutfitCommand)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1506 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 03:55:08 +00:00
Latif Khalifa
fb3c459016 * Added Helpers.StateToAttachmentPoint() that converts a prim.Data.State to the AttachmentPoint enum
* Created an Appearance folder for TestClient commands, put the new AttachmentsCommand in it which shows all of the current agent attachments
* Moved the ObjectManager enums out to the libsecondlife namespace
* Change LLObject.ObjectData.State from a uint to a byte (as it should be)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1505 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 00:25:08 +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
jedediah
267b62162e * fixes to Image class
* fixes to TGA loader
* fix GetResourceStream not falling through to file load
* removed superfluous warning from BackupCommand
* fix openjpeg-libsl.dll compiled incorrectly


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1401 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-13 07:05:16 +00:00
John Hurliman
b995eaf53c * Added LLMatrix3 struct
* Cleaned up Types.cs, moved type-specific math from Helpers to the individual types
* Added more functions to CoordinateFrame
* Added Helpers.Swap<>() and Helpers.IsFinite()
* Added agni and aditi constants to Settings

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1386 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-02 04:45:12 +00:00
John Hurliman
975637b2a1 * Switched LLObject to using the Permissions struct
* Added CoordinateFrame class for camera management
* Added NetworkManager.OnSimConnecting that blocks before connecting to a new sim
* CurrentSim no longer goes null in between teleports
* Applied jradford's patch to fix the DeedObject patch
* UDP socket Bind() is used instead of Connect() now and sender verification is done in PacketReceived() to fix an apparent compatibility problem
* Added Helpers.VecCross() for vector cross products
* TextureEntryFace and TextureEntry now implement ICloneable

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1384 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-01 07:52:55 +00:00
John Hurliman
c2cb525246 * Switched to the new TextureEntry class, should not be a breaking change but please test!
* Fixed a bug in TextureEntry offset parsing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1374 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-25 22:08:27 +00:00
John Hurliman
d46dd96eee * Added Settings.OBJECT_TRACKING to enable or disable internal object tracking, enabled by default
* Added a Helpers.VecDist() overload that works with LLVector3d
* Added Self.GlobalPosition property
* Removed the dead libslupdater app

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1370 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-23 17:41:57 +00:00
John Hurliman
47f8a88162 * Moved all simulator statistic information to a new struct at Simulator.Stats
* Added per-sim avatar and prim tracking through Simulator.Objects, use Settings.ALWAYS_DECODE_OBJECTS = true to enable
* Handle DisconnectSim packet and don't send CloseCircuit packets on sim-triggered disconnects
* Interpolation timer now does angular velocity and linear movement interpolation for all objects in the object tracker(s)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1363 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 09:26:21 +00:00
jedediah
0983fc462a fixed incorrect descriptions for FieldToUTF8String and StringToField
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1351 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-06 06:44:49 +00:00
John Hurliman
0479529fcd Made Helpers.GetResourceStream intelligent. It will first try to load an embedded resource, then an external file, then return null if both failed (no more exceptions thrown from that function)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1338 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-31 09:25:24 +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
0101cd5ffb * Added FriendManager.cs
* Added Client.Friends.RequestFriendship(targetID) and .RemoveFriend(targetID)
* Updated all existing 2006 copyrights to 2006-2007

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1207 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-28 17:22:14 +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
John Hurliman
3586d8af75 * Fixes for the new login system (official support for third party clients at login, no more faking version numbers!)
* Proper parsing of compressed object updates and texture entries after the latest protocol changes. By proper I mean I haven't tested that it gets correct values at all

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1144 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-25 23:18:44 +00:00
John Hurliman
cd51c94703 MD5Builder is now locked to make Helpers.MD5() thread-safe
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1136 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-20 20:45:33 +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
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
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
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
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
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