Commit Graph

28 Commits

Author SHA1 Message Date
Latif Khalifa
f1b8fcaf47 Added ability to use SmartThreadPool 2013-07-18 20:00:11 +02:00
Latif Khalifa
cd5b0774c3 LIBOMV-707: TexturePipeline - PacketSeen Dictionary throws null argument exceptions - Masking a ConcurrentModificationException
Patch by Douglas R. Miles

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3375 52acb1d6-8a22-11de-b505-999d5b087335
2010-06-29 13:56:23 +00:00
Latif Khalifa
1141de84d4 LIBOMV-810: Do some sanity checks instead of blindly running into exceptions. Patch by Elric Ember
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3274 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-13 11:31:12 +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
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
Latif Khalifa
0740cc301b LIBOMV-618: Avoid starting the same thread more than once in case of relog
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3014 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 01:03:12 +00:00
Latif Khalifa
a4c8f8bba5 LIBOMV-639:
* Renamed TextureCache to AssetCache
* Plugged in new cache into AssetManager
* Removed OnAssetReceived global event from AssetManger
* RequestAsset and RequestInventoryAsset now take a delegate of type AssetReceivedCallback


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3004 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 03:38:27 +00:00
Latif Khalifa
de0e00a1f0 LIBOMV-636: Dereference timers so GC can collect GridClient and managers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2998 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-17 16:54:45 +00:00
Latif Khalifa
6fd835add6 Attempt to fix timeouts not being reset when data is received
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2901 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-17 00:53:56 +00:00
John Hurliman
74d8e8b8c6 Pass the correct parameters to RequestImage() when a new texture download is started in TexturePipeline
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2899 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 20:59:23 +00:00
John Hurliman
70a756a221 Experimental patch to TexturePipeline to try and avoid overwriting transfer state when a new download is started. Needs feedback
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2898 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 20:39:31 +00:00
John Hurliman
5d51b6128b * Avoiding multiple dictionary lookups in TexturePipeline by using TryGetValue when possible
* TexturePipeline will now automatically increase priority by 5% on texture timeouts instead of decreasing DiscardLevel

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2897 52acb1d6-8a22-11de-b505-999d5b087335
2009-06-16 20:02:22 +00:00
Jim Radford
7fc4df27cb LIBOMV-553 Fix for exception being thrown in TexturePipeline due to event argument being instantiated each time during a foreach loop, Thanks to Dahlia for the bug report!
* Made lockerObject an instance variable

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2826 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-28 00:58:52 +00:00
Jim Radford
fdc6fc6a8d corrects TexturePipeline startup issue under mono which caused the DownloadThread to exit immediately.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2767 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 00:40:01 +00:00
John Hurliman
a970cbd661 Initial commit of the OpenMetaverse.Assets namespace. Serialization/deserialization for new PrimObject is done, but OAR saving/loading is still a work in progress
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2746 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 00:07:35 +00:00
Jim Radford
1331591d27 MLIBOMV-505 moving progress callback outside of Progressive download check loop to allow partial progress updates for the download progress event.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2726 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 02:52:55 +00:00
Jim Radford
ade2d9a2bf LIBOMV-505 Turning OFF timing debug I accidentally left on during the last commit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2722 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:10:10 +00:00
Jim Radford
24c283e121 LIBOMV-505 changes internal callback to a list of callbacks so duplicate texture requests both get the calbacks passed fired.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2721 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-09 00:06:10 +00:00
Jim Radford
07f8bfad06 LIBOMV-505
* Adds Delegate and Event for tracking the progress of textures being downloaded via the TexturePipeline class.
* Temporarily fixes noisy developers


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2718 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 21:26:14 +00:00
Jim Radford
9bed5f15f9 LIBOMV-501 Pass 1: Cleanup of compile time warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2713 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 07:32:49 +00:00
John Hurliman
545e8c97bd Added TexturePipeline.TransferCount getter property
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2711 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 06:57:39 +00:00
John Hurliman
85f09236ee * Removing ultra-noisy debug line from TexturePipeline
* Removing the WinGridProxy Plugin menu command hookup since the function didn't exist

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2704 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 19:00:43 +00:00
Jim Radford
59c8c38eba LIBOMV-505 Turning off timing checks by default, minor cleanup of AppearanceManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2700 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:20:57 +00:00
Jim Radford
14869cab48 LIBOMV-505 Merge in jradford-texturepipeline branch
This changes the way texture requests are handled, the AssetManager
RequestImage method signatures have been changed and are now expecting
the callback with the request.
Progressive requests for textures are supported for rendering viewers
Tuning parameters have been moved to Settings


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2699 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:10:52 +00:00
John Hurliman
1df78cb074 * Split up asset store and transfer manager in Simian into two extensions
* Added PeriscopeTransferManager to handle animation and sound transfers
* Misc. transfer bugfixes in libomv
* Misc. improvement to TexturePipeline and some numbers tweaking
* Attempted to pass object touch events through to foreign grid in Periscope, may not be working
* Added new chat commands in Periscope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2385 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-19 03:39:29 +00:00
John Hurliman
194752abc1 * Moved TexturePipeline into libOpenMetaverse (still needs to be instantiated separately)
* Moved TextureCache into its own file
* New version of Periscope, major improvements. Check the Simian.ini file for usage, and change the const values in Periscope.cs
* Lots of miscellaneous cleanups and improvements in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2383 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-17 03:49:42 +00:00