Commit Graph

958 Commits

Author SHA1 Message Date
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
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
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