Commit Graph

1010 Commits

Author SHA1 Message Date
Taiki Endo
58a32490c5 Remove usage of in_band_lifetimes feature 2019-08-30 01:32:31 +09:00
Jonathan Turner
f393938515
Merge pull request #531 from est31/no_specialization
Remove unused functions that use specialization
2019-08-30 04:02:20 +12:00
Jonathan Turner
e5d67d5481
Merge pull request #526 from est31/remove_crate_vis
Replace crate visibility identifier with pub(crate)
2019-08-30 03:53:09 +12:00
Jonathan Turner
b6db233c73 Start working on save 2019-08-30 03:39:16 +12:00
Yehuda Katz
0b2f3a4924
Merge pull request #529 from taiki-e/futures
Update futures-preview to 0.3.0-alpha.18
2019-08-29 08:27:18 -07:00
Yehuda Katz
31dd643642
Merge pull request #500 from vsoch/add/circleci
Adding two Dockerfiles to deploy to Docker Hub with CircleCI
2019-08-29 07:59:22 -07:00
est31
7df48110ab Remove unused functions that use specialization 2019-08-29 16:14:43 +02:00
Taiki Endo
ffdde542c7 Update futures-preview to 0.3.0-alpha.18 2019-08-29 22:42:49 +09:00
est31
c87fa14fc8 Replace crate visibility identifier with pub(crate)
Result of running:

find src -name *.rs -exec sed -i 's/crate /pub(crate) /g' {} \;
2019-08-29 13:09:09 +02:00
Andrés N. Robalino
6638fe4ab3
Merge pull request #524 from androbtech/tsv-support
[from/to]tsv support.
2019-08-29 04:26:51 -05:00
Andrés N. Robalino
f1e8c433c2 [from/to]tsv support. 2019-08-29 04:02:16 -05:00
Andrés N. Robalino
f050908084
Merge pull request #522 from androbtech/readability
Readability improvement.
2019-08-29 01:56:39 -05:00
Andrés N. Robalino
9810df25b4 Readability improvement. 2019-08-29 01:31:56 -05:00
Jonathan Turner
f730296e45 WIP supporting from/to automatically 2019-08-29 15:53:45 +12:00
Jonathan Turner
fcc41af899
Merge pull request #521 from jonathandturner/remove_bind_by_move
Remove bind_by_move_pattern_guards nightly feature
2019-08-29 15:33:55 +12:00
Jonathan Turner
a42cf7bf6e
Merge branch 'master' into remove_bind_by_move 2019-08-29 15:08:23 +12:00
Jonathan Turner
4576570275
Merge pull request #520 from est31/remove_try_trait
Remove try_trait feature use
2019-08-29 14:46:53 +12:00
Jonathan Turner
e0a13de943 Remove bind_by_move nightly feature 2019-08-29 14:44:08 +12:00
Andrés N. Robalino
b94b38b4f4
Merge pull request #513 from nushell/remove-unwraps
Remove unwraps and clean up playground
2019-08-28 21:42:52 -05:00
Andrés N. Robalino
4d2b0f43f5 Fix test. 2019-08-28 21:05:23 -05:00
Andrés N. Robalino
a07817e0e0 cover pipeline helper. 2019-08-28 20:30:51 -05:00
Andrés N. Robalino
b6ec98ce64 Merge branch 'remove-unwraps' of https://github.com/nushell/nushell into remove-unwraps 2019-08-28 20:13:39 -05:00
est31
012d8f3d6f Remove try_trait feature use 2019-08-29 03:12:10 +02:00
Andrés N. Robalino
b283b83fe2
Sidestep unused err. 2019-08-28 19:46:56 -05:00
Andrés N. Robalino
696c986db1 Sidestep unused err. 2019-08-28 19:45:34 -05:00
Andrés N. Robalino
846e487663
Merge branch 'master' into remove-unwraps 2019-08-28 19:34:43 -05:00
Andrés N. Robalino
55fb1f8dda Yo quiero Playground taconushell. 2019-08-28 19:32:42 -05:00
Jonathan Turner
3e72c3eca9
Merge pull request #519 from est31/more_unused_removals
More unused removals
2019-08-29 12:32:14 +12:00
est31
a7d4a8b065 Make neso dependency optional 2019-08-29 01:38:48 +02:00
est31
7ca95ba9dd Remove unused prettyprint dependency 2019-08-29 01:38:39 +02:00
Yehuda Katz
f82cc4291f Migrate commands_test 2019-08-28 10:58:00 -07:00
Yehuda Katz
abac7cf746 Migrate rm 2019-08-28 10:48:52 -07:00
Yehuda Katz
2c65b2fc2f Migrate mv 2019-08-28 10:28:58 -07:00
Yehuda Katz
21ad06b1e1 Remove unwraps and clean up playground
The original intent of this patch was to remove more unwraps to reduce
panics. I then lost a ton of time to the fact that the playground isn't
in a temp directory (because of permissions issues on Windows).

This commit improves the test facilities to:

- use a tempdir for the playground
- change the playground API so you instantiate it with a block that
  encloses the lifetime of the tempdir
- the block is called with a `dirs` argument that has `dirs.test()` and
  other important directories that we were computing by hand all the time
- the block is also called with a `playground` argument that you can use
  to construct files (it's the same `Playground` as before)
- change the nu! and nu_error! macros to produce output instead of
  taking a variable binding
- change the nu! and nu_error! macros to do the cwd() transformation
  internally
- change the nu! and nu_error! macros to take varargs at the end that
  get interpolated into the running command

I didn't manage to finish porting all of the tests, so a bunch of tests
are currently commented out. That will need to change before we land
this patch.
2019-08-28 10:01:16 -07:00
Jonathan Turner
94752a3004
Merge pull request #503 from twe4ked/remove-sort-by-reverse-flag
Remove sort-by --reverse flag
2019-08-28 16:25:51 +12:00
Odin Dutton
a1b30fda75 Remove sort-by --reverse flag
Prefer `ls | sort-by size | reverse` over `ls | sort-by size --reverse`.
2019-08-28 13:06:22 +10:00
Jonathan Turner
8e95508353
Merge pull request #499 from nushell/remove-parser-unwraps
Remove unwraps from the parser
2019-08-28 10:29:03 +12:00
Vanessa Sochat
2bae2b57ee
adding two Dockerfiles, one for base image and the other for multistage build, and circleci config to test
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-27 17:58:45 -04:00
Yehuda Katz
dfe452bbc4 Remove unwraps from the parser
I intend to add regression tests for these cases to the parser as a
follow-up PR.

Fixes #490
Fixes #494
2019-08-27 14:20:18 -07:00
Yehuda Katz
34c042c4fc
Merge pull request #429 from vsoch/add/Dockerfile
Adding Dockerfile for easier usage
2019-08-27 10:54:49 -07:00
Jonathan Turner
3827ded43f
Merge pull request #492 from jonathandturner/fix_sys
Fix the sys command
2019-08-28 04:49:27 +12:00
Jonathan Turner
6d30acf542
Merge pull request #455 from oskarskog/split-with-empty-cols
Preserve empty columns if separator isn't whitespace
2019-08-28 04:35:15 +12:00
Jonathan Turner
4ebab3474b Fix the sys command 2019-08-28 04:26:14 +12:00
Oskar Skog
9aab884db0 Merge branch 'master' into split-with-empty-cols 2019-08-27 14:47:48 +03:00
Andrés N. Robalino
f59b78a764
Merge pull request #486 from androbtech/fromto-checks
[from|to]json additions/refactoring.
2019-08-27 06:43:27 -05:00
Oskar Skog
14f6b49483 Add flag for collapsing empty columns 2019-08-27 14:30:09 +03:00
Andrés N. Robalino
162c8b4274 swept clean quotes 2019-08-27 06:20:22 -05:00
Andrés N. Robalino
b502954558 [from|to]json additions/refactoring. 2019-08-27 06:05:51 -05:00
Jonathan Turner
247a4417ff
Merge pull request #483 from jonathandturner/fix_width_calculation
Fix the utf-8 width calculation
2019-08-27 18:32:48 +12:00
Jonathan Turner
1cdfe358c2 Fix the utf-8 width calculation 2019-08-27 18:06:30 +12:00