Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split warning for multi arguments for hash functions | Alex Beregszaszi | 2018-05-16 | 1 | -10/+12 |
| | |||||
* | Warn/enforce single bytes argument for certain builtins (hashing functions). | chriseth | 2018-05-16 | 2 | -0/+43 |
| | | | | | In 0.5.0 mode, only accept a single bytes argument for ``.call``, ``keccak256`` and others and do not pad when encoding. | ||||
* | Add assert about source location. | chriseth | 2018-05-16 | 1 | -0/+1 |
| | |||||
* | Parse multi variable declaration statement. | chriseth | 2018-05-16 | 1 | -8/+75 |
| | |||||
* | Merge pull request #4139 from ethereum/abiEncodeIsPure | chriseth | 2018-05-15 | 3 | -3/+10 |
|\ | | | | | ABI encoding functions are pure and should be usable in constants. | ||||
| * | ABI encoding functions are pure and should be usable in constants. | chriseth | 2018-05-15 | 3 | -3/+10 |
| | | |||||
* | | Merge pull request #3947 from ethereum/smt_storage | chriseth | 2018-05-15 | 3 | -5/+44 |
|\ \ | |/ |/| | [SMTChecker] Support to integer and Bool storage vars | ||||
| * | [SMTChecker] Declaring all state vars before any function is visited | Leonardo Alt | 2018-05-15 | 2 | -2/+15 |
| | | |||||
| * | [SMTChecker] Support to integer and Bool storage vars | Leonardo Alt | 2018-05-15 | 3 | -5/+31 |
| | | |||||
* | | Merge pull request #4062 from ethereum/revert-variable | chriseth | 2018-05-15 | 2 | -1/+4 |
|\ \ | |/ |/| | Fix revert with reason coming from a string variable | ||||
| * | Fix revert with reason coming from a string variable | Alex Beregszaszi | 2018-05-09 | 2 | -1/+4 |
| | | |||||
* | | Add control flow analyzer and test for uninitialized storage returns. | Daniel Kirchner | 2018-05-15 | 3 | -0/+217 |
| | | |||||
* | | Add control flow graph. | Daniel Kirchner | 2018-05-15 | 5 | -0/+806 |
| | | |||||
* | | Fix link error when using boost shared library | mingchuan | 2018-05-11 | 1 | -1/+1 |
| | | |||||
* | | Assert that mandatory fields in the AST are present in AsmAnalysis | Alex Beregszaszi | 2018-05-10 | 1 | -0/+10 |
|/ | |||||
* | Merge pull request #4047 from ethereum/refactorToMulti | Alex Beregszaszi | 2018-05-09 | 2 | -38/+74 |
|\ | | | | | Refactor to allow implementing multi variable declarations. | ||||
| * | Assert integrity of empty IndexAccessPath structure. | chriseth | 2018-05-09 | 2 | -1/+11 |
| | | |||||
| * | Further refactor. | chriseth | 2018-05-09 | 2 | -17/+43 |
| | | |||||
| * | Refactor expression parser. | chriseth | 2018-05-09 | 2 | -21/+21 |
| | | |||||
* | | Use the entire token as source location for parser errors. | Daniel Kirchner | 2018-05-09 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #4054 from ethereum/token-names | chriseth | 2018-05-09 | 4 | -33/+33 |
|\ | | | | | Improve parser error messages | ||||
| * | Have more uniform parser errors | Alex Beregszaszi | 2018-05-04 | 2 | -5/+5 |
| | | |||||
| * | More user friendly output in case of Identifier and Token keywords | Alex Beregszaszi | 2018-05-04 | 1 | -16/+17 |
| | | |||||
| * | Remove code duplication in expectToken | Alex Beregszaszi | 2018-05-04 | 1 | -23/+11 |
| | | |||||
| * | Introduce Token::friendlyName() helper | Alex Beregszaszi | 2018-05-04 | 2 | -5/+16 |
| | | |||||
| * | Display nicer error messages in the parser (display tokens and not internal ↵ | Alex Beregszaszi | 2018-05-04 | 1 | -11/+11 |
| | | | | | | | | names) | ||||
* | | Deprecate wildcard assignments. | chriseth | 2018-05-08 | 1 | -8/+49 |
| | | |||||
* | | fixed grammar in error in CompilerUtils.cpp line 399, 'less variables.' ↵ | njwest | 2018-05-07 | 1 | -3/+3 |
| | | | | | | | | should be 'fewer variables.' | ||||
* | | Merge pull request #4063 from ethereum/emit-non-event | chriseth | 2018-05-04 | 1 | -0/+1 |
|\ \ | |/ |/| | 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/+1 |
| | | |||||
* | | Merge pull request #4059 from ethereum/parser-simplify | chriseth | 2018-05-04 | 4 | -38/+8 |
|\ \ | | | | | | | Simplify the parser expectations | ||||
| * | | Simplify expectIdentifierToken by using expectToken | Alex Beregszaszi | 2018-05-04 | 4 | -23/+6 |
| | | | |||||
| * | | Remove useless helper expectAssignmentOperator in parser | Alex Beregszaszi | 2018-05-04 | 2 | -15/+2 |
| |/ | |||||
* | | Change bytes to unsigned in FixedBytesType | daniel | 2018-05-04 | 3 | -8/+7 |
| | | |||||
* | | Change numBits to unsigned IntegerType | Alex Beregszaszi | 2018-05-03 | 3 | -9/+10 |
| | | |||||
* | | Change totalBits and fractionalDigits to unsigned in FixedPointType | Alex Beregszaszi | 2018-05-03 | 2 | -8/+8 |
|/ | |||||
* | Merge pull request #3797 from ethereum/shift-constantinople | chriseth | 2018-05-02 | 8 | -52/+123 |
|\ | | | | | Use native shift instructions on Constantinople | ||||
| * | Support shifts in gas estimator | Alex Beregszaszi | 2018-05-01 | 1 | -5/+14 |
| | | |||||
| * | Removed signed shift right from the utilities. | chriseth | 2018-05-01 | 6 | -24/+24 |
| | | |||||
| * | Do not use SAR instead of SDIV in shifts because it rounds differently | Alex Beregszaszi | 2018-05-01 | 3 | -7/+10 |
| | | |||||
| * | Use native shift instructions in ABIFunctions on Constantinople | Alex Beregszaszi | 2018-05-01 | 3 | -26/+70 |
| | | |||||
| * | Use native shift instructions on Constantinople | Alex Beregszaszi | 2018-05-01 | 2 | -4/+19 |
| | | |||||
* | | Revert "BREAKING: Bool variables should not allow arithmetic comparison" | chriseth | 2018-05-02 | 2 | -2/+6 |
| | | |||||
* | | Merge pull request #4003 from ethereum/bool_vars_comparison | chriseth | 2018-05-02 | 2 | -6/+2 |
|\ \ | | | | | | | BREAKING: Bool variables should not allow arithmetic comparison | ||||
| * | | Bool variables should not allow arithmetic comparison | Leonardo Alt | 2018-04-27 | 2 | -6/+2 |
| | | | |||||
* | | | Add virtual destructors on base classes. | Alexander Arlt | 2018-05-02 | 5 | -0/+9 |
| |/ |/| | |||||
* | | Merge pull request #3996 from ethereum/refactorParser | chriseth | 2018-05-01 | 2 | -66/+73 |
|\ \ | | | | | | | Refactor parser. | ||||
| * | | Refactor parser. | chriseth | 2018-04-26 | 2 | -66/+73 |
| |/ | |||||
* | | Merge pull request #4018 from ethereum/disable-bytes0 | chriseth | 2018-05-01 | 2 | -13/+4 |
|\ \ | | | | | | | Disable FixedBytesType(0) aka bytes0 | ||||
| * | | Remove unused function smallestTypeForLiteral | Alex Beregszaszi | 2018-04-30 | 2 | -11/+0 |
| | | | |||||
| * | | Disable FixedBytesType(0) aka bytes0 | Alex Beregszaszi | 2018-04-30 | 1 | -2/+4 |
| |/ | |||||
* | | Merge pull request #3958 from meowingtwurtle/fixedPointTypes | chriseth | 2018-04-30 | 2 | -19/+12 |
|\ \ | |/ |/| | Types class changes for fixed points | ||||
| * | Remove category check in FixedPointType:binaryOperatorResult as commonType ↵ | Alex Beregszaszi | 2018-04-21 | 1 | -11/+0 |
| | | | | | | | | handles the same | ||||
| * | Types changes for fixed points | Jason Cobb | 2018-04-21 | 2 | -13/+17 |
| | | |||||
* | | Add virtual destructor in LValue class. | Alexander Arlt | 2018-04-25 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #3981 from ethereum/years-suffix | chriseth | 2018-04-24 | 1 | -0/+16 |
|\ \ | | | | | | | The "year" denomination is deprecated | ||||
| * | | The "year" denomination is deprecated | Alex Beregszaszi | 2018-04-23 | 1 | -0/+16 |
| | | | |||||
* | | | Merge pull request #3970 from elopio/test/docstring-tag-end | Alex Beregszaszi | 2018-04-24 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | docstring: add missing space | ||||
| * | | | docstring: add missing space | Leo Arias | 2018-04-24 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Merge pull request #3976 from ethereum/emptyTupleComponent | chriseth | 2018-04-23 | 1 | -0/+13 |
|\ \ \ | |_|/ |/| | | Empty tuple components should not be possible | ||||
| * | | Treats inline array as an error. | Erik Kundt | 2018-04-23 | 1 | -0/+2 |
| | | | |||||
| * | | Turns it into warning (error for 0.5.0) and adds Changelog entry. | Erik Kundt | 2018-04-23 | 1 | -1/+8 |
| | | | |||||
| * | | Prevents null type from being used in tuple. | Erik Kundt | 2018-04-22 | 1 | -0/+4 |
| |/ | |||||
* / | Turn deprecated warnings for sha3/suicide into errors (experimental 0.5.0) | Alex Beregszaszi | 2018-04-21 | 1 | -2/+10 |
|/ | |||||
* | Make literals an error for tight packing (experimental 0.5.0) | Alex Beregszaszi | 2018-04-20 | 1 | -8/+18 |
| | |||||
* | Merge pull request #3943 from ethereum/smt_remove_branch_warning | chriseth | 2018-04-20 | 2 | -10/+10 |
|\ | | | | | [SMTChecker] Remove 'information is erase' message for if-else | ||||
| * | [SMTChecker] Remove 'information is erase' message for if-else | Leonardo Alt | 2018-04-19 | 2 | -10/+10 |
| | | |||||
* | | Merge pull request #3941 from ethereum/bytes-contract | chriseth | 2018-04-19 | 1 | -1/+0 |
|\ \ | | | | | | | Disallow explicit conversion of bytesXX to contract | ||||
| * | | Disallow explicit conversion of bytesXX to contract | Alex Beregszaszi | 2018-04-19 | 1 | -1/+0 |
| |/ | |||||
* / | Improve error message for failed member lookup. | chriseth | 2018-04-19 | 1 | -11/+16 |
|/ | |||||
* | Merge pull request #3923 from ethereum/warnConstructor | Alex Beregszaszi | 2018-04-19 | 1 | -1/+6 |
|\ | | | | | Warn about functions named "constructor". | ||||
| * | Warn about functions named "constructor". | chriseth | 2018-04-19 | 1 | -1/+6 |
| | | |||||
* | | Merge pull request #3922 from ethereum/smt_sol_unimplementedassert | Alex Beregszaszi | 2018-04-19 | 1 | -2/+2 |
|\ \ | |/ |/| | [SMTChecker] Using solUnimplementedAssert instead of solAssert | ||||
| * | [SMTChecker] Using solUnimplementedAssert instead of solAssert when applicable | Leonardo Alt | 2018-04-18 | 1 | -2/+2 |
| | | |||||
* | | Fix name clashes between constructor and fallback function. | chriseth | 2018-04-18 | 1 | -47/+45 |
|/ | |||||
* | [SMTChecker] Integration with CVC4 | Leonardo Alt | 2018-04-17 | 7 | -22/+310 |
| | |||||
* | Merge pull request #3868 from ethereum/bytescleanup | chriseth | 2018-04-16 | 2 | -12/+10 |
|\ | | | | | Properly force-clean for shortening bytesXX conversions. | ||||
| * | Remove redundant cleanup for abi.encode. | Alex Beregszaszi | 2018-04-16 | 1 | -2/+1 |
| | | |||||
| * | Properly force-clean for shortening bytesXX conversions. | chriseth | 2018-04-16 | 1 | -10/+9 |
| | | |||||
* | | Merge pull request #3793 from ethereum/rationalNumberLimit | chriseth | 2018-04-16 | 1 | -20/+160 |
|\ \ | |/ |/| | Rational number limit | ||||
| * | Limits rational numbers to 4096 bits. | Erik Kundt | 2018-04-16 | 1 | -20/+160 |
| | | |||||
* | | Merge pull request #3880 from ethereum/addressMemberDocAndWarn | chriseth | 2018-04-16 | 1 | -1/+2 |
|\ \ | | | | | | | Improve documentation and warning about accessing contract members in… | ||||
| * | | Improve documentation and warning about accessing contract members inherited ↵ | Daniel Kirchner | 2018-04-14 | 1 | -1/+2 |
| |/ | | | | | | | from address. | ||||
* | | Merge pull request #3875 from ethereum/constructorSelfRef | chriseth | 2018-04-14 | 1 | -4/+26 |
|\ \ | |/ |/| | Stricter check for "this" in constructor. | ||||
| * | Stricter check for member access to "this" in constructor. | Daniel Kirchner | 2018-04-13 | 1 | -4/+26 |
| | | |||||
* | | Uses short string representation of TypePointer | Erik Kundt | 2018-04-13 | 2 | -9/+9 |
| | | |||||
* | | Merge pull request #3364 from ethereum/revertWithReason | chriseth | 2018-04-13 | 12 | -27/+107 |
|\ \ | | | | | | | Revert with reason | ||||
| * | | Use error signature for revert data. | chriseth | 2018-04-12 | 3 | -20/+24 |
| | | | |||||
| * | | Only forward returndata if EVM version supports it. | chriseth | 2018-04-12 | 2 | -1/+3 |
| | | | |||||
| * | | Bubble up error messages. | chriseth | 2018-04-12 | 5 | -11/+26 |
| | | | |||||
| * | | Allow error string for ``require``. | chriseth | 2018-04-12 | 2 | -0/+27 |
| | | | |||||
| * | | Code generator for revert with reason string. | chriseth | 2018-04-12 | 1 | -1/+18 |
| | | | |||||
| * | | Register overload for ``revert()`` that can receive a reason string. | chriseth | 2018-04-12 | 2 | -1/+4 |
| | | | |||||
| * | | Allow function overloads involving MagicVariableDeclarations. | chriseth | 2018-04-12 | 4 | -7/+18 |
| | | | |||||
| * | | Use FunctionTypePointer (adds ``const``). | chriseth | 2018-04-12 | 2 | -7/+8 |
| |/ | |||||
* | | Merge pull request #2980 from ethereum/abi-api | chriseth | 2018-04-13 | 6 | -14/+195 |
|\ \ | | | | | | | Add abi.encode and abi.encodePacked | ||||
| * | | Allow struct encoding with new encoder. | chriseth | 2018-04-12 | 1 | -7/+18 |
| | | | |||||
| * | | Check partial function parameters if rest is arbitrary. | chriseth | 2018-04-12 | 1 | -3/+14 |
| | | | |||||
| * | | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 5 | -4/+163 |
| | | | | | | | | | | | | abi.encodeWithSignature. | ||||
* | | | Fix internal compiler error when parsing ``var`` declaration without identifier. | Daniel Kirchner | 2018-04-12 | 1 | -2/+4 |
| |/ |/| | |||||
* | | Merge pull request #3848 from ethereum/constantDivisionByZero | chriseth | 2018-04-12 | 3 | -0/+47 |
|\ \ | |/ |/| | Error on invalid arithmetic with constant expressions. | ||||
| * | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 3 | -0/+47 |
| | | |||||
* | | Properly cope with constructor headers. | chriseth | 2018-04-12 | 1 | -3/+6 |
| | | |||||
* | | Warn if modifiers are applied to functions without implementation. | chriseth | 2018-04-12 | 2 | -4/+11 |
| | | |||||
* | | Fix state variable parsing. | chriseth | 2018-04-12 | 1 | -0/+8 |
| | | |||||
* | | Merge pull request #3863 from ethereum/fixGasEstimation | chriseth | 2018-04-12 | 1 | -1/+8 |
|\ \ | |/ |/| | Correctly ignore costs of fallback for other functions. | ||||
| * | Correctly ignore costs of fallback for other functions. | chriseth | 2018-04-12 | 1 | -1/+8 |
| | | |||||
* | | Fix ConstantEvaluator to correctly handle single element tuples. | Daniel Kirchner | 2018-04-12 | 2 | -0/+7 |
|/ | |||||
* | Merge pull request #3309 from ethereum/limit-errors | chriseth | 2018-04-11 | 4 | -78/+123 |
|\ | | | | | Limit the number of errors output in a single run to 256 | ||||
| * | Do not abort excessive warnings, just ignore them. | Alex Beregszaszi | 2018-04-06 | 2 | -15/+38 |
| | | |||||
| * | Ignore warnings when limited errors to 256 | Alex Beregszaszi | 2018-04-06 | 1 | -3/+10 |
| | | |||||
| * | reindent | Alex Beregszaszi | 2018-04-06 | 1 | -70/+69 |
| | | |||||
| * | Catch FatalError in CompilerStack::analysis to cover all the analysis tests | Alex Beregszaszi | 2018-04-06 | 2 | -11/+11 |
| | | |||||
| * | Limit the number of errors output in a single run to 256 | Alex Beregszaszi | 2018-04-06 | 2 | -0/+16 |
| | | |||||
* | | Fix bug in typechecking when comparing rational literals | Jason Cobb | 2018-04-11 | 1 | -3/+3 |
| | | |||||
* | | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 6 | -18/+45 |
| | | |||||
* | | Merge pull request #3821 from ethereum/warn-constructor-override | chriseth | 2018-04-10 | 5 | -50/+91 |
|\ \ | | | | | | | Warn constructor override | ||||
| * | | Use the most derived contract as main location in case of diamond inheritance. | Daniel Kirchner | 2018-04-09 | 1 | -3/+18 |
| | | | |||||
| * | | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 7 | -93/+76 |
| | | | | | | | | | | | | annotations in ContractCompiler. | ||||
| * | | Allow duplicated constructor calls, if no arguments; support for multiple ↵ | Daniel Kirchner | 2018-04-09 | 1 | -20/+30 |
| | | | | | | | | | | | | | | | | | | inheritance; backwards compatibility. # tmp | ||||
| * | | Error on duplicated super constructor calls | Federico Bond | 2018-04-09 | 2 | -0/+33 |
| | | | |||||
* | | | Fixed typos | hydai | 2018-04-10 | 1 | -6/+6 |
|/ / | |||||
* / | Static Analyzer: Fix non-deterministic order of unused variable warnings. | Daniel Kirchner | 2018-04-07 | 2 | -8/+10 |
|/ | |||||
* | Merge pull request #3831 from ethereum/memory-suffix | chriseth | 2018-04-05 | 3 | -3/+15 |
|\ | | | | | Allow ``memory`` suffix for internal elementary type parsing. | ||||
| * | Allow ``memory`` suffix for internal elementary type parsing. | chriseth | 2018-04-05 | 3 | -3/+15 |
| | | |||||
* | | Merge pull request #3829 from ethereum/smt_remove_uf | chriseth | 2018-04-05 | 6 | -10/+20 |
|\ \ | |/ |/| | [SMTChecker] Remove usage of UFs to access SSA vars | ||||
| * | [SMTChecker] Removing usage of UFs to access SSA indices | Leonardo Alt | 2018-04-05 | 6 | -10/+20 |
| | | |||||
* | | Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis | Daniel Kirchner | 2018-04-05 | 6 | -35/+56 |
|\ \ | |/ |/| | 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 | 6 | -35/+56 |
| | | | | | | | | arguments. | ||||
* | | Merge pull request #3745 from ethereum/fixRecursion | Alex Beregszaszi | 2018-04-05 | 3 | -30/+28 |
|\ \ | | | | | | | Fix invalid recursion errors for structs | ||||
| * | | Generalize cycle detection. | chriseth | 2018-04-03 | 3 | -35/+28 |
| | | | |||||
| * | | Fix detection of recursive structs. | chriseth | 2018-04-03 | 1 | -0/+5 |
| | | | |||||
* | | | More specific push implementation. | chriseth | 2018-04-04 | 3 | -13/+71 |
| | | | |||||
* | | | Create empty dynamic memory arrays more efficiently. | chriseth | 2018-04-04 | 2 | -8/+29 |
| |/ |/| | |||||
* | | Set isConstructor to false unconditionally and update to true later for ↵ | Daniel Kirchner | 2018-04-04 | 1 | -6/+4 |
| | | | | | | | | constructors. | ||||
* | | Set header.isConstructor for old style constructors in parseFunctionHeader ↵ | Daniel Kirchner | 2018-04-04 | 2 | -6/+16 |
| | | | | | | | | as well. | ||||
* | | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 4 | -8/+39 |
| | | |||||
* | | Merge pull request #3693 from ethereum/optimizeMLOAD | Alex Beregszaszi | 2018-04-03 | 3 | -25/+45 |
|\ \ | |/ |/| | Optimize across MLOAD if MSIZE is not used. | ||||
| * | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 3 | -25/+45 |
| | | |||||
* | | Merge pull request #3699 from ethereum/interfaceExternalVisibility | Alex Beregszaszi | 2018-04-03 | 2 | -12/+13 |
|\ \ | | | | | | | Defaults to external visibility for interfaces. | ||||
| * | | Makes visibility warning more concise. | Erik Kundt | 2018-04-03 | 1 | -2/+4 |
| | | | |||||
| * | | Defaults to external visibility for interfaces. | bitshift | 2018-04-03 | 2 | -12/+11 |
| | | | |||||
* | | | Fix: Treat empty base constructor argument list as not provided. | chriseth | 2018-04-03 | 1 | -3/+5 |
| |/ |/| | |||||
* | | Set default fixed point decimal places to 18 | Jason Cobb | 2018-03-31 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #3790 from ethereum/empty-structs | chriseth | 2018-03-30 | 2 | -0/+16 |
|\ \ | | | | | | | Disallow empty structs | ||||
| * | | 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 | 2 | -0/+9 |
| | | | |||||
* | | | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 4 | -4/+21 |
| |/ |/| | | | | | function types. | ||||
* | | Merge pull request #3775 from federicobond/improve-error-fractional-shift | chriseth | 2018-03-28 | 1 | -1/+1 |
|\ \ | |/ |/| | Improve error message when attempting to shift by fractional number | ||||
| * | Improve error message when trying to shift by fractional number | Federico Bond | 2018-03-22 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3681 from ethereum/interface-external | chriseth | 2018-03-27 | 3 | -0/+18 |
|\ \ | | | | | | | Allow overriding external functions in interfaces with public in a child | ||||
| * | | Introduce inContractKind helper on FunctionDefinition | Alex Beregszaszi | 2018-03-26 | 3 | -11/+14 |
| | | | |||||
| * | | Allow overriding external functions in interfaces with public in an ↵ | Alex Beregszaszi | 2018-03-26 | 1 | -0/+15 |
| |/ | | | | | | | implementing contract | ||||
* | | Merge pull request #3686 from ethereum/doNotIncludeItnernal | chriseth | 2018-03-27 | 3 | -6/+28 |
|\ \ | | | | | | | Do not include internal functions only used by constructor | ||||
| * | | Add runtimeOnly option to pushCombinedFunctionEntryLabel | Alex Beregszaszi | 2018-03-27 | 3 | -8/+8 |
| | | | |||||
| * | | Use shortcut for internal function calls to avoid runtime reference. | chriseth | 2018-03-27 | 1 | -1/+23 |
| |/ | |||||
* | | Changes deprecation and adjusts tests. | bitshift | 2018-03-27 | 2 | -20/+24 |
| | | |||||
* | | Moves blockhash function to global level. | bitshift | 2018-03-27 | 2 | -9/+21 |
|/ | |||||
* | Decode dynamic data. | chriseth | 2018-03-21 | 4 | -18/+48 |
| | |||||
* | Move dynamic type removal out of the type system. | chriseth | 2018-03-21 | 4 | -18/+37 |
| | |||||
* | Simple size check for old ABI decoder. | chriseth | 2018-03-21 | 3 | -32/+97 |
| | |||||
* | Move the old ABI decoder code. | chriseth | 2018-03-20 | 4 | -105/+106 |
| | |||||
* | Merge branch 'develop' into externalFunctionsInLibraries | chriseth | 2018-03-15 | 5 | -12/+22 |
|\ | |||||
| * | Merge pull request #3725 from ethereum/blockhashNoCall | chriseth | 2018-03-15 | 1 | -0/+3 |
| |\ | | | | | | | Allow ``block.blockhash`` without it being called. | ||||
| | * | Allow ``block.blockhash`` without being called. | chriseth | 2018-03-14 | 1 | -0/+3 |
| | | | |||||
| * | | Merge pull request #3722 from ethereum/fixMods | Alex Beregszaszi | 2018-03-15 | 3 | -5/+16 |
| |\ \ | | | | | | | | | Fix modifier lookup in libraries. | ||||
| | * | | Bugfix in virtual lookup for modifiers in libraries. | chriseth | 2018-03-13 | 3 | -5/+16 |
| | |/ | |||||
| * / | DocStringParser: Fix error message for empty parameter description. | Daniel Kirchner | 2018-03-14 | 1 | -7/+3 |
| |/ | |||||
* / | Make external library functions accessible. | chriseth | 2018-03-14 | 2 | -2/+3 |
|/ | |||||
* | [SMTChecker_Bool] Fix PR review comments: method renaming and solAssert | Leonardo Alt | 2018-03-13 | 3 | -16/+17 |
| | |||||
* | [SMTChecker_Bool] Fix PR comments; Add support to gt, ge, lt, le. and tests. | Leonardo Alt | 2018-03-13 | 10 | -41/+85 |
| | |||||
* | [SMTChecker] Support to Bool variables | Leonardo Alt | 2018-03-13 | 6 | -8/+107 |
| | |||||
* | Support constantinople in evm-version | Alex Beregszaszi | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Properly skip cleanup if only enlarging storage array. | chriseth | 2018-03-09 | 1 | -2/+2 |
| | |||||
* | Merge pull request #3611 from ethereum/warn-using-address-overload | Alex Beregszaszi | 2018-03-07 | 1 | -0/+14 |
|\ | | | | | Warn if using address overloads on contracts | ||||
| * | Assert that address members are not present on contract types in 0.5.0. | chriseth | 2018-03-05 | 1 | -0/+4 |
| | | |||||
| * | Warn if using address overloads on contracts | Alex Beregszaszi | 2018-03-05 | 1 | -0/+10 |
| | | |||||
* | | Merge pull request #3664 from ethereum/literalsHexUnitSmallFix | chriseth | 2018-03-07 | 1 | -2/+2 |
|\ \ | | | | | | | Use double quotes for suggestion about hex literals and denominations. | ||||
| * | | Use double quotes for suggestion about hex literals and denominations. | Daniel Kirchner | 2018-03-07 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #3527 from ethereum/warnLooseAsm | Alex Beregszaszi | 2018-03-07 | 6 | -10/+63 |
|\ \ \ | | | | | | | | | Warn about using loose assembly. | ||||
| * | | | Warn about using loose inline assembly features as experimental 0.5.0 feature. | chriseth | 2018-03-07 | 6 | -10/+63 |
| |/ / | |||||
* | | | Merge pull request #3663 from ethereum/gasleftEmscripten | chriseth | 2018-03-07 | 1 | -0/+1 |
|\ \ \ | |/ / |/| | | Add gasleft to FunctionType::richIdentifier(). | ||||
| * | | Add gasleft to FunctionType::richIdentifier(). | Daniel Kirchner | 2018-03-07 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #2966 from ethereum/useStaticCall | Alex Beregszaszi | 2018-03-07 | 2 | -2/+11 |
|\ \ \ | |/ / |/| | | Use STATICCALL for pure function calls. | ||||
| * | | Use STATICCALL for pure function calls if EVM version supports it and 0.5.0 ↵ | chriseth | 2018-03-06 | 2 | -2/+11 |
| | | | | | | | | | | | | is activated. | ||||
* | | | Merge pull request #3549 from ethereum/fixmultidim | Alex Beregszaszi | 2018-03-06 | 2 | -6/+26 |
|\ \ \ | |/ / |/| | | Properly detect which array and struct types are unsupported by the old ABI encoder. | ||||
| * | | Fix multi-dimensional arrays in the ABI. | chriseth | 2018-03-01 | 2 | -6/+26 |
| | | | |||||
* | | | Merge pull request #3652 from ethereum/gasleft_v2 | chriseth | 2018-03-06 | 3 | -16/+22 |
|\ \ \ | | | | | | | | | Use StaticAnalyzer to deprecate msg.gas instead of conditionally remo… | ||||
| * | | | Use StaticAnalyzer to deprecate msg.gas instead of conditionally removing it ↵ | Daniel Kirchner | 2018-03-06 | 3 | -16/+22 |
| | | | | | | | | | | | | | | | | in MagicType. | ||||
* | | | | Merge pull request #3640 from ↵ | chriseth | 2018-03-06 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | AnthonyBroadCrawford/spanning-multiline-message-fix moved spanning multi lines message to appear on some lane vs new line… | ||||
| * | | | | Improved messaging when an error spans multiple lines and updated change log ↵ | Anthony Broad-Crawford | 2018-03-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | file. | ||||
* | | | | | Merge pull request #3599 from ethereum/sendAllGasOnByzantium | chriseth | 2018-03-06 | 1 | -10/+13 |
|\ \ \ \ \ | | | | | | | | | | | | | Send all gas on byzantium | ||||
| * | | | | | Do not retain any gas in external calls (except if EVM version is set to ↵ | chriseth | 2018-03-06 | 1 | -10/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | homestead). | ||||
* | | | | | | Merge pull request #3643 from ethereum/gasleft | chriseth | 2018-03-06 | 4 | -5/+21 |
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | | | Move msg.gas to global function gasleft(). Closes #2971. | ||||
| * | | | | Style improvements. | Daniel Kirchner | 2018-03-06 | 2 | -4/+7 |
| | | | | | |||||
| * | | | | Move msg.gas to global function gasleft(). Closes #2971. | Daniel Kirchner | 2018-03-05 | 4 | -6/+19 |
| |/ / / | |||||
* | | | | Merge pull request #3600 from ethereum/version050IsAnalysisOnly | chriseth | 2018-03-06 | 1 | -0/+1 |
|\ \ \ \ | |_|_|/ |/| | | | Do not warn about 0.5.0 experimental pragma. | ||||
| * | | | Do not warn about 0.5.0 experimental pragma. | chriseth | 2018-03-05 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge pull request #3642 from leonardoalt/fix_z3-46 | chriseth | 2018-03-05 | 1 | -0/+1 |
|\ \ \ \ | |/ / / |/| | | | Add z3 performance option | ||||
| * | | | This z3 option is necessary for good solving performance | Leonardo Alt | 2018-03-04 | 1 | -0/+1 |
| |/ / | |||||
* | | | Merge pull request #3569 from ethereum/evmVersion | chriseth | 2018-03-05 | 19 | -66/+231 |
|\ \ \ | |/ / |/| | | EVM version | ||||
| * | | Use EVM version in gas meter and optimizer. | chriseth | 2018-03-05 | 7 | -23/+30 |
| | | | |||||
| * | | Only warn for shift instructions if not using constantinople | Alex Beregszaszi | 2018-03-02 | 2 | -9/+10 |
| | | | |||||
| * | | Add constantinople. | chriseth | 2018-03-02 | 1 | -3/+5 |
| | | | |||||
| * | | Add TangerineWhistle. | chriseth | 2018-03-02 | 1 | -15/+24 |
| | | | |||||
| * | | Provide EVM version to assembly analysis. | chriseth | 2018-03-02 | 7 | -14/+37 |
| | | | |||||
| * | | Use EVM version in type checker. | chriseth | 2018-03-02 | 2 | -2/+9 |
| | | | |||||
| * | | Provide target EVM version in CompilerContext. | chriseth | 2018-03-02 | 4 | -9/+19 |
| | | | |||||
| * | | Store EVM version in settings. | chriseth | 2018-03-02 | 1 | -0/+1 |
| | | | |||||
| * | | Add ability to set the target EVM version. | chriseth | 2018-03-02 | 4 | -9/+114 |
| |/ | |||||
* | | Merge pull request #3628 from ethereum/literalsHexUnit | chriseth | 2018-03-02 | 1 | -0/+17 |
|\ \ | |/ |/| | Deprecate using unit denominations in combination with hex numbers. | ||||
| * | Suggest expressions of the form '0x1234 * 1 day' instead of hex numbers with ↵ | Daniel Kirchner | 2018-03-02 | 1 | -2/+4 |
| | | | | | | | | unit denominations. | ||||
| * | Deprecate using unit denominations in combination with hex numbers. Closes ↵ | Daniel Kirchner | 2018-03-01 | 1 | -0/+15 |
| | | | | | | | | #3574. | ||||
* | | Merge pull request #3624 from ethereum/jsonio-libraries-hex | Alex Beregszaszi | 2018-03-01 | 1 | -2/+18 |
|\ \ | | | | | | | Ensure that library addresses supplied are of correct length and hex prefixed | ||||
| * | | Ensure that library addresses supplied are of correct length and hex ↵ | Alex Beregszaszi | 2018-03-01 | 1 | -2/+18 |
| |/ | | | | | | | prefixed in JSONIO | ||||
* | | Fix PR comments | Leonardo Alt | 2018-03-01 | 3 | -12/+0 |
| | | |||||
* | | Fix PR comments | Leonardo Alt | 2018-03-01 | 6 | -23/+37 |
| | | |||||
* | | Supported types listed in SSAVariable | Leonardo Alt | 2018-03-01 | 4 | -3/+20 |
| | | |||||
* | | Integer min and max values placed under SymbolicIntVar instead of SMTChecker | Leonardo Alt | 2018-03-01 | 4 | -19/+9 |
| | | |||||
* | | [SMTChecker] A little refactoring on SSA vars | Leonardo Alt | 2018-03-01 | 8 | -54/+395 |
|/ | |||||
* | Merge pull request #3617 from ethereum/jsonio-libraries | chriseth | 2018-03-01 | 1 | -3/+19 |
|\ | | | | | Add more comprehensive tests and checks for libraries in JSONIO | ||||
| * | Properly validate invalid hex characters in JSONIO libraries | Alex Beregszaszi | 2018-02-28 | 1 | -2/+14 |
| | | |||||
| * | Add more comprehensive tests and checks for libraries in JSONIO | Alex Beregszaszi | 2018-02-28 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #3613 from ethereum/require-visibility | chriseth | 2018-02-28 | 1 | -6/+13 |
|\ \ | |/ |/| | Issue error if no visibility is specified (on 0.5.0) | ||||
| * | Issue error if no visibility is specified (on 0.5.0) | Alex Beregszaszi | 2018-02-27 | 1 | -6/+13 |
| | | |||||
* | | Merge pull request #3476 from ethereum/scoping | chriseth | 2018-02-28 | 8 | -71/+236 |
|\ \ | |/ |/| | C99/C++ scoping rules | ||||
| * | Only active variables at the point of their declaration. | chriseth | 2018-02-27 | 6 | -30/+84 |
| | | |||||
| * | Enable C99-scoping with the 0.5.0-experimental pragma. | chriseth | 2018-02-27 | 5 | -38/+53 |
| | | |||||
| * | Blocks and for loops can be scopes. | chriseth | 2018-02-27 | 6 | -6/+78 |
| | | |||||
| * | Scopes do not have to be declarations. | chriseth | 2018-02-27 | 4 | -24/+47 |
| | | |||||
| * | Make all lookups recursive by default. | chriseth | 2018-02-27 | 2 | -10/+11 |
| | | |||||
* | | Remove ROL/ROR as they are not part of EIP145 anymore | Alex Beregszaszi | 2018-02-27 | 1 | -3/+1 |
| | | |||||
* | | Warn on using shift instructions | Alex Beregszaszi | 2018-02-27 | 1 | -0/+16 |
|/ | |||||
* | Turn throw into a syntax error for 0.5.0 | Alex Beregszaszi | 2018-02-27 | 1 | -4/+12 |
| | |||||
* | Merge pull request #3589 from ethereum/identifiers | Alex Beregszaszi | 2018-02-27 | 2 | -42/+63 |
|\ | | | | | Clean up type identifiers | ||||
| * | Use new escaping helpers for type identifiers | Alex Beregszaszi | 2018-02-27 | 2 | -20/+9 |
| | | |||||
| * | Rename Types::identifier to Types::richIdentifier | Alex Beregszaszi | 2018-02-27 | 2 | -35/+41 |
| | | |||||
| * | Add helpers escapeIdentifier to Types | Alex Beregszaszi | 2018-02-27 | 2 | -1/+27 |
| | | |||||
* | | Fix: Function types for getters should not have storage pointers. | chriseth | 2018-02-26 | 1 | -1/+4 |
| | | |||||
* | | Simplify FunctionType constructors. | chriseth | 2018-02-26 | 1 | -42/+14 |
|/ | |||||
* | Warn about using events without emit. | chriseth | 2018-02-22 | 2 | -1/+13 |
| | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 14 | -2/+120 |
| | |||||
* | Do not warn about analysis-only experimental features. | chriseth | 2018-02-22 | 1 | -2/+4 |
| | |||||
* | Add assertion for boolean literals in Julia-mode | Alex Beregszaszi | 2018-02-22 | 1 | -0/+5 |
| | |||||
* | Raise error on oversized number literals in assembly | Alex Beregszaszi | 2018-02-22 | 1 | -0/+8 |
| | |||||
* | Merge pull request #3554 from ethereum/reuseScannerOrNot | chriseth | 2018-02-21 | 5 | -6/+10 |
|\ | | | | | Expect end of string at end of top-level block for assembly parser. | ||||
| * | Expect end of string at end of top-level block for assembly parser. | chriseth | 2018-02-21 | 5 | -6/+10 |
| | | |||||
* | | Add new JSON API for better abstraction and for supporting strict JSON parsing | Alexander Arlt | 2018-02-21 | 1 | -4/+3 |
|/ | |||||
* | Fix shadowing for imports with aliases. | chriseth | 2018-02-20 | 1 | -2/+3 |
| | |||||
* | Properly warn about the use of constants in inline assembly in connection ↵ | chriseth | 2018-02-20 | 1 | -6/+6 |
| | | | | with ``_offset`` and ``_slot``. |