Commit Graph

7109 Commits

Author SHA1 Message Date
chriseth
a500581ab0 Bump version to 0.4.11. 2017-03-15 18:53:12 +01:00
chriseth
59099908c5 Merge branch 'release' into develop 2017-03-15 17:26:06 +01:00
chriseth
39964f574e Merge pull request #1781 from ethereum/changelog
Finalize changelog.
2017-03-15 17:06:14 +01:00
chriseth
4d2f73c00d Finalize changelog. 2017-03-15 17:04:16 +01:00
chriseth
0c8a766146 Merge pull request #1698 from ethereum/exp-notation
Fix scientific notation in number literals
2017-03-15 14:55:45 +01:00
Alex Beregszaszi
07d775294b Document scientific notation in integer literals 2017-03-15 13:16:16 +00:00
Alex Beregszaszi
b28be08b6d Add tests for negative base 2017-03-15 13:07:28 +00:00
Alex Beregszaszi
b0a23fa77d Add tests for fractional numbers in exponential notation 2017-03-15 13:06:27 +00:00
Alex Beregszaszi
e923f27ea8 Split out parseRational from isValidLiteral 2017-03-15 13:06:27 +00:00
Alex Beregszaszi
dde87de4cf Rename x to value 2017-03-15 13:06:27 +00:00
Alex Beregszaszi
a2b9f52ca4 Disallow radix points in hex literals 2017-03-15 13:06:27 +00:00
Alex Beregszaszi
07045d492f Do not try parsing hex numbers as scientific notation 2017-03-15 13:06:27 +00:00
Alex Beregszaszi
dfc8f890bf Support older version of boost 2017-03-15 13:06:27 +00:00
Alex Beregszaszi
1083e6da68 Support negative exponent 2017-03-15 13:06:26 +00:00
Alex Beregszaszi
6014c3fe16 Add tests for scientific notation 2017-03-15 13:06:26 +00:00
Alex Beregszaszi
924a8fff6b Fix exponentional notation in number literals 2017-03-15 13:06:24 +00:00
chriseth
5a939c4e1a Correctly find contracts with other delimiters. 2017-03-15 12:07:59 +01:00
chriseth
6258fe7185 Merge pull request #1778 from ethereum/warnsendtransfer
Mention 'transfer' in warning about unchecked 'send'.
2017-03-15 11:41:40 +01:00
chriseth
ab178b8bac Mention 'transfer' in warning about unchecked 'send'. 2017-03-15 11:10:24 +01:00
Yoichi Hirai
d134fda0c0 Merge pull request #1729 from ethereum/constantvariables
Only allow pure expressions for constant state variables.
2017-03-15 10:03:35 +01:00
chriseth
9f328ff749 Turn non-constant constants error into warning. 2017-03-14 19:25:16 +01:00
Yoichi Hirai
64e00e5371 Merge pull request #1767 from ethereum/longlibnames
Do not crash on long linker commandline argument.
2017-03-14 18:31:45 +01:00
Yoichi Hirai
409eb9e3e4 Merge pull request #1765 from ethereum/requireAssert
Require and Assert.
2017-03-14 15:22:01 +01:00
chriseth
47cd8964b8 Require and Assert. 2017-03-14 14:21:33 +01:00
chriseth
14196f2621 Allow long library names. 2017-03-14 11:58:43 +01:00
Yoichi Hirai
9aab3b8639 Merge pull request #1768 from ethereum/abortiffileexists
Do not overwrite files unless forced.
2017-03-13 16:37:55 +01:00
chriseth
c65d506811 Documentation update. 2017-03-13 13:30:23 +01:00
chriseth
bdbd3b158e Extend documentation for constant state variables. 2017-03-13 13:30:23 +01:00
chriseth
592cec7e90 Disallow constants that are neither value types nor strings. 2017-03-13 13:30:23 +01:00
chriseth
4077e56a2f Documentation. 2017-03-13 13:30:23 +01:00
chriseth
fdc41f3b07 Changelog entry. 2017-03-13 13:30:23 +01:00
chriseth
14948e514d Allow enum values for constants. 2017-03-13 13:30:23 +01:00
chriseth
49cfacced2 End to end tests for constants. 2017-03-13 13:30:23 +01:00
chriseth
f39763e91c Type checking for pure expressions. 2017-03-13 13:30:21 +01:00
chriseth
bde913f088 Some new tests for constant variables. 2017-03-13 13:29:51 +01:00
Yoichi Hirai
ef8b56a058 Merge pull request #1751 from ethereum/warnLiteralExpBase
Warn if base of exponentiation operation is a literal.
2017-03-10 19:25:47 +01:00
chriseth
31a5e5bfef Do not overwrite files unless forced. 2017-03-10 19:23:43 +01:00
chriseth
864bfafbcd Test for (not) overwriting files. 2017-03-10 19:22:28 +01:00
chriseth
f1dd79c743 Merge pull request #1766 from ryepdx/develop-gcc6.3.0-boost1.63.0
Updates for gcc 6.3.0 and Boost 1.63.0
2017-03-10 10:08:55 +01:00
Ryan Casey
fe8d09a3c1 Fix 'ambiguous overload for operator==' Boost error. 2017-03-09 17:04:26 -08:00
Ryan Casey
797e05ba08 Resolve build-stopping error about 'minor' and 'major' being defined in <sys/types.h> 2017-03-09 17:03:19 -08:00
chriseth
b22369d590 Merge pull request #1763 from nemofisch/develop
Fix delegation loop in Ballot example contract
2017-03-09 12:39:25 +01:00
Remo Fürst
b5c17d7058 Fix delegation loop in Ballot example contract
fixes #1753
2017-03-08 22:45:27 +01:00
Yoichi Hirai
e364909e06 Merge pull request #1747 from ethereum/fixICEInternalConstructor
Move privateness of constructor into AST itself.
2017-03-08 17:49:14 +01:00
chriseth
3f9a775834 Merge pull request #1748 from ethereum/singletonArray
Use mobile type for singleton array.
2017-03-08 16:11:03 +01:00
chriseth
69a06fe163 Merge pull request #1749 from ethereum/compoundForTuples
Disallow compound assignment for tuples.
2017-03-08 16:10:40 +01:00
chriseth
c7d61a2c6a Changelog entry. 2017-03-08 12:42:24 +01:00
chriseth
93ef7fd260 Disallow compound assignment for tuples. 2017-03-08 12:42:07 +01:00
chriseth
276229cc58 Tests for no compound assignment for tuples. 2017-03-08 12:42:07 +01:00
Yoichi Hirai
78f7dd2344 Merge pull request #1750 from ethereum/asmoctal
Disallow octal numbers in parser.
2017-03-08 12:24:22 +01:00