Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crash when FunctionType has undeclared type as parameter | Leonardo Alt | 2018-07-31 | 1 | -1/+1 |
| | |||||
* | Import dev::solidity namespace in SMTPortfolio | Alex Beregszaszi | 2018-07-28 | 1 | -0/+1 |
| | |||||
* | Fix unterminated parentheses typo in SMTLib2 | Alex Beregszaszi | 2018-07-28 | 1 | -1/+1 |
| | | | | Found by @leonardoalt | ||||
* | [SMTChecker] Add CheckResult::CONFLICTING | Leonardo Alt | 2018-07-27 | 3 | -4/+10 |
| | |||||
* | [SMTChecker] SMTPortfolio: use all SMT solvers available | Leonardo Alt | 2018-07-27 | 11 | -58/+262 |
| | |||||
* | Setting timeout to Z3 and CVC4 | Leonardo Alt | 2018-07-27 | 3 | -1/+8 |
| | |||||
* | Only ask for a model if it's SAT | Leonardo Alt | 2018-07-27 | 3 | -3/+3 |
| | |||||
* | Merge pull request #4565 from ethereum/smt-stringutils-crash | Alex Beregszaszi | 2018-07-25 | 1 | -1/+9 |
|\ | | | | | Add assert for both branches in mergeVariables in SMTChecker | ||||
| * | Add better warning on binary operation on non-integer types in SMT Checker | Alex Beregszaszi | 2018-07-25 | 1 | -1/+8 |
| | | |||||
| * | Add assert for both branches in mergeVariables in SMTChecker | Alex Beregszaszi | 2018-07-25 | 1 | -0/+1 |
| | | |||||
* | | More consistent catch statements | Alex Beregszaszi | 2018-07-25 | 2 | -3/+3 |
|/ | | | | Also take const& in all cases. | ||||
* | Fix abiDecode comment | Leonardo Alt | 2018-07-24 | 1 | -3/+3 |
| | |||||
* | Merge pull request #4527 from ethereum/mappingEnforceStorage | Alex Beregszaszi | 2018-07-24 | 1 | -1/+8 |
|\ | | | | | Enforces explicit data location for mappings | ||||
| * | Enforces data location of local mappings to storage. | Erik Kundt | 2018-07-24 | 1 | -1/+8 |
| | | |||||
* | | 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. | ||||
* | | Do not handle `balance` member of contract types specially. | chriseth | 2018-07-20 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #4439 from ethereum/address_members | chriseth | 2018-07-19 | 4 | -108/+55 |
|\ \ | | | | | | | [BREAKING] Enforce address members not accessible by contract instance | ||||
| * | | Changes in ExpressionCompiler | Leonardo Alt | 2018-07-19 | 2 | -52/+42 |
| | | | |||||
| * | | Add suggestion to error message | Leonardo Alt | 2018-07-17 | 1 | -18/+15 |
| | | | |||||
| * | | Address members not accessible by contract instance | Leonardo Alt | 2018-07-17 | 2 | -40/+0 |
| | | | |||||
* | | | Adds warning if function is shadowing a contract. | Erik Kundt | 2018-07-18 | 1 | -9/+1 |
| | | | |||||
* | | | Disallows old constructor syntax. | Erik Kundt | 2018-07-18 | 6 | -48/+34 |
| |/ |/| | |||||
* | | Suggests external for fallback and interface functions. | chriseth | 2018-07-18 | 2 | -1/+15 |
| | | |||||
* | | Enforces visibility specifier and updates docs. | Erik Kundt | 2018-07-17 | 2 | -11/+1 |
|/ | |||||
* | Add missing period in the end of error messages | Leonardo Alt | 2018-07-16 | 1 | -3/+3 |
| | |||||
* | Deprecate the throw statement | Alex Beregszaszi | 2018-07-16 | 1 | -12/+4 |
| | |||||
* | enforce interface-functions to be external-declared | Christian Parpart | 2018-07-16 | 1 | -12/+4 |
| | | | | | | | | - 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. | ||||
* | Merge pull request #4501 from ethereum/recursiveStructsWithFixedArrays | chriseth | 2018-07-13 | 1 | -13/+16 |
|\ | | | | | Consider fixed-size arrays when checking for recursive structs. | ||||
| * | Use CycleDetector and account for multi-dimensional arrays. | Daniel Kirchner | 2018-07-13 | 1 | -19/+16 |
| | | |||||
| * | Consider fixed size array members when checking for recursive structs. | Daniel Kirchner | 2018-07-13 | 1 | -0/+6 |
| | | |||||
* | | Disallow multi variable declarations with mismatching number of values. | Daniel Kirchner | 2018-07-13 | 6 | -98/+25 |
|/ | |||||
* | Merge pull request #4437 from ethereum/report-empty-var-decls | chriseth | 2018-07-13 | 2 | -0/+15 |
|\ | | | | | [BREAKING] Report empty var tuple decls | ||||
| * | Generates a syntax error when declaring a variable declaration's LHS has no ↵ | Christian Parpart | 2018-07-12 | 2 | -0/+15 |
| | | | | | | | | named components | ||||
* | | Merge pull request #4447 from hosho/develop | chriseth | 2018-07-13 | 1 | -0/+7 |
|\ \ | | | | | | | Fix NatSpec json output for "@notice" and "@dev" tags on contract definitions | ||||
| * | | Fix NatSpec json output for "@notice" and "@dev" tags on contract definitions. | Matt Little | 2018-07-12 | 1 | -0/+7 |
| |/ | |||||
* | | Merge pull request #4478 from ethereum/requireStorageLocation | chriseth | 2018-07-13 | 1 | -13/+4 |
|\ \ | | | | | | | Turn missing storage locations into an error. | ||||
| * | | Require storage location. | Daniel Kirchner | 2018-07-12 | 1 | -13/+4 |
| | | | |||||
* | | | Merge pull request #4479 from ethereum/fixFixedPointCrash | Alex Beregszaszi | 2018-07-12 | 1 | -3/+7 |
|\ \ \ | |_|/ |/| | | Fix handling of fixed point types in arithmetics. | ||||
| * | | Fix handling of fixed point types in arithmetics. | chriseth | 2018-07-11 | 1 | -3/+7 |
| | | | |||||
* | | | Merge pull request #4428 from ethereum/enforce_staticcall_view | chriseth | 2018-07-12 | 1 | -5/+1 |
|\ \ \ | | | | | | | | | [BREAKING] Enforce STATICCALL for view and pure | ||||
| * | | | Use STATICCALL for view and pure | Leonardo Alt | 2018-07-11 | 1 | -5/+1 |
| | | | | |||||
* | | | | Merge pull request #4083 from ethereum/variable_stack_slot | chriseth | 2018-07-12 | 6 | -42/+129 |
|\ \ \ \ | |_|_|/ |/| | | | [BREAKING] Allocate local variables according to their scope | ||||
| * | | | Added assertion and tests suggestions | Leonardo Alt | 2018-07-11 | 3 | -3/+17 |
| | | | | |||||
| * | | | Add more tests and assertions | Leonardo Alt | 2018-07-11 | 3 | -0/+4 |
| | | | | |||||
| * | | | Added tests and review suggestions | Leonardo Alt | 2018-07-11 | 4 | -22/+22 |
| | | | | |||||
| * | | | [050] Reserving and popping local vars in their scope | Leonardo Alt | 2018-07-11 | 4 | -41/+110 |
| | | | | |||||
* | | | | Merge pull request #4443 from ethereum/double_var_decl_fix | chriseth | 2018-07-12 | 3 | -1/+15 |
|\ \ \ \ | | | | | | | | | | | Fix crash when declaring the same var twice in the same scope | ||||
| * | | | | Add comment explaining new code | Leonardo Alt | 2018-07-11 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | Fix crash for double variable declaration in the same scope. | Leonardo Alt | 2018-07-11 | 3 | -1/+10 |
| |/ / / | |||||
* | | | | Merge pull request #4472 from ethereum/complexCalldataArraysNotYetImplemented | chriseth | 2018-07-12 | 1 | -1/+2 |
|\ \ \ \ | | | | | | | | | | | Throw unimplemented exception for complex calldata arrays. | ||||
| * | | | | Throw unimplemented exception for complex calldata arrays. | chriseth | 2018-07-11 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Merge pull request #4480 from ethereum/fixZeroWithExponent | chriseth | 2018-07-12 | 1 | -8/+11 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix literals with exponents with mantissa of zero. | ||||
| * | | | | | Fix literals with exponents with mantissa of zero. | Daniel Kirchner | 2018-07-11 | 1 | -8/+11 |
| | |_|_|/ | |/| | | | |||||
* | | | | | Merge pull request #4404 from ethereum/v050-var-keyword-suggest | Christian Parpart | 2018-07-11 | 3 | -19/+63 |
|\ \ \ \ \ | |/ / / / |/| | | | | [WIP] v0.5.0 var keyword type suggestion | ||||
| * | | | | Coding style. | chriseth | 2018-07-11 | 1 | -23/+18 |
| | | | | | |||||
| * | | | | semantics: Suggest auto-deduced type when user declares variable with `var` ↵ | Christian Parpart | 2018-07-11 | 3 | -19/+68 |
| | | | | | | | | | | | | | | | | | | | | keyword. | ||||
* | | | | | Merge pull request #4454 from ethereum/constructorArgCount | chriseth | 2018-07-11 | 1 | -24/+9 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | [BREAKING] Wrong argument count in constructor call | ||||
| * | | | | Improves error with suggestion to remove parantheses. | Erik Kundt | 2018-07-11 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Updates Changelog, syntax test and simplifies type checker. | Erik Kundt | 2018-07-11 | 1 | -3/+1 |
| | | | | | |||||
| * | | | | Turns wrong argument count in base constructor call into en error. | Erik Kundt | 2018-07-11 | 1 | -22/+9 |
| |/ / / | |||||
* | | | | Merge pull request #4388 from ethereum/noPackedLiterals | chriseth | 2018-07-11 | 2 | -17/+13 |
|\ \ \ \ | | | | | | | | | | | Disallow packed encoding of literals. | ||||
| * | | | | Disallow packed encoding of literals. | chriseth | 2018-07-03 | 2 | -17/+13 |
| | | | | | |||||
* | | | | | Code, Changelog, ReleaseChecklist: Fix typos. | Cryptomental | 2018-07-11 | 14 | -18/+18 |
| |/ / / |/| | | | | | | | | | | | Refs: #4442 | ||||
* | | | | Merge pull request #4376 from ethereum/fallbackExternal | chriseth | 2018-07-11 | 1 | -4/+1 |
|\ \ \ \ | |_|/ / |/| | | | Fallback functions have to be external | ||||
| * | | | Fallback function has to be external. | chriseth | 2018-07-04 | 1 | -4/+1 |
| | | | | |||||
* | | | | Merge pull request #4464 from ↵ | chriseth | 2018-07-11 | 2 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | cryptomental/bugfix/fix-typos-in-AsmParser-and-TypeChecker AsmParser,TypeChecker: Fix typos. | ||||
| * | | | | AsmParser,TypeChecker: Fix typos. | Cryptomental | 2018-07-10 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typos. The change requested as a separate PR during codespell PR. Adapt tests as well. Refs: #4442 | ||||
* | | | | | Merge pull request #4466 from ethereum/tupleNotEmpty | chriseth | 2018-07-11 | 1 | -11/+2 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Disallow empty tuple components. | ||||
| * | | | | Remove special ``(x,)`` case from type assignment. | chriseth | 2018-07-10 | 1 | -4/+0 |
| | | | | | |||||
| * | | | | Disallow empty tuple components. | Daniel Kirchner | 2018-07-10 | 1 | -7/+2 |
| | | | | | |||||
* | | | | | Merge pull request #4468 from ethereum/variableDeclarationClenaup | chriseth | 2018-07-10 | 1 | -7/+9 |
|\ \ \ \ \ | | | | | | | | | | | | | Remove mentions of ``var`` in VariableDeclarationStatement comment. | ||||
| * | | | | | Remove mentions of ``var`` in VariableDeclarationStatement comment. | chriseth | 2018-07-10 | 1 | -7/+9 |
| | |/ / / | |/| | | | |||||
* | | | | | defaulting to v0.5.0 behaviour of unary + operator (disallow); also adapting ↵ | Christian Parpart | 2018-07-10 | 1 | -8/+2 |
| | | | | | | | | | | | | | | | | | | | | all tests to it | ||||
* | | | | | Merge pull request #4415 from ethereum/uninitializedStoragePointer | chriseth | 2018-07-10 | 1 | -4/+1 |
|\ \ \ \ \ | |_|/ / / |/| | | | | [BREAKING] Turn uninitialized storage variables into error. | ||||
| * | | | | Turn uninitialized storage variables into an error. | Daniel Kirchner | 2018-07-10 | 1 | -4/+1 |
| |/ / / | |||||
* / / / | Check for matching number of components in ↵ | Daniel Kirchner | 2018-07-10 | 2 | -35/+5 |
|/ / / | | | | | | | | | | TupleType::isImplicitlyConvertibleTo instead of the TypeChecker. | ||||
* | | | Enforce error on hex number combined with unit denomination | Leonardo Alt | 2018-07-09 | 1 | -17/+6 |
| | | | |||||
* | | | Merge pull request #4418 from ethereum/initialConstants | chriseth | 2018-07-05 | 1 | -13/+4 |
|\ \ \ | | | | | | | | | Only allow compile-time constants for constant state variables. | ||||
| * | | | Only allow compile-time constants for constant state variables. | chriseth | 2018-07-04 | 1 | -13/+4 |
| |/ / | |||||
* | | | Fix allocation of byte arrays. | chriseth | 2018-07-05 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #4409 from ethereum/viewPureChecker | chriseth | 2018-07-04 | 2 | -26/+13 |
|\ \ \ | | | | | | | | | Enforce state mutability in view pure checker. | ||||
| * | | | Remove v050 check for enforcing "view" in ViewPureChecker. | Daniel Kirchner | 2018-07-04 | 2 | -26/+13 |
| |/ / | |||||
* / / | Enforcing error on msg.gas and block.blockhash() | Leonardo Alt | 2018-07-04 | 1 | -27/+9 |
|/ / | |||||
* | | Merge pull request #4379 from ethereum/constructorArgsTwice | chriseth | 2018-07-04 | 1 | -14/+5 |
|\ \ | | | | | | | Disallow constructor arguments given multiple times. | ||||
| * | | Disallow constructor arguments given multiple times. | chriseth | 2018-06-29 | 1 | -14/+5 |
| | | | |||||
* | | | Remove constant keyword from parser. | Daniel Kirchner | 2018-07-03 | 1 | -2/+9 |
| | | | |||||
* | | | 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 | ||||
* | | Remove trailing whitespace in missing visibility warning. | Daniel Kirchner | 2018-07-02 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #4224 from ethereum/revert_wrong_calldata | chriseth | 2018-07-02 | 3 | -48/+34 |
|\ \ | |/ |/| | [BREAKING] Revert if calldata has wrong size | ||||
| * | Revert if calldata is too short or points out of bounds | Leonardo Alt | 2018-06-26 | 3 | -48/+34 |
| | | |||||
* | | Merge pull request #4352 from D-Nice/develop | chriseth | 2018-06-29 | 1 | -1/+1 |
|\ \ | | | | | | | Fixes storage ref var typo error from 'prefix' to 'suffix' | ||||
| * | | Fixes storage ref var typo error from 'prefix' to 'suffix' | D-Nice | 2018-06-25 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #4097 from ethereum/noPackedExceptForPacked | chriseth | 2018-06-28 | 5 | -85/+98 |
|\ \ \ | | | | | | | | | [BREAKING] call only takes a single argument and does not pad | ||||
| * | | | Also mention regular abi.encode in error message. | chriseth | 2018-06-27 | 1 | -2/+8 |
| | | | | |||||
| * | | | Fix: Call functions do not take variable arguments. | chriseth | 2018-06-25 | 1 | -3/+3 |
| | | | | |||||
| * | | | Provide better suggestions in error messages with respect to call and hash ↵ | chriseth | 2018-06-25 | 1 | -4/+34 |
| | | | | | | | | | | | | | | | | functions. | ||||
| * | | | Save double encode call for sha3. | chriseth | 2018-06-25 | 1 | -8/+16 |
| | | | | |||||
| * | | | Bare functions take single bytes argument. | chriseth | 2018-06-25 | 5 | -94/+44 |
| | | | | |||||
| * | | | Single bytes argument. | chriseth | 2018-06-25 | 2 | -13/+32 |
| | | | | | | | | | | | | | | | | | | | | In 0.5.0 mode, only accept a single bytes argument for ``.call``, ``keccak256`` and others and do not pad when encoding. | ||||
* | | | | Remove non-0.5.0 warning for emit keyword (make it mandatory) | Alex Beregszaszi | 2018-06-27 | 1 | -6/+1 |
| | | | | |||||
* | | | | Merge pull request #4342 from rnaby/l/a/Types | chriseth | 2018-06-26 | 1 | -15/+19 |
|\ \ \ \ | | | | | | | | | | | RationalNumberType::isImplicitlyConvertibleTo Refactor | ||||
| * | | | | RationalNumberType::isImplicitlyConvertibleTo Refactor | Khan M Rashedun-Naby | 2018-06-24 | 1 | -15/+19 |
| | |/ / | |/| | | |||||
* | | | | Document the internal API of CompilerStack | Alex Beregszaszi | 2018-06-26 | 1 | -6/+30 |
| |_|/ |/| | | |||||
* | | | Pull out createCBORMetadata helper | Alex Beregszaszi | 2018-06-26 | 2 | -21/+31 |
| |/ |/| | |||||
* | | Keep the 'if it not used as an address' helper message for all cases of ↵ | Alex Beregszaszi | 2018-06-25 | 1 | -7/+12 |
| | | | | | | | | address related warnings | ||||
* | | Better wording for invalid address literal error | Alex Beregszaszi | 2018-06-25 | 1 | -2/+4 |
| | | |||||
* | | Change invalid (not exactly 160 bits long) address literal to error | Jason Cobb | 2018-06-25 | 1 | -4/+11 |
| | | |||||
* | | Disallow implicit conversion from rational (literal) to address | Jason Cobb | 2018-06-25 | 1 | -2/+4 |
|/ | |||||
* | Disallow the years unit denomination properly | Alex Beregszaszi | 2018-06-22 | 1 | -12/+4 |
| | |||||
* | Merge pull request #4301 from rnaby/TypeChecker | chriseth | 2018-06-22 | 1 | -5/+3 |
|\ | | | | | Simplification of typeSupportedByOldABIEncoder | ||||
| * | Simplification of typeSupportedByOldABIEncoder | Khan M Rashedun-Naby | 2018-06-21 | 1 | -5/+3 |
| | | |||||
* | | Merge pull request #4326 from ethereum/compilerstack-cleanup | chriseth | 2018-06-21 | 1 | -9/+10 |
|\ \ | | | | | | | Properly catch optimizer/assembly exception in CompilerStack | ||||
| * | | Properly catch optimizer/assembly exception in CompilerStack | Alex Beregszaszi | 2018-06-21 | 1 | -9/+10 |
| | | | |||||
* | | | Merge pull request #4306 from ethereum/remove_050_workaround_scoping | chriseth | 2018-06-21 | 4 | -36/+23 |
|\ \ \ | | | | | | | | | [BREAKING] C99 scoping rules by default (remove 050 workaround) | ||||
| * | | | C99 scoping rules by default | Leonardo Alt | 2018-06-20 | 4 | -36/+23 |
| | | | | |||||
* | | | | Merge pull request #4219 from ethereum/functionTypeNamedArguments | Alex Beregszaszi | 2018-06-21 | 1 | -1/+1 |
|\ \ \ \ | |_|/ / |/| | | | Turn named return parameters in function types into an error. | ||||
| * | | | Return parameters in function types may not be named. | Daniel Kirchner | 2018-06-18 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | CompilerStack absolutePath/sanitizePath can be made static | Alex Beregszaszi | 2018-06-20 | 2 | -3/+3 |
| | | | |||||
* | | | Reorder some of the flow in CompilerStack::compileContract for readability | Alex Beregszaszi | 2018-06-20 | 1 | -3/+9 |
| |/ |/| | |||||
* | | Disallow raw callcode (was deprecated in 0.4.12) | Alex Beregszaszi | 2018-06-20 | 1 | -12/+4 |
|/ | |||||
* | Change comments | Alex Beregszaszi | 2018-06-14 | 4 | -6/+6 |
| | |||||
* | JuliaType -> YulType | Alex Beregszaszi | 2018-06-14 | 3 | -11/+11 |
| | |||||
* | Rename internal variable | Alex Beregszaszi | 2018-06-14 | 2 | -7/+7 |
| | |||||
* | Rename JULIA/IULIA to Yul in assembly interface | Alex Beregszaszi | 2018-06-14 | 5 | -22/+22 |
| | |||||
* | 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. | ||||
* | Merge pull request #4272 from ethereum/assert-break-continue | chriseth | 2018-06-13 | 1 | -4/+4 |
|\ | | | | | Fail if break/continue statements are used outside for/while loops in ContractCompiler | ||||
| * | Fail if break/continue statements are used outside for/while loops in ↵ | Alex Beregszaszi | 2018-06-12 | 1 | -4/+4 |
| | | | | | | | | ContractCompiler | ||||
* | | Properly pad data from calldata. | chriseth | 2018-06-13 | 1 | -6/+11 |
| | | |||||
* | | Disallow sha3/suicide aliases | Alex Beregszaszi | 2018-06-13 | 1 | -10/+2 |
| | | |||||
* | | Merge pull request #3627 from ethereum/additional-keywords | Alex Beregszaszi | 2018-06-12 | 1 | -1/+20 |
|\ \ | | | | | | | [BREAKING] Add new reserved keywords. | ||||
| * | | Add new reserved keywords. | Daniel Kirchner | 2018-06-12 | 1 | -1/+20 |
| | | | |||||
* | | | Merge pull request #4277 from ethereum/signedRightShift | Daniel Kirchner | 2018-06-12 | 1 | -2/+7 |
|\ \ \ | | | | | | | | | Signed Right Shift: Additional test and more explanation. | ||||
| * | | | Additional test and more explanation. | Daniel Kirchner | 2018-06-12 | 1 | -2/+7 |
| |/ / | |||||
* | | | Merge pull request #4229 from ethereum/smt_storage_vars_refactor | chriseth | 2018-06-12 | 4 | -68/+65 |
|\ \ \ | |/ / |/| | | Refactoring how storage and local variables are managed. | ||||
| * | | Refactoring Declaration -> VariableDeclaration (more precise) | Leonardo Alt | 2018-06-12 | 4 | -43/+42 |
| | | | |||||
| * | | Review comments | Leonardo Alt | 2018-06-12 | 2 | -10/+8 |
| | | | |||||
| * | | Refactoring how storage and local variables are managed. | Leonardo Alt | 2018-06-12 | 2 | -29/+29 |
| |/ | |||||
* | | Extend explanatory remark and argue using bitwise operations instead of ↵ | Daniel Kirchner | 2018-06-12 | 1 | -6/+14 |
| | | | | | | | | rounding. | ||||
* | | Use proper SAR for signed right shifts and emulate on pre-constantinople. | Daniel Kirchner | 2018-06-12 | 2 | -6/+30 |
|/ | |||||
* | Introduces emit token and removes identifier workaround. | Erik Kundt | 2018-06-12 | 2 | -3/+7 |
| | |||||
* | Use boost::multiprecision::pow explicitly | Alex Beregszaszi | 2018-06-12 | 1 | -10/+7 |
| | |||||
* | Show named argument name in error | Alex Beregszaszi | 2018-06-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4208 from ethereum/extract-name-and-type-tests | chriseth | 2018-06-05 | 1 | -2/+2 |
|\ | | | | | Extract name and type tests | ||||
| * | Fix view/pure error ordering problem. | chriseth | 2018-06-04 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #4213 from ethereum/fixpop | chriseth | 2018-06-04 | 1 | -0/+2 |
|\ \ | | | | | | | Fix bug related to byte array pop. | ||||
| * | | Fix bug related to byte array pop. | chriseth | 2018-05-31 | 1 | -0/+2 |
| |/ | |||||
* / | Remove suicide and sha3 assembly instructions | Jason Cobb | 2018-06-04 | 1 | -5/+0 |
|/ | |||||
* | Merge pull request #4172 from ethereum/trailing_dot | chriseth | 2018-05-31 | 1 | -1/+7 |
|\ | | | | | [BREAKING] Disallow trailing dot not followed by number | ||||
| * | Disallow trailing dots that are not followed by a number | Leonardo Alt | 2018-05-30 | 1 | -1/+7 |
| | | |||||
* | | Merge pull request #3743 from ethereum/popStorageArray | chriseth | 2018-05-31 | 5 | -3/+112 |
|\ \ | |/ |/| | pop() for storage arrays | ||||
| * | Fixes assembly bug and adds tests to cover it. | Erik Kundt | 2018-05-30 | 1 | -5/+4 |
| | | |||||
| * | Adds syntax tests, documentation and changelog entry. | Erik Kundt | 2018-05-30 | 2 | -2/+2 |
| | | | | | | | | Refines comment for array utility function. | ||||
| * | Improves assembly and adds more tests. | Erik Kundt | 2018-05-30 | 4 | -34/+15 |
| | | |||||
| * | Implements pop() for byte arrays. | Erik Kundt | 2018-05-29 | 1 | -10/+65 |
| | | |||||
| * | Implements pop() for value type arrays. | bitshift | 2018-05-29 | 5 | -1/+75 |
| | | |||||
* | | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 7 | -19/+65 |
|/ | |||||
* | Merge pull request #4173 from sifmelcara/add/allow-storage-calldata-suffix | chriseth | 2018-05-29 | 2 | -15/+30 |
|\ | | | | | Allow data location suffix for internal elementary type parsing | ||||
| * | Allow data location suffix for internal elementary type parsing | mingchuan | 2018-05-22 | 2 | -15/+30 |
| | | |||||
* | | Merge pull request #4067 from ethereum/050 | chriseth | 2018-05-24 | 4 | -26/+28 |
|\ \ | |/ |/| | [BREAKING] Version 0.5.0 | ||||
| * | Update control flow graph. | Daniel Kirchner | 2018-05-17 | 1 | -5/+4 |
| | | |||||
| * | Fix continue inside do-while. | Daniel Kirchner | 2018-05-17 | 1 | -12/+16 |
| | | |||||
| * | Disallow conversions between bytesX and uintY of different size. | Daniel Kirchner | 2018-05-17 | 1 | -3/+6 |
| | | |||||
| * | Bool variables should not allow arithmetic comparison | Leonardo Alt | 2018-05-17 | 2 | -6/+2 |
| | | |||||
* | | Fix assert message about function visibility | mingchuan | 2018-05-20 | 1 | -2/+2 |
| | | |||||
* | | Avoid "unneccesary parentheses in declaration of" warning with keeping a ↵ | Julius Huelsmann | 2018-05-17 | 1 | -1/+3 |
| | | | | | | | | temporary variable. | ||||
* | | Do not catch exceptions by value in StandardCompiler | Julius Huelsmann | 2018-05-17 | 1 | -2/+2 |
|/ | |||||
* | 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. |