Commit Graph

49 Commits

Author SHA1 Message Date
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
John Hurliman
1a74510ac9 * Added Region class to track region information
* Parcel overlays are tracked per region
* New sim connections reuse the original circuit code
* Teleporting is functional

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@32 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-21 07:39:08 +00:00
John Hurliman
0c65934080 * Upped the login timeout from 8 seconds to 15
* BuildPacket is complete, currently using it for CompleteAgentMovement

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@30 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-17 02:18:30 +00:00
John Hurliman
4a9007b2d6 * Exception on logout should be fixed, still need more testing with multiple sim connections
* BuildPacket progress
* New LLUUID functions to generate random UUIDs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@29 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-16 22:11:20 +00:00
John Hurliman
8c93fea4a2 * Appended ACKs no longer overwrite packet data
* Basic teleporting support
* Fixed LLUUID comparison operators
* Added packet flags and sequence number output to sldump

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@27 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-15 21:42:41 +00:00
John Hurliman
82161a8518 * Using XmlRpcCS for login now
* Properly handle the Fixed field type in Packet.Blocks()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@25 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 20:50:09 +00:00
John Hurliman
a8ce4b327f * Added ProtocolManager.DecodeMapFile()
* Parcel and ParcelManager high-level classes
* Avatar high-level class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@23 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 18:27:19 +00:00
John Hurliman
a25be7e467 * Added name2key example program
* Basic Logout() function
* Proper functions for halting and closing Circuits
* Infinite bugfixes
* Threw a cert file in the bin directory in case anyone wants to make the SSL auth work properly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@21 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-12 01:47:53 +00:00
John Hurliman
b186f0312b Circuits should be functional enough for general use now. Some of the highlights include:
* Thread synchronization, mutexes on all shared lists
* Tracks outgoing reliable packets and incoming ACKs (PacketAcks and appended ACKs)
* Can send independent PacketAck datagrams or append ACKs to outgoing packets
* Simplified the Packet class to use a byte[] array for data instead of an ArrayList. Now requires a packet length during initialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@20 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-10 20:11:21 +00:00
John Hurliman
f31d44be06 Initial import of the C# fork
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@19 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-08 14:49:17 +00:00