Commit Graph

10920 Commits

Author SHA1 Message Date
Leo Arias
cf3bf57cb2 tests: add yul simplifier not applied 2018-08-07 21:58:24 +00:00
Alex Beregszaszi
4dc3335cda
Merge pull request #4744 from ethereum/smt-magic-variable
SMT: do not crash on referencing MagicVariableDeclaration
2018-08-07 21:30:14 +01:00
chriseth
8e93b729a4
Merge pull request #4703 from ethereum/solc-fix-double-quoting-path-names
solc: Fixes double-quoting path names on stderr.
2018-08-07 21:46:00 +02:00
Alex Beregszaszi
f024efb7ab SMT: do not crash on referencing MagicVariableDeclaration 2018-08-07 20:43:20 +01:00
chriseth
4f9d72aa83
Merge pull request #4742 from elopio/patch-4
Fix typo
2018-08-07 21:39:46 +02:00
Leo Arias
c4a3c48aea
Fix typo 2018-08-07 13:35:15 -06:00
chriseth
d7756322c0
Merge pull request #4731 from ethereum/interface-enum
Allow enums in interfaces
2018-08-07 17:20:05 +02:00
chriseth
901550e473
Merge pull request #4692 from ethereum/devcore-path
Move absolutePath/sanitizePath helpers from CompilerStack to libdevcore
2018-08-07 16:15:49 +02:00
chriseth
a949cffd24
Merge pull request #4699 from ethereum/cleanup_VariableDeclaration
libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType
2018-08-07 16:14:41 +02:00
chriseth
c61cc98d0d
Merge pull request #4726 from ethereum/moveNothrow
Make MemberList nothrow move constructible.
2018-08-07 16:11:59 +02:00
Alex Beregszaszi
a765b5b31c
Merge pull request #4720 from ethereum/abi-rational-type-identifier
Fix type identifiers for RationalNumberType (on negative numbers)
2018-08-07 14:25:11 +01:00
Alex Beregszaszi
4158a310bd
Merge pull request #4729 from ethereum/slot-on-non-storage
Properly handle invalid references used together with _slot and _offset.
2018-08-07 14:16:43 +01:00
Alex Beregszaszi
34a711a14d Add endToEnd test for referencing enums 2018-08-07 15:04:17 +02:00
Christian Parpart
39ffd7500e
solc: Fixes double-quoting path names on stderr and adds tests for it.
Before it was possible to get a failure message, such as:

    ""notfound.sol"" is not found

whereas it should be:

    "notfound.sol" is not found.
2018-08-07 14:55:22 +02:00
Alex Beregszaszi
5298d818c4 Add test for abi.encode (negative) literals 2018-08-07 13:44:24 +01:00
Alex Beregszaszi
ce29aac8ad Add more syntax tests for enums and interfaces/libraries 2018-08-07 13:39:21 +01:00
Alex Beregszaszi
13e37df97c Allow enums in interfaces 2018-08-07 13:28:53 +01:00
Alex Beregszaszi
b0f9fc5af0 Fix type identifiers for RationalNumberType 2018-08-07 13:23:14 +01:00
chriseth
133fd3d302 Make MemberList nothrow move constructible. 2018-08-07 14:20:18 +02:00
chriseth
9d3827266c
Merge pull request #4695 from ethereum/test-natspec
Be explicit about which contract to test for in the Natspec tests
2018-08-07 14:19:56 +02:00
Alex Beregszaszi
05cc7e79e1 More precise error message if using non-variables with _slot/_offset 2018-08-07 13:18:54 +01:00
Alex Beregszaszi
eb7b3862ac Properly handle invalid references used together with _slot and _offset. 2018-08-07 13:18:38 +01:00
Alex Beregszaszi
8b2d630275
Merge pull request #4724 from ethereum/slot-in-assembly
Do not crash on using _slot and _offset suffixes on their own
2018-08-07 12:55:40 +01:00
Alex Beregszaszi
261fedd3b0
Merge pull request #4725 from ethereum/chriseth-patch-1
Clarify allocation and initial value of free memoy pointer.
2018-08-07 12:48:10 +01:00
Alex Beregszaszi
21ceac090a
Merge pull request #4592 from asifmallik/fixBackslashBugFinal
Fix backslash bug
2018-08-07 12:47:37 +01:00
chriseth
5d5626e6d7 Clarify allocation and initial value of free memoy pointer. 2018-08-07 13:37:06 +02:00
Alex Beregszaszi
296ba24f7f Do not crash on using _slot and _offset suffixes on their own 2018-08-07 12:14:12 +01:00
chriseth
c6278fbae1
Merge pull request #4701 from ethereum/removeClone
Remove clone feature.
2018-08-07 13:00:34 +02:00
chriseth
d0bfe4b225
Merge pull request #4563 from ethereum/codecov-config
Add codecov config
2018-08-07 12:55:47 +02:00
Paweł Bylica
3f2539de04
Add codecov config 2018-08-07 12:54:05 +02:00
chriseth
cda3fbda33
Merge pull request #4719 from elopio/coverage-option
Update the coverage info message in cmake
2018-08-07 12:22:41 +02:00
chriseth
cdabd38c57
Merge pull request #4598 from ethereum/issueTemplate
Add issue template for GitHub
2018-08-07 12:21:50 +02:00
chriseth
71e26f6adb Remove clone feature. 2018-08-07 11:10:50 +01:00
Christian Parpart
4c90ddf64a
libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType()
Closes #4667
2018-08-07 11:34:13 +02:00
Erik Kundt
264985868e Adds issue templates for GitHub. 2018-08-07 10:42:21 +02:00
Leo Arias
9e2f26ae9a Update the coverage info message in cmake 2018-08-07 00:54:52 +00:00
chriseth
d33e5683f5
Merge pull request #4557 from ethereum/ast-function-fqdn
Properly show constructor/fallback in FunctionDefinition.fullyQualfiedName
2018-08-06 19:02:07 +02:00
chriseth
0449b6446e
Merge pull request #4694 from ethereum/test-abijson
Be explicit about which contract to test for in ABIJSON tests
2018-08-06 19:01:05 +02:00
Alex Beregszaszi
bd75d4268b Move fullyQualifiedName to ContractDefinition only 2018-08-06 18:58:27 +02:00
chriseth
276724dedc
Merge pull request #4663 from ethereum/dropConstantAST
[BREAKING] Drop constant field from JSON AST
2018-08-06 18:55:12 +02:00
chriseth
1fb2d6aa85
Merge pull request #3496 from ltfschoen/patch-6
Update Style Guide examples to comply with CapWords requirement for contract and file naming
2018-08-06 18:26:55 +02:00
Luke Schoen
835c05cb3a Update style guide with regards to CapWords requirement for contract and file naming. 2018-08-06 18:23:58 +02:00
Asif Mallik
fba7b7c204 Fix backslash bug 2018-08-06 18:17:56 +02:00
chriseth
7c9bfb62f9
Merge pull request #4498 from ethereum/faq-reorg-intro
Move intro related FAQ points
2018-08-06 17:59:37 +02:00
Chris Ward
e295e1fcbd Move intro related FAQ points
Changes from feedback

Changes from review
2018-08-06 17:55:35 +02:00
chriseth
1858843908
Merge pull request #4659 from ethereum/abiv2-fixedbytes
FixedBytes(0) is invalid, do not check for it in ABIEncoderV2
2018-08-06 17:47:23 +02:00
chriseth
3b5eee4998 Tests for deriving types for empty string. 2018-08-06 17:10:23 +02:00
Alex Beregszaszi
eccc603291 FixedBytes(0) is invalid, do not check for it in ABIEncoderV2 2018-08-06 16:54:05 +02:00
chriseth
bc73617f5e
Merge pull request #4689 from ethereum/cleanup-050-tests
Cleanup 0.5.0 test cases
2018-08-06 14:45:31 +02:00
Alex Beregszaszi
423cd52844 Be explicit about which contract to test for in the Natspec tests 2018-08-06 13:35:53 +01:00