Commit Graph

264 Commits

Author SHA1 Message Date
John Hurliman
0f29e30ce0 Applying patch from issue #66 by johan, uses FromBytes methods for LL* types to allow object reuse
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1527 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-19 18:46:06 +00:00
John Hurliman
3c3285f7f5 * Removed a double lock on network shutdown and properly shut down the blocking queue
* Added LLQuaternion.SetQuaternion() functions and fixed the quaternion multiplication
* Updated importprimscript to an enum name change

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1524 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-19 01:11:16 +00:00
John Hurliman
c66b52e7a8 * Partial rewrite of LLObject to properly pack and unpack parameters
* Added the LLVector2 type
* Added some missing error handling to CapsClient
* Added an arithmetic rounding function and two Lerp() functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1523 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-18 19:23:46 +00:00
John Hurliman
afa448158f * Applying patch from Thoys to make wearable asset decoding much faster, and changing Asset.Decode() to return a bool. Unparseable wearables will now print out in logging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1522 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-17 06:37:56 +00:00
John Hurliman
a61f2bc8ef Removed the CAPS header mess, fixed a recently introduced bug that was suppressing synthesized CAPS packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1521 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-08 20:15:30 +00:00
John Hurliman
fac46f6fb0 Added a simplified RequestImage() overload, and documentation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1520 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-07 21:16:24 +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
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
jef
5e99d02852 fudge it. reverting patch for now. we might have to redo LoginParams to support either the webkey -or- the password
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1517 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-05 21:30:15 +00:00
jef
8a3754d552 <3 donovan nascent suport for the new login system. still needs to actually poll /inworld/go.php to get the web key automagically.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1516 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-05 20:23:46 +00:00
John Hurliman
b8d7966ee5 Switched over deprecated CAPS handler in InventoryManager to the new LLSD system (this was preventing file uploads from working). Thanks to karthic for debugging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1515 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 21:48:50 +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
11c97db85c Patch from issue #42 by jradford, cleans up parcel tracking and adds Simulator.IsParcelMapFull(). ParcelManager.RequestAllSimParcels() is non-blocking now, and the callback check is done in ParcelPropertiesHandler to fix a race condition
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1513 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 03:59:21 +00:00
John Hurliman
ac602982fb * Fixed an infinite loop bug in Helpers.FloatToTerseString
* Added XmlLLSD unit tests from issue #37 by cadroe (all pass)
* Converted notation deserialization to use the new LLSD object
* Fixed the Type unit tests to pass

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1512 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 03:42:34 +00:00
John Hurliman
8ab243d357 Patch from issue #36 by cadroe, URIs are now deserialized in XML LLSD
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1511 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 02:57:22 +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
jef
2762ce08be Applies patch #40 from jradford.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1508 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 14:55:45 +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
13cabdd133 Applying patch from issue #33 by timhart, fire OnObjectProperties regardless of OBJECT_TRACKING state
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1503 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-29 19:44:34 +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
John Hurliman
9eecefb290 * Rewrote the LLSD system, changed the namespace name to libsecondlife.StructuredData and created an LLSD instance class
* Removed unused/deprecated login parameters user-agent and author
* More work on prim import/export
* Fixed up GridManager.GetGridRegion()
* Cleaning up AgentManager.LookAt mess
* Attempting to fix AgentManager.StopJump()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1498 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-21 23:50:05 +00:00
John Hurliman
4bfe4f00fe Restricted the managed ReaderWriterLock to PocketPC platform only, it can be fixed later
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1496 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-20 19:27:20 +00:00
phaik
bfc8dc9a87 courtesy of jradford: ObjectPropertiesFamily Patch, allows addition of objectpropertiesfamily replies to the object tracker dictionary.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1495 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-20 05:52:30 +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
b72603e540 Added public OnFriendshipTerminated event
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1492 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-20 01:46:37 +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
phaik
361a68643a Fixes issue 577, changes a few casts in MapLayerResponseHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1486 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-10 17:24:25 +00:00
phaik
16c711e610 Whiskey and patch friday, thanks to Thoys, Prometheus, Tleides, Dahlia and Ahzzmandi.
Covers issues 498, 499, 504, 570, 572

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1485 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-10 03:21:32 +00:00
phaik
b77b93f6b8 commented out the assertion killing teleports.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1484 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-09 21:57:08 +00:00
phaik
34066e177f fixes issue 567
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1482 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-09 04:28:57 +00:00
phaik
71accbabea fixes issue 571, not handling short on CapsToPacket.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1481 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-09 03:31:17 +00:00
phaik
6af90c73b4 fix for issue 566
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1480 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-08 21:17:02 +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
f9b221d5c7 Applying patch from Frank Bogomil in issue 389 to fix 64-bit alignment issues with the OpenJPEG interface
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1400 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-12 06:06:29 +00:00
fd04ae165e Set sim.PositionIndexYou and PositionIndexPrey to -1 by default. This is the correct default value sent by the simulator.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1399 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-12 04:13:18 +00:00
5a81c7241a * Added sim.PositionIndexYou and PositionIndexPrey
* Added Client.Self.TrackAgent(preyID)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1398 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-11 03:00:13 +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
a0d9f7f459 * Attempting to fix login redirects that were broken when login was converted to use xmlrpc.net
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1395 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 11:25:54 +00:00
John Hurliman
62dddabd7c * Transfer timeout support for uploads. This code will be deprecated soon though as CAPS uploading is almost finished
* More parameters to HTTPBase and Capabilities for making special requests
* Renamed InventoryManager callbacks to match the rest of libsecondlife
* Several new InventoryManager functions, not complete yet!
* Fix for null buddy list on login
* OnSimConnecting returns a bool to allow canceling sim connections
* NetworkManager.Connect() properly returns null on a failure

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1393 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 10:20:30 +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
c25b0afada Added missing FinishAnim = true in new Shoot() function
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1390 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-03 08:24:21 +00:00