diff --git a/agents/hashagents.txt b/agents/hashagents.txt index 1fb581a1..ff840f9a 100644 --- a/agents/hashagents.txt +++ b/agents/hashagents.txt @@ -1,37 +1,37 @@ 3: MeshService-signed.exe -668565D572C579C6685E04C98A8D70AA049104D144FC1786024DB379B0CAF4E8746275F479A5DB4BF1826D99875BF8A4 +C967420916CBD9E547937E09713B613F21E54E6590A51772BEA11D081C253A01BAD017907A581C8301FD151E31F64AD3 4: MeshService64-signed.exe -C4D64FEE7819054821DC5286802860155924FED0DBA06B59D98CA44CA94339CB41665928040D63D49C243F2E8F51EB18 +622A8627B9E2B4495E12B91FA6A5872AB720D1FC91295432D0D8882B952B14A19C26AAD36E517601779D9583C81982A7 5: meshagent_x86 -94D0C5C0BCC5ACC7BE287A3B3939CE9A3E3F5DF07E9E75A862C6BE92E8CB43C16D5B20509394369ADA57957E59C248EE +EFE258C444AECCB8D92DC76188C2ABF56739E95D666D022CBE615B7E4969DCD1ED27FD5FC1E551B54CD7B8B4D471DDD5 6: meshagent_x86-64 -FA9769DBC05DD65397A1436C5AE974A7ACB35105AA64C76152991C372AEAEAD337545D9BB5A043BBD7C24E2DDECDE11E +4EF5F0738C8B18BCBD36215952B318C343B16F07564B550B3621859BE8A66BE53D4CAB7BC428A1435F44080BDEABE3CE 9: meshagent_arm -47F742E82E568BCDA16CC064541C645931E59E1105947878D4226EED396C65FD4B35038D5FF823229D6AEA3C900827B7 +F4E474ED9D9BD20C493DE1B18106CF41A143F44A5486824E2552D3CC8C1F0842A94CB93BF04430BD9822F5B4236BD4DD 7: meshagent_mips -A0EC31C93D68DAE121E84165B78F937BE273B547C9F30D7A0C8BF74F71D2EF67F38FABEB70FDD47C853B5B90EE26F514 +5455B9293B5789F981C84E5ABCBF9E3378F52151D065EF263F0315C9D44523D15CAC9825FA6DE8CBCF6E4AF9B4A6CDFF 13: meshagent_pogo -9E2F8AD343ECEC7736A48490614126F6C5B05F7E032DB4279BBAF4429B92AC6A018C2ABBAA06895D9FB2783F3AC06D56 +63C1B9372249FDE33A9742A9C240AED56BB9457786CEA8348523F53C6A6F01057D5602CA56DC618BC092F2C3723322DA 15: meshagent_poky -6A0ABB9C1F1AC226761A062B6DE80F05FAF23C471FA61A729DEADEB3E9B36AE253E3592158CFF4A52490CFBA0F8B461F +F98887A9B098A4AAD8BFFF919F89990C599E961D9D64D2BE962F6B1317EDB7AC5647BFF569187A3DB15DBCD3D0797B1F 16: meshagent_osx-x86-64 -3A432DC09A960BEDAFB54ECCE87B26B1213291755EFE2BE48F649E8407E19767EB0969F314984BFDB03715E2F0154A82 +AC3B4C94D8E83C1A0E3D90608ED14BFE8038A7043D1C92CFD87F96C29370BB94F83E0A60FBF863CEFBA3254B2019A54D 18: meshagent_poky64 -A63CC0E62FD8DDF049C296F65EC903016D4131C32B1053ABA5779C4ED7785BBCD03C086A994A75EE94449C251991BA03 +DD121B4F767BA766E4BE1B5AE3206A4E602593A3F4C8D9D7CC46E35BA90F35670F9ABDECFCFD7A1B7F76C4B8E5B33CE4 19: meshagent_x86_nokvm -6CEA489A5E7E06235881A6E233A200D8DD4CAF573C24488F2DB89CE19F1A3C95EC51D2035D530AA5C5DAF7C86C5267CA +8B7F4EF434179AA99971E0F55338DE1B45C4839568A92419769719D1F0E696C850B6C5F9C6A67333F663184C77B2E3EB 20: meshagent_x86-64_nokvm -EF7ACE466B23F704536994A797E1D6E2A552F6C9493BCD17DFC23089944B7902BAD301A917A530A03004D5EF543D3B86 +C358AC4017BFBBBE0155D5E8EA97B5C599CAA3EE3CF18F2D1BD78967F458E9F4203F0930CDCCC7B49004D44A0A97D514 24: meshagent_arm-linaro -36AA82452C4E50E32B5398B190421A93C87AC5FB42A431C0CBED47FBD54FA8429F5CB413A1FD3AE75881C97BDEBA3C59 +BA850629B2AF50C4964BB59F4D892E3FC8488214248244D285905A3EC7A8796E0AB12B0DC6E7606BA7F1E1BF7645A4C0 25: meshagent_armhf -6811DA87477E7672A65671A86D326F1C0DD1DDE88E5CB6AD7B0B177F623B7D9534EF7455E543EF1AC762131CBF973015 +41822D2DB2837AD6854AB2F3A9AADD62197AD4F1061B6FA949894A381CF6A5F285E29722BB38CE825FEB330636315749 26: meshagent_arm64 -773E6C57DB28B799192A11EA624B57DFB08C2BE37276F2927A4FFC080242C04CA8B2EF79B4D95F1BA28BA694ADEEA75E +6504E50E83D680B4C4505D9C05B099F0D143B78DB6F0AC83763A82C0A4AF9043DBC7A185C4CED7A0BF07DF7668F38B8B 27: meshagent_armhf2 6306E41CE4B017153B11B7E1022AFA29E2586EA02F9561E369A77938F6A65AE094E53DB0E4B0852CF91FC5D362D90F21 28: meshagent_mips24kc 2E15EEDD9682ADDDDD90D46CB4ADA441C5B0A40DC7D513BA02CC0331B44EC5B35C92708B3E3595F5E65FF0799CF66764 30: meshagent_freebsd_x86-64 -1C9C1801F169E55C0CD6751DED44271D5B92C3F912DF7954E0E06AEEA841810D233E476BAD558772BF609C58206A44CB +E91D5B460B4EEAF3FF5C81DFEBB6876929074A06871B18AD4317435B6285BFBCC4DE705F97E4F2E8ACD9765D8EA45FF1 diff --git a/agents/meshagent_arm b/agents/meshagent_arm index 0db3ab08..f2d0f534 100644 Binary files a/agents/meshagent_arm and b/agents/meshagent_arm differ diff --git a/agents/meshagent_arm-linaro b/agents/meshagent_arm-linaro index c9fe2597..c28cf25d 100644 Binary files a/agents/meshagent_arm-linaro and b/agents/meshagent_arm-linaro differ diff --git a/agents/meshagent_arm64 b/agents/meshagent_arm64 index c481f4ed..a758e2ce 100644 Binary files a/agents/meshagent_arm64 and b/agents/meshagent_arm64 differ diff --git a/agents/meshagent_armhf b/agents/meshagent_armhf index b5086f75..77f80e79 100644 Binary files a/agents/meshagent_armhf and b/agents/meshagent_armhf differ diff --git a/agents/meshagent_freebsd_x86-64 b/agents/meshagent_freebsd_x86-64 index b3f34945..d0de9f26 100644 Binary files a/agents/meshagent_freebsd_x86-64 and b/agents/meshagent_freebsd_x86-64 differ diff --git a/agents/meshagent_mips b/agents/meshagent_mips index 7a091261..eb91566d 100644 Binary files a/agents/meshagent_mips and b/agents/meshagent_mips differ diff --git a/agents/meshagent_osx-x86-64 b/agents/meshagent_osx-x86-64 index a67636b9..4bea3240 100644 Binary files a/agents/meshagent_osx-x86-64 and b/agents/meshagent_osx-x86-64 differ diff --git a/agents/meshagent_pogo b/agents/meshagent_pogo index badca16b..07e8c01a 100644 Binary files a/agents/meshagent_pogo and b/agents/meshagent_pogo differ diff --git a/agents/meshagent_poky b/agents/meshagent_poky index 21f3e200..d3dea0a4 100644 Binary files a/agents/meshagent_poky and b/agents/meshagent_poky differ diff --git a/agents/meshagent_poky64 b/agents/meshagent_poky64 index 0a9a59ce..55b06d7c 100644 Binary files a/agents/meshagent_poky64 and b/agents/meshagent_poky64 differ diff --git a/agents/meshagent_x86 b/agents/meshagent_x86 index 17b56ead..cb4393fe 100644 Binary files a/agents/meshagent_x86 and b/agents/meshagent_x86 differ diff --git a/agents/meshagent_x86-64 b/agents/meshagent_x86-64 index 1762e73a..66d86d49 100644 Binary files a/agents/meshagent_x86-64 and b/agents/meshagent_x86-64 differ diff --git a/agents/meshagent_x86-64_nokvm b/agents/meshagent_x86-64_nokvm index f7d0459d..234f69d6 100644 Binary files a/agents/meshagent_x86-64_nokvm and b/agents/meshagent_x86-64_nokvm differ diff --git a/agents/meshagent_x86_nokvm b/agents/meshagent_x86_nokvm index 2abe92fb..e6650d46 100644 Binary files a/agents/meshagent_x86_nokvm and b/agents/meshagent_x86_nokvm differ diff --git a/public/scripts/agent-desktop-0.0.2-min.js b/public/scripts/agent-desktop-0.0.2-min.js index abdeb61d..4d36df01 100644 --- a/public/scripts/agent-desktop-0.0.2-min.js +++ b/public/scripts/agent-desktop-0.0.2-min.js @@ -1 +1 @@ -Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(e,t){return new Uint8Array(Array.prototype.slice.call(this,e,t))}});var CreateAgentRemoteDesktop=function(e,t){var h={};"string"==typeof(h.CanvasId=e)&&(h.CanvasId=Q(e)),h.Canvas=h.CanvasId.getContext("2d"),h.scrolldiv=t,h.State=0,h.PendingOperations=[],h.tilesReceived=0,h.TilesDrawn=0,h.KillDraw=0,h.ipad=!1,h.tabletKeyboardVisible=!1,h.LastX=0,h.LastY=0,h.touchenabled=0,h.submenuoffset=0,h.touchtimer=null,h.TouchArray={},h.connectmode=0,h.connectioncount=0,h.rotation=0,h.protocol=2,h.debugmode=0,h.firstUpKeys=[],h.stopInput=!1,h.localKeyMap=!0,h.remoteKeyMap=!0,h.pressedKeys=[],h.sessionid=0,h.username,h.oldie=!1,h.CompressionLevel=50,h.ScalingLevel=1024,h.FrameRateTimer=100,h.SwapMouse=!1,h.FirstDraw=!1,h.ScreenWidth=960,h.ScreenHeight=701,h.width=960,h.height=960,h.displays=null,h.selectedDisplay=null,h.onScreenSizeChange=null,h.onMessage=null,h.onConnectCountChanged=null,h.onDebugMessage=null,h.onTouchEnabledChanged=null,h.onDisplayinfo=null;var g=!(h.accumulator=null),p="default";h.mouseCursorActive=function(e){g!=e&&(g=e,h.CanvasId.style.cursor=1==e?p:"default")};var S=["default","progress","crosshair","pointer","help","text","no-drop","move","nesw-resize","ns-resize","nwse-resize","w-resize","alias","wait","none","not-allowed","col-resize","row-resize","copy","zoom-in","zoom-out"];h.Start=function(){h.State=0,h.accumulator=null},h.Stop=function(){h.setRotation(0),h.UnGrabKeyInput(),h.UnGrabMouseInput(),h.touchenabled=0,null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId),h.Canvas.clearRect(0,0,h.CanvasId.width,h.CanvasId.height)},h.xxStateChange=function(e){if(h.State!=e)switch(h.State=e,h.CanvasId.style.cursor="default",e){case 0:h.Stop()}},h.send=function(e){2>32)+h.intToStr(32&o)):(h.recordedSize+=n.length,h.shortToStr(e)+h.shortToStr(t)+h.intToStr(n.length)+h.intToStr(o>>32)+h.intToStr(32&o)+n)}return h.SendKeyMsg=function(e,t){var n;null!=e&&((t=t||window.event).code&&0==h.localKeyMap?null!=(n=function(e){return e.code.startsWith("Key")&&4==e.code.length?e.code.charCodeAt(3):e.code.startsWith("Digit")&&6==e.code.length?e.code.charCodeAt(5):e.code.startsWith("Numpad")&&7==e.code.length?e.code.charCodeAt(6)+48:o[e.code]}(t))&&h.SendKeyMsgKC(e,n):(59==(n=t.keyCode)?n=186:173==n?n=189:61==n&&(n=187),h.SendKeyMsgKC(e,n)))},h.SendMessage=function(e){3==h.State&&h.send(String.fromCharCode(0,17)+h.shortToStr(4+e.length)+e)},h.SendKeyMsgKC=function(e,t){if(3==h.State)if("object"==typeof e)for(var n in e)h.SendKeyMsgKC(e[n][0],e[n][1]);else{if(1==e)-1==h.pressedKeys.indexOf(t)&&h.pressedKeys.unshift(t);else if(2==e){-1!=(n=h.pressedKeys.indexOf(t))&&h.pressedKeys.splice(n,1)}h.send(String.fromCharCode(0,h.InputType.KEY,0,6,e-1,t))}},h.SendStringUnicode=function(e){if(3==h.State)for(var t=0;t>8),255-(255&Math.abs(c))):(l=c>>8,255&c),u=String.fromCharCode(0,h.InputType.MOUSE,0,12,0,0,r/256&255,255&r,i/256&255,255&i,l,d)}else u=String.fromCharCode(0,h.InputType.MOUSE,0,10,0,e==h.KeyAction.DOWN?s:2*s&255,r/256&255,255&r,i/256&255,255&i);h.Action==h.KeyAction.NONE?0==h.Alternate||h.ipad?(h.send(u),h.Alternate=1):h.Alternate=0:h.send(u)}}},h.GetDisplayNumbers=function(){h.send(String.fromCharCode(0,11,0,4))},h.SetDisplay=function(e){h.send(String.fromCharCode(0,12,0,6,e>>8,255&e))},h.intToStr=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},h.shortToStr=function(e){return String.fromCharCode(e>>8&255,255&e)},h.onResize=function(){0!=h.ScreenWidth&&0!=h.ScreenHeight&&(h.Canvas.canvas.width==h.ScreenWidth&&h.Canvas.canvas.height==h.ScreenHeight||(h.FirstDraw&&(h.Canvas.canvas.width=h.ScreenWidth,h.Canvas.canvas.height=h.ScreenHeight,h.Canvas.fillRect(0,0,h.ScreenWidth,h.ScreenHeight),null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId)),h.FirstDraw=!1,1>32)+h.intToStr(32&o)):(h.recordedSize+=n.length,h.shortToStr(e)+h.shortToStr(t)+h.intToStr(n.length)+h.intToStr(o>>32)+h.intToStr(32&o)+n)}return h.SendKeyMsg=function(e,t){var n;null!=e&&((t=t||window.event).code&&0==h.localKeyMap?null!=(n=function(e){return e.code.startsWith("Key")&&4==e.code.length?e.code.charCodeAt(3):e.code.startsWith("Digit")&&6==e.code.length?e.code.charCodeAt(5):e.code.startsWith("Numpad")&&7==e.code.length?e.code.charCodeAt(6)+48:o[e.code]}(t))&&h.SendKeyMsgKC(e,n):(59==(n=t.keyCode)?n=186:173==n?n=189:61==n&&(n=187),h.SendKeyMsgKC(e,n)))},h.SendMessage=function(e){3==h.State&&h.send(String.fromCharCode(0,17)+h.shortToStr(4+e.length)+e)},h.SendKeyMsgKC=function(e,t){if(3==h.State)if("object"==typeof e)for(var n in e)h.SendKeyMsgKC(e[n][0],e[n][1]);else{if(1==e)-1==h.pressedKeys.indexOf(t)&&h.pressedKeys.unshift(t);else if(2==e){-1!=(n=h.pressedKeys.indexOf(t))&&h.pressedKeys.splice(n,1)}h.send(String.fromCharCode(0,h.InputType.KEY,0,6,e-1,t))}},h.SendStringUnicode=function(e){if(3==h.State)for(var t=0;t>8),255-(255&Math.abs(c))):(l=c>>8,255&c),u=String.fromCharCode(0,h.InputType.MOUSE,0,12,0,0,r/256&255,255&r,i/256&255,255&i,l,d)}else u=String.fromCharCode(0,h.InputType.MOUSE,0,10,0,e==h.KeyAction.DOWN?s:2*s&255,r/256&255,255&r,i/256&255,255&i);h.Action==h.KeyAction.NONE?0==h.Alternate||h.ipad?(h.send(u),h.Alternate=1):h.Alternate=0:h.send(u)}}},h.GetDisplayNumbers=function(){h.send(String.fromCharCode(0,11,0,4))},h.SetDisplay=function(e){h.send(String.fromCharCode(0,12,0,6,e>>8,255&e))},h.intToStr=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},h.shortToStr=function(e){return String.fromCharCode(e>>8&255,255&e)},h.onResize=function(){0!=h.ScreenWidth&&0!=h.ScreenHeight&&(h.Canvas.canvas.width==h.ScreenWidth&&h.Canvas.canvas.height==h.ScreenHeight||(h.FirstDraw&&(h.Canvas.canvas.width=h.ScreenWidth,h.Canvas.canvas.height=h.ScreenHeight,h.Canvas.fillRect(0,0,h.ScreenWidth,h.ScreenHeight),null!=h.onScreenSizeChange&&h.onScreenSizeChange(h,h.ScreenWidth,h.ScreenHeight,h.CanvasId)),h.FirstDraw=!1,1 4)); // Removing remote keyboard map is only supported on windows. if (multidesktopsettings.framerate) { desk.m.FrameRateTimer = multidesktopsettings.framerate; } if (multidesktopsettings.swapmouse) { desk.m.SwapMouse = multidesktopsettings.swapmouse; } //desk.m.onDisplayinfo = deskDisplayInfo; @@ -6958,7 +6957,6 @@ if (desktopsettings.swapmouse) { desktop.m.SwapMouse = desktopsettings.swapmouse; } desktop.m.onDisplayinfo = deskDisplayInfo; desktop.m.onScreenSizeChange = deskAdjust; - desktop.m.remoteKeyMap = ((desktopNode.agent.id < 1) || (desktopNode.agent.id > 4)); // Removing remote keyboard map is only supported on windows. desktop.Start(desktopNode._id); desktop.latency.callback = function(ms) { console.log('latency', ms); updateSessionTime(); }; desktop.contype = 1;