Commit Graph

59 Commits

Author SHA1 Message Date
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
ee4c9fffe1 * Thoroughly reworked and tested the teleporting functions
* Added TeleportFlags and TeleportLureFlags enums
* Killed some noisy debugging from ObjectManager and replaced with a FIXME plea

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@955 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-06 08:30:25 +00:00
18a5f43acf Added a very liberal llVector3.Parse() and .TryParse().
If you feed it 3 numbers with any combinations of arrow brackets, commas or spaces, you should get a vector.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@921 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 03:41:37 +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
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
5a640603e5 * Fixed the double initialization of LLUUID data
* VisualParamGenerator outputs a dictionary instead of an array now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@886 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:30:43 +00:00
John Hurliman
f42ff6bfa8 Compile fix
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@881 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 03:44:00 +00:00
John Hurliman
aeb7264139 Renamed the string parsing function of LLUUID to StringToBytes()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@880 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 03:41:49 +00:00
Michael Cortez
77d4a97102 Add LLUUID.Parse() and LLUUID.TryParse()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@879 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 03:32:46 +00:00
John Hurliman
c7732280ae * Cleaned up the Logout code (it works for me now)
* Added the skeleton for the ViewerEffect system and implemented the PointAt effect
* Fixed a critical bug when region handle was not being set for the current Region
* Added the LLColor type, a four byte value made up of R,G,B,A
* Tweaked the Settings values for login and logout
* Switched ImageTool.exe to use libsecondlife.Utilities.ImageManager so that it works (switch it back to the main system when it works again)
* Fixed the build patch in a couple project files

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@845 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-14 21:21:05 +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
Michael Cortez
8ac8c105b4 Added a copy constructor to promote a LLVector3 to a LLVector3d, and added GetDistanceTo() methods.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@807 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-06 10:35:36 +00:00
lancej
d109dcc1f8 * ImportCommand now creates prims.
* Added SetTextures, SetLight, SetFlexible functions to ObjectManager.
* Added XML defaults to ParticleSystem and TextureAnimation.
* Fixed an XML default for LLQuaternion.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@698 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-09 07:55:46 +00:00
lonecoder
d7931495d7 Fixed Prim Deserialization. The problem was with LLUUID.ReadXml not moving the reader position up, so anything read after that would be corrupt.
Changed vector types to structs.  LLUUID should probably be changed to a struct as well.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@694 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-08 09:06:13 +00:00
John Hurliman
2b77d66de9 Upgraded to the latest version of XmlRpcCS, and removed a lot of the fancy XML serialization stuff to try and make it work
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@684 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 23:28:59 +00:00
John Hurliman
3dbdbec13b * Added more documentation to Types.cs
* Renamed LLUUID.GenerateUUID() to LLUUID.Random()
* Optimized the type classes hashing functions
* Fixed a bug where source packet data would be modified on big endian platforms when creating type classes
* Normalized the ToString() output of the type classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@677 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-04 00:19:58 +00:00
John Hurliman
7db025d58c XML export attacks for MASSIVE DAMAGE! Cleaned up the output further, PCode is no longer serialized, and linksets are now supported
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@666 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-01 00:28:53 +00:00
John Hurliman
95adb23b09 PrimObject.ToXml() outputs cleaner XML that is capable of being imported and accurately recreates the exported object (in theory)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@664 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 21:13:06 +00:00
John Hurliman
ed6b88a017 libsecondlife:
* Added a SerializableDictionary class, implements a generic Dictionary<,> that can be serialized to xml
* Added all possible values for ObjectFlags to allow serializing
* Added a few initial xml serialization attributes to prim-related classes and structures
* Created ToXml() and FromXml() functions for PrimObject
TestClient:
* ExportCommand exports a single prim to an xml file
* quit and login commands now work when no avatars are logged in

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@662 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 03:35:36 +00:00
John Hurliman
1fb53c4778 Removed all the manual GetXml() and FromXml() routines so we can use the .NET framework for (de)serialization instead
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@657 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:05:19 +00:00
John Hurliman
7ea0e0e5c2 * Added GetXml() functions for several of the data types and most all of the prim-related classes
* Added a few FromXml() skeletons with FIXME notes
* Teleport example checks the current region name against "" instead of null (we need a callback here)
* Got rid of an SLProxy warning with an empty set of brackets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@631 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 14:07:29 +00:00
John Hurliman
3ced78e8ff CopyBot:
* More aggressive AgentUpdate timer
* Workaround hack for prims appearing in the wrong position for other clients
* Fixed ViewerEffect handling to copy over multiple Effect blocks, and never send ViewerEffect packets with no blocks (which will crash the sim)
* CopyBot will rotate to face the original avatar (kind of, needs refining)
libsecondlife:
* Added an enum for AttachmentPoint
* Couple additional sanity checks for null simulators after disconnecting
* Can build a quaternion from normalized X/Y/Z only now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@569 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-12 11:33:42 +00:00
John Hurliman
056492f394 * Fixes for some of the type class comparison operators
* More unit tests
* Fixed water height in sceneviewer and brought it up to speed with the latest libsecondlife API

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@553 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-10 14:50:00 +00:00
John Hurliman
01f6fbee1c * Much improved UpdateCamera() function
* Vector x Quaternion override in LLVector3
* Added a test case to make sure the avatar isn't blind

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@546 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 23:21:38 +00:00
John Hurliman
d54bbd9232 * Moved all the delegates and enumerations I could find inside of parent classes, part of a major cleanup
* Reverted the PathTaper / PathScale code
* Added small bits of xmldoc here and there, trying to clean up now that we have auto-generating docs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@542 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 10:18:03 +00:00
lancej
c1ef1084fd * Fixed LLQuaternion multiplication.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@532 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-08 02:57:21 +00:00
John Hurliman
1a4e5b8b1a Fixed a typo, renamed LLQuaternion.Unit to LLQuaternion.Identity
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@530 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 23:48:27 +00:00
John Hurliman
28ecfa5976 Updated the entire library (where appropriate) to use LLUUID.Zero, LLVector*.Zero, and LLQuaternion.Unit instead of creating new instances of the class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@528 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 23:30:09 +00:00
John Hurliman
6df78bd4f8 No more PCode 143 noise
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@514 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 00:06:28 +00:00
John Hurliman
1463df36dd * Added addition overload to LLVector3
* Added multiplication overload to LLQuaternion
* Basic tree/foliage detection in ObjectManager
* Updated primexport to bring it up to speed with sceneviewer
* Implemented the logging callback in SecondLife, and added LogLevel.Debug

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@467 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 12:40:44 +00:00
John Hurliman
e27df4da69 * Fixed a couple bugs in GridManager and improved it slightly
* Teleport example is more reliable and works in all cases now, due to a lot of hairy ugly code being added to it
* LLUUID constructor throws an exception on incorrect string lengths now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@404 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-27 09:22:48 +00:00
John Hurliman
c8b892a19b Removed a line from groupmanager setting the value of a label that doesn't exist. Typecasted the XORing operation in the LLUUID overload back to a byte. Added libjaspernet to the MSVC solution and updated the reference in groupmanager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@400 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-26 07:29:16 +00:00
John Hurliman
5f1a5d9def Committed the Operator overload ^ for LLUUID patch (why do we need this again?)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@398 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-26 06:20:18 +00:00
bushing
4fa67d3b35 svn:eol-style native is your friend
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@360 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:52:28 +00:00
Adam Frisby
5804b5f7c7 Updates to Parcel Support, GridManager now has functions to cache estate sims (for teleporting), LLVector3 types now have a - operator overload.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@329 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-18 09:15:03 +00:00
bushing
2c9080561c It's Party Time\! (r213:HEAD)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@279 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-14 05:13:39 +00:00
bushing
99755861ae In this edition of new stuff for libsl we have:
* Prelininary estate tool support
		- Kick User
		- Ban User
		- Unban User
		- Teleport user Home
	
	* EstateTools class in Region
		Client.CurrentRegion.Estate

	* .ToStringHyphenated() on LLUUID
		Returns a LSL-compatible / SL-compatible
		string translation of a UUID.

Please note. If coding additional estate tools in, the
EstateOwnerMessage sub-protocol is finnicky. If something
isnt working, try swapping the order around of parameters.

Enjoy.
-Adam



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@165 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-16 08:51:25 +00:00
Michael Cortez
3bbd85d455 Actually, don't need to add a cast, just remove some parens... wacky wacky...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@146 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 19:34:33 +00:00
John Hurliman
6f73a952ad Should follow my own advice. Added a missing parentheses and another typecast that MSVC required
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@145 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 19:03:53 +00:00
John Hurliman
6d90b0fb3c Ben, test compile your code before committing (added a missing semi-colon)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@144 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 18:51:57 +00:00
bushing
e40f8f0567 fixed some bugs in DataConvert. (Don't worry, none of
those member functions are used by anything else ... yet...)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@143 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 11:34:41 +00:00
axial
dff16d1c10 Partially backing out r120 "endian patch to Types.cs -- created helper functions" (bushing).
Breaks something.  Repro:  using SLProxy, only your starting region is accessible.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@124 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 12:01:01 +00:00
bushing
189135cc0b Manually applied patch from https://gna.org/patch/download.php?file_id=1094 (get rid of try / catch blocks in Types.h)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@122 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 10:08:23 +00:00
bushing
085dc8c6fb endian patch to Types.cs -- created helper functions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@120 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-05 10:28:28 +00:00
John Hurliman
3113698d05 Committed patches #571, #572, #573. Fixes for big endian platforms and IPADDR/IPPORT fields
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@75 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-24 06:21:58 +00:00
John Hurliman
298a866428 * Checks for PacketAck first when decoding low priority packets, huge speed gain
* Network system uses eight revolving buffers instead of just one
* Bugfix to correctly parse appended ACKs
* ACKs are no longer queued, they are sent out whenever one is ready to send

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@67 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-19 09:00:59 +00:00
John Hurliman
53a2cfdfd8 * Sanity check for ObjectAdd
* Renamed and attempted to fix the Say/Shout functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@64 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-18 02:54:13 +00:00
John Hurliman
0b101e6157 Syncing my source tree to svn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@54 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:49:40 +00:00
John Hurliman
56e55a0798 * Moved packet helpers in to a separate directory, a separate namespace, and separate categories. Updated the rest of the library and name2key to reflect the changes
* Added Inventory class skeleton
* Added UpdateInventoryItem packet helper
* Removed CRC proof of concept from sldump
* Numerous miscellaneous updates (sorry!)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@46 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-09 22:18:58 +00:00
John Hurliman
b4accdddfc * Added JSON library to parse LLSD fields in the login reply
* Added fields in Avatar to hold the parsed data from login
* CoarseLocationUpdate packets handled internally
* Added Network.LoginValues hashtable, removed second parameter from .Login()
* Updated examples to reflect LoginValues / Login() change

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@39 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-01 03:42:53 +00:00