Commit Graph

40 Commits

Author SHA1 Message Date
Jim Radford
b73d823076 Backing out previous commit, wrong working copy commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1642 52acb1d6-8a22-11de-b505-999d5b087335
2008-02-13 19:33:37 +00:00
Jim Radford
fb409ac403 applies patch from root66,
* Adds new parcelmanager method to eject/ban a user on a parcel
* Adds new parcelmanager method to freeze an avatar on a parcel.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1641 52acb1d6-8a22-11de-b505-999d5b087335
2008-02-13 18:49:28 +00:00
Jim Radford
c680056301 * Remove deprecated ObjectTracker Class (ObjectTracker uses two InternalDictionaries in Simulator.cs now)
* Add full documentation to SecondLife Class
* Add full documentation to ParticleSystem Class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1610 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-08 23:58:26 +00:00
John Hurliman
c04f2d94e6 Removed XML-RPC binaries from SVN since they are no longer used
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1592 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-04 03:51:05 +00:00
John Hurliman
c929b1d948 Applying patch #83 from jradford, renames SafeDictionary to InternalDictionary, removes the now unused ObjectTracker class, and converts FriendsManager to use InternalDictionary
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1589 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-03 21:55:49 +00:00
John Hurliman
63c8706f82 Switching over the new CAPS event queue client, removing the last deprecated piece of CAPS code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1544 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 06:02:00 +00:00
John Hurliman
037b7b0aed Initial check-in of the new CAPS rewrite. Current issues:
* Original CapsEventQueue is still being used until a bug in the new one can be resolved
* New progress callbacks are not being utilized (yet)
* Listener classes (CapsListener and EventQueueListener) are only stubs right now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1518 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-06 00:58:28 +00:00
John Hurliman
3db394f974 * Added CloneCommand to TestClient for cloning appearances (no attachments yet)
* avatar_data output directory is libsl_data
* Added a blocking DirectoryManager.PeopleSearch
* Fixed Helpers.GetResourceStream()
* Added avatar_lad.xml to the Resources directory

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1510 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 23:19:05 +00:00
John Hurliman
2848d46744 * Added the SafeDictionary class, a generic implementation of the object tracker dictionary. This should be used any time an externally exposed dictionary is desired
* Added Client.Self.SignaledAnimations that holds the current agent animations, uses the new SafeDictionary
* Added Client.Self.OnAnimationsChanged, triggered whenever the agent animation state changes. You can compare the values against animations in the Animations class to test for states like walking, running, falling, etc.
* Fixed the jump command, added crouch and fly commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1501 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-29 01:28:41 +00:00
John Hurliman
3013742668 * Increased SIMULATOR_TIMEOUT to 30 seconds
* Converted all timers to System.Threading timers to fix problems running in services and the CF
* UDPBase now uses our own ReaderWriterLock that is more efficient, and CF compatible
* Login uses a hand-created LoginProxy object instead of dynamically building the class with reflection .Emit()
* Replaced ParameterizedThreadStart calls with class-wide variables for CF compat.
* Removed transfer timeout code (irrelevant now that uploads go through CAPS)
* Added several new Helpers methods to wrap desktop and CF conditional code
* Replaced Monitor calls with AutoResetEvent in BlockingQueue
* InventoryNodeDictionary uses generics now
* Removed final lingering piece of XML serialization
* Added CookComputing.XmlRpc.CF.dll for the CF

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1479 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-06 09:26:10 +00:00
78548ecd7e Rolling back previous commit *grumble*
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1397 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 23:58:42 +00:00
ac5b21c8ba PROJECT FILE CHANGED!
Added LocationTracker.cs for tracking CoarseLocationUpdate information (mini-map dot positions). This information is accessible from the Simulator class, such as Client.Network.CurrentSim.CoarseLocations.*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1396 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 22:59:59 +00:00
John Hurliman
975637b2a1 * Switched LLObject to using the Permissions struct
* Added CoordinateFrame class for camera management
* Added NetworkManager.OnSimConnecting that blocks before connecting to a new sim
* CurrentSim no longer goes null in between teleports
* Applied jradford's patch to fix the DeedObject patch
* UDP socket Bind() is used instead of Connect() now and sender verification is done in PacketReceived() to fix an apparent compatibility problem
* Added Helpers.VecCross() for vector cross products
* TextureEntryFace and TextureEntry now implement ICloneable

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1384 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-01 07:52:55 +00:00
John Hurliman
c2cb525246 * Switched to the new TextureEntry class, should not be a breaking change but please test!
* Fixed a bug in TextureEntry offset parsing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1374 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-25 22:08:27 +00:00
jedediah
216441f0be * added support for asset wrappers to the AssetManager API (BREAKING CHANGE)
* added Image class, modified OpenJPEG to use it
* implemented AssetTexture (with Image class)
* reimplemented Wear* commands, refactored appearance code
* added bake flag parameter to appearance commands
* added InventoryItem subclasses for different item types
* added *FindObjectsByPath to InventoryManager
* added single item FetchInventory


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1373 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-25 09:36:33 +00:00
John Hurliman
47f8a88162 * Moved all simulator statistic information to a new struct at Simulator.Stats
* Added per-sim avatar and prim tracking through Simulator.Objects, use Settings.ALWAYS_DECODE_OBJECTS = true to enable
* Handle DisconnectSim packet and don't send CloseCircuit packets on sim-triggered disconnects
* Interpolation timer now does angular velocity and linear movement interpolation for all objects in the object tracker(s)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1363 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 09:26:21 +00:00
Latif Khalifa
ec5fc8de80 * Renamed AssetType.Object to AssetType.Primitive and AssetObject to AssetPrim to clear up confusion
* Big cleanup of group functions, moving things from MainAvatar to GroupManager, renaming BeginGet* to Request*, and adding new functions and callbacks
* Added an Autopilot function that takes doubles as input (very accurate autopilot)
* Added Settings.CONTINUOUS_AGENT_UPDATES which defaults to true
* Added quotes to the post-build event in VS2005
* Added empty AssetSound and AssetClothing, feel free to fill them in :-)
* Client.Self.*Name are read only properties now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1357 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 20:16:19 +00:00
b555674ad6 Changed $(SolutionDir) to $(ProjectDir) in VS post-build events
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1350 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-05 23:55:58 +00:00
John Hurliman
50adfa5675 * Added Capabilities.CapsReceivedEvent that signals after the initial CAPS connection is made
* Complete rewrite of event handling for packets and CAPS events
 - No more nested generic collections for events
 - No more for loops for every packet callback
 - CAPS event handlers by event name
 - Asynchronous CAPS event handlers
 - Unregistering of CAPS events
* Added a stub SoundManager
* Increased packet buffer size to 2048 after I got an exception about it being too small
* Continued work on VoiceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1347 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-04 14:31:31 +00:00
John Hurliman
a8567851d6 * Added HttpBase that serves as the foundation for the new CAPS system
* Rewrote CAPS to use HttpBase, connections now have 30 second timeouts and automatic retrying
* Implemented the static logging function in SecondLife
* Fixed a crash in the GotoLandmark command
* Removed some debug logging from FriendsManager
* Fixed an exception in libsecondlife.Utilities.GetWaterType()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1340 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-01 13:44:27 +00:00
John Hurliman
12828e64a8 * Removed the embedded resources from libsecondlife.dll and moved them to the external folder avatar_data
* Modified key2name example to not use libsecondlife.Utilities
* Made the Animations LLUUIDs readonly
* Removed AvatarTracker from libsecondlife.Utilities as it will be superceded by the built-in avatar tracker

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1339 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-31 10:29:38 +00:00
John Hurliman
9b3416ccb4 Added a static Animations class that holds constant LLUUID values for "built-in" SL animations
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1337 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-30 11:26:56 +00:00
John Hurliman
e2846e7c82 Switched login to use xml-rpc.net for great justice
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1320 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-18 23:41:48 +00:00
John Hurliman
479bcd38ab Moved openjpegnet assembly in to libsecondlife.dll, should make life slightly easier for distributing libsl software. Define NO_UNSAFE at compile time to disable OpenJPEGNet components
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1316 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-17 00:06:34 +00:00
John Hurliman
9796dbcfe9 * Replaced FriendManager with FriendsManager, a fully featured friends layer submitted by Rooster Rhode
* Cleaned up formatting in Login.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1312 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-16 21:30:00 +00:00
jedediah
ea0fc0bcb7 beginnings of asset wrapper system from CrisOmega
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1304 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-15 06:36:27 +00:00
Latif Khalifa
f462f44d23 *BREAKING CHANGES* Merging jhurliman branch with the trunk. The old AssetManager, ImageManager, and InventoryManager systems have been phased out and replaced by the new AssetManager and InventoryManager classes. The lowest network layer has been abstracted out and replaced, new networking callbacks added, and many small bugfixes made. AppearanceManager.Wear* commands have been commented out until they are ported to the new inventory system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1296 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-13 14:49:36 +00:00
jedediah
937f15ab6f This is a big merge of my work from the Pleiades internal repo.
Not yet tested on Linux or OSX!
Notable changes:
* AppearanceManager works much better though baking is only a placeholder
* Fixes to openjpeg/TGA code
* VisualParams class interface changed
* Some TestClient fixes
* Rest of TGA files added to Resources (they will eventually be used for baking)This is a big merge of my work from the Pleiades internal repo. Notable changes:
* AppearanceManager works much better though baking is only a placeholder
* Fixes to openjpeg/TGA code
* VisualParams class interface changed
* Some TestClient fixes
* Rest of TGA files added to Resources (they will eventually be used for baking)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1284 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-11 09:17:46 +00:00
John Hurliman
adfc241218 * Backporting all of the non-networking and non-inventory changes from the jhurliman branch
* The new asset and appearance managers sit alongside the old ones, so no code should break just yet although you might have to be more explicit with your namespaces
* Adding importprimscript to work in conjunction with qarl's Maya sculptie exporter
* Removing the IA_* examples, these should be remade in to TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1275 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-08 04:35:04 +00:00
0101cd5ffb * Added FriendManager.cs
* Added Client.Friends.RequestFriendship(targetID) and .RemoveFriend(targetID)
* Updated all existing 2006 copyrights to 2006-2007

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1207 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-28 17:22:14 +00:00
John Hurliman
106b482faa * Lots more work on baking
* Fixed TestClient WearCommand (not heavily tested, subject to change)
* Removed System.Speech reference from TestClient project
* Textures.cs is going to eventually be replaced by TextureEntry.cs which is a lot more efficient, once it is working
* Added some Helper methods to prepare for the new TextureEntry replacement
* Bringing libsecondlife.Tests up to speed again
* New OpenJPEGNet function for generating baked textures
* Formatting cleanup in OpenJPEGNet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1183 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 01:42:28 +00:00
jef
c404991f34 ID0000100 - I should get some kind of dual boot system going. Fixed courtesy of Morph Wollongong
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1180 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-08 02:25:53 +00:00
jef
3a1a12e604 *yoink*
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1170 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-03 00:16:39 +00:00
baned
71a36d3067 * Added a concept of a SecondUniverse that will be able to contain and manage resources that can be common between SecondLife clients in the same process
* Currently only does it's own PacketInbox processing, instead of depending on a packet processing thread in each client. Should probably be an option to do that or not, assuming anyone uses this or wants it and doesn't just revert it. kthxbai


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1169 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-02 23:58:32 +00:00
baned
8d99380b7d * Removed leftover .NET 1.1 configurations
* Fixed obsolete warning for Login SSL Cert Checking
* Hopefully fixed HttpWebRequests not always closing (bug where too many timeouts causes perpetual failure)
* Fixed debug login logging of loginresponse.xml to not have to be able to read it back, and to no expect success writing the log
* Fixed a crash for OnGroupChanged if the event isn't set. I'm surprised I wasn't yelled at for this yet.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1166 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-01 17:06:16 +00:00
John Hurliman
97e7190bac * Removed "bool md5pass" parameter from Login(), MD5 passwords are detected at runtime
* Implemented asynchronous logins. Look at sldump for example usage
* Added Network.DefaultLoginParams() to help with async login calls
* Added ThreadUtil for making asynchronous callbacks (need to switch it to use the ManagedThreadPool)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1123 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-15 04:59:44 +00:00
John Hurliman
81472d88f4 * Incoming packets are put on a queue instead of processing immediately
* Two new classes added, a ManagedThreadPool that is a performance enhanced ThreadPool, and BlockingQueue which is a thread-safe queue that allows one end to block until something is added to the queue
* Added Simulator.ReceivedResends for tracking the number of resent packets received
* Added StatsCommand to TestClient to print out basic networking stats

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1101 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-03 05:47:09 +00:00
John Hurliman
77a9c8bd23 * XmlRpcCS has been replaced with custom XML handling, all login code has been moved to Login.cs
* XmlRpcCS moved to SLProxy folder, since SLProxy still relies on it
* Client.Network.LoginError is now obsolete, replaced by Client.Network.LoginErrorKey and Client.Network.LoginMessage
* Client.Self now has StartLocation and AgentAccess strings after a successful Login
* Removed the null LLUUID check in _Packets_.cs since LLUUID will be a struct soon
* Fixed directories in mapgen.bat
* AgentThrottle class lives in AgentThrottle.cs now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1097 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-02 04:37:15 +00:00
John Hurliman
25438f1c85 * Implemented basic parser for the terse LLSD format used during Login
* Added a unit test for the new parser
* Removed JSON dependency in favor of the new terse LLSD parser
* Updated NAnt build files to remove JSON reference and point to libsecondlife (instead of libsecondlife-cs)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1086 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-30 14:14:35 +00:00
John Hurliman
1cb7f4c253 Huge svn cleanup!
* libsecondlife-cs is now libsecondlife
* All applications that are staying have been moved to trunk/
* SLProxy loads Analyst plugin by default if no other plugin is specified on the command line

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1068 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 23:12:39 +00:00