Commit Graph

2721 Commits

Author SHA1 Message Date
Jim Radford
d072a615ee * Clarify documentation in InventoryManager
* Allow the destination folder for InventoryItems offered to be set in the callback, will use the Default folder for the type of asset being sent if not set
* Couple minor fixups in PacketDecoder for the BinaryBucket field in the ImprovedInstantMessage packet
* Remove GroupTitle field from EventQueue decoder for the AgentGroupDataUpdateMessage, this is something opensim hacked in but its not used by the client so we'll just ignore it
* Added copyright header to TerrainCompressor.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3216 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-07 14:57:56 +00:00
Jim Radford
5e9c50c254 Fix FormatException error when a Zerocode exception is thrown
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3215 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-06 18:24:49 +00:00
Latif Khalifa
6ab38aceea Added an overload for group search, in the similar fashion to places search, to allow flags to be specified. By default search all groups (no filtering on maturity level)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3214 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-06 15:17:35 +00:00
6d011eba21 Added .Simulator property to ViewerEffectPointAtEventArgs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3213 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-05 23:39:29 +00:00
Jim Radford
612c0c5edc LIBOMV-747 Corrects IsAttachment property assignment from wrong variable. Thanks Eves Sinister for the catch!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3212 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-04 21:32:20 +00:00
Jim Radford
4837c29444 LIBOMV-744 Adds support for AvatarGroups capability sent by OpenSim
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3211 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-03 10:23:53 +00:00
Latif Khalifa
356c523cff LIBOMV-743: Avoid nuking existing attributes when SetExtraParamsFromBytes() is called. Patch by Douglas R. Miles
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3210 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-03 09:33:21 +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
Latif Khalifa
f38e73eba1 LIBOMV-738: Update tracked objects/avatars from ImprovedTerseObjectUpdateHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3207 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-03 07:56:34 +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
Latif Khalifa
ce737fbbc9 Avoid crashing when attempt to enable voice is made, but there are no microphones attached to the system,
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3204 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-02 20:10:34 +00:00
a47806d04c Fixes previous commit (merge error)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3203 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-02 02:30:24 +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
Latif Khalifa
73ab9427f1 LIBOMV-741: AnimationList and AnimationSourceList are not necessarily the same length.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3201 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-01 08:29:31 +00:00
Latif Khalifa
dd76b0c01a Removed duplicate entry.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3200 52acb1d6-8a22-11de-b505-999d5b087335
2009-11-01 07:38:02 +00:00
Latif Khalifa
942c6e17fe Avoid raising Disconnected event twice, both in KickUserHandler(), and later in Shutdown().
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3199 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-31 14:52:02 +00:00
Latif Khalifa
9f1870983e LIBOMV-739: Support for Client Identification Tag
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3198 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-31 13:10:58 +00:00
Latif Khalifa
559198b74b Turns out we were setting Login Success the correct place after all, after successful call to NetworkManager.Connect()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3197 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 10:15:43 +00:00
Latif Khalifa
18b957edcb Move the Success stage of connection sequence to after we have the current sim.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3196 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 09:17:17 +00:00
Latif Khalifa
459b8a4a84 Put EventArg classes in main OpenMetavarse name space.
Better name for AppearanceSet event, since we are actually not waiting for any reply from the server.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3195 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 08:03:14 +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
John Hurliman
a8a41e8044 Improved unit testing for ToBytesMultiple(). This catches at least one error that needs to be fixed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3193 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 06:34:13 +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
b166a14417 LIBOMV-686 Adds some additional API documentation for ObjectManagers events
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3190 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-30 00:53:19 +00:00
Jim Radford
96734383b4 LIBOMV-686 ObjectManager cleanup: Fixes up inline API Documentation, adds additional Simulator parameter to public methods for consistency and to allow for using those methods on neighboring simulators, not just the current simulator.
LIBOMV-705 Cleans up some API documentation in AppearanceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3189 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 23:53:17 +00:00
Jim Radford
61a5bd2b1a LIBOMV-705 Updates AppearanceManager to new event patterns, Thanks Douglas R. Miles for the patch!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3188 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 09:47:57 +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
John Hurliman
e78f2e8b66 Attempting a fix for the previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3186 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 06:42:40 +00:00
John Hurliman
122c063994 Cache UUID.Zero.ToString() to avoid a common string creation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3185 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 06:28:31 +00:00
John Hurliman
dbd8e0aa8a * Added Quaternion.ApproxEquals()
* Slight speed improvement to all of the ApproxEquals() functions by avoiding Math.Sqrt()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3184 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 20:51:48 +00:00
Latif Khalifa
9f18df9d76 LIBOMV-733: Make sure components parts are within 0-1 range
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3183 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 10:07:13 +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
Latif Khalifa
89cf6ccad0 Start deamon in it's own directory.
Use correct address family.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3181 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-28 00:58:57 +00:00
Latif Khalifa
35ae8d25f1 LIBOMV-732: Added missing voice event handlers (patch by Mojito Sorbet)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3180 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-27 19:19:16 +00:00
John Hurliman
e2aa580f7e Basic sanity checking in UUID.TryParse() to avoid throwing and catching exceptions for most failed parses. Improves the speed of UUID.TryParse() when false is returned
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3179 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-27 18:34:15 +00:00
Jim Radford
c7b69243a5 LIBOMV-686 ObjectManager cleanup: remove cruft code, update inline API documentation to reflect recently removed events and new options
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3178 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-27 07:38:46 +00:00
Jim Radford
da0e90fb7c LIBOMV-686 More improvements to ObjectManager, removed Attachment related updates in favor of a boolean in PrimEventArgs to show if a prim is normal is is attached to an Avatar
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3177 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-27 07:26:28 +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
John Hurliman
4f93ee2e1b Added AppearanceManager.WearOutfit() to keep the API a little bit more backward compatible. This function simply calls ReplaceOutfit() or AddToOutfit()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3171 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-25 07:58: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
Latif Khalifa
ddcaf11908 Raise only one event per incoming GroupNoticesListReply packet.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3168 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-24 06:39:21 +00:00
Jim Radford
6d497fa230 Fixes error causing build to fail due to refactor and not updating a method name.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3167 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-23 05:18:14 +00:00
Jim Radford
04f601ceb7 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in SoundManager
* Updates some options in documentation builder
* Adds static Sounds class containing all the pre-defined viewer sound assets
* Corrects some protection levels in AgentManager where some event delegates were left public which is counterproductive to the way the patterns work

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3166 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-23 05:08:11 +00:00