Commit Graph

1081 Commits

Author SHA1 Message Date
Yehuda Katz
ab915f1c44 Revert "Revert "Migrate most uses of the Span concept to Tag""
This reverts commit bee7c5639c.
2019-09-14 11:30:24 -05:00
Jonathan Turner
52e71cad18
Merge pull request #664 from jonathandturner/detach_externals
Detach externals so they don't freeze while buffering
2019-09-14 06:11:59 +12:00
Jonathan Turner
9382a7e64a Detach externals so they don't freeze while buffering 2019-09-14 05:51:40 +12:00
Andrés N. Robalino
da31eac735
Merge pull request #663 from vsoch/update/docker-base-to-18.04
Updating base to 18.04
2019-09-13 08:17:47 -05:00
Vanessa Sochat
579c7ff6d6
updating base to 18.04
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-13 08:46:52 -04:00
Jonathan Turner
6551498b7b
Merge pull request #662 from jonathandturner/did_you_mean
Add basic 'did you mean' support
2019-09-13 16:15:11 +12:00
Jonathan Turner
074a76c9d4 Fix test 2019-09-13 15:48:32 +12:00
Jonathan Turner
53cb40d8f6 Add basic 'did you mean' support 2019-09-13 15:44:21 +12:00
Jonathan Turner
4b8d0d62eb
Update README.md 2019-09-13 15:04:14 +12:00
Jonathan Turner
ea10d4dc0e
Merge pull request #661 from jonathandturner/bump_compiler
Bump compiler
2019-09-13 14:44:13 +12:00
Jonathan Turner
b11a4535bd Bump compiler 2019-09-13 13:54:17 +12:00
Andrés N. Robalino
970cc3c24d
Merge pull request #660 from androbtech/plugin-search-paths
Permit Nu find and pick up development plugins if there are any first.
2019-09-12 19:08:28 -05:00
Andrés N. Robalino
d0d56deaf1 Permit Nu finding and picking up development plugins if there are any first. 2019-09-12 18:49:29 -05:00
Jonathan Turner
ea3b3e42c4
Merge pull request #657 from jonathandturner/help_and_binary
Help and binary
2019-09-13 07:27:27 +12:00
Jonathan Turner
4dfebae136
Merge pull request #655 from vsoch/update/docker-base-18.04
Updating nushell/nu base to have proper version of libssl-dev
2019-09-13 07:25:51 +12:00
Jonathan Turner
d629686a4b Merge master 2019-09-13 06:33:52 +12:00
Jonathan Turner
189877e4dd Improve help and make binary a primitive 2019-09-13 06:29:16 +12:00
Vanessa Sochat
6fe211fdbe
changing base image to use updated libssl, adding tests to run --help for nu
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-12 12:46:16 -04:00
Andrés N. Robalino
f326680cad
Merge pull request #652 from androbtech/cobertura
first and get coverage.
2019-09-12 07:44:40 -05:00
Andrés N. Robalino
c2eefece0e Remove warnings. 2019-09-12 06:12:19 -05:00
Andrés N. Robalino
7838dac689 first and get coverage. 2019-09-12 05:22:58 -05:00
Andrés N. Robalino
39489a75aa
Merge pull request #651 from androbtech/nix-regex
Removes regex crate dependency.
2019-09-12 02:35:35 -05:00
Andrés N. Robalino
e4ed8c94ad dot character is valid in Windows plugin binaries. 2019-09-12 02:20:22 -05:00
Andrés N. Robalino
c57c0eb371 pass lint checks. 2019-09-12 01:49:01 -05:00
Andrés N. Robalino
b35549adac Removes regex crate dependency. 2019-09-11 22:20:42 -05:00
Jonathan Turner
4edc7422cd
Merge pull request #649 from max-sixty/fmt
Fmt
2019-09-12 07:22:34 +12:00
Jonathan Turner
3fca94cf66
Merge pull request #650 from vsoch/add/missing-docker-dependencies
Adding missing docker dependencies openssl and pkgconfig
2019-09-12 07:21:10 +12:00
Maximilian Roos
206998a41a
install correct version 2019-09-11 13:56:30 -04:00
Vanessa Sochat
1f3f3d3105
adding missing docker dependencies openssl and pkgconfig
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-11 13:44:23 -04:00
Maximilian Roos
5ca075e38b
already installed in CI 2019-09-11 13:14:31 -04:00
Maximilian Roos
dbefbcb046
CI 2019-09-11 13:06:59 -04:00
Maximilian Roos
3c9a0e0e1a
Merge branch 'master' into fmt 2019-09-11 10:36:54 -04:00
Maximilian Roos
127381497c
run rustfmt 2019-09-11 10:36:50 -04:00
Jonathan Turner
53cfa09cd2
Merge pull request #645 from nushell/revert-643-improve-external-words
Revert "Migrate most uses of the Span concept to Tag"
2019-09-11 20:43:52 +12:00
Jonathan Turner
bee7c5639c
Revert "Migrate most uses of the Span concept to Tag" 2019-09-11 19:53:05 +12:00
Jonathan Turner
f05c7d6792
Merge pull request #628 from max-sixty/build-warnings
Fix build warnings & add CI
2019-09-11 18:40:03 +12:00
Jonathan Turner
4c2796f11c
Merge pull request #643 from nushell/improve-external-words
Migrate most uses of the Span concept to Tag
2019-09-11 17:18:54 +12:00
Yehuda Katz
58b7800172 Migrate most uses of the Span concept to Tag
Also migrate mv, rm and commands like that to taking a
SyntaxType::Pattern instead of a SyntaxType::Path for their first
argument.
2019-09-10 20:41:03 -07:00
Andrés N. Robalino
f47349c1a0
Merge pull request #632 from nushell/improve-external-words
Close a bunch of holes in external command args
2019-09-10 12:37:43 -05:00
Andrés N. Robalino
540e93aa3a question mark character can also be in glob patterns. 2019-09-10 12:26:56 -05:00
Yehuda Katz
b15bb2c667 Added glob patterns to the syntax shapes
Bare words now represent literal file names, and globs are a different
syntax shape called "Pattern". This allows commands like `cp` to ask for
a pattern as a source and a literal file as a target.

This also means that attempting to pass a glob to a command that expects
a literal path will produce an error.
2019-09-10 09:00:50 -07:00
Andrés N. Robalino
191cc96b14
Merge pull request #635 from androbtech/fix
to-[csv/tsv] fixes.
2019-09-10 07:12:11 -05:00
Andrés N. Robalino
ba8383ae2f to-[csv/tsv] fixes. 2019-09-10 07:00:25 -05:00
Maximilian Roos
ae74ba5bb0
Merge branch 'master' into build-warnings
# Conflicts:
#	src/commands/config.rs
2019-09-10 07:08:15 -04:00
Andrés N. Robalino
2dcbf78385
Merge pull request #633 from androbtech/conf
config test harness.
2019-09-10 05:42:44 -05:00
Andrés N. Robalino
11ef007491 Paths can be displayed as strings. 2019-09-10 05:28:15 -05:00
Andrés N. Robalino
f61144006f config test harness. 2019-09-10 05:08:01 -05:00
Maximilian Roos
45201cb284
combine build & test 2019-09-09 17:04:14 -04:00
Jonathan Turner
7e2d701725
Merge pull request #631 from jonathandturner/light_tables
Add lighter-weight table output
2019-09-10 05:59:11 +12:00
Yehuda Katz
4d3e7efe25 Close a bunch of holes in external command args
Previously, there was a single parsing rule for "bare words" that
applied to both internal and external commands.

This meant that, because `cargo +nightly` needed to work, we needed to
add `+` as a valid character in bare words.

The number of characters continued to grow, and the situation was
becoming untenable. The current strategy would eventually eat up all
syntax and make it impossible to add syntax like `@foo` to internal
commands.

This patch significantly restricts bare words and introduces a new token
type (`ExternalWord`). An `ExternalWord` expands to an error in the
internal syntax, but expands to a bare word in the external syntax.

`ExternalWords` are highlighted in grey in the shell.
2019-09-09 10:43:10 -07:00