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
Michael Angerman
2252833917
bump cargo crate sys-locale to the latest version ( #4957 )
2022-03-25 10:00:35 -07:00
JT
1c964cdfe7
Bump to 0.60 ( #4892 )
...
* WIP
* semi-revert metadata change
2022-03-23 07:32:03 +13:00
Fernando Herrera
d6669d3f33
Polars update ( #4875 )
...
* update to polars 0.20
* add to date parser for series
2022-03-19 11:13:34 +00: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
Darren Schroeder
ca12f39db3
added nu-utils
crate, fixed issue where externals turn off vt processing ( #4857 )
...
* added `nu-utils` crate, fixed issue where externals turn off vt processing
* hopefully make work in non-windows environments
* clippy
2022-03-16 17:21:06 -05:00
Charles Dixon
1a16b9a2c4
Move repl loop and command/script execution to nu_cli ( #4846 )
...
* Refactor usage of is_perf_true to be a parameter passed around
* Move repl loop and command/script execution to nu_cli
* Move config setup out of nu_cli
* Update config_files.rs
* Update main.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-17 07:17:06 +13:00
JT
ff3dffd813
Nu glob ( #4818 )
...
* Fork glob. Normalise license holder
* Fix more licenses
* unwraps
* bad doc test
2022-03-13 11:30:27 -07:00
Fernando Herrera
5fcc670860
allow list to keybinding mode ( #4821 )
...
* allow list to keybinding mode
* added comments to default.nu
2022-03-12 11:51:08 +00:00
Fernando Herrera
7debb27d78
corrected history menu ( #4814 )
2022-03-10 20:58:11 +00:00
Justin Ma
ce690ed18f
Bump sysinfo version from v0.22.2 to v0.23.5, close #3909 ( #4810 )
2022-03-10 11:38:32 -05:00
JT
ffa3aaaa56
bump reedline ( #4806 )
2022-03-10 08:22:49 -05:00
Darren Schroeder
4ddf24269a
changed cargo.toml so plugins don't build with features=extra ( #4788 )
...
* changed cargo.toml so plugins don't build with features=extra
* remove comments
2022-03-08 20:05:58 -06:00
Fernando Herrera
cede9b3156
reedline bump ( #4779 )
2022-03-08 09:20:28 +00:00
Fernando Herrera
a3df2e5631
reedline bump ( #4766 )
...
* reedline bump
* reedline bump
2022-03-07 17:51:14 +00:00
Fernando Herrera
7701c6b1d4
added real index column to history ( #4756 )
2022-03-06 17:22:18 +00:00
JT
69fd777120
Bump reedline ( #4747 )
2022-03-05 19:55:37 -05:00
Genna Wingert
fa7d66347f
Add basic resource file for Windows binary ( #4745 )
2022-03-05 15:56:23 -06:00
Fernando Herrera
488f81d012
history bang ( #4735 )
...
* history bang
* change of char
2022-03-05 09:38:35 +00:00
Fernando Herrera
02dfb57ed1
partial completions bug ( #4728 )
2022-03-04 17:53:00 +00:00
Fernando Herrera
2fd42d25b1
partial completions ( #4704 )
2022-03-03 11:13:44 +02:00
JT
4965f4cbf4
Bump to 0.59.1 ( #4689 )
2022-03-01 16:55:51 -05:00
JT
2a89936bee
Move to latest stable crossterm, with fix ( #4684 )
2022-03-01 07:05:46 -05:00
Fernando Herrera
4ebbe07d27
Polars upgrade ( #4665 )
...
* polars upgrade
* Update describe.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-02-27 11:10:29 -05:00
Stefan Holderbach
799fa98411
Update reedline, revert crossterm ( #4657 )
...
At the moment `crossterm` apparently has a regression decoding certain important key combinations on Windows.
Thus reedline reverted to the previous version.
Some changes are necessary to remove the need for `crossterm` in the use of `lscolors`.
Introduces two local conversion traits.
Additionally update the `Highlighter` API to support the cursor
position.
This will enable brace/statement match highlighting.
2022-02-26 11:23:05 -06:00
JT
4b18fdcc6e
Date literals ( #4619 )
...
* Date literals
* update deps
* Add date+duration
2022-02-23 21:02:48 -05:00
JT
25712760ba
Add support for math-like externals ( #4606 )
2022-02-22 10:55:28 -05:00
Fernando Herrera
c2bad71123
remove repeated function ( #4600 )
...
* remove repeated function
* name in signature
2022-02-22 08:13:38 -05:00
JT
a96f8b891e
more strict nuon handling, better nuon errors ( #4576 )
...
* more strict nuon handling, better nuon errors
* Improve errors a bit more
2022-02-20 22:31:50 -05:00
Fernando Herrera
965cea3af5
flag to pass config file in nu ( #4552 )
...
* flag to pass config file in nu
* return when no folder is created
* simple syntax for function
2022-02-19 14:54:43 -06:00
Fernando Herrera
0f4f660759
better keybinding parsing ( #4543 )
2022-02-18 19:00:23 -06:00
Darren Schroeder
968ef1e953
add parameter to set thread count for parallel commands ( #4424 )
2022-02-11 12:46:36 -06:00
Darren Schroeder
f275644e13
add --perf
cli param ( #4391 )
...
* add `--perf` cli param
* clippy
* fixed 2 `cp` tests on windows
2022-02-09 16:08:16 -06:00
JT
5d18e07b7d
Bump reedline ( #4388 )
2022-02-09 11:04:31 -05:00
JT
43850bf20e
Re-port filesystem commands ( #4387 )
...
* Re-port the filesystem commands
* Remove commented out section
2022-02-09 09:56:27 -05:00
JT
5fabfda57b
merge main
2022-02-08 08:28:21 -05:00
JT
a660720b68
Bump to 0.44 ( #4365 )
2022-02-07 20:15:46 -05:00
JT
d70d91e559
Remove old nushell/merge engine-q
2022-02-07 14:54:06 -05:00
Fernando Herrera
fdce6c49ab
engine-q merge
2022-02-07 19:11:34 +00:00
JT
3ab55f7de9
bump reedline ( #970 )
2022-02-07 07:40:17 -05:00
Fernando Herrera
796b7a1962
Reedline bump ( #962 )
...
* reedline bump
* reedline bump
* reedline bump
2022-02-06 18:18:32 +00:00
Stefan Holderbach
80306f9ba6
Update reedline to race-condition-free history ( #955 )
2022-02-05 18:16:21 -06:00
Fernando Herrera
abaeffab91
default keybindings command ( #943 )
2022-02-04 17:20:40 -06:00
JT
522a53af68
Add support for quick completions ( #927 )
2022-02-04 10:30:21 -05:00
Fernando Herrera
1e86af2fb9
list keybinding options ( #906 )
...
* list keybinding optins
* list keybinding options
* clippy error
2022-02-04 06:47:18 +00:00
Stefan Holderbach
ac0b331f00
Update reedline to paste multiple command lines ( #920 )
...
* Update reedline to paste multiple command lines
* Remove comments for non-user events
2022-02-03 16:56:39 -06:00
Darren Schroeder
2f0bbf5adb
du
command (#916 )
...
* wip on `du` command
* working
2022-02-03 11:35:06 -06:00
Stefan Holderbach
b9c2bf226f
Obligatory reedline bump ( #914 )
...
- Keybinding related improvements
- internals
- Vi insert should know more keybindings
2022-02-02 20:24:24 -05:00
JT
cc1b784e3d
Add initial nu-test-support port ( #913 )
...
* Add initial nu-test-support port
* finish changing binary name
* Oops, these aren't Windows-safe tests
2022-02-02 15:59:01 -05:00
Darren Schroeder
cbdc0e2010
Windows ps update ( #909 )
...
* query command with json, web, xml
* query xml now working
* clippy
* comment out web tests
* Initial work on query web
For now we can query everything except tables
* Support for querying tables
Now we can query multiple tables just like before, now the only thing
missing is the test coverage
* Revert "Query plugin"
* augment `ps -l` on windows to display more info
Co-authored-by: Luccas Mateus de Medeiros Gomes <luccasmmg@gmail.com>
2022-02-01 15:05:26 -06:00
Darren Schroeder
004d7b5ff0
query command with json, web, xml ( #870 )
...
* query command with json, web, xml
* query xml now working
* clippy
* comment out web tests
* Initial work on query web
For now we can query everything except tables
* Support for querying tables
Now we can query multiple tables just like before, now the only thing
missing is the test coverage
* finish off
* comment out web test
Co-authored-by: Luccas Mateus de Medeiros Gomes <luccasmmg@gmail.com>
2022-02-01 12:45:48 -06:00
Fernando Herrera
ebaa584c5e
Reedline bump ( #905 )
...
* reedline bump
* reedline bump
2022-01-31 19:17:23 -05:00
Fernando Herrera
76a4455255
reedline bump ( #896 )
2022-01-30 22:15:34 +00:00
Stefan Holderbach
c37f844644
Bump reedline ( #873 )
...
Should remove the need for manual `str find-replace -a (char newline) (char crlf)` in `PROMPT_COMMAND`
Fixes #575
2022-01-28 16:26:19 -05:00
Stefan Holderbach
bfb9822475
Accomodate reedline#270 ( #863 )
...
Rename `ContextMenu` to `CompletionMenu`
Supply the completer directly to the line editor
2022-01-28 05:44:35 +11:00
Fernando Herrera
267ff4b0cf
using menu trait ( #861 )
2022-01-27 07:53:23 +00:00
Fernando Herrera
69954a362d
history-menu ( #846 )
2022-01-25 09:39:22 +00:00
JT
62e9698b11
Allow external args to expand globs ( #839 )
...
* Allow external args to expand globs
* WIP
* A bit of cleanups and refactor to glob_from
* oops, add file
2022-01-25 05:26:56 +11:00
Darren Schroeder
be0d221d56
ansi cut 2.0 ( #827 )
2022-01-23 13:35:25 +11:00
Stefan Holderbach
0651e2b31f
Upgrade reedline for partial hint completion ( #802 )
2022-01-22 06:21:22 +11:00
Fernando Herrera
846a048bba
menu-performance ( #793 )
2022-01-21 08:59:29 +00:00
JT
69b2ed5566
bump reedline ( #788 )
2022-01-20 18:58:48 -05:00
JT
724cfaa890
Bump reedline ( #785 )
2022-01-20 13:57:47 -05:00
JT
33ffb2c39a
Add which
command, add external completions, and builtin var completions ( #782 )
...
* Add which and external completions
* WIP
* Finish up external and var completions
* fix windows
2022-01-21 05:02:53 +11:00
Fernando Herrera
ff9d88887b
simple event keybinding ( #773 )
2022-01-18 19:32:45 +00:00
JT
49e8af8ea5
Bump to 0.43 ( #4264 )
2022-01-18 12:06:12 -05:00
Guillaume Gomez
e6c09f2dfc
Update sysinfo version ( #4261 )
2022-01-18 22:37:52 +11:00
Fernando Herrera
20eb348896
simple keybinding parsing ( #768 )
2022-01-18 08:48:28 +00:00
Darren Schroeder
ac36f32647
remove dialoguer completions in favor of reedline's ( #766 )
2022-01-17 09:51:44 -06:00
JT
9b128b7a03
Add rest to get, bump reedline ( #760 )
2022-01-17 02:40:11 +11:00
Jakub Žádník
3b4baa31b6
Fix ls relative path & command argument path expansion ( #757 )
...
* Switch to short-names when the path is a relative_path (a dir) and exit with an error if the path does not exist
* Remove debugging print line
* Show relative filenames... It does not work yet for ls ../
* Try something else to fix relative paths... it works, but the ../ code part is not very pretty
* Add canonicalize check and remove code clones
* Fix the canonicalize_with issue pointed out by kubouch. Not sure the prefix_str is what kubouch suggested
* Fix the canonicalize_with issue pointed out by kubouch. Not sure the prefix_str is what kubouch suggested
* Add single-dot expansion to nu-path
* Move value path expansion from parser to eval
Fixes #745
* Remove single dot expansion from parser
It is not necessary since it will get expanded anyway in the eval.
* Fix ls to display globs with relative paths
* Use pathdiff crate to get relative paths for ls
Co-authored-by: Stefan Stanciulescu <contact@stefanstanciulescu.com>
2022-01-17 00:55:56 +11:00
JT
8f4ee14d85
Hide Windows ps status, bump reedline ( #749 )
2022-01-16 06:44:24 +11:00
Fernando Herrera
89d99db94f
menu options ( #748 )
2022-01-15 17:01:44 +00:00
Darren Schroeder
a7241f9899
add seq_date
command ( #743 )
...
* add `seq_date` command
* fixed a reedline type-o
* copy-n-paste error
2022-01-14 16:07:28 -06:00
JT
ca215c1152
Add nu-system and rewrite ps command ( #734 )
...
* Add nu-system and rewrite ps command
* Add more deps
* Add more deps
* clippy
* clippy
* clippy
* clippy
* clippy
* clippy
2022-01-14 17:20:53 +11:00
JT
2b6ce4dfe5
Bump reedline again ( #732 )
2022-01-14 07:03:29 +11:00
Fernando Herrera
58c5ea4937
menu with tab ( #724 )
2022-01-12 10:57:37 +00:00
Fernando Herrera
47495715a6
context menu with nucompleter ( #722 )
2022-01-11 21:53:42 +00:00
Fernando Herrera
74fd78e02c
reedline bump ( #717 )
2022-01-11 07:21:28 +00:00
JT
7970e71bd4
bump reedline ( #712 )
2022-01-10 12:06:25 +11:00
Fernando Herrera
8a0d2b4e32
double prompt ( #686 )
...
* double prompt
* prompt env var name
2022-01-06 12:57:55 +00:00
JT
36079f1a3d
Port fetch (with fixes) ( #660 )
...
* Port fetch to engine-q
* Fix check for path as a string
* Add a timeout flag and fix some span issues
* Add a temporary fetch command that returns byte streams. Got rid of async stuff as we're using the blocking feature of tokio
* More tweaks for the bytestream
* Rewrite fetch using ByteStreams
* buffer read on bytes directly
Co-authored-by: Stefan Stanciulescu <contact@stefanstanciulescu.com>
2022-01-04 13:01:18 +11:00
JT
681e37cec6
bump reedline ( #655 )
2022-01-04 06:38:24 +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
JT
ac487dfcbc
Add parser tracing, fix 629 ( #638 )
2022-01-02 08:42:50 +11:00
JT
7fa1ad010b
Bump reedline, again ( #636 )
2022-01-01 16:30:59 +11:00
JT
44791b5835
Bump reedline, again ( #635 )
2022-01-01 12:27:45 +11:00
JT
15b979b06e
Bump reedline ( #634 )
2022-01-01 09:41:29 +11:00
JT
2320987862
Bump reedline ( #627 )
2021-12-31 11:36:01 +11:00
JT
62011b6bcc
Bump to 0.42 ( #4234 )
2021-12-28 20:56:59 +11:00
Darren Schroeder
0c1a7459b2
Update to the latest reedline ( #608 )
...
* update to the latest reedline
* update to latest reedline
2021-12-27 14:16:34 -06:00
Fernando Herrera
53330c5676
def argument check ( #604 )
...
* def argument check
* corrected test
* clippy error
2021-12-28 06:13:52 +11:00
nibon7
1214cd57e8
bat: use regex-onig instead of regex-fancy ( #4226 )
...
Fixes #4224
Signed-off-by: nibon7 <nibon7@163.com>
2021-12-24 08:34:59 -06:00
JT
3522bead97
Add string stream and binary stream, add text decoding ( #570 )
...
* WIP
* Add binary/string streams and text decoding
* Make string collection fallible
* Oops, forgot pretty hex
* Oops, forgot pretty hex
* clippy
2021-12-24 18:22:11 +11:00
JT
b719f8d4eb
Add missing flags to existing commands ( #565 )
...
* Add missing flags to existing commands
* fmt
2021-12-24 08:41:29 +11:00
Darren Schroeder
5c83f4d405
update to latest reedline ( #562 )
2021-12-23 13:39:54 -06:00
JT
ef59b4aa51
Some multiline fixes ( #557 )
2021-12-23 09:53:19 +11:00
JT
3389baa392
Improve multiline history ( #556 )
2021-12-23 07:44:05 +11:00
JT
43dd0960a0
Use latest history hint ( #552 )
2021-12-22 20:39:35 +11:00