Commit Graph

5846 Commits

Author SHA1 Message Date
chriseth
dff9633084 Test and fixes for payable fallback in ABI. 2016-09-06 10:59:13 +02:00
chriseth
384f189a6a Tests for payable / private combination. 2016-09-06 10:58:56 +02:00
walter-weinmann
215fc04857 Considering comments from @chriseth regarding ExpressionStatement and FunctionCall. 2016-09-06 05:26:18 +02:00
chriseth
ff11aa1927 Change placeholder style. 2016-09-05 21:32:27 +02:00
chriseth
1eb7ddbb09 Make constant and payable mutually exclusive. 2016-09-05 21:28:28 +02:00
chriseth
9c64edf110 Change function type to include and propagate payable and constant modifier. 2016-09-05 21:28:28 +02:00
Alex Beregszaszi
962531af96 Merged in changes from chriseth/payable 2016-09-05 21:28:28 +02:00
Alex Beregszaszi
680b83b2a4 Mark every other test payable where neccesary in EndToEndTest 2016-09-05 21:28:28 +02:00
Alex Beregszaszi
34a6afbd77 Include EndToEnd test for payable keyword 2016-09-05 21:28:18 +02:00
Alex Beregszaszi
75d556a2cf Do not include the payable keyword for constructors 2016-09-05 21:28:18 +02:00
Alex Beregszaszi
a7794b1a68 Include ABI JSON test for payable keyword 2016-09-05 21:28:18 +02:00
Alex Beregszaszi
a34f2f1a31 Support payable keyword for functions 2016-09-05 21:28:18 +02:00
walter-weinmann
8f233b545f Changes related to issues #984, #989, #999, #1001 and #1004. 2016-09-05 18:58:58 +02:00
Yoichi Hirai
e2b787cdd0 Merge pull request #1005 from ethereum/modifierbody
Require ";" after "_"
2016-09-05 18:28:32 +02:00
chriseth
be6a5f44d7 Merge pull request #993 from chriseth/fixshacrash
Guard encoding crashes with assertions.
2016-09-05 18:09:32 +02:00
Yoichi Hirai
3f2027ee5f Separate the try/catch blocks on JSON output generation and formal method output generation.
For the reason, see @axic's comment here https://github.com/ethereum/solidity/pull/994#discussion_r77272236
and the following discussion.
2016-09-05 18:00:24 +02:00
chriseth
bf3f45c948 Improve error message. 2016-09-05 17:11:23 +02:00
chriseth
940c5a8612 Merge pull request #994 from chriseth/catchjson
Catch more exceptions in jsonCompiler.
2016-09-05 16:15:07 +02:00
chriseth
3b2174f7a8 Update grammar.txt to reflect the change. 2016-09-05 16:13:31 +02:00
chriseth
873d8bb393 Merge pull request #1007 from duaraghav8/develop
add solium to "Available Solidity Integrations"
2016-09-05 15:54:51 +02:00
chriseth
69c175fe22 Do not pay new account gas.
If we checked that the target contract exists, we do not have
to pay the "new account gas".
2016-09-05 15:52:44 +02:00
Raghav Dua
7f64984bb1 add solium to "Available Solidity Integrations" 2016-09-05 19:19:45 +05:30
chriseth
02984b8de1 Require ";" after "_" 2016-09-05 14:54:50 +02:00
Dimitry
183cd70c47 add "pragma solidity ^0.4.0;" to code examples 2016-09-05 14:54:54 +03:00
chriseth
341c9436a8 Merge pull request #996 from chriseth/externaltypesforevents
Do not use internal types for event parameters.
2016-09-02 16:15:22 +02:00
chriseth
a787e70594 Fix linking for libraries with underscores. 2016-09-02 01:17:02 +02:00
chriseth
24ffc38575 Do not use internal types for event parameters. 2016-09-02 00:39:30 +02:00
chriseth
ada31fa9b7 Do not emit non-utf8 strings for ast json. 2016-09-02 00:22:03 +02:00
chriseth
52ee47190d Catch more exceptions in jsonCompiler. 2016-09-01 20:14:00 +02:00
chriseth
4134834ff3 Guard encoding crashes with assertions. 2016-09-01 20:07:14 +02:00
chriseth
b5d941d3d9 Merge pull request #935 from chriseth/pragma
Version pragma
2016-09-01 11:02:50 +02:00
chriseth
4a26adfb7d Merge pull request #987 from winsvega/develop
fix CompilerStack::absolutePath
2016-09-01 01:16:59 +02:00
chriseth
4abba77ddc Changelog entry. 2016-09-01 00:04:35 +02:00
chriseth
7f5ab9a616 Typo. 2016-09-01 00:03:02 +02:00
chriseth
459d2dd7cd Fix version pragmas in tests. 2016-09-01 00:03:01 +02:00
chriseth
d87450b9b2 Use version string (including prerelease) for pragma matching. 2016-09-01 00:02:51 +02:00
chriseth
3c412ed2f6 Version pragma. 2016-09-01 00:02:51 +02:00
chriseth
52d9f89712 Merge pull request #951 from Denton-L/interesting-case
Document use of smaller storage variables
2016-08-31 22:37:05 +02:00
chriseth
18abafe029 Merge pull request #960 from Denton-L/change-else-style
Change else style
2016-08-31 22:34:44 +02:00
Bob Summerwill
58dbd162ab Merge pull request #986 from bobsummerwill/develop
Corrected accidental non-ANSI characters in comments
2016-08-31 13:02:24 -07:00
Bob Summerwill
be3f4bda21 Corrected accidental non-ANSI characters in comments. 2016-08-31 13:01:48 -07:00
chriseth
b962d3c071 Merge pull request #975 from blockchaindev/bug/674-solc-crash
solc crashes without 'export LC_ALL=C'
2016-08-31 21:20:05 +02:00
Dimitry
9c3fae823f fix yml script 2016-08-31 22:11:15 +03:00
Dimitry
061aee2e97 fix CompilerStack::absolutePath 2016-08-31 22:10:20 +03:00
chriseth
9714bcf6eb Merge pull request #983 from winsvega/wintest2
soltest on windows
2016-08-31 18:30:20 +02:00
Denton Liu
a8c5d2bbde Fix syntax error 2016-08-31 11:17:11 -04:00
Dimitry
fa5b55a211 soltest on windows 2016-08-31 18:29:10 +04:00
winsvega
3ccd19868a Merge pull request #947 from winsvega/soltest
rename --ipc to --ipcpath
2016-08-31 12:45:36 +03:00
Christopher Gilbert
68bd463bea Code review changes: Renamed function and added some documentation about what the function does and why 2016-08-30 20:32:30 +01:00
Christopher Gilbert
a91bca7937 Code review changes: stylistic changes, and removed redundant call to set locale. 2016-08-30 16:13:21 +01:00