Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4753 from mattaereal/boost-to-string-patch | Alex Beregszaszi | 2018-08-08 | 1 | -7/+7 |
|\ | | | | | 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 | 1 | -7/+7 |
| | | |||||
* | | Merge pull request #4748 from ethereum/validate-identifier | chriseth | 2018-08-08 | 1 | -0/+11 |
|\ \ | | | | | | | Assert that type identifier contains only valid characters | ||||
| * | | Assert that type identifier contains only valid characters | Alex Beregszaszi | 2018-08-08 | 1 | -0/+11 |
| | | | |||||
* | | | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵ | Daniel Kirchner | 2018-08-08 | 1 | -7/+5 |
|/ / | | | | | | | assignments. | ||||
* | | Merge pull request #4726 from ethereum/moveNothrow | chriseth | 2018-08-07 | 1 | -9/+0 |
|\ \ | | | | | | | Make MemberList nothrow move constructible. | ||||
| * | | Make MemberList nothrow move constructible. | chriseth | 2018-08-07 | 1 | -9/+0 |
| | | | |||||
* | | | Fix type identifiers for RationalNumberType | Alex Beregszaszi | 2018-08-07 | 1 | -1/+8 |
|/ / | |||||
* / | Renamed FunctionType::hasEqualArgumentTypes to ↵ | Jesse Busman | 2018-08-06 | 1 | -2/+2 |
|/ | | | | FunctionType::hasEqualParameterTypes | ||||
* | Merge pull request #4522 from ethereum/fullEncodingType | chriseth | 2018-08-02 | 1 | -0/+21 |
|\ | | | | | Isolate determining the encoding type into its own function. | ||||
| * | Isolate determining the encoding type into its own function. | chriseth | 2018-08-01 | 1 | -0/+21 |
| | | |||||
* | | 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 | 1 | -6/+5 |
| | |||||
* | Address members not accessible by contract instance | Leonardo Alt | 2018-07-17 | 1 | -38/+0 |
| | |||||
* | 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 | 1 | -1/+1 |
| | | | | Refs: #4442 | ||||
* | 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 | 1 | -3/+22 |
|\ | | | | | [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 | 1 | -3/+22 |
| | | |||||
* | | 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 |
|/ | |||||
* | 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 | 1 | -0/+9 |
|\ | | | | | pop() for storage arrays | ||||
| * | Improves assembly and adds more tests. | Erik Kundt | 2018-05-30 | 1 | -1/+1 |
| | | |||||
| * | Implements pop() for value type arrays. | bitshift | 2018-05-29 | 1 | -0/+9 |
| | | |||||
* | | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 1 | -3/+11 |
|/ | |||||
* | Merge pull request #4173 from sifmelcara/add/allow-storage-calldata-suffix | chriseth | 2018-05-29 | 1 | -14/+28 |
|\ | | | | | Allow data location suffix for internal elementary type parsing | ||||
| * | Allow data location suffix for internal elementary type parsing | mingchuan | 2018-05-22 | 1 | -14/+28 |
| | | |||||
* | | 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 |
|/ | |||||
* | ABI encoding functions are pure and should be usable in constants. | chriseth | 2018-05-15 | 1 | -1/+5 |
| | |||||
* | Change bytes to unsigned in FixedBytesType | daniel | 2018-05-04 | 1 | -3/+2 |
| | |||||
* | Change numBits to unsigned IntegerType | Alex Beregszaszi | 2018-05-03 | 1 | -5/+5 |
| | |||||
* | Change totalBits and fractionalDigits to unsigned in FixedPointType | Alex Beregszaszi | 2018-05-03 | 1 | -3/+3 |
| | |||||
* | 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 |
| | | |||||
* | | Merge pull request #4018 from ethereum/disable-bytes0 | chriseth | 2018-05-01 | 1 | -9/+4 |
|\ \ | | | | | | | Disable FixedBytesType(0) aka bytes0 | ||||
| * | | Remove unused function smallestTypeForLiteral | Alex Beregszaszi | 2018-04-30 | 1 | -7/+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 | 1 | -13/+14 |
|/ | |||||
* | 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 |
| | |||||
* | Add abi.encode, abi.encodePacked, abi.encodeWithSelector and ↵ | Alex Beregszaszi | 2018-04-12 | 1 | -1/+48 |
| | | | | abi.encodeWithSignature. | ||||
* | Fix bug in typechecking when comparing rational literals | Jason Cobb | 2018-04-11 | 1 | -3/+3 |
| | |||||
* | Allow ``memory`` suffix for internal elementary type parsing. | chriseth | 2018-04-05 | 1 | -2/+13 |
| | |||||
* | Generalize cycle detection. | chriseth | 2018-04-03 | 1 | -16/+6 |
| | |||||
* | Fix detection of recursive structs. | chriseth | 2018-04-03 | 1 | -0/+5 |
| | |||||
* | 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 | 1 | -0/+2 |
| | | | | function types. | ||||
* | Improve error message when trying to shift by fractional number | Federico Bond | 2018-03-22 | 1 | -1/+1 |
| | |||||
* | Move dynamic type removal out of the type system. | chriseth | 2018-03-21 | 1 | -10/+13 |
| | |||||
* | Make external library functions accessible. | chriseth | 2018-03-14 | 1 | -2/+2 |
| | |||||
* | Add gasleft to FunctionType::richIdentifier(). | Daniel Kirchner | 2018-03-07 | 1 | -0/+1 |
| | |||||
* | Fix multi-dimensional arrays in the ABI. | chriseth | 2018-03-01 | 1 | -2/+0 |
| | |||||
* | Merge pull request #3589 from ethereum/identifiers | Alex Beregszaszi | 2018-02-27 | 1 | -23/+34 |
|\ | | | | | Clean up type identifiers | ||||
| * | Use new escaping helpers for type identifiers | Alex Beregszaszi | 2018-02-27 | 1 | -18/+9 |
| | | |||||
| * | Rename Types::identifier to Types::richIdentifier | Alex Beregszaszi | 2018-02-27 | 1 | -16/+16 |
| | | |||||
| * | Add helpers escapeIdentifier to Types | Alex Beregszaszi | 2018-02-27 | 1 | -0/+20 |
| | | |||||
* | | 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 |
|/ | |||||
* | Always use shortened literal number representation. | chriseth | 2018-02-13 | 1 | -8/+8 |
| | |||||
* | Avoid output messages size blow-up using huge bignums literals | Federico Bond | 2018-02-13 | 1 | -3/+17 |
| | |||||
* | Remove a redundant check | Kwang Yul Seo | 2017-11-13 | 1 | -1/+1 |
| | | | | m_type can't be FunctionType::Kind::DelegateCall. | ||||
* | Remove obsolete createTypeError in AST | Alex Beregszaszi | 2017-10-06 | 1 | -1/+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 | 1 | -4/+8 |
| | |||||
* | 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 |
| | |||||
* | Check for interface types of members and cache recursion check. | chriseth | 2017-09-16 | 1 | -21/+44 |
| | |||||
* | Implement struct encoder. | chriseth | 2017-09-16 | 1 | -1/+9 |
| | |||||
* | Fix interface type conversion internal to structs. | chriseth | 2017-09-16 | 1 | -1/+5 |
| | |||||
* | Function signatures containing structs. | chriseth | 2017-09-16 | 1 | -28/+62 |
| | |||||
* | Check for recursive structs. | chriseth | 2017-09-16 | 1 | -1/+26 |
| | |||||
* | Allow structs as part of function interfaces. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Merge pull request #2833 from ethereum/statemutability-builtins | chriseth | 2017-08-29 | 1 | -8/+9 |
|\ | | | | | Mark all built in functions with appropriate statemutability | ||||
| * | Swap declaration/statemutability in FunctionType constructor | Alex Beregszaszi | 2017-08-29 | 1 | -7/+6 |
| | | |||||
| * | 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 |
|/ | |||||
* | Mark event non-payable and not view | Alex Beregszaszi | 2017-08-28 | 1 | -2/+6 |
| | |||||
* | Some smaller issues found by Covertiy Scan | Alex Beregszaszi | 2017-08-22 | 1 | -4/+4 |
| | |||||
* | Reject the creation of interface with the new statement | Alex Beregszaszi | 2017-08-22 | 1 | -0/+3 |
| | |||||
* | 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 | 1 | -2/+0 |
|\ | | | | | New ABI encoder | ||||
| * | 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 | 1 | -16/+11 |
| | | |||||
* | | Replace constant/payable with StateMutability in AST | Alex Beregszaszi | 2017-08-14 | 1 | -20/+18 |
|/ | |||||
* | 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 |
|/ | |||||
* | Add isDynamicallyEncoded member function to types. | chriseth | 2017-08-10 | 1 | -0/+10 |
| | |||||
* | Disallow gas modifier on sha255/ripemd160/ecrecover | Alex Beregszaszi | 2017-08-02 | 1 | -3/+0 |
| | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 1 | -5/+5 |
| | |||||
* | Disallow externalSignature for fallback functions | Alex Beregszaszi | 2017-07-28 | 1 | -0/+1 |
| | |||||
* | Use solAssert instead of boost throw where possible | Alex Beregszaszi | 2017-07-27 | 1 | -21/+11 |
| | |||||
* | Cleanup fixed point type changes | chriseth | 2017-07-20 | 1 | -52/+28 |
| | |||||
* | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 1 | -43/+58 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Issue error properly for oversized arrays for calldata | Alex Beregszaszi | 2017-07-14 | 1 | -1/+12 |
| | |||||
* | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 1 | -0/+6 |
| | |||||
* | Helper functions. | chriseth | 2017-07-11 | 1 | -0/+16 |
| | |||||
* | Only allow equality checks for internal function types. | chriseth | 2017-06-26 | 1 | -1/+1 |
| | |||||
* | Disallow comparisons between some types. | chriseth | 2017-06-26 | 1 | -0/+10 |
| | |||||
* | Merge interface/Exceptions and interface/Utils | Alex Beregszaszi | 2017-06-22 | 1 | -1/+0 |
| | |||||
* | Compact format for AST-Json with backwards compatibility | chriseth | 2017-05-17 | 1 | -0/+2 |
| | |||||
* | Change references to FunctionType::Location | Alex Beregszaszi | 2017-03-16 | 1 | -8/+8 |
| | |||||
* | Rename FunctionType::Location to FunctionType::Kind | Alex Beregszaszi | 2017-03-16 | 1 | -89/+89 |
| | |||||
* | Merge pull request #1698 from ethereum/exp-notation | chriseth | 2017-03-15 | 1 | -27/+88 |
|\ | | | | | Fix scientific notation in number literals | ||||
| * | Split out parseRational from isValidLiteral | Alex Beregszaszi | 2017-03-15 | 1 | -32/+55 |
| | | |||||
| * | Rename x to value | Alex Beregszaszi | 2017-03-15 | 1 | -16/+17 |
| | | |||||
| * | Disallow radix points in hex literals | Alex Beregszaszi | 2017-03-15 | 1 | -1/+6 |
| | | |||||
| * | Do not try parsing hex numbers as scientific notation | Alex Beregszaszi | 2017-03-15 | 1 | -1/+2 |
| | | |||||
| * | Support older version of boost | Alex Beregszaszi | 2017-03-15 | 1 | -1/+4 |
| | | |||||
| * | Support negative exponent | Alex Beregszaszi | 2017-03-15 | 1 | -6/+11 |
| | | |||||
| * | Fix exponentional notation in number literals | Alex Beregszaszi | 2017-03-15 | 1 | -4/+27 |
| | | |||||
* | | Type checking for pure expressions. | chriseth | 2017-03-13 | 1 | -0/+12 |
|/ | |||||
* | Fix 'ambiguous overload for operator==' Boost error. | Ryan Casey | 2017-03-10 | 1 | -5/+5 |
| | |||||
* | Convert reference types to pointers in member function conversion. | chriseth | 2017-03-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1700 from ethereum/fixNoMobile | chriseth | 2017-02-24 | 1 | -2/+5 |
|\ | | | | | Some checks for the existence of mobile type. | ||||
| * | Merge branch 'develop' into fixNoMobile | chriseth | 2017-02-24 | 1 | -0/+4 |
| |\ | |||||
| * | | Some checks for the existence of mobile type. | chriseth | 2017-02-16 | 1 | -2/+5 |
| | | | |||||
* | | | Disallow setting .gas() on .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -2/+1 |
| | | | |||||
* | | | Support gas modifier on addr.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -1/+2 |
| | | | |||||
* | | | Implement address.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -1/+3 |
| |/ |/| | |||||
* | | Fix early exist for fatal errors. | chriseth | 2017-02-16 | 1 | -0/+4 |
|/ | |||||
* | Support revert() | Alex Beregszaszi | 2017-02-11 | 1 | -0/+1 |
| | |||||
* | Support explicit conversion of external function type to address | Alex Beregszaszi | 2017-02-01 | 1 | -0/+11 |
| | |||||
* | Refactor json return type generation. | chriseth | 2017-01-27 | 1 | -18/+0 |
| | |||||
* | Warn about invalid checksums of addresses. | chriseth | 2017-01-25 | 1 | -0/+8 |
| | |||||
* | Reset AST node IDs between compilation runs. | chriseth | 2017-01-20 | 1 | -3/+4 |
| | |||||
* | Properly escape user strings and lists. | chriseth | 2017-01-19 | 1 | -36/+72 |
| | |||||
* | Type identifiers. | chriseth | 2017-01-19 | 1 | -3/+186 |
| | |||||
* | Cleaner shift handling and type conversion for binary operations. | chriseth | 2016-12-12 | 1 | -30/+20 |
| | |||||
* | Type after shift should be type of left operand. | chriseth | 2016-12-12 | 1 | -5/+42 |
| | |||||
* | Support bitshifting in variables | Alex Beregszaszi | 2016-12-12 | 1 | -0/+5 |
| | |||||
* | Rename dev::validate to dev::validateUTF8 | Alex Beregszaszi | 2016-11-29 | 1 | -2/+2 |
| | |||||
* | Make position optional in dev::validate | Alex Beregszaszi | 2016-11-29 | 1 | -2/+1 |
| | |||||
* | Indentation. | chriseth | 2016-11-25 | 1 | -1/+1 |
| | |||||
* | ast: string literals that are not valid UTF are not convertible to strings | Yoichi Hirai | 2016-11-25 | 1 | -1/+8 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 1 | -4/+4 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Some more assertions and style changes. | chriseth | 2016-11-16 | 1 | -16/+25 |
| | |||||
* | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 1 | -2/+7 |
| | |||||
* | Check that no internals are used in any external function type. | chriseth | 2016-11-16 | 1 | -0/+24 |
| | |||||
* | Disallow payable internal functions. | chriseth | 2016-11-16 | 1 | -1/+3 |
| | |||||
* | delete for function types | chriseth | 2016-11-16 | 1 | -0/+7 |
| | |||||
* | Change alignment. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Changelog entry and small fixes. | chriseth | 2016-11-16 | 1 | -5/+3 |
| | |||||
* | Fix some type checks and tests for internal / external function parameters. | chriseth | 2016-11-16 | 1 | -3/+3 |
| | |||||
* | Code generator for function types. | chriseth | 2016-11-16 | 1 | -1/+11 |
| | |||||
* | Function types. | chriseth | 2016-11-16 | 1 | -4/+61 |
| | |||||
* | Print canonical names of structs and enums in AST | Alex Sinyagin | 2016-11-14 | 1 | -2/+2 |
| | |||||
* | ast, codegen: disallow conversion between different enum types | Yoichi Hirai | 2016-11-12 | 1 | -1/+1 |
| | |||||
* | ast: add EnumType::numberOfMembers() | Yoichi Hirai | 2016-11-12 | 1 | -1/+6 |
| | |||||
* | Type checker: move the burden of computing mobile type to commonType | Yoichi Hirai | 2016-11-11 | 1 | -4/+4 |
| | | | | This solves #621 | ||||
* | ast: ban signed EXP, fixing #1246 | Yoichi Hirai | 2016-10-25 | 1 | -1/+4 |
| | |||||
* | More checks for missing mobile type. | chriseth | 2016-10-24 | 1 | -2/+14 |
| | |||||
* | Fix crash in throw. | chriseth | 2016-10-24 | 1 | -1/+1 |
| | |||||
* | ast: simplifications suggested by @chriseth | Yoichi Hirai | 2016-10-20 | 1 | -7/+4 |
| | |||||
* | When a contract type is super, its members do not contain the functions of ↵ | Yoichi Hirai | 2016-10-20 | 1 | -1/+8 |
| | | | | | | itself Fixes #1151 | ||||
* | Use >> (SAR) to denote constant shifts | Alex Beregszaszi | 2016-10-20 | 1 | -1/+3 |
| | |||||
* | Reject negative shifts within constants | Alex Beregszaszi | 2016-10-20 | 1 | -4/+8 |
| | |||||
* | Support shifting constants | RJ | 2016-10-20 | 1 | -0/+22 |
| | |||||
* | Omit non-convertible bound functions | Alex Beregszaszi | 2016-10-19 | 1 | -1/+2 |
| | |||||
* | Ensure that bound functions cannot be defined without self type | Alex Beregszaszi | 2016-10-19 | 1 | -0/+3 |
| | |||||
* | Check if a fixedBytes fits an integer type | Yoichi Hirai | 2016-10-14 | 1 | -1/+5 |
| | | | | | | before looking up the size of the integer type. Fixes #1150. | ||||
* | Rename dev::sha3 to dev::keccak256 | Alex Beregszaszi | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Include assert for selfType on bound functions to avoid crash | Alex Beregszaszi | 2016-09-07 | 1 | -1/+2 |
| | |||||
* | Change function type to include and propagate payable and constant modifier. | chriseth | 2016-09-06 | 1 | -13/+49 |
| | |||||
* | Merged in changes from chriseth/payable | Alex Beregszaszi | 2016-09-06 | 1 | -14/+17 |
| | |||||
* | Support payable keyword for functions | Alex Beregszaszi | 2016-09-06 | 1 | -0/+1 |
| | |||||
* | Remove After from Types.cpp | Denton Liu | 2016-08-11 | 1 | -3/+2 |
| | |||||
* | Remove dev::utf8 namespace | Alex Beregszaszi | 2016-08-09 | 1 | -1/+1 |
| | |||||
* | Use size_t in dev::utf8::validate() | Alex Beregszaszi | 2016-08-09 | 1 | -1/+1 |
| | |||||
* | Use utf8::validate in StringLiteral::toString | Alex Beregszaszi | 2016-08-09 | 1 | -0/+6 |
| | |||||
* | Move LiteralString::toString from the header | Alex Beregszaszi | 2016-08-09 | 1 | -0/+5 |
| | |||||
* | Inaccessible dynamic types | chriseth | 2016-06-02 | 1 | -16/+7 |
| | |||||
* | Fixes for invalid cleanups for small types. | chriseth | 2016-05-20 | 1 | -13/+0 |
| | |||||
* | updated docs | VoR0220 | 2016-05-19 | 1 | -4/+13 |
| | | | | | | types reference | ||||
* | explicit conversion and loosening of binary operations on integer and fixed ↵ | VoR0220 | 2016-05-19 | 1 | -24/+11 |
| | | | | | | point types...still other problems fixed some spaces and deleted lines from failing test | ||||
* | current debugging info | VoR0220 | 2016-05-19 | 1 | -2/+20 |
| | |||||
* | Remove unused tests and add asserts for not implemented parts in code ↵ | chriseth | 2016-05-11 | 1 | -3/+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 | -12/+12 |
| | |||||
* | Special case for moving sign bit to fractional part. | chriseth | 2016-05-11 | 1 | -5/+10 |
| | |||||
* | Cleanup. | chriseth | 2016-05-11 | 1 | -14/+19 |
| | |||||
* | Disallow explicit fixed->enum, but allow bytes->fixed. | chriseth | 2016-05-11 | 1 | -1/+1 |
| | |||||
* | Some cleanup. | chriseth | 2016-05-11 | 1 | -59/+31 |
| | |||||
* | Replace "unsigned int" by "unsigned". | chriseth | 2016-05-11 | 1 | -9/+9 |
| | |||||
* | Prefer mobileType() to check rational range. | chriseth | 2016-05-11 | 1 | -9/+4 |
| | |||||
* | reorganized tests and fixed mobile types and implicit conversions of ↵ | VoR0220 | 2016-05-10 | 1 | -80/+85 |
| | | | | | | | | rationals and fixed point types one final tweak check for null types | ||||
* | updated algorithm for bit finding...now to figure out literal value | VoR0220 | 2016-05-10 | 1 | -121/+82 |
| | | | | | | | | | | | | 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 | ||||
* | changed algorithm for finding bits | VoR0220 | 2016-05-10 | 1 | -29/+37 |
| | |||||
* | much better way of doing modulus | VoR0220 | 2016-05-10 | 1 | -8/+2 |
| | |||||
* | added bytes conversion tests, resolved that, converted to binary scaling, ↵ | VoR0220 | 2016-05-10 | 1 | -58/+66 |
| | | | | | | | | | | | | 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 | -10/+8 |
| | | | | | | minor fixes current attempts at binary fixup | ||||
* | changed names for Rational Constants and categories | VoR0220 | 2016-05-10 | 1 | -23/+27 |
| | |||||
* | currently what we have | VoR0220 | 2016-05-10 | 1 | -4/+8 |
| | |||||
* | got exponents up and working with their inverse, changed a few of the ↵ | RJ Catalano | 2016-05-10 | 1 | -36/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | size capabilities functioning properly for fixed types | RJ Catalano | 2016-05-10 | 1 | -9/+4 |
| | |||||
* | fixed problem with var...probably a conversion problem for fixed in size ↵ | RJ Catalano | 2016-05-10 | 1 | -1/+1 |
| | | | | | | | | capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together | ||||
* | Rational implemented...trying to figure out exponential | RJ Catalano | 2016-05-10 | 1 | -52/+15 |
| | |||||
* | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 1 | -70/+402 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Allow calling internal functions of libraries. | chriseth | 2016-05-04 | 1 | -26/+41 |
| | | | | | | | | | | | | Internal functions of libraries can be called as if the library were a base contract of the calling contract. As the calling convention for internal functions is to not create a new call context, the code of these functions will be pulled into the context of the caller, duplicating their code. This might pull in code of further internal or even private functions. The use case for such functions is to allow libraries which can operate on memory types such that these types can also be modified in place. | ||||
* | Do not allow value for delegatecall functions. | chriseth | 2016-03-12 | 1 | -1/+1 |
| | |||||
* | BREAKING: Implement delegatecall and make default for library calls. | chriseth | 2016-03-12 | 1 | -23/+24 |
| | |||||
* | further optimization, splitting function into pieces | RJ Catalano | 2016-02-19 | 1 | -2/+2 |
| | | | | generating strings on the fly, changed name, and added two tests | ||||
* | added const correctness to extract functions in Token | RJ Catalano | 2016-02-19 | 1 | -6/+6 |
| | | | | | | | | | | optimizations added in more elegant solution created for m declaration ubuntu wants to get rid of 0 <= first statement...so I will change returnToken to token | ||||
* | added two functions in Token to handle long identifiers, redid ↵ | RJ Catalano | 2016-02-19 | 1 | -3/+4 |
| | | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser | ||||
* | tests added and changes made | RJ Catalano | 2016-02-19 | 1 | -9/+5 |
| | | | | | | fixed some silly problems in Token.cpp windows error fix | ||||
* | changes to redefine the token list, the scanner, and the parser and how they ↵ | RJ Catalano | 2016-02-19 | 1 | -31/+35 |
| | | | | | | | | 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 | ||||
* | style fixes | LianaHus | 2016-02-18 | 1 | -12/+14 |
| | |||||
* | Index access for bytesXX. | chriseth | 2016-02-10 | 1 | -0/+5 |
| | |||||
* | fixed assert on EI creation for structs containing only mapping or arrays | LianaHus | 2016-01-16 | 1 | -0/+4 |
| | |||||
* | Merge pull request #308 from chriseth/fixoverloadbug | chriseth | 2015-12-21 | 1 | -0/+2 |
|\ | | | | | Fix bug preventing overloads of different array types. | ||||
| * | Fix bug preventing overloads of different array types. | chriseth | 2015-12-18 | 1 | -0/+2 |
| | | |||||
* | | Add structs and enums to contract types. | chriseth | 2015-12-18 | 1 | -7/+20 |
|/ | |||||
* | Simple aliasing during import. | chriseth | 2015-12-18 | 1 | -2/+18 |
| | |||||
* | Code generation for calling bound methods. | chriseth | 2015-12-01 | 1 | -0/+4 |
| | |||||
* | Also check the object type for bound functions. | chriseth | 2015-11-29 | 1 | -1/+4 |
| | |||||
* | Add bound functions to types. | chriseth | 2015-11-29 | 1 | -167/+223 |
| | |||||
* | Invalidate cached members if scope changes. | chriseth | 2015-11-26 | 1 | -1/+2 |
| | |||||
* | Do not store elements of a contract by AST node type. | chriseth | 2015-11-26 | 1 | -4/+4 |
| | |||||
* | Make members context-sensitive. | chriseth | 2015-11-26 | 1 | -14/+14 |
| | |||||
* | Fixed string inside struct allocation bug. | chriseth | 2015-11-24 | 1 | -2/+2 |
| | |||||
* | File reorganisation. | chriseth | 2015-10-21 | 1 | -0/+1921 |