Commit Graph

1564 Commits

Author SHA1 Message Date
Marcin Kulik
206c0e8ea0 Refactor notifier background thread spawning 2025-02-26 11:23:03 +01:00
Marcin Kulik
3964e3564c Include env in query params when connecting to the relay 2025-02-25 19:34:36 +01:00
Marcin Kulik
a341d94cfd Update js player to the latest version 2025-02-25 11:20:58 +01:00
Marcin Kulik
6293c8b3c8 Support marker events in streams 2025-02-25 11:20:15 +01:00
Marcin Kulik
e3870dd3ca Fix stopping of looped playback
Fixes #675
2025-02-24 20:25:21 +01:00
Marcin Kulik
3451061d86 Improve error message 2025-02-24 20:25:21 +01:00
Marcin Kulik
ac7e06b47e Disable blank issue option 2025-02-22 13:00:54 +01:00
Marcin Kulik
1622c38ee8 Include term and shell in query params when connecting to the relay 2025-02-19 12:45:10 +01:00
Marcin Kulik
1a64fef0f9 cargo fmt 2025-02-19 12:41:06 +01:00
Marcin Kulik
b08147e9a9 Set user-agent header when connecting to the relay 2025-02-19 12:41:06 +01:00
Marcin Kulik
fd04f1acb9 Include event sequence number in ALiS frames 2025-02-18 13:25:57 +01:00
Marcin Kulik
b7d66e5f63 Handle 422 errors from streams API 2025-02-18 11:37:22 +01:00
Marcin Kulik
40f76dd22c Upgrade avt to the latest version 2025-02-11 20:03:50 +01:00
Marcin Kulik
5ba4c228d1 Upgrade the player to the latest version 2025-02-04 11:09:29 +01:00
Marcin Kulik
bf6318db5c Upgrade the bundled player 2025-01-28 12:04:48 +01:00
Marcin Kulik
69b6193b92 Use LEB128 encoding for all integer values in ALiS 2025-01-28 10:54:11 +01:00
Marcin Kulik
bd157ca874 Use delta coding for timestamps in ALiS 2025-01-24 11:36:59 +01:00
Marcin Kulik
e57fb21c1b Upgrade the bundled player 2025-01-23 15:07:13 +01:00
Marcin Kulik
8038b2892d Use microseconds to represent stream time in ALiS v1 2025-01-23 15:05:11 +01:00
Marcin Kulik
f0f908872c Improve error handling when trying to forward to incompatible server 2025-01-21 15:14:10 +01:00
Marcin Kulik
cd8ce618c6 Send magic string as first ALiS message 2025-01-19 15:41:00 +01:00
Marcin Kulik
cec993a143 Add WS subprotocol negotiation in live stream forwarder 2025-01-18 21:19:08 +01:00
Marcin Kulik
0203522dbc Include magic string at the beginning of ALiS stream 2025-01-18 21:17:59 +01:00
Marcin Kulik
18e7653fe3 Add WS subprotocol negotiation in live stream server 2025-01-17 20:38:10 +01:00
Marcin Kulik
669f25043a Always save current stream time for resize events 2025-01-16 11:49:16 +01:00
Marcin Kulik
235d217268 Support input and marker events in live streams 2025-01-16 11:48:50 +01:00
Marcin Kulik
60c0666133 Rename enum variant 2025-01-16 11:46:30 +01:00
Marcin Kulik
13f6c8b0fa Upgrade the bundled player 2025-01-11 17:49:22 +01:00
Marcin Kulik
7f9837e30f Upgrade avt to the latest version / handle term resize explicitly 2025-01-11 11:34:01 +01:00
Marcin Kulik
db956df97f Refactor metadata (header) handling 2024-11-12 13:48:20 +01:00
Marcin Kulik
4858c25b67 Remove version field from generic asciicast Header struct 2024-11-12 12:48:44 +01:00
Marcin Kulik
893ce6b9aa Upgrade the bundled player 2024-11-11 10:54:56 +01:00
Marcin Kulik
68a14aea0f Use matching bg color (term/page) on local stream page, add drop shadow 2024-11-11 10:54:56 +01:00
Marcin Kulik
7a1a7d510a Configure default crypto provider for rustls
Fixes #660
2024-10-27 15:57:38 +01:00
Marcin Kulik
44b28794c0 Upgrade tokio-tungstenite 2024-10-20 10:19:18 +02:00
Marcin Kulik
c18815704c Disable Nagle's algorithm in stream HTTP server 2024-10-20 10:06:40 +02:00
Marcin Kulik
4ad1c22a29 Make Encoder return bytes instead of directly writing to io::Write impl 2024-10-17 17:31:59 +02:00
Marcin Kulik
75e275082a Merge pull request #641 from hamirmahal/style/simplify-string-formatting
style: simplify string formatting
2024-10-17 11:45:44 +02:00
Marcin Kulik
101a48da61 Merge pull request #653 from kxxt/kill-child-safely
Use safe kill from nix crate
2024-10-17 11:43:47 +02:00
Marcin Kulik
42478e5449 Merge pull request #654 from kxxt/errno-eio
Avoid hardcoding 5 for errno EIO
2024-10-17 11:38:43 +02:00
Marcin Kulik
59b6b334da Merge pull request #643 from hydezhao/feat/default-tls
fix(reqwest): use rustls-tls-native-roots to profite OS level custom CA certs
2024-10-17 11:36:04 +02:00
Yinxia Zhao
fbc8279fd1 use rustls-tls-native-roots instead 2024-10-16 09:03:37 +02:00
Levi Zim
2a0a8535ac Avoid hardcoding 5 for errno EIO
We could use libc::EIO to improve readability of the code.
2024-10-06 00:22:07 +08:00
Levi Zim
716d6a0ae1 Use safe kill from nix crate
Previously the code uses unsafe kill from libc and on the first look it
appears that it forgets to check the result.

I think you mean to ignore the errors that might occur when killing the child,
right? This commit makes the intent more clear with less unsafe code.
2024-10-06 00:04:43 +08:00
Marcin Kulik
ee99b908a5 Merge branch 'kxxt-fix-double-close' into develop 2024-10-05 12:29:10 +02:00
Marcin Kulik
2842913afe Update inputs in nix flake 2024-10-05 12:21:46 +02:00
Levi Zim
848ab8e744 fix: avoid closing pty master fd twice
The pty master fd is closed twice, once when dropping OwnedFd in `fn exec` and
once when dropping File constructed with unsafe code in `fn copy`.

This causes IO Safety violation[1] and should be avoided.
It becomes a crash in debug build[2].

[1]: 1ba00d9cb2
[2]: https://github.com/zed-industries/zed/issues/12114
2024-10-05 13:40:01 +08:00
Marcin Kulik
3855e0dbc8 Move UTF-8 decoding during streaming to Session 2024-09-21 10:59:22 +02:00
Marcin Kulik
cab0490e1e Make pty::exec measure time 2024-09-21 10:48:08 +02:00
Marcin Kulik
2728a10bbd Refactor pty Handler trait 2024-09-20 12:05:38 +02:00