Commit Graph

640 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
9f8d0d49f0 LIBOMV-725: properly encode float values with en_us locale
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3161 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-20 13:45:33 +00:00
Latif Khalifa
0c8ef17cdb Abort attempts to upload appearance if we get disconnected in the meanwhile.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3157 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-19 22:27:58 +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
c7b297c448 LIBOMV-720 this file might be important too for the previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3153 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-18 00:10:43 +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
7870cfb75f LIBOMV-686 Remove some cruft left in after prior changes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3150 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-16 07:36:31 +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
Jim Radford
0567a983fc LIBOMV-671 Adds Adult Event and Adult Land for sale fields to GridItemType enum to support additional "adult" functionality
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3144 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-15 20:27:50 +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
Jim Radford
22900a4e44 LIBOMV-686 Minor documentation cleanup for previous commit
* Excludes documentation generator from showing inherited and protected members of classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3140 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-10 07:19:26 +00:00
Jim Radford
d34730a019 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in DirectoryManager
* Completes Full documentation of DirectoryManager class
* Cleaned up Search Methods in DirectoryManager to be more developer friendly
* Adds Several TestClient commands related to DirectoryManager: searchgroups, searchland, searchpeople
* Adds a StructToString method to helpers to simplify parsing and printing Structs for debugging purposes
* Many other code cleanups
* BREAKING - this is a major shift in the way events are internally handled, Take a look at the newly added TestClient commands for example code that implement this pattern.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3139 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-10 06:38:07 +00:00
Latif Khalifa
870ce77bfe One of the final touches towards finishing LIBOMV-640
Delay rebake on manual outfit changes by 20s since the last change.
The application writer can still call RequestSetAppearance(true) after
changing full outfit if they wished to skip the delay.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3138 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-09 02:44:06 +00:00
Jim Radford
3b6ab9e14d LIBOMV-706 Move lock location to prevent attempt to lock on a possibly null field, Thanks Douglas R. Miles
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3137 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-09 01:57:55 +00:00
Latif Khalifa
e8e76e5c27 Misc docu fixes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3136 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-08 14:52:56 +00:00
Jim Radford
371fde3dbb LIBOMV-671 Adds adult flag to login options to enable age verified accounts to obtain adult specific content and results from searches
* Adds additional inline documentation for DirFindFlags, flags in this enum without inline comments do not appear to be in use any longer
* Additional DirectoryManager documentation added
* Adult specific result/query implemented for all DirectoryManager public Methods
* Additional Decoders added to PacketDecoder for EventFlags
* New TestClient command for searching Places 

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3133 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-08 02:56:37 +00:00
Jim Radford
f1ff73cc46 * Updates to DirectoryManager, specifically Classified Ads that add missing adult rating functionality for queries, adds an enum to interpret flags in replies
* Adds additional documentation to both ParcelManager and DirectoryManager
* Adds Example TestClient command to search classified ads
* Updates to PacketDecoder to better interpret some additional flag fields

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3132 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 20:13:33 +00:00
Jim Radford
3f3c4e182f LIBOMV-576 Merged ClientHelpers and Helpers classes, ClientHelpers methods can once again be directly accessed through the static Helpers class.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3130 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 03:47:02 +00:00
Jim Radford
acdb971f13 LIBOMV-576 Removing OpenMetaverseCore library, items combined back into OpenMetaverse.dll due to the insane amount of circular dependencies throughout the library. Reference to "OpenMetaverseCore.dll" is no longer required.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3129 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 03:35:29 +00:00
Latif Khalifa
b9e39332c8 LIBOMV-710: Check friend's online status after they accept our friendship offer
LIBOMV-711: fixed OfferFriendship()


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3128 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-07 00:38:59 +00:00
Jim Radford
ae33a33aff LIBOMV-701 Corrects PickInfoUpdate method to use passed GlobalPosition parameter properly.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3127 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-06 07:22:15 +00:00
Jim Radford
c84de4e684 LIBOMV-623 Corrects issue with avatar location when simulator changes, Thanks Douglas R Miles for the patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3125 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-06 00:09:53 +00:00
Jim Radford
2d37ccf9eb LIBOMV-704 Implements handlers for RebakeAvatarTextures packet to request the agent update the current simulator with its appearance.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3124 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-05 22:39:38 +00:00
Jim Radford
8e91717f32 LIBOMV-671 Adds additional DirFindFlags required for querying adult items in the DirectoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3123 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-05 21:56:55 +00:00
John Hurliman
eff1ff4b41 * Cleaned up the CSJ2K source (removed unnecessary projects and an unused file) and added it to prebuild.xml
* Fixed a typo in OpenJPEG.J2KLayerInfo (only affected debug display)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3118 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:09:52 +00:00
Jim Radford
85600c973e Minor update to RequestImage documentation to clarify DiscardLevel and Priority arguments.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3116 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-30 23:15:15 +00:00