28b26ca44d
supress warnings
2021-10-14 18:14:59 -03:00
b3192ddc97
fix operating more than 2 file at the same time
2021-10-14 17:03:39 -03:00
8c2ae1eed1
-i flag finished, lacking tests
2021-10-14 14:54:51 -03:00
fdf6bbb6fc
clean up some todo comments in grid
2021-10-14 08:03:20 -05:00
0d7b10fd0b
Remove bad fixmes
2021-10-14 17:43:49 +13:00
9ea7cdfc33
-i flag on signaure
2021-10-13 19:29:08 -03:00
dcda7a4e50
Touchups to help
2021-10-14 06:58:39 +13:00
fdd2c35fd9
Add the default help flag
2021-10-14 06:53:27 +13:00
5c46138563
Some touchups to size
2021-10-13 17:15:37 +13:00
ef58348ea2
Merge branch 'main' into load_config
2021-10-13 16:59:09 +13:00
a760e46c1c
Add config file loading
2021-10-13 16:57:05 +13:00
f5ce63ad55
Merge branch 'nushell:main' into main
2021-10-12 14:56:45 -07:00
151bdc8910
drop unused imports
2021-10-12 14:56:29 -07:00
2b99e49792
add strings/size command
2021-10-12 14:55:29 -07:00
94d00b28b7
add unicode-segmentation crate
2021-10-12 14:55:07 -07:00
8fee0b32e7
impl Value::Record from HashMap<String, Value>
2021-10-12 14:54:28 -07:00
ffd922f393
add ability to parse strings like "100kib" and "100 kib"
2021-10-12 15:22:12 -05:00
6024a001b4
Clarify todo/fixmes
2021-10-13 06:44:23 +13:00
aea8627c30
Prevent invalid var names
2021-10-12 18:08:55 +13:00
5f14faf4b4
Custom switch support
2021-10-12 17:49:17 +13:00
c8277a3da9
Do rest args
2021-10-12 16:28:39 +13:00
96419f168b
Also fix the flag params
2021-10-12 10:17:45 +13:00
1f45304cf9
Fix parser when def has missing params
2021-10-12 09:58:38 +13:00
63e3552eef
Add the remaining missing operators
2021-10-12 09:35:12 +13:00
1a15f30eb8
Error on missing column during cell path
2021-10-12 08:51:54 +13:00
0676f32509
Merge branch 'main' into earlier_errors
2021-10-12 08:33:19 +13:00
ea9aad9b5d
fix to allow windows to compile
2021-10-11 13:58:10 -05:00
38bc394a12
Expose errors early when possible
2021-10-12 07:45:31 +13:00
d33a9549b5
Add serialize/deserialize for streams
2021-10-12 07:12:47 +13:00
c4fe190cee
Merge pull request #119 from nushell/error_improvement
...
Error improvement
2021-10-12 07:08:16 +13:00
ba73e0eb06
Another early emit
2021-10-12 06:37:22 +13:00
0504a7a776
Make errors emit first
2021-10-12 06:35:40 +13:00
0e36b4b1bd
type-o
...
changes seperator to separator
2021-10-11 09:32:06 -05:00
4d0a253924
Merge main
2021-10-11 14:57:39 +13:00
c3a032950d
Add initial batch of into conversions
2021-10-11 14:56:19 +13:00
491efab09b
remove open and save
2021-10-10 13:24:54 -07:00
7cafdc9675
Merge branch 'nushell:main' into main
2021-10-10 13:15:54 -07:00
ecee5a9845
Update chars.rs
2021-10-11 07:28:33 +13:00
77c520e10b
Make predeclarations scoped; Add hiding tests
...
In some rare cases, the global predeclarations would clash, for example:
> module spam { export def foo [] { "foo" } }; def foo [] { "bar" }
In the example, the `foo [] { "bar" }` would get predeclared first, then
the predeclaration would be overwritten and consumed by `foo [] {"foo"}`
inside the module, then when parsing the actual `foo [] { "bar" }`, it
would not find its predeclaration.
2021-10-10 14:31:13 +03:00
40741254f6
Rewrite hiding system
...
Hiding definitions now should work correctly with repeated use of 'use',
'def' and 'hide' keywords.
The key change is that 'hide foo' will hide all definitions of foo
that were defined/used within the scope (those from other scopes are
still available). This makes the logic simpler and I found it leads to a
simpler mental map: you don't need to remember the order of defined/used
commands withing the scope -- it just hides all.
2021-10-10 13:18:47 +03:00
0b35905ce9
revert temp val
2021-10-09 22:43:50 -07:00
beb15dcc77
cleanup + clippy suggestions
2021-10-09 21:17:08 -07:00
97ca242634
add rm command + stubs for open and save
2021-10-09 21:13:15 -07:00
a0a63c966f
Add inline attribute and address warning
2021-10-09 19:44:03 +02:00
75de7f7e61
Implement PartialOrd
for Value::Stream
2021-10-09 19:40:47 +02:00
4e443b2088
Change helper method visibility
2021-10-09 19:40:47 +02:00
9e7e8ed48f
Handle not-in
operator
2021-10-09 19:40:47 +02:00
5f9ad0947d
Fix Range::contains
2021-10-09 19:40:47 +02:00
4235cf1191
Implement and use PartialOrd
for Value
2021-10-09 19:40:45 +02:00
357b9ccaa9
Remove unused import
2021-10-09 19:27:54 +02:00