Commit Graph

612 Commits

Author SHA1 Message Date
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
John Hurliman
931c71bed4 Minimized locking scope on _Transfers dictionary in TexturePipeline
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3115 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-28 18:28:28 +00:00
Jim Radford
291b099836 LIBOMV-698 Makes Startup() and Shutdown() methods public in TexturePipeline for users wishing to manage the texture pipeline thread manually or use it outside of the main GridClient instance.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3114 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-28 04:49:48 +00:00
Jim Radford
c9ba7520b4 LIBOMV-696 Adds support for DirLandReply messages to be handled when arriving via Capabilities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3113 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-27 20:19:45 +00:00
Latif Khalifa
679f12a6dc Avoid locking up appearance manager by looking up its status.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3109 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-05 16:58:37 +00:00
Latif Khalifa
4fcd8e6b77 * Added new public methods: AddToOutfit() and RemoveFromOutfit()
* Added helper methods  DecodeWearableParams() and SendAgentIsNowWearing()
* Force full rebake on appearance changes
TODO: Maintain hashes of wearables in the same fashion they are
kept for cached responses from the sim so we can rebake only
the layers that need rebaking and not all 6

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3108 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-05 15:43:10 +00:00
Latif Khalifa
95be84a50a LIBOMV-685 : Unblock downloads sooner when packets arrive out of order
Signal when header is received
Use ManualResetEvent instead of Auto since once signaled we never need to wait for the same header again

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3105 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-24 21:49:33 +00:00
Latif Khalifa
30b276a095 LIBOMV-684 Added support for searching places
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3104 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-24 14:23:02 +00:00
Jim Radford
1e6eb93a07 LIBOMV-682 Adds SetObjectsGroup method to ObjectManager which allows you to set a list of object LocalID's group field Thanks Doug Miles for finding the missing LinQ!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3103 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-23 22:35:02 +00:00
Jim Radford
33d3963e8c LIBOMV-681 Part 2, Updates .NET Wrapper for openjpeg, updates 32 and 64 bit binary versions of the openjpeg dll
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3100 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-22 21:00:00 +00:00
John Hurliman
832aab14d8 Documentation typo fix
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3097 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-20 21:09:31 +00:00
Jim Radford
21fd29683e LIBOMV-652 Updates OpenJpeg Wrapper to utilise 64 bit dll when being called from a 64 bit machine
* Updates Linux OpenJpeg binaries for 32 and 64 bit (Still need to update osx/windows dll's)
* Adds dll map entries for mono to support proper libraries if called from either architecture
* BREAKING CHANGE - This renames the existing pinvoke methods used for calling openjpeg

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3094 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-20 04:14:17 +00:00
John Hurliman
4f7213d9b4 * Renamed WearOutfit() to ReplaceOutfit() to match what it is actually doing and finished an initial (untested) implementation of it
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3093 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-19 17:51:26 +00:00
Latif Khalifa
8b7570e314 * Always call RequestFetchInventory after successful inventory uploads
in order to keep Store synced. This removes .NET 3.5 specific dependency.
* BakeIndexToTextureIndex is now read-only, and specified size
  (hopefully this will keep it updated should number of bakes change)
* Missing doc param in AssetManager


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3092 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-19 07:25:30 +00:00
Latif Khalifa
c695414564 * Fixed LIBOMV-659 Rebaked textures not cached by the sim
* Added public bool property ManagerBusy so clients can tell
  if the appearance manger is busy
* Fixed documentation errors.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3090 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 13:47:22 +00:00
Latif Khalifa
4dc29d0f0b Fix documentation.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3089 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 13:34:03 +00:00
Latif Khalifa
bb421d5662 Added OnAppearanceSet event that signals when main appearance thread is done its work.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3088 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 10:09:01 +00:00
Latif Khalifa
6784c751d4 * Enable hair bake
* Skip alpha masks where visual param is 0 and mask is marked for skipping on 0 value

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3087 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-18 09:38:50 +00:00
Latif Khalifa
d3755f848a Implemented morph masks, the last missing layer in 5-later baked texture.
Agent Smith is no longer Mr. Tight Pants.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3086 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-17 23:23:12 +00:00
Latif Khalifa
cb58fed531 Tweak timing of uploads some more:
* Try uploading bake twice with 90 sec timeout
  instead of once with 180 sec timeout
(Produces more reliable results in testing with
some packet loss + high latency)

* Catch exception thrown when upload fails to start
in the correct place.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3085 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 12:28:59 +00:00
Latif Khalifa
c0d367919c Tweah head bake:
* Skin is drawn last on the head
* Apply hair pattern on top of the hair texture

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3084 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 12:05:50 +00:00
Jim Radford
c5a2f8bbfd LIBOMV-672 Adds UDP Handlers for AgentGroupDataUpdate Packets for backwards compatibility with OpenSim. Thanks Douglas Miles for the Report.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3083 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 07:50:30 +00:00
Latif Khalifa
1082b97aeb * Increase Settings.TRANSFER_TIMEOUT to 3 min (yes it can take that long on higher latency link since we are waiting for ack before sending each new packet),
* Make TRANSFER_TIMEOUT non-cost
* Add more logging to ApperanceManger

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3082 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 02:24:16 +00:00
Latif Khalifa
66319e5597 * Use MAX_CONCURRENT_UPLOADS constant
* Catch exceptions from baker and asset manager in CreateBake()
* Increase timeouts so appearance setting on higher latency links is more reliable

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3081 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-15 01:44:52 +00:00
John Hurliman
5bd0aae867 * Inventory.RootNode and Inventory.LibraryRootNode now return null instead of throwing an exception. Properties should not throw exceptions
* Fixed unintended overriding of LindenMessages.AssetUploaderBlock.State
* Changed the disposable pattern of Simulator to match what MS code analysis suggested
* Added using { } blocks to lots of stream opening to ensure the streams are always closed before going out of scope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3080 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 23:45:52 +00:00
Latif Khalifa
aabac70fc6 Hair texture participates in baking of both head (eyebrows and facial hair) and hair bakes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3079 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 19:27:13 +00:00
John Hurliman
76309aed8f Forgot to change ARGB to RGBA when switching from Color to Color4. Tinting appears to be correct now (from my limited testing)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3078 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 15:38:22 +00:00
John Hurliman
04f920aea9 * Helpers.GetResourceStream() now uses the executable directory + openmetaverse_data as the path for finding resources instead of current directory + openmetaverse_data
* Added add, subtract, multiply operators to Color4
* Switched baking to use Color4 instead of System.Drawing.Color
* Untested implementation of multiply and add color operations in baking

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3077 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-12 06:11:36 +00:00
John Hurliman
52ed43a9fd Reverting the conversion to the .NET 2.0 method of overriding SSL checks. Even though the new method now compiles on Mono, it will still throw a runtime exception
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3065 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-06 17:51:16 +00:00