Commit Graph

10899 Commits

Author SHA1 Message Date
Alex Beregszaszi
5298d818c4 Add test for abi.encode (negative) literals 2018-08-07 13:44:24 +01:00
Alex Beregszaszi
b0f9fc5af0 Fix type identifiers for RationalNumberType 2018-08-07 13:23:14 +01: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
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
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
Alex Beregszaszi
3c408a32c4 Be explicit about which contract to test for in ABIJSON tests 2018-08-06 13:30:38 +01:00
Alex Beregszaszi
3481d4e2ec
Merge pull request #4690 from ethereum/equalParameterTypes
Renamed FunctionType::hasEqualArgumentTypes to FunctionType::hasEqual…
2018-08-06 12:50:04 +01:00
Jesse Busman
3fcd62921e Renamed FunctionType::hasEqualArgumentTypes to FunctionType::hasEqualParameterTypes 2018-08-06 13:05:06 +02:00
Alex Beregszaszi
08e431f94e Remove unused 050 variable in ReferencesResolver 2018-08-06 12:03:00 +01:00
Alex Beregszaszi
2ab66bf798 Cleanup 0.5.0 test cases 2018-08-06 12:03:00 +01:00
chriseth
9d03de1f25
Merge pull request #4671 from ethereum/mappingTupleAssignment
Disallow assignments to mappings within tuple assignments; allow for local variables.
2018-08-06 12:59:16 +02:00
chriseth
13d3006376
Merge pull request #4595 from ethereum/tests-run-improvements
fixes tests.sh to not use hard-coded working dir and adds proper cleanup
2018-08-06 12:48:09 +02:00
chriseth
74e6067347
Merge pull request #4602 from hackaugusto/warnings
Added guards for unknown pragmas
2018-08-06 11:55:01 +02:00
chriseth
3576980710
Merge pull request #4644 from ethereum/event_struct_error
Disallow structs in events without ABIEncoderV2
2018-08-06 11:44:05 +02:00
chriseth
30f981fc2c
Merge pull request #4681 from ethereum/var-suggestion-crash
Fix declaration suggestion for var with different number of components
2018-08-06 11:21:54 +02:00
Daniel Kirchner
bdd86cb39c Update tests. 2018-08-06 11:17:21 +02:00
Daniel Kirchner
44374a5846 Remove "constant" from JSON AST. 2018-08-06 11:15:25 +02:00
chriseth
3684151e53
Merge pull request #4677 from ethereum/jsonAstTestExtraction
JSON AST test extraction
2018-08-06 11:01:51 +02:00
Augusto F. Hack
6c3b48ddfc Added guards for unknown pragmas
Removed push/pop if there was no change to the warnings *in the same
file* for a given compiler. This assumes the imported boost headers use
a warning stack themselves.

The pragmas don't seem to be required anymore, but were not removed to
mantain compatibility with older versions of the boost library.

Compiled with
- clang version 6.0.1 (tags/RELEASE_601/final)
- gcc (GCC) 8.1.1 20180531
 against:
- libboost 1.67.0-5
2018-08-05 19:21:33 -03:00
Alex Beregszaszi
83e6c34526 Fix declaration suggestion for var with different number of components 2018-08-04 15:22:22 +01:00
chriseth
20c65f9af1
Merge pull request #4616 from ethereum/1093-interface-generator
Add interface generator to tools section
2018-08-03 21:15:14 +02:00
Daniel Kirchner
55386ba130 Extract AST JSON tests. 2018-08-03 20:35:50 +02:00
Daniel Kirchner
d923926ff7 Infrastructure for extracting JSON AST tests. 2018-08-03 20:35:50 +02:00
Christian Parpart
a4ee1dfc83
Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLoose
[BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError
2018-08-03 19:30:33 +02:00
Daniel Kirchner
cbae02b514 Additional semantics test cases. 2018-08-03 17:38:30 +02:00