Latif Khalifa
d27255fe2f
LIBOMV-850: TestClient crashes when console reads an end-of-file
...
Patch by Rpbert Adams
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3473 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-20 14:14:26 +00:00
Latif Khalifa
d51de2105e
LIBOMV-812: Added LocalID and ID fields to Getosd() / Fromosd() functions of class primitive
...
Suggested by Lucius Sirnah
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3472 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-20 14:07:12 +00:00
Latif Khalifa
4380ead23b
LIBOMV-844: Fields "LocalId" and "PCode" in a Primitive object are not preserved after OSD serialization/deserialization
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3471 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-20 13:55:17 +00:00
Latif Khalifa
deb1e4a8e9
LIBOMV-868: Added support for Display Names functionality
...
* Feature complete, added ability to set the display names
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3470 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-20 13:46:21 +00:00
Latif Khalifa
2dcbe7b373
Put things in more logical places.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3469 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-19 17:42:19 +00:00
Latif Khalifa
ff6ae318fc
LIBOMV-868: Added support for Display Names functionality
...
TODO:
* Add support for setting a display Name
* Figure out what to do with big request (> 90 names)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3468 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-19 16:59:46 +00:00
Latif Khalifa
3cc85a6ddc
Increase number of parallel bake uploads.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3467 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-19 11:59:42 +00:00
Latif Khalifa
164e455aa2
Update CAPs list.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3466 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-19 11:58:37 +00:00
Latif Khalifa
f005338e5e
Avoid invalid cast exception.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3465 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-19 11:43:48 +00:00
Latif Khalifa
2badd305a4
LIBOMV-880: Primitive.SculptData.GetBytes() does not take Mirror and Inverse into account
...
Patch by Tim 't Hart
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3464 52acb1d6-8a22-11de-b505-999d5b087335
2010-11-02 08:19:35 +00:00
Latif Khalifa
a02a3697da
LIBOMV-879: Fixed deserialization of nested arrays
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3463 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-30 05:20:49 +00:00
Latif Khalifa
1d3ee7537f
Reverse order of arguments in quaternion multiplication in order to bring it in line with BulletX physics engine and Unity3D (it's reversed in LSL). Also should fix breakage in code that depends on this ordering like Opensim.
...
TODO: comprehensive test suite for quaternion math
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3462 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-29 05:11:35 +00:00
Latif Khalifa
10d7c02d4c
Remove some cruft from the previous commit.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3460 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-24 05:39:32 +00:00
Latif Khalifa
981d689dca
LIBOMV-870 RAD-200: Add support for SL2's Alpha Mask and Tattoo layers
...
* Updated avatar_lad and regenerated visual params.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3459 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-24 05:34:26 +00:00
Latif Khalifa
2f4b5dbc20
LIBOMV-877: Responding to teleport lure sends the wrong lure id
...
Fixes responding to lures in opensim
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3457 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-21 13:30:55 +00:00
Latif Khalifa
6fc54a43f0
Removed optional parameter to DeserializeLLSDBinary(), decode binary serialized data both with and without the <? LLSD/Binary ?> header.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3456 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 22:00:58 +00:00
Latif Khalifa
822db877d3
Docu fix
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3454 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 01:08:34 +00:00
Latif Khalifa
9d0a95ea95
LIBOMV-875 (Allow LLSD/binary header to be optional)
...
Added optional second paramater "headersOptional" which when set to true
will not throw an exception when deserializing headerless binary LLSD.
Default behavior unchanged.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3452 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 01:00:48 +00:00
Latif Khalifa
6b1d416375
Do ask for GetMesh capability.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3451 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 00:16:44 +00:00
Latif Khalifa
ea8107937c
LIBOMV-874: Added support for GetMesh cap (untested)
...
* Added stub MeshAsset
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3450 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 00:01:17 +00:00
John Hurliman
968c6fb1cd
* Added unit tests for Vector3.ApproxEquals()
...
* Fixed a bug in Utils.BytesToInt64() not handling non-zero pos values
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3445 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-01 00:22:06 +00:00
Latif Khalifa
5ad629b82f
Sync test.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3443 52acb1d6-8a22-11de-b505-999d5b087335
2010-09-09 01:54:57 +00:00
Latif Khalifa
1f882e0393
RAD-867: GridProxy doesn't recognize CAPs request that pass parameters via GET query string
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3442 52acb1d6-8a22-11de-b505-999d5b087335
2010-09-03 16:13:35 +00:00
John Hurliman
7d028b3a84
* Renamed SimAccess.Min to SimAccess.Unknown to reflect that this is an invalid state for the enum
...
* Added missing RegionDenyIdentified and RegionDenyTransacted fields to ParcelPropertiesMessage
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3441 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-23 23:10:43 +00:00
John Hurliman
265892a471
* Added settings file parsing to the OAR loader
...
* OAR loader now gracefully handles null callback parameters
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3440 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-21 01:30:53 +00:00
Latif Khalifa
2e19e0881c
LIBOMV-862: Null reference exception when shutting down after fetching textures
...
Spotted by Robert Adams
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3439 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 11:59:26 +00:00
Latif Khalifa
8c709ec470
LIBOMV-864: AvatarAppearance even not fired if avatar not in the tracker
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3438 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 11:51:15 +00:00
Latif Khalifa
42eee13144
LIBOMV-865: Terse object updates null avatar textures
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3437 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 11:49:43 +00:00
Latif Khalifa
549cf94404
LIBOMV-838: Added support for HTTP texture downloads
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3436 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 10:45:09 +00:00
John Hurliman
f8a0cf7283
* Fixed the quaternion unit test that had incorrect results hard-coded. This test started failing after the quaternion multiplication was fixed
...
* Removing the unneeded and sketchy TickCountResolution test
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3435 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-19 22:41:58 +00:00
John Hurliman
e695ec4018
* Thank you lkalif for a new implementation of Quaternion.GetEulerAngles()
...
* Fixed the broken quaternion multiplication operators
* Added OAR XML prim loading to PrimWorkshop
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3434 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-19 22:26:04 +00:00
John Hurliman
819d7ad57d
* Added sculpt map previewing to PrimWorkshop
...
* Improvements to the .obj exporter
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3432 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-19 20:20:06 +00:00
John Hurliman
b85883d746
* Added GenerateSimpleMesh() support to MeshmerizerR renderer
...
* Changed MeshmerizerR to conform to the IRendering interface by always returning unscaled meshes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3430 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-18 21:20:58 +00:00
John Hurliman
56ae78ab28
* Thank you bhardly for OpenMetaverse.Rendering.Linden.dll renderer binary
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3428 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-18 20:51:49 +00:00
John Hurliman
3689169391
* Setting all of the OSD type classes as sealed
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3427 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-18 00:05:19 +00:00
John Hurliman
22524b9ef4
* Added OSD implicit typecasts going the other direction (assigning an OSD object to a native value)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3426 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-17 19:25:06 +00:00
John Hurliman
2746bdaa70
* Added implicit typecasts from bool/int/uint/short/ushort/sbyte/byte/long/ulong/double/float/string/UUID/DateTime/Uri/byte[]/Vector2/Vector3/Vector3d/Vector4/Quaternion/Color4 to OSD. You can now write code like "OSDArray array = new OSDArray { true, 42, Vector3.UnitX, 1.5 };"
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3425 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-17 19:02:16 +00:00
John Hurliman
924118ccec
* Added a missing reference to prebuild.xml from the previous commit
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3424 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-16 18:03:09 +00:00
John Hurliman
8aa48e9ff6
* Removed "Meshmerizer" rendering plugin, "MeshmerizerR" (that uses PrimMesher.dll) has officially replaced it
...
* Added sculpted prim support to the IRendering interface
* Removed the rarely (if ever) used Vertex.Binormal field, made the Vertex struct layout explicit so it can be fed directly to OGRE/OpenGL/XNA/etc
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3423 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-16 17:59:01 +00:00
John Hurliman
cd2f33e653
* Added Utils.UInt64ToBytesBig()
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3422 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-13 23:51:06 +00:00
John Hurliman
dfd53af1f3
* Fixed the ExpiringCache collection to remove an ambiguity of whether to use local timezone expiration dates or UTC expiration dates. Expiration time is now passed in as the number of seconds relative to the current time
...
* Minor performance improvement in ExpiringCache to avoid instantiating a List<> every time the cache purge timer runs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3421 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-13 23:06:35 +00:00
John Hurliman
3d95a4a880
* Prevent TestClient's FlyTo command from subscribing to TerseObjectUpdate and slowing down the libomv packet handler except when the command is actually running
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3420 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-13 22:49:13 +00:00
John Hurliman
903dc7570b
* Enabled synchronous handling for seven high traffic sim->client packets: AvatarAnimation, CoarseLocation, ImprovedTerseObjectUpdate, ObjectUpdate, StartPingCheck, CompletePingCheck, and SimStats. For the first four in that last, if your app registers a callback that is fired from any of those handlers the callback will be fired asynchronously still while the rest of the handler runs synchronously
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3419 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-12 22:37:27 +00:00
John Hurliman
d999f404cb
* Added an overload to NetworkManager.RegisterCallback() that specifies whether a callback should be ran synchronously or asynchronously. Existing RegisterCallback() call defaults to async, new overload is not used by any packet handlers yet
...
* Removed deprecated Settings.SYNC_PACKETCALLBACKS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3418 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-12 19:44:57 +00:00
John Hurliman
dcfb27288a
* Fix packet sending to only send ACKs for incoming packets marked as reliable, not every incoming packet
...
* Fixed a bug in ACK sending that was eating up CPU time
* Put the final UDP packets on the wire synchronously instead of asynchronously. Profiling showed this to be faster than .NET 2.0 style asynchronous sending (although possibly still slower than .NET 3.5 style asynchronous sending)
* Small tweak to LocklessQueue to try and keep LocklessQueue.Count as accurate as possible
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3417 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-12 19:20:37 +00:00
John Hurliman
3fb3d19b52
* Reverting the CSJ2K Array.Copy -> Buffer.BlockCopy optimization for now since I didn't properly update the length parameter the first time around (LIBOMV-861)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3415 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-06 03:11:08 +00:00
John Hurliman
65deb8f71e
Reverting previous commit (LIBOMV-861)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3414 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 21:47:12 +00:00
John Hurliman
c4e7cb967d
* Add two more CSJ2K logging messages to make it more clear why a decode failed (LIBOMV-861)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3413 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 21:43:12 +00:00
John Hurliman
45e7dd675f
CSJ2K:
...
* Fixed decoding to System.Drawing.Image for single component textures
* Improved exception throwing
* Removed unused ProgressWatch class
* Sanity check for seeking to a negative offset, gracefully handle
* Small speed improvement to the inverse wavelet transform by using Buffer.BlockCopy() and avoiding extra typecasts
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3412 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 20:49:03 +00:00
John Hurliman
03901afe1e
* Replaced most CSJ2K Array.Copy() calls with the faster Buffer.BlockCopy() for a ~17% speedup (LIBOMV-861)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3411 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 19:18:24 +00:00