Commit Graph

1939 Commits

Author SHA1 Message Date
Jonathan Turner
6a6589a357 Update where.md 2019-12-02 11:02:59 -08:00
Sebastian Jung
b94a32e523 add documentation for from-json, from-yaml, history, split-row 2019-12-02 11:02:59 -08:00
Sebastian Jung
7db3c69984 update histogram, nth documentation 2019-12-02 11:02:59 -08:00
Sebastian Jung
5406450c42 Add documentation for histogram, split-column 2019-12-02 11:02:59 -08:00
est31
d6a6e16d21 Switch to the new Cargo.lock format
This was achieved by deleting Cargo.lock
and letting a recent Cargo nightly re-create
it. Support for the format was already
introduced in Rust 1.38, but currently,
stable releases of Cargo only retain it
if encountered but don't generate such
files by default.

The new format is smaller, better suited to
prevent merge conflicts and generates smaller
diffs at dependency updates, leading to
smaller git history.

You can read more about it in this PR: https://github.com/rust-lang/cargo/pull/7070
2019-12-02 11:02:59 -08:00
Jonathan Turner
ea1b65916d Update Cargo.toml 2019-12-02 11:02:59 -08:00
Jonathan Turner
cd9d9ad50b improve duration print 2019-12-02 11:02:58 -08:00
Andrés N. Robalino
552272b37e replace and find-replace str plugin additions. 2019-12-02 11:02:58 -08:00
Jonathan Turner
388ce738e3 expand tilde in externals 2019-12-02 11:02:58 -08:00
Jonathan Turner
ef7fbcbe9f Update README.md 2019-12-02 11:02:58 -08:00
Jonathan Turner
80941ace37 Add 0.6.1 release 2019-12-02 11:02:58 -08:00
Jonathan Turner
f317500873 Update from-yaml.md 2019-12-02 11:02:58 -08:00
Jonathan Turner
911414a190 Update config.md 2019-12-02 11:02:58 -08:00
Sebastian Jung
cca6360bcc add documentation for from-tsv, from-xml 2019-12-02 11:02:58 -08:00
Sebastian Jung
f68503fa21 add documentation for get, ps 2019-12-02 11:02:58 -08:00
Jonathan Turner
911b69dff0 Update some command docs 2019-12-02 11:02:58 -08:00
Yehuda Katz
4115634bfc Try to re-apply #1039 2019-12-02 11:02:58 -08:00
Jonathan Turner
8a0bdde17a Remove env var from starship 2019-12-02 11:02:58 -08:00
Yehuda Katz
a1e21828d6 Fix tests 2019-12-02 11:02:57 -08:00
Jonathan Turner
0f193c2337 Update histogram.rs 2019-12-02 11:02:57 -08:00
Yehuda Katz
526d94d862 improve duration print
original commit: ddb9d3a864
2019-12-02 11:02:57 -08:00
Andrés N. Robalino
2fdafa52b1 replace and find-replace str plugin additions. 2019-12-02 11:02:57 -08:00
Yehuda Katz
f52c0655c7 expand tilde in externals
original: 9f42d7693f
2019-12-02 11:02:57 -08:00
Jonathan Turner
97331c7b25 Update README 2019-12-02 11:02:57 -08:00
Jonathan Turner
1fb5a419a7 Bump the release version 2019-12-02 11:02:57 -08:00
Jason Gedge
4e9afd6698 Refactor classified.rs into separate modules.
Adds modules for internal, external, and dynamic commands, as well as
the pipeline functionality. These are exported as their old names from
the classified module so as to keep its "interface" the same.
2019-12-02 11:02:57 -08:00
Belhorma Bendebiche
8f9dd6516e Add =~ and !~ operators on strings
`left =~ right` return true if left contains right, using Rust's
`String::contains`. `!~` is the negated version.

A new `apply_operator` function is added which decouples evaluation from
`Value::compare`. This returns a `Value` and opens the door to
implementing `+` for example, though it wouldn't be useful immediately.

The `operator!` macro had to be changed slightly as it would choke on
`~` in arguments.
2019-12-02 11:02:57 -08:00
Yehuda Katz
e4226def16 Extract core stuff into own crates
This commit extracts five new crates:

- nu-source, which contains the core source-code handling logic in Nu,
  including Text, Span, and also the pretty.rs-based debug logic
- nu-parser, which is the parser and expander logic
- nu-protocol, which is the bulk of the types and basic conveniences
  used by plugins
- nu-errors, which contains ShellError, ParseError and error handling
  conveniences
- nu-textview, which is the textview plugin extracted into a crate

One of the major consequences of this refactor is that it's no longer
possible to `impl X for Spanned<Y>` outside of the `nu-source` crate, so
a lot of types became more concrete (Value became a concrete type
instead of Spanned<Value>, for example).

This also turned a number of inherent methods in the main nu crate into
plain functions (impl Value {} became a bunch of functions in the
`value` namespace in `crate::data::value`).
2019-12-02 10:54:12 -08:00
Jonathan Turner
c199a84dbb
Merge pull request #1039 from thegedge/move-pipeline-execution-out-of-cli
Move pipeline execution code into classified::Pipeline
2019-12-01 19:47:34 -08:00
Jonathan Turner
5a4ca11362
Merge pull request #1043 from JesterOrNot/master
install all features for nushell for gitpod
2019-12-01 18:32:15 -08:00
Sean Hellum
f2968c8385
Update .gitpod.yml 2019-12-01 17:16:53 -06:00
Jonathan Turner
8d01b019f4
Merge pull request #1041 from tchak/docs-compact-default
document compact and default
2019-12-01 09:01:50 -08:00
Paul Chavard
bf87330d6e add documentation for compact command 2019-12-01 17:44:43 +01:00
Paul Chavard
2bb85bdbd4 add documentation for default command 2019-12-01 17:39:09 +01:00
Jonathan Turner
8f34c6eeda
Merge pull request #1032 from sebastian-xyz/doc
add documentation for save, config, get, ps, from-tsv, from-xml
2019-11-30 18:15:39 -08:00
Jason Gedge
ac5543bad9 Move pipeline execution code into classified::Pipeline 2019-11-30 16:12:34 -05:00
Sebastian Jung
e4c56a25c6 Merge remote-tracking branch 'refs/remotes/origin/doc' into doc 2019-11-30 21:21:15 +01:00
Sebastian Jung
11ff8190b1 add documentation for format 2019-11-30 21:15:12 +01:00
Sebastian Jung
9bd25d7427 fix error in save.md 2019-11-30 21:07:43 +01:00
Jonathan Turner
5676713b1f
Update README.md 2019-12-01 07:12:14 +13:00
Jonathan Turner
b59231d32b
Merge pull request #1035 from jonathandturner/bump_to_0_6_1
Add 0.6.1 release
2019-11-30 10:11:31 -08:00
Jonathan Turner
e530cf0a9d Add 0.6.1 release 2019-12-01 07:10:51 +13:00
Jonathan Turner
6bfb4207c4
Update from-yaml.md 2019-12-01 07:00:36 +13:00
Jonathan Turner
c63ad610f5
Update config.md 2019-12-01 06:59:53 +13:00
Sebastian Jung
e38a4323b4 add documentation for from-tsv, from-xml 2019-11-30 13:38:52 +01:00
Sebastian Jung
d40aea5d0a add documentation for get, ps 2019-11-30 12:48:23 +01:00
Jonathan Turner
1ba69e4b11
Merge pull request #1030 from jonathandturner/more_doc_updates
Update some command docs
2019-11-29 17:53:02 -08:00
Jonathan Turner
f10390b1be Update some command docs 2019-11-30 14:24:39 +13:00
Jonathan Turner
c2b1908644
Merge pull request #1029 from jonathandturner/fix_starship_env_var
Remove env var from starship
2019-11-29 12:00:10 -08:00
Jonathan Turner
0a93335f6d Remove env var from starship 2019-11-30 08:38:44 +13:00