Commit Graph

2419 Commits

Author SHA1 Message Date
Sam Hedin
a173817889 Cleanup, stop tracking overwritten values as nu takes care of it 2020-06-18 07:25:45 +02:00
Sam Hedin
acd3215b36 Remove overwritten values tracking, as it is not needed 2020-06-18 07:19:30 +02:00
Sam Hedin
2e4df38c83 todo.org 2020-06-17 14:17:26 +02:00
Sam Hedin
1611c7a78b Merge branch 'direnv-rewrite' 2020-06-17 14:06:24 +02:00
Sam Hedin
233d864f47 Restore overwritten vals code 2020-06-17 14:06:10 +02:00
Sam Hedin
f052d779b9 Merge branch 'direnv-rewrite' 2020-06-17 14:01:43 +02:00
Sam Hedin
727af8ca4e Refactoring 2020-06-17 14:00:24 +02:00
Sam Hedin
240dc9501e Merge branch 'direnv-rewrite' of github.com:samhedin/nushell into direnv-rewrite 2020-06-17 13:28:28 +02:00
Sam Hedin
542d7ac2a1 Ready for testing 2020-06-17 13:27:37 +02:00
Sam Hedin
b6a7f56a1e Reworking adding of vars 2020-06-17 12:18:40 +02:00
Sam Hedin
dbfd0979a6 Reworking adding of vars 2020-06-17 01:29:52 +02:00
Sam Hedin
688df20a30 Error handling 2020-06-17 00:23:03 +02:00
Sam Hedin
1e11f0713a Move outside of loop 2020-06-17 00:09:42 +02:00
Sam Hedin
fb1839971a Add TODO file 2020-06-16 19:20:04 +02:00
Sam Hedin
2f4f8632de nicer errors 2020-06-16 11:01:11 +02:00
Sam Hedin
4e0a0df8a8 Error handling and refactoring 2020-06-15 21:38:33 +02:00
utam0k
831111edec
Pass the borrow instead of clone. (#1986) 2020-06-16 05:35:24 +12:00
Sam Hedin
06b1122564 Working? 2020-06-15 18:31:04 +02:00
Sam Hedin
28f01e92b7 Deletion almost works 2020-06-15 18:21:27 +02:00
Sam Hedin
6a0b4d1122 Add type aliases for String and OsString 2020-06-15 18:15:30 +02:00
Sam Hedin
26ec9cf432 Clippy 2020-06-15 15:48:14 +02:00
Sam Hedin
4905e83a9d Merge branch 'direnv-rewrite' of github.com:samhedin/nushell into direnv-rewrite 2020-06-15 15:44:23 +02:00
Sam Hedin
730f9ca30a Error handling 2020-06-15 15:42:09 +02:00
Jonathan Turner
29ea29261d
Bump to 0.15.1 (#1984) 2020-06-15 09:54:30 +12:00
Jonathan Turner
ee835f75db
Last batch of removing async_stream (#1983) 2020-06-15 09:00:42 +12:00
Arash Outadi
bd7ac0d48e
Math Documentation (#1982)
* Adding math docs

* Add some comments to calculate

* Remove redudant message

Message already shows up in subcommands list

* Added not working example

Accidentantly

* Remove table
2020-06-15 08:42:15 +12:00
Sam Hedin
309f5e02a0 Performance concerns 2020-06-14 15:10:21 +02:00
Sam Hedin
b5923d0cd3 Performance concerns 2020-06-14 14:59:25 +02:00
Sam Hedin
97bad0e4de Untrack removed vars properly 2020-06-14 12:18:45 +02:00
Sam Hedin
3fbbe6e322 Refactor restore function 2020-06-14 11:37:20 +02:00
Sam Hedin
0beb32de52 Overwritten env values tracks an indexmap instead of vector 2020-06-14 10:48:08 +02:00
Jonathan Turner
d7b1480ad0
Another batch of removing async_stream (#1981) 2020-06-14 11:54:35 +12:00
Jonathan Turner
86b316e930
Another batch of removing async_stream (#1979)
* Another batch of removing async_stream

* Another batch of removing async_stream

* Another batch of removing async_stream
2020-06-14 10:01:44 +12:00
Arash Outadi
a042f407c1
1882-Add min, max in addition to average for acting lists (#1969)
* Converting average.rs to math.rs

* Making some progress towards math

Examples and unit tests failing, also think I found a bug with passing in strings

* Fix typos

* Found issue with negative numbers

* Add some comments

* Split commands like in split and str_ but do not register?

* register commands in cli

* Address clippy warnings

* Fix bad examples

* Make the example failure message more helpful

* Replace unwraps

* Use compare_values to avoid coercion issues

* Remove unneeded code
2020-06-14 09:49:57 +12:00
Sam Hedin
3ed608d9da Merge branch 'master' of github.com:nushell/nushell 2020-06-13 22:10:12 +02:00
Jonathan Turner
40673e4599
Another batch of removing async_stream (#1978) 2020-06-14 07:13:36 +12:00
Joseph T. Lyons
bcfb084d4c
Remove async_stream from some commands (#1976) 2020-06-14 04:30:24 +12:00
Darren Schroeder
a1fd5ad128
Updated Readme to include Roadmap project board. (#1975) 2020-06-13 08:24:30 -05:00
Jonathan Turner
fe6d96e996
Another batch of converting commands away from async_stream (#1974)
* Another batch of removing async_stream

* merge master
2020-06-13 20:43:21 +12:00
Joseph T. Lyons
e24e0242d1
Removing async_stream! from some more commands (#1973)
* Removing async_stream! from some more commands

* Fix await error

* Fix Clippy warnings
2020-06-13 20:03:13 +12:00
Jonathan Turner
c959dc1ee3
Another batch of removing async_stream (#1972) 2020-06-13 16:03:39 +12:00
Jonathan Turner
d82ce26b44
Another batch of removing async_stream (#1971) 2020-06-13 11:40:23 +12:00
Jonathan Turner
935a5f6b9e
Another batch of removing async_stream (#1970) 2020-06-12 20:34:41 +12:00
Darren Schroeder
731aa6bbdd
use encoding on open for #1939 (#1949)
* WIP - not compiling

* compiling but panicing

* still broken

* nearly working

* reverted deserializer_string changes
updated enter.rs and open.rs to use Option<Tagged<String>>
Accepted Clippy suggestions
Accepted fmt suggestions
Left original code from open.rs
 We may want to use some of it and only fallback to encoding.

* Don't exit when there is an unknown encoding.

* When encoding is unknown default to utf-8.

* only do encoding if the user says to it

* merged some conflicts on open

* made error messages consistent

* Updated unwrap with expect

* updated open test to pass with more descriptive err
updated enter test to not fail

* change _location to location

* changed _visitor to visitor

* Added a more verbose usage statement for encoding
Linked to docs.rs/encoding_rs for details

Co-authored-by: Darren Schroeder <fdncred@hotmail.com>
2020-06-11 19:37:43 -05:00
Jonathan Turner
a268e825aa
Allow config to be readonly (#1967) 2020-06-12 05:50:57 +12:00
Jonathan Turner
982f067d0e
Proper precedence history in math (#1966) 2020-06-12 05:17:08 +12:00
Sam Hedin
f6458b4322 Merge branch 'master' of github.com:nushell/nushell 2020-06-10 08:37:17 +02:00
Sam Hedin
862ff60b3e rewrite everything 2020-06-10 08:33:04 +02:00
Jonathan Turner
a3e1a3f266
Bump start plugin to 0.15.0 (#1956) 2020-06-10 08:39:15 +12:00
Jonathan Turner
e5a18eb3c2
Bump to 0.15.0 (#1955) 2020-06-10 05:33:59 +12:00