Commit Graph

29926 Commits (af2a9d9508e08f1493858c27ad90f682b58e1ae4)

Author SHA1 Message Date
Robert Adams 5bfe8b18fe Another attempt at parsing MOAP <Media> elements in OAR files.
Seems there are multiple interpretations of the format of the content of the
<Media> element in OAR files. OpenSimulator (for reasons lost in the mist of time)
escapes the XML in the element and then reparses it was a separate XmlReader.
Other simulators fill the <Media> element with regular XML.

This patch parses the <Media> escaped XML content as it always has and, if
the parsing fails, falls back to trying to parse the pure XML.
2017-06-08 21:41:34 -07:00
UbitUmarov 1e3a19e673 bug fix plus some cleanup 2017-06-09 00:15:53 +01:00
UbitUmarov ef2fd8fcea keep the reverted code, that does work. Our code likes to have pbs.Media == null when there is no MOAD defined, so handle possible odd oars that may have llsd <array /> on that case 2017-06-08 20:47:51 +01:00
UbitUmarov 29f2421d4f revert fa5bf4fd0b for test 2017-06-08 11:45:33 +01:00
UbitUmarov 7bea4f1578 Merge branch 'master' into httptests 2017-06-07 20:12:49 +01:00
UbitUmarov 02b51b84f4 so no real need for Maintenance thread.. so removed 2017-06-07 19:09:16 +01:00
UbitUmarov 2d93008bd9 course locations is a also heartbeat job (for now sync) 2017-06-07 18:52:56 +01:00
UbitUmarov eca89c6e61 remove some more dead scene options 2017-06-07 18:15:15 +01:00
UbitUmarov c8b3925085 remove nonsense SendPeriodicAppearanceUpdates. if we need such a thing, then a lot is broken. Remove duplicated CleanTempObjects() call, rename BackupWaitCallback thread as BackupWorker ( still didn't found cause for mantis 8783) 2017-06-07 18:04:02 +01:00
UbitUmarov 7d58b73bbc some changes on pollevent 2017-06-06 21:55:47 +01:00
UbitUmarov 8971e9f126 Merge branch 'master' into httptests 2017-06-06 21:47:55 +01:00
UbitUmarov 9011ca8461 set optional group position and rotation before attach to scene 2017-06-06 20:38:17 +01:00
UbitUmarov 773914591d Merge branch 'master' into httptests 2017-06-06 03:28:30 +01:00
UbitUmarov a23f99366f bug fix: handle current region on GetChildAgentsToClose 2017-06-06 03:22:11 +01:00
UbitUmarov 258d169392 Merge branch 'master' into httptests 2017-06-06 00:30:01 +01:00
Robert Adams fa5bf4fd0b Correct parsing of 'Media' XML element in PrimitiveBaseShape when reading an OAR file.
The code used to call Serializer.ReadElementContentAsString() and then expected to
pass the XML to PrimitiveBaseShape.FromXml to parse. This would throw as
ReadElementContentAsString does not allow any children of the element.
Reading with Serializer.ReadInnerXml() was the fix.
This was only not a problem because most often shapes don't have media and
most simulators don't output anything if the media array is empty.
2017-06-04 20:51:56 -07:00
UbitUmarov aea282ba38 Merge branch 'master' into httptests 2017-06-03 07:20:31 +01:00
UbitUmarov 4320758d97 remove redundant UpdateMovementAnimations(); 2017-06-03 07:19:20 +01:00
UbitUmarov 01bd578bb0 Merge branch 'master' into httptests 2017-06-03 07:08:43 +01:00
UbitUmarov f26ad07ce1 add a delayed stop so fast tap on move keys does not stop the avatar in some cases 2017-06-03 07:01:07 +01:00
UbitUmarov 67e540e05c cross mouse buttons state 2017-06-03 04:28:43 +01:00
UbitUmarov 12a6625dc7 fix MouseDown in case it gets any use 2017-06-03 03:48:49 +01:00
UbitUmarov 7310b7625e move a execution overlap guard to end of job 2017-06-02 12:58:04 +01:00
UbitUmarov de153c2b62 Merge branch 'master' into httptests 2017-06-02 06:26:20 +01:00
UbitUmarov b920f784ea avoi null refs on tests simple clients 2017-06-01 00:14:59 +01:00
UbitUmarov c68e7b6621 change child agents close control; disablesimulator is not a caps event message 2017-05-31 23:31:02 +01:00
UbitUmarov 5c156508e2 mantis 8182: update/fix GenerateRandomAnimation(). not updating libomv avatar data bc have no idea why do do have it, so leave it to who does know 2017-05-31 12:33:35 +01:00
UbitUmarov 55babdc160 Merge branch 'master' into httptests 2017-05-31 07:21:21 +01:00
UbitUmarov 7217c20291 we don't need to keep refs to baked textures assets 2017-05-31 07:12:03 +01:00
UbitUmarov f5f0fa5d1f we don't need to keep refs to baked textures assets 2017-05-31 06:18:05 +01:00
UbitUmarov 74da81890c oops.. 2017-05-31 06:04:59 +01:00
UbitUmarov 720a69a49b remove the option to store baked textures on assets service, thats suicide use xbakes 2017-05-31 04:47:59 +01:00
UbitUmarov b1c585718c remove debug messages 2017-05-31 04:30:00 +01:00
UbitUmarov e5991124dd merge LocalNeighbourServicesConnector and RemoteNeighbourServicesConnector in single NeighbourServicesOutConnector 2017-05-31 01:29:38 +01:00
UbitUmarov 0fa3af96a4 remove anoying crossing messages on open borders 2017-05-30 16:51:49 +01:00
UbitUmarov 79b2926ce1 do another dns request via new cache. My problems bf wheren't mono after all, but ubuntu systemd.resolver and google public dns, killing one and not using other did improve dns a lot 2017-05-30 15:34:22 +01:00
UbitUmarov 90da5280af put back soft http close 2017-05-30 09:01:39 +01:00
UbitUmarov e5bebe3a32 webrequests serialiazation per endpoint its now ServicePointManager job 2017-05-30 08:20:58 +01:00
UbitUmarov 91caf98308 change servicePoint dns expire also to 5min, let the endpoints expire slide. This should reduce impact of absurd dns fails observed on my test ubuntu VM 2017-05-29 07:48:09 +01:00
UbitUmarov a317bba8cf cache endpoints (and other paths) dns requests for 5min, this delay should be acceptable in all cases ? 2017-05-29 07:11:13 +01:00
UbitUmarov 0f0673552c remove a unnecessary dns check 2017-05-29 06:50:55 +01:00
UbitUmarov 8f86de265c some cleanup and assume Linux/mono DNS is just broken... 2017-05-29 05:22:21 +01:00
UbitUmarov 7be6e16555 no.. still a fail 2017-05-29 03:41:09 +01:00
UbitUmarov 27afe136d4 mono is a total crap 2017-05-29 03:13:56 +01:00
UbitUmarov 2c19d08448 cleanup util.cs get dns 2017-05-29 02:07:53 +01:00
UbitUmarov 6d23e0bc31 add temporary debug msgs 2017-05-29 01:27:02 +01:00
UbitUmarov d94b2e6f6d remove a now anoying message.. 2017-05-29 00:20:14 +01:00
UbitUmarov 5274a3181e enclose GetRequestStream on try/catch 2017-05-28 23:54:43 +01:00
UbitUmarov 99111e5052 enclose GetRequestStream on try/catch 2017-05-28 23:51:13 +01:00
UbitUmarov 687c01b29e need to delay even more agent close after teleport to compensate for slow machines and user connections. This one of current tp teleport protocol flaws 2017-05-28 03:17:34 +01:00