Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵ | Christian Parpart | 2018-10-22 | 1 | -29/+29 |
| | | | | namespace | ||||
* | fix typo | liangdzou | 2018-09-20 | 1 | -1/+1 |
| | |||||
* | 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 payable and non-payable state mutability to AddressType. | Daniel Kirchner | 2018-09-13 | 1 | -4/+11 |
| | |||||
* | Split IntegerType into IntegerType and AddressType. | Daniel Kirchner | 2018-09-05 | 1 | -9/+35 |
| | |||||
* | Removed unused "FunctionType::Kind::CallCode" from Types.h and all its usage | Anurag Dashputre | 2018-08-23 | 1 | -1/+0 |
| | |||||
* | Add ``staticcall`` to ``address``. | Daniel Kirchner | 2018-08-15 | 1 | -2/+4 |
| | |||||
* | Add abi.decode(bytes data, (...)) | chriseth | 2018-08-15 | 1 | -0/+1 |
| | |||||
* | Merge pull request #4765 from ethereum/fixes-issue-4673 | chriseth | 2018-08-14 | 1 | -1/+2 |
|\ | | | | | [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 | 1 | -1/+2 |
| | | | | | | | | Fixes #4673. | ||||
* | | Add implicit convertibility to function pointer with higher state mutability | Jesse Busman | 2018-08-14 | 1 | -1/+6 |
| | | |||||
* | | Disallow ambiguous conversions between number literals and bytesXX types. | Daniel Kirchner | 2018-08-13 | 1 | -4/+11 |
|/ | |||||
* | Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in ↵ | Alex Beregszaszi | 2018-08-09 | 1 | -2/+2 |
| | | | | libevmasm) | ||||
* | Assert that type identifier contains only valid characters | Alex Beregszaszi | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | Make MemberList nothrow move constructible. | chriseth | 2018-08-07 | 1 | -2/+2 |
| | |||||
* | Renamed FunctionType::hasEqualArgumentTypes to ↵ | Jesse Busman | 2018-08-06 | 1 | -1/+1 |
| | | | | FunctionType::hasEqualParameterTypes | ||||
* | Isolate determining the encoding type into its own function. | chriseth | 2018-08-01 | 1 | -0/+5 |
| | |||||
* | Disallow conversion between unrelated contract types. | chriseth | 2018-08-01 | 1 | -2/+2 |
| | |||||
* | Address members not accessible by contract instance | Leonardo Alt | 2018-07-17 | 1 | -2/+0 |
| | |||||
* | Code, Changelog, ReleaseChecklist: Fix typos. | Cryptomental | 2018-07-11 | 1 | -1/+1 |
| | | | | Refs: #4442 | ||||
* | Bare functions take single bytes argument. | chriseth | 2018-06-25 | 1 | -2/+3 |
| | |||||
* | 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. | ||||
* | Improves assembly and adds more tests. | Erik Kundt | 2018-05-30 | 1 | -1/+0 |
| | |||||
* | Implements pop() for value type arrays. | bitshift | 2018-05-29 | 1 | -0/+2 |
| | |||||
* | Allow data location suffix for internal elementary type parsing | mingchuan | 2018-05-22 | 1 | -1/+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 | 1 | -2/+2 |
| | |||||
* | Change bytes to unsigned in FixedBytesType | daniel | 2018-05-04 | 1 | -3/+3 |
| | |||||
* | Change numBits to unsigned IntegerType | Alex Beregszaszi | 2018-05-03 | 1 | -3/+3 |
| | |||||
* | Change totalBits and fractionalDigits to unsigned in FixedPointType | Alex Beregszaszi | 2018-05-03 | 1 | -5/+5 |
| | |||||
* | Add virtual destructors on base classes. | Alexander Arlt | 2018-05-02 | 1 | -0/+1 |
| | |||||
* | Merge pull request #4018 from ethereum/disable-bytes0 | chriseth | 2018-05-01 | 1 | -4/+0 |
|\ | | | | | Disable FixedBytesType(0) aka bytes0 | ||||
| * | Remove unused function smallestTypeForLiteral | Alex Beregszaszi | 2018-04-30 | 1 | -4/+0 |
| | | |||||
* | | Types changes for fixed points | Jason Cobb | 2018-04-21 | 1 | -0/+3 |
|/ | |||||
* | Merge pull request #2980 from ethereum/abi-api | chriseth | 2018-04-13 | 1 | -2/+6 |
|\ | | | | | Add abi.encode and abi.encodePacked | ||||
| * | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 1 | -2/+6 |
| | | | | | | | | abi.encodeWithSignature. | ||||
* | | Error on invalid arithmetic with constant expressions. | Daniel Kirchner | 2018-04-12 | 1 | -0/+3 |
|/ | |||||
* | Fixed typos | hydai | 2018-04-10 | 1 | -6/+6 |
| | |||||
* | Allow ``memory`` suffix for internal elementary type parsing. | chriseth | 2018-04-05 | 1 | -0/+1 |
| | |||||
* | Optimize across MLOAD if MSIZE is not used. | chriseth | 2018-04-03 | 1 | -0/+13 |
| | |||||
* | Prevent encoding of weird types and support packed encoding of external ↵ | chriseth | 2018-03-29 | 1 | -3/+8 |
| | | | | function types. | ||||
* | Move dynamic type removal out of the type system. | chriseth | 2018-03-21 | 1 | -0/+3 |
| | |||||
* | Move msg.gas to global function gasleft(). Closes #2971. | Daniel Kirchner | 2018-03-05 | 1 | -1/+2 |
| | |||||
* | Use new escaping helpers for type identifiers | Alex Beregszaszi | 2018-02-27 | 1 | -2/+0 |
| | |||||
* | Rename Types::identifier to Types::richIdentifier | Alex Beregszaszi | 2018-02-27 | 1 | -19/+25 |
| | |||||
* | Add helpers escapeIdentifier to Types | Alex Beregszaszi | 2018-02-27 | 1 | -1/+7 |
| | |||||
* | Always use shortened literal number representation. | chriseth | 2018-02-13 | 1 | -1/+1 |
| | |||||
* | Avoid output messages size blow-up using huge bignums literals | Federico Bond | 2018-02-13 | 1 | -0/+4 |
| | |||||
* | Improve error message for constant evaluator | Alex Beregszaszi | 2017-12-12 | 1 | -1/+1 |
| | |||||
* | Remove unused method | Kwang Yul Seo | 2017-11-12 | 1 | -4/+0 |
| | | | | The body of Function::functionIdentifier is missing and is not used. | ||||
* | Pull out helper to apply address member to contract members | Alex Beregszaszi | 2017-09-28 | 1 | -0/+2 |
| | |||||
* | Check for interface types of members and cache recursion check. | chriseth | 2017-09-16 | 1 | -0/+4 |
| | |||||
* | Implement struct encoder. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Fix tests. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Function signatures containing structs. | chriseth | 2017-09-16 | 1 | -9/+19 |
| | |||||
* | Check for recursive structs. | chriseth | 2017-09-16 | 1 | -0/+4 |
| | |||||
* | View-pure checker. | chriseth | 2017-09-06 | 1 | -0/+1 |
| | |||||
* | Swap declaration/statemutability in FunctionType constructor | Alex Beregszaszi | 2017-08-29 | 1 | -2/+1 |
| | |||||
* | Cleanup of Common.h | chriseth | 2017-08-25 | 1 | -0/+1 |
| | |||||
* | Introduce view (and keep constant as an alias) | Alex Beregszaszi | 2017-08-23 | 1 | -1/+0 |
| | |||||
* | Remove constant/payable in all function types | Alex Beregszaszi | 2017-08-14 | 1 | -13/+4 |
| | |||||
* | Replace constant/payable with StateMutability in AST | Alex Beregszaszi | 2017-08-14 | 1 | -6/+12 |
| | |||||
* | Add isDynamicallyEncoded member function to types. | chriseth | 2017-08-10 | 1 | -1/+6 |
| | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Use solAssert instead of boost throw where possible | Alex Beregszaszi | 2017-07-27 | 1 | -4/+1 |
| | |||||
* | Cleanup fixed point type changes | chriseth | 2017-07-20 | 1 | -8/+8 |
| | |||||
* | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 1 | -8/+15 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Issue error properly for oversized arrays for calldata | Alex Beregszaszi | 2017-07-14 | 1 | -0/+5 |
| | |||||
* | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 1 | -0/+4 |
| | |||||
* | Merge pull request #2501 from ethereum/undef-macros | chriseth | 2017-07-12 | 1 | -1/+0 |
|\ | | | | | Move UndefMacros from libdevcore to libsolidity/parsing | ||||
| * | Move UndefMacros from libdevcore to libsolidity/parsing | Alex Beregszaszi | 2017-07-02 | 1 | -1/+0 |
| | | |||||
* | | Helper functions. | chriseth | 2017-07-11 | 1 | -0/+3 |
|/ | |||||
* | Disallow comparisons between some types. | chriseth | 2017-06-26 | 1 | -5/+4 |
| | |||||
* | Rename FunctionType::Location to FunctionType::Kind | Alex Beregszaszi | 2017-03-16 | 1 | -11/+10 |
| | |||||
* | Merge pull request #1698 from ethereum/exp-notation | chriseth | 2017-03-15 | 1 | -0/+3 |
|\ | | | | | Fix scientific notation in number literals | ||||
| * | Split out parseRational from isValidLiteral | Alex Beregszaszi | 2017-03-15 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #1729 from ethereum/constantvariables | Yoichi Hirai | 2017-03-15 | 1 | -0/+4 |
|\ \ | | | | | | | Only allow pure expressions for constant state variables. | ||||
| * | | Type checking for pure expressions. | chriseth | 2017-03-13 | 1 | -0/+4 |
| |/ | |||||
* / | Require and Assert. | chriseth | 2017-03-14 | 1 | -1/+2 |
|/ | |||||
* | Implement address.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Support revert() | Alex Beregszaszi | 2017-02-11 | 1 | -0/+1 |
| | |||||
* | Implement assert as a global function | Alex Beregszaszi | 2017-02-10 | 1 | -3/+4 |
| | |||||
* | Add isNegative to RationalNumberType | Alex Beregszaszi | 2017-02-02 | 1 | -0/+3 |
| | |||||
* | Support explicit conversion of external function type to address | Alex Beregszaszi | 2017-02-01 | 1 | -0/+1 |
| | |||||
* | Refactor json return type generation. | chriseth | 2017-01-27 | 1 | -2/+0 |
| | |||||
* | Warn about invalid checksums of addresses. | chriseth | 2017-01-25 | 1 | -0/+2 |
| | |||||
* | Properly escape user strings and lists. | chriseth | 2017-01-19 | 1 | -8/+14 |
| | |||||
* | Type identifiers. | chriseth | 2017-01-19 | 1 | -0/+24 |
| | |||||
* | Warn about using msg.value in non-payable function | Federico Bond | 2016-12-09 | 1 | -0/+2 |
| | |||||
* | ast: string literals that are not valid UTF are not convertible to strings | Yoichi Hirai | 2016-11-25 | 1 | -0/+2 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 1 | -4/+4 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 1 | -0/+1 |
| | |||||
* | Check that no internals are used in any external function type. | chriseth | 2016-11-16 | 1 | -0/+4 |
| | |||||
* | delete for function types | chriseth | 2016-11-16 | 1 | -0/+1 |
| | |||||
* | Code generator for function types. | chriseth | 2016-11-16 | 1 | -0/+1 |
| | |||||
* | Function types. | chriseth | 2016-11-16 | 1 | -2/+8 |
| | |||||
* | ast: add EnumType::numberOfMembers() | Yoichi Hirai | 2016-11-12 | 1 | -0/+1 |
| | |||||
* | Ensure that bound functions cannot be defined without self type | Alex Beregszaszi | 2016-10-19 | 1 | -2/+8 |
| | |||||
* | `super`'s size on stack is zero, because the expression compiler does not ↵ | Yoichi Hirai | 2016-10-18 | 1 | -0/+1 |
| | | | | | | push an address. This is different from `this`, which is translated to `ADDRESS` instruction. | ||||
* | Change function type to include and propagate payable and constant modifier. | chriseth | 2016-09-06 | 1 | -5/+19 |
| | |||||
* | Support payable keyword for functions | Alex Beregszaszi | 2016-09-06 | 1 | -0/+2 |
| | |||||
* | Move LiteralString::toString from the header | Alex Beregszaszi | 2016-08-09 | 1 | -1/+1 |
| | |||||
* | Inaccessible dynamic types | chriseth | 2016-06-02 | 1 | -1/+22 |
| | |||||
* | Fixes for invalid cleanups for small types. | chriseth | 2016-05-20 | 1 | -1/+0 |
| | |||||
* | Remove unused tests and add asserts for not implemented parts in code ↵ | chriseth | 2016-05-11 | 1 | -2/+2 |
| | | | | | | | | | | | | generation. quick fix on christian's rational change so that ubuntu will stop yelling be more specific with rational declaration for Windows sake rational in namespace correction for windows | ||||
* | Simplify interface of RationalNumber. | chriseth | 2016-05-11 | 1 | -4/+5 |
| | |||||
* | Some cleanup. | chriseth | 2016-05-11 | 1 | -1/+1 |
| | |||||
* | Prefer mobileType() to check rational range. | chriseth | 2016-05-11 | 1 | -1/+1 |
| | |||||
* | updated algorithm for bit finding...now to figure out literal value | VoR0220 | 2016-05-10 | 1 | -5/+3 |
| | | | | | | | | | | | | tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value | ||||
* | added bytes conversion tests, resolved that, converted to binary scaling, ↵ | VoR0220 | 2016-05-10 | 1 | -2/+3 |
| | | | | | | | | | | | | refactored the find algo to prevent large numbers and take into account integer bytes think we're good on solidity type name resolution now removed couts updates to documentation and more removed couts along with literal value implementation forgot semicolons | ||||
* | fixing modulus and Solidity Name and Type Resolution | VoR0220 | 2016-05-10 | 1 | -1/+1 |
| | | | | | | minor fixes current attempts at binary fixup | ||||
* | changed names for Rational Constants and categories | VoR0220 | 2016-05-10 | 1 | -5/+5 |
| | |||||
* | got exponents up and working with their inverse, changed a few of the ↵ | RJ Catalano | 2016-05-10 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error | ||||
* | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 1 | -10/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this | ||||
* | Remove log.h from solidity. | chriseth | 2016-04-12 | 1 | -0/+1 |
| | |||||
* | - inline and assembly keywords added | LianaHus | 2016-03-12 | 1 | -1/+1 |
| | | | | - some style fixes | ||||
* | BREAKING: Implement delegatecall and make default for library calls. | chriseth | 2016-03-12 | 1 | -1/+3 |
| | |||||
* | changes to redefine the token list, the scanner, and the parser and how they ↵ | RJ Catalano | 2016-02-19 | 1 | -1/+1 |
| | | | | | | | | pass around variable types of different sizes not ready for change to FixedPoint just yet made this more const correct and added a switch statement for easier reading | ||||
* | Index access for bytesXX. | chriseth | 2016-02-10 | 1 | -0/+1 |
| | |||||
* | Simple aliasing during import. | chriseth | 2015-12-18 | 1 | -2/+30 |
| | |||||
* | Merge pull request #251 from chriseth/bind2 | chriseth | 2015-11-30 | 1 | -37/+37 |
|\ | | | | | Bind library functions to types. | ||||
| * | Also check the object type for bound functions. | chriseth | 2015-11-29 | 1 | -1/+3 |
| | | |||||
| * | Add bound functions to types. | chriseth | 2015-11-29 | 1 | -36/+34 |
| | | |||||
* | | Introduce selfdestruct alias for suicide. | chriseth | 2015-11-29 | 1 | -1/+1 |
|/ | |||||
* | Invalidate cached members if scope changes. | chriseth | 2015-11-26 | 1 | -0/+1 |
| | |||||
* | Make members context-sensitive. | chriseth | 2015-11-26 | 1 | -13/+17 |
| | |||||
* | Type checking for creating new arrays. | chriseth | 2015-11-26 | 1 | -4/+2 |
| | |||||
* | Fixed string inside struct allocation bug. | chriseth | 2015-11-24 | 1 | -2/+3 |
| | |||||
* | Addmod and mulmod. | chriseth | 2015-11-19 | 1 | -0/+2 |
| | |||||
* | File reorganisation. | chriseth | 2015-10-21 | 1 | -0/+996 |