Stefan Holderbach
e5d38dcff6
Address lints from clippy for beta/nightly ( #5709 )
...
* Fix clippy lints in tests
* Replace `format!` in `.push_str()` with `write!`
Stylistically that might be a bit rough but elides an allocation.
Fallibility of allocation is more explicit, but ignored with `let _ =`
like in the clippy example:
https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
* Remove unused lifetime
* Fix macro crate relative import
* Derive `Eq` for `PartialEq` with `Eq` members
https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
* Remove unnnecessary `.to_string()` for Cow<str>
* Remove `.to_string()` for `tendril::Tendril`
Implements `Deref<Target = str>`
2022-06-04 18:47:36 +12:00
Stefan Holderbach
a82fa75c31
Update nu-ansi-term to remove Deref
impl ( #5706 )
...
Resolves an unexpected issue due to `Deref` and `ToString` interacting
Details: https://github.com/nushell/nu-ansi-term/pull/5 and https://github.com/nushell/reedline/pull/435#issuecomment-1141348209
Also updates reedline: Includes a fix for a panic when the directory containing the history is deleted during a running reedline session. (nushell/reedline#436 )
2022-06-03 21:38:54 +02:00
JT
8e98df8b28
bump to dev version ( #5635 )
2022-05-25 19:09:44 -05:00
JT
06cf3fa5ad
Bump to 0.63 ( #5627 )
2022-05-25 11:33:28 +12:00
JT
374757f286
Bump to the 0.62.1 dev version ( #5473 )
2022-05-08 08:38:12 +12:00
JT
d306b834ca
Bump to 0.62 ( #5422 )
2022-05-04 09:01:27 +12:00
Herlon Aguiar
5ff2ae628b
nu-cli: directory syntax shape + completions ( #5299 )
2022-04-22 15:18:51 -05:00
JT
5bf1c98a39
Move to dev version 0.61.1 ( #5206 )
2022-04-16 09:29:30 +12:00
Darren Schroeder
10792a29f7
allow default color shortcut names ( #5177 )
...
* allow default color shortcut names
* clippy
2022-04-13 07:02:15 -05:00
JT
4566c904d0
Bump 0.61 ( #5166 )
2022-04-13 05:42:26 +12:00
Reilly Wood
57761149f4
Update incorrect crate descriptions ( #5159 )
2022-04-12 06:17:06 +12:00
Michel Alexandre Salim
6ed033737d
Include license text in all crates ( #5094 )
...
* Include license text in all crates
Three crates already have license texts, so I'm keeping them, but
symlinking the `LICENSE` from the top level to the rest of the crate
directories. This works as long as `cargo publish` is done on a Unix-y
system and not Windows.
Also bump the copyright year to end in 2022.
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
* Replace symlinks
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-04-08 10:47:13 +02:00
Fernando Herrera
a4410fef40
Help menu ( #4992 )
...
* nu-completer with suggestions
* help menu with scrolling
* updates description rows based on space
* configuration for help menu
* update nu-ansi-term
* corrected test for update cells
* changed keybinding
2022-03-27 14:01:04 +01:00
Darren Schroeder
ee5064abed
Nu ansi term update ( #4988 )
...
* WIP: Testing 0.45.1 nu-ansi-term with the new Default colors
* point reedline to git in cargo.toml
2022-03-27 16:57:31 +13:00
JT
82e3bb0f38
Bump nushell to 0.60.1 ( #4987 )
2022-03-27 16:18:47 +13:00
JT
ec5fd62f9f
Add licenses ( #4893 )
...
* Add licenses
* Add licenses
2022-03-23 09:25:38 +13:00
JT
1c964cdfe7
Bump to 0.60 ( #4892 )
...
* WIP
* semi-revert metadata change
2022-03-23 07:32:03 +13:00
Darren Schroeder
6700fbeed7
rename update
to upsert
to mirror what it really does ( #4859 )
...
* rename `update` to `upsert` to mirror what it really does
* change to latest reedline and nu-ansi-term
2022-03-16 19:13:34 -05:00
JT
4965f4cbf4
Bump to 0.59.1 ( #4689 )
2022-03-01 16:55:51 -05:00
JT
a6a96b29cb
Add binary literals ( #4680 )
2022-02-28 18:31:53 -05:00
JT
4b18fdcc6e
Date literals ( #4619 )
...
* Date literals
* update deps
* Add date+duration
2022-02-23 21:02:48 -05:00
Darren Schroeder
88fa40d698
rename flatshape_*
to shape_*
( #4589 )
2022-02-21 12:27:21 -06:00
Darren Schroeder
9b2a022f5b
tweak default config to amplify theme-ability ( #4572 )
...
* tweak default config to amplify theme-ability
* missed default of auto
2022-02-20 16:05:36 -06:00
JT
a16e485cce
Add support for defining known externals with their own custom completions ( #4425 )
...
* WIP for known externals
* Now completions can work from scripts
* Add support for definiing externs
* finish cleaning up old proof-of-concept
2022-02-11 13:38:10 -05:00
JT
d70d91e559
Remove old nushell/merge engine-q
2022-02-07 14:54:06 -05:00
Michael Angerman
d4b6b4b09a
update all cargo crates to edition 2021 ( #781 )
2022-01-21 00:13:45 +11:00
Fernando Herrera
89d99db94f
menu options ( #748 )
2022-01-15 17:01:44 +00:00
JT
fe5f65a247
Highlight block and record ( #653 )
2022-01-03 16:21:26 +11:00
JT
9535e2c309
Fix list and table print ( #652 )
...
* Fix list printing
* Fix list and table highlighting
2022-01-03 14:18:23 +11:00
JT
850f66aa9d
Fix build breakage - bump ansi term ( #651 )
...
* Fix build breakage - bump ansi term
* Remove e-q ansi term
2022-01-03 09:36:32 +11:00
Darren Schroeder
1837acfc70
add ability to specify an ansi style ( #595 )
...
* add ability to specify an ansi style
* remove comments
* remove more debug code
* some cleanup and refactoring
2021-12-27 08:59:55 -06:00
JT
ca6baf7a46
Add single tick string interpolation ( #581 )
...
* Add single tick string interpolation
* give string interpolation its own highlighting
2021-12-26 07:50:02 +11:00
Darren Schroeder
29c8b826d4
add configuration point for hint coloring ( #564 )
2021-12-23 15:02:57 -06:00
Fernando Herrera
e949658381
nothing variable ( #527 )
...
* nothing variable
* corrected comments
* added color to nothing like bool
* compare nothing with values
* comparison tests
2021-12-20 12:05:33 +11:00
Darren Schroeder
9a864b5017
allow flatshape (command line syntax) theming ( #502 )
...
* allow flatshape (command line syntax) theming
* renamed crate, organized
2021-12-16 06:17:29 -06:00