Jakub Žádník
73ae3daf85
Add invalid UTF-8 error to use and source
...
Also changed the error message to be more universal.
2021-10-31 17:53:53 +02:00
Jakub Žádník
f182524298
Add TODO notes
2021-10-31 17:46:37 +02:00
Jakub Žádník
b7c0ba104f
Fix hiding module; Fmt
...
This fixes the case when you call `hide spam`. It will now hide all
commands you'd call like `spam foo` etc.
2021-10-31 17:38:00 +02:00
Jakub Žádník
7112664b3f
Fix wrong spans of multiple files
...
The introduction of `use <file.nu>` added the possibility of calling
`working_set.add_file()` more than once per parse pass. Some of the
logic handling the file contents offsets prevented it from working and
hopefully, this commit fixes it.
2021-10-31 17:22:10 +02:00
Jakub Žádník
2dcfecbbd7
Add test for multi-word alias
2021-10-29 23:57:33 +03:00
Jakub Žádník
751595e72e
Add multi-word name calling support
2021-10-29 23:50:28 +03:00
Jakub Žádník
4fc533340b
Add function that searches for multi-word commands
...
It doesn't do anything right now.
2021-10-28 00:53:28 +03:00
Jakub Žádník
b5329fe4ec
Cleanup; Remove redundant UTF-8 check
2021-10-27 00:34:39 +03:00
Jakub Žádník
78256b4923
Fix syntax highlighting for new import patterns
2021-10-27 00:30:39 +03:00
Jakub Žádník
bd6c550470
Change import pattern delimiter to space
...
Subcommands and module imports will have the same syntax now.
2021-10-27 00:13:39 +03:00
Jakub Žádník
595fc7a7f6
Switch to cross-platform fail message
2021-10-26 21:03:12 +03:00
Jakub Žádník
402a4acd7a
Fix leftover test
2021-10-26 21:03:12 +03:00
Jakub Žádník
a240aead8c
Add loading module from file
...
Currently, `use spam.nu` creates a module `spam`. Therefore, after the
first `use`, it is possible to call both `use spam.nu` and `use spam`
with the same effect.
2021-10-26 21:03:12 +03:00
Jakub Žádník
75b3b3e090
Add comments
2021-10-26 21:03:12 +03:00
Jakub Žádník
5163dbb7a1
Add tests and cover edge cases of the :: delim.
2021-10-26 21:03:12 +03:00
Jakub Žádník
cbda1b1650
Change import pattern delimiter to ::
2021-10-26 21:03:12 +03:00
Jakub Žádník
e66fd91045
Move module block parsing into its own function
2021-10-26 21:03:12 +03:00
JT
0c7ec03ba0
Merge pull request #255 from nushell/par_each_sig
...
Fix par-each signature
2021-10-26 21:21:55 +13:00
JT
6b14f9d6b0
Fix par-each signature
2021-10-26 21:16:15 +13:00
JT
29dde84394
Merge pull request #254 from nushell/iter_perf
...
Some iter perf improvements
2021-10-26 16:28:42 +13:00
JT
543c566ccc
Some iter perf improvements
2021-10-26 16:22:37 +13:00
JT
9995cbc03b
Merge pull request #253 from nushell/par_each_example
...
Fix par-each example
2021-10-26 15:08:34 +13:00
JT
abb6d9f10f
Fix par-each example
2021-10-26 14:49:25 +13:00
JT
e039e5f6a4
Merge pull request #252 from nushell/par_each
...
Add a simple parallel each
2021-10-26 14:37:56 +13:00
JT
9b67899f8d
Merge pull request #248 from luccasmmg/engine-q-math
...
Engine q math(just one command)
2021-10-26 14:32:03 +13:00
JT
5455270446
Add a simple parallel each
2021-10-26 14:30:53 +13:00
Luccas Mateus de Medeiros Gomes
11d8e6c71f
Just removed a few comments
2021-10-25 21:11:20 -03:00
Luccas Mateus de Medeiros Gomes
2ce034d0f0
linting
2021-10-25 20:57:45 -03:00
Luccas Mateus de Medeiros Gomes
017b1d8996
Updated to new PipeLineData and made the tests run
2021-10-25 20:56:22 -03:00
JT
a2c2a07638
Merge pull request #251 from nushell/better_split_column
...
Use different helper functions for split column
2021-10-26 12:47:19 +13:00
Luccas Mateus
3a5b943d11
Merge branch 'nushell:main' into engine-q-math
2021-10-25 20:40:41 -03:00
JT
766726d0fa
Use different helper functions for split column
2021-10-26 12:35:51 +13:00
JT
798552b1b3
Merge pull request #250 from nushell/oops
...
Remove debug message
2021-10-26 12:20:03 +13:00
JT
df07ed5bf6
Remove debug message
2021-10-26 12:12:27 +13:00
JT
301d1f6f87
Merge pull request #249 from nushell/pipeline_data_capture
...
Pipeline data + capture
2021-10-26 12:04:53 +13:00
JT
962adf5a12
add threading
2021-10-26 11:56:29 +13:00
JT
c18f0dcc84
range display touchup
2021-10-26 11:24:10 +13:00
JT
4be61ce604
Tests pass
2021-10-26 11:18:45 +13:00
JT
85a69c0a45
WIP
2021-10-26 10:14:21 +13:00
JT
d29208dd9e
WIP
2021-10-26 09:04:23 +13:00
JT
f84582ca2b
WIP
2021-10-26 06:46:26 +13:00
JT
5d19017603
WIP
2021-10-26 05:58:58 +13:00
Luccas Mateus de Medeiros Gomes
3f313da4c3
Fix test
2021-10-25 08:10:17 -03:00
JT
baac60a5a7
WIP
2021-10-25 19:42:38 +13:00
JT
b5965ee8ef
WIP
2021-10-25 19:31:39 +13:00
JT
397a31e69c
WIP
2021-10-25 17:24:10 +13:00
JT
b6d269e90a
WIP
2021-10-25 17:01:02 +13:00
Luccas Mateus de Medeiros Gomes
aa5ab8a666
final math abs
2021-10-24 20:58:18 -03:00
JT
ab9d6b206d
Merge pull request #246 from stormasm/interactive_helper
...
clean up filesystem by moving get_interactive_confirmation into util.rs
2021-10-25 05:36:46 +13:00
JT
ffb361833b
Merge pull request #245 from stormasm/readme
...
update readme with the issue 242 where people can sign up for commands to port
2021-10-25 05:35:59 +13:00