nushell/src/plugins
Yehuda Katz 138b5af82b Basic support for decimal numbers
This commit is more substantial than it looks: there was basically no
real support for decimals before, and that impacted values all the way
through.

I also made Size contain a decimal instead of an integer (`1.6kb` is a
reasonable thing to type), which impacted a bunch of code.

The biggest impact of this commit is that it creates many more possible
ways for valid nu types to fail to serialize as toml, json, etc. which
typically can't support the full range of Decimal (or Bigint, which I
also think we should support). This commit makes to-toml fallible, and a
similar effort is necessary for the rest of the serializations.

We also need to figure out how to clearly communicate to users what has
happened, but failing to serialize to toml seems clearly superior to me
than weird errors in basic math operations.
2019-08-30 21:05:32 -07:00
..
add.rs Add support for ~ expansion 2019-08-26 21:03:24 -07:00
binaryview.rs Merge branch 'master' into expand-tilde 2019-08-27 16:23:56 +12:00
edit.rs Add support for ~ expansion 2019-08-26 21:03:24 -07:00
inc.rs Add support for ~ expansion 2019-08-26 21:03:24 -07:00
skip.rs Add support for ~ expansion 2019-08-26 21:03:24 -07:00
str.rs Add support for ~ expansion 2019-08-26 21:03:24 -07:00
sum.rs Add support for ~ expansion 2019-08-26 21:03:24 -07:00
sys.rs Basic support for decimal numbers 2019-08-30 21:05:32 -07:00
textview.rs Add tab support to textview 2019-08-30 15:47:30 +12:00
tree.rs Add support for ~ expansion 2019-08-26 21:03:24 -07:00