Commit graph

7494 commits

Author SHA1 Message Date
John Kerl
7a54bed754 Fix in-place mode and recompression 2021-09-19 22:54:56 -04:00
John Kerl
d39796bbc5 Misc neatens 2021-09-19 17:45:38 -04:00
John Kerl
b4f7891503 Misc. doc neatens 2021-09-19 09:21:36 -04:00
John Kerl
2ba8a14138
Complete DSL sort functions (#667)
* sortmf first light

* mlr sort -c/-cr

* All DSL sort-func impls; sorting webdoc page

* Regression-test for new DSL sort functions
2021-09-19 01:21:26 -04:00
John Kerl
9722f1f6db
sortmf first light (#666) 2021-09-18 10:54:40 -04:00
John Kerl
013386c110
Package-level synpopses for godoc (#665)
* Godoc neatens

* Iterating on godoc: package synopses
2021-09-18 10:39:07 -04:00
John Kerl
db2f8711cd Merge branch 'sortaf-sortmf' 2021-09-18 09:37:05 -04:00
John Kerl
2431130eff Merge branch 'main' of https://github.com/johnkerl/miller 2021-09-18 09:35:45 -04:00
John Kerl
0cf7e9a56c
Start of user-specified sorting (#664)
* Spaceship operator, and dot-operator precedence

* start stubbingout DSL sort functions

* Array-sort with UDF callback: sortaf first light

* Miller: -> mlr: in all error messages
2021-09-18 09:32:44 -04:00
John Kerl
ef9a8880d5 Miller: -> mlr: in all error messages 2021-09-18 09:12:12 -04:00
John Kerl
cf78a9eee5 Array-sort with UDF callback: sortaf first light 2021-09-18 00:39:08 -04:00
John Kerl
f89943b410 Merge branch 'spaceship-operator' 2021-09-16 18:32:36 -04:00
John Kerl
2b744d1d10
Operators and doc improvements; sort function 1st step (#663)
* Spaceship operator, and dot-operator precedence

* start stubbing out DSL sort functions
2021-09-16 18:30:47 -04:00
John Kerl
70f05cc8ce start stubbingout DSL sort functions 2021-09-16 18:18:03 -04:00
John Kerl
f9ec566ced Spaceship operator, and dot-operator precedence 2021-09-15 16:02:55 -04:00
John Kerl
af277841c7 To-do items 2021-09-15 07:48:11 -04:00
John Kerl
68eab14dcf todo 2021-09-14 23:15:44 -04:00
John Kerl
5622ab0063
Accept int keys for mapselect and mapexcept (#662)
* todo/neatens

* bug-fix issue with mlr reorder then something-else

Also, gofmt -s -w

* flatten/unflatten doc iteration

* Include diff output in regtest fail cases, if -vvv

* arrayify on unflatten

* flatten/unflatten page

* Accept int keys for mapselect and mapexcept
2021-09-14 23:11:20 -04:00
John Kerl
d4ffc525f8
More Miller-6 docs updates (#661)
* todo/neatens

* bug-fix issue with mlr reorder then something-else

Also, gofmt -s -w

* flatten/unflatten doc iteration

* Include diff output in regtest fail cases, if -vvv

* arrayify on unflatten

* flatten/unflatten page
2021-09-14 23:02:29 -04:00
John Kerl
6ddca75bb2 fix my typo on resolving merge conflict for PR #649 2021-09-10 18:06:38 -04:00
Nikos Alexandris
b2bb4c2400
Fix some typos (#649)
* Add missing spaces before --c2t in file-formats.md

* Fix typo in reference-dsl-variables.md.in

* Add missing spaces before --c2t in entry.go

* Undo manually 49a8b7942

Co-authored-by: John Kerl <kerl.john.r@gmail.com>
2021-09-10 18:05:44 -04:00
John Kerl
3a866cdb13
Make Miller6 stats1 handle empties as Miller 5 does (#656) 2021-09-09 01:05:46 -04:00
John Kerl
d7b112c4c3 Path-component examples -> docs 2021-09-08 23:04:16 -04:00
John Kerl
de9474c4c3 Merge branch 'flag-lut' 2021-09-08 22:17:05 -04:00
John Kerl
abe061e408
Flags lookup-table and doc autogen (#655)
* Tableize flag-parsing for on-line help, doc autogen, etc.

* Rename cli,cliutil packages -> climain,cli

* stub for new flag-list page

* Fix alignment & formatting for webdoc/manpage autogen

* per-flag-section info in mlr help

* Fix comparison of actual vs expected stderr file in regtest

* Replace old flag-parser with new
2021-09-08 22:16:40 -04:00
John Kerl
70760bbaa0 Replace old flag-parser with new 2021-09-08 22:08:37 -04:00
John Kerl
3dc56ab93d Fix comparison of actual vs expected stderr file in regtest 2021-09-08 21:37:12 -04:00
John Kerl
21113fc0d7 per-flag-section info in mlr help 2021-09-08 19:07:20 -04:00
John Kerl
a34fdafe8a Fix alignment & formatting for webdoc/manpage autogen 2021-09-07 23:40:15 -04:00
John Kerl
be1b026ff3 stub for new flag-list page 2021-09-06 21:57:15 -04:00
John Kerl
693ecdbb4d Rename cli,cliutil packages -> climain,cli 2021-09-05 22:45:15 -04:00
John Kerl
498c6a62ed Tableize flag-parsing for on-line help, doc autogen, etc. 2021-09-05 22:38:45 -04:00
John Kerl
14dd5592e7 $quanity -> $quantity in docs 2021-09-05 20:04:45 -04:00
John Kerl
b11e5b6157 sh build-go-src-test-man-doc.sh after previous PR 2021-09-04 23:05:19 -04:00
John Kerl
bc7cbdcff2 merge 2021-09-04 22:58:59 -04:00
John Kerl
a4d39a1b4b Do not type-infer Inf, Infinity, NaN, true, false, etc. on file-read 2021-09-04 22:46:58 -04:00
John Kerl
cfc986b5f4 Fix non-auto-infer of true/false/Infinity/NaN/etc in non-JSON data files 2021-09-04 14:19:15 -04:00
John Kerl
a916087ca0 remove extraneous os.Stdout arguments from function-manager print methods 2021-09-04 14:02:09 -04:00
John Kerl
54b415d4e2 Rework data-types page and function-table presentation 2021-09-04 13:43:15 -04:00
John Kerl
85f3e5ecf7 misc to-do items 2021-09-04 00:20:48 -04:00
John Kerl
0eb8edeb35 misc to-do items 2021-09-04 00:09:27 -04:00
John Kerl
fdb6b0ee97 Merge branch 'doc6-proofreads-3' 2021-09-03 23:20:57 -04:00
John Kerl
4f1424789e
Doc6 proofreads 3 (#638)
* Docs6 proofreads batch 3

* BUild-everything script for local development

* Start of glossary

* Put quicklinks atop every page, not just the base-index page

* Expanded record-heterogeneity page

* streaming page

* separators page

* vimrc doc

* separators page
2021-09-03 23:19:32 -04:00
John Kerl
0379138ce1 separators page 2021-09-03 23:15:55 -04:00
John Kerl
020b90b7ec vimrc doc 2021-09-03 22:04:10 -04:00
John Kerl
5d632fe0f2 separators page 2021-09-02 18:56:40 -04:00
John Kerl
68ff36a9eb streaming page 2021-09-02 18:30:49 -04:00
John Kerl
376c7d738b Expanded record-heterogeneity page 2021-09-02 11:28:47 -04:00
John Kerl
c142cef432 Put quicklinks atop every page, not just the base-index page 2021-09-02 11:06:24 -04:00
John Kerl
b6fd09b7c6 Start of glossary 2021-09-02 11:06:24 -04:00