Commit graph

177 commits

Author SHA1 Message Date
John Kerl
1e6ae3fd1e
More mlrval size-reduction (#1132) 2022-11-26 11:13:53 -05:00
John Kerl
6f22401d53
Exclude median from summary default (#1131) 2022-11-26 10:34:28 -05:00
John Kerl
c4f1d519ed
Use int8 for mvtype (memory reduction) (#1130)
* Use int8 for mvtype (memory reduction)

* Try to get around codespell false positives
2022-11-26 00:34:25 -05:00
John Kerl
95be06b752 make fmt 2022-11-26 00:23:12 -05:00
John Kerl
a299ce22fe forgot to set between-releases version to 6.4.0-dev after 6.4.0 2022-11-03 15:30:30 -04:00
John Kerl
39286923dc
Don't double-quote a CSV field only for having a leading space (#1101)
* Don't double-quote a CSV field only for having a leading space

* unit-test case
2022-10-03 22:40:16 -04:00
John Kerl
36d0ed7608
type-safety in exec (#1099) 2022-09-29 10:11:35 -04:00
John Kerl
f131087713
Check -- terminator on --mfrom (#1098) 2022-09-28 00:30:05 -04:00
John Kerl
63db1a9059
mlr reshape multiple regex via multiple -r (#1091) 2022-09-05 22:05:54 -04:00
John Kerl
4a53a6b278
Fix labels for mlr histogram --auto (#1089) 2022-09-03 09:55:44 -04:00
John Kerl
abf58f4bb5
Restore --quote-all for CSV output (#1084)
* Restore --quote-all flag for CSV output

* make dev: for doc-build artifacts
2022-08-22 09:38:53 -04:00
John Kerl
a8cc3032dc
Restore the --jvquoteall flag (#1083)
* Restore --jvquoteall flag

* make dev: for doc-build artifacts

* unit-test file
2022-08-22 09:36:58 -04:00
John Kerl
0d6f330eda forgot to make a branch/PR for --quote-all 2022-08-22 09:25:09 -04:00
John Kerl
b27dcddfe3 Restore --quote-all flag for CSV output 2022-08-22 09:17:37 -04:00
John Kerl
a28554216a post-6.4.0 2022-08-20 21:30:12 -04:00
John Kerl
3c5cc37bdf
6.4.0 release (#1081)
* 6.4.0

* make dev for 6.4.0
2022-08-20 18:15:43 -04:00
John Kerl
dafec6dc09
mlr cat --filename / --filenum (#1080)
* mlr cat --filename / --filenum

* codespell
2022-08-20 08:42:15 -04:00
Matt Forrester
e55efbbfad
doc: fix docs for system/exec() (#1071)
Co-authored-by: Matthew Forrester <matthew.forrester@speechmarks.com>
2022-08-13 23:55:05 -04:00
Abirdcfly
17420e9594
delete unreachable test code caused by os.Exit (#1073)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-08-11 08:13:49 -04:00
John Kerl
c95c054c48
allow multi-line string literals in the DSL (#1070) 2022-08-09 08:51:44 -04:00
John Kerl
5ffb8a59b3 make dev after #1067 2022-08-07 00:40:44 -04:00
Matt Forrester
7a30f3552e
feat: system/exec() function call (#1067)
Co-authored-by: Matthew Forrester <matthew.forrester@speechmarks.com>
2022-08-07 00:36:53 -04:00
John Kerl
c1a1589174
Support simplified sort-map-by-value in the DSL (#1069)
* add shorthands for sorting maps by value

* unit-test files

* on-line help content
2022-08-07 00:31:08 -04:00
John Kerl
a64133250c
Fix natsort of empty strings; support mlr sort -rt same as -tr (#1068)
* mlr sort -rt == mlrt sort -tr

* fix natsort of empty strings
2022-08-06 23:10:09 -04:00
Fulvio Scapin
c9e0559cf6
[Docs] moving --xvright out of the FLATTEN-UNFLATTEN FLAGS section (#1065) 2022-08-01 09:53:40 -04:00
John Kerl
9b56162c96
Make PPRINT empty-string markers readable as such (#1059) 2022-07-17 00:07:12 -04:00
John Kerl
bbeeb92a37
Allow "\n" in mlr repl prompt (#1058) 2022-07-12 19:07:11 -04:00
John Kerl
ba349fe66f README-go-port.md -> README-dev.md 2022-07-12 17:15:06 -04:00
John Kerl
8bca869b68 update null_count for use in stats1 2022-07-12 01:27:04 -04:00
John Kerl
64b3cbfcfe
mlr summary verb (#1056)
* mlr summary verb

* doc content

* iterating on more summarizers; needs work as noted in the PR

* mlr summary with selectable accumulators

* code-review feedback

* iterating on transposed output

* extend unit-test cases

* doc extensions
2022-07-12 00:57:34 -04:00
John Kerl
6b32e1f419
Reduce number of os.Exit callsites, part 1 of n (#1055)
* neaten some uses of os.Exit

* iterating

* iterating

* iterating

* iterating

* iterating

* iterating

* iterating
2022-07-09 18:53:24 -04:00
luzpaz
42cd2ff7ad
Fix doc typo (#1054) 2022-07-08 09:25:22 -04:00
John Kerl
88a23f41e7 6.3.0-dev 2022-07-07 16:02:40 -04:00
John Kerl
31d8632a7f 6.3.0 2022-07-07 15:23:18 -04:00
John Kerl
4c5dba6036
Enable output colorization on Windows by default (#1051)
* Enable output colorization on Windows following after #1045

* doc updates
2022-07-07 15:12:44 -04:00
Thijs Brobbel
485beb126b
Enable ANSI escape sequence processing on Windows (#1045)
Windows added support for ANSI escape sequences processing, and showing
colors, and such. However, this needs to be enabled explicitly, for that
to work. This enables that on startup.
2022-07-05 10:37:47 -04:00
John Kerl
418f6d80aa
Let + be an alias for then (#1049) 2022-07-04 17:23:19 -04:00
John Kerl
23aefb5646
Fix issue 1032 (#1048)
* Fix issue 1032

* test files
2022-07-04 16:07:12 -04:00
John Kerl
52ce2473fb
Fix issue 1037 (#1047)
* Fix issue 1037

* test files
2022-07-04 15:40:42 -04:00
John Kerl
e905587ac8
Avoid panic when the command line ends in 'then' (#1033) 2022-06-04 11:29:53 -04:00
John Kerl
e91d19de25 typofix 2022-05-14 14:47:14 -04:00
John Kerl
18a6977749
Fix ASCII vs UTF-8 in TSV writer (#1023)
* Fix ASCII vs UTF-8 in TSV writer

* regression-test case
2022-05-02 20:52:34 -04:00
John Kerl
d50f22924a
Allow x ** - y and x ** + y in the DSL grammar (#1021)
* Allow x ** - y in the DSL grammar

* Parser-generator artifacts

* AST-builder support

* regression-test cases

* comments
2022-05-02 01:03:24 -04:00
John Kerl
2e727829c4
Accept + in exponent of scientific-notation floating-point DSL literals (#1020)
* Accept + in scientific-notation floating-point DSL literals

* Parser-generator artifacts; unit-test update; go mod update
2022-05-01 23:39:03 -04:00
John Kerl
de9dbfc212 Fix panic on 'mlr sort -n' 2022-03-28 23:26:37 -04:00
John Kerl
d03ef16cfc
Add line/column info for DSL runtime non-parse failures (#998)
* Add line/column info for DSL runtime non-parse failures

* Other related callsites

* test cases

* Update already-existing test cases
2022-03-20 21:57:11 -04:00
John Kerl
2408915160
DSL functions and verbs for UTF-8 <-> Latin-1 (#997)
* latin1_to_utf8 and utf8_to_latin1 DSL functions

* doc-build artifacts for previous commit

* Test cases for latin1_to_utf8 and utf8_to_latin1

* extend on-line help

* latin1_to_utf8 and utf8_to_latin1 verbs

* unit-test cases for verbs

* Keep with kebab-case naming convention for verbs

* webdocs
2022-03-20 17:29:40 -04:00
John Kerl
4191c35b7c
Re-use whitespace regexp in clean_whitespace (#994)
* DSL strict mode

* Re-use whitespace regexp in clean_whitespace
2022-03-20 12:17:51 -04:00
John Kerl
ccf9d0fdc5 post-6.2.0 2022-03-19 00:22:55 -04:00
John Kerl
13471b0c83 6.2.0 2022-03-18 23:50:34 -04:00