Commit Graph

972 Commits

Author SHA1 Message Date
Marcin Kulik
7dcd16b561 Remove CentOS from CI matrix 2023-10-19 09:48:33 +02:00
Marcin Kulik
e4fb2d6b43 Merge pull request #569 from Low-power/handle-eagain-on-write-pty
Ignore BlockingIOError when trying to write pty master fd
2023-10-18 14:07:16 +02:00
Marcin Kulik
1cb2d43107 Improve asciicast v2 doc 2023-10-18 13:27:58 +02:00
Marcin Kulik
ddb57de05e Merge pull request #572 from asciinema/dependabot/github_actions/docker/build-push-action-5
Bump docker/build-push-action from 4 to 5
2023-10-18 13:27:43 +02:00
Marcin Kulik
9c13624b0b Merge pull request #571 from asciinema/dependabot/github_actions/docker/setup-buildx-action-3
Bump docker/setup-buildx-action from 2 to 3
2023-10-18 13:27:26 +02:00
Marcin Kulik
908f5d4e8e Merge pull request #570 from asciinema/dependabot/github_actions/docker/login-action-3
Bump docker/login-action from 2 to 3
2023-10-18 13:27:10 +02:00
Marcin Kulik
400929c4fb Merge pull request #567 from asciinema/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-10-18 13:26:46 +02:00
Marcin Kulik
c06ace750b Mention agg in README 2023-10-16 11:18:57 +02:00
Marcin Kulik
b971ec09fe Update sponsors 2023-10-03 10:06:44 +02:00
Marcin Kulik
ebae7b994c Add sponsors to the README 2023-09-19 10:07:32 +02:00
dependabot[bot]
7ab3aa02cb Bump docker/build-push-action from 4 to 5
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 08:48:30 +00:00
dependabot[bot]
486c683152 Bump docker/setup-buildx-action from 2 to 3
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 08:48:28 +00:00
dependabot[bot]
bbdb6d3dad Bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 08:48:24 +00:00
WHR
e27f48bcff Ignore BlockingIOError when trying to write pty master fd 2023-09-12 04:51:59 +00:00
dependabot[bot]
04fd10d230 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 08:23:37 +00:00
Marcin Kulik
a0cc9cba36 Merge pull request #565 from asciinema/resize-events
Terminal resize capture
2023-08-17 10:58:32 +02:00
Marcin Kulik
a9dc2e5396 Implement terminal resize capture ("r" event) 2023-08-14 16:38:10 +02:00
Marcin Kulik
994a0710b4 Change admin email adress 2023-08-14 11:05:36 +02:00
Marcin Kulik
ff14e5b5be Fix push task in Makefile 2023-07-05 16:10:44 +02:00
Marcin Kulik
791916d87d Bump version in module v2.3.0 2023-07-05 15:51:16 +02:00
Marcin Kulik
24692b7d23 Merge pull request #560 from asciinema/release/2.3.0
Release 2.3.0
2023-07-05 15:49:34 +02:00
Marcin Kulik
19b83aab8b Update changelog 2023-07-05 15:28:45 +02:00
Marcin Kulik
3d1dbdc7bd Update pypi classifiers (remove Python 3.6, add Python 3.11) 2023-07-05 13:48:57 +02:00
Marcin Kulik
e0a62d49c6 Bump version 2023-07-05 13:48:42 +02:00
Marcin Kulik
07310e16ba Read data from PTY and TTY in even bigger chunks (256kb) 2023-07-05 12:28:09 +02:00
Marcin Kulik
418727ca93 Remove memoryview wrapper for input data
Concatenating memoryview object to bytearray turns it into bytearray
immediately anyway.
2023-07-05 12:15:18 +02:00
Marcin Kulik
1514591628 Fix removal of FD from select() set 2023-07-05 11:53:11 +02:00
WHR
4030587787 Fix race-condition when writing to pty master fd synchronously 2023-07-05 11:51:57 +02:00
Marcin Kulik
37970c4e6f Reformat with black 2023-07-02 16:54:50 +02:00
Marcin Kulik
8821b5d2d8 Merge pull request #558 from Low-power/true-cat
Make `cat` subcommand be capable to actually concatenate multiple recordings
2023-07-02 16:53:19 +02:00
Marcin Kulik
12b5e52bb1 Improve API error messages 2023-07-02 15:31:44 +02:00
Marcin Kulik
07d07944ea Display "retry" message for retryable errors only 2023-07-02 15:31:10 +02:00
WHR
2fcc4315be Make 'cat' subcommand be capable to actually concatenate multiple recordings 2023-06-27 09:16:18 +00:00
Marcin Kulik
61be1f8302 Read data from pty fds in bigger chunks (64kb)
This should shrink asciicast file size a bit by not splitting single
application writes into separate "o" events (as shown here
https://github.com/orgs/asciinema/discussions/52).
2023-06-26 21:25:31 +02:00
Marcin Kulik
6f54d2e3a8 Don't attempt to reopen named pipe (fifo)
This makes no sense and actually causes rec to hang on exit when there's no pipe reader.
2023-06-26 21:18:22 +02:00
Marcin Kulik
a3c0779ca3 Add consulting section to README 2023-06-20 10:20:48 +02:00
Marcin Kulik
31c02342d9 Use high precision clock for timing during recording and playback 2023-06-11 15:17:35 +02:00
Marcin Kulik
794c3b74f3 Write terminal resize sequence (\e[8;Y;Xt) at the beginning of raw output 2023-05-17 16:10:15 +02:00
Marcin Kulik
e6867f1ad9 Use memoryview for more efficient data copying
Thanks @kovidgoyal for the tip :)
2023-05-17 15:15:52 +02:00
Marcin Kulik
b96043907d Ensure we always copy all data from process' stdout to TTY
Thanks @kovidgoyal for spotting this.
2023-05-17 10:21:14 +02:00
Marcin Kulik
549e3d7a67 Don't crash cat when /dev/tty is not available
Fixes #548
2023-05-07 20:19:01 +02:00
Marcin Kulik
2902529a45 Rename breakpoints to markers 2023-05-05 10:55:00 +02:00
Marcin Kulik
719bd9de55 Merge pull request #341 from asciinema/feature/breakpoints
Breakpoints
2023-04-28 10:52:03 +02:00
Marcin Kulik
e15c96e8cf More wording improvements 2023-04-28 10:47:55 +02:00
Marcin Kulik
d156f934ee Improve wording 2023-04-28 10:36:37 +02:00
Marcin Kulik
bac2ce47e9 Fix integration test hanging on Debian and Ubuntu 2023-04-28 09:29:54 +02:00
Marcin Kulik
006d81d4da Fast-forwarding to the next breakpoint with ] key 2023-04-27 16:50:23 +02:00
Marcin Kulik
f2847409ee Refactor player loop 2023-04-27 16:37:15 +02:00
Marcin Kulik
b0653ec86e Document breakpoints 2023-04-27 13:15:34 +02:00
Marcin Kulik
f102822e29 Add --breakpoints option to asciinema play to opt-in for pausing on breakpoints 2023-04-27 11:08:45 +02:00