Andrés N. Robalino
12e3806349
Merge pull request #415 from androbtech/fromto-refact
...
[from|to]csv additions/refactoring.
2019-08-25 12:56:28 -05:00
Jonathan Turner
dda4a707a7
Merge pull request #421 from ramonsnir/reverse
...
add reverse
2019-08-26 05:41:07 +12:00
Andrés N. Robalino
0e14ba86ae
[from|to]csv additions/refactoring.
...
Introduced flag to tell `from-to` / `to-csv` whether we want headers parsed and/or written.
2019-08-25 12:32:08 -05:00
Ramon Snir
9735c3fcea
add reverse
2019-08-25 12:14:17 -04:00
Patrick Meredith
a75c90cc42
Rebase on master
2019-08-25 10:16:22 -04:00
Patrick Meredith
b0d7daa0d6
Remove cargo culted latest_tag that is not needed for from_bson
2019-08-25 09:50:25 -04:00
Patrick Meredith
a3b4d47b4e
Finish last few types and add tests
2019-08-25 09:50:25 -04:00
Patrick Meredith
722e192c14
Implement some more of the bson types
2019-08-25 09:50:25 -04:00
Patrick Meredith
9814eeae30
Remove need for impl Clone on from_bson_bytes_to_value
2019-08-25 09:50:25 -04:00
Patrick Meredith
a0f0372839
Add mostly working BSON support (missing some types)
2019-08-25 09:50:25 -04:00
Patrick Meredith
93a1a0604e
Update how extensions are set to default to path when no extension can be determined from mime
2019-08-25 09:50:25 -04:00
Jonathan Turner
ac15989bbb
Merge branch 'master' into surf
2019-08-25 17:41:10 +12:00
Matthew Nicholson
f5afbe8984
write the config after removing a key
2019-08-25 00:51:12 -04:00
Jonathan Turner
9c4f94fed5
Merge pull request #402 from ijt/add-last-command
...
Add `last` filter
2019-08-25 13:00:13 +12:00
Issac Trotts
108f66941b
add last command
2019-08-24 15:01:30 -07:00
Dmitry Starostin
19772f82aa
Add --reverse option for sort-by
2019-08-25 00:11:38 +03:00
Jonathan Turner
721a7b159d
switch from reqwest to surf
2019-08-25 07:36:19 +12:00
Jonathan Turner
bb794dcfec
Add expansion to from-* for lists
2019-08-24 19:38:38 +12:00
Jonathan Turner
0a611266ce
Clean up error text
2019-08-24 08:31:14 +12:00
Jonathan Turner
6354e0cc55
Remove X11 requirement
2019-08-23 15:29:08 +12:00
Jonathan Turner
303d27d4b6
Finish adding support for protecting value shells
2019-08-22 16:13:40 +12:00
Jonathan Turner
78ca297e47
WIP
2019-08-22 07:38:09 +12:00
Jonathan Turner
73e3402e2f
Merge master
2019-08-22 05:09:23 +12:00
Jonathan Turner
e012e04da0
Disallow fileops on values
2019-08-22 05:03:59 +12:00
Jonathan Turner
3c7ca8c403
Merge pull request #327 from jonathandturner/cleanup_ps
...
Cleanup unneeded compiler flag
2019-08-22 04:57:25 +12:00
Andrés N. Robalino
c2b377eedc
Leave Nu's shell manager to figure out the suitable path for us instead.
2019-08-21 11:23:26 -05:00
Jonathan Turner
8e5744cf9b
Cleanup unneeded compiler flag
2019-08-22 04:00:29 +12:00
Andrés N. Robalino
1e8793135a
Mark the unwrap and Sweep the unwrap a bit more.
2019-08-21 10:48:04 -05:00
Andrés N. Robalino
8d5fd6f379
Unwrap cleanup mitigation.
2019-08-21 10:08:38 -05:00
Andrés N. Robalino
8b79b28971
mkdir can take multiple directories or multiple directory hierachies and wil create them as required.
2019-08-21 07:07:37 -05:00
Jonathan Turner
23ef76a86b
Update ps.rs
2019-08-21 20:19:36 +12:00
Jonathan Turner
c98bf68341
Oops, one more time
2019-08-21 19:47:33 +12:00
Jonathan Turner
c54528651d
Fix ps again
2019-08-21 19:41:18 +12:00
Jonathan Turner
1a74c512ad
Merge pull request #324 from jonathandturner/ps_deps_and_more
...
Lots of fixes ahead of release
2019-08-21 19:08:01 +12:00
Jonathan Turner
e3e4e30fb3
Lots of fixes ahead of release
2019-08-21 18:39:57 +12:00
Andrés N. Robalino
0f28719564
mv -> More organized method definitions.
2019-08-20 07:35:41 -05:00
Andrés N. Robalino
11095860c8
rm fully operational and error surveyd.
2019-08-20 06:22:11 -05:00
Jonathan Turner
64c129d65f
Finish updating the last cases
2019-08-20 18:11:11 +12:00
Jonathan Turner
421aacee76
Merge branch 'master' into implement-whole-stream-command-for-all-commands
2019-08-20 16:13:49 +12:00
Odin Dutton
31790a9906
Use args structs to better extract multiple arguments
2019-08-20 13:15:05 +10:00
Odin Dutton
9951691023
Use NthArgs to better convert to an integer
...
Using i64 as u64 deserialize isn't implemented yet.
2019-08-20 13:12:31 +10:00
Odin Dutton
82a315f06a
Make cd argument optional
...
`cd` with no arugments changes directory to $HOME.
2019-08-20 13:11:29 +10:00
Odin Dutton
56c04ff5b6
Remove unneeded TODOs
...
These commands have been confirmed to have no arguments.
2019-08-20 13:11:01 +10:00
Jonathan Turner
953d28ef74
Fix push/pop for shell manager
2019-08-19 20:07:55 +12:00
Jonathan Turner
fef447a659
Fix shell-ring to rotate as expected
2019-08-19 19:29:27 +12:00
Odin Dutton
d71206ed9e
Implement WholeStreamCommand for all remaining commands
2019-08-19 15:16:39 +10:00
Jonathan Turner
095f4645c0
Merge pull request #307 from androbtech/qwrapport
...
Refactoring and unwrap cleanup beginnings.
2019-08-19 14:06:43 +12:00
Jonathan Turner
7b2b671b1e
Merge pull request #309 from twe4ked/version-command
...
Introduce version command
2019-08-19 14:06:04 +12:00
Odin Dutton
4de6c941e1
Introduce version command
2019-08-19 11:30:29 +10:00
Andrés N. Robalino
5dd20850b5
Refactoring and unwrap cleanup beginnings.
2019-08-18 20:28:55 -05:00
Odin Dutton
b5db24f9ad
Fix typo in date command signature
2019-08-19 10:55:28 +10:00
Yehuda Katz
5bfb96447a
Reduce unwraps
...
Remove a number of unwraps. In some cases, a `?` just worked as is. I also made it possible to use `?` to go from Result<OutputStream, ShellError> to OutputStream. Finally, started updating PerItemCommand to be able to use the signature deserialization logic, which substantially reduces unwraps.
This is still in-progress work, but tests pass and it should be clear to merge and keep iterating on master.
2019-08-16 20:53:39 -07:00
Jonathan Turner
785536983a
Revert "Heuristic table view"
2019-08-16 04:49:07 +12:00
Jonathan Turner
efd9631a90
All tests pass
2019-08-15 17:46:19 +12:00
Jonathan Turner
dd18122a24
WIP
2019-08-15 17:02:02 +12:00
Andrés N. Robalino
cbf6eed2d7
Communicates unsupported feature the case where directories are found in globs whether we cp or mv
2019-08-14 17:00:11 -05:00
Andrés N. Robalino
154063013f
mv introduced. \¡Viva\!
2019-08-14 15:29:05 -05:00
Andrés N. Robalino
278de0e517
cp refactoring.
2019-08-14 15:29:05 -05:00
Jonathan Turner
99b881e42f
Add first per-item commands
2019-08-15 05:02:39 +12:00
Jonathan Turner
156e72f694
Finish up heuristic for table printing
2019-08-14 04:33:59 +12:00
Jonathan Turner
123b1856c8
Attempt heuristic table
2019-08-13 19:45:31 +12:00
Jonathan Turner
4411a5b72c
Merge pull request #281 from jonathandturner/improve_arrays
...
Add from_array and improve array viewing
2019-08-12 18:16:08 +12:00
Jonathan Turner
3d5395fdd5
Add from_array and improve array viewing
2019-08-12 17:51:13 +12:00
Jonathan Turner
14e47f3d2c
Add nth command
2019-08-12 17:13:58 +12:00
Jonathan Turner
6cf3dc92fc
Add support for utf16 files
2019-08-12 16:11:42 +12:00
Jonathan Turner
e19c618ac5
Revert "Rewrite the ps command"
2019-08-11 13:41:21 +12:00
Jonathan Turner
7c2fec5851
Rewrite the ps command
2019-08-11 11:09:40 +12:00
Jonathan Turner
d07a3928b2
Fix test failure
2019-08-11 08:33:22 +12:00
Jonathan Turner
8f78995014
Improve enter and fix bugs
2019-08-11 08:18:14 +12:00
Jonathan Turner
c97578bf6e
Add which command
2019-08-10 19:06:08 +12:00
Jonathan Turner
60e7dfcf1b
Add back command completions
2019-08-10 17:02:15 +12:00
Jonathan Turner
eeed31837f
cleanup
2019-08-10 08:49:43 +12:00
Jonathan Turner
34759b7646
Add back in cd/ls and completions
2019-08-10 07:42:23 +12:00
Jonathan Turner
cabd5bf009
Fix sink plugins
2019-08-09 19:54:21 +12:00
Jonathan Turner
83030094e0
All tests pass
2019-08-09 17:36:43 +12:00
Jonathan Turner
aadacc2d36
Merge master
2019-08-09 16:51:21 +12:00
Jonathan Turner
b173fa6303
Fix table print for ls
2019-08-08 16:57:38 +12:00
Andrés N. Robalino
ba6d62ea0c
mkdir creates intermediary directories as required (the default). --create-all/--deep flag removed.
2019-08-07 14:38:00 -05:00
Andrés N. Robalino
50393bdf42
Make more visible the strategies for figuring out where to copy files.
2019-08-07 13:42:52 -05:00
Andrés N. Robalino
e0bacaaf37
clean up. more cp. mkdir. more test coverage. fixes.
...
- Introduced mkdir.
- Minor more labelled error improvements.
- Fix to avoid leaking child zombies.
- cp improvements.
- Introduced mkdir.
2019-08-07 13:28:46 -05:00
Andrés N. Robalino
c8b5329c5c
mkdir.
2019-08-07 13:24:20 -05:00
Andrés N. Robalino
1b7dd52713
Tests pass.
2019-08-07 13:23:02 -05:00
Jonathan Turner
c231dd32cd
Multi shells ( #254 )
...
Add multi-shells
2019-08-08 05:49:11 +12:00
Yehuda Katz
14a52bc282
WIP - more streamlining
2019-08-06 09:26:33 -07:00
Jonathan Turner
bb50f1eb14
Merge pull request #250 from jonathandturner/more_error_fixes
...
More touchups to errors
2019-08-06 15:19:45 +12:00
Jonathan Turner
ae5b781159
More touchups to errors
2019-08-06 15:03:13 +12:00
Jonathan Turner
28e9a1c347
Remove stray println
2019-08-06 06:08:31 +12:00
Jonathan Turner
99671b8ffc
Move more parts to tags and away from spans
2019-08-05 20:54:29 +12:00
Yehuda Katz
586aa6bae1
WIP - types check
2019-08-02 19:17:28 -07:00
Yehuda Katz
fc173c46d8
Restructuring
2019-08-02 12:15:07 -07:00
Jonathan Turner
e87ed76ef7
Fix quoting on external Windows commands
2019-08-02 19:25:25 +12:00
Jonathan Turner
6b7d9c1de0
Add glob to ls
2019-08-02 15:10:06 +12:00
Andrés N. Robalino
1bc1bb6111
Glob paths can fail. Communicates the error if it happens. thanks (jonathandturner)
2019-08-01 16:55:49 -05:00
Andrés N. Robalino
375f311331
Wildcard support adventure starting with rm command.
2019-08-01 16:01:53 -05:00
Jonathan Turner
acf8a66a8f
Allow save to use origin span in Tagged<Value>
2019-08-01 19:50:49 +12:00
Jonathan Turner
db3ff52973
Add tags command and fix source_map transfer
2019-08-01 15:25:59 +12:00
Jonathan Turner
462f783fac
initial change to Tagged<Value>
2019-08-01 13:58:42 +12:00
Jonathan Turner
8ac70e7408
Various open improvements
2019-07-30 15:48:02 +12:00
Jonathan Turner
c85b7728bc
Remove old sysinfo and finish sys
2019-07-28 14:02:42 +12:00
Jonathan Turner
a09361698e
Update plugin protocol for begin, and create new sys plugin
2019-07-27 19:45:00 +12:00
Jonathan Turner
e4797f8895
Add end_plugin and sum
2019-07-27 06:40:00 +12:00
Jonathan Turner
96f26b30a7
Add date command
2019-07-26 16:09:19 +12:00
Jonathan Turner
f3fdda8d35
Move textview to plugin
2019-07-25 05:14:30 +12:00
Jonathan Turner
568931c80c
add basic paging to text views
2019-07-24 19:44:12 +12:00
Yehuda Katz
73deeb69db
Clean up lint errors
2019-07-23 21:10:48 -07:00
Yehuda Katz
5a8e041a48
Tests pass!
2019-07-23 15:22:11 -07:00
Jonathan Turner
72384629fd
Merge pull request #205 from androbtech/cp_play
...
Introduced initial cp functionality.
2019-07-24 04:46:30 +12:00
Andrés N. Robalino
0790a714b0
Appropiate error handling when copying (thanks @jonathandturner)
2019-07-23 01:03:35 -05:00
Jonathan Turner
ec7d49b0d2
Add and edit functionality
2019-07-22 15:52:57 +12:00
Andrés N. Robalino
2da43f4b06
Introduced initial cp functionality.
2019-07-21 21:23:02 -05:00
Jonathan Turner
12a785f2a2
Merge pull request #202 from jonathandturner/add_bat_syntax
...
Add a more complete syntax file (from bat)
2019-07-22 04:31:57 +12:00
Jonathan Turner
142596c36e
Add a more complete syntax file (from bat)
2019-07-22 04:03:54 +12:00
Andrés N. Robalino
191dacdd8b
Introduced conversion to csv command.
2019-07-21 02:08:05 -05:00
Jonathan Turner
c36c2a7b50
Switch from_csv to output rows
2019-07-20 18:44:21 +12:00
Jonathan Turner
15507f00fc
Introduce CallInfo, which abstracts args, name_span, and source_map
2019-07-20 14:27:10 +12:00
Jonathan Turner
1e6a9b9b34
Merge branch 'master' into source_spans
2019-07-20 13:14:05 +12:00
Jonathan Turner
27dbc1cb9a
Add syntect (and borrow bat's theme file)
2019-07-20 13:12:04 +12:00
Andrés N. Robalino
895a1b2d72
Introduced ability to open csv documents.
2019-07-19 15:48:42 -05:00
Jonathan Turner
d5d4da0bf8
Add first step of uuid generation and bookkeeping
2019-07-20 07:48:14 +12:00
Andrés N. Robalino
514da5bfa7
Can remove files and directories.
2019-07-18 05:21:24 -05:00
Jonathan Turner
be69df86a9
Add more formats
2019-07-18 07:05:20 +12:00
Jonathan Turner
00b3106f05
Improve open URL. Format and remove warning in tests
2019-07-18 06:56:15 +12:00
Jonathan Turner
2ed46046bd
Cleanup for upcoming release
2019-07-17 07:10:25 +12:00
Jonathan Turner
3ebb6ba991
Fix plugin's commandconfig
2019-07-16 19:08:35 +12:00
Jonathan Turner
b07e1ccbf7
Add missing file
2019-07-16 16:05:38 +12:00
Jonathan Turner
c94c663771
Fix up some of the save formats
2019-07-16 16:03:28 +12:00
Yehuda Katz
ded3462e82
Make signatures a little more general
2019-07-15 14:16:27 -07:00
Jonathan Turner
eefb6fd9a0
Bump rustc version. Fix macOS build issue
2019-07-14 05:32:01 +12:00
Jonathan Turner
7e555a0ef2
"Add plugin arg errors. Bring remaining errors to parity"
2019-07-14 04:59:59 +12:00
Yehuda Katz
6bf55c0f1e
Remove more dead code and clean up JSON
2019-07-12 19:20:26 -07:00
Yehuda Katz
7c2a1c619e
Tests pass
2019-07-12 19:20:26 -07:00
Yehuda Katz
70f9e355fd
WIP
2019-07-12 19:20:26 -07:00
Yehuda Katz
2da12aed56
Tests pass
2019-07-12 19:20:26 -07:00
Yehuda Katz
7b68739b52
WIP
2019-07-12 19:20:26 -07:00
Yehuda Katz
71adfb4cdc
WIP
2019-07-12 19:20:26 -07:00
Yehuda Katz
34033afce4
WIP improve error infrastructure
...
Also simplify commands and reduce papercuts
2019-07-12 19:20:26 -07:00
Jonathan Turner
958bb534b4
Finish moving a couple commands to plugins, remove unused plugin
2019-07-06 05:19:19 +12:00
Jonathan Turner
73d87e57ab
Switch to rawkey reader. Add more binary reading
2019-07-05 10:17:18 +12:00
Jonathan Turner
5e779d8b2b
Add pretty binary viewing
2019-07-04 17:23:05 +12:00
Jonathan Turner
65a0d27c8a
Add binary type and tree sink
2019-07-04 17:11:56 +12:00
Jonathan Turner
dc8545ce10
Add a test for the plugins
2019-07-04 15:18:19 +12:00
Jonathan Turner
0180769971
WIP now load plugins automatically
2019-07-04 05:37:09 +12:00
Jonathan Turner
75ddfe9f5a
Add filter and sink plugins
2019-07-02 19:56:20 +12:00
Jonathan Turner
c3697c67ca
Make serialization full-fidelity
2019-06-30 18:46:49 +12:00
Yehuda Katz
3379c23a49
Support evaluating most expressions
...
Blocks, paths, and others
Plus a bunch of other infra improvements
2019-06-29 01:55:42 -07:00
Jonathan Turner
47f23cacc7
Add second plugin
2019-06-28 04:47:24 +12:00
Jonathan Turner
78bb5647fc
A bit of tidying
2019-06-27 17:16:29 +12:00
Jonathan Turner
d5704808d4
First working plugin
2019-06-27 16:56:48 +12:00
Jonathan Turner
cfcf43ca93
Add content-type to open, refactor open/enter
2019-06-26 19:40:43 +12:00
Jonathan Turner
62368644fa
Fix lines for windows
2019-06-24 14:00:53 +12:00