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
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
Jonathan Turner
1878bb8a54
Merge pull request #624 from vsoch/test/nightly-builds
...
Adding nightly build to CircleCI
2019-09-09 11:29:31 +12:00
Vanessa Sochat
da6d6467f3
adding to circle config to test nightly builds
...
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-08 18:36:06 -04:00
Jonathan Turner
4ce6a9c9f7
Merge pull request #622 from vsoch/test/shorter-docker-builds
...
Building akin to azure-pipelines to shorten CircleCI builds
2019-09-09 08:58:43 +12:00
Vanessa Sochat
24ba0d93c7
test building akin to azure-pipelines (without release) to hopefully shorten circleci builds
...
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-08 15:44:52 -04:00
Jonathan Turner
f6f9507141
Merge pull request #623 from lesichkovm/patch-1
...
Spell check fixed
2019-09-09 05:59:30 +12:00
Milan Lesichkov
160bd7c535
Spell check fixed
2019-09-08 18:57:28 +01:00
Andrés N. Robalino
6f13bf8b51
Merge pull request #620 from androbtech/valueshell-cd
...
Valueshell cd and FileSystemShell cd refactoring.
2019-09-08 06:09:45 -05:00
Andrés N. Robalino
f770409a60
cd '-' valueshell implementation and valueshell refactorings.
2019-09-08 05:40:47 -05:00
Andrés N. Robalino
77c2e4200e
Filesystem cd refactor/cleanup.
2019-09-08 04:55:49 -05:00
Andrés N. Robalino
207f9ece5a
Merge pull request #618 from androbtech/cd-coverage
...
Filesystem change directory coverage.
2019-09-08 03:32:00 -05:00
Andrés N. Robalino
df9ff44956
Filesystem change directory coverage.
2019-09-08 03:09:05 -05:00
Jonathan Turner
ffd92362b0
Merge pull request #617 from jonathandturner/more_optional
...
Make some plugins optional, move ps to plugin
2019-09-08 19:39:48 +12:00
Jonathan Turner
448b1a4848
Make some plugins optional, move ps to plugin
2019-09-08 19:06:15 +12:00
Andrés N. Robalino
eecda3ecba
Merge pull request #363 from twe4ked/cd-back
...
Implement `cd -` to return to the previous directory
2019-09-08 01:00:32 -05:00
Odin Dutton
159cf27e39
Implement cd -
to return to the last path for the FilesystemShell
2019-09-08 15:10:46 +10:00
Jonathan Turner
07151b8360
Merge pull request #615 from jonathandturner/echo
...
Fix exec::shell and add echo command
2019-09-08 14:30:24 +12:00
Jonathan Turner
9da896ad4e
Attempt so simplify classified
2019-09-08 14:00:04 +12:00
Jonathan Turner
84628f298d
Finish fixing failing tests.
2019-09-08 13:35:02 +12:00
Jonathan Turner
4cdaed1ad4
Add echo command
2019-09-08 11:43:53 +12:00
Andrés N. Robalino
6c5da7d5a7
Merge pull request #614 from JonnyWalker81/expand-pwd-command
...
Expand pwd command
2019-09-07 18:11:41 -05:00
Jonathan Rothberg
7427ea51df
Removed commented out code.
2019-09-07 15:43:30 -07:00
Jonathan Rothberg
7913ae76f8
Expand pwd command
...
Expand functionality of the pwd command to better handle the different
types of shells (e.g. FilesystemShell, ValueShell, etc.).
2019-09-07 15:31:16 -07:00
Jonathan Turner
90b358d60b
Merge pull request #612 from chhetripradeep/pchhetri/add-pwd-command
...
Adds pwd command
2019-09-08 06:02:38 +12:00
Pradeep Chhetri
ee301f9f54
Adds pwd command
2019-09-07 23:53:56 +08:00
Jonathan Turner
8be14a891d
Merge pull request #611 from jonathandturner/autoview_plugin
...
Protect autoview against missing plugins
2019-09-07 20:09:58 +12:00
Jonathan Turner
ffaf17945d
Merge pull request #609 from nushell/jonathandturner-patch-2
...
Attempt to fix issue with ^C in Windows
2019-09-07 19:38:25 +12:00
Jonathan Turner
28fe31d565
Protect autoview against missing plugins
2019-09-07 19:32:07 +12:00
Jonathan Turner
e2b9370f10
Attempt to fix issue with ^C in Windows
...
This fixes the error case if we ^C during running an external command. This needs testing across platforms before it lands.
2019-09-07 16:59:13 +12:00
Jonathan Turner
452f96a836
Merge pull request #608 from pmeredit/master
...
Fix bug with ls globbing a single directory
2019-09-07 15:54:04 +12:00
Patrick Meredith
ea24571c22
Remove added newline
2019-09-06 23:24:29 -04:00
Patrick Meredith
1b2fdf7c1e
Fix bug with ls globbing a single directory
2019-09-06 23:20:13 -04:00
Jonathan Turner
35c0eb0059
Merge pull request #607 from tim77/tim77-packaging-status
...
Add Fedora installation info
2019-09-07 14:04:07 +12:00
Artem Polishchuk
19f97e6471
Add Fedora installation info
2019-09-06 23:05:35 +03:00
Jonathan Turner
42489c1aab
Merge pull request #606 from est31/master
...
Update rust-argon2 in Cargo.lock
2019-09-07 05:22:43 +12:00
est31
b14fd12e47
Update rust-argon2 in Cargo.lock
...
Rids us of crossbeam v0.5 and lots of other crates.
For most users this only effects Cargo.lock though,
as rust-argon2 is only compiled when targeting
redox.
2019-09-06 10:34:31 +02:00
Andrés N. Robalino
98d826d1d6
Merge pull request #598 from pmeredit/master
...
Add comments for sample.{bson,db}
2019-09-05 17:38:40 -05:00
Jonathan Turner
b84c77d23a
Merge pull request #603 from jonathandturner/oop_to_table
...
Move internal terminology to tables/rows
2019-09-06 05:22:24 +12:00
Jonathan Turner
dcd97b6346
Move internal terminology to tables/rows
2019-09-06 04:23:42 +12:00
Patrick Meredith
39fce1191f
Fix typo
2019-09-04 13:38:17 -04:00
Patrick Meredith
e8764911cb
Add comments for sample.{bson,db}
2019-09-04 13:36:12 -04:00
Jonathan Turner
ede45e21de
Merge pull request #597 from jonathandturner/spreadsheet_terms
...
Move us away from OOP terms to spreadsheet terms
2019-09-05 04:56:16 +12:00
Yehuda Katz
fd715e1775
Merge pull request #596 from Porges/improve-pipeline-parsing
...
Improve parsing of pipelines, require pipes between segments
2019-09-04 09:41:49 -07:00
Jonathan Turner
0a9897c5ca
Move us away from mixing OOP and spreadsheet to just spreadsheet
2019-09-05 04:29:49 +12:00
George Pollard
60212611e5
Allow leading space before head of pipeline
2019-09-05 04:13:07 +12:00
George Pollard
6034de641a
Improve parsing of pipelines, require pipes
...
At the moment the pipeline parser does not enforce
that there must be a pipe between each part of the pipeline,
which can lead to confusing behaviour or misleading errors.
2019-09-05 03:30:51 +12:00
Jonathan Turner
4591397fa3
Update README.md
2019-09-04 19:20:14 +12:00
Jonathan Turner
6dad1c9be8
Merge pull request #592 from jonathandturner/table_to
...
Covert to_* commands to work on whole table
2019-09-04 19:16:23 +12:00