Commit Graph

9577 Commits

Author SHA1 Message Date
chriseth
c1bf6fb96f
Merge pull request #3634 from ethereum/useCorrectVersionForEmit
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-07 18:13:11 +01:00
Alex Beregszaszi
bd7bc7c473
Merge pull request #3661 from ethereum/chriseth-patch-1
Update Changelog.md
2018-03-07 14:01:36 +01:00
chriseth
cd2e1e079a Clarify that the experimental flag is not set for "experimental 0.5.0" 2018-03-07 13:56:57 +01:00
chriseth
478ce4fc38
Merge pull request #3668 from ethereum/fixExperimentalTest
Fix test.
2018-03-06 22:27:57 +01:00
chriseth
ea48d8ade3 Fix test. 2018-03-06 20:15:43 +01:00
ankit raj
7566787cd2 Some words on Remix 2018-03-06 19:39:53 +01:00
Alex Beregszaszi
ba8819542f
Merge pull request #3611 from ethereum/warn-using-address-overload
Warn if using address overloads on contracts
2018-03-06 19:13:55 +01:00
chriseth
baa1526539
Merge pull request #3664 from ethereum/literalsHexUnitSmallFix
Use double quotes for suggestion about hex literals and denominations.
2018-03-06 19:01:25 +01:00
Alex Beregszaszi
250a6bad8c
Merge pull request #3527 from ethereum/warnLooseAsm
Warn about using loose assembly.
2018-03-06 18:59:23 +01:00
Daniel Kirchner
b4d38c5491 Use double quotes for suggestion about hex literals and denominations. 2018-03-06 18:09:54 +01:00
chriseth
95ca829750
Merge pull request #3663 from ethereum/gasleftEmscripten
Add gasleft to FunctionType::richIdentifier().
2018-03-06 18:06:30 +01:00
chriseth
af7c64c1fc Changelog entry. 2018-03-06 17:45:47 +01:00
chriseth
84d711fd1d Tests for warnings/errors for loose assembly. 2018-03-06 17:45:34 +01:00
chriseth
fd1662d1c4 Warn about using loose inline assembly features as experimental 0.5.0 feature. 2018-03-06 17:45:34 +01:00
Daniel Kirchner
fb4d01e2cd Add gasleft to FunctionType::richIdentifier(). 2018-03-06 17:29:04 +01:00
Alex Beregszaszi
14b12ae745
Merge pull request #2966 from ethereum/useStaticCall
Use STATICCALL for pure function calls.
2018-03-06 17:07:03 +01:00
Alex Beregszaszi
83dacbf669
Merge pull request #3549 from ethereum/fixmultidim
Properly detect which array and struct types are unsupported by the old ABI encoder.
2018-03-06 15:51:17 +01:00
chriseth
3057aeece4 Document STATICCALL usage in experimental 0.5.0. 2018-03-06 15:32:45 +01:00
chriseth
a3593df43b Test for using staticcall for view and pure functions. 2018-03-06 15:30:18 +01:00
chriseth
b467116ea8 Use STATICCALL for pure function calls if EVM version supports it and 0.5.0 is activated. 2018-03-06 15:30:18 +01:00
Alex Beregszaszi
0df4c64884
Merge pull request #3658 from ethereum/newcppEthimage
Use new eth binary for trusty.
2018-03-06 15:26:06 +01:00
chriseth
e3bd3020d1 Use new eth binary for trusty. 2018-03-06 14:16:51 +01:00
chriseth
70a5ddd03a
Merge pull request #3659 from ethereum/increaseCacheSize
Increase ccache size.
2018-03-06 14:15:36 +01:00
chriseth
d7fe0bbc72 Increase ccache size. 2018-03-06 11:11:33 +01:00
chriseth
5f5af650ce
Merge pull request #3653 from ethereum/docNegativeSourceIndex
Document the meaning of sourceIndex "-1" in source mappings.
2018-03-06 09:28:53 +01:00
chriseth
f6c0daec14
Merge pull request #3652 from ethereum/gasleft_v2
Use StaticAnalyzer to deprecate msg.gas instead of conditionally remo…
2018-03-06 09:26:14 +01:00
Alex Beregszaszi
a9e02accb9
Merge pull request #3655 from lastperson/patch-3
Revert warning update about `view` modifier
2018-03-06 09:05:56 +01:00
Oleksii Matiiasevych
5d486b741f
Revert warning update about view modifier 2018-03-06 14:19:59 +07:00
Daniel Kirchner
154fd1d6cb Document the meaning of sourceIndex "-1" in source mappings. 2018-03-06 02:05:35 +01:00
chriseth
41ea502f0e
Merge pull request #3648 from ethereum/circlecache
Try new caching keys.
2018-03-05 23:39:45 +01:00
chriseth
556fe8a574 Build with four parallel jobs. 2018-03-05 23:22:59 +01:00
chriseth
8259ce1e94 Restrict ccache cache size. 2018-03-05 23:22:59 +01:00
chriseth
d8bfa02deb Try new caching keys. 2018-03-05 23:22:59 +01:00
Daniel Kirchner
91b13b734d Use StaticAnalyzer to deprecate msg.gas instead of conditionally removing it in MagicType. 2018-03-05 23:16:26 +01:00
chriseth
9d67e9b4fc
Merge pull request #3640 from AnthonyBroadCrawford/spanning-multiline-message-fix
moved spanning multi lines message to appear on some lane vs new line…
2018-03-05 22:51:53 +01:00
Anthony Broad-Crawford
174c46d5af Improved messaging when an error spans multiple lines and updated change log file. 2018-03-05 14:14:14 -06:00
chriseth
be797cb796
Merge pull request #3599 from ethereum/sendAllGasOnByzantium
Send all gas on byzantium
2018-03-05 20:13:52 +01:00
chriseth
3793aa405b
Merge pull request #3643 from ethereum/gasleft
Move msg.gas to global function gasleft(). Closes #2971.
2018-03-05 20:11:37 +01:00
chriseth
83fcf007bf Do not retain any gas in external calls (except if EVM version is set to homestead). 2018-03-05 19:32:12 +01:00
chriseth
f190b27431
Merge pull request #3600 from ethereum/version050IsAnalysisOnly
Do not warn about 0.5.0 experimental pragma.
2018-03-05 19:28:41 +01:00
Daniel Kirchner
2213f9946b Improved gasleft tests. 2018-03-05 18:45:02 +01:00
Daniel Kirchner
3340053fd9 Style improvements. 2018-03-05 17:00:37 +01:00
Daniel Kirchner
b8589fbe0f Use msg.value and gasleft() as an example in the docs. 2018-03-05 16:59:33 +01:00
chriseth
1ceb0b04c1 Assert that address members are not present on contract types in 0.5.0. 2018-03-05 15:55:02 +01:00
Alex Beregszaszi
fd60c1cf86 Warn if using address overloads on contracts 2018-03-05 15:50:27 +01:00
Daniel Kirchner
29fb5fe1c9 Add test cases for shadowing gasleft with local functions/variables. 2018-03-05 13:28:57 +01:00
Daniel Kirchner
298bdeec49 Remove unstable test case. 2018-03-05 13:28:27 +01:00
chriseth
477571e190 Do not warn about 0.5.0 experimental pragma. 2018-03-05 12:14:44 +01:00
chriseth
cd6ffbdf79
Merge pull request #3642 from leonardoalt/fix_z3-46
Add z3 performance option
2018-03-05 12:13:39 +01:00
chriseth
6dc137317f
Merge pull request #3569 from ethereum/evmVersion
EVM version
2018-03-05 12:10:49 +01:00