Commit Graph

57 Commits

Author SHA1 Message Date
John Hurliman
b1b3d30aca Removed all usage of Timeout.Infinite, timers are now initialized when started and disposed when stopped to closer match the MSDN example
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1519 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-06 02:07:26 +00:00
John Hurliman
603d34a708 * Fixed multiple light parameter parsing bugs, added LightData.Intensity (resolving issue #45 by timhart)
* Removed the useless Avatar.Online variable
* Adding the beginnings of appearance and animation tracking for avatars
* Updated PrimInfo command to show light data

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1514 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 18:50:44 +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
ba153c9749 * Removed LLUUID.ToStringHyphenated(), LLUUID.ToString() has hyphens now
* Fixed a CAPS crash when the callback was triggered with a null LLSD object
* Fixed TextureEntry bugs, added support for the new glow parameter
* Prim import and export are working now, but need rigorous testing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1507 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 13:15:31 +00:00
John Hurliman
36995b7726 * Added AgentManager.OnMeanCollision
* More work on import/export with LLSD, exporting prims is working again along with exporting single packets (such as ExportOutfitCommand)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1506 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 03:55:08 +00:00
Latif Khalifa
fb3c459016 * Added Helpers.StateToAttachmentPoint() that converts a prim.Data.State to the AttachmentPoint enum
* Created an Appearance folder for TestClient commands, put the new AttachmentsCommand in it which shows all of the current agent attachments
* Moved the ObjectManager enums out to the libsecondlife namespace
* Change LLObject.ObjectData.State from a uint to a byte (as it should be)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1505 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 00:25:08 +00:00
John Hurliman
f5a5010191 Fixing bug reported in issue #32 by glem02, MoveToCommand always walks towards the corner of the world (region handle bits weren't being added in to the destination)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1504 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-29 19:50:44 +00:00
John Hurliman
e31883e162 * Committing patch from issue #35 by jradford to add parcel tracking support to ParcelManager. Converted the patch to use SafeDictionary and remove the quirky CurrentParcelID (the new Helpers.VecToParcelLocalID() is a working replacement for it)
* Converted Parcel class to a struct, enforcing valid values for all of the fields in the constructor to avoid accidental null references

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1502 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-29 19:38:32 +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
phaik
3c232dff1f PrimRegexCommand now also matches on Name and Description
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1494 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-20 04:33:12 +00:00
phaik
36528fc1e5 Some patches from z4ppy (Fixes InventoryCommand, adds features to GUITestClient, adds PrimRegexCommand for finding prims by regex), also added a FindObjects command that was in svn but not in the project.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1493 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-20 04:13:40 +00:00
phaik
fb45f1c66f Added FriendsCommand, type friends to see a list
Now removes Friend from _Friends when TerminateFriendship packet is received.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1491 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-20 01:27:38 +00:00
phaik
301fca516d Added GroupsCommand which lists the current groups bot is in.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1487 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-10 18:36:50 +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
jedediah
267b62162e * fixes to Image class
* fixes to TGA loader
* fix GetResourceStream not falling through to file load
* removed superfluous warning from BackupCommand
* fix openjpeg-libsl.dll compiled incorrectly


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1401 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-13 07:05:16 +00:00
John Hurliman
9dccf908da Added three new TestClient commands for viewing and manipulating TextureEntry blocks on prims
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1392 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-06 04:17:45 +00:00
John Hurliman
2bb6a50b08 * Rewrote GiveMoney function and created several offspring Give*Money functions
* Added GroupPowers enum courtesy of Thoys and switched GroupManager over to use it
* Renamed Simulator.SimCaps to Simulator.Caps
* Turned off Keep-Alive and Expect-100: Continue headers on Login
* Added MoneyTransactionType and TransactionFlags

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1391 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-05 01:21:36 +00:00
John Hurliman
b995eaf53c * Added LLMatrix3 struct
* Cleaned up Types.cs, moved type-specific math from Helpers to the individual types
* Added more functions to CoordinateFrame
* Added Helpers.Swap<>() and Helpers.IsFinite()
* Added agni and aditi constants to Settings

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1386 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-02 04:45:12 +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
349830c983 * Object tracker dictionaries are now internal and only accessible through various methods and properties to prevent locking disasters. Basis of this code written by jradford in issue 342
* Added a Client.Self.Name property for the full name of the avatar which does smart caching
* Adds BackupCommand to TestClient (submitted by CheechBode in issue 314), backs up notecards and scripts from your inventory to hard drive. Needs more refining but it works
* Parsing problems in TestClient no longer crash the app

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1378 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-29 08:55:53 +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
25931f50a6 * Changing the signature of the InstantMessageCallback to use a struct instead of 14 arguments to try and fix mono
* Moved several enums outside of of the MainAvatar class that had little or no relationship to the main avatar

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1367 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-22 18:16:38 +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
John Hurliman
075a854a6f * Added missing commands for TestClient to the VS2005 project file
* Updated CloneProfileCommand to use the new GroupManager.OnGroupJoined

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1358 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-13 00:19:54 +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
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
jef
43e17ee177 Revived the inventory command for TestClient. A simple 'i' will recursively fetch your inventory. If you have a big inventory, this will take a while.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1327 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-20 08:58:46 +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
jef
8070059ef9 Oops redux.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1240 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-25 01:30:47 +00:00
jef
5fd04a191b Oops.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1238 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-25 01:27:10 +00:00
jef
32b485e34c Added GoHome and Teleport(LLUUID Landmark). And yes it can be anyones landmark. Also reorganized the testclient commands. But am leaving it to someone else to fix up the VS solution.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1195 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 05:52:28 +00:00
jef
a1fa2adcca Self.SetHome for the ability to set home to the current location. And a test client command. That someone else has to add to VS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1194 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 04:30:31 +00:00
John Hurliman
7e306ebb29 * Login no longer writes loginreply.xml in debug mode. Instead NetworkManager.RawLoginReply was added to access the raw XML-RPC response
* DirectoryManager.StartPeopleSearch() now takes a queryStart parameter to allow searching past the first 100 results (fixes issue 115, thanks DeltaCzuk)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1188 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-14 10:18:54 +00:00
John Hurliman
fec60d1f25 Reverted login changes to use the old style LoginMessage and LoginErrorKey variables. The new enum LoginStatusCode is sticking around
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1187 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-14 07:33:57 +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
7f7ea583b2 Decoding of simstats. Can be disable via Settings.ENABLE_SIMSTATS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1182 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 00:10:33 +00:00
bushing
6d289162a8 more eol-style fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1161 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 20:54:02 +00:00
John Hurliman
0ac2b3848a * LoginCommand can optionally take a starting sim now
* If Settings.DEBUG is enabled, loginreply.xml will be dumped to the hard drive

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1153 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:21:23 +00:00
baned
eabfde13f3 * Fixed all the obsolete warnings in the rest of the projects for the login changes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1151 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:00:09 +00:00
John Hurliman
f9465f8488 * Updated _Packets_.cs against the latest message_template.msg (we should automate this)
* Some new bitpacking functions
* Removed ReservedNewbie references
* Updated Path*() functions to use ushort instead of byte
* Fixes and cleanup to the particle system code

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1143 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-25 19:58:58 +00:00
John Hurliman
a8e1effe02 * ViewerEffect decoding is now complete (until further notice)
* Added Avatars.OnPointAt, Avatars.OnLookAt, and Avatars.OnEffect events for ViewerEffect packets
* ExportCommand can now export objects owned by the master
* ExportCommand can now optionally take only two arguments, and will export whatever object the master is pointing at (if permissions allow)
* Added a ShowEffectsCommand that shows all of the ViewerEffects the bot can see (VERY noisy)
* LookAtTarget enum is renamed to LookAtType

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1139 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-23 06:39:37 +00:00
John Hurliman
9218d12d4c * Added support for people directory searches [acidie]
* TestClient tracks its master through name and UUID now, and verifies identify by UUID [acidie]
* Objects.OnObjectProperties wasn't hooked up to a packet callback previously, fixed now
* Cleaned up the name2key example [acidie]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1138 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-23 01:39:14 +00:00
John Hurliman
3fbf2ef6aa XML importing and exporting should be functional again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1137 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-22 14:14:32 +00:00
John Hurliman
6e7af40682 * Fixed a crash when attempting to teleport with CAPS disabled
* The meaning of Settings.ALWAYS_DECODE_OBJECTS has changed slightly, agent updates are now always decoded regardless of this setting. Clients that are not doing object tracking and have this set to false should see less memory usage
* NameValue is now a struct
* LLObject.NameValues is now an array to help with performance and serialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1135 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-20 16:03:24 +00:00
John Hurliman
f5b7f702f3 * Settings.ENABLE_CAPS = false; will disable any connection attempts to CAPS servers
* Added Utilities.ParcelDownloader.GetHeightRange() and Utilities.ParcelDownloader.GetRectangularDeviation() for gathering parcel statistics
* Added more output to ParcelInfoCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1134 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-19 02:59:35 +00:00
John Hurliman
df3990e074 * Fixed a bug in Terrain.TerrainHeightAtPoint() for the top-left edges
* Added Utilities.ParcelDownloader.GetWaterType()
* Added the start parameter to Utilities.PersistentLogin()
* Simplified the Heightmap example
* Optimized the TestClient throttle
* ParcelInfoCommand prints out whether each parcel is underwater/waterfront/dry
* Added RegionInfoCommand to print out current region info
* Added Self.Status.UpdateFromHeading() to send an AgentUpdate packet from a rotation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1132 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 08:18:32 +00:00
John Hurliman
a099b9853e * Fixed GlobalPosToRegionHandle() bug
* Typo in the DirectoryManager docs
* ParcelInfoCommand prints out number of people on the ACL for each Parcel
* Documented Parcel.AccessList

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1129 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-17 20:48:18 +00:00