Commit Graph

36 Commits

Author SHA1 Message Date
John Hurliman
33bb5e06b9 Changed the example code to properly use the automatic AgentThrottle (throttle values need to be set before the client logs in)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1013 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 23:57:36 +00:00
John Hurliman
7fce4b984a * Asynchronous CAPS requests, quicker logins and logouts
* BakeLayer constructor takes a dictionary of parameter IDs and values
* Fixed naming inconsistency with events in NetworkManager, SimDisconnectCallback and DisconnectCallback became SimDisconnectedCallback and DisconnectedCallback
* Removed the AnimationSample example from svn, code examples should become TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1002 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 18:13:42 +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
c17074a645 primexport:
* Supports libprims and prim.blender output formats now
* Less noisy output, doesn't warn about missing parent prims for attachments
libsecondlife:
* Cleaned up the AgentThrottle class, it's now accessible through SecondLife.Throttle
* Fixed PrimObject null members
* Fixed PrimFlexibleData invalid XML
* Fixed invalid TextureAnimation XML
* Speckled documentation here and there

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@632 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 20:25:02 +00:00
Latif Khalifa
814db8ff45 * Changed Packet.BuildPacket to take an existing byte buffer for zerodecoding packets to avoid initializing a new buffer every packet. Added one zerobuffer per simulator to NetworkManager
* Cleaned up sldump slightly, added a "seconds to run" option to the command-line
* Cleaned up the AgentThrottle class, renamed variables to proper casing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@611 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-21 15:24:17 +00:00
bushing
7fd738ed94 Added full AgentThrottle support
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@585 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-14 16:03:06 +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
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
lancej
a303308532 * ProtocolManager.cs now generates the keyword ordering from message_template.msg by hashing the keywords. This should remove the need for keywords.txt.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@427 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 20:22:54 +00:00
John Hurliman
59edffffe7 Converted libsecondlife to .NET 2.0, using generic containers exclusively
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@362 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 05:53:58 +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
John Hurliman
25834b70bb * Added a 9 parameter DefaultLogin Values, weaning the example apps off of passing in a version number
* Fixed several SimulatorsMutex hacks now that the root issue is resolved
* Teleport example will let you know if you try to teleport to the local sim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@350 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-20 19:42:09 +00:00
John Hurliman
d9dc4edd44 * Fixed the ToString() output for packets with byte array fields
* Implemented and tested the OnBalanceUpdated event
* Created a SendInitialPackets() function and commented our current knowledge of the login packets
* CurrentRegion.Handle is now set at login
* Moved the README.Mono file to README.txt and added a bit more information
* Fixed the sldump example to use the 1,50,50,50 version number
* Generated an updated _Packets_.cs file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@319 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-17 08:21:37 +00:00
John Hurliman
b01ad186b2 Fixed the naming scheme of some of the delegates to be uniform with the rest of the code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@284 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-15 23:54:14 +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
John Hurliman
577f4f6c1a Upgrading all the project files, updating keywords.txt/message_template.msg, removing unused files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@231 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-30 00:19:01 +00:00
John Hurliman
272cd95d6f Converting to the new decrypted message_template.msg file shipped with Second Life, and some primexport fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@201 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-18 10:01:05 +00:00
bushing
d210711757 merged all example build files into example.build
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@199 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 21:30:22 +00:00
bushing
828f0ffa57 added preliminary nAnt build support
(not all rules have been created -- I didn't do all of the applications
-- and the ones I did do could probably be cleaned up.  Still, you can
run "nant package" from the top-of-tree and end up with a binary
.zip archive about a minute later.)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@196 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 10:19:18 +00:00
John Hurliman
cf22407674 Removed the Circuit class and replaced it with the Simulator class
* Region information is linked to simulators and track per sim
* Region information can be gleaned in callbacks now
* Parcel overlay handling is also done per sim
* Packets should be sent to the proper sim now
* Zerodecoding and appended ACK handling hopefully play nicely together
* Login timeout has been simplified, Simulator uses no timers
* Disconnect (from a sim) is currently broken at the NetworkManager level
* Periodic ACK sending and ACK appending is currently disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@90 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-26 05:34:48 +00:00
axial
743c46a241 SLProxy: fixed handling of zerocoded packets (fixes goto 4)
SLProxy: using a variant of Packet.Blocks that zeroes outs fields after a goto 5 rather than stopping
libsl/Packet: improved error reporting in Packet.Blocks
libsl/examples: updated client versions (I needed something to test the patch with!)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@86 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 16:17:41 +00:00
John Hurliman
1f1cb1b7e3 Removed the rest of the 2005 project files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@53 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:48:10 +00:00
John Hurliman
746fc39dd6 Added MSVC.NET 2005 and SharpDevelop compatible project files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@50 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-12 03:48:38 +00:00
John Hurliman
6f5afe3eba * New callback registration system, updated the library and examples to reflect changes
* Fixes in BuildPacket for typecasting
* 255 character limit fix in BuildPacket

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@48 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-11 18:42:58 +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
7f437fde10 * Set the version numbers in the example programs to versions in the future
* New protocol.txt and keywords.txt for the new release
* sldump does string dumps and hex dumps of non-ASCII byte arrays

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@35 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-28 19:29:33 +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
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
1f322a770a Cleanup after the xml-rpc change, updated example programs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@26 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 20:58:17 +00:00
John Hurliman
4dd2c1a523 * Fixed some small bugs in ProtocolManager.DecodeMapFile() and the example in sldump
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@24 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 18:35:42 +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
9c32a490a0 * Internal callback mechanism, user callback hashtable is now UserCallbacks
* Moved some of the packet receiving logic in to internal callbacks
* Fixed HORRIBLE threading race condition with Circuit.Buffer[]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@22 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-13 07:15:38 +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