Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Merge pull request #2645 from ethereum/asserts | Alex Beregszaszi | 2017-07-27 | 4 | -32/+19 |
|\ | | | | | Use solAssert where possible | ||||
| * | Use solAssert instead of boost throw where possible | Alex Beregszaszi | 2017-07-27 | 4 | -32/+19 |
| | | |||||
* | | Merge pull request #2566 from ethereum/metadata-only-relevant | chriseth | 2017-07-27 | 2 | -2/+30 |
|\ \ | |/ |/| | Metadata: only include relevant files in the source list | ||||
| * | Add template for merging sets | Alex Beregszaszi | 2017-07-19 | 1 | -4/+1 |
| | | |||||
| * | Avoid cyclic imports in referencedSourceUnits | Alex Beregszaszi | 2017-07-19 | 2 | -6/+11 |
| | | |||||
| * | Add option to recurse referencedSourceUnits | Alex Beregszaszi | 2017-07-19 | 2 | -5/+10 |
| | | |||||
| * | Add referencedSourceUnits() helper | Alex Beregszaszi | 2017-07-19 | 2 | -0/+13 |
| | | |||||
| * | Add sourceUnit() helper to Declaration | Alex Beregszaszi | 2017-07-19 | 2 | -2/+10 |
| | | |||||
* | | Cleanup fixed point type changes | chriseth | 2017-07-20 | 2 | -60/+36 |
| | | |||||
* | | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 2 | -51/+73 |
|/ | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Mark modifiers as internal | Alex Beregszaszi | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | Issue error properly for oversized arrays for calldata | Alex Beregszaszi | 2017-07-14 | 2 | -1/+17 |
| | |||||
* | Merge pull request #2567 from ethereum/refactorExceptions | chriseth | 2017-07-13 | 1 | -6/+11 |
|\ | | | | | Refactor exceptions and provide comment function. | ||||
| * | Refactor exceptions and provide comment function. | chriseth | 2017-07-13 | 1 | -6/+11 |
| | | |||||
* | | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 2 | -0/+10 |
|/ | |||||
* | 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 | 4 | -0/+40 |
|/ | |||||
* | Use boost::starts_with | Alex Beregszaszi | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Rename to isHexNumber() | Alex Beregszaszi | 2017-06-29 | 2 | -4/+4 |
| | |||||
* | Add hasHexPrefix() to AST::Literal | Alex Beregszaszi | 2017-06-28 | 2 | -6/+15 |
| | |||||
* | Only allow equality checks for internal function types. | chriseth | 2017-06-26 | 1 | -1/+1 |
| | |||||
* | Disallow comparisons between some types. | chriseth | 2017-06-26 | 2 | -5/+14 |
| | |||||
* | Fix strings interpreted as addresses. | chriseth | 2017-06-22 | 1 | -0/+2 |
| | |||||
* | Merge interface/Exceptions and interface/Utils | Alex Beregszaszi | 2017-06-22 | 5 | -6/+0 |
| | |||||
* | Merge pull request #2331 from ethereum/ASTDocumentationEntry | chriseth | 2017-06-14 | 1 | -0/+1 |
|\ | | | | | documentation field added to ContractDefinition-Node | ||||
| * | documentation field added to ContractDefinition-Node | djudjuu | 2017-05-31 | 1 | -0/+1 |
| | | |||||
* | | adjusted testcase and renaming | djudjuu | 2017-06-06 | 2 | -5/+3 |
| | | |||||
* | | fix Literalprint | djudjuu | 2017-05-31 | 2 | -2/+20 |
|/ | |||||
* | Merge pull request #2301 from ethereum/ASTFunctionTypeFix | chriseth | 2017-05-24 | 2 | -2/+4 |
|\ | | | | | insert ParameterList-node in FunctionType-json | ||||
| * | insert ParameterList-node in FunctionType-json | djudjuu | 2017-05-24 | 2 | -2/+4 |
| | | |||||
* | | Fix AST JSON converter type lookup | Alex Beregszaszi | 2017-05-24 | 1 | -1/+1 |
|/ | |||||
* | minor fixes and changelog update | djudjuu | 2017-05-22 | 1 | -1/+1 |
| | |||||
* | refactoring functionCallAnnotation | djudjuu | 2017-05-19 | 3 | -11/+38 |
| | |||||
* | testsuite adjustment | djudjuu | 2017-05-19 | 1 | -4/+4 |
| | |||||
* | include new InlineAssemblyInformation into JSON | djudjuu | 2017-05-17 | 2 | -2/+13 |
| | |||||
* | prefixChanges and contractKind-field | djuju | 2017-05-17 | 2 | -13/+24 |
| | |||||
* | fixed styletypos, renaming and added helperfunction | djuju | 2017-05-17 | 2 | -36/+40 |
| | |||||
* | Use different AST node names in legacy and new format | Alex Beregszaszi | 2017-05-17 | 1 | -9/+9 |
| | |||||
* | Compact format for AST-Json with backwards compatibility | chriseth | 2017-05-17 | 4 | -449/+472 |
| | |||||
* | Refactor to combined scope and stack height info. | chriseth | 2017-04-26 | 1 | -6/+6 |
| | |||||
* | Storage access from inline assembly. | chriseth | 2017-04-25 | 1 | -0/+2 |
| | |||||
* | Move analysis out of code generator. | chriseth | 2017-04-25 | 1 | -0/+4 |
| | |||||
* | Split external identifier access into resolving and code generation. | chriseth | 2017-04-25 | 1 | -2/+8 |
| | |||||
* | Add ContractKind to ContractDefinition | Alex Beregszaszi | 2017-03-18 | 1 | -4/+8 |
| | |||||
* | Merge pull request #1773 from ethereum/ASTEntry | chriseth | 2017-03-18 | 2 | -3/+50 |
|\ | | | | | Ast entry | ||||
| * | Comment. | chriseth | 2017-03-17 | 2 | -2/+2 |
| | | |||||
| * | AST entry for VariableDeclaration | djudjuu | 2017-03-16 | 2 | -3/+50 |
| | | |||||
* | | Change references to FunctionType::Location | Alex Beregszaszi | 2017-03-16 | 1 | -8/+8 |
| | | |||||
* | | Rename FunctionType::Location to FunctionType::Kind | Alex Beregszaszi | 2017-03-16 | 2 | -100/+99 |
|/ | |||||
* | Merge pull request #1698 from ethereum/exp-notation | chriseth | 2017-03-15 | 2 | -27/+91 |
|\ | | | | | Fix scientific notation in number literals | ||||
| * | Split out parseRational from isValidLiteral | Alex Beregszaszi | 2017-03-15 | 2 | -32/+58 |
| | | |||||
| * | 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 |
| | | |||||
* | | Merge pull request #1729 from ethereum/constantvariables | Yoichi Hirai | 2017-03-15 | 3 | -0/+18 |
|\ \ | | | | | | | Only allow pure expressions for constant state variables. | ||||
| * | | Type checking for pure expressions. | chriseth | 2017-03-13 | 3 | -0/+18 |
| |/ | |||||
* / | Require and Assert. | chriseth | 2017-03-14 | 1 | -1/+2 |
|/ | |||||
* | Fix 'ambiguous overload for operator==' Boost error. | Ryan Casey | 2017-03-10 | 1 | -5/+5 |
| | |||||
* | Move public constructor property into AST itself. | chriseth | 2017-03-06 | 3 | -2/+8 |
| | |||||
* | Strict checking for AST annotation types. | chriseth | 2017-03-06 | 1 | -20/+20 |
| | |||||
* | 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 | 2 | -1/+4 |
| |/ |/| | |||||
* | | Fix early exist for fatal errors. | chriseth | 2017-02-16 | 1 | -0/+4 |
|/ | |||||
* | Support revert() | Alex Beregszaszi | 2017-02-11 | 2 | -0/+2 |
| | |||||
* | 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 | 2 | -0/+12 |
| | |||||
* | Refactor json return type generation. | chriseth | 2017-01-27 | 2 | -20/+0 |
| | |||||
* | Also check library addresses. | chriseth | 2017-01-25 | 1 | -21/+1 |
| | |||||
* | Warn about invalid checksums of addresses. | chriseth | 2017-01-25 | 4 | -2/+56 |
| | |||||
* | Check if constructor is public or not. | chriseth | 2017-01-21 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1576 from ethereum/typeIdentifiers | Yoichi Hirai | 2017-01-20 | 4 | -20/+290 |
|\ | | | | | Type identifiers. | ||||
| * | Make m_id const. | chriseth | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Reset AST node IDs between compilation runs. | chriseth | 2017-01-20 | 3 | -5/+26 |
| | | |||||
| * | Properly escape user strings and lists. | chriseth | 2017-01-19 | 2 | -44/+86 |
| | | |||||
| * | Type identifiers. | chriseth | 2017-01-19 | 2 | -3/+210 |
| | | |||||
* | | Fix default function type name visibility. | chriseth | 2017-01-19 | 1 | -1/+4 |
|/ | |||||
* | Fix typo in comment | Federico Bond | 2017-01-18 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1581 from ethereum/fixosx | chriseth | 2017-01-18 | 1 | -2/+2 |
|\ | | | | | Fix JSON output on macos. | ||||
| * | Fix JSON output on macos. | chriseth | 2017-01-18 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #1397 from roadriverrail/contract_collision | chriseth | 2017-01-18 | 2 | -1/+1 |
|\ \ | |/ |/| | Error out when contracts collide on name | ||||
| * | Move fullyQualified() name to Declaration | Rhett Aultman | 2017-01-17 | 2 | -10/+1 |
| | | |||||
| * | Stylistic corrections | Rhett Aultman | 2017-01-17 | 1 | -1/+1 |
| | | |||||
| * | Drop ':' if the source file name is empty | Rhett Aultman | 2017-01-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | A large number of tests compile contracts while passing in an empty string for the source name. This leads to it being keyed by the name ":<contract>", while the tests try to look it up under the name "<contract>". This change resolves that issue by dropping the ':' in cases where there is, effectively, no source file to prepend anyway. | ||||
| * | Only avoid collision if it's the same file | Rhett Aultman | 2017-01-17 | 2 | -0/+8 |
| | | | | | | | | | | | | | | | | | | @chriseth had suggested that it would be better if contracts were referenced in a file:contract notation, and that we output .bin files that prepend original path names if necessary to avoid a collision. This commit is mostly a draft; it still needs to be run through the test suite. | ||||
* | | Deterministic AST node identifiers. | chriseth | 2017-01-17 | 3 | -2/+8 |
|/ | |||||
* | ast: events have FunctionType too | Yoichi Hirai | 2017-01-12 | 2 | -8/+17 |
| | |||||
* | ast: add Declaration::functionType() | Yoichi Hirai | 2017-01-12 | 2 | -0/+73 |
| | |||||
* | ast, codegen: enable accessing events through contract names. | Yoichi Hirai | 2017-01-03 | 1 | -0/+3 |
| | | | | Fixes #1286 | ||||
* | Merge pull request #1503 from federicobond/json-visibility | Yoichi Hirai | 2016-12-15 | 2 | -7/+22 |
|\ | | | | | Include visibility level for functions in AST | ||||
| * | Include visibility level for functions in AST | Federico Bond | 2016-12-13 | 2 | -7/+22 |
| | | |||||
* | | Merge pull request #1487 from ethereum/shift-ops | Yoichi Hirai | 2016-12-14 | 1 | -0/+32 |
|\ \ | | | | | | | Shift operators | ||||
| * | | 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 |
| |/ | |||||
* / | Improve error message when trying to modify constant variables | Federico Bond | 2016-12-13 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #1464 from federicobond/warn-msgvalue | chriseth | 2016-12-11 | 1 | -0/+2 |
|\ | | | | | Warn about using msg.value in non-payable function | ||||
| * | Warn about using msg.value in non-payable function | Federico Bond | 2016-12-09 | 1 | -0/+2 |
| | | |||||
* | | Fix names of JSON AST nodes | Federico Bond | 2016-12-11 | 1 | -2/+2 |
|/ | |||||
* | Add swarm hash to the end of the bytecode. | chriseth | 2016-12-01 | 1 | -0/+1 |
| | |||||
* | Metadata stamp. | chriseth | 2016-12-01 | 2 | -0/+12 |
| | |||||
* | Rename dev::validate to dev::validateUTF8 | Alex Beregszaszi | 2016-11-29 | 2 | -3/+3 |
| | |||||
* | Make position optional in dev::validate | Alex Beregszaszi | 2016-11-29 | 2 | -4/+2 |
| | |||||
* | 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 | 2 | -1/+10 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 15 | -60/+60 |
| | | | | 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 | 3 | -3/+9 |
| | |||||
* | Check that no internals are used in any external function type. | chriseth | 2016-11-16 | 2 | -0/+28 |
| | |||||
* | Disallow payable internal functions. | chriseth | 2016-11-16 | 1 | -1/+3 |
| | |||||
* | delete for function types | chriseth | 2016-11-16 | 2 | -0/+8 |
| | |||||
* | Change alignment. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Changelog entry and small fixes. | chriseth | 2016-11-16 | 2 | -5/+8 |
| | |||||
* | 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 | 2 | -1/+12 |
| | |||||
* | Function types. | chriseth | 2016-11-16 | 10 | -6/+159 |
| | |||||
* | Move InterfaceHandler from string to JSON | Alex Beregszaszi | 2016-11-15 | 2 | -10/+11 |
| | |||||
* | 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 | 2 | -1/+7 |
| | |||||
* | Type checker: move the burden of computing mobile type to commonType | Yoichi Hirai | 2016-11-11 | 1 | -4/+4 |
| | | | | This solves #621 | ||||
* | Add support for do/while loops | Rhett Aultman | 2016-11-10 | 3 | -4/+12 |
| | | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last. | ||||
* | add payable to AST | yann300 | 2016-11-03 | 1 | -1/+2 |
| | |||||
* | 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 |
| | |||||
* | Merge pull request #1240 from ethereum/1151 | chriseth | 2016-10-24 | 1 | -1/+5 |
|\ | | | | | ast: super contract type does not contain native members | ||||
| * | 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 |