]>
prime8.dev >> repos - ttyd.git/log
Lonny Wong [Thu, 27 Apr 2023 03:57:09 +0000 (11:57 +0800)]
improve support for trzsz (#1084)
* trzsz support drag and drop to upload
* optimize trzsz upload speed
* trzsz support windows
* trzsz support transfer directories in browser
Olivier Van Rompuy [Thu, 27 Apr 2023 02:32:06 +0000 (04:32 +0200)]
info.max_http_header_data = 65535; (#1088)
Alfonso Montero [Thu, 27 Apr 2023 02:31:36 +0000 (04:31 +0200)]
Add Docker pulls badge (#1092)
WeidiDeng [Thu, 27 Apr 2023 02:30:36 +0000 (10:30 +0800)]
fix flow control (#1093)
According to [xterm.js](http://xtermjs.org/docs/guides/flowcontrol/#ideas-for-a-better-mechanism), pause and resume are in wrong places.
Kian-Meng Ang [Tue, 14 Mar 2023 06:31:23 +0000 (14:31 +0800)]
Fix typo, OPTOINS -> OPTIONS (#1087)
Found via `typos --format brief`
Yegor Yefremov [Fri, 3 Mar 2023 14:47:12 +0000 (15:47 +0100)]
Bump CMake version to 2.8.12 (#1081)
Fixes the following warning:
Compatibility with CMake < 2.8.12 will be removed from a future version
of CMake.
Shuanglei Tao [Wed, 1 Feb 2023 02:32:51 +0000 (10:32 +0800)]
Update README.md
Shuanglei Tao [Wed, 18 Jan 2023 02:52:35 +0000 (10:52 +0800)]
Bump to 1.7.3
Shuanglei Tao [Fri, 13 Jan 2023 00:42:36 +0000 (08:42 +0800)]
update release workflow
Shuanglei Tao [Fri, 13 Jan 2023 00:40:52 +0000 (08:40 +0800)]
pty: print process exit code on error
Shuanglei Tao [Thu, 29 Dec 2022 08:54:09 +0000 (16:54 +0800)]
workflow: update win32 build
Shuanglei Tao [Thu, 29 Dec 2022 08:53:50 +0000 (16:53 +0800)]
scripts: win32 support for cross build
Shuanglei Tao [Wed, 28 Dec 2022 05:10:10 +0000 (13:10 +0800)]
html: upgrade to xterm 5.1.0
Shuanglei Tao [Tue, 20 Dec 2022 02:44:54 +0000 (10:44 +0800)]
Create FUNDING.yml
Shuanglei Tao [Sun, 13 Nov 2022 08:06:17 +0000 (16:06 +0800)]
msys2: switch to ucrt64
Shuanglei Tao [Fri, 4 Nov 2022 07:09:48 +0000 (15:09 +0800)]
pty: remove uv_read error log
Shuanglei Tao [Fri, 4 Nov 2022 05:55:44 +0000 (13:55 +0800)]
html: release ObjectURL on dispose
Shuanglei Tao [Thu, 3 Nov 2022 13:02:57 +0000 (21:02 +0800)]
html: handle listener lifecycle
Shuanglei Tao [Thu, 3 Nov 2022 12:18:07 +0000 (20:18 +0800)]
html: fix eslint warnings
Shuanglei Tao [Thu, 3 Nov 2022 08:40:33 +0000 (16:40 +0800)]
html: fix rendererType=dom not working
Shuanglei Tao [Thu, 3 Nov 2022 08:04:47 +0000 (16:04 +0800)]
html: upgrade to webpack-dev-server 4.11.1
Shuanglei Tao [Thu, 3 Nov 2022 03:03:05 +0000 (11:03 +0800)]
update README
Kris Schneider [Thu, 3 Nov 2022 02:37:39 +0000 (20:37 -0600)]
Add Scoop installation methods (#1013)
Shuanglei Tao [Wed, 2 Nov 2022 17:47:04 +0000 (01:47 +0800)]
update man
Shuanglei Tao [Wed, 2 Nov 2022 17:29:01 +0000 (01:29 +0800)]
html: add zmodem.js patch
Shuanglei Tao [Wed, 2 Nov 2022 17:12:39 +0000 (01:12 +0800)]
html: migrate to yarn v2
Shuanglei Tao [Wed, 2 Nov 2022 05:39:05 +0000 (13:39 +0800)]
html: refactor terminal component
Shuanglei Tao [Tue, 1 Nov 2022 03:36:32 +0000 (11:36 +0800)]
html: upgrade to gts 4.0.0
Shuanglei Tao [Mon, 31 Oct 2022 06:57:18 +0000 (14:57 +0800)]
html: add option to toggle trzsz
Shuanglei Tao [Sun, 30 Oct 2022 09:56:10 +0000 (17:56 +0800)]
html: polish closure code
Shuanglei Tao [Sun, 30 Oct 2022 09:35:22 +0000 (17:35 +0800)]
html: fix trzsz send typo
Shuanglei Tao [Sun, 30 Oct 2022 05:39:00 +0000 (13:39 +0800)]
html: handle binary xterm event
Shuanglei Tao [Sun, 30 Oct 2022 03:58:41 +0000 (11:58 +0800)]
html: add trzsz support
Co-authored-by: Lonny Wong <lonnywong@qq.com>
Shuanglei Tao [Sun, 30 Oct 2022 03:43:30 +0000 (11:43 +0800)]
update man
Shuanglei Tao [Sun, 30 Oct 2022 03:14:19 +0000 (11:14 +0800)]
html: add option to toggle sixel
Shuanglei Tao [Sat, 29 Oct 2022 15:47:23 +0000 (23:47 +0800)]
html: add option to toggle zmodem
Shuanglei Tao [Sat, 29 Oct 2022 05:48:52 +0000 (13:48 +0800)]
html: move flow control logic to terminal
LINKIWI [Sat, 29 Oct 2022 04:19:43 +0000 (21:19 -0700)]
server: Custom user/group ownership of Unix domain socket listener, when enabled (#1007)
Herby Gillot [Fri, 28 Oct 2022 15:13:41 +0000 (11:13 -0400)]
README: add MacPorts install instructions (#1008)
https://ports.macports.org/port/ttyd/
Shuanglei Tao [Tue, 18 Oct 2022 17:05:07 +0000 (01:05 +0800)]
update README
Shuanglei Tao [Tue, 18 Oct 2022 16:26:52 +0000 (00:26 +0800)]
workflow: update actions
Shuanglei Tao [Tue, 18 Oct 2022 15:58:37 +0000 (23:58 +0800)]
Bump to 1.7.2
kz6fittycent [Tue, 18 Oct 2022 15:46:02 +0000 (10:46 -0500)]
Snap created and ready for publication (#1003)
Shuanglei Tao [Tue, 18 Oct 2022 15:21:33 +0000 (23:21 +0800)]
html: upgrade to xterm 5.0
Shuanglei Tao [Tue, 18 Oct 2022 14:33:05 +0000 (22:33 +0800)]
scripts: update cross build lib versions
Shuanglei Tao [Tue, 18 Oct 2022 14:25:55 +0000 (22:25 +0800)]
html: update dependencies
Kevin Lin [Sat, 3 Sep 2022 20:06:01 +0000 (13:06 -0700)]
html: Initialize doReconnect to false when specified by client options
jzw-weride [Tue, 11 Oct 2022 14:50:48 +0000 (07:50 -0700)]
pty: fix use-after-free issue when closing a connection (#997)
Shuanglei Tao [Tue, 11 Oct 2022 13:09:49 +0000 (21:09 +0800)]
scripts: update mingw-build.sh
dependabot[bot] [Tue, 13 Sep 2022 03:15:21 +0000 (11:15 +0800)]
build(deps-dev): bump terser-webpack-plugin from 5.3.3 to 5.3.6 in /html (#973)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.3.3 to 5.3.6.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.3.3...v5.3.6)
---
updated-dependencies:
- dependency-name: terser-webpack-plugin
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Shuanglei Tao [Mon, 12 Sep 2022 14:30:12 +0000 (14:30 +0000)]
html: update dependencies
Shuanglei Tao [Mon, 12 Sep 2022 14:16:41 +0000 (14:16 +0000)]
html: upgrade to xterm-addon-image 0.1.3
Shuanglei Tao [Sat, 3 Sep 2022 11:25:33 +0000 (19:25 +0800)]
html: only show resize overlay on ws
Shuanglei Tao [Tue, 30 Aug 2022 13:04:14 +0000 (13:04 +0000)]
html: upgrade to xterm-addon-image 0.1.1
jerch [Mon, 29 Aug 2022 23:44:25 +0000 (01:44 +0200)]
html: add sixel support (#970)
* sixel support
* make linter happy
* picky linters gonna be picky
* simplify worker inlining
* rebuild html
Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
Shuanglei Tao [Sun, 28 Aug 2022 11:03:51 +0000 (19:03 +0800)]
server: allow http on https port
Dustin Martin [Tue, 23 Aug 2022 14:00:46 +0000 (07:00 -0700)]
protocol: ignore resize message if process freed (#968)
Shuanglei Tao [Thu, 18 Aug 2022 08:15:49 +0000 (16:15 +0800)]
cross: revert to mbedtls 2.x (2.28.1)
Shuanglei Tao [Thu, 18 Aug 2022 06:37:55 +0000 (14:37 +0800)]
cmake: add check for util lib
Shuanglei Tao [Thu, 18 Aug 2022 05:48:12 +0000 (13:48 +0800)]
Bump to 1.7.1
Shuanglei Tao [Thu, 18 Aug 2022 04:14:46 +0000 (12:14 +0800)]
protocol: fix potential pty buf leak on process exit
Shuanglei Tao [Thu, 18 Aug 2022 03:33:30 +0000 (11:33 +0800)]
pty: remove close call on windows
Shuanglei Tao [Thu, 18 Aug 2022 02:35:23 +0000 (10:35 +0800)]
protocol: fix potential pty buf leak
Shuanglei Tao [Wed, 17 Aug 2022 13:40:39 +0000 (21:40 +0800)]
cmake: add windows rc file
Shuanglei Tao [Wed, 17 Aug 2022 08:46:58 +0000 (16:46 +0800)]
protocol: fix potential null pss access
Shuanglei Tao [Mon, 8 Aug 2022 08:30:06 +0000 (16:30 +0800)]
workflow: build win10 binary on release
Shuanglei Tao [Mon, 8 Aug 2022 07:49:40 +0000 (15:49 +0800)]
Bump to 1.7.0
Shuanglei Tao [Mon, 8 Aug 2022 07:41:13 +0000 (15:41 +0800)]
html: update default font family
Shuanglei Tao [Sat, 6 Aug 2022 14:14:35 +0000 (22:14 +0800)]
update LICENSE year
dependabot[bot] [Thu, 4 Aug 2022 17:06:00 +0000 (01:06 +0800)]
build(deps-dev): bump css-minimizer-webpack-plugin in /html (#928)
Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 3.3.1 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v3.3.1...v4.0.0)
---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 4 Aug 2022 17:05:48 +0000 (01:05 +0800)]
build(deps-dev): bump copy-webpack-plugin from 10.2.0 to 11.0.0 in /html (#927)
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 10.2.0 to 11.0.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v10.2.0...v11.0.0)
---
updated-dependencies:
- dependency-name: copy-webpack-plugin
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Shuanglei Tao [Thu, 4 Aug 2022 16:58:29 +0000 (00:58 +0800)]
workflow: bump to node 16.x
Shuanglei Tao [Thu, 4 Aug 2022 16:43:05 +0000 (00:43 +0800)]
html: replace node-sass with sass
dependabot[bot] [Thu, 4 Aug 2022 15:08:17 +0000 (23:08 +0800)]
build(deps): bump preact from 10.8.2 to 10.10.0 in /html (#954)
Bumps [preact](https://github.com/preactjs/preact) from 10.8.2 to 10.10.0.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.8.2...10.10.0)
---
updated-dependencies:
- dependency-name: preact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 4 Aug 2022 14:57:58 +0000 (22:57 +0800)]
build(deps): bump async from 2.6.3 to 2.6.4 in /html (#920)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 4 Aug 2022 14:57:16 +0000 (22:57 +0800)]
build(deps): bump eventsource from 1.1.0 to 1.1.1 in /html (#931)
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.1.0...v1.1.1)
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 4 Aug 2022 14:56:45 +0000 (22:56 +0800)]
build(deps): bump minimist from 1.2.5 to 1.2.6 in /html (#917)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Shuanglei Tao [Thu, 4 Aug 2022 14:54:12 +0000 (22:54 +0800)]
html: update packages
pseudo [Thu, 4 Aug 2022 01:45:09 +0000 (01:45 +0000)]
pty.c: Fix errant use of fcntl F_SETFD (#951)
* pty.c: Fix errant use of fcntl F_SETFL
When this was added in https://github.com/tsl0922/ttyd/commit/
cfd338ea5e1a3c3023acade45980b3024c41e507
We before this time the *File descriptor flags* (`F_GETFD`/`F_SETFD`) were augmented to include `FD_CLOEXEC`
Then at this time the additional code added the *File status flags* (`F_GETFL`/`F_SETFL`) to include `O_NONBLOCK`, but this was weaved through code working with `F_SETFD` instead of `F_SETFL`. Some systems may use one big status word for all of them. Mine certainly dont.
FIXES #733
Shuanglei Tao [Thu, 4 Aug 2022 01:40:30 +0000 (09:40 +0800)]
cross: use a github mirror of musl.cc artifacts
Shuanglei Tao [Tue, 5 Jul 2022 13:05:17 +0000 (21:05 +0800)]
Revert "xterm: enable macbook options key as modifier for copy-and-paste (#914)"
This reverts commit
2b4dbacc10f0db7fceb092ea42ea12cd9301f4aa .
Shuanglei Tao [Mon, 4 Jul 2022 15:35:23 +0000 (23:35 +0800)]
scripts: bump to mbedtls 3.1.0
Shuanglei Tao [Mon, 4 Jul 2022 15:12:04 +0000 (23:12 +0800)]
server: disable tls 1.0/1.1 by default for openssl
Shuanglei Tao [Mon, 4 Jul 2022 14:16:39 +0000 (22:16 +0800)]
bump to libwebsockets 4.3.2
Shuanglei Tao [Mon, 4 Jul 2022 14:10:29 +0000 (22:10 +0800)]
html: pin preact@10.8.2
Shuanglei Tao [Mon, 4 Jul 2022 13:53:24 +0000 (21:53 +0800)]
html: upgrade to xterm@4.19.0
Ruben Jenster [Fri, 8 Apr 2022 14:37:02 +0000 (16:37 +0200)]
xterm: enable macbook options key as modifier for copy-and-paste (#914)
Enabling `set -g mouse on` in tmux.conf breaks copy-on-select.
On other keyboard layouts the shift key can be used as modifier for copy-on-select.
This commit enables the xterm options required for using the options key
as modifier for copy-on-select.
Ruben Jenster [Fri, 8 Apr 2022 14:33:19 +0000 (16:33 +0200)]
cross-build: upgrade zlib to 1.2.12, show curl errors (#915)
* upgrade zlib to 1.2.12
The package for the version 1.2.11 was removed from upstream,
which lets the build script fail.
* cross-build: show curl error if source download fails
Set the curl options `-f (--fail)` and `-S (--show-error)`,
to show errors when curl fails to download a source package.
curl -sLo- "https://zlib.net/zlib-1.2.11.tar.gz" | tar xz
tar: invalid magic
tar: short read
curl -fSsLo- "https://zlib.net/zlib-1.2.11.tar.gz" | tar xz
curl: (22) The requested URL returned error: 404
tar: invalid magic
tar: short read
dependabot[bot] [Fri, 4 Mar 2022 11:12:52 +0000 (19:12 +0800)]
build(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /html (#883)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Fri, 4 Mar 2022 11:12:29 +0000 (19:12 +0800)]
build(deps): bump url-parse from 1.5.3 to 1.5.10 in /html (#888)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Sat, 22 Jan 2022 02:03:52 +0000 (10:03 +0800)]
build(deps): bump follow-redirects from 1.13.1 to 1.14.7 in /html (#862)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.1...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Sat, 22 Jan 2022 02:03:28 +0000 (10:03 +0800)]
build(deps): bump nanoid from 3.1.23 to 3.2.0 in /html (#869)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0)
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Shuanglei Tao [Sun, 9 Jan 2022 02:17:11 +0000 (10:17 +0800)]
html: update to mini-css-extract-plugin 2.4.6
dependabot[bot] [Fri, 7 Jan 2022 13:55:15 +0000 (21:55 +0800)]
build(deps): bump copy-props from 2.0.4 to 2.0.5 in /html (#858)
Bumps [copy-props](https://github.com/gulpjs/copy-props) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/gulpjs/copy-props/releases)
- [Changelog](https://github.com/gulpjs/copy-props/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/copy-props/compare/2.0.4...2.0.5)
---
updated-dependencies:
- dependency-name: copy-props
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Shuanglei Tao [Fri, 7 Jan 2022 13:51:46 +0000 (21:51 +0800)]
html: update dependencies
Shuanglei Tao [Mon, 6 Dec 2021 16:52:09 +0000 (00:52 +0800)]
html: update dependencies
Shuanglei Tao [Sat, 27 Nov 2021 03:19:45 +0000 (11:19 +0800)]
html: merge object values for client-option
Shuanglei Tao [Sat, 27 Nov 2021 02:34:59 +0000 (10:34 +0800)]
html: polish webgl init code
Shuanglei Tao [Sun, 21 Nov 2021 03:21:25 +0000 (11:21 +0800)]
html: improve webgl2 detection code
Shuanglei Tao [Sat, 20 Nov 2021 15:24:31 +0000 (23:24 +0800)]
server: fix default keepalive not working