John Hurliman
ebae8ecb6e
Committing patch #86 from jradford that handles moving in to a neighboring sim when you walk in to it, and I added on the OnRegionCrossed callback for this event
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1570 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-29 22:34:11 +00:00
John Hurliman
036a40e204
All of the FromLLSD() functions in Types.cs were broken, fixed now
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1569 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-29 01:46:47 +00:00
John Hurliman
65f224ad2b
* Updated the unit tests to compile and run
...
* Added several new methods for converting between euler angles (stored in LLVector3), quaternions and matrices. Most of the new methods are commented out as the math is currently buggy and needs more unit testing to fix
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1568 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-27 23:20:45 +00:00
John Hurliman
adae01ab87
Big cleanup of Types.cs that avoids initializing duplicate copies of structs and comes closer to a uniform naming convention
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1565 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-25 02:37:35 +00:00
John Hurliman
f99a4be8d6
* Added support for MaterialType in prim import/export
...
* Fixed a bug sending two of the three types of ViewerEffect packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1558 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-23 22:50:26 +00:00
John Hurliman
33bb4a84d7
Added a safer overload of CreateFolder() and documented both of the overloads
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1557 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-23 04:33:08 +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
f85467360a
Sanity check in TextureEntry.FromLLSD(), this will keep the function from throwing an exception when loading an older file format (even if the textures do get lost)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1550 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 22:40:46 +00:00
John Hurliman
4efab81b86
Attempting to fix a ViewerEffect color bug, it looks like we're supposed to serialize colors as float arrays in the packet instead of the packed four byte format
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1549 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 21:39:55 +00:00
John Hurliman
c7234457cc
* Made the LLSDMap indexer operator safe, now returns an empty LLSD element if the key does not exist
...
* Added flex/light/sculpt data to prim import/export
* Added a sanity check for the LLColor(float,float,float,float) constructor in case someone tries to initialize it with non-normalized values
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1548 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 21:09:58 +00:00
John Hurliman
ea53e74e95
Applying patch from issue #69 by lkalif, reverts some broken changes in TextureEntry while backporting the new serialization and glow features. Should resolve the import/export bugs related to textures
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1547 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 17:22:55 +00:00
John Hurliman
8f83ac13e3
Even more CAPS logging
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1546 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 06:38:19 +00:00
John Hurliman
d14e5062d1
Added more logging for the CAPS system
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1545 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 06:25:13 +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
5b0c8780e8
Fixing a cross-thread operation bug in groupmanager app
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1543 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 05:45:01 +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
dd9d90aed2
Applying patch from issue #67 by A_Biondi, fixes some glaring errors with LLQuaternion serialization
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1537 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 18:22:39 +00:00
John Hurliman
3398bac07d
* Make sure "Expect: 100-Continue" is disabled for all CAPS requests
...
* Reverted a non-working optimization to Helpers.UnixTimeToDateTime()
* Added ToString() overrides for LLSD elements
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1536 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 17:55:04 +00:00
John Hurliman
1290e8db99
Rolling back CF compatibility changes to the BlockingQueue, need testers to see if this fixes the Mono problems
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1535 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 17:51:57 +00:00
John Hurliman
0d264c9209
Rolling back the attempted fix to TextureEntry.ToBytes(), it made things a lot worse
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1534 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 06:09:48 +00:00
John Hurliman
e1f4aea003
Fixed a bug where the simulator disconnect timer was being prematurely initialized at login
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1533 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 02:43:13 +00:00
John Hurliman
020574eb3d
Testing out a fix idea from lkalif for broken the TextureEntry.ToBytes()
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1531 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-19 22:09:52 +00:00
John Hurliman
4797cbfd1c
Patch from lkalif to fix the new AssetWearable parsing code from Thoys
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1530 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-19 22:00:49 +00:00
John Hurliman
ac9a54c7d5
Minor tweak to the NAnt file to try and get it compiling for Qode
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1529 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-19 20:58:20 +00:00
John Hurliman
1993ae0ce7
* Enabled the UDPPacketBuffer object pool, please report any changes in network performance
...
* Fixed a bug in BuildPacket() that would affect UDPPacketBuffer objects if they are being reused
* Lowered the Dequeue wait time in PacketHandler() to speed up logouts
* Optimized Simulator.ToString()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1528 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-19 20:53:08 +00:00
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
e7d14a119f
Updated xcode file for some missing testclient commands.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1509 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-30 18:41:27 +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