2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 04:33:38 +00:00
nushell/src
Thomas Hartmann 9b1ff9b566 Updates the table creation logic.
The table parsing/creation logic has changed from treating every line the same
to processing each line in context of the column header's placement. Previously,
lines on separate rows would go towards the same column as long as they were the
same index based on separator alone. Now, each item's index is based on vertical
alignment to the column header.

This may seem brittle, but it solves the problem of some tables operating with
empty cells that would cause remaining values to be paired with the wrong
column.

Based on kubernetes output (get pods, events), the new method has shown to have
much greater success rates for parsing.
2019-10-17 00:25:43 +02:00
..
commands Updates the table creation logic. 2019-10-17 00:25:43 +02:00
data Stream support () 2019-10-13 17:12:43 +13:00
env Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
evaluate Don't panick of no suggestions are found 2019-10-14 18:00:10 +13:00
format Fix confusing unnamed column and crash 2019-10-14 18:28:54 +13:00
parser Merge pull request from nushell/coloring_in_tokens 2019-10-14 18:31:21 -07:00
plugins Better error messages. 2019-10-15 04:18:35 -05:00
shell Start moving coloring into the token stream 2019-10-14 16:11:00 -07:00
cli.rs count command introduced. 2019-10-15 05:19:06 -05:00
commands.rs count command introduced. 2019-10-15 05:19:06 -05:00
context.rs Stream support () 2019-10-13 17:12:43 +13:00
data.rs Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
env.rs Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
errors.rs Stream support () 2019-10-13 17:12:43 +13:00
format.rs Replace vtable with pivot command 2019-09-17 19:07:11 +12:00
fuzzysearch.rs Fix build without crossterm 2019-09-24 23:33:30 +02:00
git.rs Fix formatting with cargo fmt 2019-08-26 20:19:05 +02:00
lib.rs Stream support () 2019-10-13 17:12:43 +13:00
main.rs Feature flagging infrastructure 2019-10-11 17:19:44 -07:00
parser.rs Stream support () 2019-10-13 17:12:43 +13:00
plugin.rs Overhaul the coloring system 2019-10-10 19:30:04 -07:00
prelude.rs Stream support () 2019-10-13 17:12:43 +13:00
shell.rs run rustfmt 2019-09-11 10:36:50 -04:00
stream.rs Stream support () 2019-10-13 17:12:43 +13:00
traits.rs Revert "Revert "Migrate most uses of the Span concept to Tag"" 2019-09-14 11:30:24 -05:00
utils.rs Add urlencode/urldecode 2019-09-19 16:25:29 +12:00