]> prime8.dev >> repos - ttyd.git/log
ttyd.git
4 years agoAdd 64-bit ARM (aarch64) build (#275)
Aleksandar Topuzović [Tue, 18 Feb 2020 16:33:47 +0000 (16:33 +0000)]
Add 64-bit ARM (aarch64) build (#275)

4 years agoworkflow: update backend
Shuanglei Tao [Tue, 18 Feb 2020 15:38:01 +0000 (23:38 +0800)]
workflow: update backend

4 years agoupdate README
Shuanglei Tao [Mon, 17 Feb 2020 16:21:36 +0000 (00:21 +0800)]
update README

4 years agoREADME: move docs to wiki
Shuanglei Tao [Mon, 17 Feb 2020 16:11:59 +0000 (00:11 +0800)]
README: move docs to wiki

4 years agoupdate README
Shuanglei Tao [Mon, 17 Feb 2020 05:06:07 +0000 (13:06 +0800)]
update README

4 years agolibwebsockets: 3.2.2
Shuanglei Tao [Tue, 11 Feb 2020 14:03:42 +0000 (22:03 +0800)]
libwebsockets: 3.2.2

4 years agoupdate README
Shuanglei Tao [Tue, 11 Feb 2020 02:25:50 +0000 (10:25 +0800)]
update README

4 years agoBump to 1.6.0
Shuanglei Tao [Sun, 9 Feb 2020 08:33:17 +0000 (16:33 +0800)]
Bump to 1.6.0

4 years agoREADME: remove duplicate apt packages
Shuanglei Tao [Sun, 9 Feb 2020 08:36:43 +0000 (16:36 +0800)]
README: remove duplicate apt packages

4 years agoall: cleanup third party makefiles
Shuanglei Tao [Sun, 9 Feb 2020 08:23:46 +0000 (16:23 +0800)]
all: cleanup third party makefiles

4 years agocmake: cleanup unused config
Shuanglei Tao [Sat, 8 Feb 2020 06:11:26 +0000 (14:11 +0800)]
cmake: cleanup unused config

4 years agocmake: remove pkg-config usage
Shuanglei Tao [Fri, 7 Feb 2020 06:03:29 +0000 (14:03 +0800)]
cmake: remove pkg-config usage

4 years agohtml: polish code
Shuanglei Tao [Fri, 7 Feb 2020 05:08:34 +0000 (13:08 +0800)]
html: polish code

4 years agoREADME: add nginx proxy conf
Shuanglei Tao [Thu, 6 Feb 2020 09:36:43 +0000 (17:36 +0800)]
README: add nginx proxy conf

4 years agohtml: use api to fetch auth token
Shuanglei Tao [Thu, 6 Feb 2020 09:24:00 +0000 (17:24 +0800)]
html: use api to fetch auth token

4 years agohtml: xterm.js 4.4.0
Shuanglei Tao [Wed, 5 Feb 2020 09:01:55 +0000 (17:01 +0800)]
html: xterm.js 4.4.0

4 years agohtml: embed gziped version
Shuanglei Tao [Wed, 5 Feb 2020 08:42:43 +0000 (16:42 +0800)]
html: embed gziped version

4 years agocmake: remove xxd dependency
Shuanglei Tao [Sun, 2 Feb 2020 06:32:17 +0000 (14:32 +0800)]
cmake: remove xxd dependency

4 years agoUpdate lint-staged in group default to the latest version πŸš€ (#264)
greenkeeper[bot] [Tue, 28 Jan 2020 04:21:30 +0000 (12:21 +0800)]
Update lint-staged in group default to the latest version πŸš€ (#264)

* chore(package): update lint-staged to version 10.0.3

* chore(package): update lockfile html/yarn.lock

4 years agoUpdate issue templates
Shuanglei Tao [Tue, 28 Jan 2020 04:19:07 +0000 (12:19 +0800)]
Update issue templates

4 years agohttp: add missing header (#263)
Rosen Penev [Sun, 26 Jan 2020 04:51:29 +0000 (20:51 -0800)]
http: add missing header (#263)

Fixes compilation without deprecated OpenSSL APIs.

4 years agoserver: print listen port on start
Shuanglei Tao [Mon, 20 Jan 2020 15:55:39 +0000 (23:55 +0800)]
server: print listen port on start

4 years agoUpdate husky in group default to the latest version πŸš€ (#262)
Shuanglei Tao [Tue, 14 Jan 2020 14:26:48 +0000 (22:26 +0800)]
Update husky in group default to the latest version πŸš€ (#262)

* chore(package): update husky to version 4.0.6

* chore(package): update lockfile html/yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
4 years agobugfix: off by one error (#257)
Dennis Chen [Thu, 2 Jan 2020 13:30:58 +0000 (07:30 -0600)]
bugfix: off by one error (#257)

The strncpy function requires enough space for a NUL terminator.

4 years agoUpdate mini-css-extract-plugin in group default to the latest version πŸš€ (#255)
greenkeeper[bot] [Fri, 20 Dec 2019 16:23:45 +0000 (00:23 +0800)]
Update mini-css-extract-plugin in group default to the latest version πŸš€ (#255)

* chore(package): update mini-css-extract-plugin to version 0.9.0

* chore(package): update lockfile html/yarn.lock

4 years agoprotocol: print signal name
Shuanglei Tao [Sat, 14 Dec 2019 16:07:19 +0000 (00:07 +0800)]
protocol: print signal name

4 years agoprotocol: use uv_kill to kill process
Shuanglei Tao [Sat, 14 Dec 2019 14:59:56 +0000 (22:59 +0800)]
protocol: use uv_kill to kill process

4 years agoprotocol: fix json parsing
Shuanglei Tao [Sat, 14 Dec 2019 14:50:53 +0000 (22:50 +0800)]
protocol: fix json parsing

4 years agoAvoid trying to redefine sys_signame on Android (#253)
Fredrik Fornwall [Fri, 13 Dec 2019 06:06:06 +0000 (07:06 +0100)]
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.

4 years agoserver: improve child process handling
Shuanglei Tao [Tue, 10 Dec 2019 16:09:54 +0000 (00:09 +0800)]
server: improve child process handling

4 years agohtml: webgl renderer support
Shuanglei Tao [Sun, 8 Dec 2019 15:21:01 +0000 (23:21 +0800)]
html: webgl renderer support

4 years agoDockerfile: use bash
Shuanglei Tao [Sun, 8 Dec 2019 14:31:45 +0000 (22:31 +0800)]
Dockerfile: use bash

4 years agoDockerfile: use multi-stage build
Shuanglei Tao [Sun, 8 Dec 2019 10:32:33 +0000 (18:32 +0800)]
Dockerfile: use multi-stage build

4 years agohtml: update dependencies
Shuanglei Tao [Sun, 8 Dec 2019 09:46:37 +0000 (17:46 +0800)]
html: update dependencies

4 years agolibuv: update README
Shuanglei Tao [Sun, 8 Dec 2019 09:16:58 +0000 (17:16 +0800)]
libuv: update README

4 years agoworkflow: update release
Shuanglei Tao [Sun, 8 Dec 2019 08:48:28 +0000 (16:48 +0800)]
workflow: update release

4 years agoworkflow: cross build backend
Shuanglei Tao [Sun, 8 Dec 2019 08:21:44 +0000 (16:21 +0800)]
workflow: cross build backend

4 years agolibuv: update cross build script
Shuanglei Tao [Sun, 8 Dec 2019 06:06:15 +0000 (14:06 +0800)]
libuv: update cross build script

4 years agoci: remove travis config
Shuanglei Tao [Sat, 7 Dec 2019 10:06:04 +0000 (18:06 +0800)]
ci: remove travis config

4 years agoserver: exit immediately on old lws versions
Shuanglei Tao [Sat, 7 Dec 2019 02:34:52 +0000 (10:34 +0800)]
server: exit immediately on old lws versions

4 years agoci: run ldconfig after install libwebsockets
Shuanglei Tao [Thu, 5 Dec 2019 15:51:37 +0000 (23:51 +0800)]
ci: run ldconfig after install libwebsockets

4 years agoterminal: set the pty fd non blocking
Shuanglei Tao [Thu, 5 Dec 2019 15:19:34 +0000 (23:19 +0800)]
terminal: set the pty fd non blocking

4 years agoprotocol: split forkpty to separate file
Shuanglei Tao [Tue, 3 Dec 2019 16:12:38 +0000 (00:12 +0800)]
protocol: split forkpty to separate file

4 years agoprotocol: cleanup pipe handle
Shuanglei Tao [Sat, 30 Nov 2019 11:24:42 +0000 (19:24 +0800)]
protocol: cleanup pipe handle

4 years agoprotocol: fix potential double free
Shuanglei Tao [Sat, 30 Nov 2019 10:35:40 +0000 (18:35 +0800)]
protocol: fix potential double free

4 years agoprotocol: rename tty_client to pss_tty
Shuanglei Tao [Sat, 30 Nov 2019 09:46:37 +0000 (17:46 +0800)]
protocol: rename tty_client to pss_tty

4 years agotravis: install libuv1-dev
Shuanglei Tao [Sat, 30 Nov 2019 09:31:13 +0000 (17:31 +0800)]
travis: install libuv1-dev

4 years agoserver: improve signal handling
Shuanglei Tao [Sat, 30 Nov 2019 08:44:15 +0000 (16:44 +0800)]
server: improve signal handling

4 years agoserver: remove sys/queue dep
Shuanglei Tao [Sat, 30 Nov 2019 08:17:04 +0000 (16:17 +0800)]
server: remove sys/queue dep

4 years agolibuv: initial support
Shuanglei Tao [Wed, 27 Nov 2019 14:34:23 +0000 (22:34 +0800)]
libuv: initial support

4 years agoci: pin node version to 12.x
Shuanglei Tao [Sat, 30 Nov 2019 01:21:18 +0000 (09:21 +0800)]
ci: pin node version to 12.x

4 years agohtml: use file-saver to save file
Shuanglei Tao [Wed, 27 Nov 2019 17:48:39 +0000 (01:48 +0800)]
html: use file-saver to save file

4 years agoserver: add a tiny timeout to lws_service
Shuanglei Tao [Thu, 28 Nov 2019 12:46:05 +0000 (20:46 +0800)]
server: add a tiny timeout to lws_service

4 years agoserver: remove the sleep from main loop
Shuanglei Tao [Tue, 26 Nov 2019 13:55:42 +0000 (21:55 +0800)]
server: remove the sleep from main loop

5 years agohtml: preact 10.0.5
Shuanglei Tao [Sat, 23 Nov 2019 15:19:32 +0000 (23:19 +0800)]
html: preact 10.0.5

5 years agohtml: upgrade to preact 10 and xterm 4.2.0
Shuanglei Tao [Sat, 26 Oct 2019 06:45:04 +0000 (14:45 +0800)]
html: upgrade to preact 10 and xterm 4.2.0

5 years agoREADME: update badges
Shuanglei Tao [Tue, 1 Oct 2019 10:55:32 +0000 (18:55 +0800)]
README: update badges

5 years agoworkflow: update backend
Shuanglei Tao [Tue, 1 Oct 2019 10:47:30 +0000 (18:47 +0800)]
workflow: update backend

5 years agoworkflow: add lws 3.2.0
Shuanglei Tao [Tue, 1 Oct 2019 10:19:36 +0000 (18:19 +0800)]
workflow: add lws 3.2.0

5 years agoprotocol: set pty fd close-on-exec
Shuanglei Tao [Sat, 28 Sep 2019 15:28:14 +0000 (23:28 +0800)]
protocol: set pty fd close-on-exec

5 years agoxterm.js 4.0.2
Shuanglei Tao [Sat, 28 Sep 2019 15:11:41 +0000 (23:11 +0800)]
xterm.js 4.0.2

5 years agoFocus to terminal after rz transfer completed (#237)
Shang Yuanchun [Sat, 28 Sep 2019 15:01:22 +0000 (23:01 +0800)]
Focus to terminal after rz transfer completed (#237)

* Focus to terminal after rz transfer completed

* Generate index.html after commit d355d7b9c856171512c2db4668a223b5ebb1b3ee

5 years agosrc: fix exit code check on linux
Shuanglei Tao [Sun, 15 Sep 2019 11:06:47 +0000 (19:06 +0800)]
src: fix exit code check on linux

5 years agoall: remove pthread
Shuanglei Tao [Sun, 15 Sep 2019 10:09:48 +0000 (18:09 +0800)]
all: remove pthread

5 years agoFix for upgrade of libwebsockets 3.2.0, it removes the poll which breaks every second...
ideal [Sat, 14 Sep 2019 10:06:18 +0000 (18:06 +0800)]
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

5 years agosrc: refuse to compile with lws 3.2.0
Shuanglei Tao [Sat, 14 Sep 2019 03:30:39 +0000 (11:30 +0800)]
src: refuse to compile with lws 3.2.0

5 years agoxterm.js 4.0.1
Shuanglei Tao [Sat, 14 Sep 2019 02:34:17 +0000 (10:34 +0800)]
xterm.js 4.0.1

5 years agoUpdate terser-webpack-plugin in group default to the latest version πŸš€ (#224)
greenkeeper[bot] [Wed, 11 Sep 2019 14:32:07 +0000 (22:32 +0800)]
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

5 years agoxterm.js 3.14.0
Shuanglei Tao [Wed, 11 Sep 2019 14:25:31 +0000 (22:25 +0800)]
xterm.js 3.14.0

5 years agoUpdate sass-loader in group default to the latest version πŸš€ (#221)
greenkeeper[bot] [Tue, 3 Sep 2019 14:38:54 +0000 (22:38 +0800)]
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

5 years agosrc: fallback to lws_get_peer_addresses on old libwebsockets
Shuanglei Tao [Tue, 3 Sep 2019 14:29:27 +0000 (22:29 +0800)]
src: fallback to lws_get_peer_addresses on old libwebsockets

5 years agoAvoid slow reverse-DNS requests caused by libwebsocket (#222)
Xiang Dai [Tue, 3 Sep 2019 05:53:54 +0000 (13:53 +0800)]
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>
5 years agogithub: update release workflow
Shuanglei Tao [Wed, 28 Aug 2019 15:27:37 +0000 (23:27 +0800)]
github: update release workflow

5 years agogithub: add release workflow
Shuanglei Tao [Wed, 28 Aug 2019 15:03:41 +0000 (23:03 +0800)]
github: add release workflow

5 years agohtml: yarn upgrade
Shuanglei Tao [Wed, 28 Aug 2019 14:36:15 +0000 (22:36 +0800)]
html: yarn upgrade

5 years agobuild(deps): bump mixin-deep from 1.3.1 to 1.3.2 in /html (#219)
dependabot[bot] [Wed, 28 Aug 2019 14:27:46 +0000 (22:27 +0800)]
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>
5 years agoxterm.js 3.15.0-vscode1
Shuanglei Tao [Wed, 28 Aug 2019 14:18:37 +0000 (22:18 +0800)]
xterm.js 3.15.0-vscode1

5 years agoAdd github workflow
Shuanglei Tao [Sun, 25 Aug 2019 02:20:49 +0000 (10:20 +0800)]
Add github workflow

5 years agoUpdate style-loader in group default to the latest version πŸš€ (#212)
greenkeeper[bot] [Tue, 6 Aug 2019 16:05:21 +0000 (00:05 +0800)]
Update style-loader in group default to the latest version πŸš€ (#212)

* chore(package): update style-loader to version 1.0.0

* chore: update lockfile yarn.lock

5 years agoBump to 1.5.2
Shuanglei Tao [Mon, 5 Aug 2019 13:38:00 +0000 (21:38 +0800)]
Bump to 1.5.2

5 years agoFix potential segmentation fault (SIGSEGV) error #209 (#210)
Adela0602 [Sun, 4 Aug 2019 13:11:30 +0000 (21:11 +0800)]
Fix potential segmentation fault (SIGSEGV) error #209 (#210)

5 years agotravis: compile html frondend
Shuanglei Tao [Sun, 4 Aug 2019 04:39:50 +0000 (12:39 +0800)]
travis: compile html frondend

5 years agohtml: preact 8.5.0
Shuanglei Tao [Sun, 4 Aug 2019 04:31:05 +0000 (12:31 +0800)]
html: preact 8.5.0

5 years agoserver: fix pthread_mutex_trylock usage
Shuanglei Tao [Sun, 4 Aug 2019 03:59:34 +0000 (11:59 +0800)]
server: fix pthread_mutex_trylock usage

5 years agouse errno.h not sys/errno.h in utils.c as in other files (#207)
Stuart Henderson [Wed, 31 Jul 2019 08:09:13 +0000 (09:09 +0100)]
use errno.h not sys/errno.h in utils.c as in other files (#207)

Use errno.h rather than sysno/errno.h in utils.c, unbreaking build on OpenBSD (the "errno" symbol is only defined in errno.h not in sys/errno.h).

protocol.c and server.c already include errno.h rather than sys/errno.h so this should be safe on other OS here also.

5 years agoinclude pthread.h for pthread_mutex_t (#206)
Stuart Henderson [Wed, 31 Jul 2019 08:09:01 +0000 (09:09 +0100)]
include pthread.h for pthread_mutex_t (#206)

Needed to unbreak build on OpenBSD.

5 years agohtml: added window.term.fit
Shohei Kameda [Thu, 25 Jul 2019 14:06:03 +0000 (23:06 +0900)]
html: added window.term.fit

5 years agoserver: fix the client-option and terminal-type long option
Shuanglei Tao [Tue, 23 Jul 2019 12:35:27 +0000 (20:35 +0800)]
server: fix the client-option and terminal-type long option

5 years agoscripts: enable ipv6 support for lws
Shuanglei Tao [Fri, 19 Jul 2019 15:00:18 +0000 (23:00 +0800)]
scripts: enable ipv6 support for lws

5 years agoserver: hide ipv6 option if not suppored by lws
Shuanglei Tao [Fri, 19 Jul 2019 14:55:03 +0000 (22:55 +0800)]
server: hide ipv6 option if not suppored by lws

5 years agoREADME: update SSL script to generate sha256 cert
Shuanglei Tao [Thu, 18 Jul 2019 09:21:46 +0000 (17:21 +0800)]
README: update SSL script to generate sha256 cert

5 years agoUpdate mini-css-extract-plugin in group default to the latest version πŸš€ (#201)
greenkeeper[bot] [Wed, 17 Jul 2019 05:52:03 +0000 (13:52 +0800)]
Update mini-css-extract-plugin in group default to the latest version πŸš€ (#201)

* chore(package): update mini-css-extract-plugin to version 0.8.0

* chore(package): update lock yarn.lock

5 years agoBump to 1.5.1
Shuanglei Tao [Fri, 12 Jul 2019 12:57:35 +0000 (20:57 +0800)]
Bump to 1.5.1

5 years agohtml: update modal style
Shuanglei Tao [Fri, 12 Jul 2019 12:53:01 +0000 (20:53 +0800)]
html: update modal style

5 years agoUpdate dependencies to enable Greenkeeper 🌴 (#200)
greenkeeper[bot] [Thu, 11 Jul 2019 12:20:46 +0000 (20:20 +0800)]
Update dependencies to enable Greenkeeper πŸŒ΄ (#200)

* chore: add Greenkeeper config file

* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* chore(package): update lockfile yarn.lock

5 years agobuild(deps): bump lodash from 4.17.11 to 4.17.14 in /html (#199)
dependabot[bot] [Thu, 11 Jul 2019 11:57:12 +0000 (19:57 +0800)]
build(deps): bump lodash from 4.17.11 to 4.17.14 in /html (#199)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
5 years agoxterm.js 3.14.5
Shuanglei Tao [Thu, 11 Jul 2019 11:36:19 +0000 (19:36 +0800)]
xterm.js 3.14.5

5 years agohtml: abort zmodem session on ctrl+c
Shuanglei Tao [Sun, 7 Jul 2019 12:58:57 +0000 (20:58 +0800)]
html: abort zmodem session on ctrl+c

5 years agohtml: add empty check for copy
Shuanglei Tao [Sun, 7 Jul 2019 12:04:06 +0000 (20:04 +0800)]
html: add empty check for copy

5 years agohtml: polish zmodem code
Shuanglei Tao [Sun, 7 Jul 2019 11:44:01 +0000 (19:44 +0800)]
html: polish zmodem code