Commit Graph

90 Commits

Author SHA1 Message Date
John Hurliman
3bd42adec0 Added UploadImageCommand. Works under Mono, fails under .NET. Still investigating
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1804 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-30 22:30:41 +00:00
John Hurliman
62bbc2bd0e [libsecondlife]
* More of the OpenJPEG decoding functions spit out image info (so you can tell if an image contains alpha)
* Added an indexer property to InternalDictionary
* TerrainManager stores sim heightmaps with an InternalDictionary now
* Added an LLColor helper constructor for inversed alpha only
* Switched TextureEntry decoding to use the inversed LLColor decoder (was apparently backwards before)
[primpreview]
* Added two-pass rendering. Kind of klunky, but fixes enough of the alpha sorting problems to make the app usable again

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1801 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-29 18:54:34 +00:00
John Hurliman
d31ec9bc19 Added new DownloadTextureCommand to TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1763 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-22 23:32:15 +00:00
Jim Radford
cda27f0a6c Adds two TestClient commands: ParcelVoiceInfo VoiceAcountCommand to display parcel's voice settings and to display voice account information Courtesy of DrScofield Mantis#220
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1753 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-22 00:31:37 +00:00
John Hurliman
b5013c7bd9 * Added a check in LLSD conversion and prim export for the "white texture", a hardcoded UUID for a blank texture that doesn't actually exist
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1736 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-10 19:57:27 +00:00
Jim Radford
88f163a7ac *BREAKING CHANGE* Mantis#217 Updates OnAvatarGroups event so it passes a structured list in the callback instead of the packet data which could change without notice.
* Updated TestClient/Commands/CloneProfileCommand.cs to reflect changes.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1733 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-10 01:45:00 +00:00
Latif Khalifa
a1b3c0d5d3 Always set permissions of newly created prims (mantis #214)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1728 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-09 15:12:11 +00:00
Jim Radford
6b744f3e3a Updates TestClient imgroup command, does not automatically close the session so people can send more than one message.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1722 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-08 06:01:26 +00:00
Latif Khalifa
7ca6b12bc8 Workaround for wrong prim position at creation time. (mantis #210)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1718 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-07 23:06:38 +00:00
Jim Radford
9d07e7deba Adds usage instructions and sanity check to TestClient wear command. Mantis #99
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1716 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-07 17:12:20 +00:00
Latif Khalifa
23ed896cdd Backup sculpt texture (mantis #183)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1712 52acb1d6-8a22-11de-b505-999d5b087335
2008-04-07 14:37:18 +00:00
Jim Radford
fb4d9ba74b removes duplicate SetFlexible command in TestClient/Commands/Prims/ImportCommand.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1690 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-22 02:19:11 +00:00
Jim Radford
89fbdb0e82 Applies patch from Mantis#175 courtest of lkalif - Fixes TestClient ImportCommand to handle light settings and sculpted prims properly.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1689 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-22 02:08:22 +00:00
Jim Radford
cc17e14250 * Adds support for uploading Notecards to InventoryManager Courtesy of Thoys
* Adds new TestClient command createnotecard to upload a text file as a notecard Courtesy of XLilCasper
See Mantis#116

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1666 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-12 22:46:53 +00:00
Jim Radford
e6b76d7bcf * Fixed TestClient balance command to report correct balance. Mantis#151
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1665 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-12 19:50:25 +00:00
Jim Radford
fed8eeef0a * Fixed ParcelProperties ClaimDate field conversion
* Added ParcelDetails TestClient command

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1663 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-12 05:49:07 +00:00
Jim Radford
6ba9991aa7 * Fixes ParcelPropertiesReplyHandler to properly convert Flags
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1662 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-11 08:15:15 +00:00
Jim Radford
d3ba0e9796 Enhances parcel tracking dictionaries:
* Allows automatically requesting ACL's and Dwell (traffic) numbers, stores results in parcel tracking dictionaries. Can be disabled in Client.Settings.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1660 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-07 18:36:45 +00:00
Jim Radford
b4084c7b2e * Added overload to RequestAllSimParcels which allows user to do a full refresh of Parcel dictionary
* Increased time delay between requests due to caps being slower responding to parcel PropertiesRequests
* See TestClient/Commands/Land/ParcelInfoCommand.cs for example usage.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1659 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-07 17:43:51 +00:00
Jim Radford
b4b8c9a5d3 * Fixes LLSD Parser for generic capabilities packets to handle binary fields which come across as Properties.
* Switches TestClient ParcelInfoCommand to using internal RequestAllSimParcels Methods. 
* Mark Utilities ParcelDownloader class as Obsolete
* Adds new RegionDenyAgeUnverified field to Parcel struct.
See Mantis#156


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1658 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-06 21:28:52 +00:00
Jim Radford
6135b0c748 Cleanup patches from DrScofield, cleans up inline code comments and LLUUID Comparison against null. Mantis#138
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1656 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-06 05:57:16 +00:00
John Hurliman
3f3ae5e99b * Added LLObject.PrimType enum
* LLObject.ObjectData.Type property returns the best guess at current PrimType
* ExportCommand for TestClient exports textures (need to update this to export to a new folder)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1626 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-17 08:08:54 +00:00
Jim Radford
c416d78f19 * Implements Friend Location Requests/Replies Mantis#113
* Adds TestClient command: MapFriendCommand.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1623 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-15 07:14:50 +00:00
Jim Radford
88c6cf904b * Added more documentation to AgentManager Class
* Added extra parameters to the OnGroupChatJoin event courtesy of Thoys Issue#106
* Updated TestClient IMGroup command to reflect changes.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1611 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-09 00:52:59 +00:00
Jim Radford
3f009126f8 * Adds Session tracking to InstantMessages (prevents multiple Clients IM's from appearing in the same window)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1605 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-08 06:41:29 +00:00
Jim Radford
9c116b899a * Adds the TestClient commands ActivateGroupCommand, JoinGroupCommand, LeaveGroupCommand courtesy of A_Biondo, Mantis #77, 80, 81
* Modifies Groups Testclient command to show group UUIDs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1598 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-05 23:30:50 +00:00
Jim Radford
8ded92262e * Implements Group Chat
* Adds Example TestClient command imgroup 
* Adds convenience methods to InternalDictionary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1597 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-05 23:06:19 +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
Jim Radford
77fc869fac Implements searching "Events" in DirectoryManager, Adds new methods + overloads for searching events, includes two additional TestClient commands for searching events, and displaying event details. Ref Issue #92
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1580 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-01 00:29:51 +00:00
John Hurliman
031fd9be17 Applying patch from issue #72 by jradform, adds ParcelManager.Terraform()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1556 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-22 21:50:42 +00:00
John Hurliman
4e5c896c70 * InstantMessage() uses the recipient UUID as the SessionID to make IM sessions persistent by default
* Cleaning some cruft out of TestClient, attempting to fix a TestClient IM bug on Mono

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1542 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 05:31:13 +00:00
John Hurliman
9f8e97f13b * Removed the poorly done GetType function from _Packets_.cs
* Housecleaning in FriendsManager
* Make sure LLSDString is never holding a null pointer
* Changes to Login.cs to prepare for the LLSD switch (it is not happening yet!)
* Fixed LLSD export for prims to export light/flex/sculpt data as well, importing that back in is still a TODO

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1540 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 02:25:36 +00:00
John Hurliman
bb21d0e11a Applying patch #68 from A_Biondi, allows ImportCommand to work on land where you only have group build permissions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1538 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 19:20:33 +00:00
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