Commit Graph

8226 Commits

Author SHA1 Message Date
Alex Beregszaszi
d5188fb671 Introduce IndentedWriter 2017-08-10 22:47:09 +01:00
Alex Beregszaszi
abe6eb9830 Merge pull request #2700 from ethereum/abiTests
Some more ABI tests.
2017-08-10 16:59:09 +01:00
chriseth
95acbc7a9f Some more ABI tests. 2017-08-10 15:49:02 +02:00
chriseth
41e3cbe084 Merge pull request #2690 from ethereum/experimental-pragma
Support experimental feature pragma
2017-08-10 15:23:34 +02:00
Alex Beregszaszi
470950e75e Add tests for experimental pragma 2017-08-10 00:15:25 +01:00
Alex Beregszaszi
57c2451130 Introduce ExperimentalFeatures header 2017-08-10 00:15:25 +01:00
Alex Beregszaszi
0a5553b7b1 Merge pull request #2701 from ethereum/determineDynamicEncoding
Add isDynamicallyEncoded member function to types.
2017-08-09 23:49:06 +01:00
Alex Beregszaszi
690ed37fd4 Reject wildcard and multiple experimental pragmas 2017-08-09 23:41:46 +01:00
Alex Beregszaszi
de9e758ef7 Reject unsupported experimental feature names 2017-08-09 23:41:46 +01:00
Alex Beregszaszi
e44da40835 Warn if using experimental pragma 2017-08-09 23:41:46 +01:00
Alex Beregszaszi
fbcc5f4ee5 Support experimental feature pragma 2017-08-09 23:41:46 +01:00
chriseth
b38f31617e Add isDynamicallyEncoded member function to types. 2017-08-09 23:18:42 +01:00
chriseth
279e64ae75 Merge pull request #2720 from ethereum/visibility-parser
Show previous visibility specifier in parser error
2017-08-09 17:27:46 +02:00
Alex Beregszaszi
b210db8058 Make toString(visibility) a helper 2017-08-09 14:58:59 +01:00
Alex Beregszaszi
efd45f64a5 Show previous visibility specifier in parser error 2017-08-09 14:30:17 +01:00
Alex Beregszaszi
a8ca623a0f Add test for multiple visibilites on functions 2017-08-09 14:30:02 +01:00
chriseth
a4e39592c7 Merge pull request #2719 from ethereum/constant
Rename Token::Const to Token::Constant
2017-08-09 14:53:53 +02:00
chriseth
4b0ea1fba0 Merge pull request #2718 from ethereum/globals
Remove some global symbols
2017-08-09 14:53:24 +02:00
Alex Beregszaszi
81b1ecb7be Merge pull request #2717 from vladislav-ankudinov/patch-1
fix typo 'onte' -> 'onto'
2017-08-09 13:06:01 +01:00
Alex Beregszaszi
3b41cd3c23 Rename Token::Const to Token::Constant 2017-08-09 12:50:53 +01:00
vladislav-ankudinov
79137e4703 fix typo 'onte' -> 'onto' 2017-08-09 14:46:51 +03:00
Alex Beregszaszi
3e2f0b589d Remove some global symbols 2017-08-09 12:44:53 +01:00
Alex Beregszaszi
81887bc7eb Merge pull request #2716 from ethereum/versionIncrement
Set version to 0.4.16.
2017-08-09 12:10:12 +01:00
chriseth
df41793466 Set version to 0.4.16. 2017-08-09 11:40:46 +02:00
chriseth
d015b5818e Merge pull request #2715 from ethereum/release
Merge release back into develop.
2017-08-09 11:39:50 +02:00
chriseth
bbb8e64fbe Merge pull request #2710 from ethereum/develop
Merge develop into release for 0.4.15
2017-08-08 17:15:30 +02:00
chriseth
8b45bddb55 Merge pull request #2709 from ethereum/updateChangelog
Update changelog.
2017-08-08 16:41:39 +02:00
chriseth
3aef36b1cf Update changelog. 2017-08-08 15:56:52 +02:00
chriseth
41e724360f Merge pull request #2697 from ethereum/unimplemented-inlined-library
Raise error when using unimplemented internal library functions.
2017-08-08 15:53:44 +02:00
Alex Beregszaszi
8df89c5d5b Disable unimplemented library functions instead 2017-08-08 12:42:10 +01:00
Alex Beregszaszi
1ada48f61e Raise error when using unimplemented internal library functions. 2017-08-08 11:58:00 +01:00
Alex Beregszaszi
bea37e5682 Merge pull request #2702 from SaadSurya/patch-1
Update installing-solidity.rst
2017-08-07 19:51:02 +01:00
SaadSurya
8a9f62842d Update installing-solidity.rst 2017-08-07 16:53:56 +05:00
chriseth
212454a96b Merge pull request #2698 from ethereum/unimplemented-constructor
Constructors must be implemented if declared.
2017-08-07 12:24:36 +02:00
Alex Beregszaszi
bb0eb57c2f Constructors must be implemented if declared. 2017-08-04 20:38:45 +01:00
Alex Beregszaszi
a372941a44 Merge pull request #2687 from ethereum/show-unimplemented-funcs
Show unimplemented function if trying to instantiate an abstract class
2017-08-04 19:46:09 +01:00
chriseth
f3af014afd Merge pull request #2692 from ethereum/shadowing-overload
Do not mark overloaded functions as shadowing
2017-08-04 19:49:25 +02:00
chriseth
eacc67c430 Three more tests for shadowing. 2017-08-04 19:08:20 +02:00
chriseth
060d229a22 Search for shadowee starting from parent scope. 2017-08-04 19:06:24 +02:00
Alex Beregszaszi
32acadf43d Do not mark overloaded functions as shadowing 2017-08-04 19:06:23 +02:00
Alex Beregszaszi
2186401479 Remove duplicated check for unimplemented functions 2017-08-04 14:03:38 +01:00
Alex Beregszaszi
ef8c404c45 Fix tests to use unimplementedFunctions 2017-08-04 14:03:37 +01:00
Alex Beregszaszi
494dea262e Show unimplemented function if trying to instantiate an abstract class 2017-08-04 14:03:37 +01:00
Alex Beregszaszi
c835bcec62 Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations 2017-08-04 14:03:37 +01:00
chriseth
dc0f85c4fb Merge pull request #2685 from elopio/patch-1
Add the command to install the stable solc snap
2017-08-04 14:51:31 +02:00
chriseth
38e9505a83 Merge pull request #2673 from ethereum/builtin-gas
Disallow gas modifier on sha256/ripemd160/ecrecover
2017-08-04 14:43:15 +02:00
chriseth
e48730fed9 Merge pull request #2696 from AdrianClv/patch-1
Removes reference to stack depth attack
2017-08-04 14:21:04 +02:00
Adrián Calvo
8d832c7cd3 Removes reference to stack depth attack
Changed the old stack depth attack reference to a generic execution of an untrusted contract to keep the suggestion of the withdrawal pattern.
2017-08-04 14:08:37 +02:00
chriseth
bd9e91085b Merge pull request #2679 from ethereum/delegatecall
.delegatecall() should always return a boolean of execution status
2017-08-02 15:46:02 +02:00
chriseth
04166ce108 Merge pull request #2688 from ethereum/sourceformatter
More readable format for sourceformatter
2017-08-02 14:45:11 +02:00