Commit Graph

40 Commits

Author SHA1 Message Date
John Hurliman
c2728e392d Fixed a bug parsing byte fields in to hex dump strings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@989 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:15:43 +00:00
John Hurliman
539a4863fd Fixing broken XML comments all over the place
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@987 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-16 00:50:19 +00:00
John Hurliman
5b04888206 Big performance optimizations to FieldTo*String commands, removed FieldToFilteredString
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@940 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-02 00:45:08 +00:00
John Hurliman
769fc1e80a Fixed two decoding bugs with ObjectUpdateCompressed packets. If anyone feels like being awesome, add support for foliage decoding to ObjectUpdateCompressed!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@925 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 23:13:02 +00:00
John Hurliman
2a29dc70ee * Part two of the major object restructuring
* Fixed a bug with the LogoutTimer not dying
* Major surgery on how objects are decoded off the wire, handles more cases now
* Added support for lots more object and primitive parameters
* Added several new Helpers functions for converting bytes to values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@923 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 12:47:47 +00:00
2053ee5430 Helpers.cs: Added Axis2Rot(llVector3 axis) to convert axis rotations to quaternions.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@920 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 00:15:30 +00:00
John Hurliman
e7843229e9 * Refactored PrimObject and Avatar in to Primitive and Avatar that inherit from LLObject, major restructure
* Latest version of Utilities.Appearance
* Rolled ImageManager in to AssetManager in Utilities.Assets, plus bugfixes
* Added sanity checks to the AgentThrottle stream values
* Added a function to convert a ulong to an LLUUID (for a weird situation with the Xfer system)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@915 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:20:12 +00:00
b9c6d86c25 Helpers.cs: added RotMag for returning the magnitude of an LLQuaternion rotation, and const doubles DEG_TO_RAD and RAD_TO_DEG.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@914 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 21:31:15 +00:00
John Hurliman
76fdbc7f80 * Added an LLUUID.Combine() function
* Added NetworkManager.SecureSessionID
* Added a missing SendPacket function for raw payloads to non-current sims
* Documented a few things in NetworkManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@910 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-27 09:57:29 +00:00
John Hurliman
f477fde024 Fixed FloatsToTerseStrings and added a unit test proving it works
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@891 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-24 00:45:44 +00:00
John Hurliman
92f4a3ed8f Added UIntToHexString and FloatToTerseString (for creating wearable assets) to Helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@890 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-24 00:32:32 +00:00
John Hurliman
a63e6811d6 * Added FloatToByte and ByteToFloat helper methods
* Syncing my Utilities folder to fix svn (not everything is done yet)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@866 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-21 00:54:38 +00:00
John Hurliman
e96ec36440 Fixed a crash in the UTF8 string parser
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@865 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-20 09:38:36 +00:00
John Hurliman
b67c837838 * Added a big endian byte to uint converter
* More work on my asset manager
* Fixed the UTF8 string conversion
* Caps.Dead is an internal variable now
* Fixed endianness in the teleporting routine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@864 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-20 09:13:46 +00:00
John Hurliman
e60a803dce * Added a FieldToUTF8String method and converted some of the MainAvatar functions to use it as an experiment (needs testing!)
* Added try/catch blocks around the callbacks in ObjectManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@863 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 23:19:45 +00:00
John Hurliman
b5553ca92e * Updated to the proper message_template.msg and regenerated _Packets_.cs
* Added initial (untested) land searching support to DirectoryManager
* Completely refactored Parcel.cs, moved land directory searching and abstracted out parcel information downloading. Updated to the new protocol
* Added initial (untested) ParcelDownloader class to libsecondlife.Utilities
* Removed dangerous exposed generic lists and parcel downloading state tracking from Region
* Updated the Logout callback to the new protocol

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@859 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 13:15:12 +00:00
John Hurliman
c1963dac5a Merging aditi r853 to the trunk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@854 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 00:33:24 +00:00
John Hurliman
5843490762 Added BeamEffect and a helper function to convert an integer to bytes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@850 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-18 18:10:35 +00:00
otakup0pe
8d453803ec Cleaned up a few build warnings.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@825 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 07:19:44 +00:00
otakup0pe
e7d0512267 Cleaned up InstantMessageDialog enum
Added FieldToFilteredString to Helpers.cs and setup ChatHandler in MainAvatar.cs to make use of it. This is just a hack around lack of unicode support for now.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@821 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 06:42:15 +00:00
John Hurliman
f114e1f151 Initial check-in of DirectoryManager that will handle all directory searches. Classifieds are currently supported but untested
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@813 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-07 11:01:59 +00:00
John Hurliman
090eb2c066 * Changed most of the Console.WriteLine() calls to SecondLife.Log() or .DebugLog()
* Updated the TextureEntry creation to properly display jackets (shoes may still be missing, not sure)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@746 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-20 23:50:35 +00:00
John Hurliman
8eee09d5fe Fixed a zerodecoding bug introduced in r710
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@712 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 20:59:09 +00:00
John Hurliman
28670e09fe Added a Settings class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@711 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 12:46:58 +00:00
John Hurliman
d3bb2fe74f Fixed a zerodecoding bug with appended ACKs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@710 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 11:38:50 +00:00
John Hurliman
4881411127 * Helpers.StringToField() returns an empty byte array when given an empty string
* MediaUrl can be set with Objects.SetTextures() now
* TestClient no longer sets appearance at bot login, until the appearance code is more reliable
* Some ImportCommand improvements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@699 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-09 14:39:17 +00:00
John Hurliman
eca9395b39 Buffer size for zerodecoding increased, and appended ACKs are accounted for in ZeroDecode() now. More testing needed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@688 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-06 23:40:44 +00:00
John Hurliman
6f73835ea8 Removing code that set empty namespaces on the xml output, this may fix the List deserialization issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@681 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 02:28:59 +00:00
John Hurliman
6e51bfa54d Adding error catching to ZeroDecode and removed the padding hack that shouldn't be relevant any more. Moved SerializableDictionary in to the libsecondlife namespace
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@680 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 02:24:28 +00:00
otakup0pe
2a5d1750f4 Merged in patch from mindtriggerz.[ Patch #1680 ] Prim Serialization Junk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@676 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 20:00:34 +00:00
John Hurliman
50fc0db56f Packets are exported as a List with Helpers.PacketListToXml() now to make deserialization easier
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@675 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 01:50:00 +00:00
36e49e4506 Re-fixed RotBetween
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@636 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 20:13:34 +00:00
22ae68363d Fixed RotBetween (made it public)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@635 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 20:05:45 +00:00
e2269b98b1 Added Helpers.RotBetween(llVector3 a, llVector3 b) - Still needs more extensive testing to verify accuracy
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@634 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 19:07:41 +00:00
7a9e1be92c Fixed Helpers.VecNorm
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@633 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 04:05:09 +00:00
John Hurliman
12f256a1fe Moved the permissions enums to Helpers instead of ObjectManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@614 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-21 20:08:58 +00:00
98be4c1791 Added Helpers.VecMag(LLVector3 vector) and VecNorm(LLVector3 vector)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@605 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-20 03:16:08 +00:00
eba5c34ef4 Added VecDist(LLVector3 pointA, LLVector3 pointB)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@604 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-20 00:34:23 +00:00
Michael Cortez
4130b0f47b Fixed GetUnixTime so that it returns, Unix Time...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@537 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-08 20:59:21 +00:00
John Hurliman
c7179c17ac Separated Helpers in to it's own code file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@525 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 22:36:58 +00:00