Commit Graph

10784 Commits

Author SHA1 Message Date
Alex Beregszaszi
167fe7c370
Merge pull request #4572 from ethereum/cmake-boost-tests
Do not include single-header boost_unit_test
2018-07-25 10:42:44 +01:00
Alex Beregszaszi
4a61cb5b59
Merge pull request #4554 from ethereum/indexing-tests
Add comprehensive syntax tests for indexed access
2018-07-25 10:37:30 +01:00
Alex Beregszaszi
ff8e930054
Merge pull request #4570 from ethereum/cleanup-catch-statements
More consistent catch statements
2018-07-25 10:31:57 +01:00
Paweł Bylica
f31989c022
Do not include single-header boost_unit_test
Do not mix 2 different usage variants of boost_unit_test. If you link with static libs do not include the single-header variant.

See https://www.boost.org/doc/libs/1_67_0/libs/test/doc/html/boost_test/usage_variants.html#boost_test.usage_variants.single_header
2018-07-25 09:17:53 +02:00
Alex Beregszaszi
a5a61a0b77 More consistent catch statements
Also take const& in all cases.
2018-07-25 01:18:09 +01:00
Alex Beregszaszi
582ab4eab4 grammar: rename AssemblyLocalBinding to AssemblyVariableDeclaration 2018-07-25 00:08:42 +01:00
Alex Beregszaszi
258e8caa59 grammar: introduce AssemblyExpression and use it in Assignment/LocalBinding 2018-07-25 00:08:08 +01:00
Alex Beregszaszi
ed4022fbca grammar: support all assignment stataments in inline assembly 2018-07-25 00:05:19 +01:00
Alex Beregszaszi
d30a6de942 Add better warning on binary operation on non-integer types in SMT Checker 2018-07-24 23:23:54 +01:00
Alex Beregszaszi
278372c13d Add assert for both branches in mergeVariables in SMTChecker 2018-07-24 22:43:05 +01:00
Alex Beregszaszi
1dbf2d1923 Add comprehensive syntax tests for indexed access 2018-07-24 20:26:36 +01:00
Alex Beregszaszi
ae0959ae12
Merge pull request #4553 from ethereum/pragma-tests
Add syntax tests for unknown / invalid pragma
2018-07-24 19:58:35 +01:00
Alex Beregszaszi
3e17438c41 Add syntax tests for unknown / invalid pragma 2018-07-24 18:35:47 +01:00
Alex Beregszaszi
fc68d22ba4
Merge pull request #4544 from ethereum/code-coverage
Code coverage
2018-07-24 18:32:51 +01:00
Paweł Bylica
a1d3e72bb5
Circle CI: Upload coverage data 2018-07-24 17:12:42 +02:00
Paweł Bylica
807f7533d9
CMake: Add option COVERAGE
This also removed PROFILE option that also adds --coverage flag. Instead you can use -DCMAKE_EXE_LINKER_FLAGS=-lprofiler. The profiling options can be added back when better investigated (e.g. -lprofiler vs -pg options).
2018-07-24 17:12:41 +02:00
Paweł Bylica
721b7bbf70
Circle CI: Add full build dir to the workspace on Linux 2018-07-24 16:51:09 +02:00
Alex Beregszaszi
1dac6effed
Merge pull request #4550 from ethereum/fix_abidecode_comment
Fix abiDecode comment
2018-07-23 22:36:24 +01:00
Leonardo Alt
a2f03ea9e5 Fix abiDecode comment 2018-07-23 23:31:02 +02:00
Alex Beregszaszi
de90290c28
Merge pull request #4527 from ethereum/mappingEnforceStorage
Enforces explicit data location for mappings
2018-07-23 20:43:38 +01:00
Alex Beregszaszi
b3c8e14952
Merge pull request #4411 from ethereum/v050-functions-with-modifiers-no-impl
[BREAKING] Disallow functions without implementation to use modifiers.
2018-07-23 18:59:08 +01:00
Erik Kundt
c622a1e56c Enforces data location of local mappings to storage. 2018-07-23 19:30:07 +02:00
Alex Beregszaszi
f887d51627
Merge pull request #4547 from ethereum/pullRequestTemplate
Fix pull request template
2018-07-23 17:42:25 +01:00
Erik Kundt
6241d95cd8
Reorders checklist in pull request template. 2018-07-23 18:40:15 +02:00
Christian Parpart
9f35f0b805 Disallow functions without implementation to use modifiers. This was already the case in the experimental 0.5.0 mode. 2018-07-23 17:29:08 +01:00
Erik Kundt
fccf50f78f Fixes pull request template. 2018-07-23 18:14:41 +02:00
Alex Beregszaszi
0fcdafe2b5
Merge pull request #4546 from ethereum/pullRequestTemplate
Pull request template for GitHub
2018-07-23 17:01:47 +01:00
Alex Beregszaszi
79ddcc7680
Merge pull request #4453 from ethereum/codeOfConduct
Add Code Of Conduct
2018-07-23 17:00:02 +01:00
Erik Kundt
1e69896cd6 Adds Code Of Conduct. 2018-07-23 17:52:59 +02:00
Erik Kundt
8b16a7f8e8 Creates a pull request template for GitHub. 2018-07-23 17:24:32 +02:00
chriseth
beb66db66f
Merge pull request #4534 from ethereum/chriseth-patch-1
Do not handle `balance` member of contract types specially.
2018-07-20 13:45:43 +02:00
chriseth
9697b5886e
Merge pull request #4520 from ethereum/faq-reorg-index-tools
Move note on decompiling
2018-07-20 13:44:12 +02:00
chriseth
d3000e70b2
Merge pull request #4533 from ethereum/faq-typo
Fix typo
2018-07-20 11:12:02 +02:00
chriseth
3fa0ac5822
Do not handle balance member of contract types specially. 2018-07-20 10:50:05 +02:00
Chris Ward
14ea11fad0 Fix typo 2018-07-20 10:45:04 +02:00
chriseth
e3c2f20f6e
Merge pull request #4439 from ethereum/address_members
[BREAKING] Enforce address members not accessible by contract instance
2018-07-19 09:24:27 +02:00
Leonardo Alt
faa9c221d4 Changes in ExpressionCompiler 2018-07-18 19:51:24 +02:00
Erik Kundt
ccb5fccee5
Merge pull request #4215 from ethereum/constructorWorkaround
Disallow legacy constructor
2018-07-18 18:08:32 +02:00
Leonardo Alt
25fa1142bc Removing tests that are not useful anymore 2018-07-18 14:52:16 +01:00
Erik Kundt
b0b35e1e6b Adds warning if function is shadowing a contract. 2018-07-18 14:29:01 +02:00
Erik Kundt
de6cd2425b Adjusts syntax tests to new constructor syntax. 2018-07-18 14:29:01 +02:00
Erik Kundt
182a0a9551 Disallows old constructor syntax. 2018-07-18 14:29:01 +02:00
Chris Ward
1aff040799 Move note on decompiling 2018-07-18 14:28:58 +02:00
Alex Beregszaszi
8cc675150e
Merge pull request #4345 from ethereum/docs-tests
Document the required cpp-ethereum commit hash
2018-07-18 13:18:31 +01:00
chriseth
b909df4573
Merge pull request #4430 from ethereum/enforceVisibilitySpecifier
[BREAKING] Enforce visibility specifier
2018-07-18 12:08:42 +02:00
Erik Kundt
8b827af5bf Updates changelog to be more specific about visibility enforcement. 2018-07-18 12:03:25 +02:00
Alex Beregszaszi
4bd22399da Keep the proper aleth hash in contributing.rst 2018-07-18 10:20:18 +02:00
Alex Beregszaszi
f351eb1b3c Document the required cpp-ethereum commit hash 2018-07-18 10:20:08 +02:00
Erik Kundt
05d0e5c8fa Adds comment about reasoning behind syntax test. 2018-07-17 20:06:07 +02:00
Erik Kundt
7d8b39ff4f Removes obsolete syntax tests. 2018-07-17 19:30:15 +02:00