985 Commits

Author SHA1 Message Date
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
Marcin Kulik
c46712a72b Auto-pause on breakpoints during playback 2023-04-26 22:52:23 +02:00
Marcin Kulik
f06e4a0940 Catch IOError only when openning /dev/tty for playback 2023-04-26 22:45:32 +02:00
Marcin Kulik
e0745a8d5a Simplify player loop 2023-04-26 22:45:15 +02:00
Marcin Kulik
3c718cf8cb Remove unused function arg 2023-04-26 18:37:04 +02:00
Marcin Kulik
3c308f413a Add integration test for breakpoints 2023-04-26 16:08:13 +02:00
Marcin Kulik
5b24513c2f Add breakpoints 2023-04-26 16:08:13 +02:00
Marcin Kulik
f25f9d6e8b Document "b" (breakpoint) event type 2023-04-26 16:08:13 +02:00
Marcin Kulik
08e40ba5ba Update issue templates 2023-04-25 19:58:12 +02:00
Marcin Kulik
bf42c07e07 Update issue templates 2023-04-25 19:35:48 +02:00
Marcin Kulik
3cd7b83313 Update issue templates 2023-04-25 19:33:07 +02:00
Marcin Kulik
73d1bfb5ef Fix check for target dir presence 2023-04-24 17:14:47 +02:00
Marcin Kulik
373dcc12f5 Merge pull request #545 from asciinema/write-improvements
File writing improvements
2023-04-15 20:53:19 +02:00
Marcin Kulik
64343411d7 Improve error handling when dest dir doesn't exist or is not writable
Resolves #543, resolves #526
2023-04-15 20:44:29 +02:00
Marcin Kulik
1dede7283f Refuse to record to stdout when it's a TTY 2023-04-15 17:42:31 +02:00
Marcin Kulik
ac8f7edb51 Silently drain write queue when write error happens during recording 2023-04-15 17:23:56 +02:00
Marcin Kulik
297e8913a2 Replace "-" with "stdout" in log messages for easier reading 2023-04-15 17:23:56 +02:00
Marcin Kulik
56b007b411 Fix asciinema play with URL argument 2023-04-13 16:03:01 +02:00
Marcin Kulik
d47fca3d79 More precise wording around input/output in v2 doc 2023-04-12 22:19:53 +02:00
Marcin Kulik
b86f7cb529 Update README 2023-03-16 17:18:45 +01:00
Marcin Kulik
bf1d988753 Remove merge conflict leftovers from man page 2023-03-16 17:18:10 +01:00
Marcin Kulik
9d5e88f35a Upgrade pre-commit 2023-03-15 18:08:46 +01:00
Marcin Kulik
d34941cd6d Use fully qualified image name in Dockerfile
This allows building the image with buildah without extra registry configuration.
2023-03-06 17:46:50 +01:00
Marcin Kulik
ed2e336610 Merge pull request #538 from galoget/develop
Update Dockerfile to Ubuntu 22.04 LTS
2023-03-02 11:50:18 +01:00
Marcin Kulik
f7b15c73c5 Address mypy's typing concerns 2023-03-02 11:44:20 +01:00
Marcin Kulik
35fea017aa black formatting 2023-03-02 11:35:20 +01:00
Marcin Kulik
0e3528820d Update precommit 2023-03-02 11:34:47 +01:00
Marcin Kulik
ccd83cef62 Merge pull request #536 from asciinema/dependabot/github_actions/docker/build-push-action-4
Bump docker/build-push-action from 3 to 4
2023-03-02 11:23:46 +01:00
Marcin Kulik
87ab1edb42 Merge pull request #505 from asciinema/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2023-03-02 11:22:57 +01:00
Marcin Kulik
06b89ee5f8 Drop Python 3.6 and add 3.11 in GH CI build 2023-03-02 11:19:59 +01:00
galoget
24392d26ef Update Dockerfile to Ubuntu 22.04 LTS 2023-02-25 03:37:05 -05:00
Marcin Kulik
db3a17df32 Update copyright notice, once and for all 2023-02-21 17:49:22 +01:00
dependabot[bot]
e01a95c3a7 Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
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-01-31 08:04:07 +00:00
dependabot[bot]
b4f9066869 Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
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-06-09 08:30:23 +00:00
Marcin Kulik
5a385765f0 Merge pull request #504 from asciinema/dependabot/github_actions/pre-commit/action-3.0.0
Bump pre-commit/action from 2.0.3 to 3.0.0
2022-06-06 13:51:50 +02:00
dependabot[bot]
b29bc066a6 Bump pre-commit/action from 2.0.3 to 3.0.0
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:53:04 +00:00
Marcin Kulik
5fbe472a8e Merge pull request #503 from djds/develop 2022-06-03 09:50:09 +02:00
Davis Schirmer
3dc0f30813 [bug #438] Fallback to locale.getlocale() 2022-06-02 03:09:32 -04:00