Commit graph

4925 commits

Author SHA1 Message Date
John Kerl
83b1550b5a sort iterate 2020-09-15 21:22:25 -04:00
John Kerl
ad414bb20c todo 2020-09-15 20:42:55 -04:00
John Kerl
11ea911ff7 update expected-out for c/reg_test/run neaten 2020-09-10 11:53:14 -04:00
John Kerl
4e62cf477d c/reg_test/run reorg 2020-09-10 09:18:15 -04:00
John Kerl
ffd5a85af2 C grammar neaten 2020-09-08 20:12:35 -04:00
John Kerl
7280d71162 implement mlr count -n 2020-09-06 22:25:00 -04:00
John Kerl
d0a1014cbc implement short-circuting for AND, OR, and ternary 2020-09-03 11:22:30 -04:00
John Kerl
1d8eb4ac8f rename disposition-matrix shorthands to match Go port
In C I use left-justified formatting to make these line up for proofreading.
In Go there is gofmt which does not preserve that kind of formatting. A
workaround in Go is to rename the shorthand-functions to all have the same
number of characters.  While I'm porting from C to Go, it's to go ahead and
rename the C functions the same, so I can copy the disposition matrices from C
to Go with a minimum of reformatting or typo-making.
2020-09-02 23:36:48 -04:00
John Kerl
70c5a6df0f 5.9.1-dev 2020-09-02 22:09:45 -04:00
John Kerl
b0491b359f 5.9.1 2020-09-02 21:11:27 -04:00
John Kerl
2aa72308ac 5.9.1 2020-09-02 20:46:50 -04:00
John Kerl
2635b7f062
Merge pull request #365 from johnkerl/mlrrc-prepipe
Mlrrc prepipe
2020-09-02 20:42:29 -04:00
John Kerl
49576c88e0 fix CVE-2020-15167 2020-09-02 20:38:00 -04:00
John Kerl
1962b4f3bf cst iterate 2020-09-02 19:58:14 -04:00
John Kerl
70128a5e96 fix prepipe security advisory for mlrrc feature 2020-09-01 13:58:40 -04:00
John Kerl
f5b8b56216 flagset iterate 2020-09-01 12:58:30 -04:00
John Kerl
96a50f0a8d mlrcli iterate 2020-08-31 23:01:41 -04:00
John Kerl
52255a070f mlrval/interpreter iterate 2020-08-31 10:33:32 -04:00
John Kerl
9a7ab36968
Merge pull request #361 from terorie/reg_test_libc_race
c/reg_test: make subprocess test libc-agnostic
2020-08-24 21:11:23 -04:00
Richard Patel
39cd68dd29
c/reg_test: make subprocess test libc-agnostic
A test in c/reg_test/run currently relies on glibc-specific
print buffering behavior in a test case that checks environment
vars with subprocesses.

The case in question made mlr spawn a script that prints a few lines
but also had mlr print lines itself at the same time. The order of
lines from mlr vs subprocess are undefined, producing a slightly
different outcome on Alpine Linux than on Glibc-based distributions.

This commit adds the "put -q" flag to the test case effectively
causing only the subprocess output to be printed (which is the one
the particular test case was interested in).

Relates to https://github.com/johnkerl/miller/issues/293
2020-08-24 22:14:38 +02:00
John Kerl
7dd761a08a post-5.9.0 2020-08-19 16:34:52 -04:00
John Kerl
640af6eb1c 5.9.0 2020-08-19 14:35:36 -04:00
John Kerl
003455bc7c mlrrc in mlr --help and man mlr 2020-08-19 11:26:03 -04:00
John Kerl
7f1094c66c mlrrc testing 2020-08-19 10:19:54 -04:00
John Kerl
99db69dfca mlrrc iterate 2020-08-19 08:27:16 -04:00
John Kerl
435c9d4bb1 mlrrc iterate 2020-08-19 08:11:29 -04:00
John Kerl
0adad54acf mlrrc first light (docs on a separate commit) 2020-08-18 16:55:30 -04:00
John Kerl
05605973fe whitespace to trigger travis 2020-08-17 13:57:02 -04:00
John Kerl
f1b36a721a neaten 2020-08-06 18:28:01 -04:00
John Kerl
7ab80335d1 attempt to fix appveyor build 2020-08-04 11:51:04 -04:00
John Kerl
7b6bdf0353 Fix Cygwin/Lemon build 2020-08-03 16:37:28 -04:00
John Kerl
e83e193305 whitespace 2020-07-16 18:40:25 -04:00
John Kerl
ed0928faa4 fix 32-bit signed int at one spot in the Miller JSON reader 2020-07-06 17:45:55 -04:00
John Kerl
7d7477f97f doc fixups in prep for 5.8.0 release 2020-05-17 23:26:24 -04:00
John Kerl
9186b201a5 5.8.0 2020-05-17 22:52:38 -04:00
John Kerl
ef6557537d bug fix in mlr format-values (memory corruption on CSV/TSV) 2020-05-17 22:34:46 -04:00
John Kerl
09aab8f216 https://github.com/johnkerl/miller/issues/329 2020-05-17 22:09:21 -04:00
John Kerl
8ccf8b3241 fix segv on print NF in begin/end blocks 2020-05-12 14:06:16 -04:00
John Kerl
1582c02ffb --jsonx = --json --jvstack; --ojsonx = --ojson --jvstack 2020-05-12 11:17:19 -04:00
John Kerl
6d771823b6
Merge pull request #320 from terorie/patch-2
reg_test: always print mlr stderr after stdout
2020-05-06 22:06:59 -04:00
Fulvio Scapin
85e249d932 Typo correction
statsitics -> statistics
2020-04-30 22:28:48 +02:00
John Kerl
e1ec9de2b5 mlr count 2020-04-30 11:01:30 -04:00
John Kerl
107887aacf JSON parse-error messages alwasys said "column 0"; fixed 2020-04-16 23:34:10 -04:00
John Kerl
acb48e3679 neaten 2020-04-16 23:30:16 -04:00
John Kerl
7b29465985 JSON parse-error messages alwasys said "Line 1"; fixed 2020-04-16 23:25:22 -04:00
John Kerl
0290ceff9d handle CR and/or LF in field-name args following {verb} -f 2020-04-05 22:41:57 -04:00
Richard Patel
a5b32e7a62
reg_test: always print mlr stderr after stdout 2020-04-05 06:03:44 +02:00
John Kerl
518d77f4f7 5.7.0-dev 2020-03-16 23:44:01 -04:00
John Kerl
9f3e392501 5.7.0 2020-03-16 23:06:57 -04:00
John Kerl
3d24e0e68b valgrind findings 2020-03-16 22:54:56 -04:00