Commit Graph

228 Commits

Author SHA1 Message Date
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
54c1a176f3 * Updated TurnToward to include head rotation
* Added Client.Self.Shoot() and Shoot(LLVector3 target)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1389 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-03 08:03:07 +00:00
John Hurliman
b2ae922da2 More CoordinateFrame constructors then you can shake a stick at, and removed At/Left/UpAxis properties to reduce confusion (use X/Y/ZAxis instead)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1388 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-02 22:41:22 +00:00
John Hurliman
da4155ffb6 Finished cleaning up Types.cs so all of the functions are uniform across types and the class layout is consistent
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1387 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-02 22:02:35 +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
116efd14ee Applying patch from Thoys to implement avatar profile flags
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1385 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-01 22:10:08 +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
8bd17d50b9 Added Client.Self.RetrieveInstantMessages() for retrieving missed/offline IMs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1383 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-01 06:20:06 +00:00
John Hurliman
591190ed27 * Added effectID parameters to all of the Client.Self effect functions so you can cancel them
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1382 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-31 11:19:01 +00:00
jedediah
eeb728c494 handle unknown inventory item types in InventoryManager.CreateInventoryItem
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1381 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-31 07:28:38 +00:00
John Hurliman
3ce496f4bc Applying jradford's patch from issue 349, adds ObjectManager.DeedObject() and ObjectManager.DeedObjects()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1380 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-30 18:28:59 +00:00
John Hurliman
49347a5379 Applied jradfords patch from issue 348, correct dictionaries are locked in the object tracker now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1379 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-30 08:27:52 +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
92e460a066 Removing a formatting string in AutoPilot as it was breaking non En-US clients. Fixes issue 281
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1377 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-26 16:59:40 +00:00
John Hurliman
f49e324156 Applying jradford's patch from issue 332:
* Adds ParcelManager.ObjectOwnersRequest and ParcelManager.OnPrimOwnersListReply
* Adds InventoryManager.RezFromInventory
* Adds missing CreatorID to InventoryDescendents parsing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1376 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-26 16:52:08 +00:00
John Hurliman
721af25e39 * Fixed the TextureEntry unit test to not use out of range values so the test passes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1375 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-25 22:22: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
56600d7757 * Added Settings.OBJECT_TRACKING check on ObjectKill packet handling
* Switched double and triple dictionary lookups in ObjectManager, EventDictionary and elsewhere to use a single TryGetValue() call

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1371 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-23 18:54:43 +00:00
John Hurliman
d46dd96eee * Added Settings.OBJECT_TRACKING to enable or disable internal object tracking, enabled by default
* Added a Helpers.VecDist() overload that works with LLVector3d
* Added Self.GlobalPosition property
* Removed the dead libslupdater app

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1370 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-23 17:41:57 +00:00
John Hurliman
8085ca43ec Applying samtao's patch from issue 277, adds a GroupManager.LeaveGroup() function
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1369 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-23 01:42:23 +00:00
John Hurliman
a12975f89a Added a default constructor to TextureEntryFace for serialization
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1368 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-22 18:52:23 +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
61127e665e Patch from issue 309 submitted by brianw, LLUUID implements the IComparable interface now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1366 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-22 05:01:22 +00:00
John Hurliman
b3b9dc4629 Applied jradford's patch from issue 289, implementing DirectoryManager.StartPlacesSearch and DirectoryManager.OnPlacesReply for finding places owned by yourself and your groups
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1365 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 20:38:36 +00:00
John Hurliman
328e3f1954 Removed noisy exception logging from UDPBase
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1364 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-20 20:21:52 +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
qode
b60d104f8d Patch (0000226) now in SVN. Fixes the removal of friends from your friends list. Thanks samtao!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1361 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-16 19:47:40 +00:00
qode
fd33b49825 Applied patch (0000279) for Group Search features. Thx to adjohn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1360 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-16 19:41:30 +00:00
jedediah
2383aa3360 baking temporarily bypassed (no more checkerboard appearance)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1359 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-14 06:06:05 +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
1262a83772 Fix for previous commit: Changed some voids to bools and fixed the return types (thanks Thoys)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1356 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 07:42:23 +00:00
51a698e428 * Added Client.Self.StartJump(), .StopJump(), .StartCrouch(), .StopCrouch()
* Added warnings for functions in MainAvatar.cs which use SendUpdate(), if SEND_AGENT_UPDATES is false

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1355 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 04:06:55 +00:00
1d73c86c9d Added Client.Self.SitOnGround();
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1354 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 02:24:35 +00:00
qode
c2ea061d98 added a FIXME for AvatarAnimation event calls
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1353 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-06 21:29:04 +00:00
qode
329f8666cc added a FIXME to a empty SoundTriggerEvent to surpress the SoundTrigger event errors in DEBUG output
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1352 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-06 20:54:46 +00:00