Commit Graph

367 Commits

Author SHA1 Message Date
Shuanglei Tao
cb02d79281 protocol: fix json parsing 2019-12-14 22:50:53 +08:00
Fredrik Fornwall
d99193171d Avoid trying to redefine sys_signame on Android (#253)
On Android <signal.h> defines sys_signame, so trying to redefine it
causes the build to fail.
2019-12-13 14:06:06 +08:00
Shuanglei Tao
b67e382ab8 server: improve child process handling 2019-12-11 21:14:17 +08:00
Shuanglei Tao
397b24f138 html: webgl renderer support 2019-12-08 23:23:07 +08:00
Shuanglei Tao
607bf08494 Dockerfile: use bash 2019-12-08 22:33:06 +08:00
Shuanglei Tao
1b2c45040a Dockerfile: use multi-stage build 2019-12-08 18:32:33 +08:00
Shuanglei Tao
c6248d1e6a html: update dependencies 2019-12-08 17:46:37 +08:00
Shuanglei Tao
cc514086f6 libuv: update README 2019-12-08 17:16:58 +08:00
Shuanglei Tao
1f311e5e04 workflow: update release 2019-12-08 17:12:35 +08:00
Shuanglei Tao
3a2687b3cb workflow: cross build backend 2019-12-08 16:27:02 +08:00
Shuanglei Tao
63dbdd6cdb libuv: update cross build script 2019-12-08 14:06:15 +08:00
Shuanglei Tao
cc897138f2 ci: remove travis config 2019-12-08 13:29:47 +08:00
Shuanglei Tao
d5b303aa73 server: exit immediately on old lws versions 2019-12-08 13:29:47 +08:00
Shuanglei Tao
48083b108c ci: run ldconfig after install libwebsockets 2019-12-08 13:29:47 +08:00
Shuanglei Tao
cfd338ea5e terminal: set the pty fd non blocking 2019-12-05 23:19:34 +08:00
Shuanglei Tao
ca91f40048 protocol: split forkpty to separate file 2019-12-05 22:28:58 +08:00
Shuanglei Tao
c0ebb57d9e protocol: cleanup pipe handle 2019-11-30 19:24:42 +08:00
Shuanglei Tao
36c9734623 protocol: fix potential double free 2019-11-30 18:48:56 +08:00
Shuanglei Tao
df6f3bd652 protocol: rename tty_client to pss_tty 2019-11-30 17:49:37 +08:00
Shuanglei Tao
7911cc31e9 travis: install libuv1-dev 2019-11-30 17:34:26 +08:00
Shuanglei Tao
f61b9aec11 server: improve signal handling 2019-11-30 17:25:53 +08:00
Shuanglei Tao
fe7bad2c63 server: remove sys/queue dep 2019-11-30 17:25:27 +08:00
Shuanglei Tao
59601329ae libuv: initial support 2019-11-30 15:10:41 +08:00
Shuanglei Tao
706479909a ci: pin node version to 12.x 2019-11-30 09:21:18 +08:00
Shuanglei Tao
e2ac72336b html: use file-saver to save file 2019-11-28 20:46:38 +08:00
Shuanglei Tao
831379e2bb server: add a tiny timeout to lws_service 2019-11-28 20:46:05 +08:00
Shuanglei Tao
6d69f0a55d server: remove the sleep from main loop 2019-11-26 21:55:42 +08:00
Shuanglei Tao
28cbbdaa3d html: preact 10.0.5 2019-11-23 23:19:32 +08:00
Shuanglei Tao
75b3b59247 html: upgrade to preact 10 and xterm 4.2.0 2019-10-26 14:45:04 +08:00
Shuanglei Tao
e979d82f2d README: update badges 2019-10-01 18:55:32 +08:00
Shuanglei Tao
d290f08770 workflow: update backend 2019-10-01 18:47:30 +08:00
Shuanglei Tao
0c3e93e094 workflow: add lws 3.2.0 2019-10-01 18:19:36 +08:00
Shuanglei Tao
9126d54108 protocol: set pty fd close-on-exec 2019-09-28 23:31:15 +08:00
Shuanglei Tao
dbcf12512f xterm.js 4.0.2 2019-09-28 23:11:41 +08:00
Shang Yuanchun
96528fe2e1 Focus to terminal after rz transfer completed (#237)
* Focus to terminal after rz transfer completed

* Generate index.html after commit d355d7b9c8
2019-09-28 23:01:22 +08:00
Shuanglei Tao
62844c2509 src: fix exit code check on linux 2019-09-15 19:07:02 +08:00
Shuanglei Tao
5381d0f825 all: remove pthread 2019-09-15 18:39:30 +08:00
ideal
4ad0cc86b7 Fix for upgrade of libwebsockets 3.2.0, it removes the poll which breaks every second in the previous version.
Reference:
[1] https://github.com/warmcat/libwebsockets/issues/1685
[2] https://libwebsockets.org/git/libwebsockets/tree/READMEs/README.lws_sul.md
2019-09-14 19:53:54 +08:00
Shuanglei Tao
46064ee86e src: refuse to compile with lws 3.2.0 2019-09-14 11:30:39 +08:00
Shuanglei Tao
83c6317527 xterm.js 4.0.1 2019-09-14 10:34:46 +08:00
greenkeeper[bot]
8f35d0c8f6 Update terser-webpack-plugin in group default to the latest version 🚀 (#224)
* chore(package): update terser-webpack-plugin to version 2.0.0

* chore: update lockfile yarn.lock
2019-09-11 22:32:07 +08:00
Shuanglei Tao
9af13f750a xterm.js 3.14.0 2019-09-11 22:25:31 +08:00
greenkeeper[bot]
fa09895d69 Update sass-loader in group default to the latest version 🚀 (#221)
* chore(package): update sass-loader to version 8.0.0

* chore: update lockfile yarn.lock
2019-09-03 22:38:53 +08:00
Shuanglei Tao
671427b150 src: fallback to lws_get_peer_addresses on old libwebsockets 2019-09-03 22:29:27 +08:00
Xiang Dai
94817b4eb3 Avoid slow reverse-DNS requests caused by libwebsocket (#222)
* Avoid slow reverse-DNS requests caused by libwebsocket

According to warmcat/libwebsockets#537 and following my own experience, in some circumstances lws_get_peer_addresses can take several seconds to execute a reverse DNS request on a connected peer IP. The effect is that sometimes a websocket connection takes several seconds before it is established.
This PR addresses the described issue by replacing lws_get_peer_addresses with lws_get_peer_simple that completely skips the RDNS request.

Signed-off-by: Xiang Dai <764524258@qq.com>
2019-09-03 13:53:54 +08:00
Shuanglei Tao
43c5aedd35 github: update release workflow 2019-08-28 23:29:13 +08:00
Shuanglei Tao
da2406a4f3 github: add release workflow 2019-08-28 23:03:41 +08:00
Shuanglei Tao
3c73c96299 html: yarn upgrade 2019-08-28 22:36:15 +08:00
dependabot[bot]
5bbfcc84d8 build(deps): bump mixin-deep from 1.3.1 to 1.3.2 in /html (#219)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-28 22:27:46 +08:00
Shuanglei Tao
32cf6214d2 xterm.js 3.15.0-vscode1 2019-08-28 22:18:37 +08:00