Commit Graph

53 Commits

Author SHA1 Message Date
John Hurliman
6442eb9fbd * Changed the InstantMessageCallback to use enums instead of bytes
* Fixed several inconsistencies and missing values in the InstantMessageDialog enum
* Consolidated the InstantMessage overrides down to four functions, made the IM behavior closer to the actual client in some cases
* Better handling of CAPS errors on logout
* Added ClickObject
* Fixed incorrect flags setting in Parcel.Update()
* Converted Primitive.ClickAction to an enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@990 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:41:12 +00:00
John Hurliman
8806e9174c Implemented NameValue parsing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@938 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-01 18:29:40 +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
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
d491d5cc8c Fixed the ObjectFlags enum to inherit from a uint, and attempting to bring the monodevelop project files up to speed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@830 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 09:57:39 +00:00
John Hurliman
1bc0fc5f5a Updating some more enums, ObjectFlags is complete and there is a (currently unused) WearableType in AppearanceManager now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@829 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 09:47:45 +00:00
John Hurliman
bd632a0584 Applied JesseMalt's patch for requesting object properties (name, owner, permissions, etc)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@703 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-10 11:27:28 +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
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
otakup0pe
dde0d8ca21 Slowly chipping away at documentation.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@668 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 01:59:09 +00:00
John Hurliman
fa19b0cf8d * Added ImpotCommand and IMCommand to TestClient (neither are working yet)
* Added documentation to TextureEntry and renamed SetFace() to CreateFace()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@667 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-01 23:32:12 +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
lonecoder
b81cb88b39 Added RegionsByHandle dictionary to GridManager
Added RegionHandle field and GridRegion property to PrimObject


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@660 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:30:06 +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
3d8e7fd39c Initial skeleton of the FromXml() function for PrimObject
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@643 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 01:38:13 +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
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
b467febfde All the PrimObject unit tests succeed now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@579 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:53:01 +00:00
John Hurliman
d73699c7db * Unit tests for PrimObject byte and float conversion functions (most of them are broken right now)
* Removed the RezObject function which has been replaced by AddPrim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@577 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:36:43 +00:00
lancej
93b309d61f * Fixed PathEndByte
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@576 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:09:28 +00:00
John Hurliman
3c949b36b6 Added a partially complete PrimObject.ToString() to help with debugging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@575 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 09:56:13 +00:00
John Hurliman
8b0952ccfc * AddTree and AddGrass methods
* Added default constructors for more of the prim parameter classes and initialize them in the default prim constructor. Should reduce null reference issues
* TextureEntry.ToBytes() correctly handles null DefaultTexture

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@572 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 05:36:52 +00:00
John Hurliman
4274589e15 Attempting to fix PathSkew and PathTaper float methods
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@563 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-11 22:54:43 +00:00
lancej
0fcb2e3b72 * Added handling of UpdateFlags.
* Added functions AddPrim, LinkPrims, SetPermissions to ObjectManager.
* Implemented ToBytes for TextureEntry.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@550 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-10 09:50:54 +00:00
John Hurliman
b4e8f38b69 More prim bugfixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@544 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 11:44:25 +00:00
John Hurliman
ed52ef559b Fixed several serious bugs in Prims.cs (hopefully)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@543 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 11:21:44 +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
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
f6c570b39c Sceneviewer:
* Enabled prim rendering (oops)
* Added linear taper support
* Slowed down the FPS counter, and disabled it by default. Press '2' to enable/disable it
libsecondlife:
* Improved the accuracy of PrimObject quantize/dequantize functions
* Switched PrimObject.Taper* to use PathScale* instead of the deprecated PathTaper*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@506 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 09:18:14 +00:00
John Hurliman
d140c9dd53 Changed some of the prim functions to return sbyte instead of byte
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@478 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 23:17:05 +00:00
John Hurliman
155683f1c1 * Added RezObject back in
* Removed avatar tracking from ObjectManager
* Added the PCode enum to PrimObject

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@476 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 22:42:36 +00:00
lancej
350e26a9d4 * Added initial decoding of particle system data. Not yet fully functional.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@462 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 21:02:31 +00:00
lancej
e9e9a66437 * Added textures for the Avatar class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@459 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 19:46:21 +00:00
lancej
9ed8e9c3ab * Added decoding of flexible and light data for prims.
* Added another unknown field in CompressedUpdateHandler.
* Reorganized some code in Textures.cs and CompressedUpdateHandler.  CompressedUpdateHandler now dumps data blocks that it fails to decode for easier debugging.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@457 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 08:31:26 +00:00
John Hurliman
ead5a71f34 PrimObject and TextureEntry require a reference to SecondLife now for logging purposes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@424 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 08:50:05 +00:00
John Hurliman
0c167bce95 Cleaning up after someone (don't commit random MSVC trash to svn!) and adding some new sceneviewer code (not functional yet)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@423 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 08:44:03 +00:00
lancej
e9b47e2f83 Added TextureEntry support and added stuff to CompressedUpdateHandler.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@405 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-27 10:40:04 +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
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
f08e7191dc NetworkManager:
* OnSimDisconnected and OnDisconnected events added
* The Disconnect function is working
* Shutdown() was added to kill the network layer
* Added documentation for the Packet class
* Added a TickCount to Packet for tracking ACK timeouts
* Added a LastReceivedTime to Simulator for tracking disconnects
* Optimized the NeedAck hashtable
* Fixed a potential deadlock during Logout and removed a dodgy goto statement
* Removed the try/catch from Logout to catch bugs
* Added a not-logged-in catch in Logout
* Removed the 1-second sleep from Logout
* Connect returns the connected Simulator object or null now

ObjectManager:
* OnAvatarMoved and OnPrimMoved events are fired now

Prims:
* Minor function clarifications

Avatar:
* Uses the new Connect function for teleporting

Packet:
* Added documentation
* HeaderLength is private now
* Removed the Field() function
* Miscellaneous cleanups

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@195 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 03:03:31 +00:00
John Hurliman
fb49f35d18 Fixed some of the dequantization functions, multi-object support in ObjectUpdate decoding, commented out a debug line
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@188 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 09:06:05 +00:00
John Hurliman
ba681fa6f0 Finished the ObjectUpdate field dequantizing, the properties will be usable floats that match up with the SL UI now.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@177 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 04:37:10 +00:00
John Hurliman
c746b12bbf OnNewAvatar and OnNewPrim are "done"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@176 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 16:48:46 +00:00
John Hurliman
3b729fb028 Some progress on the ObjectManager, ImprovedTerseObjectUpdate is parsed now and ObjectUpdate is mostly parsed, the delegates still need to be finalized and called
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@175 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 08:10:43 +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