Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Disallow the years unit denomination properly | Alex Beregszaszi | 2018-06-22 | 3 | -9/+2 |
| | |||||
* | Merge pull request #4306 from ethereum/remove_050_workaround_scoping | chriseth | 2018-06-21 | 24 | -85/+29 |
|\ | | | | | [BREAKING] C99 scoping rules by default (remove 050 workaround) | ||||
| * | C99 scoping rules by default | Leonardo Alt | 2018-06-20 | 24 | -85/+29 |
| | | |||||
* | | Merge pull request #4219 from ethereum/functionTypeNamedArguments | Alex Beregszaszi | 2018-06-21 | 3 | -7/+6 |
|\ \ | |/ |/| | Turn named return parameters in function types into an error. | ||||
| * | Return parameters in function types may not be named. | Daniel Kirchner | 2018-06-18 | 3 | -7/+6 |
| | | |||||
* | | Disallow raw callcode (was deprecated in 0.4.12) | Alex Beregszaszi | 2018-06-20 | 5 | -15/+4 |
|/ | |||||
* | Enforce disallowing empty structs | Christian Parpart | 2018-06-14 | 5 | -20/+13 |
| | | | | | | | | This patch enfoces an error when it encounters an empty struct, effectively eliminating the deprecation warning. Also adjust 419_interface_structs to explicitely test for (non-empty) structs, as this behaviour "may" change in the future. | ||||
* | Disallow sha3/suicide aliases | Alex Beregszaszi | 2018-06-13 | 4 | -41/+13 |
| | |||||
* | Merge pull request #4241 from ethereum/show-named-arg | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
|\ | | | | | Show named argument name in error | ||||
| * | Show named argument name in error | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
| | | |||||
* | | Extract test cases from ViewPureChecker | Alex Beregszaszi | 2018-06-06 | 22 | -0/+227 |
|/ | |||||
* | Move "create2_as_variable" back to non-isoltest tests. | chriseth | 2018-06-05 | 1 | -6/+0 |
| | |||||
* | Split out SolidityNameAndTypeResolution tests into SyntaxTests | Alex Beregszaszi | 2018-05-31 | 551 | -0/+4244 |
| | |||||
* | Merge pull request #4172 from ethereum/trailing_dot | chriseth | 2018-05-31 | 3 | -0/+18 |
|\ | | | | | [BREAKING] Disallow trailing dot not followed by number | ||||
| * | Disallow trailing dots that are not followed by a number | Leonardo Alt | 2018-05-30 | 3 | -0/+18 |
| | | |||||
* | | Merge pull request #3743 from ethereum/popStorageArray | chriseth | 2018-05-31 | 29 | -0/+54 |
|\ \ | |/ |/| | pop() for storage arrays | ||||
| * | Adds syntax tests, documentation and changelog entry. | Erik Kundt | 2018-05-30 | 29 | -0/+54 |
| | | | | | | | | Refines comment for array utility function. | ||||
* | | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 14 | -1/+79 |
|/ | |||||
* | Merge pull request #4067 from ethereum/050 | chriseth | 2018-05-24 | 10 | -9/+128 |
|\ | | | | | [BREAKING] Version 0.5.0 | ||||
| * | Update control flow graph. | Daniel Kirchner | 2018-05-17 | 2 | -7/+19 |
| | | |||||
| * | Disallow conversions between bytesX and uintY of different size. | Daniel Kirchner | 2018-05-17 | 7 | -2/+56 |
| | | |||||
| * | Add syntax tests and Changelog entry | Leonardo Alt | 2018-05-17 | 1 | -0/+53 |
| | | |||||
* | | Move more parser tests to syntax tests | Alex Beregszaszi | 2018-05-22 | 54 | -0/+458 |
|/ | |||||
* | Split warning for multi arguments for hash functions | Alex Beregszaszi | 2018-05-16 | 7 | -18/+36 |
| | |||||
* | Add test for single non-bytes argument. | chriseth | 2018-05-16 | 1 | -0/+12 |
| | |||||
* | Adjust tests. | chriseth | 2018-05-16 | 11 | -10/+28 |
| | |||||
* | Merge pull request #4145 from ethereum/more-parser-test-moves | chriseth | 2018-05-16 | 11 | -0/+102 |
|\ | | | | | Move couple of parser tests to syntax tests. | ||||
| * | Move couple of parser tests to syntax tests. | Alex Beregszaszi | 2018-05-16 | 11 | -0/+102 |
| | | |||||
* | | Add tests for multi variable declaration statement. | chriseth | 2018-05-16 | 8 | -0/+80 |
|/ | |||||
* | ABI encoding functions are pure and should be usable in constants. | chriseth | 2018-05-15 | 1 | -0/+7 |
| | |||||
* | Add test for default location. | Daniel Kirchner | 2018-05-15 | 1 | -0/+19 |
| | |||||
* | Add control flow analyzer and test for uninitialized storage returns. | Daniel Kirchner | 2018-05-15 | 22 | -0/+375 |
| | |||||
* | Replace constant with view in the tests. | Daniel Kirchner | 2018-05-09 | 10 | -4/+85 |
| | |||||
* | Update test expectations. | Daniel Kirchner | 2018-05-09 | 30 | -56/+56 |
| | |||||
* | Merge pull request #4054 from ethereum/token-names | chriseth | 2018-05-09 | 16 | -16/+16 |
|\ | | | | | Improve parser error messages | ||||
| * | Update parser test expectations | Alex Beregszaszi | 2018-05-04 | 16 | -16/+16 |
| | | |||||
* | | New tests for wildcard assignments. | chriseth | 2018-05-08 | 5 | -0/+66 |
| | | |||||
* | | Extract tests. | chriseth | 2018-05-08 | 5 | -0/+47 |
| | | |||||
* | | Merge pull request #4063 from ethereum/emit-non-event | chriseth | 2018-05-04 | 1 | -0/+10 |
|\ \ | |/ |/| | Show proper error when trying to emit a non-event | ||||
| * | Show proper error when trying to emit a non-event | Alex Beregszaszi | 2018-05-04 | 1 | -0/+10 |
| | | |||||
* | | Simplify expectIdentifierToken by using expectToken | Alex Beregszaszi | 2018-05-04 | 7 | -7/+7 |
|/ | |||||
* | Move some parser tests to syntax tests | Alex Beregszaszi | 2018-05-03 | 29 | -0/+183 |
| | |||||
* | Add syntax tests for bytesM | Alex Beregszaszi | 2018-04-30 | 5 | -0/+62 |
| | |||||
* | Merge pull request #3981 from ethereum/years-suffix | chriseth | 2018-04-24 | 6 | -0/+35 |
|\ | | | | | The "year" denomination is deprecated | ||||
| * | The "year" denomination is deprecated | Alex Beregszaszi | 2018-04-23 | 3 | -0/+13 |
| | | |||||
| * | Add more denomination tests | Alex Beregszaszi | 2018-04-23 | 2 | -0/+11 |
| | | |||||
| * | Extract subdenomination tests | Alex Beregszaszi | 2018-04-23 | 2 | -0/+11 |
| | | |||||
* | | Merge pull request #3970 from elopio/test/docstring-tag-end | Alex Beregszaszi | 2018-04-24 | 2 | -0/+6 |
|\ \ | | | | | | | docstring: add missing space | ||||
| * | | docstring: add missing space | Leo Arias | 2018-04-24 | 2 | -0/+6 |
| | | | |||||
* | | | Merge pull request #3976 from ethereum/emptyTupleComponent | chriseth | 2018-04-23 | 7 | -0/+78 |
|\ \ \ | |_|/ |/| | | Empty tuple components should not be possible | ||||
| * | | Treats inline array as an error. | Erik Kundt | 2018-04-23 | 1 | -3/+1 |
| | | | |||||
| * | | Turns it into warning (error for 0.5.0) and adds Changelog entry. | Erik Kundt | 2018-04-23 | 8 | -15/+45 |
| | | | |||||
| * | | Prevents null type from being used in tuple. | Erik Kundt | 2018-04-22 | 5 | -0/+50 |
| |/ | |||||
* | | Turn deprecated warnings for sha3/suicide into errors (experimental 0.5.0) | Alex Beregszaszi | 2018-04-21 | 2 | -1/+14 |
| | | |||||
* | | Extract syntax tests | Alex Beregszaszi | 2018-04-21 | 1 | -0/+12 |
|/ | |||||
* | Update tight packing test cases | Alex Beregszaszi | 2018-04-20 | 1 | -3/+14 |
| | |||||
* | Make literals an error for tight packing (experimental 0.5.0) | Alex Beregszaszi | 2018-04-20 | 1 | -0/+26 |
| | |||||
* | Merge pull request #3941 from ethereum/bytes-contract | chriseth | 2018-04-19 | 1 | -0/+7 |
|\ | | | | | Disallow explicit conversion of bytesXX to contract | ||||
| * | Disallow explicit conversion of bytesXX to contract | Alex Beregszaszi | 2018-04-19 | 1 | -0/+7 |
| | | |||||
* | | Improve error message for failed member lookup. | chriseth | 2018-04-19 | 3 | -0/+24 |
| | | |||||
* | | Extract tests. | chriseth | 2018-04-19 | 1 | -0/+10 |
|/ | |||||
* | Warn about functions named "constructor". | chriseth | 2018-04-19 | 1 | -0/+5 |
| | |||||
* | Fix name clashes between constructor and fallback function. | chriseth | 2018-04-18 | 3 | -1/+14 |
| | |||||
* | Extract tests. | chriseth | 2018-04-18 | 25 | -0/+197 |
| | |||||
* | Merge pull request #3793 from ethereum/rationalNumberLimit | chriseth | 2018-04-16 | 8 | -0/+113 |
|\ | | | | | Rational number limit | ||||
| * | Limits rational numbers to 4096 bits. | Erik Kundt | 2018-04-16 | 8 | -0/+113 |
| | | |||||
* | | Merge pull request #3875 from ethereum/constructorSelfRef | chriseth | 2018-04-14 | 3 | -0/+50 |
|\ \ | |/ |/| | Stricter check for "this" in constructor. | ||||
| * | Stricter check for member access to "this" in constructor. | Daniel Kirchner | 2018-04-13 | 3 | -0/+50 |
| | | |||||
* | | Merge pull request #2980 from ethereum/abi-api | chriseth | 2018-04-13 | 9 | -5/+148 |
|\ \ | | | | | | | Add abi.encode and abi.encodePacked | ||||
| * | | Allow struct encoding with new encoder. | chriseth | 2018-04-12 | 4 | -5/+55 |
| | | | |||||
| * | | Check partial function parameters if rest is arbitrary. | chriseth | 2018-04-12 | 1 | -0/+13 |
| | | | |||||
| * | | Tests for view and pure. | chriseth | 2018-04-12 | 2 | -0/+44 |
| | | | |||||
| * | | Tests. | chriseth | 2018-04-12 | 2 | -0/+36 |
| | | | |||||
* | | | Add additional test for ``var`` for storage variables. | Daniel Kirchner | 2018-04-12 | 3 | -7/+36 |
| | | | |||||
* | | | Fix internal compiler error when parsing ``var`` declaration without identifier. | Daniel Kirchner | 2018-04-12 | 2 | -0/+26 |
| |/ |/| | |||||
* | | Merge pull request #3848 from ethereum/constantDivisionByZero | chriseth | 2018-04-12 | 12 | -0/+92 |
|\ \ | |/ |/| | Error on invalid arithmetic with constant expressions. | ||||
| * | Add test to check ConstantEvaluator for pure non-rational functions. | Daniel Kirchner | 2018-04-12 | 1 | -0/+11 |
| | | |||||
| * | Add tests for literal operations as well. | Daniel Kirchner | 2018-04-12 | 4 | -0/+20 |
| | | |||||
| * | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 7 | -0/+61 |
| | | |||||
* | | Properly cope with constructor headers. | chriseth | 2018-04-12 | 2 | -0/+15 |
| | | |||||
* | | Update expectations. | chriseth | 2018-04-12 | 10 | -17/+18 |
| | | |||||
* | | Extract modifier tests. | chriseth | 2018-04-12 | 14 | -0/+73 |
| | | |||||
* | | Warn if modifiers are applied to functions without implementation. | chriseth | 2018-04-12 | 2 | -0/+23 |
| | | |||||
* | | New tests for function state variables. | chriseth | 2018-04-12 | 6 | -0/+61 |
| | | |||||
* | | Add expectations. | chriseth | 2018-04-12 | 24 | -9/+53 |
| | | |||||
* | | Extract function type tests. | chriseth | 2018-04-12 | 25 | -0/+132 |
|/ | |||||
* | Fix ConstantEvaluator to correctly handle single element tuples. | Daniel Kirchner | 2018-04-12 | 3 | -0/+35 |
| | |||||
* | Syntax Tests: extract array_length_* tests. | Daniel Kirchner | 2018-04-12 | 19 | -0/+117 |
| | |||||
* | Fix line numbers for errors. | chriseth | 2018-04-11 | 2 | -512/+512 |
| | |||||
* | Merge pull request #3309 from ethereum/limit-errors | chriseth | 2018-04-11 | 2 | -0/+1048 |
|\ | | | | | Limit the number of errors output in a single run to 256 | ||||
| * | Limit the number of errors output in a single run to 256 | Alex Beregszaszi | 2018-04-06 | 2 | -0/+1048 |
| | | |||||
* | | Fix bug in typechecking when comparing rational literals | Jason Cobb | 2018-04-11 | 1 | -0/+7 |
| | | |||||
* | | Add source locations to syntax test expectations. | Daniel Kirchner | 2018-04-10 | 50 | -78/+77 |
| | | |||||
* | | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 2 | -2/+5 |
| | | |||||
* | | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 8 | -7/+19 |
| | | | | | | | | annotations in ContractCompiler. | ||||
* | | Allow duplicated constructor calls, if no arguments; support for multiple ↵ | Daniel Kirchner | 2018-04-09 | 8 | -5/+38 |
| | | | | | | | | | | | | inheritance; backwards compatibility. # tmp | ||||
* | | Error on duplicated super constructor calls | Federico Bond | 2018-04-09 | 2 | -0/+8 |
|/ | |||||
* | Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis | Daniel Kirchner | 2018-04-05 | 3 | -1/+16 |
|\ | | | | | Error when using empty parentheses for base class constructors that r… | ||||
| * | Error when using empty parenthesis for base class constructors that require ↵ | Daniel Kirchner | 2018-04-05 | 3 | -1/+16 |
| | | | | | | | | arguments. | ||||
* | | Merge pull request #3745 from ethereum/fixRecursion | Alex Beregszaszi | 2018-04-05 | 13 | -0/+115 |
|\ \ | | | | | | | Fix invalid recursion errors for structs | ||||
| * | | Extract constant cycle tests. | chriseth | 2018-04-03 | 4 | -0/+32 |
| | | | |||||
| * | | Fix detection of recursive structs. | chriseth | 2018-04-03 | 2 | -0/+30 |
| | | | |||||
| * | | Extract recursive struct tests. | chriseth | 2018-04-03 | 7 | -0/+53 |
| | | | |||||
* | | | Merge pull request #3808 from ethereum/parserTests | chriseth | 2018-04-04 | 2 | -0/+9 |
|\ \ \ | |_|/ |/| | | SyntaxTests: extend syntax tests and isoltest to support parser error… | ||||
| * | | Adds parsing sub-directory in syntaxTests and moves two example tests from ↵ | Daniel Kirchner | 2018-04-04 | 2 | -0/+9 |
| |/ | | | | | | | SolidityParser.cpp to test contracts. | ||||
* / | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 2 | -3/+3 |
|/ | |||||
* | Merge pull request #3699 from ethereum/interfaceExternalVisibility | Alex Beregszaszi | 2018-04-03 | 7 | -0/+39 |
|\ | | | | | Defaults to external visibility for interfaces. | ||||
| * | Makes visibility warning more concise. | Erik Kundt | 2018-04-03 | 1 | -1/+1 |
| | | |||||
| * | Moves all interface function visibility related tests. | Erik Kundt | 2018-04-03 | 5 | -0/+26 |
| | | |||||
| * | Defaults to external visibility for interfaces. | bitshift | 2018-04-03 | 2 | -0/+13 |
| | | |||||
* | | Fix: Treat empty base constructor argument list as not provided. | chriseth | 2018-04-03 | 2 | -0/+16 |
| | | |||||
* | | Update tests for empty structs | Alex Beregszaszi | 2018-03-31 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #3790 from ethereum/empty-structs | chriseth | 2018-03-30 | 2 | -0/+11 |
|\ \ | | | | | | | Disallow empty structs | ||||
| * | | Still allow empty structs for non-0.5.0 mode | Alex Beregszaszi | 2018-03-27 | 2 | -1/+7 |
| | | | |||||
| * | | Disallow empty structs | Alex Beregszaszi | 2018-03-27 | 1 | -0/+5 |
| |/ | |||||
* / | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 5 | -0/+62 |
|/ | | | | function types. | ||||
* | Extract scoping tests. | chriseth | 2018-03-16 | 16 | -0/+130 |
| | |||||
* | Merge branch 'develop' into externalFunctionsInLibraries | chriseth | 2018-03-15 | 2 | -0/+20 |
|\ | |||||
| * | Merge pull request #3722 from ethereum/fixMods | Alex Beregszaszi | 2018-03-15 | 1 | -0/+14 |
| |\ | | | | | | | Fix modifier lookup in libraries. | ||||
| | * | Changelog entry. | chriseth | 2018-03-13 | 1 | -0/+14 |
| | | | |||||
| * | | DocStringParser: Add Changelog entry and test case for empty descriptions. | Daniel Kirchner | 2018-03-14 | 1 | -0/+6 |
| |/ | |||||
* / | Make external library functions accessible. | chriseth | 2018-03-14 | 1 | -0/+14 |
|/ | |||||
* | Infrastructure for extracting syntax tests in separate test files. | Daniel Kirchner | 2018-03-13 | 4 | -0/+31 |