Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add ContractDefinition::isInterface. | Daniel Kirchner | 2019-01-18 | 1 | -1/+1 |
| | |||||
* | Add version pragma parsing to Parser | Alex Beregszaszi | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | Sort includes in libsolidity/analysis | Leonardo Alt | 2018-12-17 | 1 | -4/+7 |
| | |||||
* | Introduce namespace `langutil` in liblangutil directory. | Christian Parpart | 2018-11-22 | 1 | -0/+1 |
| | | | | | | | Also: - Use {}-style list initialisation for SourceLocation construction - Introduce new system includes - Changes the API of the Scanner to take source as value (with move) as opposed to as a reference | ||||
* | Isolating files shared between Yul- and Solidity language frontend. | Christian Parpart | 2018-11-22 | 1 | -1/+1 |
| | |||||
* | Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵ | Christian Parpart | 2018-10-22 | 1 | -1/+1 |
| | | | | namespace | ||||
* | Merge pull request #5180 from ethereum/cpp-cleanup | chriseth | 2018-10-10 | 1 | -1/+1 |
|\ | | | | | Some C++ cleanup | ||||
| * | Use empty() instead of size() == 0 | Alex Beregszaszi | 2018-10-09 | 1 | -1/+1 |
| | | |||||
* | | Fix pragma error suggestion. | chriseth | 2018-10-09 | 1 | -1/+1 |
|/ | |||||
* | Review suggestions | Leonardo Alt | 2018-09-04 | 1 | -7/+7 |
| | |||||
* | Changed error message and added tests | Leonardo Alt | 2018-09-04 | 1 | -1/+1 |
| | |||||
* | Disallow single statement var decl in if/while/for without blocks | Leonardo Alt | 2018-09-04 | 1 | -2/+19 |
| | |||||
* | Cleanup & polish numbers-with-underscores parsing, also improving tests. | Christian Parpart | 2018-08-08 | 1 | -25/+24 |
| | |||||
* | Add stricter hex underscore rules | Balajiganapathi S | 2018-08-08 | 1 | -0/+43 |
| | |||||
* | Disallow functions without implementation to use modifiers. This was already ↵ | Christian Parpart | 2018-07-24 | 1 | -8/+2 |
| | | | | the case in the experimental 0.5.0 mode. | ||||
* | Disallows old constructor syntax. | Erik Kundt | 2018-07-18 | 1 | -20/+8 |
| | |||||
* | Suggests external for fallback and interface functions. | chriseth | 2018-07-18 | 1 | -1/+13 |
| | |||||
* | Enforces visibility specifier and updates docs. | Erik Kundt | 2018-07-17 | 1 | -1/+1 |
| | |||||
* | Deprecate the throw statement | Alex Beregszaszi | 2018-07-16 | 1 | -12/+4 |
| | |||||
* | Generates a syntax error when declaring a variable declaration's LHS has no ↵ | Christian Parpart | 2018-07-12 | 1 | -0/+13 |
| | | | | named components | ||||
* | semantics: Suggest auto-deduced type when user declares variable with `var` ↵ | Christian Parpart | 2018-07-11 | 1 | -9/+0 |
| | | | | keyword. | ||||
* | defaulting to v0.5.0 behaviour of unary + operator (disallow); also adapting ↵ | Christian Parpart | 2018-07-10 | 1 | -8/+2 |
| | | | | all tests to it | ||||
* | libsolidity: turns the var-keyword use from deprecation-warning to an error ↵ | Christian Parpart | 2018-07-03 | 1 | -6/+1 |
| | | | | and include explicit type suggestion | ||||
* | Return parameters in function types may not be named. | Daniel Kirchner | 2018-06-18 | 1 | -1/+1 |
| | |||||
* | Enforce disallowing empty structs | Christian Parpart | 2018-06-14 | 1 | -8/+2 |
| | | | | | | | | 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. | ||||
* | Warn about functions named "constructor". | chriseth | 2018-04-19 | 1 | -1/+6 |
| | |||||
* | Warn if modifiers are applied to functions without implementation. | chriseth | 2018-04-12 | 1 | -0/+7 |
| | |||||
* | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 1 | -1/+16 |
| | |||||
* | Merge pull request #3699 from ethereum/interfaceExternalVisibility | Alex Beregszaszi | 2018-04-03 | 1 | -12/+3 |
|\ | | | | | Defaults to external visibility for interfaces. | ||||
| * | Defaults to external visibility for interfaces. | bitshift | 2018-04-03 | 1 | -12/+3 |
| | | |||||
* | | Still allow empty structs for non-0.5.0 mode | Alex Beregszaszi | 2018-03-27 | 1 | -1/+8 |
| | | |||||
* | | Disallow empty structs | Alex Beregszaszi | 2018-03-27 | 1 | -0/+7 |
|/ | |||||
* | Issue error if no visibility is specified (on 0.5.0) | Alex Beregszaszi | 2018-02-27 | 1 | -6/+13 |
| | |||||
* | Turn throw into a syntax error for 0.5.0 | Alex Beregszaszi | 2018-02-27 | 1 | -4/+12 |
| | |||||
* | Do not warn about analysis-only experimental features. | chriseth | 2018-02-22 | 1 | -2/+4 |
| | |||||
* | Deprecate the var keyword (and mark it an error as experimental 0.5.0 feature) | Jimmy Vogel | 2018-02-13 | 1 | -0/+14 |
| | |||||
* | Fix a typo | Kwang Yul Seo | 2017-11-14 | 1 | -1/+1 |
| | | | | | A semicolon was mistakenly inserted where a string concatenation operator was meant. | ||||
* | Unary + now a synax error (experimental 0.5.0) | Rhett Aultman | 2017-09-30 | 1 | -1/+8 |
| | | | | | | | The unary + was deprecated with a warning, but will be elevated to an error in 0.5.0. This adds the syntax error for the 0.5.0 pragma, and for a true 0.5.0 release we should consider removing the operator from the parser. | ||||
* | Warn if no visibility is specified on contract functions. | Alex Beregszaszi | 2017-09-14 | 1 | -1/+13 |
| | |||||
* | Introduce ExperimentalFeatures header | Alex Beregszaszi | 2017-08-10 | 1 | -6/+4 |
| | |||||
* | Reject wildcard and multiple experimental pragmas | Alex Beregszaszi | 2017-08-10 | 1 | -13/+16 |
| | |||||
* | Reject unsupported experimental feature names | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | |||||
* | Warn if using experimental pragma | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | |||||
* | Support experimental feature pragma | Alex Beregszaszi | 2017-08-10 | 1 | -4/+28 |
| | |||||
* | Deprecate throw. | chriseth | 2017-07-06 | 1 | -0/+10 |
| | |||||
* | Warn deprecated usage of parameter names in function types | Federico Bond | 2017-06-27 | 1 | -0/+12 |
| | |||||
* | Refactor error reporting | Rhett Aultman | 2017-05-30 | 1 | -32/+9 |
| | | | | | | | | | This commit introduces ErrorReporter, a utility class which consolidates all of the error logging functionality into a common set of functions. It also replaces all direct interactions with an ErrorList with calls to an ErrorReporter. This commit resolves issue #2209 | ||||
* | Style and stricter tests. | chriseth | 2017-05-02 | 1 | -3/+1 |
| | |||||
* | Deprecate use of unary '+' | Rhett Aultman | 2017-04-29 | 1 | -0/+19 |
| | | | | | | | The unary '+' serves no meaningful purpose in Solidity and it makes it possible to produce typos with dagerous implications (e.g. 'a =+5 '), so we are deprecating it. The SyntaxChecker currently issues warnings on the unary '+' but will still compile it for now. | ||||
* | Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points. | chriseth | 2017-02-14 | 1 | -2/+2 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 1 | -4/+4 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Suggest correct version for pragma and complain about pre-release version. | chriseth | 2016-10-25 | 1 | -4/+13 |
| | |||||
* | Fix pragma keyword check | Yoichi Hirai | 2016-10-11 | 1 | -1/+1 |
| | | | | Fixes #1192 | ||||
* | Use version string (including prerelease) for pragma matching. | chriseth | 2016-09-01 | 1 | -2/+3 |
| | |||||
* | Version pragma. | chriseth | 2016-09-01 | 1 | -3/+50 |
| | |||||
* | Require modifiers to contain "_". | chriseth | 2016-08-16 | 1 | -1/+20 |
| | |||||
* | add another test case for continue not in loop | Lu Guanqun | 2016-01-19 | 1 | -4/+4 |
| | |||||
* | code changes according to Chris's comments | Lu Guanqun | 2016-01-19 | 1 | -16/+9 |
| | |||||
* | check whether break/continue is in the loop | Lu Guanqun | 2016-01-15 | 1 | -0/+87 |