Commit graph

373 commits

Author SHA1 Message Date
Colin Benner
3e2003e31c Cover more cases in Context::describe_unit 2018-11-15 18:55:45 +01:00
Colin Benner
260de942d4 Test conformance errors more thoroughly 2018-11-15 18:55:45 +01:00
Colin Benner
579aeb4ea0 Test more parts of Context::lookup 2018-11-15 18:55:45 +01:00
Colin Benner
592c76cc29 Test Expr::fmt 2018-11-15 18:55:45 +01:00
Colin Benner
eb48aecf84 Run all tests when collecting coverage information 2018-11-15 18:55:45 +01:00
Colin Benner
0ddb576443 Do not use clippy in Travis build for now 2018-11-15 18:55:45 +01:00
Colin Benner
9718c1675d Add Travis and Codecov configuration 2018-11-15 18:55:45 +01:00
Colin Benner
08d786ee5a Add another test for base conversions 2018-11-15 18:55:45 +01:00
Tiffany Bennett
0db3f4dcd0
Merge pull request #34 from yzhs/fix-openssl-build
Update hyper-native-tls dependency
2018-09-18 22:28:09 -07:00
Colin Benner
972e00730e Update hyper-native-tls dependency
The old version depended on a version of the openssl crate that does not
compile when using the recently released version 1.1.1 of OpenSSL.
2018-09-18 13:18:23 +02:00
Tiffany Bennett
c9734c8c83
Merge pull request #32 from programble/fix/linefeed
Update linefeed 0.4.0
2018-03-13 10:16:12 -07:00
Curtis McEnroe
48328cac9a
Update linefeed 0.4.0
linefeed 0.2.6 doesn't build on FreeBSD.
2018-03-13 12:33:09 -04:00
Tiffany Bennett
d5aaddd1d6
Merge pull request #31 from programble/fix/stdin-lock
Fix main_interactive without linefeed
2018-03-12 19:20:29 -07:00
Tiffany Bennett
6fdde5fa06
Merge pull request #30 from programble/fix/config-dir
Use XDG_CONFIG_HOME on all unix except macos
2018-03-12 19:19:33 -07:00
Curtis McEnroe
6372bda17e
Fix main_interactive without linefeed
Stdin does not implement BufRead, StdinLock does.
2018-03-12 21:44:15 -04:00
Curtis McEnroe
afa051658b
Use XDG_CONFIG_HOME on all unix except macos 2018-03-12 21:34:48 -04:00
Tiffany Bennett
20751cfa9a Release 0.4.3 2018-03-04 14:01:29 -08:00
Tiffany Bennett
607c017a5a Merge pull request #27 from whitequark/master
CLI: fall back to noninteractive-with-prompt
2017-10-05 21:43:49 -07:00
whitequark
06da2558a7 Fix a lot of "unused mut" warnings. 2017-10-06 04:30:07 +00:00
whitequark
dda41ddb32 CLI: fall back to noninteractive-with-prompt.
Sometimes it's useful to delegate REPL input handling to another
piece of software, e.g. SublimeREPL, but behave in the same way,
e.g. showing the prompt, in all other ways.
2017-10-06 03:38:39 +00:00
Tiffany Bennett
164f2a988e Make % an operator with higher precedence than pow 2017-10-05 20:33:00 -07:00
Tiffany Bennett
d0b31fc496 Merge pull request #24 from murarth/update-linefeed
Update version of linefeed dependency
2017-08-13 20:47:56 -07:00
Murarth
d5bbb538ba Update version of linefeed dependency 2017-08-13 19:58:21 -07:00
Tiffany Bennett
1514a37196 Merge pull request #22 from whitequark/master
The author of BTC-e was arrested and this broke our exchange rate function
2017-07-26 21:38:57 -07:00
whitequark
b91f9c1031 BTC-e is dead, long live blockchain.info. 2017-07-26 20:25:57 +00:00
Tiffany Bennett
afef1469d2 Release v0.4.2 2017-05-31 19:43:39 -07:00
Tiffany Bennett
a72e6b751e Add support for CRLF line endings in definitions.units 2017-05-31 19:41:22 -07:00
Tiffany Bennett
695d52e0f8 Release v0.4.1 2017-05-26 19:00:59 -07:00
Tiffany Bennett
a93e9c1429 Fix zombie processes in rink-web 2017-05-26 18:23:27 -07:00
Tiffany Bennett
6da83854a4 Compile irc without ssl support, preventing a package conflict 2017-05-26 18:16:10 -07:00
Tiffany Bennett
d720fd9e00 Merge pull request #19 from LPGhatguy/master
Fix Windows build
2017-05-21 23:06:58 -07:00
Lucien Greathouse
45d87eaedb Fix Windows build 2017-05-21 22:23:37 -07:00
Tiffany Bennett
bfc24596c0 Merge pull request #17 from whitequark/formula
Automatically derive molar mass from formulas
2017-02-11 16:31:14 -08:00
Tiffany Bennett
41157a1bb9 Merge pull request #16 from whitequark/master
Use hyper-native-tls for fetching data
2017-02-11 16:31:01 -08:00
whitequark
ec6f5ebaf2 Automatically derive molar mass from formulas.
This commit does not recognize any radioactive elements in formulas
that rarely if ever appear as a part of compound, i.e. every one
except Bi, Th, U, Pu. This is done to be able to recognize some
common abbreviations in organic chemistry: Me, Et, Ac, Ph, some
of which clash with transuranics.
2017-02-11 13:34:38 +00:00
whitequark
fcf0ea3e59 Fix whitespace in definitions.units. 2017-02-11 13:34:38 +00:00
whitequark
7c254725d3 Update iron to 0.5 to be compatible with hyper-native-tls. 2017-02-11 13:33:48 +00:00
whitequark
380bb11798 Use hyper-native-tls for fetching data.
Fixes #15.
2017-02-11 13:33:48 +00:00
whitequark
f3b7ad6d1b Upgrade hyper to 0.10. 2017-02-11 13:33:48 +00:00
whitequark
f0ab44ca39 Add .gitignore. 2017-02-11 13:33:48 +00:00
Tiffany Bennett
cc189993ad Add float 0 to division by zero check 2016-12-04 22:50:35 -05:00
Tiffany Bennett
efc8bd2b51 Add pass-through for sandbox feature in rink-irc 2016-11-23 19:51:58 -05:00
Tiffany Bennett
2b86d5db03 Fix conversion to substance 2016-11-23 19:18:52 -05:00
Tiffany Bennett
ad1e68947f Fix tests 2016-11-21 11:33:59 -05:00
Tiffany Bennett
2b40ed3bd0 Max base is actually 36, not 62 2016-11-21 11:30:20 -05:00
Tiffany Bennett
a9af5fb755 Add -> digits and -> digits N for more digits 2016-11-20 22:21:24 -05:00
Tiffany Bennett
373d7f2bb1 Add persistent history to CLI 2016-11-20 15:47:49 -05:00
Tiffany Bennett
a52795cc1a Add speed of light 2016-11-10 18:50:10 -05:00
Tiffany Bennett
298498c955 Fix conflicting fen unit 2016-11-10 18:49:57 -05:00
Tiffany Bennett
5ec3e4231f Add unit categories 2016-11-10 17:14:14 -05:00