Commit Graph

447 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Latif Khalifa
b9a4763cce Avoid saving binary data to log and displaying it on the console
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3402 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-01 01:26:18 +00:00
Latif Khalifa
dff242a53d LIBOMV-860: Grid proxy unable to proxy http textures
* Fixes outgoing range headers

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3401 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-01 00:32:11 +00:00
Latif Khalifa
0c4bc5cd8f LIBOMV-839: Gridproxy doesn't proxy bare GET requests
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3354 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-25 19:48:37 +00:00
Latif Khalifa
cf124223a1 LIBOMV-826: Grid proxy crashes when http textures are enabled in the viewer
LIBOMV-827: Grid proxy crashes when client forcefully terminates connection

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3311 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-03 05:42:12 +00:00
John Hurliman
9138fee6b0 * Handle "-0" values in wearable assets
* Login fix for Linux clients now that the null ID0 is blacklisted
* Change Parcel from a struct to a class (this object is huge!) and remove the redundant initializers in the constructor
* Moved Terrain and WindSpeed data from TerrainManager to the Simulator class
* Don't track wind data either if STORE_LAND_PATCHES is disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3298 52acb1d6-8a22-11de-b505-999d5b087335
2010-04-21 00:00:54 +00:00
Latif Khalifa
3bb3630a36 Converted AssetManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3286 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 14:00:36 +00:00
Latif Khalifa
8a52b8fb52 Converted TerrainManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3285 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 12:30:30 +00:00
Latif Khalifa
7aa36d88f1 Update for new delegate signature
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3262 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 14:54:30 +00:00
Jim Radford
8d31e2d36f LIBOMV-785 Applies Patch from Sheet Spotter (what an obscene choice for a name) Which fixes alpha channel decode issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3244 52acb1d6-8a22-11de-b505-999d5b087335
2010-01-15 04:30:13 +00:00
Jim Radford
3eb8300084 LIBOMV-765 WinGridProxy Do additional checks to verify registry entry is an installed viewer
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3225 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-16 01:13:30 +00:00
Jim Radford
320669bbb5 LIBOMV-492 Fixed up WinGridProxy with all sorts of new goodies, now using VirtualMode for efficiency of time and memory, This version has some new features and probably some new bugs:
* New QuickLaunch bar will (on windows) detect and allow you to launch installed viewers
* Custom login url's are now saved for future sessions
* Better exception handling in GridProxy

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3224 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-12 00:15:59 +00:00
Jim Radford
2d8520d4c7 do not parse XML in Login Response to try and figure out a performance issue under mono
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3209 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-03 08:18:40 +00:00
Jim Radford
10c1de4c74 Switched Initialization for PacketDecoder into static constructor to dummyproof the class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3208 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-03 07:58:22 +00:00
Jim Radford
2a523f3253 Fixes issue causing builds to fail due to prebuilds crappy handling of external resources
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3206 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-03 05:40:10 +00:00
Jim Radford
5cd3013890 LIBOMV-651 Corrects issue showing incorrect hex data on UDP packets after re-importing saved sessions
LIBOMV-650 Correctly displays capability messages after import
* Fixes saving and restoring sessions and filters in WinGridProxy
* Many Changes to WinGridProxy UI, AutoScroll is no longer an option, instead the Session ListView can be sorted by the # column to have this behavior, Hex/binary data can be saved to individual files for outside processing (tiny button on bottom toolbar of Hex tab when hex has data that can be exported)
* Filter save/restore options are now on the Filters tab since thats where they are most useful
* Adds support for decoding AgentGroupDataUpdate message which OpenSim sends as an "AvatarGroupsReply"
* Updates and additional documentation in AgentManager, Simulator and ObjectManager classes
* PacketDecoder class is now static
* Removed profanity in debugging Console write
* Updates to Decoders: Decode LayerData type, Show internal Animation constant for built in animations
* Moved Message decoder to PacketDecoder class
* Add some sanity checks in GridProxy to prevent throwing an exception when a GridProxy is restarted and a viewer wasn't informed.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3205 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-03 05:32:49 +00:00
a3f8809d2b * Added Simulator property to ChatEventArgs
* IRCGateway: Fixed a parsing error in non rfc-complient IRC PRIVMSG messages

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3202 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-02 02:25:34 +00:00
John Hurliman
78b16f20b4 Fixed the ToBytesMultiple() packet splitter to use a do-while loop instead of a while loop to handle the case where there were zero variable blocks. This works with the unit test checked in with the previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3194 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 06:56:25 +00:00
Jim Radford
43c7170a86 LIBOMV-637 Adds ability for prebuild to specify PlatformTarget Thanks Douglas R. Miles for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3192 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 01:10:44 +00:00
Jim Radford
6bf3442294 LIBOMV-729 Fixes Prebuild to allow support for VS2010 b2 solution and project files to be generated properly
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3191 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 01:04:38 +00:00
Jim Radford
6182ba84cd LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in InventoryManager (Not every delegate is converted yet)
LIBOMV-734 Thanks to Douglas R. Miles for converting the events in EstateManager over to new patterns
LIBOMV-735 Removes redundant LoggedIn event from NetworkManager, when LoginProgress Status == Success you can reliably send packets to a simulator. If you send before this event is raised, an exception will be thrown and your application will crash, previously your request would just get sent to the bitbucket without any notice, Thanks lkalif for the help getting this bug fixed correctly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3187 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 09:39:43 +00:00
Jim Radford
95a87c7857 LIBOMV-686 Convert NetworkManager events/delegates to new patterns
* Remove INetworkManager interface (it was not being used for anything)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3182 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 08:01:52 +00:00
Jim Radford
f8f36cb5b1 LIBOMV-686 Cleanup of ObjectManager to make event classes less confusing, removes ObjectUpdated event as it duplicates the TerseObjectUpdate event.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3176 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-27 07:01:48 +00:00
Jim Radford
17468b5f76 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in ObjectManager
LIBOMV-726 Adds stubs in LindenMessages for new WebFetchInventoryDescendents Capability

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3175 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-26 06:03:26 +00:00
Latif Khalifa
8a845c9b22 LIBOMV-728: Expose proxyConfig member of GridProxy Proxy class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3174 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-25 09:47:25 +00:00
John Hurliman
08f74a222f * Fixing the WearOutfit() command to actually be backward compatible
* Marking packet block classes as sealed to match the wrapping packet classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3172 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-25 08:18:50 +00:00
Latif Khalifa
4868f1df73 LIBOMV-727 Added an overload in GridProxyLoader SayToUser
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3170 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-24 08:57:03 +00:00
John Hurliman
8e3d1bb711 * Minor adjustment in CSJ2K to dispose MemoryStreams when it creates them
* Replaced all Packet field properties with simple class members. Big internal change but no API difference
* TextureEntry GetBytes() now disposes the MemoryStream it creates
* Added LocklessQueue.Count and LocklessQueue.Clear()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3169 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-24 07:10:47 +00:00
Jim Radford
57e1fef9d5 GridProxy/WinGridProxy cleanup: remove cruft xmlrpc (OpenMetaverse.dll a required dependency also requires XMLRPC.dll, so we'll use that instead of the older version)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3165 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-22 06:31:49 +00:00
Jim Radford
a652096f4c WinGridProxy: properly handles SocketException when we shutdown the proxy, and an ObjectDisposedException which was causing endless loops
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3164 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-22 05:42:24 +00:00
Jim Radford
0f8677cee9 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in AvatarManager
* BREAKING CHANGE * this is a major shift in the way events are internally handled.
* TODO: need to complete the EventArgs class documentation
* Adds new TestClient commands "play" to play animations, and bots to detect other bots.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3163 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-22 04:29:25 +00:00
Jim Radford
b0cb77e1e5 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in GroupManager
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3162 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-20 20:18:03 +00:00
Latif Khalifa
38b5b37355 Update wear command to work with the new appearance maanger.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3158 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 23:50:07 +00:00
Jim Radford
039dad5149 Fixes some TODO: items in GridManager, implements known MapItem classes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3156 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 08:21:41 +00:00
Jim Radford
3902497f54 LIBOMV-686 Implements new event pattern style in GridManager to conform with standard best practices guidelines
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3155 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 04:41:07 +00:00
Jim Radford
c2e6ba227a WinGridProxy Feature: Adds new Export command to file menu to allow exporting the decoded packet and message output for post processing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3154 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 03:13:39 +00:00
Jim Radford
bee710bd57 LIBOMV-720 Adds network utilization tracking, example TestClient command 'netstats' included to display the results.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3152 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-18 00:08:20 +00:00
Jim Radford
e09e3f45b3 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in ParcelManager
* Changes some public method names to match patterns used through library, namely requests that have an event are named with Request as a prefix
* Add Key2Name TestClient command for resolving group and avatar names based on a UUID
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3151 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-17 05:50:51 +00:00
Jim Radford
a00b158dc0 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in FriendsManager
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3149 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-16 07:23:18 +00:00
Jim Radford
ba491c6a63 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in AgentManager
* Many other code cleanups and example updates
* BREAKING - this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3145 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-16 02:53:53 +00:00
John Hurliman
dc22693b61 * Added more packets to the unused packets list
* Exposed UDPBase.udpPort

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3142 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-13 21:29:25 +00:00
Latif Khalifa
d5fff1abc1 LIBOMV-712: TerrainManager updating Wind from Wrong Simulators
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3141 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-10 21:54:21 +00:00