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
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
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
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
Daniel Kirchner
f9b90feea0
Review suggestions; to be squashed.
2018-08-03 17:38:06 +02:00
Alex Beregszaszi
2c2d4c47ea
Merge pull request #4662 from evgeniuz/develop
...
added helper function that joins vectors of strings
2018-08-03 16:13:13 +01:00
Daniel Kirchner
1e4b5886d6
Allow assignments to local variables of mapping types.
2018-08-03 16:22:03 +02:00
Daniel Kirchner
c0a169ca90
Disallow assignments to mappings within tuple assignments.
2018-08-03 15:46:26 +02:00
Alex Beregszaszi
0b20e4fd22
Merge pull request #4526 from ethereum/docs-address-truncation
...
Clarify truncation with addresses
2018-08-03 14:11:07 +01:00
Chris Ward
22a2f5dd1d
Clarify truncation with addresses
2018-08-03 14:09:42 +01:00
Leonardo Alt
20c6cea7bb
Disallow structs in events without ABIEncoderV2
2018-08-03 13:41:27 +02:00
Evgeniy Filatov
3705bcc9bc
added helper function that joins vectors of strings, refactored suggestions formattingi function to use it
2018-08-03 14:07:03 +03:00
chriseth
da6cefd475
Merge pull request #4664 from ethereum/uninitializedStorageReturn
...
Turn warning about uninitialized storage returns into an error.
2018-08-03 10:45:50 +02:00
chriseth
04efbc9e46
Merge pull request #4657 from ethereum/fix-beyond-STL-end-undefined-behavior
...
evmasm/Instruction: fixes undefined behavior of advancing iterator beyond the end of a container.
2018-08-03 10:18:04 +02:00
Christian Parpart
fb4857abed
evmasm/Instruction: fixes undefined behavior of advancing iterator beyond the end of a container.
...
Usually the STL doesn't check whether or not the developer advances beyond its container's end, but MSVC does (found out by running soltest in debug mode on Win32 / VS2017).
2018-08-02 19:53:46 +02:00
Daniel Kirchner
35c5b7de25
Turn warning about uninitialized storage returns into an error.
2018-08-02 19:34:38 +02:00
chriseth
009a55c82d
Merge pull request #4327 from ethereum/document-internals
...
Properly explain all the analsys steps in CompilerStack
2018-08-02 15:07:35 +02:00
chriseth
90a5928b88
Merge pull request #4522 from ethereum/fullEncodingType
...
Isolate determining the encoding type into its own function.
2018-08-02 15:01:38 +02:00
Christian Parpart
43c01361f3
Drops tests for inline assembly jumps and function access as both isn't possible anymore.
2018-08-02 13:37:22 +01:00
Christian Parpart
a4ab305347
Drop swap_peephole_optimization test from EndToEndTests
...
Already covered by libevmasm/Optimiser: peephole_noncommutative_swap1, peephole_commutative_swap1 and peephole_swap_comparison
2018-08-02 13:37:22 +01:00
Christian Parpart
9b8a05ebfb
Update tests to remove support for loose assembly
2018-08-02 13:37:13 +01:00
Christian Parpart
ed3cb327ea
Remove loose assembly features from the documentation
2018-08-02 13:36:48 +01:00
Christian Parpart
5d9320c70b
Disallow loos assembly in Solidity by permanently setting it to SyntaxError (from Warning)
2018-08-02 13:36:05 +01:00
Alex Beregszaszi
f7c96c8dee
Merge pull request #4560 from ethereum/cmake-policy
...
CMake policies
2018-08-02 13:32:32 +01:00
chriseth
68f9128475
Merge pull request #4584 from dylanjw/update-abi-event-doc
...
Update doc referencing packed mode encoding for dynamic typed topic args
2018-08-02 14:27:38 +02:00
chriseth
6f3f673eff
Merge pull request #4600 from sifmelcara/tab-size
...
Set tab size specified in .editorconfig to 4
2018-08-02 14:24:52 +02:00
chriseth
2c61bad3d8
Merge pull request #4654 from ethereum/license
...
Include license header from code derived from V8 (scanner/token)
2018-08-02 13:54:00 +02:00
chriseth
7eb4762eee
Merge pull request #4656 from ethereum/chriseth-patch-1
...
Add "Changelog entry" to pull request template
2018-08-02 13:37:15 +02:00
chriseth
cf0ed572f8
Add "Changelog entry" to pull requset template
2018-08-02 13:29:57 +02:00
Alex Beregszaszi
6003ed2abd
Merge pull request #4603 from ethereum/smtlib2
...
[SMTLib2] Fix repeated declarations
2018-08-02 12:04:58 +01:00
Alex Beregszaszi
4e14ccb7df
Include license header from code derived from V8 (scanner/token)
2018-08-02 11:29:11 +01:00
Alex Beregszaszi
9ec3fd1632
Merge pull request #4646 from ethereum/smt_model_secondary_location
...
SMT model is sorted and printed as secondary location
2018-08-01 23:20:28 +01:00
Alex Beregszaszi
0f39ed6a0d
Merge pull request #4650 from ethereum/conduct
...
Point the documentation to the new Code of Conduct URL
2018-08-01 22:43:39 +01:00
Alex Beregszaszi
cbcdc9dc42
Point the documentation to the new Code of Conduct URL
2018-08-01 22:42:16 +01:00
Alex Beregszaszi
7fe95dfb7b
Merge pull request #4649 from ethereum/conduct
...
Rename CONDUCT.md to CODE_OF_CONDUCT.md so that Github picks it up
2018-08-01 22:40:58 +01:00
Alex Beregszaszi
3d210ab54b
Rename CONDUCT.md to CODE_OF_CONDUCT.md so that Github picks it up
2018-08-01 22:38:58 +01:00
Leonardo Alt
90f319615f
SMT model variables are sorted and printed as secondary source location
2018-08-01 23:27:46 +02:00
Leonardo Alt
b6a2655513
Replace "value" by "<result>" in the SMT model
2018-08-01 23:27:11 +02:00