Commit Graph

25432 Commits (66a5b4d1205058cb66a7dc2d02f52a93175bcc57)

Author SHA1 Message Date
UbitUmarov e075cf4461 fix bad english 2017-06-26 09:08:23 +01:00
UbitUmarov 0c5f412ed4 put back restriction that on osTeleport the target must be on land owned by the script owner or this is a estate manager/owner, or target did gave script permission. 2017-06-26 02:49:20 +01:00
UbitUmarov 0418542344 some shortcuts on local osTeleport, reduce its time penalty, do it with script thread 2017-06-26 00:18:46 +01:00
UbitUmarov 3ce909528d change Backup calls overlap control code 2017-06-25 15:42:36 +01:00
UbitUmarov 84abdf866a add respective ossl helper funtion osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y) 2017-06-25 02:26:36 +01:00
UbitUmarov a9a44eaeb5 add vectorrender string command ''ScaleTransf x,y;''. this allows scaling of objects to draw next. -1,1 will make text be drawn with x direction flipped (it is like the texture scale) 2017-06-25 02:17:02 +01:00
UbitUmarov cb8975e567 add string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y), string osDrawRotationTransform(string drawList, LSL_Float x) and string osDrawResetTransform(string drawList) helper functions for the new vector renderer comands. Removed ThreadLevel check of similar funtions that had it None, and actually only set strings 2017-06-24 23:04:37 +01:00
UbitUmarov 5d776fca3a add dyn textures vectorrender comands ''ResetTransf;'', ''TransTransf x,y;'' and ''RotTransf x'' string only, no ossl helper api still 2017-06-24 21:42:11 +01:00
UbitUmarov 1a8a77c41e revert the thread level change; remove unused dynamic texture timer from internal code; let blend alpha work if < 255; let blend work with the selected face; etc 2017-06-24 09:24:56 +01:00
UbitUmarov 8d1dd44edb simplify vectorrender background draw 2017-06-24 07:39:22 +01:00
UbitUmarov ed8fc359f3 change thread level of osSetDynamicTextureDataBlendFace to VeryHigh 2017-06-24 06:11:10 +01:00
UbitUmarov 72db6f76b5 remove a DynamicTexture leak, make it actually return the new texture ID to ossl, do delete previus texture from local cache if temporary,at least on same cases... but still very broken.. 2017-06-24 05:22:02 +01:00
UbitUmarov ae4266916c add string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face) to easy only setting a prim face 2017-06-24 04:23:13 +01:00
UbitUmarov c3dbf91152 osDrawFilledEllipse or string comand FillEllipse identical do Ellipse one 2017-06-24 03:21:23 +01:00
UbitUmarov 191661b51d a few more changes to iar/oar assets save error/warning to show problems known to be asset errors 2017-06-24 02:01:48 +01:00
UbitUmarov 0a1f497dee code actually has no ideia if a id is a asset or not and does try to handle all as assets, it really can't report errors. Change messages to make more clear they are only warnings and may mean nothing at all 2017-06-23 19:55:23 +01:00
UbitUmarov 83e443bca1 do the same on OAR saves 2017-06-23 17:48:59 +01:00
UbitUmarov 95595a8360 coment out missing or damage assets messages in uuidgather that are not very usefull. In IAR save display information about items that contain references to broken assets. Note that as explained on mantis 8195 this can't will not detect all problems 2017-06-23 17:23:28 +01:00
UbitUmarov 3c6790b061 several changes to iar/oar assets error reports 2017-06-23 15:50:16 +01:00
UbitUmarov 28caf1e089 actually iar do it for iar 2017-06-22 22:09:00 +01:00
UbitUmarov cbae148f68 show the count of broken assets we now have from gather on iar/oar pre save information 2017-06-22 21:48:26 +01:00
UbitUmarov aea49070c9 change uuidgather a bit more 2017-06-22 21:37:51 +01:00
UbitUmarov 66c8b7202b split some asset uuids gather i stages with dif possible errors, and dont let them be fatal 2017-06-22 19:38:38 +01:00
UbitUmarov 11d3860781 avoid some broken object assets present in osgrid inventories due to past problems, etc 2017-06-21 21:38:12 +01:00
UbitUmarov 1bfe4da378 do not try to store on oars temporary or in transit objects ( they may be deleted during the save) 2017-06-21 20:15:35 +01:00
UbitUmarov 637d35631c make oar/iar assets writer be done by caller thread like the rest of the
oar/iar save. This may look more painfull but should reduce errors and
threads fights. Fill lucky i just don't stop the entire simulation during
this
2017-06-21 18:40:53 +01:00
UbitUmarov 70da902732 changes to AutoBackModule. Store folder and number of days expire is now also only defined in OpenSim.ini and so same for all regions. 2017-06-21 13:35:36 +01:00
UbitUmarov 36442c004f changes to AutoBackModule. Add option ALL to dooarbackup to save all regions in instance 2017-06-21 03:56:43 +01:00
UbitUmarov 651952e01e changes to AutoBackModule. Time interval is now unique and only definable on OpenSim.ini. All enabled regions will be saved in sequence whne it expires. Interval is time since last region save end, so will not follow wall clock. This reduces the chance of overlapped saves. Console command renamed to dooarbackup to be more distint from db backup. Lost the region load checks, to put back later 2017-06-21 03:31:07 +01:00
UbitUmarov 79e166e9aa revert EnvironmentTick back to orignal clock, since change may cause issues on some code paths. Clean a bit get mesh and get texture throttle 2017-06-19 05:22:38 +01:00
UbitUmarov 4df19ece53 framework main thread pool is always active and in use ( even id hard to catch) so show in on show stats. Disable ServerStatsCollector by default, since most don't use it, Adicionally it uses shared framework performance counters system that may be affected if a region crashs 2017-06-16 18:16:26 +01:00
UbitUmarov 822574df9f change the clock source for EnvironmentTickCount so it does get a bit more resolution if avaiable (1ms) specially on windows. This until all calls to this are removed. Coment out some stats in workpool/threads creation path 2017-06-15 20:28:20 +01:00
UbitUmarov 969d5f742c update inventory item permissions on deattach 2017-06-15 04:20:32 +01:00
UbitUmarov 1c64b5018a fix llsd DeserialiseOSDMap cast from boolean to int, this seems to fix alchemy beta 5.0 scripts upload, but this viewer seems to be of no use for opensim, sice it does crash.. insists lbsa is at second life etc 2017-06-14 22:05:53 +01:00
UbitUmarov d9a300fa8e some cleanup.. remove some stats that only some do look at once on a lifetime 2017-06-14 20:19:13 +01:00
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
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
UbitUmarov d1306c8976 a null ref check left behind on previus commits 2017-05-28 02:11:40 +01:00
UbitUmarov 572e84c822 make use of a rare thing called StringBuilder on LSL_List. LSL_List uses may need a revision to make sure they are passed by ref and not by value, with necessary adjustments. This does not have much impact on AppDomains, since if they cross, they are always serialized. Since lists are important parts of LSL, the AppDomainLoading option needs to be replaced by something else 2017-05-28 01:56:52 +01:00