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
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
Marcin Kulik
03700db200
Remove unnecessary Option wrapper
2024-06-28 14:30:07 +02:00
Marcin Kulik
6779be9715
Bump version
v3.0.0-rc.3
2024-06-26 09:42:28 +02:00
b4mbus
3c6753506e
fix: make shell use proper msrv
2024-06-16 16:00:22 +02:00
Marcin Kulik
530b94766a
Upgrade avt and the bundled player
2024-06-15 17:44:15 +02:00
b4mbus
b2bdcf4008
chore(nix): bump flake.lock
2024-06-09 13:52:41 +02:00
b4mbus
c299444bb9
fix(nix): make the package code correct
...
- testDeps should be separate, in nativeBuildInputs to allow for disabling
checks.
- rust should be a native dependency as it doesn't need to be put
nowhere next to the resulting binary.
2024-06-09 13:51:59 +02:00
b4mbus
c09460585a
style(nix): move formatter to the top
2024-06-09 13:18:19 +02:00
b4mbus
48c89039a6
ref(nix): remove unnecessary explicit inputs
2024-06-09 02:42:39 +02:00
b4mbus
5f85054405
ref(nix): move shell to shell.nix
2024-06-09 02:42:08 +02:00
b4mbus
4d5e2212e3
ref(nix): split package to default.nix
2024-06-09 02:34:30 +02:00
b4mbus
81306e93c6
ref(nix): make local path reproducible
2024-06-09 00:48:41 +02:00
b4mbus
f90a9225e0
ref(nix): access package directly
2024-06-09 00:47:37 +02:00
b4mbus
06dcba70d7
ref(nix): make the flake more idiomatic
2024-06-09 00:45:16 +02:00
b4mbus
6233397dfe
ref(nix): switch to flake-parts
2024-06-09 00:43:05 +02:00
Marcin Kulik
f6304e946a
Check-in updated Cargo.lock
2024-06-07 22:11:59 +02:00
Marcin Kulik
ce749e70fb
Merge branch 'xfgusta-bump-scraper-version' into develop
2024-06-07 22:11:28 +02:00
Marcin Kulik
1729bc7cbb
Upgrade bundled player
2024-06-07 21:50:17 +02:00
Marcin Kulik
0baef3f59f
Add DataDog to the sponsors list in the README
2024-06-07 21:50:17 +02:00
Marcin Kulik
0d8af153bb
Support recording to a directory, with auto-generated filename
2024-06-07 21:50:17 +02:00
Marcin Kulik
72803c101b
Collapse nested ifs
2024-06-07 21:50:17 +02:00