Commit Graph

1579 Commits

Author SHA1 Message Date
Marcin Kulik
0eee9b25ed Fix "easy install" command to handle redirects 2014-12-17 17:12:22 +01:00
Marcin Kulik
9171abed28 Fix download URL 2014-12-17 17:10:03 +01:00
Marcin Kulik
b68b7e6333 Make readme in line with asciinema.org docs v0.9.9 2014-12-17 16:23:15 +01:00
Marcin Kulik
05bc8b8e26 Improve help message 2014-12-17 15:37:12 +01:00
Marcin Kulik
ad20bd870a Mention global options in help message 2014-12-17 11:40:17 +01:00
Marcin Kulik
8db0874a34 Recognize "--help" as valid global option 2014-12-17 11:39:30 +01:00
Marcin Kulik
43c98f7eaf Make test match struct's name 2014-12-16 15:15:22 +01:00
Marcin Kulik
6de1a0b72e Don't test Terminal for race conditions in concurrent access
There's no sense in accessing the same Terminal instance from multiple
goroutines, is it?
2014-12-16 15:13:07 +01:00
Marcin Kulik
8cd1390863 Support linux/arm 2014-12-16 12:43:29 +01:00
Marcin Kulik
dd064b7732 Add install script 2014-12-16 12:43:05 +01:00
Marcin Kulik
f48aa45221 Add make task for building release tarballs 2014-12-16 12:43:03 +01:00
Marcin Kulik
3c50a11037 Update "headline" in help message 2014-12-15 18:05:28 +01:00
Marcin Kulik
d0984ae3e9 Improve readme 2014-12-15 18:05:19 +01:00
Marcin Kulik
aea69db60b Update changelog 2014-12-15 17:53:53 +01:00
Marcin Kulik
4525416f6e Better filename for changelog 2014-12-14 14:28:40 +01:00
Marcin Kulik
6967ebd5ec Improve flag descriptions 2014-12-14 14:01:33 +01:00
Marcin Kulik
75fd6bebca Workaround race condition when child process exits
There's race condition happening (so far observed only on CentOS) at the
moment when child process exits.  Sometimes reading from master fd
blocks forever even when the process is already reaped and there's no
more data to be read. Not sure what's the reason, it may be some CentOS
specific bug.

Using timeout does the job and seems to be relatively harmless.
2014-12-14 13:00:57 +01:00
Marcin Kulik
a6bd4b5942 Remove debugging print 2014-12-14 13:00:49 +01:00
Marcin Kulik
c4c4bdc463 Build also on Go 1.4 2014-12-14 11:53:52 +01:00
Marcin Kulik
3ab4b1cea1 Make Ctrl-D key combo look like... key combo 2014-11-29 00:00:16 +01:00
Marcin Kulik
d5e0a0517c Add --max-wait option to rec command for optimizing stdout inactivity 2014-11-28 23:59:41 +01:00
Marcin Kulik
0830369fd8 Don't assume full path to "sh" bin
For ex on android it's /system/bin/sh
2014-11-22 19:37:32 +01:00
Marcin Kulik
61d63ec89c Switch to GPLv3 2014-11-15 17:42:04 +01:00
Marcin Kulik
41d1d71ab6 Implement golint suggestions 2014-11-15 13:33:20 +01:00
Marcin Kulik
5ff2567755 Remove unused file 2014-11-13 20:47:48 +01:00
Marcin Kulik
ddfd967386 Remove old, python installation instructions 2014-11-13 20:46:35 +01:00
Marcin Kulik
2a47bef210 Add make tasks for installing and uninstalling 2014-11-13 20:46:00 +01:00
Marcin Kulik
999c5d2367 Add make tasks for releasing 2014-11-13 20:46:00 +01:00
Marcin Kulik
507bdfa420 No need for *that* many distro VMs 2014-11-13 20:46:00 +01:00
Marcin Kulik
f667b1efe2 Handle non-200 status from remote API 2014-11-13 20:46:00 +01:00
Marcin Kulik
8a86274437 Naming, improved. 2014-11-13 20:46:00 +01:00
Marcin Kulik
2084f9b9c5 Decorate printed error messages 2014-11-13 20:46:00 +01:00
Marcin Kulik
bda02179dc Send proper version number in User-Agent 2014-11-13 20:46:00 +01:00
Marcin Kulik
b872658550 No need for ConfigLoader interface 2014-11-13 20:46:00 +01:00
Marcin Kulik
1f2efcb10b Make version a regular command 2014-11-13 20:46:00 +01:00
Marcin Kulik
7a398efca4 Send proper User-Agent header when creating asciicast 2014-11-13 20:45:59 +01:00
Marcin Kulik
ece5221bbd Implement asciicast upload 2014-11-13 20:45:59 +01:00
Marcin Kulik
bf090e3ae7 Change format of version string 2014-11-13 20:45:59 +01:00
Marcin Kulik
62f2fb7d2f Improve help message for "-y" flag to rec command 2014-11-13 20:45:59 +01:00
Marcin Kulik
04b86dd67f Keep version number in const rather than in VERSION file 2014-11-13 20:45:59 +01:00
Marcin Kulik
f931d67eb4 Update changelog 2014-11-13 20:45:59 +01:00
Marcin Kulik
361be224eb Demote version and help to functions 2014-11-13 20:45:59 +01:00
Marcin Kulik
8b90a71ca7 Ask for upload confirmation 2014-11-13 20:45:59 +01:00
Marcin Kulik
7d8f58884b Build to bin/ 2014-11-13 20:45:59 +01:00
Marcin Kulik
028d360a1d Stop copying stdin after process exits 2014-11-13 20:45:59 +01:00
Marcin Kulik
51e989ec0a Create ~/.asciinema dir before writing config file 2014-11-13 20:45:59 +01:00
Marcin Kulik
63a276bb42 Don't rely on user.Current - it fails on cross compiled binaries 2014-11-13 20:45:59 +01:00
Marcin Kulik
834f747ebd Extract line reading into util func 2014-11-13 20:45:59 +01:00
Marcin Kulik
9591c79a0d Fix rec command builder 2014-11-13 20:45:59 +01:00
Marcin Kulik
8a11039c56 Rename test func 2014-11-13 20:45:58 +01:00