[pve-devel] [PATCH xtermjs v2 0/4] rewrite in rust

Dominik Csapak d.csapak at proxmox.com
Tue Jul 14 13:51:02 CEST 2020


this series includes a rewrite of termproxy in rust,
and some smaller ui improvements

changes from v1:
* incoroporate suggestions from wolfgang, thx :)
* fix a bug where we did not exhaust reads from either side before
  closing, discarding possibly some information
* include a handlebars template (for pbs)
* improves ui error handling
* RFC: prevent accidental closing of terminal window

needs my previous patches[0] for the proxmox crate (and a bump
of the version after; also in the Cargo.toml here)

also missing a bump and changelog entry

0: https://lists.proxmox.com/pipermail/pbs-devel/2020-July/000047.html

Dominik Csapak (4):
  termproxy: rewrite in rust
  add handlebars template
  ui: improve error message handling
  ui: prevent accidental closing of terminal window

 .cargo/config                   |   5 +
 Cargo.toml                      |  14 ++
 Makefile                        |  52 ++--
 debian/compat                   |   1 -
 debian/control                  |  16 --
 debian/debcargo.toml            |  14 ++
 debian/install                  |   1 +
 debian/rules                    |   8 +-
 debian/source/format            |   1 -
 debian/source/lintian-overrides |   4 +-
 src/Makefile                    |   7 -
 src/PVE/CLI/Makefile            |   8 -
 src/PVE/CLI/termproxy.pm        | 250 -------------------
 src/PVE/Makefile                |   3 -
 src/bin/Makefile                |   7 -
 src/bin/termproxy               |   8 -
 src/main.rs                     | 421 ++++++++++++++++++++++++++++++++
 src/www/Makefile                |  21 --
 src/www/index.html.hbs.in       |  23 ++
 src/www/main.js                 |  34 ++-
 20 files changed, 551 insertions(+), 347 deletions(-)
 create mode 100644 .cargo/config
 create mode 100644 Cargo.toml
 delete mode 100644 debian/compat
 delete mode 100644 debian/control
 create mode 100644 debian/debcargo.toml
 create mode 100644 debian/install
 delete mode 100644 debian/source/format
 delete mode 100644 src/Makefile
 delete mode 100644 src/PVE/CLI/Makefile
 delete mode 100644 src/PVE/CLI/termproxy.pm
 delete mode 100644 src/PVE/Makefile
 delete mode 100644 src/bin/Makefile
 delete mode 100755 src/bin/termproxy
 create mode 100644 src/main.rs
 delete mode 100644 src/www/Makefile
 create mode 100644 src/www/index.html.hbs.in

-- 
2.20.1






More information about the pve-devel mailing list