Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add syntax tests to augment the test coverage of | herrBez | 2018-09-21 | 12 | -0/+106 |
| | | | | | | | | | | | | | libsolidity/parsing/Scanner.cpp and libsolidity/parsing/Scanner.h Fix #4627 and PR #5003. - Add multiline comment test - Add upper case hex literal test - Add test for unicode escapes - Add test for strings with escaped newlines - Add test for string escapes - Add test for strings that do not terminate before end of file - Add test for unterminated blocks | ||||
* | Merge pull request #4999 from liangdzou/fix_typo | chriseth | 2018-09-17 | 2 | -3/+3 |
|\ | | | | | fix some code format problems | ||||
| * | fix some format typos | liangdzou | 2018-09-17 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #4984 from elopio/add-missing-inliner-test | chriseth | 2018-09-17 | 1 | -0/+3 |
|\ \ | |/ |/| | Add a missing tests for yul inliner optimization | ||||
| * | Add a missing tests for yul inliner optimization | Leo Arias | 2018-09-16 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | When the statement has two return values, the function is not inlinable. When the function has one statement but it is not an assignment to the return variable, the function is not inlinable. l | ||||
* | | Do not set to ref for explicit conversion and add assertion for array | liangdzou | 2018-09-14 | 7 | -0/+67 |
|/ | | | | type conversion. Also, add some test cases for #4901 and #4948. | ||||
* | Merge pull request #4968 from ethereum/alethUpdateCompatible | chriseth | 2018-09-14 | 2 | -31/+22 |
|\ | | | | | Fix tests for newer versions of aleth. | ||||
| * | Disable blockhash test for constantinople due to changes between aleth versions. | Daniel Kirchner | 2018-09-13 | 1 | -29/+20 |
| | | |||||
| * | Use "pending", not "latest" during ``eth_call`` in ``sendMessage``. | Daniel Kirchner | 2018-09-13 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #4911 from ethereum/addressPayable | Daniel Kirchner | 2018-09-13 | 34 | -7/+1434 |
|\ \ | |/ |/| | Payable and non-payable address type. | ||||
| * | Add ``stateMutability`` field to JSON AST for ``address`` types. | Daniel Kirchner | 2018-09-13 | 3 | -0/+1171 |
| | | |||||
| * | Add payable and non-payable state mutability to AddressType. | Daniel Kirchner | 2018-09-13 | 31 | -7/+263 |
| | | |||||
* | | give more information (at most 35 chars before and after) for too long lines | liangdzou | 2018-09-13 | 13 | -2/+82 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | add tests for giving more informations for too long lines add edge tests for giving more informations for too long lines avoid printing out tailing white space update test case after avoiding printing out trailing whitespace update test case for removing the pre-release warning from reference refactor the code to if-else flavor rename folder to cmdlineErrorReports under test rename folder to cmdlineErrorReports under test ignore whitespace for reference files avoiding to modify the file stderr_path by call sed without -i option print ' ...' instead of ' ... ' at the end of a line | ||||
* | Update test suite to use address payable. | Daniel Kirchner | 2018-09-12 | 26 | -67/+121 |
| | |||||
* | Accept ``address payable`` during parsing. | Daniel Kirchner | 2018-09-11 | 19 | -1/+224 |
| | |||||
* | Update bug description, add regex and tests. | chriseth | 2018-09-10 | 1 | -0/+34 |
| | |||||
* | Tests. | chriseth | 2018-09-10 | 1 | -0/+40 |
| | |||||
* | Merge pull request #4912 from ethereum/fixNewline | chriseth | 2018-09-10 | 1 | -0/+106 |
|\ | | | | | Fix bugs in comments. | ||||
| * | Tests. | chriseth | 2018-09-06 | 1 | -0/+98 |
| | | |||||
| * | This fixes several bugs with regards to line breaks and comments: | chriseth | 2018-09-06 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | - any unicode line break (line feed, vertical tab, form feed, carriage return, NEL, LS and PS) is considered to terminate a single-line comment. The line break itself is considered to be the next token after the comment, leading to a parser error if it is not an ascii character (i.e. for NEL, LS and PS). - unterminated multiline comments are considered illegal tokens - '/** /' is considered an unterminated multiline comment (previously, whitespace was allowed before the last '/' | ||||
* | | Buglist check script supports json paths | Leonardo Alt | 2018-09-07 | 2 | -21/+155 |
|/ | |||||
* | Merge pull request #4872 from bakaoh/issue4716 | chriseth | 2018-09-06 | 1 | -0/+8 |
|\ | | | | | Crash when array index value is too large | ||||
| * | Fix #4716: Crash when array index value is too large | bakaoh | 2018-09-05 | 1 | -0/+8 |
| | | |||||
* | | Split IntegerType into IntegerType and AddressType. | Daniel Kirchner | 2018-09-05 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #4590 from ethereum/msgValueModifier | chriseth | 2018-09-05 | 7 | -1/+39 |
|\ \ | | | | | | | Warn if modifier uses msg.value in non-payable function | ||||
| * | | Fix endToEnd test | Leonardo Alt | 2018-09-04 | 1 | -0/+10 |
| | | | |||||
| * | | Turn warning into error. | chriseth | 2018-09-04 | 3 | -3/+3 |
| | | | |||||
| * | | Warns if modifier uses msg.value in non-payable function. | Erik Kundt | 2018-09-04 | 5 | -0/+28 |
| |/ | |||||
* | | Merge pull request #4895 from ethereum/abidecodesingle | chriseth | 2018-09-05 | 2 | -0/+12 |
|\ \ | | | | | | | Fix abi.decode returning single value. | ||||
| * | | Fix abi.decode returning single value. | chriseth | 2018-09-05 | 2 | -0/+12 |
| | | | |||||
* | | | Merge pull request #4866 from bakaoh/issue4743 | chriseth | 2018-09-05 | 38 | -45/+45 |
|\ \ \ | | | | | | | | | Fix#4743: Incorrect source location for nameless parameters | ||||
| * | | | Update test to correct source location for nameless parameters | bakaoh | 2018-08-31 | 38 | -45/+45 |
| | |/ | |/| | |||||
* | | | Merge pull request #4880 from ethereum/fix_cmdlineTest_tmpdir | chriseth | 2018-09-05 | 1 | -13/+13 |
|\ \ \ | |_|/ |/| | | Rename TMPDIR to SOLTMPDIR in cmdlineTests | ||||
| * | | mktemp might use variable TMPDIR. Renaming it in our script to avoid conflicts. | Leonardo Alt | 2018-09-03 | 1 | -13/+13 |
| |/ | |||||
* | | Merge pull request #4888 from ↵ | chriseth | 2018-09-04 | 5 | -0/+58 |
|\ \ | | | | | | | | | | | | | ethereum/disallow_single_statement_vardecl_if_while_for Disallow single statement var decl in if/while/for without blocks | ||||
| * | | Changed error message and added tests | Leonardo Alt | 2018-09-04 | 5 | -0/+58 |
| |/ | |||||
* | | Add another end-to-end test. | Daniel Kirchner | 2018-09-04 | 1 | -0/+127 |
| | | |||||
* | | Update compilation tests. | Daniel Kirchner | 2018-09-04 | 4 | -16/+11 |
| | | |||||
* | | Add return data to bare calls. | Daniel Kirchner | 2018-09-04 | 10 | -92/+212 |
| | | |||||
* | | Remove trailing whitespace for all files in the repository. | Daniel Kirchner | 2018-09-04 | 2 | -6/+6 |
|/ | |||||
* | Dynamic type as mapping key returns error instead of assertion fail | Leonardo Alt | 2018-08-16 | 6 | -0/+34 |
| | |||||
* | Merge pull request #4822 from ethereum/addressStaticCall | chriseth | 2018-08-16 | 3 | -1/+120 |
|\ | | | | | Add ``staticcall`` to ``address``. | ||||
| * | Add syntax test for ``address.staticcall.value``. | Daniel Kirchner | 2018-08-15 | 1 | -0/+15 |
| | | |||||
| * | Add view pure checker tests for ``address.staticcall(...)``. | Daniel Kirchner | 2018-08-15 | 1 | -1/+20 |
| | | |||||
| * | Add ``staticcall`` to ``address``. | Daniel Kirchner | 2018-08-15 | 2 | -0/+85 |
| | | |||||
* | | Review suggestions | Leonardo Alt | 2018-08-15 | 3 | -3/+3 |
| | | |||||
* | | Add end to end tests | Leonardo Alt | 2018-08-15 | 1 | -0/+203 |
| | | |||||
* | | Disallow indexed reference types in events when using ABIEncoderV2 | Leonardo Alt | 2018-08-15 | 6 | -0/+41 |
|/ | |||||
* | Merge pull request #4390 from ethereum/abidecode | chriseth | 2018-08-15 | 9 | -0/+264 |
|\ | | | | | Add abi.decode | ||||
| * | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 9 | -0/+264 |
| | | |||||
* | | Merge pull request #4583 from ethereum/nested_array_library_changelog | chriseth | 2018-08-15 | 2 | -0/+114 |
|\ \ | | | | | | | Bugfix Changelog entry regarding nested arrays returned by library functions | ||||
| * | | Update bug list and add regular expression to bug list and add test. | Leonardo Alt | 2018-08-14 | 2 | -0/+114 |
| | | | |||||
* | | | Fixes #4718: High CPU usage when using large variable names | bakaoh | 2018-08-15 | 3 | -0/+15 |
| |/ |/| | |||||
* | | Merge pull request #4738 from ethereum/dataloc_merged | chriseth | 2018-08-15 | 80 | -126/+318 |
|\ \ | | | | | | | Enforce data location. | ||||
| * | | Update external tests. | chriseth | 2018-08-15 | 9 | -23/+23 |
| | | | |||||
| * | | Update tests. | chriseth | 2018-08-15 | 62 | -113/+179 |
| | | | |||||
| * | | New test cases. | mingchuan | 2018-08-15 | 20 | -0/+126 |
| | | | |||||
| * | | Update tests | Chase McDermott | 2018-08-15 | 8 | -39/+39 |
| | | | |||||
* | | | Merge pull request #4542 from aarlt/constructor_natspec | chriseth | 2018-08-15 | 1 | -0/+125 |
|\ \ \ | |/ / |/| | | Fix: natspec annotations on constructors | ||||
| * | | Fix: natspec annotations on constructors | Alexander Arlt | 2018-08-09 | 1 | -0/+125 |
| | | | | | | | | | | | | - natspec annotations on constructore where ignored. | ||||
* | | | Merge pull request #4765 from ethereum/fixes-issue-4673 | chriseth | 2018-08-14 | 1 | -0/+4 |
|\ \ \ | | | | | | | | | [WIP] Fixes issue where computing storage size for a number would take too long (or even cause a crash). | ||||
| * | | | Fixes issue where computing storage size for a number would take too long. | Christian Parpart | 2018-08-14 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Fixes #4673. | ||||
* | | | | Add implicit convertibility to function pointer with higher state mutability | Jesse Busman | 2018-08-14 | 4 | -0/+178 |
| | | | | |||||
* | | | | Merge pull request #4788 from ethereum/noWarnDoc | chriseth | 2018-08-14 | 1 | -24/+49 |
|\ \ \ \ | | | | | | | | | | | Test that documentation does not contain any warnings. | ||||
| * | | | | Also extract tests that do not start with a pragma. | chriseth | 2018-08-14 | 1 | -1/+9 |
| | | | | | |||||
| * | | | | Test that documentation does not contain any warnings. | chriseth | 2018-08-14 | 1 | -24/+41 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #4782 from ethereum/encodePackedArrayOfStructs | chriseth | 2018-08-14 | 2 | -0/+19 |
|\ \ \ \ | | | | | | | | | | | Encode packed array of structs | ||||
| * | | | | Tests. | chriseth | 2018-08-10 | 2 | -0/+19 |
| | |/ / | |/| | | |||||
* | | | | Adds support for structs in interfaces. | Christian Parpart | 2018-08-14 | 2 | -3/+62 |
| |/ / |/| | | | | | | | | Closes #4733. | ||||
* | | | Replace safety stop by invalid | Leonardo Alt | 2018-08-14 | 3 | -6/+6 |
| | | | |||||
* | | | Merge pull request #4799 from ethereum/semanticsTestsGasEtAl | chriseth | 2018-08-14 | 5 | -0/+122 |
|\ \ \ | | | | | | | | | Semantics tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ``block.gaslimit`` | ||||
| * | | | Fix tests for constantinople (expect zero for the time being). | Daniel Kirchner | 2018-08-14 | 1 | -9/+22 |
| | | | | |||||
| * | | | Add missing tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ↵ | Daniel Kirchner | 2018-08-14 | 5 | -0/+109 |
| | | | | | | | | | | | | | | | | ``block.gaslimit``. | ||||
* | | | | Merge pull request #4777 from ethereum/typeConversionMemory | chriseth | 2018-08-14 | 3 | -2/+7 |
|\ \ \ \ | |/ / / |/| | | | Defaul data location for type conversions is memory. | ||||
| * | | | Defaul data location for type conversions is memory. | chriseth | 2018-08-13 | 3 | -2/+7 |
| | | | | |||||
* | | | | Merge pull request #4798 from ethereum/mappingArgumentsAndReturns | chriseth | 2018-08-13 | 33 | -5/+428 |
|\ \ \ \ | | | | | | | | | | | Mapping arguments and returns | ||||
| * | | | | Add tests for mappings in function types. | Daniel Kirchner | 2018-08-13 | 4 | -0/+20 |
| | | | | | |||||
| * | | | | Allow mappings of arrays as arguments and return values of internal functions. | Daniel Kirchner | 2018-08-13 | 12 | -0/+100 |
| | | | | | |||||
| * | | | | Consider mappings return values in control flow analysis. | Daniel Kirchner | 2018-08-13 | 4 | -0/+20 |
| | | | | | |||||
| * | | | | Allow mapping arguments and return values in all internal functions. | Daniel Kirchner | 2018-08-13 | 4 | -9/+56 |
| | | | | | |||||
| * | | | | Allow mapping arguments and return values in internal library functions. | Daniel Kirchner | 2018-08-13 | 13 | -0/+236 |
| |/ / / | |||||
* | | | | Merge pull request #4696 from ethereum/byteLiteralConversion | chriseth | 2018-08-13 | 19 | -79/+262 |
|\ \ \ \ | |/ / / |/| | | | Disallow ambiguous implicit and explicit conversions from number literals to bytesXX | ||||
| * | | | Disallow ambiguous conversions between number literals and bytesXX types. | Daniel Kirchner | 2018-08-13 | 19 | -79/+262 |
| |/ / | |||||
* / / | Disallow remappings with empty prefix. | Daniel Kirchner | 2018-08-11 | 2 | -5/+13 |
|/ / | |||||
* | | Merge pull request #4783 from elopio/test/function-call-syntactical-equality | chriseth | 2018-08-09 | 1 | -1/+27 |
|\ \ | | | | | | | tests: add yul simplifier not applied with function calls | ||||
| * | | tests: add yul simplifier not applied with function calls | Leo Arias | 2018-08-09 | 1 | -1/+27 |
| | | | |||||
* | | | Fixes compilation under MSVC. | Christian Parpart | 2018-08-09 | 1 | -24/+25 |
|/ / | |||||
* | | Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in ↵ | Alex Beregszaszi | 2018-08-09 | 1 | -4/+4 |
| | | | | | | | | libevmasm) | ||||
* | | Merge pull request #4772 from ethereum/asm-json | Alex Beregszaszi | 2018-08-09 | 2 | -1/+180 |
|\ \ | |/ |/| | Add tests for the assembler object (and avoid misusing string{} for u256) | ||||
| * | Test for legacyAssembly in StandardCompiler | Alex Beregszaszi | 2018-08-09 | 1 | -1/+29 |
| | | |||||
| * | Add tests for the assembler object | Alex Beregszaszi | 2018-08-09 | 1 | -0/+151 |
| | | |||||
* | | Merge pull request #4684 from ethereum/underscores_in_numeric_literals | chriseth | 2018-08-09 | 8 | -0/+158 |
|\ \ | |/ |/| | [BREAKING] Underscores in numeric literals | ||||
| * | Cleanup & polish numbers-with-underscores parsing, also improving tests. | Christian Parpart | 2018-08-08 | 8 | -135/+111 |
| | | |||||
| * | Add stricter hex underscore rules | Balajiganapathi S | 2018-08-08 | 2 | -1/+17 |
| | | |||||
| * | Allow underscores in numbers. | Balajiganapathi S | 2018-08-08 | 1 | -0/+166 |
| | | |||||
* | | Merge pull request #4769 from ethereum/inlineasm-overloading-resolution | Alex Beregszaszi | 2018-08-09 | 1 | -0/+11 |
|\ \ | | | | | | | Provide nicer error message when referencing overloaded references | ||||
| * | | Provide nicer error message when referencing overloaded references | Alex Beregszaszi | 2018-08-08 | 1 | -0/+11 |
| | | | |||||
* | | | Merge pull request #4753 from mattaereal/boost-to-string-patch | Alex Beregszaszi | 2018-08-08 | 3 | -8/+6 |
|\ \ \ | |/ / |/| | | Replace boost:lexical_cast<std::string> for std::to_string. | ||||
| * | | Removing std:: from std::to_string and include for boost/lexical_cast | Matías Aereal Aeón | 2018-08-08 | 3 | -8/+6 |
| | | | |||||
* | | | Remove experimental 0.5.0 pragma | Alex Beregszaszi | 2018-08-08 | 1 | -2/+1 |
| | | | |||||
* | | | Merge pull request #4740 from ethereum/enforceNumberOfReturnValues | chriseth | 2018-08-08 | 11 | -37/+95 |
|\ \ \ | | | | | | | | | Disallow empty return in function with return arguments. | ||||
| * | | | Add back lost test case to a more reasonable location. | Daniel Kirchner | 2018-08-08 | 1 | -0/+3 |
| | | | | |||||
| * | | | Adjust return expressions in compilation tests. | Daniel Kirchner | 2018-08-08 | 2 | -9/+8 |
| | | | | |||||
| * | | | Update and extend tests for return expressions. | Daniel Kirchner | 2018-08-08 | 8 | -28/+84 |
| | | | | |||||
* | | | | Merge pull request #4589 from sifmelcara/fix/dynamic-link-boost-test | Alex Beregszaszi | 2018-08-08 | 2 | -0/+19 |
|\ \ \ \ | | | | | | | | | | | Fix shared boost test library build by customizing main | ||||
| * | | | | Define BOOST_TEST_DYN_LINK for building soltest if Boost_USE_STATIC_LIBS is ↵ | Daniel Kirchner | 2018-08-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | not set. | ||||
| * | | | | Fix shared boost test library build by customizing main | mingchuan | 2018-08-02 | 1 | -0/+15 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #4737 from ethereum/isoltestEarlyExit | chriseth | 2018-08-08 | 1 | -13/+22 |
|\ \ \ \ | | | | | | | | | | | Return from main if quit was requested during a sub-testsuite. | ||||
| * | | | | Initialize ``TestTool::m_formatted``. | Daniel Kirchner | 2018-08-08 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Always count all test cases in isoltest and exit early on user request. | Daniel Kirchner | 2018-08-08 | 1 | -12/+21 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #4749 from elopio/test/yul-simplifier-not-applied | chriseth | 2018-08-08 | 1 | -0/+10 |
|\ \ \ \ | | | | | | | | | | | tests: add yul simplifier not applied | ||||
| * | | | | tests: add yul simplifier not applied | Leo Arias | 2018-08-08 | 1 | -0/+10 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #4736 from ethereum/removeFillRight | Alex Beregszaszi | 2018-08-08 | 3 | -20/+11 |
|\ \ \ \ | |/ / / |/| | | | Remove remaining instances of ``fillRight``. | ||||
| * | | | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵ | Daniel Kirchner | 2018-08-08 | 3 | -20/+11 |
| |/ / | | | | | | | | | | assignments. | ||||
* | | | Merge pull request #4703 from ethereum/solc-fix-double-quoting-path-names | chriseth | 2018-08-08 | 1 | -0/+50 |
|\ \ \ | |/ / |/| | | solc: Fixes double-quoting path names on stderr. | ||||
| * | | solc: Fixes double-quoting path names on stderr and adds tests for it. | Christian Parpart | 2018-08-07 | 1 | -0/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge pull request #4731 from ethereum/interface-enum | chriseth | 2018-08-07 | 7 | -1/+92 |
|\ \ \ | | | | | | | | | Allow enums in interfaces | ||||
| * | | | Add endToEnd test for referencing enums | Alex Beregszaszi | 2018-08-07 | 1 | -0/+44 |
| | | | | |||||
| * | | | Add more syntax tests for enums and interfaces/libraries | Alex Beregszaszi | 2018-08-07 | 5 | -0/+48 |
| | | | | |||||
| * | | | Allow enums in interfaces | Alex Beregszaszi | 2018-08-07 | 1 | -1/+0 |
| | | | | |||||
* | | | | Merge pull request #4720 from ethereum/abi-rational-type-identifier | Alex Beregszaszi | 2018-08-07 | 2 | -0/+39 |
|\ \ \ \ | | | | | | | | | | | Fix type identifiers for RationalNumberType (on negative numbers) | ||||
| * | | | | Add test for abi.encode (negative) literals | Alex Beregszaszi | 2018-08-07 | 1 | -0/+36 |
| | | | | | |||||
| * | | | | Fix type identifiers for RationalNumberType | Alex Beregszaszi | 2018-08-07 | 1 | -0/+3 |
| |/ / / | |||||
* | | | | Merge pull request #4729 from ethereum/slot-on-non-storage | Alex Beregszaszi | 2018-08-07 | 1 | -0/+9 |
|\ \ \ \ | |/ / / |/| | | | Properly handle invalid references used together with _slot and _offset. | ||||
| * | | | More precise error message if using non-variables with _slot/_offset | Alex Beregszaszi | 2018-08-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Properly handle invalid references used together with _slot and _offset. | Alex Beregszaszi | 2018-08-07 | 1 | -0/+9 |
| | | | | |||||
* | | | | Merge pull request #4695 from ethereum/test-natspec | chriseth | 2018-08-07 | 1 | -25/+26 |
|\ \ \ \ | |/ / / |/| | | | Be explicit about which contract to test for in the Natspec tests | ||||
| * | | | Be explicit about which contract to test for in the Natspec tests | Alex Beregszaszi | 2018-08-06 | 1 | -25/+26 |
| | | | | |||||
* | | | | Merge pull request #4724 from ethereum/slot-in-assembly | Alex Beregszaszi | 2018-08-07 | 2 | -0/+18 |
|\ \ \ \ | | | | | | | | | | | Do not crash on using _slot and _offset suffixes on their own | ||||
| * | | | | Do not crash on using _slot and _offset suffixes on their own | Alex Beregszaszi | 2018-08-07 | 2 | -0/+18 |
| | |/ / | |/| | | |||||
* / | | | Remove clone feature. | chriseth | 2018-08-07 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #4694 from ethereum/test-abijson | chriseth | 2018-08-07 | 1 | -31/+31 |
|\ \ \ | | | | | | | | | Be explicit about which contract to test for in ABIJSON tests | ||||
| * | | | Be explicit about which contract to test for in ABIJSON tests | Alex Beregszaszi | 2018-08-06 | 1 | -31/+31 |
| |/ / | |||||
* | | | Merge pull request #4663 from ethereum/dropConstantAST | chriseth | 2018-08-07 | 20 | -48/+0 |
|\ \ \ | | | | | | | | | [BREAKING] Drop constant field from JSON AST | ||||
| * | | | Update tests. | Daniel Kirchner | 2018-08-06 | 20 | -48/+0 |
| | | | | |||||
* | | | | Tests for deriving types for empty string. | chriseth | 2018-08-06 | 1 | -0/+38 |
| | | | | |||||
* | | | | Merge pull request #4689 from ethereum/cleanup-050-tests | chriseth | 2018-08-06 | 23 | -106/+11 |
|\ \ \ \ | |_|/ / |/| | | | Cleanup 0.5.0 test cases | ||||
| * | | | Cleanup 0.5.0 test cases | Alex Beregszaszi | 2018-08-06 | 23 | -106/+11 |
| | | | | |||||
* | | | | Merge pull request #4671 from ethereum/mappingTupleAssignment | chriseth | 2018-08-06 | 8 | -12/+144 |
|\ \ \ \ | |/ / / |/| | | | Disallow assignments to mappings within tuple assignments; allow for local variables. | ||||
| * | | | Additional semantics test cases. | Daniel Kirchner | 2018-08-03 | 1 | -0/+45 |
| | | | | |||||
| * | | | Allow assignments to local variables of mapping types. | Daniel Kirchner | 2018-08-03 | 5 | -4/+57 |
| | | | | |||||
| * | | | Disallow assignments to mappings within tuple assignments. | Daniel Kirchner | 2018-08-03 | 4 | -12/+46 |
| | | | | |||||
* | | | | Merge pull request #4644 from ethereum/event_struct_error | chriseth | 2018-08-06 | 8 | -0/+28 |
|\ \ \ \ | | | | | | | | | | | Disallow structs in events without ABIEncoderV2 | ||||
| * | | | | Disallow structs in events without ABIEncoderV2 | Leonardo Alt | 2018-08-03 | 8 | -0/+28 |
| |/ / / | |||||
* | | | | Merge pull request #4681 from ethereum/var-suggestion-crash | chriseth | 2018-08-06 | 1 | -0/+12 |
|\ \ \ \ | |_|/ / |/| | | | Fix declaration suggestion for var with different number of components | ||||
| * | | | Fix declaration suggestion for var with different number of components | Alex Beregszaszi | 2018-08-04 | 1 | -0/+12 |
| |/ / | |||||
* | | | Merge pull request #4677 from ethereum/jsonAstTestExtraction | chriseth | 2018-08-06 | 58 | -473/+5054 |
|\ \ \ | | | | | | | | | JSON AST test extraction | ||||
| * | | | Extract AST JSON tests. | Daniel Kirchner | 2018-08-04 | 54 | -470/+4753 |
| | | | | |||||
| * | | | Infrastructure for extracting JSON AST tests. | Daniel Kirchner | 2018-08-04 | 5 | -4/+302 |
| |/ / | |||||
* | | | Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLoose | Christian Parpart | 2018-08-04 | 17 | -212/+29 |
|\ \ \ | | | | | | | | | [BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError | ||||
| * | | | Drops tests for inline assembly jumps and function access as both isn't ↵ | Christian Parpart | 2018-08-02 | 1 | -46/+0 |
| | | | | | | | | | | | | | | | | possible anymore. | ||||
| * | | | Drop swap_peephole_optimization test from EndToEndTests | Christian Parpart | 2018-08-02 | 1 | -44/+0 |
| | | | | | | | | | | | | | | | | Already covered by libevmasm/Optimiser: peephole_noncommutative_swap1, peephole_commutative_swap1 and peephole_swap_comparison | ||||
| * | | | Update tests to remove support for loose assembly | Christian Parpart | 2018-08-02 | 10 | -81/+24 |
| | | | | |||||
| * | | | Disallow loos assembly in Solidity by permanently setting it to SyntaxError ↵ | Christian Parpart | 2018-08-02 | 12 | -47/+11 |
| | |/ | |/| | | | | | | | (from Warning) | ||||
* | | | Merge pull request #4662 from evgeniuz/develop | Alex Beregszaszi | 2018-08-03 | 1 | -0/+18 |
|\ \ \ | |_|/ |/| | | added helper function that joins vectors of strings | ||||
| * | | added helper function that joins vectors of strings, refactored suggestions ↵ | Evgeniy Filatov | 2018-08-03 | 1 | -0/+18 |
| |/ | | | | | | | formattingi function to use it | ||||
* / | Turn warning about uninitialized storage returns into an error. | Daniel Kirchner | 2018-08-03 | 21 | -178/+178 |
|/ | |||||
* | Merge pull request #4646 from ethereum/smt_model_secondary_location | Alex Beregszaszi | 2018-08-02 | 1 | -1/+1 |
|\ | | | | | SMT model is sorted and printed as secondary location | ||||
| * | SMT model variables are sorted and printed as secondary source location | Leonardo Alt | 2018-08-02 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4399 from ethereum/contractWhitespace | Alex Beregszaszi | 2018-08-02 | 43 | -792/+792 |
|\ \ | |/ |/| | Remove trailing whitespace in all contract files. | ||||
| * | Remove trailing whitespace in all contract files. | Daniel Kirchner | 2018-08-02 | 43 | -792/+792 |
| | | |||||
* | | Add additional test cases. | Daniel Kirchner | 2018-08-01 | 2 | -0/+10 |
| | | |||||
* | | Do not exclude public state variables when looking for conflicting declarations. | Daniel Kirchner | 2018-08-01 | 4 | -0/+27 |
|/ | |||||
* | Merge pull request #4378 from ethereum/noBaseWithoutArguments | Alex Beregszaszi | 2018-08-01 | 2 | -1/+10 |
|\ | | | | | [BREAKING] Disallow calling base constructors without arguments. | ||||
| * | Correctly determine whether base constructor is called without parentheses. | chriseth | 2018-08-01 | 1 | -0/+9 |
| | | |||||
| * | Disallow calling base constructors without arguments. | chriseth | 2018-08-01 | 1 | -1/+1 |
| | | |||||
* | | Adds positive/negative tests for checking error on cyclic dependency checker ↵ | Christian Parpart | 2018-08-01 | 4 | -0/+791 |
|/ | | | | exhaustion | ||||
* | Fix tests regarding contract type conversion. | chriseth | 2018-08-01 | 16 | -34/+35 |
| | |||||
* | Disallow conversion between unrelated contract types. | chriseth | 2018-08-01 | 11 | -8/+72 |
| | |||||
* | Merge pull request #4507 from ethereum/v050-var-keyword-trace-removals | Alex Beregszaszi | 2018-08-01 | 5 | -0/+40 |
|\ | | | | | Ensures an empty use of var keyword is caught with the proper non-fatal error message | ||||
| * | Ensures an empty use of var keyword is caught with the proper error message. | Christian Parpart | 2018-08-01 | 5 | -0/+40 |
| | | |||||
* | | Merge pull request #4625 from ethereum/pragma-cleanup | Alex Beregszaszi | 2018-07-31 | 6 | -20/+12 |
|\ \ | | | | | | | Remove unnecessary or stray version pragmas | ||||
| * | | Replace stray solidity pragma with progamatically inserting it in ↵ | Alex Beregszaszi | 2018-07-31 | 1 | -4/+2 |
| | | | | | | | | | | | | SolidityOptimizer test | ||||
| * | | Remove unnecesary version pragma from some syntax tests | Alex Beregszaszi | 2018-07-31 | 5 | -16/+10 |
| | | | |||||
* | | | Fix crash when FunctionType has undeclared type as parameter | Leonardo Alt | 2018-07-31 | 7 | -11/+36 |
|/ / | |||||
* | | Replace dev::eth namespace with dev::lll in LLL | Alex Beregszaszi | 2018-07-28 | 5 | -8/+8 |
| | | |||||
* | | Merge pull request #4556 from ethereum/library-data-locations | Alex Beregszaszi | 2018-07-26 | 6 | -0/+22 |
|\ \ | | | | | | | Add tests for data locations within libraries | ||||
| * | | Add tests for data locations within libraries | Alex Beregszaszi | 2018-07-25 | 6 | -0/+22 |
| | | | |||||
* | | | Merge pull request #4561 from ethereum/scanner-tests | Alex Beregszaszi | 2018-07-26 | 1 | -1/+18 |
|\ \ \ | | | | | | | | | Add comprehensive tests for the scanner | ||||
| * | | | Scanner tests for all shifts | Alex Beregszaszi | 2018-07-25 | 1 | -1/+10 |
| | | | | |||||
| * | | | Scanner tests for all escapes | Alex Beregszaszi | 2018-07-25 | 1 | -0/+8 |
| |/ / | |||||
* | | | Merge pull request #4562 from ethereum/parser-tests | Alex Beregszaszi | 2018-07-25 | 12 | -0/+61 |
|\ \ \ | | | | | | | | | Add comprehensive tests for the parser | ||||
| * | | | Add syntax tests for import statements | Alex Beregszaszi | 2018-07-25 | 5 | -0/+15 |
| | | | | |||||
| * | | | Add syntax test for illegal pragma key | Alex Beregszaszi | 2018-07-25 | 1 | -0/+4 |
| | | | | |||||
| * | | | Add syntax test for location specifier redeclarations | Alex Beregszaszi | 2018-07-25 | 3 | -0/+23 |
| | | | | |||||
| * | | | Add syntax test for empty emit statement | Alex Beregszaszi | 2018-07-25 | 1 | -0/+7 |
| | | | | |||||
| * | | | Add syntax tests for assembly block type (evmasm) | Alex Beregszaszi | 2018-07-25 | 2 | -0/+12 |
| |/ / | |||||
* | | | Fix upstream issues in stringutils | Alex Beregszaszi | 2018-07-25 | 1 | -1/+1 |
| | | | |||||
* | | | Update stringutils to upstream 3c63f18 | Alex Beregszaszi | 2018-07-25 | 1 | -98/+104 |
| | | | |||||
* | | | Add more tests for inlineasm/AsmAnalyzer | Alex Beregszaszi | 2018-07-25 | 5 | -0/+60 |
| | | | |||||
* | | | Add more comprehensive tests for embedded inline assembly LValue/RValue access | Alex Beregszaszi | 2018-07-25 | 7 | -0/+74 |
|/ / | |||||
* | | Merge pull request #4572 from ethereum/cmake-boost-tests | Alex Beregszaszi | 2018-07-25 | 1 | -1/+1 |
|\ \ | | | | | | | Do not include single-header boost_unit_test | ||||
| * | | Do not include single-header boost_unit_test | Paweł Bylica | 2018-07-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | | | Merge pull request #4554 from ethereum/indexing-tests | Alex Beregszaszi | 2018-07-25 | 6 | -0/+46 |
|\ \ \ | | | | | | | | | Add comprehensive syntax tests for indexed access | ||||
| * | | | Add comprehensive syntax tests for indexed access | Alex Beregszaszi | 2018-07-25 | 6 | -0/+46 |
| |/ / | |||||
* / / | More consistent catch statements | Alex Beregszaszi | 2018-07-25 | 1 | -1/+1 |
|/ / | | | | | | | Also take const& in all cases. | ||||
* | | Add syntax tests for unknown / invalid pragma | Alex Beregszaszi | 2018-07-25 | 2 | -0/+6 |
| | | |||||
* | | Merge pull request #4527 from ethereum/mappingEnforceStorage | Alex Beregszaszi | 2018-07-24 | 9 | -10/+37 |
|\ \ | | | | | | | Enforces explicit data location for mappings | ||||
| * | | Enforces data location of local mappings to storage. | Erik Kundt | 2018-07-24 | 9 | -10/+37 |
| | | | |||||
* | | | Disallow functions without implementation to use modifiers. This was already ↵ | Christian Parpart | 2018-07-24 | 2 | -3/+3 |
| |/ |/| | | | | | the case in the experimental 0.5.0 mode. | ||||
* | | Merge pull request #4439 from ethereum/address_members | chriseth | 2018-07-19 | 25 | -144/+45 |
|\ \ | | | | | | | [BREAKING] Enforce address members not accessible by contract instance | ||||
| * | | Changes in ExpressionCompiler | Leonardo Alt | 2018-07-19 | 1 | -0/+6 |
| | | | |||||
| * | | Removing tests that are not useful anymore | Leonardo Alt | 2018-07-18 | 3 | -43/+0 |
| | | | |||||
| * | | Add suggestion to error message | Leonardo Alt | 2018-07-17 | 12 | -12/+12 |
| | | | |||||
| * | | Address members not accessible by contract instance | Leonardo Alt | 2018-07-17 | 24 | -104/+42 |
| | | | |||||
* | | | Adds warning if function is shadowing a contract. | Erik Kundt | 2018-07-18 | 2 | -5/+10 |
| | | | |||||
* | | | Adjusts syntax tests to new constructor syntax. | Erik Kundt | 2018-07-18 | 29 | -116/+3 |
| |/ |/| | |||||
* | | Adds comment about reasoning behind syntax test. | Erik Kundt | 2018-07-18 | 1 | -3/+5 |
| | | |||||
* | | Removes obsolete syntax tests. | Erik Kundt | 2018-07-18 | 2 | -10/+0 |
| | | |||||
* | | Suggests external for fallback and interface functions. | chriseth | 2018-07-18 | 7 | -6/+16 |
| | | |||||
* | | Adjusts tests to expect type errors on default visibility. | Erik Kundt | 2018-07-18 | 7 | -18/+7 |
|/ | |||||
* | Merge pull request #4463 from ethereum/isoltest-colors-on-windows | Christian Parpart | 2018-07-17 | 1 | -0/+26 |
|\ | | | | | isoltest: adds support for properly handling ANSI escape sequences on Windows | ||||
| * | isoltest: adds support for properly handling ANSI escape sequences on ↵ | Christian Parpart | 2018-07-16 | 1 | -0/+26 |
| | | | | | | | | Win32/Win64 builds. | ||||
* | | Add missing period in the end of error messages | Leonardo Alt | 2018-07-16 | 33 | -33/+33 |
| | | |||||
* | | Merge pull request #4481 from ethereum/disallow-throw | chriseth | 2018-07-16 | 29 | -124/+107 |
|\ \ | | | | | | | [BREAKING] Deprecate the throw statement | ||||
| * | | Replace throw with revert() in compilation tests | Alex Beregszaszi | 2018-07-16 | 23 | -92/+92 |
| | | | |||||
| * | | Replace throw with revert() in end-to-end tests | Alex Beregszaszi | 2018-07-16 | 3 | -14/+14 |
| | | | |||||
| * | | Deprecate the throw statement | Alex Beregszaszi | 2018-07-16 | 3 | -18/+1 |
| | | | |||||
* | | | Fixes end-to-end tests. | Erik Kundt | 2018-07-16 | 4 | -16/+16 |
| | | | |||||
* | | | Moves unit test from initial branch. | Erik Kundt | 2018-07-16 | 1 | -18/+18 |
| | | | |||||
* | | | Specifies visibility in syntax test. | Erik Kundt | 2018-07-16 | 1 | -3/+3 |
| | | | |||||
* | | | Specifies visibility in unit tests. | Erik Kundt | 2018-07-16 | 9 | -150/+150 |
|/ / | |||||
* | | Merge pull request #4500 from ethereum/v050-interface-functions-must-be-external | chriseth | 2018-07-16 | 10 | -15/+11 |
|\ \ | | | | | | | [BREAKING] interface functions must be external | ||||
| * | | enforce interface-functions to be external-declared | Christian Parpart | 2018-07-16 | 10 | -15/+11 |
| |/ | | | | | | | | | | | | | | | - libsolidity: Enforce interface-functions must be external-declared. - Changelog adapted to reflect changes wrt. functions in interfaces. - test: Adjustments according to prior interface-function changes. - tests: Adapting SolidityEndToEndTest to interface-function change. - docs: Adapted documentation to interface-function change. | ||||
* | | Added default data locations to parameters for end to end tests. | Chase McDermott | 2018-07-16 | 11 | -240/+240 |
| | | |||||
* | | Added default data locations to docs and other external tests. | Chase McDermott | 2018-07-15 | 26 | -74/+74 |
|/ | |||||
* | Merge pull request #4438 from ethereum/address_members_external_tests_docs | chriseth | 2018-07-13 | 8 | -9/+9 |
|\ | | | | | Address members used by contracts: update external tests and docs | ||||
| * | Update external tests and docs | Leonardo Alt | 2018-07-12 | 8 | -9/+9 |
| | | |||||
* | | Merge pull request #4501 from ethereum/recursiveStructsWithFixedArrays | chriseth | 2018-07-13 | 12 | -0/+139 |
|\ \ | | | | | | | Consider fixed-size arrays when checking for recursive structs. | ||||
| * | | Add test cases. | Daniel Kirchner | 2018-07-13 | 12 | -0/+139 |
| | | | |||||
* | | | Update tests. | Daniel Kirchner | 2018-07-13 | 22 | -103/+177 |
|/ / | |||||
* | | Merge pull request #4437 from ethereum/report-empty-var-decls | chriseth | 2018-07-13 | 3 | -0/+22 |
|\ \ | | | | | | | [BREAKING] Report empty var tuple decls | ||||
| * | | Generates a syntax error when declaring a variable declaration's LHS has no ↵ | Christian Parpart | 2018-07-12 | 3 | -0/+22 |
| | | | | | | | | | | | | named components | ||||
* | | | Merge pull request #4478 from ethereum/requireStorageLocation | chriseth | 2018-07-13 | 20 | -68/+53 |
|\ \ \ | |/ / |/| | | Turn missing storage locations into an error. | ||||
| * | | Update compilation tests wrt requiring storage locations. | Daniel Kirchner | 2018-07-12 | 4 | -12/+12 |
| | | | |||||
| * | | Update test wrt requiring storage locations. | Daniel Kirchner | 2018-07-12 | 16 | -56/+41 |
| |/ | |||||
* | | Merge pull request #4428 from ethereum/enforce_staticcall_view | chriseth | 2018-07-12 | 1 | -1/+37 |
|\ \ | | | | | | | [BREAKING] Enforce STATICCALL for view and pure | ||||
| * | | Use STATICCALL for view and pure | Leonardo Alt | 2018-07-11 | 1 | -1/+37 |
| | | | |||||
* | | | Merge pull request #4083 from ethereum/variable_stack_slot | chriseth | 2018-07-12 | 1 | -2/+316 |
|\ \ \ | |_|/ |/| | | [BREAKING] Allocate local variables according to their scope | ||||
| * | | Change test from public to external | Leonardo Alt | 2018-07-11 | 1 | -1/+1 |
| | | | |||||
| * | | Added assertion and tests suggestions | Leonardo Alt | 2018-07-11 | 1 | -5/+13 |
| | | | |||||
| * | | Add more tests and assertions | Leonardo Alt | 2018-07-11 | 1 | -1/+153 |
| | | | |||||
| * | | Added tests and review suggestions | Leonardo Alt | 2018-07-11 | 1 | -0/+154 |
| | | | |||||
* | | | Added default data locations to parameters for syntax tests. | Chase McDermott | 2018-07-12 | 38 | -83/+83 |
| | | | |||||
* | | | Merge pull request #4461 from ethereum/fuzzer-fix | chriseth | 2018-07-12 | 1 | -0/+4 |
|\ \ \ | | | | | | | | | Catch the proper exceptions in solfuzzer | ||||
| * | | | Catch the proper exceptions in solfuzzer | Alex Beregszaszi | 2018-07-12 | 1 | -0/+4 |
| | | | | |||||
* | | | | Merge pull request #4443 from ethereum/double_var_decl_fix | chriseth | 2018-07-12 | 3 | -0/+34 |
|\ \ \ \ | |/ / / |/| | | | Fix crash when declaring the same var twice in the same scope | ||||
| * | | | Fix crash for double variable declaration in the same scope. | Leonardo Alt | 2018-07-11 | 3 | -0/+34 |
| |/ / | |||||
* | | | Merge pull request #4480 from ethereum/fixZeroWithExponent | chriseth | 2018-07-12 | 2 | -23/+29 |
|\ \ \ | | | | | | | | | Fix literals with exponents with mantissa of zero. | ||||
| * | | | Split test case into failing and succeeding case. | Daniel Kirchner | 2018-07-11 | 2 | -24/+29 |
| | | | |