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
Tiffany Bennett
212a7028db
Release v0.4.0
2016-10-31 18:47:30 -04:00
Tiffany Bennett
dd633aa060
Merge pull request #8 from Koshroy/file_stdin_support
...
Add File and Stdin Command Execution Support
2016-10-31 16:52:46 -04:00
Koushik Roy
1eed569b6d
Add File and Stdin Command Execution Support
...
This change adds the ability for Rink to read from a file or stdin.
The file name is provided as a single command-line argument. Support
for stdin comes by specifying "-" as the filename.
The change:
1. Factors out the main function into an interactive and
non_interactive version
2. Makes the linefeed compile option compile main straight into
main_noninteractive
3. Checks whether the command line argument is "-" and based on that
will choose to open stdin.
4. Properly makes sure main_noninteractive finishes execution when
its input file hits an EOF.
2016-10-31 13:12:10 -07:00
Tiffany Bennett
d049db7218
Change precedence rules
...
Multiplication by juxtaposition is now higher precedence, / and * are
the same precedence, and both are left associative. This makes
expressions like `density of milk * 10L` work as intended.
2016-10-27 19:06:40 -04:00
Tiffany Bennett
b8af005352
Change / to be right-associative
2016-10-26 15:32:58 -04:00
Tiffany Bennett
3a0760681a
Update to 2016-10-20 nightly
...
rustc_macro -> proc_macro, update serde.
2016-10-23 15:48:50 -04:00
Tiffany Bennett
198f9ac3d2
Add chrono-tz for timezone support
2016-10-22 21:52:08 -04:00
Tiffany Bennett
fa6ace73a4
Allow datetime offsets that look like "-0400"
2016-10-22 11:16:15 -04:00
Tiffany Bennett
7f73a2000d
Make seconds optional in date patterns
2016-10-22 11:11:44 -04:00
Tiffany Bennett
f175bf69a5
Print full value of integers in base 2/8/16/32
2016-10-22 11:08:15 -04:00
Tiffany Bennett
0fd73068b4
Show ratios instead of input/output on substances
2016-10-15 19:12:42 -04:00
Tiffany Bennett
55e9ab9f8d
Fix input and output of substances being backwards
2016-10-15 19:12:35 -04:00
Tiffany Bennett
7c8fa3dc1d
Allow unit files to reference already loaded ones
2016-10-11 12:47:26 -04:00
Tiffany Bennett
716efc2edf
Allow units with spaces by wrapping them in ""
2016-10-11 12:43:58 -04:00
Tiffany Bennett
06d280b4ae
Use correct content-type for opensearch.xml
2016-10-10 12:40:27 -04:00
Tiffany Bennett
37925d59c3
web: Add config file + opensearch support
2016-10-10 12:23:30 -04:00
Tiffany Bennett
914f3a8dc2
Add boostrap JS to fix navbar on mobile
2016-10-09 17:31:48 -04:00
Tiffany Bennett
2770b88201
Make Number a struct
2016-10-08 19:46:01 -04:00