update Antunnel + vTerm

This commit is contained in:
lxsang 2020-12-22 15:14:46 +00:00
parent f9ebdd95ed
commit 2f7a677463
13 changed files with 15 additions and 48 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "xsang.le@lxsang.me" "email": "xsang.le@lxsang.me"
}, },
"version":"0.1.5-a", "version":"0.1.6-a",
"category":"Library", "category":"Library",
"iconclass":"fa fa-adn", "iconclass":"fa fa-adn",
"mimes":["none"], "mimes":["none"],

Binary file not shown.

View File

@ -59,6 +59,7 @@ Msg.CLOSE = 5
Msg.SUBSCRIBE = 2 Msg.SUBSCRIBE = 2
Msg.UNSUBSCRIBE = 3 Msg.UNSUBSCRIBE = 3
Msg.CTRL = 7 Msg.CTRL = 7
Msg.PING = 8
Msg.MAGIC_END = [0x44, 0x54] Msg.MAGIC_END = [0x44, 0x54]
Msg.MAGIC_START = [0x4e, 0x41 ] Msg.MAGIC_START = [0x4e, 0x41 ]
@ -168,6 +169,8 @@ class AntunnelApi
sub = @subscribers[msg.header.sid] sub = @subscribers[msg.header.sid]
return unless sub return unless sub
sub.close(true) sub.close(true)
when Msg.PING
# do nothing
else else
console.error "Message of type #{msg.header.type} is unsupported", msg console.error "Message of type #{msg.header.type} is unsupported", msg

View File

@ -9,7 +9,7 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "xsang.le@lxsang.me" "email": "xsang.le@lxsang.me"
}, },
"version":"0.1.5-a", "version":"0.1.6-a",
"category":"Library", "category":"Library",
"iconclass":"fa fa-adn", "iconclass":"fa fa-adn",
"mimes":["none"], "mimes":["none"],

View File

@ -1,24 +0,0 @@
afx-app-window[data-id="graph_editor_win"] div[data-id="preview"]
{
display: flex;
align-items: center;
justify-content: center;
background-color: white;
}
afx-app-window[data-id="graph_editor_win"] afx-button button
{
border-radius: 0;
padding-top:2px;
padding-bottom: 2px;
}
afx-app-window[data-id="graph_editor_win"] afx-resizer{
background-color: transparent;
}
afx-app-window[data-id="graph_editor_win"] div[data-id="btn-container"]{
background-color: transparent;
position: absolute;
bottom:10px;
right: 10px;
display: inline;
}

View File

@ -1,14 +0,0 @@
<afx-app-window data-id="graph_editor_win" apptitle="__(Graph editor)" width="650" height="500">
<afx-hbox>
<div data-id="datarea"></div>
<afx-resizer data-width="5" ></afx-resizer>
<div data-id="preview">
<div data-height="25" data-id="btn-container">
<afx-button data-id="btn-zoomin" iconclass="fa fa-search-plus"></afx-button>
<afx-button data-id="btn-zoomout" iconclass="fa fa-search-minus"></afx-button>
<afx-button data-id="btn-reset" iconclass="fa fa-square-o"></afx-button>
</div>
</div>
<canvas data-id="offscreen" data-width="0" style="display:block;" ></canvas>
</afx-hbox>
</afx-app-window>

View File

@ -35,7 +35,7 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antunnel/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antunnel/README.md",
"category": "Library", "category": "Library",
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"version": "0.1.5-a", "version": "0.1.6-a",
"dependencies": [], "dependencies": [],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antunnel/build/release/Antunnel.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antunnel/build/release/Antunnel.zip"
}, },
@ -235,8 +235,8 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/vTerm/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/vTerm/README.md",
"category": "System", "category": "System",
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"version": "0.1.8-a", "version": "0.1.9-a",
"dependencies": ["Antunnel@0.1.5-a","xTerm@4.8.1-r"], "dependencies": ["Antunnel@0.1.6-a","xTerm@4.8.1-r"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/vTerm/build/release/vTerm.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/vTerm/build/release/vTerm.zip"
}, },
{ {

View File

@ -12,4 +12,5 @@ VTerm depends on the server side **tunnel** plugin and the AntOS **Antunnel**
client side package client side package
## Change logs ## Change logs
- v0.1.9-a: Update dependencies to latest
- v0.1.6-a: Add dependencies to package meta-data - v0.1.6-a: Add dependencies to package meta-data

View File

@ -12,4 +12,5 @@ VTerm depends on the server side **tunnel** plugin and the AntOS **Antunnel**
client side package client side package
## Change logs ## Change logs
- v0.1.9-a: Update dependencies to latest
- v0.1.6-a: Add dependencies to package meta-data - v0.1.6-a: Add dependencies to package meta-data

View File

@ -6,12 +6,12 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "xsang.le@gmail.com" "email": "xsang.le@gmail.com"
}, },
"version":"0.1.8-a", "version":"0.1.9-a",
"category":"System", "category":"System",
"iconclass":"fa fa-terminal", "iconclass":"fa fa-terminal",
"mimes":["none"], "mimes":["none"],
"dependencies": [ "dependencies": [
"Antunnel@0.1.5-a", "Antunnel@0.1.6-a",
"xTerm@4.8.1-r" "xTerm@4.8.1-r"
], ],
"locales":{ "locales":{

Binary file not shown.

View File

@ -6,12 +6,12 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "xsang.le@gmail.com" "email": "xsang.le@gmail.com"
}, },
"version":"0.1.8-a", "version":"0.1.9-a",
"category":"System", "category":"System",
"iconclass":"fa fa-terminal", "iconclass":"fa fa-terminal",
"mimes":["none"], "mimes":["none"],
"dependencies": [ "dependencies": [
"Antunnel@0.1.5-a", "Antunnel@0.1.6-a",
"xTerm@4.8.1-r" "xTerm@4.8.1-r"
], ],
"locales":{ "locales":{