Commit Graph

753 Commits

Author SHA1 Message Date
Jonathan Turner
e3e4e30fb3 Lots of fixes ahead of release 2019-08-21 18:39:57 +12:00
Jonathan Turner
df68e7cd1c
Merge pull request #320 from androbtech/additions
More `rm` use cases covered. Cleanup, and more error surveying.
2019-08-21 16:14:04 +12:00
Andrés N. Robalino
8c1d4ed91a sidestep 'enter' integration test failure for files. 2019-08-20 08:01:02 -05:00
Andrés N. Robalino
0f28719564 mv -> More organized method definitions. 2019-08-20 07:35:41 -05:00
Andrés N. Robalino
11095860c8 rm fully operational and error surveyd. 2019-08-20 06:22:11 -05:00
Andrés N. Robalino
308323426d Covered enter's ability to enter files other than filesystems. 2019-08-20 03:11:33 -05:00
Jonathan Turner
55f5893b59
Merge pull request #319 from jonathandturner/implement-whole-stream-command-for-all-commands
Implement whole stream command for all commands
2019-08-20 18:40:19 +12:00
Jonathan Turner
64c129d65f Finish updating the last cases 2019-08-20 18:11:11 +12:00
Jonathan Turner
fbc4749ef7
Merge pull request #318 from twe4ked/fail-build-on-warning
Fail the build on warnings
2019-08-20 17:49:56 +12:00
Odin Dutton
eec042d7e7 Fail the build on warnings 2019-08-20 15:02:55 +10:00
Jonathan Turner
421aacee76 Merge branch 'master' into implement-whole-stream-command-for-all-commands 2019-08-20 16:13:49 +12:00
Jonathan Turner
db125b4318
Merge pull request #317 from jonathandturner/fix_Add
Fix adding at shallow depth
2019-08-20 16:09:12 +12:00
Jonathan Turner
136b5693cd Fix adding at shallow depth 2019-08-20 15:36:52 +12:00
Odin Dutton
31790a9906 Use args structs to better extract multiple arguments 2019-08-20 13:15:05 +10:00
Odin Dutton
9951691023 Use NthArgs to better convert to an integer
Using i64 as u64 deserialize isn't implemented yet.
2019-08-20 13:12:31 +10:00
Odin Dutton
82a315f06a Make cd argument optional
`cd` with no arugments changes directory to $HOME.
2019-08-20 13:11:29 +10:00
Odin Dutton
56c04ff5b6 Remove unneeded TODOs
These commands have been confirmed to have no arguments.
2019-08-20 13:11:01 +10:00
Jonathan Turner
154a45bbd6
Merge pull request #313 from jonathandturner/fix_shell_ring
Fix shell-ring to rotate as expected
2019-08-20 05:04:44 +12:00
Jonathan Turner
e5b410aded
Merge pull request #315 from twe4ked/fix-warnings
Fix warnings
2019-08-20 04:43:50 +12:00
Jonathan Turner
51ec48f357 Update enter test 2019-08-20 04:40:47 +12:00
Odin Dutton
b5b8e4c8b0 Fix warnings 2019-08-19 19:59:41 +10:00
Jonathan Turner
953d28ef74 Fix push/pop for shell manager 2019-08-19 20:07:55 +12:00
Jonathan Turner
fef447a659 Fix shell-ring to rotate as expected 2019-08-19 19:29:27 +12:00
Odin Dutton
d71206ed9e Implement WholeStreamCommand for all remaining commands 2019-08-19 15:16:39 +10:00
Jonathan Turner
095f4645c0
Merge pull request #307 from androbtech/qwrapport
Refactoring and unwrap cleanup beginnings.
2019-08-19 14:06:43 +12:00
Jonathan Turner
7b2b671b1e
Merge pull request #309 from twe4ked/version-command
Introduce version command
2019-08-19 14:06:04 +12:00
Odin Dutton
4de6c941e1 Introduce version command 2019-08-19 11:30:29 +10:00
Andrés N. Robalino
5dd20850b5 Refactoring and unwrap cleanup beginnings. 2019-08-18 20:28:55 -05:00
Jonathan Turner
e727f61d1d
Merge pull request #308 from twe4ked/date-signature-typo
Fix typo in date command signature
2019-08-19 13:11:03 +12:00
Odin Dutton
b5db24f9ad Fix typo in date command signature 2019-08-19 10:55:28 +10:00
Jonathan Turner
81d83d7655
Update README.md 2019-08-18 15:27:03 +12:00
Jonathan Turner
ebf7250383
Merge pull request #299 from nushell/improve-question-mark
Reduce unwraps
2019-08-17 16:08:59 +12:00
Yehuda Katz
5bfb96447a Reduce unwraps
Remove a number of unwraps. In some cases, a `?` just worked as is. I also made it possible to use `?` to go from Result<OutputStream, ShellError> to OutputStream. Finally, started updating PerItemCommand to be able to use the signature deserialization logic, which substantially reduces unwraps.

This is still in-progress work, but tests pass and it should be clear to merge and keep iterating on master.
2019-08-16 20:53:39 -07:00
Jonathan Turner
37000c7c31
Merge pull request #297 from jonathandturner/table_constraint_solve
Switch to constraint solving the table
2019-08-17 08:21:29 +12:00
Jonathan Turner
ec7d159c83 Switch to constraint solving the table 2019-08-17 08:03:29 +12:00
Jonathan Turner
0db77c911d
Merge pull request #296 from jonathandturner/polish_on_wrap
Add more polish to table wrap
2019-08-17 04:51:28 +12:00
Jonathan Turner
8a66a000e4 Add more polish to table wrap 2019-08-17 04:32:35 +12:00
Jonathan Turner
7dbaf150d2
Merge pull request #295 from jonathandturner/table_cell_wrap
Wrap table cells as needed
2019-08-16 18:17:08 +12:00
Jonathan Turner
ffd60bb3af Remove stray println 2019-08-16 17:56:23 +12:00
Jonathan Turner
eb6e24c220 Wrap table cells as needed 2019-08-16 17:47:47 +12:00
Jonathan Turner
3b0c9ebf28
Merge pull request #292 from nushell/external-escape-valve
Add support for external escape valve (`^dir`)
2019-08-16 12:42:10 +12:00
Yehuda Katz
0dc4b2b686 Add support for external escape valve (^dir)
This commit makes it possible to force nu to treat a command as an external command by prefixing it with `^`. For example `^dir` will force `dir` to run an external command, even if `dir` is also a registered nu command.

This ensures that users don't need to leave nu just because we happened to use a command they need.

This commit adds a new token type for external commands, which, among other things, makes it pretty straight forward to syntax highlight external commands uniquely, and generally to treat them as special.
2019-08-15 15:18:18 -07:00
Jonathan Turner
bb580a46d6
Merge pull request #289 from nushell/revert-283-heuristic_table
Revert "Heuristic table view"
2019-08-16 05:05:32 +12:00
Jonathan Turner
785536983a
Revert "Heuristic table view" 2019-08-16 04:49:07 +12:00
Jonathan Turner
0d09f6ab7f
Merge pull request #288 from androbtech/shellring-coverage
shellring traversal and filesystem environment retention per session.
2019-08-15 19:27:43 +12:00
Andrés N. Robalino
024f0915a3 Shellring traversal and filesystem environment retention per session confirmed. 2019-08-15 02:10:33 -05:00
Jonathan Turner
7bb62af46f
Merge pull request #287 from jonathandturner/more_per_item
Add more support for per-item
2019-08-15 18:53:20 +12:00
Jonathan Turner
efd9631a90 All tests pass 2019-08-15 17:46:19 +12:00
Jonathan Turner
dd18122a24 WIP 2019-08-15 17:02:02 +12:00
Jonathan Turner
d11d840f0f
Merge pull request #286 from androbtech/mv-and-bitsmoar
Moving file/dir in place and some refactored a little.
2019-08-15 13:37:10 +12:00