Commit Graph

8502 Commits

Author SHA1 Message Date
Alex Beregszaszi
d5188fb671 Introduce IndentedWriter 2017-08-10 22:47:09 +01:00
Alex Beregszaszi
3dcf089c3f Simplify if/else statements in Types 2017-08-10 19:14:33 +01:00
Alex Beregszaszi
9358001ba4 Use temporary variable for sum example 2017-08-10 17:47:35 +01:00
Alex Beregszaszi
34503d98d7 Move init/cond into the for loop 2017-08-10 17:30:57 +01:00
Alex Beregszaszi
a323486a9b Add pure assembly example for summing 2017-08-10 17:30:57 +01:00
gubatron
ad7a63f890 FunctionType operator== boolean refactor 2017-08-10 17:04:40 +01:00
Alex Beregszaszi
1b32cdcf21 Check for payable when comparing function types 2017-08-10 17:03:45 +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