Commit Graph

10847 Commits

Author SHA1 Message Date
Alex Beregszaszi
49573bad46 Add syntax test for illegal pragma key 2018-07-25 11:01:41 +01:00
Alex Beregszaszi
fa68e0019f Add syntax test for location specifier redeclarations 2018-07-25 11:01:41 +01:00
Alex Beregszaszi
008eb1c2c9 Add syntax test for empty emit statement 2018-07-25 11:01:41 +01:00
Alex Beregszaszi
640b8af802 Add syntax tests for assembly block type (evmasm) 2018-07-25 11:01:41 +01:00
Alex Beregszaszi
ee85430f93 Add tests for data locations within libraries 2018-07-25 10:55:23 +01:00
Alex Beregszaszi
ab3978723a Add more tests for inlineasm/AsmAnalyzer 2018-07-25 10:45:31 +01:00
Alex Beregszaszi
d647761058 Add more comprehensive tests for embedded inline assembly LValue/RValue access 2018-07-25 10:45:31 +01:00
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
1a64dd1d71
CMake: Better policy availability checking
It's better to use if(POLICY ...) and we don't have to check for CMake 3.0 because this is the minimal required version.
2018-07-24 17:07:11 +02:00
Paweł Bylica
cfef5ec6b2
CMake: Set CMP0043 to NEW
This avoids warning in CMake 3.0.2
2018-07-24 17:04:44 +02:00
Paweł Bylica
7cd00e3630
CMake: Set CMP0042 to NEW
This should not affect solidity, but with this setting all supported CMake version will use NEW policy are will be allowed to use RPATH on macOS.
2018-07-24 17:01:25 +02:00
Paweł Bylica
33e22dc8bb
CMake: Do not set CMP0020 because it's about Qt 2018-07-24 16:57:57 +02:00
Paweł Bylica
9b5d713c28
CMake: Do not use non-existing sanitizer blacklist 2018-07-24 16:53:33 +02:00
Paweł Bylica
47eede069f
CMake: Drop policy CMP0028 OLD 2018-07-24 16:51:32 +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