Justin Clark-Casey
95171c877d
Rename DownloadManager.QueueDownlad() -> QueueDownload()
2014-10-28 23:50:59 +00:00
Justin Clark-Casey
01d07d5ab1
Fix regression where downloads via capabilities would never take place.
...
In 2208379 (Mon Aug 11 23:57:33 2014), DownloadManager.ParallelDownloads was accidentally set to 0 instead of 8.
This commit also try/catches the parallel part of AppearanceManager.DownloadTextures()
2014-10-28 23:43:44 +00:00
Latif Khalifa
ae112d56fb
Update copyright notices
2014-02-25 15:31:10 +01:00
Latif Khalifa
73f1e954d8
Merge branch 'master' of https://github.com/aurora-sim/Aurora-LibOMV
2013-11-05 19:55:30 +01:00
Latif Khalifa
f1b8fcaf47
Added ability to use SmartThreadPool
2013-07-18 20:00:11 +02:00
Revolution Smythe
4466e0c9db
Merge branch 'master' of git://github.com/openmetaversefoundation/libopenmetaverse
...
Conflicts:
bin/log4net.dll
2013-03-06 21:05:49 -05:00
Latif Khalifa
5c2c1638e4
Increase the capacity of the buffer for tracking incoming seen messages.
...
Fixed enum typo
2013-02-02 04:02:13 +01:00
Latif Khalifa
3586f59aee
Added metod for downloading server side bakes
2012-12-24 05:38:48 +01:00
Revolution Smythe
fdcb8c9ab5
Commit better archiving pieces.
2012-07-27 13:47:36 -04:00
Douglas R. Miles
ffb9a5cdc5
Using patch from http://jira.openmetaverse.org/browse/LIBOMV-942
2012-06-02 15:01:27 -07:00
Douglas R. Miles
acf5ef4dbd
Added AssetCallingCard + one extra wrapper for future assetTypes
2012-05-30 14:16:06 -07:00
Latif Khalifa
a6a337e0a9
Reverting patch fot LIBOMV-929:
...
jhurliman: the reason it used the packet number * 1000 is because packets can show up out of order. if you get packet number 5 before packet number 4, the old code would correctly put the data at download.AssetData[5000] where the new code would put it at download.AssetData[4000] (which would get overwritten by the next packet and leave a gap of empty bytes at [5000-5999]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3597 52acb1d6-8a22-11de-b505-999d5b087335
2011-12-08 23:41:39 +00:00
Latif Khalifa
1d4e10e7c6
LIBOMV-929: When processing asset TransferPackets,
...
use the existing AssetDownload.Transferred count to
copy the new data into AssetDownload.Data rather than
assuming 1000 bytes
Patch by: Justin Clark-Casey
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3594 52acb1d6-8a22-11de-b505-999d5b087335
2011-12-02 08:02:47 +00:00
Latif Khalifa
b190b0b542
Prune duplicate request for texture downloads and just register callbacks instead of making a full request.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3553 52acb1d6-8a22-11de-b505-999d5b087335
2011-07-09 11:32:09 +00:00
Latif Khalifa
ea8107937c
LIBOMV-874: Added support for GetMesh cap (untested)
...
* Added stub MeshAsset
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3450 52acb1d6-8a22-11de-b505-999d5b087335
2010-10-15 00:01:17 +00:00
Latif Khalifa
549cf94404
LIBOMV-838: Added support for HTTP texture downloads
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3436 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-20 10:45:09 +00:00
Latif Khalifa
83879260cc
LIBOMV-823: First "single packet" asset upload blocks all subsequent asset uploads
...
Patch by Kurt Schlager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3314 52acb1d6-8a22-11de-b505-999d5b087335
2010-05-05 05:48:57 +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
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
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
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
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
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
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
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
79684bd8eb
Added an overload to AssetManager.RequestAsset() that takes a transactionID
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3044 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 23:23:14 +00:00
John Hurliman
ee7bb90907
Implemented UDP fallback for RequestUploadBakedTexture()
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3042 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 21:53:32 +00:00
John Hurliman
c1bc0b4af6
* Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
...
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00
John Hurliman
820d447672
* Labeled magic number for transfer timeouts in AssetManager and changed the value from 5 to 15 seconds
...
* Fixed [LIBOMV-649] by implementing the CAPS path for copying an item from a notecard. UDP fallback was left in
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3031 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-27 19:54:08 +00:00
Jim Radford
a4242c1a0d
* Corrects some compile warnings caused by out of sync xml documentation
...
* Updates Doc Builder tool to support the OpenMetaverseCore library
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3023 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-24 08:25:28 +00:00
Jim Radford
b60db797b2
LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +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
a1685ca431
Missing bit of LIBOMV-629 patch
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2983 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-14 16:16:29 +00:00
John Hurliman
9ff8cdca27
* Fixed StatusCode.InsufficientPermissiosn typo
...
* Added an overload to AssetManager.RequestAsset() that lets you specify the SourceType
* Modified notecard serialization so embedded items should match the SL viewer serialization byte for byte
* Notecard upload CAP failures will pass along the WebException error message to the callback in case of a failure now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2961 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 16:23:26 +00:00
John Hurliman
7cd73c1d28
* More AbortXfer cleanup
...
* Fixed a crash from a failed notecard upload
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2951 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-09 22:24:04 +00:00
John Hurliman
0e382f0657
Added handling for AbortXfer packets, which will trigger OnXferReceived with Success=false
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2949 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-09 19:44:02 +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
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
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
Jim Radford
de09b09384
LIBOMV-483 Implements support for AssetLandmark Type, Thanks Josh Eno for the patch
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2591 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-10 21:43:15 +00:00
John Hurliman
f48c9922e9
* Added OpenMetaverse.Messages.Linden and OpenMetaverse.Messages.Simian namespaces to hold LLSD serialized messages. The dawn of a new era for libomv!
...
* Changing LLSD JSON serialization to match the draft at http://tools.ietf.org/html/draft-hamrick-llsd-00 (first breaking change since 0.6.0)
* Moving some enums out to OpenMetaverseTypes.dll
* Adding conversion methods to go to and from the newly moved enums
* Moved Parcel enums out to the main namespace
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2588 52acb1d6-8a22-11de-b505-999d5b087335
2009-04-09 01:17:40 +00:00
Jim Radford
8b2f3b6df8
* Fixed verbosity error in notation unit tests
...
* Disabled Network Tests in Automated builds
* Fixed minor compile time warning due to XML comment mismatch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2547 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-27 17:33:54 +00:00
Jim Radford
2180899da3
LIBOMV-180 Adds support for uploading terrain raw files, includes new TestClient uploadterrain command.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2545 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 22:56:44 +00:00
Jim Radford
a9e38221f3
LIBOMV-180 Adds packet handler for InitiateDownload packet which the simulator sends in response to a request for a raw terrain download via the EstateMessage packet
...
Adds new downloadterrain TestClient Command
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2539 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-25 21:39:24 +00:00
Jim Radford
63517c20c2
LIVOMV-451 Prevent DiscardLevel from being set to below 0 which can cause transfers to be very slow on busy simulators Thanks Snowdrop Short for the patch
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2495 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-18 18:11:31 +00:00
John Hurliman
3ad7551a4a
* Added Utils.EmptyBytes which is equal to new byte[0] and replaced all references of new byte[0] to Utils.EmptyBytes
...
* Added a CRC32 implementation to OpenMetaverseTypes.dll
* Added ToBytes() functions to most of the OMV types for writing bytes into an existing byte array
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2470 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:32:02 +00:00
John Hurliman
8f7775a7ac
[LIBOMV-448] Applying a patch from Snowdrop Short to allow the TransactionID to be specified for asset uploads
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2445 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-18 19:07:06 +00:00
Jim Radford
e1f7110a46
LIBOMV-434 Applies patch from Robin Cornelius - AppearanceManager - corrects cached bake issues, work in progress
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2415 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-14 11:29:29 +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