Thomas Hartmann
a0ed6ea3c8
Adds new tests and updates old ones.
...
New tests are added to test for additional cases that might be trickier to
handle with the new logic.
Old tests are updated where their expectations are no longer expected to hold true.
For instance: previously, lines would be treated separately, allowing any index
offset between columns on different rows, as long as they had the same row index
as decided by a separator. When this is no longer the case, some things need to
be adjusted.
2019-10-17 00:17:58 +02:00
Jonathan Turner
4a6529973e
Merge pull request #844 from nushell/unknown-value
...
Rename <unknown> to <value>
2019-10-17 08:24:15 +13:00
Jonathan Turner
9a02fac0e5
Rename <unknown> to <value>
2019-10-17 07:28:49 +13:00
Jonathan Turner
2c6a9e9e48
Merge pull request #838 from jonathandturner/master
...
Update cargo.lock
2019-10-16 15:18:09 +13:00
Jonathan Turner
d91b735442
Update cargo.lock
2019-10-16 15:09:47 +13:00
Jonathan Turner
7d3025176f
Merge pull request #835 from t-hart/from-ssv/variable-separator
...
`from-ssv`: user-defined number of spaces to split on
2019-10-16 11:04:28 +13:00
Andrés N. Robalino
74111dddb7
Merge pull request #836 from sdfnz/master
...
Added documentation for the sum command
2019-10-15 16:54:21 -05:00
Thomas Hartmann
74b0e4e541
Adds more info to the usage string.
2019-10-15 23:20:06 +02:00
Thomas Hartmann
587bb13be5
Updates readme with new name of flag.
2019-10-15 23:19:16 +02:00
Jonathan Turner
79d3237bf5
Merge pull request #837 from nushell/bump-dep
...
Bump dep for language-reporting
2019-10-16 09:13:48 +13:00
Thomas Hartmann
f8d44e732b
Updates default minimum spaces to allow single spaces by default.
2019-10-15 22:05:47 +02:00
Thomas Hartmann
0d2044e72e
Changes flag to minimum-spaces
.
2019-10-15 22:05:32 +02:00
Jonathan Turner
1bb301aafa
Bump dep for language-reporting
2019-10-16 08:54:46 +13:00
sdfnz
5635b8378d
Added documentation for the sum command
2019-10-15 14:23:32 -05:00
Thomas Hartmann
294c2c600d
Update the usage string to match the readme.
2019-10-15 21:10:15 +02:00
Thomas Hartmann
b4c639a5d9
Updates description of command in readme.
2019-10-15 21:01:14 +02:00
Thomas Hartmann
e7b37bee08
Adds filter test for named param.
2019-10-15 20:58:46 +02:00
Thomas Hartmann
d32e97b812
Implements variable space separator length, version 1.
2019-10-15 20:48:06 +02:00
Thomas Hartmann
81affaa584
Adds tests for allowed-spaces option.
2019-10-15 19:10:38 +02:00
Jonathan Turner
f2d54f201d
Merge pull request #833 from andrasio/recon
...
Recon
2019-10-16 05:00:57 +13:00
Andrés N. Robalino
0373006710
Formatting.
2019-10-15 05:42:24 -05:00
Andrés N. Robalino
ec2e35ad81
'last' gets last row if no amount desired given.
2019-10-15 05:41:34 -05:00
Andrés N. Robalino
821ee5e726
count command introduced.
2019-10-15 05:19:06 -05:00
Andrés N. Robalino
5ed1ed54a6
Move off 'sum' to internal command 'count' for tests.
2019-10-15 05:16:47 -05:00
Andrés N. Robalino
96ef478fbc
Better error messages.
2019-10-15 04:18:35 -05:00
Andrés N. Robalino
3f60c9d416
'first' gets first row if no amount desired given.
2019-10-15 04:17:55 -05:00
Jonathan Turner
ed39377840
Merge pull request #832 from nushell/bump_version
...
Bump the version ahead of release
2019-10-15 18:59:31 +13:00
Jonathan Turner
e250a3f213
Update README.md
2019-10-15 18:52:15 +13:00
Jonathan Turner
3a99456371
Bump the version ahead of release
2019-10-15 18:41:05 +13:00
Jonathan Turner
bd6d8189f8
Merge pull request #830 from t-hart/pull-req/from-master
...
[DRAFT] Adds `from-ssv` command.
2019-10-15 18:28:43 +13:00
Jonathan Turner
452b5c58e8
Update README.md
2019-10-15 15:38:22 +13:00
Yehuda Katz
d1ebc55ed7
Merge pull request #831 from nushell/coloring_in_tokens
...
Start moving coloring into the token stream
2019-10-14 18:31:21 -07:00
Yehuda Katz
f20f3f56c7
Start moving coloring into the token stream
...
The benefit of this is that coloring can be made atomic alongside token
stream forwarding.
I put the feature behind a flag so I can continue to iterate on it
without possibly regressing existing functionality. It's a lot of places
where the flags have to go, but I expect it to be a short-lived flag,
and the flags are fully contained in the parser.
2019-10-14 16:11:00 -07:00
Thomas Hartmann
65008bb912
Deletes nix-specific configuration.
2019-10-15 00:25:55 +02:00
Thomas Hartmann
d21389d549
Removes unwrap.
...
A rogue unwrap had been left in the code, but has now been replaced by an option.
2019-10-15 00:24:32 +02:00
Jonathan Turner
f858a127ad
Merge pull request #829 from thegedge/fix-multiple-values-for-external-command
...
Fix bug with multiple input objects to an external command.
2019-10-15 11:22:46 +13:00
Thomas Hartmann
de12393eaf
Updates shell.nix.
2019-10-14 23:25:52 +02:00
Thomas Hartmann
b2c53a0967
Updates commands to work after tag is no longer copy.
2019-10-14 23:14:45 +02:00
Thomas Hartmann
65546646a7
Pull in upstream changes.
2019-10-14 23:05:52 +02:00
Jason Gedge
ee8cd671cb
Fix bug with multiple input objects to an external command.
...
Previously, we would build a command that looked something like this:
<ex_cmd> "$it" "&&" "<ex_cmd>" "$it"
So that the "&&" and "<ex_cmd>" would also be arguments to the command,
instead of a chained command. This commit builds up a command string
that can be passed to an external shell.
2019-10-14 16:47:12 -04:00
Thomas Hartmann
d4df70c53f
Merge branch 'refactor/add-tests'
2019-10-14 22:03:47 +02:00
Thomas Hartmann
43ead45db6
Removes rust_src_path and ssl_cert_file vars.
2019-10-14 22:03:17 +02:00
Thomas Hartmann
22d2360c4b
Adds conversion test for leading whitespace.
...
Refactors string parsing into a separate function.
2019-10-14 22:00:25 +02:00
Jonathan Turner
d38b8cf851
Merge pull request #827 from andrasio/external-color
...
Color escaped externals.
2019-10-15 08:28:34 +13:00
Andrés N. Robalino
43cf52275b
Color escaped externals.
2019-10-14 14:09:44 -05:00
Thomas Hartmann
104b7824f5
Updates return types.
2019-10-14 16:34:06 +02:00
Thomas Hartmann
a9293f62a8
Adds some initial ideas for refactoring.
2019-10-14 09:43:54 +02:00
Thomas Hartmann
0b210ce5bf
Filters out empty lines before table creation.
2019-10-14 07:48:19 +02:00
Thomas Hartmann
38225d0dba
Removes extra newline
2019-10-14 07:48:10 +02:00
Jonathan Turner
473b6f727c
Merge pull request #822 from jonathandturner/fix_707
...
Fix confusing unnamed column and crash
2019-10-14 18:46:37 +13:00