Commit graph

8477 commits

Author SHA1 Message Date
John Kerl
4f0bdaf3c3 6.3.0 for readthedocs 2023-03-02 23:19:48 -05: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
John Kerl
b5da018538 Merge branch 'main' of github.com:johnkerl/miller 2022-07-07 13:16:33 -04:00
John Kerl
969d969e0b In README.md, link to nice J. Scott Johnson review 2022-07-07 13:16:27 -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
dependabot[bot]
8d7c7e830b
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#1044)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 18:21:39 -04:00
dependabot[bot]
ec0988602d
Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#1042)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 14:43:12 -04:00
dependabot[bot]
c6866f0426
Bump github.com/stretchr/testify from 1.7.3 to 1.7.4 (#1040)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 17:37:07 -04:00
dependabot[bot]
fe74f39d09
Bump github.com/stretchr/testify from 1.7.2 to 1.7.3 (#1038)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 00:08:23 -04:00
dependabot[bot]
65eedf093e
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1034)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 16:33:23 -04:00
John Kerl
e905587ac8
Avoid panic when the command line ends in 'then' (#1033) 2022-06-04 11:29:53 -04:00
dependabot[bot]
0d89264a8e
Bump goreleaser/goreleaser-action from 2 to 3 (#1027)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 09:58:52 -04:00
John Kerl
e91d19de25 typofix 2022-05-14 14:47:14 -04:00
John Kerl
a96b1cc052 Merge branch 'main' of github.com:johnkerl/miller 2022-05-04 12:21:01 -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
1f87b8600f Merge branch 'main' of github.com:johnkerl/miller 2022-05-02 01:04:07 -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
64c16988cc Merge branch 'issue-1019-scinot-plus' 2022-05-01 23:42:17 -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
ea8bdeb671 Parser-generator artifacts; unit-test update; go mod update 2022-05-01 23:25:55 -04:00
John Kerl
ed205121ce Accept + in scientific-notation floating-point DSL literals 2022-05-01 23:24:46 -04:00
dependabot[bot]
77e3f54ff7
Bump github/codeql-action from 1 to 2 (#1015)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 11:08:23 -04:00
dependabot[bot]
0d5cd270fc
Bump github.com/lestrrat-go/strftime from 1.0.5 to 1.0.6 (#1012)
Bumps [github.com/lestrrat-go/strftime](https://github.com/lestrrat-go/strftime) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/lestrrat-go/strftime/releases)
- [Changelog](https://github.com/lestrrat-go/strftime/blob/master/Changes)
- [Commits](https://github.com/lestrrat-go/strftime/compare/v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/strftime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-23 10:08:49 -04:00
John Kerl
d63328993f neaten 2022-04-18 10:25:53 -04:00
dependabot[bot]
02d6ee1216
Bump actions/setup-go from 2 to 3 (#1009)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 21:58:30 -04:00
dependabot[bot]
6b514e45b7
Bump actions/upload-artifact from 2 to 3 (#1010)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 21:58:16 -04:00
John Kerl
002d77769c typofix 2022-03-31 16:42:43 -04:00
John Kerl
5298b0205a neaten 2022-03-29 08:59:20 -04:00
John Kerl
30913f2a13 Merge branch 'kubectl-helm-parse' 2022-03-29 00:38:15 -04:00
John Kerl
cc2e5acc10 Merge branch 'main' of github.com:johnkerl/miller 2022-03-29 00:33:19 -04:00
John Kerl
318019996f
helm/kubectl examples (#1005) 2022-03-29 00:31:49 -04:00
John Kerl
25d1bc5c5d helm/kubectl examples 2022-03-29 00:31:42 -04:00
John Kerl
e271b55832
Fix panic on 'mlr sort -n' (#1004) 2022-03-28 23:33:28 -04:00
John Kerl
de9dbfc212 Fix panic on 'mlr sort -n' 2022-03-28 23:26:37 -04:00
dependabot[bot]
0bc67485b8
Bump actions/cache from 2 to 3 (#1000)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 09:56:26 -04:00
John Kerl
e6c24ca8a8 todo 2022-03-20 22:08:48 -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
a6dc231eef build artifacts for previous commit 2022-03-18 23:54:25 -04:00
John Kerl
13471b0c83 6.2.0 2022-03-18 23:50:34 -04:00
John Kerl
8681007ddb todo 2022-03-18 23:48:50 -04:00
John Kerl
f9e3256367
gssub DSL function (#989)
* gssub DSL function

* build artifacts for gssub source-code change

* unit-test files

* gssub / Latin 1 example in docs

* code-dedupe ssub and gssub
2022-03-18 23:48:27 -04:00
dependabot[bot]
4961fbeb48
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#986)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 18:13:54 -04:00
John Kerl
42a39a86ac
Use fixed OFMT for multi-platform regression-testing (#988)
* Use fixed OFMT for multi-platform regression-testing

* Update regression tests to use fixed OFMT
2022-03-16 14:44:42 -04:00