1649 Commits

Author SHA1 Message Date
Marcin Kulik
8e3f29d477 Automatically strip the binary when building in release mode 2024-02-22 10:02:50 +01:00
Marcin Kulik
6698aa2f79 Fix closing of client connection when it lags behind the stream too much 2024-02-21 16:52:04 +01:00
Marcin Kulik
755532b1ec Replace vec.rotate_left+truncate with vec.drain(..n) 2024-02-20 10:42:45 +01:00
Marcin Kulik
e8c4405ab3 Refactor unnecessary if/elses 2024-02-20 10:35:03 +01:00
Marcin Kulik
e0197da955 Fix SIGCHLD handling 2024-02-20 10:31:38 +01:00
Marcin Kulik
d13e2f8fd9 Use latest web player 2024-02-15 21:39:50 +01:00
Marcin Kulik
17121c4b61 Include terminal theme in live stream init payload 2024-02-15 15:11:50 +01:00
Marcin Kulik
ad764088d9 Update web player 2024-02-15 11:27:10 +01:00
Marcin Kulik
811ab85ae6 Remove compression field and filler from ALiS protocol header 2024-02-15 11:26:20 +01:00
Marcin Kulik
a9abeff312 Remove stream.log_file config option
Given a user may start multiple streaming sessions, using the same
config path would result in truncation or interleaving of log messages,
which is undesired.

This may come back but it needs more thought regarding concurrent
streaming.
2024-02-15 10:32:39 +01:00
Marcin Kulik
6d53b3b8e8 Add nix flake for dev shell 2024-02-14 21:54:21 +01:00
Marcin Kulik
a294a52094 Merge pull request #616 from Pytness/add-missing-signals
Bugfix: handle SIGALRM and SIGCHLD signals. Fixes #613
2024-02-14 10:58:39 +01:00
Fernando Vega
b2a1cb28ab Import new signals from signal_hook::consts 2024-02-14 09:55:37 +01:00
Marcin Kulik
cdd03d0548 Merge pull request #618 from WyvernIXTL/develop
Added note in build section of readme explaining that windows is not supported.
2024-02-14 09:35:53 +01:00
Marcin Kulik
0ffcd1b38d Merge pull request #617 from asciinema/capture-colors
Capture terminal color palette
2024-02-12 20:59:19 +01:00
Adam McKellar
5957b3bf37 Added note in build section explaining that windows is not supported. 2024-02-12 16:43:02 +01:00
Marcin Kulik
3969023da8 Remove old (outdated) man page 2024-02-12 15:51:27 +01:00
Marcin Kulik
bf52290514 Capture terminal color palette
This uses OSC sequence to query the colors from the terminal, and saves
them as a theme in asciicast v2 header
(https://docs.asciinema.org/manual/asciicast/v2/#theme).
2024-02-12 15:49:35 +01:00
Fernando Vega
38effe8084 Change var order to follow previous standard 2024-02-12 11:36:13 +01:00
Fernando Vega
4ad6993027 Add signal handling for SIGALRM and SIGCHLD in copy function 2024-02-12 11:25:14 +01:00
Marcin Kulik
1d0b7da09c Don't rely on notify-send's -r in libnotify notifier
It's not available everywhere yet.
2024-02-09 21:33:56 +01:00
Marcin Kulik
8d3407973f Make --server-url a global option 2024-02-09 12:32:18 +01:00
Marcin Kulik
3411d08425 Add quiet mode, --quiet / -q, as a global option 2024-02-09 12:29:49 +01:00
Marcin Kulik
55d31fbb5c Display desktop notification when adding a marker during recording 2024-02-09 11:31:23 +01:00
Marcin Kulik
05f6a29d4a Merge pull request #614 from asciinema/deps-upgrade
Deps upgrade
2024-02-09 10:14:48 +01:00
Marcin Kulik
efa385c3ae Upgrade deps: termion, config, which 2024-02-09 09:31:38 +01:00
Marcin Kulik
4bb326e9a6 Remove TODO comment - let's keep OSC response for now 2024-02-08 22:28:38 +01:00
Marcin Kulik
d3b3f1e1e3 Update deps 2024-02-08 15:39:45 +01:00
Marcin Kulik
0ef36573e2 Bump cargo package version 2024-02-08 15:36:35 +01:00
Marcin Kulik
b983d9a282 Merge pull request #612 from asciinema/stream-logs
Logging for streamer
2024-02-08 15:34:57 +01:00
Marcin Kulik
666bc4de3f Config file option for specifying stream log file 2024-02-08 14:17:14 +01:00
Marcin Kulik
bd1fb51fb4 Drain websocket client's read side 2024-02-08 14:03:57 +01:00
Marcin Kulik
8052670ffd Log viewer count upon each new stream client connection 2024-02-08 14:02:41 +01:00
Marcin Kulik
2a01e9d6cb Log stream connects and disconnects 2024-02-08 14:02:04 +01:00
Marcin Kulik
582a6aa427 Use INFO as default streamer log level 2024-02-08 12:06:25 +01:00
Marcin Kulik
3d3b2aa9d0 Disable ANSI colors in streamer log file 2024-02-08 11:58:42 +01:00
Marcin Kulik
0478bf06f0 Write user notifications to streamer's log file 2024-02-08 11:53:20 +01:00
Marcin Kulik
4fa684b74a Improve option description 2024-02-08 11:39:53 +01:00
Marcin Kulik
a42f7be4b1 Add option to save streamer logs to a file 2024-02-08 11:39:11 +01:00
Marcin Kulik
f48671fbc4 Merge pull request #611 from asciinema/stream
`stream` command
2024-02-07 15:51:57 +01:00
Marcin Kulik
90dd08b28c Add comment about ALiS protocol 2024-02-07 15:47:07 +01:00
Marcin Kulik
e5cc3fb1cd Display full HTTP URL on streaming session start 2024-02-07 15:26:32 +01:00
Marcin Kulik
81f8ad61b6 Add --listen-addr / -l option to stream command, listen on 127.0.0.1:8080 by default 2024-02-07 15:23:11 +01:00
Marcin Kulik
aebd177cd2 cargo fmt 2024-02-07 15:05:12 +01:00
Marcin Kulik
e742183159 Initial version of stream command 2024-02-07 14:05:00 +01:00
Marcin Kulik
781f97f40d Use proper type for winsize override 2024-02-01 11:43:01 +01:00
Marcin Kulik
c52b3737cd Share common functions between commands via cmd module 2024-02-01 10:24:04 +01:00
Marcin Kulik
95f208c382 Reorder fields 2024-01-31 18:18:22 +01:00
Marcin Kulik
5c9237bbce Move JoinHandle wrapper to util module 2024-01-31 18:14:54 +01:00
Marcin Kulik
832717ced9 Nice error message when upload size exceeds server's configured limit 2024-01-29 16:00:20 +01:00