Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 5 | -5/+8 |
| | | |||||
* | | 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 | 2 | -1/+10 |
|\ \ \ | |/ / |/| | | Reject the creation of interface with the new statement | ||||
| * | | Check inheritance specifier arguments for interfaces. | chriseth | 2017-08-22 | 1 | -5/+5 |
| | | | |||||
| * | | Reject the creation of interface with the new statement | Alex Beregszaszi | 2017-08-22 | 2 | -0/+9 |
| | | | |||||
* | | | Mark a lot of functions static (where possible) | Alex Beregszaszi | 2017-08-22 | 4 | -6/+6 |
| | | | |||||
* | | | Mark appropriate constructors explicit | Alex Beregszaszi | 2017-08-22 | 9 | -10/+10 |
| | | | |||||
* | | | Mark a lot of functions const (where possible) | Alex Beregszaszi | 2017-08-22 | 14 | -23/+23 |
| | | | |||||
* | | | Set variable to nullptr in ASTPrinter | Alex Beregszaszi | 2017-08-22 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #2773 from ethereum/usingForWithoutLibrary | Alex Beregszaszi | 2017-08-22 | 1 | -1/+1 |
|\ \ | |/ |/| | Fix crash related to ``using for`` without a library. | ||||
| * | Fix crash related to ``using for`` without a library. | chriseth | 2017-08-21 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2771 from ethereum/unused-includes | Alex Beregszaszi | 2017-08-21 | 2 | -3/+0 |
|\ \ | |/ |/| | Remove some unused includes | ||||
| * | Remove some unused includes | Alex Beregszaszi | 2017-08-21 | 2 | -3/+0 |
| | | |||||
* | | Merge pull request #2748 from ethereum/natspec | chriseth | 2017-08-21 | 3 | -38/+38 |
|\ \ | | | | | | | Remove DocumentationType from natspec | ||||
| * | | Remove DocumentationType from natspec | Alex Beregszaszi | 2017-08-16 | 3 | -38/+38 |
| | | | |||||
* | | | Merge branch 'develop' into library-constructor | chriseth | 2017-08-21 | 2 | -0/+23 |
|\ \ \ | |||||
| * | | | Be more strict about number literals in assembly. | chriseth | 2017-08-21 | 2 | -0/+23 |
| | |/ | |/| | |||||
* / | | Library cannot have constructors | Alex Beregszaszi | 2017-08-21 | 1 | -0/+3 |
|/ / | |||||
* | | 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 |
| | | |||||
* | | Use state mutability in override error messages | Alex Beregszaszi | 2017-08-17 | 1 | -11/+10 |
| | | |||||
* | | Use state mutability in fallback/constructor check | Alex Beregszaszi | 2017-08-17 | 1 | -4/+14 |
| | | |||||
* | | FunctionType comparison/identifer to support all statemutability levels | Alex Beregszaszi | 2017-08-17 | 1 | -10/+4 |
| | | |||||
* | | Warn about shift of literals. | chriseth | 2017-08-16 | 1 | -2/+3 |
|/ | |||||
* | Add statemutability field to the ABI | Alex Beregszaszi | 2017-08-15 | 1 | -0/+3 |
| | |||||
* | Prevent too deep recursion in parser. | chriseth | 2017-08-15 | 2 | -0/+82 |
| | |||||
* | Merge pull request #2704 from ethereum/newEncoder | chriseth | 2017-08-14 | 9 | -14/+1302 |
|\ | | | | | New ABI encoder | ||||
| * | Experimental feature switch for ABI encoder. | chriseth | 2017-08-14 | 4 | -4/+16 |
| | | |||||
| * | Remove unused magic global feature. | chriseth | 2017-08-14 | 2 | -10/+2 |
| | | |||||
| * | Interface for new ABI encoder. | chriseth | 2017-08-14 | 2 | -0/+40 |
| | | |||||
| * | New ABI encoder. | chriseth | 2017-08-14 | 2 | -0/+1246 |
| | | |||||
| * | 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 | 3 | -31/+16 |
| | | |||||
* | | Remove useless payable & constant typecheck | Alex Beregszaszi | 2017-08-14 | 1 | -2/+0 |
| | | |||||
* | | Replace constant/payable with StateMutability in AST | Alex Beregszaszi | 2017-08-14 | 8 | -68/+129 |
|/ | |||||
* | Merge pull request #2703 from ethereum/warnAboutLargeStorageArrays | chriseth | 2017-08-14 | 2 | -0/+45 |
|\ | | | | | Warn about large storage structures. | ||||
| * | Warn about large storage structures. | chriseth | 2017-08-12 | 2 | -0/+45 |
| | | |||||
* | | Avoid duplicate errors due to function overrides | Federico Bond | 2017-08-12 | 1 | -5/+5 |
| | | |||||
* | | Use a secondary location for function override errors | Federico Bond | 2017-08-12 | 3 | -26/+18 |
| | | |||||
* | | Refactor function override check to remove duplicate logic | Federico Bond | 2017-08-12 | 2 | -47/+50 |
| | | |||||
* | | Use fully qualified name of super in message | Federico Bond | 2017-08-12 | 3 | -4/+13 |
| | | |||||
* | | Improve override changes signature error message | Federico Bond | 2017-08-12 | 2 | -1/+34 |
|/ | |||||
* | Enforce commas in tuple syntax | Federico Bond | 2017-08-12 | 1 | -2/+3 |
| | |||||
* | Output experimental flag in metadata only for risky features | Alex Beregszaszi | 2017-08-11 | 1 | -9/+27 |
| | |||||
* | Store experimental flag in metadata CBOR | Alex Beregszaszi | 2017-08-11 | 1 | -0/+6 |
| | |||||
* | 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 | 4 | -4/+79 |
|\ | | | | | Support experimental feature pragma | ||||
| * | Introduce ExperimentalFeatures header | Alex Beregszaszi | 2017-08-10 | 3 | -8/+42 |
| | | |||||
| * | Reject wildcard and multiple experimental pragmas | Alex Beregszaszi | 2017-08-10 | 1 | -13/+16 |
| | | |||||
| * | Reject unsupported experimental feature names | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | | |||||
| * | Warn if using experimental pragma | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | | |||||
| * | Support experimental feature pragma | Alex Beregszaszi | 2017-08-10 | 3 | -4/+32 |
| | | |||||
* | | Add isDynamicallyEncoded member function to types. | chriseth | 2017-08-10 | 2 | -1/+16 |
|/ | |||||
* | Make toString(visibility) a helper | Alex Beregszaszi | 2017-08-09 | 4 | -43/+25 |
| | |||||
* | Show previous visibility specifier in parser error | Alex Beregszaszi | 2017-08-09 | 2 | -2/+29 |
| | |||||
* | Add test for multiple visibilites on functions | Alex Beregszaszi | 2017-08-09 | 1 | -1/+1 |
| | |||||
* | Rename Token::Const to Token::Constant | Alex Beregszaszi | 2017-08-09 | 2 | -3/+3 |
| | |||||
* | Disable unimplemented library functions instead | Alex Beregszaszi | 2017-08-08 | 1 | -15/+2 |
| | |||||
* | Raise error when using unimplemented internal library functions. | Alex Beregszaszi | 2017-08-08 | 1 | -0/+15 |
| | |||||
* | Constructors must be implemented if declared. | Alex Beregszaszi | 2017-08-05 | 2 | -8/+3 |
| | |||||
* | Merge pull request #2687 from ethereum/show-unimplemented-funcs | Alex Beregszaszi | 2017-08-05 | 6 | -16/+37 |
|\ | | | | | Show unimplemented function if trying to instantiate an abstract class | ||||
| * | Remove duplicated check for unimplemented functions | Alex Beregszaszi | 2017-08-04 | 1 | -2/+0 |
| | | |||||
| * | Show unimplemented function if trying to instantiate an abstract class | Alex Beregszaszi | 2017-08-04 | 3 | -1/+24 |
| | | |||||
| * | Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations | Alex Beregszaszi | 2017-08-04 | 4 | -14/+14 |
| | | |||||
* | | Search for shadowee starting from parent scope. | chriseth | 2017-08-05 | 2 | -24/+4 |
| | | |||||
* | | Do not mark overloaded functions as shadowing | Alex Beregszaszi | 2017-08-05 | 2 | -1/+20 |
|/ | |||||
* | Merge pull request #2673 from ethereum/builtin-gas | chriseth | 2017-08-04 | 1 | -3/+0 |
|\ | | | | | Disallow gas modifier on sha256/ripemd160/ecrecover | ||||
| * | Disallow gas modifier on sha255/ripemd160/ecrecover | Alex Beregszaszi | 2017-08-02 | 1 | -3/+0 |
| | | |||||
* | | Merge pull request #2679 from ethereum/delegatecall | chriseth | 2017-08-02 | 1 | -1/+1 |
|\ \ | | | | | | | .delegatecall() should always return a boolean of execution status | ||||
| * | | .delegatecall() should always return a boolean of execution status | Alex Beregszaszi | 2017-08-02 | 1 | -1/+1 |
| |/ | |||||
* | | Consistent format for secondary location in sourceformatter | Alex Beregszaszi | 2017-08-02 | 1 | -2/+1 |
| | | |||||
* | | Consistent new line in sourceformatter | Alex Beregszaszi | 2017-08-02 | 1 | -0/+2 |
|/ | |||||
* | Provide new account gas for low-level callcode/delegatecall | Alex Beregszaszi | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 4 | -12/+12 |
| | |||||
* | Fix for invalid clearing of memory in ecrecover. | chriseth | 2017-07-28 | 1 | -1/+1 |
| | |||||
* | Remove the need of jumping out of the fallback | Alex Beregszaszi | 2017-07-28 | 1 | -8/+4 |
| | |||||
* | Disallow externalSignature for fallback functions | Alex Beregszaszi | 2017-07-28 | 1 | -0/+1 |
| | |||||
* | Add isFallback() helper | Alex Beregszaszi | 2017-07-28 | 4 | -6/+9 |
| | |||||
* | Merge pull request #2635 from ethereum/fixCrashOnAssignmentToNonLValue | Alex Beregszaszi | 2017-07-27 | 1 | -1/+3 |
|\ | | | | | Fix crash on assignment to non-LValue | ||||
| * | Fix crash on assignment to non-lvalue. | chriseth | 2017-07-26 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #2652 from ethereum/fixMultiModifier | chriseth | 2017-07-27 | 3 | -8/+11 |
|\ \ | | | | | | | Re-allow multiple modifiers per function. | ||||
| * | | Re-allow multiple modifiers per function. | chriseth | 2017-07-27 | 3 | -8/+11 |
| | | | |||||
* | | | Merge pull request #2645 from ethereum/asserts | Alex Beregszaszi | 2017-07-27 | 7 | -51/+36 |
|\ \ \ | |/ / |/| | | Use solAssert where possible | ||||
| * | | Use solAssert instead of boost throw where possible | Alex Beregszaszi | 2017-07-27 | 7 | -51/+36 |
| | | | |||||
* | | | Merge pull request #2643 from ethereum/compilerstack | Yoichi Hirai | 2017-07-27 | 2 | -39/+55 |
|\ \ \ | | | | | | | | | Reorder CompilerStack to be in logical order | ||||
| * | | | Reorder CompilerStack to be in logical order | Alex Beregszaszi | 2017-07-27 | 2 | -39/+55 |
| |/ / | |||||
* | | | Merge pull request #2644 from ethereum/toodeep | Yoichi Hirai | 2017-07-27 | 2 | -1/+7 |
|\ \ \ | | | | | | | | | Report location on stack too deep if possible | ||||
| * | | | Report location on stack too deep if possible | Alex Beregszaszi | 2017-07-27 | 2 | -1/+7 |
| |/ / | |||||
* | | | Merge pull request #2646 from ethereum/standardcompiler | Yoichi Hirai | 2017-07-27 | 1 | -18/+23 |
|\ \ \ | | | | | | | | | Clean up error catching in StandardCompiler | ||||
| * | | | DocstringParsingError is not thrown anymore in StandardCompiler | Alex Beregszaszi | 2017-07-27 | 1 | -16/+8 |
| | | | | |||||
| * | | | Catch FatalError in StandardCompiler | Alex Beregszaszi | 2017-07-27 | 1 | -3/+16 |
| |/ / | |||||
* | | | Merge pull request #2566 from ethereum/metadata-only-relevant | chriseth | 2017-07-27 | 3 | -2/+39 |
|\ \ \ | |/ / |/| | | 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 |
| | | | |||||
| * | | Only include files usde in metadata | Alex Beregszaszi | 2017-07-19 | 1 | -0/+9 |
| | | | |||||
| * | | 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 |
| | | | |||||
* | | | Merge pull request #1637 from ethereum/warn-shadowing-globals | chriseth | 2017-07-26 | 4 | -52/+122 |
|\ \ \ | | | | | | | | | Warn if shadowing built-ins | ||||
| * | | | Warn about shadowing variables. | Alex Beregszaszi | 2017-07-25 | 4 | -52/+122 |
| | |/ | |/| | |||||
* | | | Add CompilerStack::setOptimiserSettings | Alex Beregszaszi | 2017-07-26 | 3 | -9/+12 |
| | | | |||||
* | | | Add CompilerStack::setLibraries | Alex Beregszaszi | 2017-07-26 | 3 | -6/+12 |
| | | | |||||
* | | | Remove unused interfaces from CompilerStack | Alex Beregszaszi | 2017-07-26 | 2 | -38/+4 |
|/ / | |||||
* | | Cleanup fixed point type changes | chriseth | 2017-07-20 | 3 | -61/+37 |
| | | |||||
* | | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 4 | -59/+77 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | Migrate over to ErrorReporter | Rhett Aultman | 2017-07-19 | 1 | -1/+1 |
| | | |||||
* | | Warn if this is used in constructor | Alex Beregszaszi | 2017-07-19 | 2 | -0/+15 |
|/ | |||||
* | Merge pull request #2589 from ethereum/rename-onchainmetadata | Yoichi Hirai | 2017-07-19 | 3 | -11/+11 |
|\ | | | | | Rename onChainMetadata to metadata | ||||
| * | Rename onChainMetadata to metadata | Alex Beregszaszi | 2017-07-19 | 3 | -11/+11 |
| | | |||||
* | | Merge pull request #2597 from ethereum/modifier-internal | Yoichi Hirai | 2017-07-19 | 1 | -1/+1 |
|\ \ | | | | | | | Mark modifiers as internal | ||||
| * | | Mark modifiers as internal | Alex Beregszaszi | 2017-07-19 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #2593 from ethereum/parser-error-text | Yoichi Hirai | 2017-07-19 | 1 | -1/+1 |
|\ \ | | | | | | | Update parser error for pragma/import/contract | ||||
| * | | Update parser error for pragma/import/contract | Alex Beregszaszi | 2017-07-19 | 1 | -1/+1 |
| |/ | |||||
* / | Remove unneccesary interface from Natspec | Alex Beregszaszi | 2017-07-19 | 3 | -31/+6 |
|/ | |||||
* | Mark const variables | Alex Beregszaszi | 2017-07-18 | 1 | -4/+4 |
| | |||||
* | Reorder code for readability | Alex Beregszaszi | 2017-07-18 | 1 | -9/+9 |
| | |||||
* | Include types in explicit conversion error message | Alex Beregszaszi | 2017-07-14 | 1 | -1/+8 |
| | |||||
* | Disable large arrays for memory location too | Alex Beregszaszi | 2017-07-14 | 1 | -1/+5 |
| | |||||
* | Issue error properly for oversized arrays for calldata | Alex Beregszaszi | 2017-07-14 | 3 | -1/+23 |
| | |||||
* | Merge pull request #2504 from ethereum/inlineasm-decl-empty | Alex Beregszaszi | 2017-07-13 | 3 | -12/+26 |
|\ | | | | | Support variable declarations without an assignment in assembly | ||||
| * | Rename expectedItems to numVariables | Alex Beregszaszi | 2017-07-13 | 1 | -3/+3 |
| | | |||||
| * | Support parsing let statements without a value | Alex Beregszaszi | 2017-07-13 | 3 | -11/+25 |
| | | |||||
* | | Merge pull request #2567 from ethereum/refactorExceptions | chriseth | 2017-07-13 | 3 | -19/+13 |
|\ \ | |/ |/| | Refactor exceptions and provide comment function. | ||||
| * | Refactor exceptions and provide comment function. | chriseth | 2017-07-13 | 3 | -19/+13 |
| | | |||||
* | | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 3 | -0/+29 |
|/ | |||||
* | Merge pull request #2501 from ethereum/undef-macros | chriseth | 2017-07-12 | 3 | -2/+47 |
|\ | | | | | Move UndefMacros from libdevcore to libsolidity/parsing | ||||
| * | Move UndefMacros from libdevcore to libsolidity/parsing | Alex Beregszaszi | 2017-07-02 | 3 | -2/+47 |
| | | |||||
* | | Issue proper warning trying to access calldata variables in inline assembly | Alex Beregszaszi | 2017-07-12 | 1 | -1/+4 |
| | | |||||
* | | Helper functions. | chriseth | 2017-07-11 | 4 | -0/+40 |
| | | |||||
* | | Fix invalid "explicit storage keyword" warning for reference members of structs. | chriseth | 2017-07-11 | 1 | -1/+1 |
| | | |||||
* | | Deprecate throw. | chriseth | 2017-07-06 | 2 | -0/+13 |
| | | |||||
* | | Merge pull request #2528 from ethereum/warnNoStorage | chriseth | 2017-07-06 | 2 | -5/+20 |
|\ \ | | | | | | | Warn if local storage reference variable does not use "storage" explicitly. | ||||
| * | | Warn if local storage reference variable does not use "storage" explicitly. | chriseth | 2017-07-06 | 2 | -5/+20 |
| | | | |||||
* | | | Merge pull request #2527 from ethereum/onlyASTIfAnalysisSuccessful | chriseth | 2017-07-06 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Only output AST if the analysis was successful. | ||||
| * | | | Only output AST if the analysis was successful. | chriseth | 2017-07-06 | 1 | -2/+2 |
| |/ / | |||||
* / / | Do not omit error type. | chriseth | 2017-07-06 | 1 | -4/+4 |
|/ / | |||||
* | | Fix internal "variable already present" error. | chriseth | 2017-07-05 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #2507 from ethereum/jsonio-safe | chriseth | 2017-07-03 | 2 | -14/+17 |
|\ \ | | | | | | | Handle parsing errors in StandardCompiler | ||||
| * | | Use more refined states in StandardCompiler | Alex Beregszaszi | 2017-07-03 | 1 | -6/+7 |
| | | | |||||
| * | | Export CompilerStack state | Alex Beregszaszi | 2017-07-03 | 1 | -8/+10 |
| |/ | |||||
* | | Merge pull request #2503 from ethereum/julia-analyzer | chriseth | 2017-07-03 | 2 | -4/+3 |
|\ \ | | | | | | | Add Julia-mode to AsmAnalyzer/CodeGen | ||||
| * | | Add Julia mode as an option to EVMCodeTransform | Alex Beregszaszi | 2017-07-03 | 2 | -3/+2 |
| | | | |||||
| * | | Run analyzer in Julia mode if requested in AssemblyStack | Alex Beregszaszi | 2017-07-02 | 1 | -1/+1 |
| |/ | |||||
* | | Add assert to shift helper | Alex Beregszaszi | 2017-07-03 | 1 | -0/+2 |
| | | |||||
* | | Use shift helper in LValue | Alex Beregszaszi | 2017-07-03 | 1 | -4/+2 |
| | | |||||
* | | More uses of shift helper | Alex Beregszaszi | 2017-07-03 | 1 | -6/+10 |
| | | |||||
* | | Change shiftNumberOnStack to bits | Alex Beregszaszi | 2017-07-03 | 3 | -13/+13 |
| | | |||||
* | | Use shift helper | Alex Beregszaszi | 2017-07-03 | 2 | -8/+8 |
| | | |||||
* | | Add shift helper to CompilerUtils | Alex Beregszaszi | 2017-07-03 | 2 | -0/+16 |
|/ | |||||
* | Remove parsing of why3 doc strings | Alex Beregszaszi | 2017-07-01 | 2 | -13/+1 |
| | |||||
* | Remove Why3 error class | Alex Beregszaszi | 2017-07-01 | 4 | -27/+0 |
| | |||||
* | Warn on JUMP/JUMPI in inline assembly | Alex Beregszaszi | 2017-07-01 | 2 | -4/+11 |
| | |||||
* | Merge pull request #2491 from ethereum/warnAboutCallcode | Alex Beregszaszi | 2017-07-01 | 1 | -0/+8 |
|\ | | | | | Warn about callcode. | ||||
| * | Warn about callcode. | chriseth | 2017-06-30 | 1 | -0/+8 |
| | | |||||
* | | Abort early if there is nothing to encode or decode. | chriseth | 2017-06-30 | 2 | -3/+9 |
|/ | |||||
* | Merge pull request #2457 from ethereum/fixNegativeStackHeight | Alex Beregszaszi | 2017-06-29 | 2 | -1/+18 |
|\ | | | | | Fix negative stack height | ||||
| * | Document appendFunctionSelector | Alex Beregszaszi | 2017-06-29 | 1 | -0/+4 |
| | | |||||
| * | Stack adjustment and code generation for fallback function. | chriseth | 2017-06-29 | 1 | -4/+6 |
| | | | | | | | | This assumes that the fallback function does not have return parameters. | ||||
| * | Fix negative stack size checks. | chriseth | 2017-06-28 | 2 | -0/+11 |
| | | |||||
* | | Use boost::starts_with | Alex Beregszaszi | 2017-06-29 | 1 | -1/+1 |
| | | |||||
* | | Rename to isHexNumber() | Alex Beregszaszi | 2017-06-29 | 3 | -5/+5 |
| | | |||||
* | | Add hasHexPrefix() to AST::Literal | Alex Beregszaszi | 2017-06-28 | 3 | -7/+16 |
|/ | |||||
* | Give min and max values in warning message. | chriseth | 2017-06-28 | 1 | -1/+9 |
| | |||||
* | Warn if using var x = 0 | chriseth | 2017-06-28 | 1 | -0/+24 |
| | |||||
* | Merge pull request #2464 from federicobond/deprecate-function-type-names | chriseth | 2017-06-27 | 2 | -0/+14 |
|\ | | | | | Warn deprecated usage of parameter names in function types | ||||
| * | Warn deprecated usage of parameter names in function types | Federico Bond | 2017-06-27 | 2 | -0/+14 |
| | | |||||
* | | Merge pull request #2437 from ethereum/warnDoubleCopyStorage | Alex Beregszaszi | 2017-06-27 | 2 | -0/+34 |
|\ \ | | | | | | | Warn about copies in storage that might overwrite unexpectedly. | ||||
| * | | Warn about copies in storage that might overwrite unexpectedly. | chriseth | 2017-06-26 | 2 | -0/+34 |
| | | | |||||
* | | | Merge pull request #2459 from ethereum/noComparisonForSomeTypes | Alex Beregszaszi | 2017-06-27 | 3 | -5/+15 |
|\ \ \ | | | | | | | | | No comparison for some types | ||||
| * | | | Only allow equality checks for internal function types. | chriseth | 2017-06-26 | 1 | -1/+1 |
| | | | | |||||
| * | | | Disallow comparisons between some types. | chriseth | 2017-06-26 | 3 | -5/+15 |
| |/ / | |||||
* | | | Merge pull request #2453 from ethereum/memcopyAsForLoop | Alex Beregszaszi | 2017-06-27 | 2 | -23/+20 |
|\ \ \ | |/ / |/| | | Use for loop for assembly memcopy. | ||||
| * | | Comment about zero length. | chriseth | 2017-06-27 | 1 | -0/+2 |
| | | | |||||
| * | | Reformat. | chriseth | 2017-06-26 | 1 | -6/+9 |
| | | | |||||
| * | | Use for loop for assembly memcopy. | chriseth | 2017-06-26 | 1 | -23/+15 |
| | | | |||||
* | | | Merge pull request #2450 from ethereum/addressstring | Alex Beregszaszi | 2017-06-26 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | Fix for strings treated as addresses. | ||||
| * | | | Fix strings interpreted as addresses. | chriseth | 2017-06-22 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #2460 from ethereum/disallowMultiModifier | Alex Beregszaszi | 2017-06-26 | 3 | -0/+18 |
|\ \ \ \ | | | | | | | | | | | Disallow invoking the same modifier multiple times. | ||||
| * | | | | Disallow invoking the same modifier multiple times. | chriseth | 2017-06-24 | 3 | -0/+18 |
| | | | | | |||||
* | | | | | Merge pull request #2442 from ethereum/remove-why3 | chriseth | 2017-06-26 | 4 | -1067/+0 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Remove Why3 generator | ||||
| * | | | | Remove Why3 generator | Alex Beregszaszi | 2017-06-25 | 4 | -1067/+0 |
| |/ / / | |||||
* | | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimal | chriseth | 2017-06-26 | 1 | -1/+18 |
|\ \ \ \ | | | | | | | | | | | Warn if decimal literals are used in a bytesXX context | ||||
| * | | | | Warn if decimal literals are used in a bytesXX context | Federico Bond | 2017-06-24 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | | | | Fixes #2349 | ||||
* | | | | | Review suggestions. | chriseth | 2017-06-24 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Change invalid opcode to revert for input validation. | chriseth | 2017-06-24 | 6 | -20/+52 |
| |/ / / |/| | | | |||||
* | | | | Merge pull request #2448 from federicobond/constant-addresses | chriseth | 2017-06-23 | 1 | -5/+5 |
|\ \ \ \ | | | | | | | | | | | Fix address literals not being treated as compile-time constants | ||||
| * | | | | Fix address literals not being treated as compile-time constants | Federico Bond | 2017-06-23 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The early return implemented for address literals in TypeChecker was preventing the isPure annotation from getting applied. Closes #2441 | ||||
* | | | | | Merge pull request #2443 from ethereum/julia-asm-size | chriseth | 2017-06-23 | 1 | -0/+5 |
|\ \ \ \ \ | |/ / / / |/| | | | | Support appendAssemblySize() in AbstractAssembly | ||||
| * | | | | Support appendAssemblySize() in AbstractAssembly | Alex Beregszaszi | 2017-06-23 | 1 | -0/+5 |
| | | | | | |||||
* | | | | | Merge pull request #2444 from ethereum/parser-scanner | Alex Beregszaszi | 2017-06-23 | 3 | -5/+25 |
|\ \ \ \ \ | |/ / / / |/| | | | | Avoid including Scanner.h in ParserBase.h | ||||
| * | | | | Avoid including Scanner.h in ParserBase.h | Alex Beregszaszi | 2017-06-23 | 3 | -5/+25 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2452 from ethereum/fixPassingEmptyString | Alex Beregszaszi | 2017-06-23 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | Fix passing empty string | ||||
| * | | | Fix ABI encoding of empty string literal. | chriseth | 2017-06-22 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Merge pull request #2408 from federicobond/constant-parameters | chriseth | 2017-06-23 | 1 | -1/+8 |
|\ \ \ | |/ / |/| | | Fix segmentation fault with constant function parameters | ||||
| * | | Fix segmentation fault with constant function parameters | Federico Bond | 2017-06-22 | 1 | -1/+8 |
| |/ | |||||
* | | Merge pull request #2404 from ethereum/methodidentifiers | Alex Beregszaszi | 2017-06-22 | 3 | -18/+12 |
|\ \ | | | | | | | Clean up method identifiers handling in CLI/CompilerStack | ||||
| * | | Make compiler.contractDefinition private | Alex Beregszaszi | 2017-06-22 | 1 | -3/+4 |
| | | | |||||
| * | | Rework functionHashes into methodIdentifiers | Alex Beregszaszi | 2017-06-22 | 3 | -7/+8 |
| | | | |||||
| * | | Use compilerStack.functionHashes in StandardCompiler | Alex Beregszaszi | 2017-06-22 | 1 | -9/+1 |
| |/ | |||||
* / | Merge interface/Exceptions and interface/Utils | Alex Beregszaszi | 2017-06-22 | 18 | -61/+19 |
|/ | |||||
* | Merge pull request #2409 from federicobond/trailing-commas-2 | chriseth | 2017-06-19 | 1 | -3/+9 |
|\ | | | | | Improve error reporting of trailing commas | ||||
| * | Improve error reporting of trailing commas | Federico Bond | 2017-06-16 | 1 | -3/+9 |
| | | |||||
* | | Merge pull request #2416 from federicobond/multiple-specifiers | chriseth | 2017-06-19 | 1 | -0/+6 |
|\ \ | | | | | | | Display error if payable or constant is specified multiple times | ||||
| * | | Display error if payable or constant is specified multiple times | Federico Bond | 2017-06-17 | 1 | -0/+6 |
| | | | |||||
* | | | Merge pull request #2225 from ethereum/julia-for | chriseth | 2017-06-19 | 15 | -77/+159 |
|\ \ \ | |/ / |/| | | Implement for statement in assembly parser / printer / code generator | ||||
| * | | Split block code generation into main and finalize. | chriseth | 2017-06-16 | 2 | -2/+2 |
| | | | |||||
| * | | Helper to count the number of variables in a scope. | chriseth | 2017-06-16 | 3 | -3/+12 |
| | | | |||||
| * | | Add include file to forward-declare inline assembly structs. | chriseth | 2017-06-16 | 6 | -77/+64 |
| | | | |||||
| * | | For loops analysis. | chriseth | 2017-06-16 | 2 | -4/+41 |
| | | | |||||
| * | | Parse for statement in assembly parser / printer | Alex Beregszaszi | 2017-06-16 | 10 | -3/+52 |
| |/ | |||||
* / | Try to recover from parser errors where possible | Federico Bond | 2017-06-16 | 1 | -13/+22 |
|/ | |||||
* | Merge pull request #2382 from ruchevits/combined-json-hashes | chriseth | 2017-06-15 | 2 | -0/+11 |
|\ | | | | | Allow including hashes of method signatures in --combined-json output | ||||
| * | Reverted functionHashes output to use method signature as keys | Edward Ruchevits | 2017-06-14 | 1 | -1/+1 |
| | | |||||
| * | Allow including hashes of method signatures in --combined-json output | Edward Ruchevits | 2017-06-14 | 2 | -0/+11 |
| | | |||||
* | | Move subroutine helpers from CompilerContext to Assembly | Alex Beregszaszi | 2017-06-15 | 1 | -3/+3 |
| | | |||||
* | | Remove obsolete errorTag() | Alex Beregszaszi | 2017-06-15 | 1 | -2/+0 |
| | | |||||
* | | Merge pull request #2192 from winsvega/develop | Alex Beregszaszi | 2017-06-15 | 1 | -17/+11 |
|\ \ | | | | | | | add STATICCALL instruction | ||||
| * | | add new opcode instructions to the parser | Dimitry | 2017-06-15 | 1 | -17/+11 |
| | | | | | | | | | | | | STATICCALL 0xfa 6 inputs (gas address mem1 mem2 mem3 mem4) | ||||
* | | | Merge pull request #2381 from ethereum/fixcrash | chriseth | 2017-06-15 | 1 | -4/+1 |
|\ \ \ | | | | | | | | | Fix a crash about a non-callable expression. | ||||
| * | | | Silence compiler warning. | chriseth | 2017-06-14 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix a crash about a non-callable expression. | chriseth | 2017-06-14 | 1 | -4/+1 |
| | |/ | |/| | |||||
* | | | Merge pull request #2384 from ethereum/parseFunctionalInstructions | chriseth | 2017-06-15 | 1 | -0/+13 |
|\ \ \ | |_|/ |/| | | Enforce function arguments when parsing functional instructions. | ||||
| * | | Enforce function arguments when parsing functional instructions. | chriseth | 2017-06-14 | 1 | -0/+13 |
| | | | |||||
* | | | Display user friendly instruction name | Alex Beregszaszi | 2017-06-14 | 1 | -5/+12 |
| | | | |||||
* | | | Issue warning for using CREATE2 in inline assembly | Alex Beregszaszi | 2017-06-14 | 1 | -2/+3 |
| | | | |||||
* | | | Merge pull request #2392 from federicobond/disallow-trailing-commas | chriseth | 2017-06-14 | 1 | -4/+9 |
|\ \ \ | |/ / |/| | | Forbid trailing commas in named arguments | ||||
| * | | Forbid trailing commas in named arguments | Federico Bond | 2017-06-14 | 1 | -4/+9 |
| |/ | |||||
* | | 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 |
| | | | |||||
* | | | Merge pull request #2327 from ethereum/assembler-object | chriseth | 2017-06-14 | 2 | -5/+19 |
|\ \ \ | | | | | | | | | Return assembler object in AssemblyStack | ||||
| * | | | Supply text representation of assembly | Alex Beregszaszi | 2017-06-09 | 1 | -1/+3 |
| | | | | |||||
| * | | | Introduce MachineAssemblyObject | Alex Beregszaszi | 2017-06-09 | 2 | -5/+17 |
| | | | | |||||
* | | | | Merge pull request #2389 from ethereum/moveLabelIDs | chriseth | 2017-06-14 | 4 | -25/+12 |
|\ \ \ \ | |_|_|/ |/| | | | Move LabelIDs to generation phase. | ||||
| * | | | Move "active variable" to analysis phase. | chriseth | 2017-06-14 | 3 | -16/+10 |
| | | | | |||||
| * | | | Remove struct constructor. | chriseth | 2017-06-14 | 2 | -2/+1 |
| | | | | |||||
| * | | | Move stack height to generation phase. | chriseth | 2017-06-14 | 1 | -2/+0 |
| | | | | |||||
| * | | | Move LabelIDs to generation phase. | chriseth | 2017-06-14 | 1 | -5/+1 |
| |/ / | |||||
* | | | Add a warning about a varialbe of the name of an instruction | Yoichi Hirai | 2017-06-13 | 3 | -0/+27 |
| | | | |||||
* | | | Warn if returndatasize/returndatacopy is used | Alex Beregszaszi | 2017-06-13 | 2 | -1/+20 |
|/ / |