Commit Graph

9 Commits

Author SHA1 Message Date
John Hurliman
f708c6284b * Fixed LLSDString.AsBoolean() to properly recognize false values
* Hardened up the login process to deal with broken login servers
* Fixed a command-line argument parsing bug in importprimscript

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1595 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-04 22:51:24 +00:00
John Hurliman
c7234457cc * Made the LLSDMap indexer operator safe, now returns an empty LLSD element if the key does not exist
* Added flex/light/sculpt data to prim import/export
* Added a sanity check for the LLColor(float,float,float,float) constructor in case someone tries to initialize it with non-normalized values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1548 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 21:09:58 +00:00
John Hurliman
9f8e97f13b * Removed the poorly done GetType function from _Packets_.cs
* Housecleaning in FriendsManager
* Make sure LLSDString is never holding a null pointer
* Changes to Login.cs to prepare for the LLSD switch (it is not happening yet!)
* Fixed LLSD export for prims to export light/flex/sculpt data as well, importing that back in is still a TODO

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1540 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 02:25:36 +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
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
8ab243d357 Patch from issue #36 by cadroe, URIs are now deserialized in XML LLSD
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1511 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 02:57:22 +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
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