aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2656 from ethereum/performance1chriseth2017-08-232-21/+31
|\ | | | | Avoid some Json copy operations.
| * Create children node in ASTJsonConverter when neccesaryAlex Beregszaszi2017-08-211-0/+8
| |
| * Avoid some Json copy operations.chriseth2017-08-212-21/+23
| |
* | Introduce view (and keep constant as an alias)Alex Beregszaszi2017-08-235-5/+8
| |
* | Merge pull request #2775 from ethereum/coveritychriseth2017-08-222-5/+4
|\ \ | | | | | | Fix some issues found by Coverity
| * | Some smaller issues found by Covertiy ScanAlex Beregszaszi2017-08-222-5/+4
| | |
* | | Merge pull request #2776 from ethereum/removeVisitsToAbstractASTNodeAlex Beregszaszi2017-08-227-40/+2
|\ \ \ | |/ / |/| | Remove visits to abstract AST class TypeName.
| * | Remove visits to abstract AST class TypeName.chriseth2017-08-227-40/+2
| | |
* | | Merge pull request #2734 from ethereum/reject-create-interfaceAlex Beregszaszi2017-08-222-1/+10
|\ \ \ | |/ / |/| | Reject the creation of interface with the new statement
| * | Check inheritance specifier arguments for interfaces.chriseth2017-08-221-5/+5
| | |
| * | Reject the creation of interface with the new statementAlex Beregszaszi2017-08-222-0/+9
| | |
* | | Mark a lot of functions static (where possible)Alex Beregszaszi2017-08-224-6/+6
| | |
* | | Mark appropriate constructors explicitAlex Beregszaszi2017-08-229-10/+10
| | |
* | | Mark a lot of functions const (where possible)Alex Beregszaszi2017-08-2214-23/+23
| | |
* | | Set variable to nullptr in ASTPrinterAlex Beregszaszi2017-08-221-1/+1
|/ /
* | Merge pull request #2773 from ethereum/usingForWithoutLibraryAlex Beregszaszi2017-08-221-1/+1
|\ \ | |/ |/| Fix crash related to ``using for`` without a library.
| * Fix crash related to ``using for`` without a library.chriseth2017-08-211-1/+1
| |
* | Merge pull request #2771 from ethereum/unused-includesAlex Beregszaszi2017-08-212-3/+0
|\ \ | |/ |/| Remove some unused includes
| * Remove some unused includesAlex Beregszaszi2017-08-212-3/+0
| |
* | Merge pull request #2748 from ethereum/natspecchriseth2017-08-213-38/+38
|\ \ | | | | | | Remove DocumentationType from natspec
| * | Remove DocumentationType from natspecAlex Beregszaszi2017-08-163-38/+38
| | |
* | | Merge branch 'develop' into library-constructorchriseth2017-08-212-0/+23
|\ \ \
| * | | Be more strict about number literals in assembly.chriseth2017-08-212-0/+23
| | |/ | |/|
* / | Library cannot have constructorsAlex Beregszaszi2017-08-211-0/+3
|/ /
* | Remove isDeclaredConst() from functionsAlex Beregszaszi2017-08-173-5/+3
| |
* | Add statemutability to AST JSONAlex Beregszaszi2017-08-171-0/+2
| |
* | Use state mutability in override error messagesAlex Beregszaszi2017-08-171-11/+10
| |
* | Use state mutability in fallback/constructor checkAlex Beregszaszi2017-08-171-4/+14
| |
* | FunctionType comparison/identifer to support all statemutability levelsAlex Beregszaszi2017-08-171-10/+4
| |
* | Warn about shift of literals.chriseth2017-08-161-2/+3
|/
* Add statemutability field to the ABIAlex Beregszaszi2017-08-151-0/+3
|
* Prevent too deep recursion in parser.chriseth2017-08-152-0/+82
|
* Merge pull request #2704 from ethereum/newEncoderchriseth2017-08-149-14/+1302
|\ | | | | New ABI encoder
| * Experimental feature switch for ABI encoder.chriseth2017-08-144-4/+16
| |
| * Remove unused magic global feature.chriseth2017-08-142-10/+2
| |
| * Interface for new ABI encoder.chriseth2017-08-142-0/+40
| |
| * New ABI encoder.chriseth2017-08-142-0/+1246
| |
| * Allow multi-dimensional arrays in interfaces.chriseth2017-08-141-2/+0
| |
* | Remove constant/payable in all function typesAlex Beregszaszi2017-08-143-31/+16
| |
* | Remove useless payable & constant typecheckAlex Beregszaszi2017-08-141-2/+0
| |
* | Replace constant/payable with StateMutability in ASTAlex Beregszaszi2017-08-148-68/+129
|/
* Merge pull request #2703 from ethereum/warnAboutLargeStorageArrayschriseth2017-08-142-0/+45
|\ | | | | Warn about large storage structures.
| * Warn about large storage structures.chriseth2017-08-122-0/+45
| |
* | Avoid duplicate errors due to function overridesFederico Bond2017-08-121-5/+5
| |
* | Use a secondary location for function override errorsFederico Bond2017-08-123-26/+18
| |
* | Refactor function override check to remove duplicate logicFederico Bond2017-08-122-47/+50
| |
* | Use fully qualified name of super in messageFederico Bond2017-08-123-4/+13
| |
* | Improve override changes signature error messageFederico Bond2017-08-122-1/+34
|/
* Enforce commas in tuple syntaxFederico Bond2017-08-121-2/+3
|
* Output experimental flag in metadata only for risky featuresAlex Beregszaszi2017-08-111-9/+27
|
* Store experimental flag in metadata CBORAlex Beregszaszi2017-08-111-0/+6
|
* Add analysis-only experimental featuresAlex Beregszaszi2017-08-111-2/+9
|
* Add __test experimental mode for testingAlex Beregszaszi2017-08-111-2/+6
|
* Merge pull request #2727 from ethereum/simplify-typeschriseth2017-08-111-16/+29
|\ | | | | Simplify if/else statements in Types
| * Simplify if/else statements in TypesAlex Beregszaszi2017-08-111-16/+29
| |
* | FunctionType operator== boolean refactorgubatron2017-08-111-17/+12
| |
* | Check for payable when comparing function typesAlex Beregszaszi2017-08-111-4/+15
|/
* Merge pull request #2690 from ethereum/experimental-pragmachriseth2017-08-104-4/+79
|\ | | | | Support experimental feature pragma
| * Introduce ExperimentalFeatures headerAlex Beregszaszi2017-08-103-8/+42
| |
| * Reject wildcard and multiple experimental pragmasAlex Beregszaszi2017-08-101-13/+16
| |
| * Reject unsupported experimental feature namesAlex Beregszaszi2017-08-101-0/+5
| |
| * Warn if using experimental pragmaAlex Beregszaszi2017-08-101-0/+5
| |
| * Support experimental feature pragmaAlex Beregszaszi2017-08-103-4/+32
| |
* | Add isDynamicallyEncoded member function to types.chriseth2017-08-102-1/+16
|/
* Make toString(visibility) a helperAlex Beregszaszi2017-08-094-43/+25
|
* Show previous visibility specifier in parser errorAlex Beregszaszi2017-08-092-2/+29
|
* Add test for multiple visibilites on functionsAlex Beregszaszi2017-08-091-1/+1
|
* Rename Token::Const to Token::ConstantAlex Beregszaszi2017-08-092-3/+3
|
* Disable unimplemented library functions insteadAlex Beregszaszi2017-08-081-15/+2
|
* Raise error when using unimplemented internal library functions.Alex Beregszaszi2017-08-081-0/+15
|
* Constructors must be implemented if declared.Alex Beregszaszi2017-08-052-8/+3
|
* Merge pull request #2687 from ethereum/show-unimplemented-funcsAlex Beregszaszi2017-08-056-16/+37
|\ | | | | Show unimplemented function if trying to instantiate an abstract class
| * Remove duplicated check for unimplemented functionsAlex Beregszaszi2017-08-041-2/+0
| |
| * Show unimplemented function if trying to instantiate an abstract classAlex Beregszaszi2017-08-043-1/+24
| |
| * Replace isFullyImplemented with unimplementedFunctions in ASTAnnotationsAlex Beregszaszi2017-08-044-14/+14
| |
* | Search for shadowee starting from parent scope.chriseth2017-08-052-24/+4
| |
* | Do not mark overloaded functions as shadowingAlex Beregszaszi2017-08-052-1/+20
|/
* Merge pull request #2673 from ethereum/builtin-gaschriseth2017-08-041-3/+0
|\ | | | | Disallow gas modifier on sha256/ripemd160/ecrecover
| * Disallow gas modifier on sha255/ripemd160/ecrecoverAlex Beregszaszi2017-08-021-3/+0
| |
* | Merge pull request #2679 from ethereum/delegatecallchriseth2017-08-021-1/+1
|\ \ | | | | | | .delegatecall() should always return a boolean of execution status
| * | .delegatecall() should always return a boolean of execution statusAlex Beregszaszi2017-08-021-1/+1
| |/
* | Consistent format for secondary location in sourceformatterAlex Beregszaszi2017-08-021-2/+1
| |
* | Consistent new line in sourceformatterAlex Beregszaszi2017-08-021-0/+2
|/
* Provide new account gas for low-level callcode/delegatecallAlex Beregszaszi2017-08-011-1/+1
|
* Rename Bare to BarecallAlex Beregszaszi2017-08-014-12/+12
|
* Fix for invalid clearing of memory in ecrecover.chriseth2017-07-281-1/+1
|
* Remove the need of jumping out of the fallbackAlex Beregszaszi2017-07-281-8/+4
|
* Disallow externalSignature for fallback functionsAlex Beregszaszi2017-07-281-0/+1
|
* Add isFallback() helperAlex Beregszaszi2017-07-284-6/+9
|
* Merge pull request #2635 from ethereum/fixCrashOnAssignmentToNonLValueAlex Beregszaszi2017-07-271-1/+3
|\ | | | | Fix crash on assignment to non-LValue
| * Fix crash on assignment to non-lvalue.chriseth2017-07-261-1/+3
| |
* | Merge pull request #2652 from ethereum/fixMultiModifierchriseth2017-07-273-8/+11
|\ \ | | | | | | Re-allow multiple modifiers per function.
| * | Re-allow multiple modifiers per function.chriseth2017-07-273-8/+11
| | |
* | | Merge pull request #2645 from ethereum/assertsAlex Beregszaszi2017-07-277-51/+36
|\ \ \ | |/ / |/| | Use solAssert where possible
| * | Use solAssert instead of boost throw where possibleAlex Beregszaszi2017-07-277-51/+36
| | |
* | | Merge pull request #2643 from ethereum/compilerstackYoichi Hirai2017-07-272-39/+55
|\ \ \ | | | | | | | | Reorder CompilerStack to be in logical order
| * | | Reorder CompilerStack to be in logical orderAlex Beregszaszi2017-07-272-39/+55
| |/ /
* | | Merge pull request #2644 from ethereum/toodeepYoichi Hirai2017-07-272-1/+7
|\ \ \ | | | | | | | | Report location on stack too deep if possible
| * | | Report location on stack too deep if possibleAlex Beregszaszi2017-07-272-1/+7
| |/ /
* | | Merge pull request #2646 from ethereum/standardcompilerYoichi Hirai2017-07-271-18/+23
|\ \ \ | | | | | | | | Clean up error catching in StandardCompiler
| * | | DocstringParsingError is not thrown anymore in StandardCompilerAlex Beregszaszi2017-07-271-16/+8
| | | |
| * | | Catch FatalError in StandardCompilerAlex Beregszaszi2017-07-271-3/+16
| |/ /
* | | Merge pull request #2566 from ethereum/metadata-only-relevantchriseth2017-07-273-2/+39
|\ \ \ | |/ / |/| | Metadata: only include relevant files in the source list
| * | Add template for merging setsAlex Beregszaszi2017-07-191-4/+1
| | |
| * | Avoid cyclic imports in referencedSourceUnitsAlex Beregszaszi2017-07-192-6/+11
| | |
| * | Only include files usde in metadataAlex Beregszaszi2017-07-191-0/+9
| | |
| * | Add option to recurse referencedSourceUnitsAlex Beregszaszi2017-07-192-5/+10
| | |
| * | Add referencedSourceUnits() helperAlex Beregszaszi2017-07-192-0/+13
| | |
| * | Add sourceUnit() helper to DeclarationAlex Beregszaszi2017-07-192-2/+10
| | |
* | | Merge pull request #1637 from ethereum/warn-shadowing-globalschriseth2017-07-264-52/+122
|\ \ \ | | | | | | | | Warn if shadowing built-ins
| * | | Warn about shadowing variables.Alex Beregszaszi2017-07-254-52/+122
| | |/ | |/|
* | | Add CompilerStack::setOptimiserSettingsAlex Beregszaszi2017-07-263-9/+12
| | |
* | | Add CompilerStack::setLibrariesAlex Beregszaszi2017-07-263-6/+12
| | |
* | | Remove unused interfaces from CompilerStackAlex Beregszaszi2017-07-262-38/+4
|/ /
* | Cleanup fixed point type changeschriseth2017-07-203-61/+37
| |
* | Change fixed point types to have digit countVoR02202017-07-204-59/+77
| | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* | Migrate over to ErrorReporterRhett Aultman2017-07-191-1/+1
| |
* | Warn if this is used in constructorAlex Beregszaszi2017-07-192-0/+15
|/
* Merge pull request #2589 from ethereum/rename-onchainmetadataYoichi Hirai2017-07-193-11/+11
|\ | | | | Rename onChainMetadata to metadata
| * Rename onChainMetadata to metadataAlex Beregszaszi2017-07-193-11/+11
| |
* | Merge pull request #2597 from ethereum/modifier-internalYoichi Hirai2017-07-191-1/+1
|\ \ | | | | | | Mark modifiers as internal
| * | Mark modifiers as internalAlex Beregszaszi2017-07-191-1/+1
| |/
* | Merge pull request #2593 from ethereum/parser-error-textYoichi Hirai2017-07-191-1/+1
|\ \ | | | | | | Update parser error for pragma/import/contract
| * | Update parser error for pragma/import/contractAlex Beregszaszi2017-07-191-1/+1
| |/
* / Remove unneccesary interface from NatspecAlex Beregszaszi2017-07-193-31/+6
|/
* Mark const variablesAlex Beregszaszi2017-07-181-4/+4
|
* Reorder code for readabilityAlex Beregszaszi2017-07-181-9/+9
|
* Include types in explicit conversion error messageAlex Beregszaszi2017-07-141-1/+8
|
* Disable large arrays for memory location tooAlex Beregszaszi2017-07-141-1/+5
|
* Issue error properly for oversized arrays for calldataAlex Beregszaszi2017-07-143-1/+23
|
* Merge pull request #2504 from ethereum/inlineasm-decl-emptyAlex Beregszaszi2017-07-133-12/+26
|\ | | | | Support variable declarations without an assignment in assembly
| * Rename expectedItems to numVariablesAlex Beregszaszi2017-07-131-3/+3
| |
| * Support parsing let statements without a valueAlex Beregszaszi2017-07-133-11/+25
| |
* | Merge pull request #2567 from ethereum/refactorExceptionschriseth2017-07-133-19/+13
|\ \ | |/ |/| Refactor exceptions and provide comment function.
| * Refactor exceptions and provide comment function.chriseth2017-07-133-19/+13
| |
* | Add type error when attempting value transfer to a non-payable contractFederico Bond2017-07-133-0/+29
|/
* Merge pull request #2501 from ethereum/undef-macroschriseth2017-07-123-2/+47
|\ | | | | Move UndefMacros from libdevcore to libsolidity/parsing
| * Move UndefMacros from libdevcore to libsolidity/parsingAlex Beregszaszi2017-07-023-2/+47
| |
* | Issue proper warning trying to access calldata variables in inline assemblyAlex Beregszaszi2017-07-121-1/+4
| |
* | Helper functions.chriseth2017-07-114-0/+40
| |
* | Fix invalid "explicit storage keyword" warning for reference members of structs.chriseth2017-07-111-1/+1
| |
* | Deprecate throw.chriseth2017-07-062-0/+13
| |
* | Merge pull request #2528 from ethereum/warnNoStoragechriseth2017-07-062-5/+20
|\ \ | | | | | | Warn if local storage reference variable does not use "storage" explicitly.
| * | Warn if local storage reference variable does not use "storage" explicitly.chriseth2017-07-062-5/+20
| | |
* | | Merge pull request #2527 from ethereum/onlyASTIfAnalysisSuccessfulchriseth2017-07-061-2/+2
|\ \ \ | | | | | | | | Only output AST if the analysis was successful.
| * | | Only output AST if the analysis was successful.chriseth2017-07-061-2/+2
| |/ /
* / / Do not omit error type.chriseth2017-07-061-4/+4
|/ /
* | Fix internal "variable already present" error.chriseth2017-07-051-0/+3
| |
* | Merge pull request #2507 from ethereum/jsonio-safechriseth2017-07-032-14/+17
|\ \ | | | | | | Handle parsing errors in StandardCompiler
| * | Use more refined states in StandardCompilerAlex Beregszaszi2017-07-031-6/+7
| | |
| * | Export CompilerStack stateAlex Beregszaszi2017-07-031-8/+10
| |/
* | Merge pull request #2503 from ethereum/julia-analyzerchriseth2017-07-032-4/+3
|\ \ | | | | | | Add Julia-mode to AsmAnalyzer/CodeGen
| * | Add Julia mode as an option to EVMCodeTransformAlex Beregszaszi2017-07-032-3/+2
| | |
| * | Run analyzer in Julia mode if requested in AssemblyStackAlex Beregszaszi2017-07-021-1/+1
| |/
* | Add assert to shift helperAlex Beregszaszi2017-07-031-0/+2
| |
* | Use shift helper in LValueAlex Beregszaszi2017-07-031-4/+2
| |
* | More uses of shift helperAlex Beregszaszi2017-07-031-6/+10
| |
* | Change shiftNumberOnStack to bitsAlex Beregszaszi2017-07-033-13/+13
| |
* | Use shift helperAlex Beregszaszi2017-07-032-8/+8
| |
* | Add shift helper to CompilerUtilsAlex Beregszaszi2017-07-032-0/+16
|/
* Remove parsing of why3 doc stringsAlex Beregszaszi2017-07-012-13/+1
|
* Remove Why3 error classAlex Beregszaszi2017-07-014-27/+0
|
* Warn on JUMP/JUMPI in inline assemblyAlex Beregszaszi2017-07-012-4/+11
|
* Merge pull request #2491 from ethereum/warnAboutCallcodeAlex Beregszaszi2017-07-011-0/+8
|\ | | | | Warn about callcode.
| * Warn about callcode.chriseth2017-06-301-0/+8
| |
* | Abort early if there is nothing to encode or decode.chriseth2017-06-302-3/+9
|/
* Merge pull request #2457 from ethereum/fixNegativeStackHeightAlex Beregszaszi2017-06-292-1/+18
|\ | | | | Fix negative stack height
| * Document appendFunctionSelectorAlex Beregszaszi2017-06-291-0/+4
| |
| * Stack adjustment and code generation for fallback function.chriseth2017-06-291-4/+6
| | | | | | | | This assumes that the fallback function does not have return parameters.
| * Fix negative stack size checks.chriseth2017-06-282-0/+11
| |
* | Use boost::starts_withAlex Beregszaszi2017-06-291-1/+1
| |
* | Rename to isHexNumber()Alex Beregszaszi2017-06-293-5/+5
| |
* | Add hasHexPrefix() to AST::LiteralAlex Beregszaszi2017-06-283-7/+16
|/
* Give min and max values in warning message.chriseth2017-06-281-1/+9
|
* Warn if using var x = 0chriseth2017-06-281-0/+24
|
* Merge pull request #2464 from federicobond/deprecate-function-type-nameschriseth2017-06-272-0/+14
|\ | | | | Warn deprecated usage of parameter names in function types
| * Warn deprecated usage of parameter names in function typesFederico Bond2017-06-272-0/+14
| |
* | Merge pull request #2437 from ethereum/warnDoubleCopyStorageAlex Beregszaszi2017-06-272-0/+34
|\ \ | | | | | | Warn about copies in storage that might overwrite unexpectedly.
| * | Warn about copies in storage that might overwrite unexpectedly.chriseth2017-06-262-0/+34
| | |
* | | Merge pull request #2459 from ethereum/noComparisonForSomeTypesAlex Beregszaszi2017-06-273-5/+15
|\ \ \ | | | | | | | | No comparison for some types
| * | | Only allow equality checks for internal function types.chriseth2017-06-261-1/+1
| | | |
| * | | Disallow comparisons between some types.chriseth2017-06-263-5/+15
| |/ /
* | | Merge pull request #2453 from ethereum/memcopyAsForLoopAlex Beregszaszi2017-06-272-23/+20
|\ \ \ | |/ / |/| | Use for loop for assembly memcopy.
| * | Comment about zero length.chriseth2017-06-271-0/+2
| | |
| * | Reformat.chriseth2017-06-261-6/+9
| | |
| * | Use for loop for assembly memcopy.chriseth2017-06-261-23/+15
| | |
* | | Merge pull request #2450 from ethereum/addressstringAlex Beregszaszi2017-06-261-0/+2
|\ \ \ | | | | | | | | Fix for strings treated as addresses.
| * | | Fix strings interpreted as addresses.chriseth2017-06-221-0/+2
| | | |
* | | | Merge pull request #2460 from ethereum/disallowMultiModifierAlex Beregszaszi2017-06-263-0/+18
|\ \ \ \ | | | | | | | | | | Disallow invoking the same modifier multiple times.
| * | | | Disallow invoking the same modifier multiple times.chriseth2017-06-243-0/+18
| | | | |
* | | | | Merge pull request #2442 from ethereum/remove-why3chriseth2017-06-264-1067/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | Remove Why3 generator
| * | | | Remove Why3 generatorAlex Beregszaszi2017-06-254-1067/+0
| |/ / /
* | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimalchriseth2017-06-261-1/+18
|\ \ \ \ | | | | | | | | | | Warn if decimal literals are used in a bytesXX context
| * | | | Warn if decimal literals are used in a bytesXX contextFederico Bond2017-06-241-1/+18
| | | | | | | | | | | | | | | | | | | | Fixes #2349
* | | | | Review suggestions.chriseth2017-06-241-1/+1
| | | | |
* | | | | Change invalid opcode to revert for input validation.chriseth2017-06-246-20/+52
| |/ / / |/| | |
* | | | Merge pull request #2448 from federicobond/constant-addresseschriseth2017-06-231-5/+5
|\ \ \ \ | | | | | | | | | | Fix address literals not being treated as compile-time constants
| * | | | Fix address literals not being treated as compile-time constantsFederico Bond2017-06-231-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-sizechriseth2017-06-231-0/+5
|\ \ \ \ \ | |/ / / / |/| | | | Support appendAssemblySize() in AbstractAssembly
| * | | | Support appendAssemblySize() in AbstractAssemblyAlex Beregszaszi2017-06-231-0/+5
| | | | |
* | | | | Merge pull request #2444 from ethereum/parser-scannerAlex Beregszaszi2017-06-233-5/+25
|\ \ \ \ \ | |/ / / / |/| | | | Avoid including Scanner.h in ParserBase.h
| * | | | Avoid including Scanner.h in ParserBase.hAlex Beregszaszi2017-06-233-5/+25
| | |_|/ | |/| |
* | | | Merge pull request #2452 from ethereum/fixPassingEmptyStringAlex Beregszaszi2017-06-231-1/+1
|\ \ \ \ | |/ / / |/| | | Fix passing empty string
| * | | Fix ABI encoding of empty string literal.chriseth2017-06-221-1/+1
| | |/ | |/|
* | | Merge pull request #2408 from federicobond/constant-parameterschriseth2017-06-231-1/+8
|\ \ \ | |/ / |/| | Fix segmentation fault with constant function parameters
| * | Fix segmentation fault with constant function parametersFederico Bond2017-06-221-1/+8
| |/
* | Merge pull request #2404 from ethereum/methodidentifiersAlex Beregszaszi2017-06-223-18/+12
|\ \ | | | | | | Clean up method identifiers handling in CLI/CompilerStack
| * | Make compiler.contractDefinition privateAlex Beregszaszi2017-06-221-3/+4
| | |
| * | Rework functionHashes into methodIdentifiersAlex Beregszaszi2017-06-223-7/+8
| | |
| * | Use compilerStack.functionHashes in StandardCompilerAlex Beregszaszi2017-06-221-9/+1
| |/
* / Merge interface/Exceptions and interface/UtilsAlex Beregszaszi2017-06-2218-61/+19
|/
* Merge pull request #2409 from federicobond/trailing-commas-2chriseth2017-06-191-3/+9
|\ | | | | Improve error reporting of trailing commas
| * Improve error reporting of trailing commasFederico Bond2017-06-161-3/+9
| |
* | Merge pull request #2416 from federicobond/multiple-specifierschriseth2017-06-191-0/+6
|\ \ | | | | | | Display error if payable or constant is specified multiple times
| * | Display error if payable or constant is specified multiple timesFederico Bond2017-06-171-0/+6
| | |
* | | Merge pull request #2225 from ethereum/julia-forchriseth2017-06-1915-77/+159
|\ \ \ | |/ / |/| | Implement for statement in assembly parser / printer / code generator
| * | Split block code generation into main and finalize.chriseth2017-06-162-2/+2
| | |
| * | Helper to count the number of variables in a scope.chriseth2017-06-163-3/+12
| | |
| * | Add include file to forward-declare inline assembly structs.chriseth2017-06-166-77/+64
| | |
| * | For loops analysis.chriseth2017-06-162-4/+41
| | |
| * | Parse for statement in assembly parser / printerAlex Beregszaszi2017-06-1610-3/+52
| |/
* / Try to recover from parser errors where possibleFederico Bond2017-06-161-13/+22
|/
* Merge pull request #2382 from ruchevits/combined-json-hasheschriseth2017-06-152-0/+11
|\ | | | | Allow including hashes of method signatures in --combined-json output
| * Reverted functionHashes output to use method signature as keysEdward Ruchevits2017-06-141-1/+1
| |
| * Allow including hashes of method signatures in --combined-json outputEdward Ruchevits2017-06-142-0/+11
| |
* | Move subroutine helpers from CompilerContext to AssemblyAlex Beregszaszi2017-06-151-3/+3
| |
* | Remove obsolete errorTag()Alex Beregszaszi2017-06-151-2/+0
| |
* | Merge pull request #2192 from winsvega/developAlex Beregszaszi2017-06-151-17/+11
|\ \ | | | | | | add STATICCALL instruction
| * | add new opcode instructions to the parserDimitry2017-06-151-17/+11
| | | | | | | | | | | | STATICCALL 0xfa 6 inputs (gas address mem1 mem2 mem3 mem4)
* | | Merge pull request #2381 from ethereum/fixcrashchriseth2017-06-151-4/+1
|\ \ \ | | | | | | | | Fix a crash about a non-callable expression.
| * | | Silence compiler warning.chriseth2017-06-141-1/+1
| | | |
| * | | Fix a crash about a non-callable expression.chriseth2017-06-141-4/+1
| | |/ | |/|
* | | Merge pull request #2384 from ethereum/parseFunctionalInstructionschriseth2017-06-151-0/+13
|\ \ \ | |_|/ |/| | Enforce function arguments when parsing functional instructions.
| * | Enforce function arguments when parsing functional instructions.chriseth2017-06-141-0/+13
| | |
* | | Display user friendly instruction nameAlex Beregszaszi2017-06-141-5/+12
| | |
* | | Issue warning for using CREATE2 in inline assemblyAlex Beregszaszi2017-06-141-2/+3
| | |
* | | Merge pull request #2392 from federicobond/disallow-trailing-commaschriseth2017-06-141-4/+9
|\ \ \ | |/ / |/| | Forbid trailing commas in named arguments
| * | Forbid trailing commas in named argumentsFederico Bond2017-06-141-4/+9
| |/
* | Merge pull request #2331 from ethereum/ASTDocumentationEntrychriseth2017-06-141-0/+1
|\ \ | | | | | | documentation field added to ContractDefinition-Node
| * | documentation field added to ContractDefinition-Nodedjudjuu2017-05-311-0/+1
| | |
* | | Merge pull request #2327 from ethereum/assembler-objectchriseth2017-06-142-5/+19
|\ \ \ | | | | | | | | Return assembler object in AssemblyStack
| * | | Supply text representation of assemblyAlex Beregszaszi2017-06-091-1/+3
| | | |
| * | | Introduce MachineAssemblyObjectAlex Beregszaszi2017-06-092-5/+17
| | | |
* | | | Merge pull request #2389 from ethereum/moveLabelIDschriseth2017-06-144-25/+12
|\ \ \ \ | |_|_|/ |/| | | Move LabelIDs to generation phase.
| * | | Move "active variable" to analysis phase.chriseth2017-06-143-16/+10
| | | |
| * | | Remove struct constructor.chriseth2017-06-142-2/+1
| | | |
| * | | Move stack height to generation phase.chriseth2017-06-141-2/+0
| | | |
| * | | Move LabelIDs to generation phase.chriseth2017-06-141-5/+1
| |/ /
* | | Add a warning about a varialbe of the name of an instructionYoichi Hirai2017-06-133-0/+27
| | |
* | | Warn if returndatasize/returndatacopy is usedAlex Beregszaszi2017-06-132-1/+20
|/ /