Commit Graph

12854 Commits

Author SHA1 Message Date
Daniel Kirchner
794e519af8 Update aleth version to 1.5.2. 2019-02-14 12:45:06 +01:00
Daniel Kirchner
8d7ccff1c0 Improve style of style check script. 2019-02-14 11:54:52 +01:00
Daniel Kirchner
809b9a95f9 Even more style checks. 2019-02-14 11:53:00 +01:00
Daniel Kirchner
8ca6715e18 More style checks. 2019-02-14 11:41:20 +01:00
Mathias Baumann
223dac3eca TypeChecker: Use cast instead of category() check 2019-02-14 11:39:51 +01:00
Mathias Baumann
10a9960eb3 Fix error msg hint for non-payable contracts 2019-02-14 11:39:19 +01:00
Daniel Kirchner
32190dac48 Add stride helpers to ArrayType. 2019-02-14 10:51:39 +01:00
chriseth
f003696d7e
Merge pull request #5994 from ethereum/error-to-assert
Turn unreachable error into assert
2019-02-13 17:54:01 +01:00
chriseth
b1df990a0f
Merge pull request #5990 from ethereum/provideAccessToAssmeblyAST
Provide access to assembly ast
2019-02-13 17:38:22 +01:00
chriseth
c5879589af
Merge pull request #5998 from ethereum/codingStyleCheck
More coding style checks
2019-02-13 17:36:34 +01:00
chriseth
17817dc0ef
Merge pull request #5995 from ethereum/incr-type-checker-cov
Add tests to increase TypeChecker.cpp coverage
2019-02-13 17:06:58 +01:00
chriseth
1a823f0bf8 Fix tabs/spaces. 2019-02-13 17:05:48 +01:00
Mathias Baumann
a70fee7316 Turn unreachable error into assert
The exact conditions are already checked when iterating over the
possibleMembers where the function `canTakeArguments()` is called
for each member. The function does the identical check.
2019-02-13 16:51:05 +01:00
chriseth
17ea467e5b Fix style of "const". 2019-02-13 16:34:53 +01:00
chriseth
dbb5438fed Add coding style check for "const" position and spaces/tabs. 2019-02-13 16:34:49 +01:00
Mathias Baumann
1e603c27ea Add tests to increase TypeChecker.cpp coverage 2019-02-13 16:31:26 +01:00
chriseth
8a8505aa46
Merge pull request #5993 from ethereum/fixAssertionAsmAnalysis
Fix assertion concerning jumps in strict assembly.
2019-02-13 16:16:09 +01:00
chriseth
3c075fd740
Merge pull request #5977 from ethereum/enhance_docs
Enhance documentation about usage of `value` and `gas`
2019-02-13 16:03:17 +01:00
chriseth
8f010b4f93
Merge pull request #5986 from elopio/build-z3
snap: build the latest z3
2019-02-13 15:58:33 +01:00
chriseth
3a3ed1c6b5 Fix assertion concerning jumps in strict assembly. 2019-02-13 15:57:14 +01:00
Mathias Baumann
6a6cc27b71 Rename & move tests of group typeChecking to subfolder 2019-02-13 15:52:31 +01:00
chriseth
a344381d5e Provide access to AssemblyStack's AST. 2019-02-13 14:19:56 +01:00
chriseth
10888b21d8
Merge pull request #5989 from ethereum/moveAssemblyStack
[REF] Move assembly stack
2019-02-13 14:15:27 +01:00
Erik Kundt
190634e1f9 Implements infrastructure for semantic tests. 2019-02-13 13:05:58 +01:00
chriseth
0bd049c849 Adapet uses of AssemblyStack. 2019-02-13 12:23:07 +01:00
chriseth
d073eb1544 Move AssemblyStack to libyul. 2019-02-13 12:23:07 +01:00
chriseth
bbeab9ffdf
Merge pull request #5988 from ethereum/moveAsmCodeGen
[REF] Move asm code gen
2019-02-13 12:22:33 +01:00
Mathias Baumann
8d3f0a16a3 Enhance documentation about usage of value and gas
People might look for information in the members section of the function types chapter.
2019-02-13 11:56:17 +01:00
chriseth
90b75abdc9
Merge pull request #5980 from ethereum/chriseth-patch-1
Fix documentation link
2019-02-13 11:36:48 +01:00
chriseth
02373c2225 Adjust uses of AsmCodeGen. 2019-02-13 11:35:49 +01:00
chriseth
1ff6f2c71c Move AsmCodeGen. 2019-02-13 11:20:15 +01:00
chriseth
e5e3abf9a1 Fix link 2019-02-13 11:10:25 +01:00
chriseth
b1a5ffb948
Merge pull request #5983 from ethereum/release_checklist
Emphasize timing of static build copy in Release Checklist.
2019-02-13 09:37:21 +01:00
Leo Arias
b6798f8adc snap: build the latest z3
Fixes #5985
2019-02-12 21:53:39 +00:00
Daniel Kirchner
a85555a739 Emphasize timing of static build copy in Release Checklist. 2019-02-12 18:56:20 +01:00
chriseth
828255faea
Merge pull request #5982 from ethereum/release
Merge release back into develop.
2019-02-12 17:13:50 +01:00
chriseth
bdc239ae69
Merge pull request #5981 from ethereum/release-054-aftermath
Increases version to 0.5.5.
2019-02-12 17:12:00 +01:00
Erik Kundt
ff0653486d Increases version to 0.5.5. 2019-02-12 17:09:55 +01:00
chriseth
9549d8fff7
Merge pull request #5975 from ethereum/develop
Release 0.5.4
2019-02-12 14:20:45 +01:00
Erik Kundt
f16c02b2ba
Merge pull request #5973 from ethereum/release-0.5.4
Changelog and bug list for the 0.5.4 release.
2019-02-12 12:47:56 +01:00
Erik Kundt
1990d7034a Updates Changelog and buglist for the 0.5.4 release. 2019-02-12 12:21:46 +01:00
chriseth
9ab72f0188
Merge pull request #5971 from ethereum/overloadedEvents
More tests for overloaded events.
2019-02-12 12:00:02 +01:00
chriseth
f0f34984ef
Merge pull request #5944 from ethereum/fix_asmstack_opt_bug
Modify language assertion in AssemblyStack::optimize
2019-02-12 11:40:32 +01:00
Bhargava Shastry
7751fa740f Ensure we fail gracefully when user tries to optimize Yul code 2019-02-12 11:21:02 +01:00
chriseth
091bbdb459 More tests for overloaded events. 2019-02-12 10:54:58 +01:00
chriseth
0b392fff7e
Merge pull request #5968 from ethereum/calldataArrays
Disallow calldata arrays with dynamically encoded base types in TypeChecker.
2019-02-11 18:08:10 +01:00
Daniel Kirchner
9e32aa7510 Disallow calldata arrays with dynamically encoded base types in TypeChecker. 2019-02-11 17:13:12 +01:00
chriseth
e03d6e4584
Merge pull request #5964 from ethereum/win32-STDERR_FILENO-fix
Fixes compilation on Windows where STDERR_FILENO seems not to be present.
2019-02-11 16:43:41 +01:00
chriseth
91d224dfb6
Merge pull request #5966 from ethereum/AnsiColorized
Adapts tests/ to use AnsiColorized (the generalized/moved version of FormattedScope, which in turn is removed in this PR)
2019-02-11 16:41:14 +01:00
chriseth
92cb6cb793
Merge pull request #5936 from ethereum/calldataStructsV2
ABIEncoderV2: Implement calldata structs without dynamically encoded members.
2019-02-11 16:18:27 +01:00