Commit Graph

845 Commits

Author SHA1 Message Date
Marcin Kulik
e4e7f8f320 Fix pause keyboard shortcut in docs 2022-05-07 11:17:08 +02:00
Marcin Kulik
d31f1e9d8e Add changelog entry for v2.1.0 2022-05-07 11:17:08 +02:00
Marcin Kulik
e0fccb4566 Merge pull request #495 from asciinema/dependabot/github_actions/docker/setup-buildx-action-2
Bump docker/setup-buildx-action from 1 to 2
2022-05-07 11:16:40 +02:00
dependabot[bot]
092879e979 Bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
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>
2022-05-07 09:12:31 +00:00
Marcin Kulik
11aed6f5d5 Merge pull request #494 from asciinema/dependabot/github_actions/docker/build-push-action-3
Bump docker/build-push-action from 2 to 3
2022-05-07 11:12:22 +02:00
Marcin Kulik
1241e931e4 Merge pull request #493 from asciinema/dependabot/github_actions/docker/login-action-2
Bump docker/login-action from 1 to 2
2022-05-07 11:11:40 +02:00
dependabot[bot]
695bb857e3 Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
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>
2022-05-06 08:35:30 +00:00
dependabot[bot]
eae8b2dafd Bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
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>
2022-05-06 08:35:26 +00:00
Marcin Kulik
fb35f0bf86 Fix pickling issue in file_writer on macOS 2022-05-02 23:08:08 +02:00
Marcin Kulik
32b6cfa646 Catch SIGCHLD - needed on macOS 2022-05-02 23:05:02 +02:00
Marcin Kulik
852b1f5c24 Correct the version of the recorder that added v2 format support 2022-05-02 21:45:43 +02:00
Marcin Kulik
8517d4f62c Merge pull request #492 from asciinema/dashes
Treat dash char (`-`) as stdout for output filename
2022-04-28 22:13:18 +02:00
Marcin Kulik
e481015934 Treat dash char (-) as stdout for output filename 2022-04-27 22:33:50 +02:00
Marcin Kulik
20e04f7300 Dummy default for on_error in file_writer 2022-04-27 22:31:37 +02:00
Marcin Kulik
9cff127f2c Merge pull request #491 from asciinema/rename-term-to-tty
Rename term module to tty
2022-04-27 19:59:27 +02:00
Marcin Kulik
780d5f8f00 Rename term module to tty 2022-04-27 19:40:21 +02:00
Marcin Kulik
b58b74bc18 Merge pull request #485 from asciinema/dependabot/github_actions/actions/setup-python-3.1.1
Bump actions/setup-python from 2 to 3.1.1
2022-04-27 00:06:43 +02:00
dependabot[bot]
f38bf40baf Bump actions/setup-python from 2 to 3.1.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 21:44:21 +00:00
Marcin Kulik
3c562c7f4f Merge pull request #479 from asciinema/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-04-26 23:33:28 +02:00
dependabot[bot]
8028271869 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 21:26:38 +00:00
Marcin Kulik
ad2be84e62 Merge pull request #487 from asciinema/log-on-stderr
Print all user/diagnostic messages to stderr
2022-04-26 23:24:06 +02:00
Marcin Kulik
1785157336 Upgrade black
Solves https://github.com/psf/black/issues/2964
2022-04-26 23:19:21 +02:00
Marcin Kulik
2fe0584450 DRY-up color handling in Command.print* methods 2022-04-26 23:00:27 +02:00
Marcin Kulik
ff8927d017 Print all user/diagnostic message to stderr 2022-04-26 23:00:27 +02:00
Marcin Kulik
fdb6cb067a Merge pull request #476 from djds/djds/annotate-tests
[typing] Annotate tests
2022-02-23 09:51:25 +01:00
Marcin Kulik
0c24ba4c57 Merge pull request #477 from djds/djds/pylint
djds/pylint
2022-02-23 09:50:35 +01:00
Davis Schirmer
1bdc446765 [style] Add pylint exceptions 2022-02-21 19:17:42 -05:00
Davis Schirmer
ce5fd49821 [pty_] Avoid shadowning class name with copy() method argument 2022-02-21 19:09:20 -05:00
Davis Schirmer
9de36195fd [recorder] Specify UTF-8 encoding 2022-02-21 19:05:41 -05:00
Davis Schirmer
7a90a30ba5 [typing] Annotate tests 2022-02-21 18:39:26 -05:00
Marcin Kulik
9d2a939fe7 Merge pull request #475 from asciinema/pty-refa
Refactor pty module
2022-02-21 20:54:32 +01:00
Marcin Kulik
255c254fb2 Refactor pty module 2022-02-21 20:49:38 +01:00
Marcin Kulik
350a14d435 Merge pull request #474 from asciinema/fix-headers-ua
Fix type errors after recent major typing refactoring
2022-02-20 16:24:06 +01:00
Marcin Kulik
c9f446ea87 Fix type errors after recent major typing refactoring 2022-02-20 16:03:13 +01:00
Marcin Kulik
68475b03c9 Merge pull request #473 from asciinema/tty-in-out
TTY/stdin/stdout handling improvements
2022-02-20 15:17:43 +01:00
Marcin Kulik
bc7bbb3c78 Don't use colors when asciinema's stdout/stderr is not a tty 2022-02-20 12:39:08 +01:00
Marcin Kulik
81cf52306b Forward asciinema's stdin to recorded process 2022-02-20 12:32:16 +01:00
Marcin Kulik
6a33b6a0e6 Explicitly use tty for input/output instead of process' stdin/stdout 2022-02-20 11:48:14 +01:00
Marcin Kulik
a946d3e7a0 Dedicated function to build metadata 2022-02-19 13:09:25 +01:00
Marcin Kulik
24dba63605 Typing improvements 2022-02-19 13:04:25 +01:00
Marcin Kulik
a715c48e1c Merge pull request #472 from asciinema/recorder-refa
Recorder refactoring
2022-02-19 12:09:23 +01:00
Marcin Kulik
0a3e5522ed Use notifier's public notify method for file writer 2022-02-18 21:42:20 +01:00
Marcin Kulik
ed017ee41f Less defensive programming, rename test mock class 2022-02-18 21:42:20 +01:00
Marcin Kulik
e86dbc9118 Handle conditional stdin recording in async_writer instead of pty 2022-02-18 20:51:36 +01:00
Marcin Kulik
59f8a40387 Handle time offset in async_writer instead of pty 2022-02-18 20:22:27 +01:00
Marcin Kulik
760a7152e2 Simplify async_writer 2022-02-17 22:52:39 +01:00
Marcin Kulik
4294922cf6 Merge pull request #471 from asciinema/cols-rows-override
Option to override cols/rows of the recorded process
2022-02-17 21:58:37 +01:00
Marcin Kulik
fd09df89f6 Option to override cols/rows of the recorded process
This adds `--cols <n>` / `--rows <n>` options to `rec` command. This disables
autodection of terminal size, and reports fake fixed number of columns/rows to
the recorded process.
2022-02-17 21:54:30 +01:00
Marcin Kulik
41d2476c11 Merge pull request #453 from asciinema/feature/fifo-reopen
Improved handling of named pipes (FIFO)
2022-02-15 20:39:55 +01:00
Marcin Kulik
d16c2abf25 Ignore mypy's check for None in hot code path 2022-02-14 23:22:32 +01:00