Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Performance: Replace string by special single-copy YulString class. | chriseth | 2018-11-08 | 1 | -1/+1 |
| | |||||
* | Fixes crash while encoding too large arrays. | Erik Kundt | 2018-10-30 | 1 | -0/+3 |
| | |||||
* | Remove unused AST utils. | chriseth | 2018-10-25 | 2 | -102/+0 |
| | |||||
* | Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵ | Christian Parpart | 2018-10-22 | 6 | -101/+101 |
| | | | | namespace | ||||
* | Fixes large rational number literals being wrongly interpreted. | Christian Parpart | 2018-10-09 | 1 | -9/+3 |
| | | | | Fixes #5052. | ||||
* | Merge pull request #4734 from ethereum/astUpdate | chriseth | 2018-10-09 | 1 | -1/+3 |
|\ | | | | | JSON AST: replace ``isConstructor`` by ``kind`` which also supports fallbacks | ||||
| * | Restore ``isConstructor`` in the legacy AST. | Daniel Kirchner | 2018-09-11 | 1 | -0/+2 |
| | | |||||
| * | Replace ``isConstructor`` field in the JSON AST by a ``kind`` field. | Daniel Kirchner | 2018-09-11 | 1 | -1/+1 |
| | | |||||
* | | Fixes #5051 (introduced in #4684), effectively allowing underscores in ↵ | Christian Parpart | 2018-10-02 | 3 | -4/+11 |
| | | | | | | | | address literals. | ||||
* | | Merge pull request #4962 from anurag-git/anurag_issue_3667-1 | chriseth | 2018-10-01 | 2 | -10/+5 |
|\ \ | | | | | | | Removed default case from "ExpressionCompiler::visit(FunctionCall...)". | ||||
| * | | Removing extra default cases to force compile time error, instead of runtime. | Anurag Dashputre | 2018-09-30 | 2 | -10/+5 |
| | | | |||||
* | | | Use better assertion messages for RationalNumberType::literalValue | Alex Beregszaszi | 2018-09-26 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #5041 from liangdzou/fix_typo_in_doc | chriseth | 2018-09-24 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | fix typo in docs and comments | ||||
| * | | | fix typo | liangdzou | 2018-09-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #5049 from ethereum/structtype-assert-annotation | Alex Beregszaszi | 2018-09-21 | 1 | -0/+3 |
|\ \ \ \ | | | | | | | | | | | Add assertion for annotated type in Structtype::canBeUsedExternally | ||||
| * | | | | Add assertion for annotated type in Structtype::canBeUsedExternally | Alex Beregszaszi | 2018-09-21 | 1 | -0/+3 |
| | | | | | |||||
* | | | | | Merge pull request #5030 from ethereum/payableConversion | chriseth | 2018-09-21 | 1 | -2/+2 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Make non-payable default for conversion to address. | ||||
| * | | | | Make non-payable default for conversion to address. | chriseth | 2018-09-20 | 1 | -2/+2 |
| |/ / / | |||||
* / / / | fix typo | liangdzou | 2018-09-20 | 2 | -2/+2 |
|/ / / | |||||
* | | | fixing rebase conflicts | Jordan Last | 2018-09-14 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add ElementaryTypes::BytesMemory and ElementaryTypes::StringMemory fix rebase conflicts fixing rebase conflicts use make_shared instead of new fix tabs and StateMutability parameter create address and addressType functions, fix spaces in comment fix typo and switch nonpayable to payable fix spaces fix comment again | ||||
* | | | Add ``stateMutability`` field to JSON AST for ``address`` types. | Daniel Kirchner | 2018-09-13 | 1 | -2/+7 |
| | | | |||||
* | | | Add payable and non-payable state mutability to AddressType. | Daniel Kirchner | 2018-09-13 | 2 | -15/+74 |
|/ / | |||||
* / | Accept ``address payable`` during parsing. | Daniel Kirchner | 2018-09-11 | 1 | -5/+13 |
|/ | |||||
* | Split IntegerType into IntegerType and AddressType. | Daniel Kirchner | 2018-09-05 | 2 | -74/+101 |
| | |||||
* | Add return data to bare calls. | Daniel Kirchner | 2018-09-04 | 1 | -5/+12 |
| | |||||
* | Merge pull request #4837 from chase1745/default-to-unspecified | chriseth | 2018-09-04 | 3 | -5/+5 |
|\ | | | | | Rename `Location::Default` to `Location::Unspecified` | ||||
| * | Rename Location::Default to Location::Unspecified. | Chase McDermott | 2018-08-18 | 3 | -5/+5 |
| | | |||||
* | | Merge pull request #4851 from anurag-git/anurag_issue_4824 | chriseth | 2018-09-03 | 2 | -5/+1 |
|\ \ | | | | | | | Removed unused "FunctionType::Kind::CallCode" | ||||
| * | | Removed unused "FunctionType::Kind::CallCode" from Types.h and all its usage | Anurag Dashputre | 2018-08-23 | 2 | -5/+1 |
| |/ | |||||
* | | Merge branch 'develop' into anurag_issue_3667 | Anurag Dashputre | 2018-08-23 | 4 | -80/+278 |
|\| | |||||
| * | Merge pull request #4825 from ethereum/expressionCompBareCall | chriseth | 2018-08-16 | 1 | -0/+11 |
| |\ | | | | | | | More safeguards for (library) function types. | ||||
| | * | More safeguards for (library) function types. | chriseth | 2018-08-15 | 1 | -0/+11 |
| | | | |||||
| * | | fix a typo: declaratoion => declaration | liangdzou | 2018-08-16 | 1 | -1/+1 |
| | | | |||||
| * | | Add ``staticcall`` to ``address``. | Daniel Kirchner | 2018-08-15 | 2 | -2/+10 |
| |/ | |||||
| * | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 2 | -1/+13 |
| | | |||||
| * | Refactor data location check. | Chase McDermott | 2018-08-15 | 2 | -19/+118 |
| | | |||||
| * | Merge pull request #4765 from ethereum/fixes-issue-4673 | chriseth | 2018-08-14 | 2 | -2/+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 | 2 | -2/+4 |
| | | | | | | | | | | | | Fixes #4673. | ||||
| * | | Add implicit convertibility to function pointer with higher state mutability | Jesse Busman | 2018-08-14 | 2 | -21/+65 |
| | | | |||||
| * | | Merge pull request #4782 from ethereum/encodePackedArrayOfStructs | chriseth | 2018-08-14 | 1 | -10/+10 |
| |\ \ | | | | | | | | | Encode packed array of structs | ||||
| | * | | Disallow packed encoding of arrays of structs. | chriseth | 2018-08-10 | 1 | -10/+10 |
| | |/ | |||||
| * / | Disallow ambiguous conversions between number literals and bytesXX types. | Daniel Kirchner | 2018-08-13 | 2 | -24/+46 |
| |/ | |||||
* | | Removed the default cases related to assertion to detect the problem at ↵ | Anurag Dashputre | 2018-08-23 | 1 | -6/+0 |
| | | | | | | | | compile-time instead of run-time | ||||
* | | Default case removed to detect errors at comoile time rather than run time | Anurag Dashputre | 2018-08-17 | 1 | -1/+0 |
|/ | |||||
* | Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in ↵ | Alex Beregszaszi | 2018-08-09 | 2 | -5/+5 |
| | | | | libevmasm) | ||||
* | Merge pull request #4684 from ethereum/underscores_in_numeric_literals | chriseth | 2018-08-09 | 1 | -9/+13 |
|\ | | | | | [BREAKING] Underscores in numeric literals | ||||
| * | Cleanup & polish numbers-with-underscores parsing, also improving tests. | Christian Parpart | 2018-08-08 | 1 | -10/+11 |
| | | |||||
| * | Add stricter hex underscore rules | Balajiganapathi S | 2018-08-08 | 1 | -1/+4 |
| | | |||||
* | | Merge pull request #4753 from mattaereal/boost-to-string-patch | Alex Beregszaszi | 2018-08-08 | 2 | -8/+8 |
|\ \ | | | | | | | 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 | 2 | -8/+8 |
| | | | |||||
* | | | Remove experimental 0.5.0 pragma | Alex Beregszaszi | 2018-08-08 | 1 | -3/+0 |
| | | | |||||
* | | | Merge pull request #4748 from ethereum/validate-identifier | chriseth | 2018-08-08 | 2 | -1/+12 |
|\ \ \ | | | | | | | | | Assert that type identifier contains only valid characters | ||||
| * | | | Assert that type identifier contains only valid characters | Alex Beregszaszi | 2018-08-08 | 2 | -1/+12 |
| | |/ | |/| | |||||
* / | | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵ | Daniel Kirchner | 2018-08-08 | 1 | -7/+5 |
|/ / | | | | | | | assignments. | ||||
* | | Merge pull request #4699 from ethereum/cleanup_VariableDeclaration | chriseth | 2018-08-07 | 2 | -6/+0 |
|\ \ | | | | | | | libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType | ||||
| * | | libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType() | Christian Parpart | 2018-08-07 | 2 | -6/+0 |
| | | | | | | | | | | | | Closes #4667 | ||||
* | | | Merge pull request #4726 from ethereum/moveNothrow | chriseth | 2018-08-07 | 2 | -11/+2 |
|\ \ \ | | | | | | | | | Make MemberList nothrow move constructible. | ||||
| * | | | Make MemberList nothrow move constructible. | chriseth | 2018-08-07 | 2 | -11/+2 |
| |/ / | |||||
* / / | Fix type identifiers for RationalNumberType | Alex Beregszaszi | 2018-08-07 | 1 | -1/+8 |
|/ / | |||||
* | | Move fullyQualifiedName to ContractDefinition only | Alex Beregszaszi | 2018-08-07 | 2 | -11/+2 |
| | | |||||
* | | Merge pull request #4663 from ethereum/dropConstantAST | chriseth | 2018-08-07 | 1 | -6/+0 |
|\ \ | | | | | | | [BREAKING] Drop constant field from JSON AST | ||||
| * | | Remove "constant" from JSON AST. | Daniel Kirchner | 2018-08-06 | 1 | -6/+0 |
| |/ | |||||
* / | Renamed FunctionType::hasEqualArgumentTypes to ↵ | Jesse Busman | 2018-08-06 | 2 | -3/+3 |
|/ | | | | FunctionType::hasEqualParameterTypes | ||||
* | Merge pull request #4522 from ethereum/fullEncodingType | chriseth | 2018-08-02 | 2 | -0/+26 |
|\ | | | | | Isolate determining the encoding type into its own function. | ||||
| * | Isolate determining the encoding type into its own function. | chriseth | 2018-08-01 | 2 | -0/+26 |
| | | |||||
* | | Guard CycleDetector against recursion exhaustion. | Christian Parpart | 2018-08-01 | 1 | -1/+1 |
|/ | | | | fixes #3935. | ||||
* | Disallow conversion between unrelated contract types. | chriseth | 2018-08-01 | 2 | -8/+7 |
| | |||||
* | Merge pull request #4439 from ethereum/address_members | chriseth | 2018-07-19 | 2 | -40/+0 |
|\ | | | | | [BREAKING] Enforce address members not accessible by contract instance | ||||
| * | Address members not accessible by contract instance | Leonardo Alt | 2018-07-17 | 2 | -40/+0 |
| | | |||||
* | | Disallows old constructor syntax. | Erik Kundt | 2018-07-18 | 1 | -1/+0 |
|/ | |||||
* | Disallow multi variable declarations with mismatching number of values. | Daniel Kirchner | 2018-07-13 | 4 | -18/+2 |
| | |||||
* | Fix literals with exponents with mantissa of zero. | Daniel Kirchner | 2018-07-11 | 1 | -8/+11 |
| | |||||
* | Code, Changelog, ReleaseChecklist: Fix typos. | Cryptomental | 2018-07-11 | 3 | -5/+5 |
| | | | | Refs: #4442 | ||||
* | 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 |
| | | |||||
* | | Check for matching number of components in ↵ | Daniel Kirchner | 2018-07-10 | 1 | -16/+4 |
|/ | | | | TupleType::isImplicitlyConvertibleTo instead of the TypeChecker. | ||||
* | Merge pull request #4097 from ethereum/noPackedExceptForPacked | chriseth | 2018-06-28 | 2 | -6/+28 |
|\ | | | | | [BREAKING] call only takes a single argument and does not pad | ||||
| * | Fix: Call functions do not take variable arguments. | chriseth | 2018-06-25 | 1 | -3/+3 |
| | | |||||
| * | Bare functions take single bytes argument. | chriseth | 2018-06-25 | 2 | -5/+25 |
| | | |||||
| * | Single bytes argument. | chriseth | 2018-06-25 | 1 | -2/+4 |
| | | | | | | | | | | In 0.5.0 mode, only accept a single bytes argument for ``.call``, ``keccak256`` and others and do not pad when encoding. | ||||
* | | 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 |
| | | |||||
* | | Disallow implicit conversion from rational (literal) to address | Jason Cobb | 2018-06-25 | 1 | -2/+4 |
|/ | |||||
* | Change comments | Alex Beregszaszi | 2018-06-14 | 1 | -1/+1 |
| | |||||
* | Additional test and more explanation. | Daniel Kirchner | 2018-06-12 | 1 | -2/+7 |
| | |||||
* | Use proper SAR for signed right shifts and emulate on pre-constantinople. | Daniel Kirchner | 2018-06-12 | 1 | -2/+9 |
| | |||||
* | Use boost::multiprecision::pow explicitly | Alex Beregszaszi | 2018-06-12 | 1 | -10/+7 |
| | |||||
* | Fix bug related to byte array pop. | chriseth | 2018-05-31 | 1 | -0/+2 |
| | |||||
* | Merge pull request #3743 from ethereum/popStorageArray | chriseth | 2018-05-31 | 2 | -0/+10 |
|\ | | | | | pop() for storage arrays | ||||
| * | Improves assembly and adds more tests. | Erik Kundt | 2018-05-30 | 2 | -2/+1 |
| | | |||||
| * | Implements pop() for value type arrays. | bitshift | 2018-05-29 | 2 | -0/+11 |
| | | |||||
* | | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 3 | -4/+14 |
|/ | |||||
* | 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 | 1 | -4/+7 |
|\ \ | |/ |/| | [BREAKING] Version 0.5.0 | ||||
| * | 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 | 1 | -1/+1 |
| | | |||||
* | | Fix assert message about function visibility | mingchuan | 2018-05-20 | 1 | -2/+2 |
|/ | |||||
* | Warn/enforce single bytes argument for certain builtins (hashing functions). | chriseth | 2018-05-16 | 1 | -0/+16 |
| | | | | | In 0.5.0 mode, only accept a single bytes argument for ``.call``, ``keccak256`` and others and do not pad when encoding. | ||||
* | ABI encoding functions are pure and should be usable in constants. | chriseth | 2018-05-15 | 2 | -3/+7 |
| | |||||
* | Change bytes to unsigned in FixedBytesType | daniel | 2018-05-04 | 2 | -6/+5 |
| | |||||
* | Change numBits to unsigned IntegerType | Alex Beregszaszi | 2018-05-03 | 2 | -8/+8 |
| | |||||
* | Change totalBits and fractionalDigits to unsigned in FixedPointType | Alex Beregszaszi | 2018-05-03 | 2 | -8/+8 |
| | |||||
* | Revert "BREAKING: Bool variables should not allow arithmetic comparison" | chriseth | 2018-05-02 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4003 from ethereum/bool_vars_comparison | chriseth | 2018-05-02 | 1 | -1/+1 |
|\ | | | | | BREAKING: Bool variables should not allow arithmetic comparison | ||||
| * | Bool variables should not allow arithmetic comparison | Leonardo Alt | 2018-04-27 | 1 | -1/+1 |
| | | |||||
* | | Add virtual destructors on base classes. | Alexander Arlt | 2018-05-02 | 3 | -0/+7 |
| | | |||||
* | | 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 |
| |/ | |||||
* | | 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 |
|/ | |||||
* | Disallow explicit conversion of bytesXX to contract | Alex Beregszaszi | 2018-04-19 | 1 | -1/+0 |
| | |||||
* | Limits rational numbers to 4096 bits. | Erik Kundt | 2018-04-16 | 1 | -20/+160 |
| | |||||
* | 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 | 2 | -7/+13 |
|\ | | | | | Revert with reason | ||||
| * | Allow function overloads involving MagicVariableDeclarations. | chriseth | 2018-04-12 | 1 | -0/+5 |
| | | |||||
| * | Use FunctionTypePointer (adds ``const``). | chriseth | 2018-04-12 | 2 | -7/+8 |
| | | |||||
* | | Merge pull request #2980 from ethereum/abi-api | chriseth | 2018-04-13 | 2 | -3/+54 |
|\ \ | |/ |/| | Add abi.encode and abi.encodePacked | ||||
| * | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 2 | -3/+54 |
| | | | | | | | | abi.encodeWithSignature. | ||||
* | | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 1 | -0/+3 |
|/ | |||||
* | 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 | 3 | -8/+13 |
| | |||||
* | Merge pull request #3821 from ethereum/warn-constructor-override | chriseth | 2018-04-10 | 1 | -0/+3 |
|\ | | | | | Warn constructor override | ||||
| * | Move constructor argument override check to TypeChecker and reuse ↵ | Daniel Kirchner | 2018-04-09 | 1 | -0/+3 |
| | | | | | | | | annotations in ContractCompiler. | ||||
* | | Fixed typos | hydai | 2018-04-10 | 1 | -6/+6 |
|/ | |||||
* | Allow ``memory`` suffix for internal elementary type parsing. | chriseth | 2018-04-05 | 2 | -2/+14 |
| | |||||
* | Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesis | Daniel Kirchner | 2018-04-05 | 3 | -7/+12 |
|\ | | | | | 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 | -7/+12 |
| | | | | | | | | arguments. | ||||
* | | Merge pull request #3745 from ethereum/fixRecursion | Alex Beregszaszi | 2018-04-05 | 1 | -11/+6 |
|\ \ | |/ |/| | Fix invalid recursion errors for structs | ||||
| * | Generalize cycle detection. | chriseth | 2018-04-03 | 1 | -16/+6 |
| | | |||||
| * | Fix detection of recursive structs. | chriseth | 2018-04-03 | 1 | -0/+5 |
| | | |||||
* | | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 1 | -1/+2 |
| | | |||||
* | | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 1 | -0/+13 |
|/ | |||||
* | Set default fixed point decimal places to 18 | Jason Cobb | 2018-03-31 | 1 | -2/+2 |
| | |||||
* | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 2 | -3/+10 |
| | | | | 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 |
| | | |||||
* | | Introduce inContractKind helper on FunctionDefinition | Alex Beregszaszi | 2018-03-26 | 2 | -0/+9 |
|/ | |||||
* | Move dynamic type removal out of the type system. | chriseth | 2018-03-21 | 2 | -10/+16 |
| | |||||
* | Make external library functions accessible. | chriseth | 2018-03-14 | 2 | -2/+3 |
| | |||||
* | 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 | 1 | -2/+2 |
|\ \ | |/ |/| | 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 | 1 | -2/+2 |
| | | | | | | | | is activated. | ||||
* | | Merge pull request #3549 from ethereum/fixmultidim | Alex Beregszaszi | 2018-03-06 | 1 | -2/+0 |
|\ \ | |/ |/| | 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 | 1 | -2/+0 |
| | | |||||
* | | Merge pull request #3652 from ethereum/gasleft_v2 | chriseth | 2018-03-06 | 1 | -10/+4 |
|\ \ | | | | | | | 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 | 1 | -10/+4 |
| | | | | | | | | | | | | in MagicType. | ||||
* | | | Merge pull request #3643 from ethereum/gasleft | chriseth | 2018-03-06 | 2 | -5/+12 |
|\| | | | | | | | | Move msg.gas to global function gasleft(). Closes #2971. | ||||
| * | | Style improvements. | Daniel Kirchner | 2018-03-06 | 1 | -2/+2 |
| | | | |||||
| * | | Move msg.gas to global function gasleft(). Closes #2971. | Daniel Kirchner | 2018-03-05 | 2 | -5/+12 |
| |/ | |||||
* / | Do not warn about 0.5.0 experimental pragma. | chriseth | 2018-03-05 | 1 | -0/+1 |
|/ | |||||
* | Enable C99-scoping with the 0.5.0-experimental pragma. | chriseth | 2018-02-27 | 2 | -21/+22 |
| | |||||
* | Blocks and for loops can be scopes. | chriseth | 2018-02-27 | 2 | -5/+15 |
| | |||||
* | Scopes do not have to be declarations. | chriseth | 2018-02-27 | 2 | -13/+24 |
| | |||||
* | 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 |
|/ | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 8 | -1/+64 |
| | |||||
* | Added property _documentation_ to Function, Event, and Modifier definition ↵ | Emilio Almansi | 2018-02-19 | 1 | -0/+3 |
| | | | | classes. | ||||
* | Always use shortened literal number representation. | chriseth | 2018-02-13 | 2 | -9/+9 |
| | |||||
* | Avoid output messages size blow-up using huge bignums literals | Federico Bond | 2018-02-13 | 2 | -3/+21 |
| | |||||
* | Improve error message for constant evaluator | Alex Beregszaszi | 2017-12-12 | 1 | -1/+1 |
| | |||||
* | Show checksummed address always (prepend with 0) | Alex Beregszaszi | 2017-11-17 | 1 | -2/+5 |
| | |||||
* | Do not try to display checksummed address for too-short/long address literals | Alex Beregszaszi | 2017-11-17 | 2 | -1/+3 |
| | |||||
* | Improves address literal checksum error message | wadeAlexC | 2017-11-17 | 2 | -0/+8 |
| | |||||
* | Print using for directive in ASTPrinter | Kwang Yul Seo | 2017-11-16 | 2 | -0/+14 |
| | |||||
* | Merge pull request #3189 from kseo/unused | Alex Beregszaszi | 2017-11-16 | 1 | -4/+0 |
|\ | | | | | Remove unused method | ||||
| * | Remove unused method | Kwang Yul Seo | 2017-11-12 | 1 | -4/+0 |
| | | | | | | | | The body of Function::functionIdentifier is missing and is not used. | ||||
* | | Remove a redundant check | Kwang Yul Seo | 2017-11-13 | 1 | -1/+1 |
|/ | | | | m_type can't be FunctionType::Kind::DelegateCall. | ||||
* | Missing forward declaration. | chriseth | 2017-10-18 | 1 | -0/+1 |
| | |||||
* | Remove obsolete createTypeError in AST | Alex Beregszaszi | 2017-10-06 | 3 | -12/+1 |
| | |||||
* | Do not add members of address to contracts in experimental 0.5.0 | Alex Beregszaszi | 2017-10-05 | 1 | -2/+5 |
| | |||||
* | Use solAssert and not assert | Alex Beregszaszi | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Pull out helper to apply address member to contract members | Alex Beregszaszi | 2017-09-28 | 2 | -4/+10 |
| | |||||
* | Simplify address overloading | Alex Beregszaszi | 2017-09-28 | 1 | -2/+33 |
| | |||||
* | Ensure that address types are always declared as 160bit | Alex Beregszaszi | 2017-09-27 | 1 | -7/+7 |
| | |||||
* | Mark functions static | Alex Beregszaszi | 2017-09-20 | 2 | -12/+12 |
| | |||||
* | Check for interface types of members and cache recursion check. | chriseth | 2017-09-16 | 2 | -21/+48 |
| | |||||
* | Implement struct encoder. | chriseth | 2017-09-16 | 2 | -2/+10 |
| | |||||
* | Fix tests. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Fix interface type conversion internal to structs. | chriseth | 2017-09-16 | 1 | -1/+5 |
| | |||||
* | Function signatures containing structs. | chriseth | 2017-09-16 | 2 | -37/+81 |
| | |||||
* | Check for recursive structs. | chriseth | 2017-09-16 | 2 | -1/+30 |
| | |||||
* | Allow structs as part of function interfaces. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Warn if no visibility is specified on contract functions. | Alex Beregszaszi | 2017-09-14 | 1 | -0/+1 |
| | |||||
* | Add experimental feature 'v0.5.0' | Alex Beregszaszi | 2017-09-14 | 1 | -0/+2 |
| | |||||
* | Merge pull request #2473 from ethereum/functiontype-sig | Alex Beregszaszi | 2017-09-14 | 1 | -0/+5 |
|\ | | | | | Add .selector member on function types | ||||
| * | Rename .sig to .selector on function types | Alex Beregszaszi | 2017-09-13 | 1 | -1/+1 |
| | | |||||
| * | Add sig member on function type | Alex Beregszaszi | 2017-09-13 | 1 | -0/+5 |
| | | |||||
* | | Store super function. | chriseth | 2017-09-06 | 2 | -0/+4 |
| | | |||||
* | | View-pure checker. | chriseth | 2017-09-06 | 1 | -0/+1 |
|/ | |||||
* | Use Json::valueToQuotedString directly | Alex Beregszaszi | 2017-08-29 | 1 | -4/+2 |
| | |||||
* | Remove escape function. | chriseth | 2017-08-29 | 1 | -3/+11 |
| | |||||
* | Merge pull request #2833 from ethereum/statemutability-builtins | chriseth | 2017-08-29 | 2 | -10/+10 |
|\ | | | | | Mark all built in functions with appropriate statemutability | ||||
| * | Swap declaration/statemutability in FunctionType constructor | Alex Beregszaszi | 2017-08-29 | 2 | -9/+7 |
| | | |||||
| * | Mark all built in functions with appropriate statemutability | Alex Beregszaszi | 2017-08-29 | 1 | -1/+3 |
| | | |||||
* | | Move all file specific globals to anonymous namespace | Alex Beregszaszi | 2017-08-29 | 1 | -0/+5 |
| | | |||||
* | | Include all overloaded events in ABI | Alex Beregszaszi | 2017-08-29 | 1 | -2/+10 |
|/ | |||||
* | Mark event non-payable and not view | Alex Beregszaszi | 2017-08-28 | 1 | -2/+6 |
| | |||||
* | Removed unused natspec members of ContractDefinition | Alex Beregszaszi | 2017-08-26 | 2 | -30/+0 |
| | |||||
* | Cleanup of Common.h | chriseth | 2017-08-25 | 1 | -0/+1 |
| | |||||
* | Rename statemutability to stateMutability in ABI/AST | Alex Beregszaszi | 2017-08-24 | 1 | -2/+2 |
| | |||||
* | Consider pure as constant for the AST JSON (to aid static analyzers) | Alex Beregszaszi | 2017-08-24 | 1 | -2/+2 |
| | |||||
* | Introduce pure specifier on functions | Alex Beregszaszi | 2017-08-24 | 1 | -1/+3 |
| | |||||
* | Use experimental feature pragma for SMT checker. | chriseth | 2017-08-23 | 1 | -0/+3 |
| | |||||
* | z3 conditions | chriseth | 2017-08-23 | 1 | -0/+1 |
| | |||||
* | Merge pull request #2656 from ethereum/performance1 | chriseth | 2017-08-23 | 2 | -21/+31 |
|\ | | | | | Avoid some Json copy operations. | ||||
| * | Create children node in ASTJsonConverter when neccesary | Alex Beregszaszi | 2017-08-21 | 1 | -0/+8 |
| | | |||||
| * | Avoid some Json copy operations. | chriseth | 2017-08-21 | 2 | -21/+23 |
| | | |||||
* | | Introduce view (and keep constant as an alias) | Alex Beregszaszi | 2017-08-23 | 2 | -1/+2 |
| | | |||||
* | | Merge pull request #2775 from ethereum/coverity | chriseth | 2017-08-22 | 2 | -5/+4 |
|\ \ | | | | | | | Fix some issues found by Coverity | ||||
| * | | Some smaller issues found by Covertiy Scan | Alex Beregszaszi | 2017-08-22 | 2 | -5/+4 |
| | | | |||||
* | | | Merge pull request #2776 from ethereum/removeVisitsToAbstractASTNode | Alex Beregszaszi | 2017-08-22 | 7 | -40/+2 |
|\ \ \ | |/ / |/| | | Remove visits to abstract AST class TypeName. | ||||
| * | | Remove visits to abstract AST class TypeName. | chriseth | 2017-08-22 | 7 | -40/+2 |
| | | | |||||
* | | | Merge pull request #2734 from ethereum/reject-create-interface | Alex Beregszaszi | 2017-08-22 | 1 | -0/+3 |
|\ \ \ | |/ / |/| | | Reject the creation of interface with the new statement | ||||
| * | | Reject the creation of interface with the new statement | Alex Beregszaszi | 2017-08-22 | 1 | -0/+3 |
| |/ | |||||
* | | Mark a lot of functions static (where possible) | Alex Beregszaszi | 2017-08-22 | 1 | -3/+3 |
| | | |||||
* | | Mark a lot of functions const (where possible) | Alex Beregszaszi | 2017-08-22 | 1 | -3/+3 |
| | | |||||
* | | Set variable to nullptr in ASTPrinter | Alex Beregszaszi | 2017-08-22 | 1 | -1/+1 |
|/ | |||||
* | Remove isDeclaredConst() from functions | Alex Beregszaszi | 2017-08-17 | 3 | -5/+3 |
| | |||||
* | Add statemutability to AST JSON | Alex Beregszaszi | 2017-08-17 | 1 | -0/+2 |
| | |||||
* | FunctionType comparison/identifer to support all statemutability levels | Alex Beregszaszi | 2017-08-17 | 1 | -10/+4 |
| | |||||
* | Merge pull request #2704 from ethereum/newEncoder | chriseth | 2017-08-14 | 2 | -4/+6 |
|\ | | | | | New ABI encoder | ||||
| * | Experimental feature switch for ABI encoder. | chriseth | 2017-08-14 | 1 | -2/+6 |
| | | |||||
| * | Allow multi-dimensional arrays in interfaces. | chriseth | 2017-08-14 | 1 | -2/+0 |
| | | |||||
* | | Remove constant/payable in all function types | Alex Beregszaszi | 2017-08-14 | 2 | -29/+15 |
| | | |||||
* | | Replace constant/payable with StateMutability in AST | Alex Beregszaszi | 2017-08-14 | 5 | -42/+95 |
|/ | |||||
* | Use fully qualified name of super in message | Federico Bond | 2017-08-12 | 2 | -0/+10 |
| | |||||
* | Add analysis-only experimental features | Alex Beregszaszi | 2017-08-11 | 1 | -2/+9 |
| | |||||
* | Add __test experimental mode for testing | Alex Beregszaszi | 2017-08-11 | 1 | -2/+6 |
| | |||||
* | Merge pull request #2727 from ethereum/simplify-types | chriseth | 2017-08-11 | 1 | -16/+29 |
|\ | | | | | Simplify if/else statements in Types | ||||
| * | Simplify if/else statements in Types | Alex Beregszaszi | 2017-08-11 | 1 | -16/+29 |
| | | |||||
* | | FunctionType operator== boolean refactor | gubatron | 2017-08-11 | 1 | -17/+12 |
| | | |||||
* | | Check for payable when comparing function types | Alex Beregszaszi | 2017-08-11 | 1 | -4/+15 |
|/ | |||||
* | Merge pull request #2690 from ethereum/experimental-pragma | chriseth | 2017-08-10 | 2 | -0/+38 |
|\ | | | | | Support experimental feature pragma | ||||
| * | Introduce ExperimentalFeatures header | Alex Beregszaszi | 2017-08-10 | 2 | -2/+38 |
| | | |||||
| * | Support experimental feature pragma | Alex Beregszaszi | 2017-08-10 | 1 | -0/+2 |
| | | |||||
* | | Add isDynamicallyEncoded member function to types. | chriseth | 2017-08-10 | 2 | -1/+16 |
|/ | |||||
* | Make toString(visibility) a helper | Alex Beregszaszi | 2017-08-09 | 3 | -23/+23 |
| | |||||
* | Constructors must be implemented if declared. | Alex Beregszaszi | 2017-08-05 | 1 | -2/+1 |
| | |||||
* | Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations | Alex Beregszaszi | 2017-08-04 | 2 | -3/+4 |
| | |||||
* | Disallow gas modifier on sha255/ripemd160/ecrecover | Alex Beregszaszi | 2017-08-02 | 1 | -3/+0 |
| | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 2 | -6/+6 |
| | |||||
* | Disallow externalSignature for fallback functions | Alex Beregszaszi | 2017-07-28 | 1 | -0/+1 |
| | |||||
* | Add isFallback() helper | Alex Beregszaszi | 2017-07-28 | 2 | -3/+4 |
| |