Commit Graph

161 Commits

Author SHA1 Message Date
nopjmp
2c063c2afe Fix bug with how CancellationTokenSource works.
* CancellationTokenSource needs to be Disposed
2019-10-26 17:11:55 -05:00
nopjmp
b3d63cf2ef Queue multiple textures if we have room
Additionally, fix a potential bug where a thread is not running and does
not update the State to Progress, so we want to count them as active.
2019-10-26 16:56:09 -05:00
nopjmp
5ba7da70a9 Cleanup BitPack a little bit 2019-10-26 16:38:51 -05:00
nopjmp
7a4588e65a Remove custom Queue implementations
* Additionally use a SemaphoreSlim for checking queue size and waiting
* Use ConcurrentQueue for most things
2019-10-26 16:38:51 -05:00
nopjmp
060ae94000 Remove custom Lazy and make PacketDecoder's Dict Lazy<> 2019-10-26 16:38:51 -05:00
nopjmp
ed227a272c Remove custom Parallel class 2019-10-26 16:38:51 -05:00
nopjmp
fbc85d8436 Refactor PacketDecoder since we don't need decoder callbacks 2019-10-26 16:38:51 -05:00
nopjmp
77289bac0c Clean up two warnings
* Node.Name was unused/unassigned
* Silence AssetType.Script is Obsolete in AssetTypeToString
2019-10-25 10:52:37 -05:00
nopjmp
88a05fbb3a Switch to Microsoft's MultiValueDictionary
While we are here, clean up AppearanceManager usage of memory.

* Modify some List operations to Linq
* Copy through construction
2019-10-25 10:49:04 -05:00
nopjmp
44feb64f46 Clean up UDP Packet buffers 2019-10-25 10:46:20 -05:00
Cinder Biscuits
2442576b3a Set canonical source to github, which is better supported by AppVeyor 2019-10-23 10:27:59 -05:00
Cinder Biscuits
c715884c8a Convert LibreMetaverse projects to be solely .NET Standard 2.0 and 2.1 2019-10-22 08:05:39 -05:00
nopjmp
712f51360d Upgrade to .NET Framework 4.7.1
This shouldn't harm other users, but Mono users will need to update their runtime to include the new .NET Standard 2.0 functions that are being used.
2019-10-21 13:32:36 -05:00
nopjmp
46e947a64b check if Windows before trying IOControl 2019-10-21 12:34:47 -05:00
Cinder Biscuits
40bb44e44b Remove XML assembly files 2019-10-21 06:36:09 -05:00
nopjmp
4165859701 move a few things to ThreadPool
We are leaving a few of the threads out there as they need to always run
2019-10-20 23:56:44 -05:00
nopjmp
6490a94acc Axe WorkPool
We do not want to support SmartThreadPool library anymore...
2019-10-20 21:22:13 -05:00
nopjmp
397f282d85 remove dead code for CapsEventDictionary
This is removing the CapsCallbackWrapper that uses ThreadPool.
2019-10-20 21:20:59 -05:00
nopjmp
1f96efd132 remove Thread.Abort() behavior and clean up EventQueueClient 2019-10-20 20:57:44 -05:00
Cinder Biscuits
8452b9a1d8 NUniqueHardwareID is not compatible with non-Windows systems, go back to MAC address for fingerprinting 2019-10-12 07:07:59 -05:00
Cinder
6edbf29a4c Cleaning 2019-10-08 20:20:32 -05:00
Cinder
5ebf8c835b Improve last Grab/Degrab commit 2019-10-08 19:08:50 -05:00
Cinder
058374098f Login improvements 2019-10-08 19:08:24 -05:00
Cinder
4b982cffdf According to LSL docu, TOUCH_INVALID_TEXCOORD should be returned when face texcoord touch is not supported, not ZERO_VECTOR 2019-10-08 16:02:43 -05:00
Cinder
dce01d2d1d Refine hardware thumbprinting on login 2019-10-06 09:48:41 -05:00
Cinder
a6f6c583c2 Fix TextureAnimation Rate param 2019-10-04 10:12:49 -05:00
Cinder
04d65231c3 Opts to TextureEntry 2019-10-04 10:01:18 -05:00
Cinder
53db835952 Update avatar_lad.xml and introduce support for new texture entries 2019-10-04 10:00:58 -05:00
Cinder
c0f1d4093a Pull some PacketDecoder changes from Ubit OMV 2019-10-04 08:46:12 -05:00
Cinder
e4bea4cb6b Minor change in GetBytes() 2019-10-04 08:33:23 -05:00
Cinder
580a0fd56e Update message_template and generate new _Packets_.cs file 2019-10-04 08:21:45 -05:00
Cinder
9f24b2c385 Increase scratch bake size to 1024x1024 inline with Second Life changes, other minor improvements to BakeLayer 2019-09-08 15:02:03 -05:00
nopjmp
5ce15e1bc2 Catch all exceptions for IOControl
On .NET Core, System.PlatformNotSupportedException is thrown instead of a SocketExcpetion. Catch all exceptions regardless of type.

System.PlatformNotSupportedException: Socket.IOControl handles Windows-specific control codes and is not supported on this platform.
2019-08-31 00:53:47 -05:00
Cinder
cfc8f47eb5 Tag all CapsClients with their respective names so we know just what in the hell is going on when something goes awry 2019-08-11 10:08:35 -05:00
Cinder
210a5feabb ViewerAsset capability HTTP asset fetching 2019-08-10 21:08:23 -05:00
Cinder
77a4303a1a Minor changes around AssetManager and DownloadManager 2019-08-10 12:20:31 -05:00
Cinder
31b590ccfd Add uploads region 2019-08-10 11:29:58 -05:00
Cinder
dc64b64e5a Move RequestMesh out of Texture Downloads #region 2019-08-10 11:28:48 -05:00
Cinder
3e68e843f3 Implement mesh fetch capabilities through ViewerAsset and GetMesh2 2019-08-10 11:25:48 -05:00
Cinder
67e5fa891d Implement ViewerAsset fetch for Textures 2019-08-10 11:13:51 -05:00
Cinder
e3e0b425ff Add missing caps to seed request 2019-08-10 08:38:09 -05:00
Cinder
106e85ec91 Locking fix in InventoryManager 2019-07-14 12:42:34 -05:00
Cinder
fab9b0f436 Fix AIS conflict errors 2019-07-14 12:42:03 -05:00
Cinder
a676fccb9b Implement AISv3 PurgeDescendants for Empty Folder functions 2019-06-30 21:30:37 -05:00
Cinder
428de5bc3d Once over on CapsBase 2019-06-30 21:30:36 -05:00
Cinder
95ece4fb36 Rudimentary parse AISv3 CreateInventory response 2019-06-30 10:55:28 -05:00
Cinder
e06daeb458 Fix crash on login 2019-06-30 10:41:00 -05:00
Cinder
687c1a0395 Add bool success/fail to AISv3 callbacks 2019-06-23 22:03:56 -05:00
Cinder Biscuits
8a0468c28b Trivial fix CamelCase LibreMetaverse in user-agent string 2019-06-23 20:55:10 -05:00
Cinder Biscuits
85bbdd313a AppearanceManager::ReplaceOutfit() now throws on sanity check fail to prevent updating bad wearables 2019-06-23 20:52:41 -05:00