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
Tatsunori Uchino
a1e599ea09
Suggest PowerSession for Windows users
2024-10-06 19:03:06 +09: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
Marcin Kulik
6f2dcb434b
Fix legacy --cols and --rows options for winsize overriding
2024-09-20 10:50:47 +02:00
Marcin Kulik
c325265faa
Simplify TTY size override code
2024-09-20 10:48:15 +02:00
Marcin Kulik
9d8ec57130
Merge pull request #645 from hamirmahal/fix/manual-implementation-of-ToString
2024-08-12 16:07:15 +02:00
Hamir Mahal
5fb0f5f1a6
fix: manual ToString implementation for RGB8
2024-08-06 15:33:21 -07:00
Marcin Kulik
f2c4359603
Add rust-analyzer to dev shell
2024-07-23 08:13:07 +02:00
Marcin Kulik
d07569f916
Merge pull request #637 from Dich0tomy/ref/flake
...
Ref/flake
2024-07-22 22:55:02 +02:00
Yinxia Zhao
c4d9ed2d62
fix(reqwest): add default-tls feature to reqwest
2024-07-19 13:31:20 +02:00
Hamir Mahal
6b5aac5983
style: simplify string formatting
2024-07-13 09:53:12 -07:00
Marcin Kulik
0acc3970a3
cargo fmt
2024-07-02 19:31:54 +02:00
Marcin Kulik
1fd5b4b531
Refactor api module
2024-07-02 18:24:02 +02:00
Marcin Kulik
ec44ebfa4e
Merge pull request #639 from asciinema/update-server-stream-url
...
Use POST when obtaining new stream metadata
2024-07-02 17:48:51 +02:00
Marcin Kulik
8f914e3b7f
Change path of the new stream API endpoint
2024-07-02 17:40:27 +02:00
Marcin Kulik
59b58adf24
Use POST when obtaining new stream metadata, use GET when specific stream requested
2024-07-01 14:02:18 +02:00
Marcin Kulik
63436f7016
Remove duplicate state
2024-07-01 13:21:33 +02:00
Marcin Kulik
4cdc538c08
Reorder enum variant fields, for consistency with others
2024-07-01 12:31:57 +02:00