Commit Graph

986 Commits

Author SHA1 Message Date
Justin Clark-Casey
0f4b361c34 minor: If logging due to a duplicate GridClient received packet then add name of source simulator and client name where appropriate. 2014-09-24 23:07:38 +01:00
Latif Khalifa
5b1377b70d Merge pull request #12 from MelanieT/master
Add SeeAVs, AnyAVSounds and GroupAVSounds fields to ParcelPropertiesMess...
2014-08-12 03:22:21 +02:00
Melanie Thielker
e67f5ea794 Add SeeAVs, AnyAVSounds and GroupAVSounds fields to ParcelPropertiesMessage and ParcelPropertiesUpdateMessage 2014-08-12 03:19:46 +02:00
Justin Clark-Casey
2208379c90 Introduce Settings.HTTP_MAX_CONNECTIONS to regulate maximum connections to specific endpoints for capability requests.
Previously, CapsBase.SetupRequest() hardcoded this to 32 and DownloadManager.ParallelDownloads was setting this with a default value of 8.
This meant that the ConnectionLimit would oscillate rapidly between these two figures as requests were made.
On Mono 3.2.8 and quite possibly other Mono, this appears to increase the chance that the VM will crash under heavy request load.
This commit makes both SetupRequest() calls use the static Settings.HTTP_MAX_CONNECTIONS - other static settings already exist, and so also makes this configurable.
DownloadManager.ParallelDownloads remains a separate setting since it also governs max parallel downloads through a separate coded mechanism.
2014-08-11 23:57:33 +01:00
Justin Clark-Casey
7b094a35dd Handle incoming caps events sync rather than async to avoid unexpected out-of-order processing
Under moderate or greater CPU load, pushing to the threadpool means that events such as EstablishAgentCommunication may be processed before EnableSimulator
even though the simulator sends them in the reverse order.
This triggers the logging of various errors and warnings by libomv.
Handling these synchronously shouldn't have a huge impact since the number of events is not high and taking time here can only hold up event upload
2014-08-04 22:14:04 +01:00
Justin Clark-Casey
5f94bda11f Dispose of HttpWebResponse explicitly in CapsBase.GetResponse()
Current code does not but all IDiposable objects should be disposed.
2014-08-04 20:26:10 +01:00
Latif Khalifa
adb43fa1fe LIBOMV-981: Inventory Item name is lost on move using InventoryManager.MoveItem
Patch by: Blake Bourque
2014-08-04 20:26:10 +01:00
Latif Khalifa
2a712ae09c Mesh upload: moved collada library into it's own namespace 2014-08-04 20:26:10 +01:00
Latif Khalifa
941dc830ca Mesh upload: request inventory fetching of the newly created item 2014-08-04 20:26:10 +01:00
Latif Khalifa
1b4cfd959d Mesh upload: added image upload along with the models 2014-08-04 20:26:10 +01:00
Latif Khalifa
517013caa3 Added support for quads in meshes, fixed normals 2014-08-04 20:26:10 +01:00
Latif Khalifa
f00c274ebd Speedup generation of indices 2014-08-04 20:26:10 +01:00
Latif Khalifa
7e4bdad41a Better hashcodes for Vectors and Vertices 2014-08-04 20:26:10 +01:00
Latif Khalifa
606834e9cf Documented ModelUploader, added ability to just do price check 2014-08-04 20:26:10 +01:00
Latif Khalifa
fff348d2cd Added license stub 2014-08-04 20:26:10 +01:00
Latif Khalifa
0481c2b2d9 Collada parser and model uploader. Work in progress.
Sample code:

            var parser = new OpenMetaverse.ImportExport.ColladaLoader();
            var prims = parser.Load(o.FileName);
            if (prims != null && prims.Count > 0)
            {
                var uploader = new OpenMetaverse.ImportExport.ModelUploader(client, prims);
                uploader.PrepareUpload();
            }

Note that PrepareUpload performs the upload as well in this initial stage.

TODO:
* Image upload
* Support for quads in addition to triangles
2014-08-04 20:26:10 +01:00
Latif Khalifa
bbe7b39621 Added Helpers.ZCompressOSD() and Helpers.ZDecompressOSD() 2014-08-04 20:26:10 +01:00
Latif Khalifa
bf95c23d7b Line endings 2014-08-04 20:26:10 +01:00
Latif Khalifa
d2fa743466 Fixed http inv. fetch on opensim 2014-08-04 20:26:10 +01:00
Latif Khalifa
d41da682e8 Added Collada 1.4.1 parser generated from XSD spec with some manual tweaks 2014-08-04 20:26:10 +01:00
Latif Khalifa
78b72c9866 Merge branch 'master' of github.com:openmetaversefoundation/libopenmetaverse 2014-05-18 08:30:35 +02:00
Latif Khalifa
9a4bbcc776 Guard against CurrentSim being null 2014-05-18 08:29:48 +02:00
Latif Khalifa
75664e468b LIBOMV-973: Added support for Group Bans functionality 2014-03-15 04:58:36 +01:00
Latif Khalifa
3b06902a27 Parsed a few more params from the login response 2014-03-05 00:20:11 +01:00
Latif Khalifa
899243a7b4 LIBOMV-969: Added ability to set maturity access level 2014-03-05 00:19:26 +01:00
Latif Khalifa
ae112d56fb Update copyright notices 2014-02-25 15:31:10 +01:00
Latif Khalifa
bbeac25e20 Merge branch 'master' of https://github.com/shyrobbiani/libopenmetaverse 2014-02-24 20:10:06 +01:00
Latif Khalifa
986130e845 Move version to 0.9.3-dev 2014-02-24 08:31:16 +01:00
Latif Khalifa
ca8e7babde Version 0.9.2 2014-02-24 06:50:47 +01:00
Latif Khalifa
ba338225b9 Make mesh asset header available to the client 2014-02-23 16:29:34 +01:00
Latif Khalifa
59280cfe3e Make everybody's life easier, use the same zlib Opensim uses 2014-02-23 03:39:30 +01:00
Latif Khalifa
9b8c017ab9 Allow code to be compiled inside OpenSim solution 2013-11-16 04:47:00 +01:00
Latif Khalifa
7ae74674a0 Add flags for glow and blend func when converting to bytes 2013-11-07 03:57:26 +01:00
Latif Khalifa
25ee208a4f Added support for the new particle system 2013-11-06 02:28:53 +01:00
Latif Khalifa
d8b29f67cb Regenerated packets 2013-11-05 20:40:25 +01:00
Latif Khalifa
89d8170b02 Revert aurora bitpacker changes, breaks loading llm file format 2013-11-05 20:23:54 +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
cb1dc452e2 Fix LIBOMV-967, patch by TB 2013-11-04 02:19:53 +01:00
Robert Adams
0c54ae6f3c Added extended terrain/cloud/wind/... compressed patch types for
larger regions.
2013-11-03 14:31:24 -08:00
Latif Khalifa
5b4c1e8694 Store prim texture animation data when serializing to OSD
Patch by Dahlia Trimble
2013-10-30 23:34:49 +01:00
Latif Khalifa
75893bb675 Added Tag for user data in inv nodes. Split cap inv. request in two methods 2013-09-19 20:43:27 +02:00
Shy Robbiani
1f05274d38 Make LookAt from login response public
look_at returned from the login response message is now available public
and can be accessed using GridClient.Self.LookAt. This solves a problem
where the actual look direction gets destroyed somewhere in the login
process.
2013-09-16 15:30:17 +02:00
Latif Khalifa
a6888ee75c Moved Parallel and Workload from Types to Core 2013-07-21 09:48:24 +02:00
Latif Khalifa
d47c88c77e Use SmartThreadPool on Mono only, Windows system thread pool works fine 2013-07-19 10:43:38 +02:00
Latif Khalifa
7608560be2 Remove verbose debug 2013-07-18 23:30:05 +02:00
Latif Khalifa
f7bd510630 Avoid exceptions on empty uri 2013-07-18 22:30:28 +02:00
Latif Khalifa
f1b8fcaf47 Added ability to use SmartThreadPool 2013-07-18 20:00:11 +02:00
Latif Khalifa
646b1b7770 Tell the sim that we know how to handle server side appearance
LL protocol change necessitated by the fix to
https://jira.secondlife.com/browse/SUN-74
2013-06-19 18:06:27 +02:00
Latif Khalifa
fb61269e42 Potential fix for capabilities fetching under mono by PocketMetaverse 2013-06-15 23:34:01 +02:00
Latif Khalifa
c19a78ae90 Allow library descendants to be fetched via caps 2013-06-15 23:11:12 +02:00