Commit Graph

1547 Commits

Author SHA1 Message Date
Marcin Kulik
1507ff0c12 Tweak reconnect log message - add time unit 2025-06-26 08:52:55 +02:00
Marcin Kulik
2878b391ab Add tests for alis module 2025-06-24 20:53:10 +02:00
Marcin Kulik
bbb75a6a3f Prevent wraparound error when encoding time in ALiS
Due to a rare race condition in stream::run() it may happen that time of
the first non-init event is slightly lower than time of the init event.
This only happens in high bandwidth streams when the stream consumer
(e.g. forwarder to asciinema server) re-subscribes to the stream.
2025-06-24 17:46:59 +02:00
Marcin Kulik
dd2cba282b Use 0 as initial stream time for subscribers who subscribe before first stream event 2025-06-24 17:35:04 +02:00
Marcin Kulik
00b2c6131b Bump version 2025-06-24 15:26:42 +02:00
Marcin Kulik
1d3025ad92 Rename variable 2025-06-24 14:30:59 +02:00
Marcin Kulik
21610660a7 Add --log-file option for rec command 2025-06-24 14:29:13 +02:00
Marcin Kulik
f7f82672a6 Always initialize logging when --log-file option is present 2025-06-24 14:22:10 +02:00
Marcin Kulik
17380be290 Run CI workflow on Ubuntu and macOS with default (recent) and MSRV Rust version 2025-06-24 12:29:16 +02:00
Marcin Kulik
d3c102f6dc Move the pre-submission checks to the top 2025-06-23 22:26:40 +02:00
Marcin Kulik
6a161930a6 Remove default value for reproduction steps in bug issue form 2025-06-23 21:35:37 +02:00
Marcin Kulik
1a4ac6519c Convert issue template to a form 2025-06-23 21:33:02 +02:00
Marcin Kulik
8f01e17dc7 Use bounded channel in Stream, just in case 2025-06-23 17:34:19 +02:00
Marcin Kulik
aabfee1398 Use fixed size scrollback with Avt - fixes memory leak 2025-06-23 17:23:39 +02:00
Marcin Kulik
c9e9da604f Use Bytes instead of Vec for more performant data copying between TTY and PTY 2025-06-23 16:47:41 +02:00
Marcin Kulik
acf164a1a2 Make clippy happy 2025-06-23 14:51:33 +02:00
Marcin Kulik
b57205f79a Bring back previous simpler impl of Pty 2025-06-23 14:51:33 +02:00
Marcin Kulik
8f9253ef2f Workaround kqueue+tty bug on macOS
Fixes #598
2025-06-23 14:51:33 +02:00
Marcin Kulik
abbd2a7ac6 Bring back previous simpler impl read/write in Tty trait 2025-06-22 16:02:34 +02:00
Marcin Kulik
0f3474585f Convert upload command to async 2025-06-20 17:27:28 +02:00
Marcin Kulik
8f6a977977 Fix async / blocking clash when obtaining relay endpoint for remote streaming 2025-06-20 17:26:40 +02:00
Marcin Kulik
49e96b14e7 Remove duplicate transitive deps 2025-06-20 16:18:51 +02:00
Marcin Kulik
a7bf5310b6 Relax version contraints for easier Linux distro packaging 2025-06-20 15:55:58 +02:00
Marcin Kulik
b380ed6af8 Upgrade deps 2025-06-20 15:55:52 +02:00
Marcin Kulik
d1de469ae5 Simplify messaging at the end of a session 2025-06-20 14:00:17 +02:00
Marcin Kulik
5761a53e95 Switch rustls backend to ring, upgrade which
This primarily removes many transitive deps, including duplicates such
as which.
2025-06-20 14:00:17 +02:00
Marcin Kulik
68b64a84ed Make clippy happy 2025-06-20 14:00:17 +02:00
Marcin Kulik
d8ebd373a1 Use rust 1.87 for dev (with flake) 2025-06-20 14:00:17 +02:00
Marcin Kulik
19bcb65e25 Enable auto-wrapping of the help message 2025-06-20 14:00:17 +02:00
Marcin Kulik
9b8b26e6a9 Improve --help messages 2025-06-20 14:00:14 +02:00
Marcin Kulik
049fc683df Add test for PTY input 2025-06-20 11:44:36 +02:00
Marcin Kulik
1ef501def7 Refactor pty module 2025-06-20 11:44:36 +02:00
Marcin Kulik
ac4e92dfc4 Refactor tty module 2025-06-20 11:44:36 +02:00
Marcin Kulik
a1086d7af5 Merge pull request #683 from moritzdietz/update-output
Add filename of cast file to session end output
2025-06-20 11:44:01 +02:00
moritzdietz
3c7b6d0782 Add path of .cast file to output when recording session ends
Closes #680
2025-06-19 13:35:08 +02:00
Marcin Kulik
d271e6ea4a Log notifier failure 2025-06-11 17:50:38 +02:00
Marcin Kulik
caf0cf3707 Refactor session/pty/tty 2025-06-11 17:50:30 +02:00
Marcin Kulik
d8b6cfeafc Workaround axum's graceful shutdown limitation wrt existing websocket connections 2025-06-10 12:46:01 +02:00
Marcin Kulik
27305aa0c6 Extract DA response matching into a separate method 2025-06-07 10:53:33 +02:00
Marcin Kulik
32626d0ee8 Avoid unnecessary panic 2025-06-06 22:02:21 +02:00
Marcin Kulik
2e932e5f0e Use higher timeout for OSC queries 2025-06-06 22:00:39 +02:00
Marcin Kulik
d06786fb3d Make forwarder code more readable, split methods, etc 2025-06-06 20:03:32 +02:00
Marcin Kulik
0a5dbc2bf5 Fix race condition in forwarder (remote streaming) for very short sessions 2025-06-06 19:22:29 +02:00
Marcin Kulik
3419d03041 Remove unnecessary Result wrapper 2025-06-06 16:04:15 +02:00
Marcin Kulik
7d796357ab Split long methods into smaller ones 2025-06-06 11:56:41 +02:00
Marcin Kulik
ca665b29da Fix race condition wrt terminal size, simplify session outputs code 2025-06-05 21:17:42 +02:00
Marcin Kulik
0676b54033 Make SignalFd handle multiple signals with single pipe 2025-06-05 12:11:45 +02:00
Marcin Kulik
5051cc78bc Rename "rec" command to "record", add "rec" alias 2025-06-04 08:50:21 +02:00
Marcin Kulik
b84ee319c1 Enable prefix matching for subcommands 2025-06-04 08:45:33 +02:00
Marcin Kulik
6b782585d2 Reorder subcommands 2025-06-04 08:36:09 +02:00