Commit Graph

25347 Commits

Author SHA1 Message Date
UbitUmarov
5e67bd5778 main generic use JobEngine also does not need a permanent thread.. actually doesn't even seem to be in use 2017-06-14 00:51:22 +01:00
UbitUmarov
614a5266c5 guess HGEntityTransferModule jobengine does not need a permanet thread 2017-06-13 22:45:31 +01:00
UbitUmarov
ed8526bcfb coment out tests that now depend on active thread pool 2017-06-13 20:34:21 +01:00
UbitUmarov
ad43cc6784 change llclient async udp packets processing. Removed the shared Jobengine that made only one thread do some packets for all users, and removed the FireAndForget, so each user could issue a unlimited number of threads. Added a new JobEngine per client, so each gets at most one thread,and that thread can be released if iddle (for 5 seconds ) 2017-06-13 19:04:18 +01:00
UbitUmarov
482ff06e13 make JobEngine be a workitem of mail pool (smartThread), with the option to release thread after a idle time, so is free to do other service elsewhere 2017-06-13 18:50:34 +01:00
UbitUmarov
5ce15566ac add option for Fireandforget not timeout (our access to main smartThreadPool) 2017-06-13 18:39:42 +01:00
UbitUmarov
f33a871d61 hope gc does remove a little dic and contents 2017-06-13 14:15:28 +01:00
UbitUmarov
fd8836e493 dont let time go back 2017-06-13 14:09:34 +01:00
UbitUmarov
9526a96b4f some cleanup 2017-06-13 13:22:01 +01:00
UbitUmarov
3ba63dde6e udp is not tcp. If mono versions have bronke udp sento, better update, also having 300 threads because object select is not funny 2017-06-13 12:17:39 +01:00
UbitUmarov
e650a4ff16 remove excessive notion of paralelism 2017-06-13 08:56:21 +01:00
UbitUmarov
a18d45fbdc fix some issues on ubOde physics shape type changes 2017-06-12 16:19:29 +01:00
UbitUmarov
f62400c4ca improve english on few messages (thx) 2017-06-12 13:34:39 +01:00
UbitUmarov
70be8ba6de make some web request errors visible, so cause of later asset not found is clear 2017-06-12 13:29:14 +01:00
UbitUmarov
617f42bcfa try to mk jenkins happy 2017-06-12 01:32:18 +01:00
UbitUmarov
dd7ab862ab stop doing UpdateMovementAnimations on avatar collisions, that may cause incorrect changes 2017-06-12 01:07:38 +01:00
UbitUmarov
d0afd4335c fix a error message 2017-06-11 22:32:56 +01:00
UbitUmarov
be975d1e89 add a adicional in transit flag to signal HG tps, and use it to ignore usernames requests sent to start region during tp; don't send unknows display names ( getdisplaynames cap ) 2017-06-09 23:27:33 +01:00
UbitUmarov
e8165a7b51 only silent remove threads from watch list if they stopped ( ie still consider aborted etc ) 2017-06-09 20:14:56 +01:00
UbitUmarov
f69e48bedc make SendCoarseLocations async, since it is http. Make some actions use thread from pool and not a new one. Threading does need a deep cleanup one of this days. This stops mantis 8183 warnings, but as side effect only 2017-06-09 17:32:07 +01:00
Kevin Cozens
0ac6b74c5e Fixed typo in log message 2017-06-09 10:14:09 -04:00
UbitUmarov
d12957dc2c still losing time with of halcyon incompatibile oars... cathch exceptions of the function that actually throws; Reduce log spam; don't let a broken MOAP stop all object deserialization. Fixing MOAP does not mean halcyon oars issues are fixed, just one. And really we should not even try to go against halcyon decison to be incompatible.(our MOAP encoding did not change since 2010) 2017-06-09 12:14:13 +01:00
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
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
9011ca8461 set optional group position and rotation before attach to scene 2017-06-06 20:38:17 +01:00
UbitUmarov
a23f99366f bug fix: handle current region on GetChildAgentsToClose 2017-06-06 03:22:11 +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
4320758d97 remove redundant UpdateMovementAnimations(); 2017-06-03 07:19:20 +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
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
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