JT
e473bdb26d
Merge pull request #230 from xiuxiu62/main
...
add size command
2021-10-13 16:58:59 +13:00
Justin
f5ce63ad55
Merge branch 'nushell:main' into main
2021-10-12 14:56:45 -07:00
xiuxiu62
151bdc8910
drop unused imports
2021-10-12 14:56:29 -07:00
xiuxiu62
2b99e49792
add strings/size command
2021-10-12 14:55:29 -07:00
xiuxiu62
94d00b28b7
add unicode-segmentation crate
2021-10-12 14:55:07 -07:00
xiuxiu62
8fee0b32e7
impl Value::Record from HashMap<String, Value>
2021-10-12 14:54:28 -07:00
Darren Schroeder
97d7157773
Merge pull request #134 from fdncred/parse_kib_str_filesize
...
add ability to parse strings like "100kib" and "100 kib"
2021-10-12 15:56:49 -05:00
Darren Schroeder
ffd922f393
add ability to parse strings like "100kib" and "100 kib"
2021-10-12 15:22:12 -05:00
JT
1ea124a65b
Merge pull request #133 from nushell/todo_fixme
...
Clarify todo/fixmes
2021-10-13 07:20:45 +13:00
JT
6024a001b4
Clarify todo/fixmes
2021-10-13 06:44:23 +13:00
JT
67b8438bda
Merge pull request #131 from nushell/invalid_var
...
Prevent invalid var names
2021-10-12 18:14:18 +13:00
JT
270e4fdd4c
Merge pull request #130 from nushell/custom_switch
...
Custom switch support
2021-10-12 18:09:14 +13:00
JT
aea8627c30
Prevent invalid var names
2021-10-12 18:08:55 +13:00
JT
5f14faf4b4
Custom switch support
2021-10-12 17:49:17 +13:00
JT
60f0394106
Merge pull request #129 from nushell/do_rest_args
...
Do rest args
2021-10-12 16:34:21 +13:00
JT
c8277a3da9
Do rest args
2021-10-12 16:28:39 +13:00
JT
9f02307bd7
Merge pull request #128 from nushell/fix_missing_params
...
Fix missing param error and custom flag values
2021-10-12 10:22:34 +13:00
JT
96419f168b
Also fix the flag params
2021-10-12 10:17:45 +13:00
JT
1f45304cf9
Fix parser when def has missing params
2021-10-12 09:58:38 +13:00
JT
db62bce6aa
Merge pull request #127 from nushell/add_missing_operators
...
Add the remaining missing operators
2021-10-12 09:42:58 +13:00
JT
63e3552eef
Add the remaining missing operators
2021-10-12 09:35:12 +13:00
JT
ce81cd6e2f
Merge pull request #126 from nushell/missing_column_error
...
Give error on missing column during cell path
2021-10-12 09:02:46 +13:00
JT
0d031636a9
Error on missing column during cell path
2021-10-12 08:55:14 +13:00
JT
1a15f30eb8
Error on missing column during cell path
2021-10-12 08:51:54 +13:00
JT
6e92812cdf
Merge pull request #125 from nushell/earlier_errors
...
Earlier errors
2021-10-12 08:38:29 +13:00
JT
0676f32509
Merge branch 'main' into earlier_errors
2021-10-12 08:33:19 +13:00
JT
576471cc3c
Fix test
2021-10-12 08:33:09 +13:00
JT
e0433076ff
Merge pull request #124 from nushell/jntrnr-patch-2
...
Try #2 - Mac/Windows CI
2021-10-12 08:24:09 +13:00
JT
a67be074e6
Try #2 - Mac/Windows CI
2021-10-12 08:19:43 +13:00
Darren Schroeder
dada7a9867
Merge pull request #122 from fdncred/fix_windows_compiling
...
fix to allow windows to compile
2021-10-11 14:13:45 -05:00
Darren Schroeder
ea9aad9b5d
fix to allow windows to compile
2021-10-11 13:58:10 -05:00
JT
38bc394a12
Expose errors early when possible
2021-10-12 07:45:31 +13:00
JT
020143d050
Merge pull request #120 from nushell/serialize_stream
...
Add serialize/deserialize for streams
2021-10-12 07:18:41 +13:00
JT
d33a9549b5
Add serialize/deserialize for streams
2021-10-12 07:12:47 +13:00
JT
c4fe190cee
Merge pull request #119 from nushell/error_improvement
...
Error improvement
2021-10-12 07:08:16 +13:00
JT
ba73e0eb06
Another early emit
2021-10-12 06:37:22 +13:00
JT
0504a7a776
Make errors emit first
2021-10-12 06:35:40 +13:00
Darren Schroeder
1b9b709dec
Merge pull request #118 from nushell/fdncred_separator
...
type-o in code
2021-10-11 09:47:00 -05:00
Darren Schroeder
0e36b4b1bd
type-o
...
changes seperator to separator
2021-10-11 09:32:06 -05:00
JT
acb0360180
Merge pull request #117 from nushell/conversions
...
Conversions
2021-10-11 15:01:30 +13:00
JT
4d0a253924
Merge main
2021-10-11 14:57:39 +13:00
JT
c3a032950d
Add initial batch of into conversions
2021-10-11 14:56:19 +13:00
JT
b4344b3964
Merge pull request #114 from xiuxiu62/main
...
add `rm`
2021-10-11 09:58:01 +13:00
xiuxiu62
491efab09b
remove open and save
2021-10-10 13:24:54 -07:00
Justin
7cafdc9675
Merge branch 'nushell:main' into main
2021-10-10 13:15:54 -07:00
JT
89267df9eb
Merge pull request #115 from kubouch/hiding-rehaul
...
Hiding rehaul
2021-10-11 07:38:53 +13:00
JT
ecee5a9845
Update chars.rs
2021-10-11 07:28:33 +13:00
Jakub Žádník
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
Jakub Žádník
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
jacremer
0b35905ce9
revert temp val
2021-10-09 22:43:50 -07:00