Commit Graph

1097 Commits

Author SHA1 Message Date
Yehuda Katz
6f5ddbd6ae Fixed comparison between bytes and decimals
The previous commit introduced a new decimal type as well as comparison
coercions between decimals and integers, but not between decimals and
bytes.
2019-08-30 21:05:32 -07:00
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
Jonathan Turner
1d77595576 Merge branch 'master' into post 2019-08-31 15:12:03 +12:00
Jonathan Turner
f274df6753
Merge pull request #547 from jonathandturner/expand_list_sqlite
Expand lists loaded from sqlite
2019-08-31 14:49:07 +12:00
Jonathan Turner
2470e6dc24 Expand lists loaded from sqlite 2019-08-31 14:23:29 +12:00
Jonathan Turner
339cf98dd1
Merge pull request #546 from jonathandturner/from_to_automatic
Automatically call matching from-* and to-* commands
2019-08-31 14:17:32 +12:00
Jonathan Turner
2cde4da43f Partially fix list support 2019-08-31 13:35:53 +12:00
Jonathan Turner
2cec8168c7 Merge master 2019-08-31 13:30:41 +12:00
Jonathan Turner
bf03b530c9
Merge pull request #545 from pmeredit/topic/sqlite
Add SQLite support
2019-08-31 13:23:40 +12:00
Jonathan Turner
761cc3db14 Finish up enter and save 2019-08-31 12:59:21 +12:00
Patrick Meredith
3d147d1143 Add SQLite support 2019-08-30 20:54:45 -04:00
Jonathan Turner
fa2c6ec227 Merge master 2019-08-31 10:13:09 +12:00
Jonathan Turner
4cde96bcc4
Merge pull request #542 from pmeredit/topic/fix_from_json_null
Fix from_json to use Nothing for Json::Null
2019-08-31 10:11:49 +12:00
Patrick Meredith
481722b80a Fix from_json to use Nothing 2019-08-30 17:34:35 -04:00
Jonathan Turner
a4fa5628ea
Merge pull request #541 from jonathandturner/heim_ps
Switch to using async/await for ps
2019-08-31 08:15:47 +12:00
Jonathan Turner
c3abb3b687 Fix unwrap 2019-08-31 07:28:10 +12:00
Jonathan Turner
60bfa277d0 Experiment with async/await-enabled ps 2019-08-31 07:07:07 +12:00
Jonathan Turner
9e167713b3 Add post command 2019-08-31 06:27:15 +12:00
Jonathan Turner
39e06bbc80
Merge pull request #511 from svartalf/heim-0.0.7
Heim 0.0.7 preparations
2019-08-31 03:47:50 +12:00
Jonathan Turner
d870060018
Merge pull request #539 from GuillaumeGomez/sysinfo
Update sysinfo version
2019-08-31 03:38:14 +12:00
svartalf
213db54378 Update to heim v0.0.7. 2019-08-30 18:08:57 +03:00
Guillaume Gomez
d1f70aff73 Update sysinfo version 2019-08-30 13:25:00 +02:00
Jonathan Turner
3fba30f2dc
Merge pull request #537 from jonathandturner/tabs_in_textview
Add tab support to textview
2019-08-30 16:20:40 +12:00
Jonathan Turner
729051fdd2
Merge pull request #407 from iamcodemaker/vi
WIP: add support for vi mode
2019-08-30 15:54:30 +12:00
Jonathan Turner
605618bef8
Merge pull request #536 from jonathandturner/pin_bson
Pin bson
2019-08-30 15:49:47 +12:00
Jonathan Turner
8db21ddf99 Add tab support to textview 2019-08-30 15:47:30 +12:00
Jonathan Turner
1f9d5f9f89 Pin bson 2019-08-30 15:24:35 +12:00
Jonathan Turner
5d47ad386e
Merge pull request #535 from vsoch/another/quay.io
Adding missing quay.io registry references
2019-08-30 14:45:42 +12:00
Vanessa Sochat
2c4777d2b5
adding missing quay.io registry references
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-29 21:48:30 -04:00
Jonathan Turner
8d21c7383e
Merge pull request #534 from vsoch/pr/build-from-quay
FROM image for Docker multistage build needs to be from quay.io
2019-08-30 13:39:58 +12:00
Jonathan Turner
5ef70c5f01
Update README.md 2019-08-30 13:39:20 +12:00
Vanessa Sochat
2983fc1dea
so close, needed to have quay.io as from image base (not docker hub)
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-29 20:56:48 -04:00
Jonathan Turner
f81dbee5f9
Merge pull request #533 from vsoch/tweak/ci
Updating Docker Build instructions in README, and fixing tags for CircleCI
2019-08-30 12:32:52 +12:00
Vanessa Sochat
6d0ea5eda4
updating README to include instructions and link for quay.io, and removing multistage build for devel branch
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-29 18:45:24 -04:00
Jonathan Turner
2ae7528328
Merge pull request #532 from vsoch/test/ci
Updating CircleCI
2019-08-30 09:54:44 +12:00
Vanessa Sochat
40ca353c48
trivial change to trigger ci
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-29 16:52:36 -04:00
Jonathan Turner
ebce7231a2
Merge pull request #527 from taiki-e/in_band_lifetimes
Remove usage of in_band_lifetimes feature
2019-08-30 05:10:23 +12:00
Taiki Endo
58a32490c5 Remove usage of in_band_lifetimes feature 2019-08-30 01:32:31 +09:00
Jonathan Turner
f393938515
Merge pull request #531 from est31/no_specialization
Remove unused functions that use specialization
2019-08-30 04:02:20 +12:00
Jonathan Turner
e5d67d5481
Merge pull request #526 from est31/remove_crate_vis
Replace crate visibility identifier with pub(crate)
2019-08-30 03:53:09 +12:00
Jonathan Turner
b6db233c73 Start working on save 2019-08-30 03:39:16 +12:00
Yehuda Katz
0b2f3a4924
Merge pull request #529 from taiki-e/futures
Update futures-preview to 0.3.0-alpha.18
2019-08-29 08:27:18 -07:00
Yehuda Katz
31dd643642
Merge pull request #500 from vsoch/add/circleci
Adding two Dockerfiles to deploy to Docker Hub with CircleCI
2019-08-29 07:59:22 -07:00
est31
7df48110ab Remove unused functions that use specialization 2019-08-29 16:14:43 +02:00
Taiki Endo
ffdde542c7 Update futures-preview to 0.3.0-alpha.18 2019-08-29 22:42:49 +09:00
est31
c87fa14fc8 Replace crate visibility identifier with pub(crate)
Result of running:

find src -name *.rs -exec sed -i 's/crate /pub(crate) /g' {} \;
2019-08-29 13:09:09 +02:00
Andrés N. Robalino
6638fe4ab3
Merge pull request #524 from androbtech/tsv-support
[from/to]tsv support.
2019-08-29 04:26:51 -05:00
Andrés N. Robalino
f1e8c433c2 [from/to]tsv support. 2019-08-29 04:02:16 -05:00
Andrés N. Robalino
f050908084
Merge pull request #522 from androbtech/readability
Readability improvement.
2019-08-29 01:56:39 -05:00
Andrés N. Robalino
9810df25b4 Readability improvement. 2019-08-29 01:31:56 -05:00