aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #2904 from ethereum/viewPure5Alex Beregszaszi2017-09-152-11/+24
|\
| * Enforce view with error for experimental 0.5.0.chriseth2017-09-142-11/+24
* | Warn if no visibility is specified on contract functions.Alex Beregszaszi2017-09-143-1/+15
|/
* Add experimental feature 'v0.5.0'Alex Beregszaszi2017-09-141-0/+2
* Merge pull request #2473 from ethereum/functiontype-sigAlex Beregszaszi2017-09-142-1/+13
|\
| * Rename .sig to .selector on function typesAlex Beregszaszi2017-09-132-2/+2
| * Add sig member on function typeAlex Beregszaszi2017-09-132-1/+13
* | Merge pull request #2848 from ethereum/checkViewPurechriseth2017-09-1410-4/+414
|\ \
| * | Minor changes from review.chriseth2017-09-131-9/+3
| * | Rename to invalidInPureFunctionschriseth2017-09-131-1/+1
| * | Allow constant variables in pure functions.chriseth2017-09-061-1/+1
| * | Rename and add anonymous namespace.chriseth2017-09-061-1/+4
| * | Fix testschriseth2017-09-061-5/+8
| * | Tone down error message.chriseth2017-09-061-2/+2
| * | Modifier invocation can be base constructor callchriseth2017-09-061-5/+7
| * | Analyze assembly.chriseth2017-09-062-11/+88
| * | Do not report on overriding function and only warn for view.chriseth2017-09-061-12/+19
| * | Store super function.chriseth2017-09-064-0/+8
| * | Remove previous warning about pureness not being enforced.chriseth2017-09-061-2/+0
| * | View-pure checker.chriseth2017-09-065-2/+320
* | | Limit each duplicate declaration error to 32 referencesAlex Beregszaszi2017-09-131-2/+20
| |/ |/|
* | Merge pull request #2852 from ssuman/developchriseth2017-09-121-1/+10
|\ \
| * | Display helpful warning for unused function arguments/return parametersSuman2017-09-121-1/+10
* | | Do not report overload conflicts for every line excessivelyAlex Beregszaszi2017-09-121-1/+5
|/ /
* | Merge pull request #2888 from ethereum/same-declaration-errorAlex Beregszaszi2017-09-121-10/+12
|\ \
| * | Use secondary source location as a vector in same declaration errorsAlex Beregszaszi2017-09-121-10/+12
* | | Merge pull request #2887 from ethereum/missing-functions-listchriseth2017-09-121-5/+7
|\ \ \
| * | | Show each unimplemented function in secondary source locationAlex Beregszaszi2017-09-121-5/+7
| |/ /
* | | Merge pull request #2853 from ethereum/cleanup-asm-streamchriseth2017-09-126-21/+38
|\ \ \ | |/ / |/| |
| * | Introduce assemblyStringAlex Beregszaszi2017-09-116-17/+12
| * | Do not return the stream in asssemblyStreamAlex Beregszaszi2017-09-114-8/+7
| * | Split out the JSON functionality from assembly.stream()Alex Beregszaszi2017-09-116-14/+37
| |/
* / Do not show the same error multiple times for eventsAlex Beregszaszi2017-09-121-4/+4
|/
* Change array too large error message as it is valid for non-calldata tooAlex Beregszaszi2017-09-061-1/+1
* Merge pull request #2860 from ethereum/noparamsfordefaultedAlex Beregszaszi2017-08-311-4/+4
|\
| * Remove parameter names for defaulted functions.chriseth2017-08-311-4/+4
* | Use Json::valueToQuotedString directlyAlex Beregszaszi2017-08-291-4/+2
* | Remove escape function.chriseth2017-08-291-3/+11
|/
* Merge pull request #2847 from ethereum/codegen-docsAlex Beregszaszi2017-08-293-1/+25
|\
| * Document more of the codegen featuresAlex Beregszaszi2017-08-293-1/+25
* | Merge pull request #2833 from ethereum/statemutability-builtinschriseth2017-08-295-22/+24
|\ \
| * | Swap declaration/statemutability in FunctionType constructorAlex Beregszaszi2017-08-294-11/+8
| * | Mark all built in functions with appropriate statemutabilityAlex Beregszaszi2017-08-293-12/+17
* | | Move all file specific globals to anonymous namespaceAlex Beregszaszi2017-08-292-0/+10
| |/ |/|
* | Include all overloaded events in ABIAlex Beregszaszi2017-08-291-2/+10
|/
* Mark event non-payable and not viewAlex Beregszaszi2017-08-281-2/+6
* Merge pull request #2835 from ethereum/compilerstack-docsAlex Beregszaszi2017-08-281-5/+7
|\
| * Reorder some methods in CompilerStack for readabilityAlex Beregszaszi2017-08-281-5/+7
* | Merge pull request #2834 from ethereum/fixTypeNameParsingAlex Beregszaszi2017-08-281-1/+4
|\ \ | |/ |/|
| * Crash fix, parseTypeName can return null.chriseth2017-08-281-1/+4
* | Merge pull request #2825 from ethereum/contract-unused-natspecchriseth2017-08-283-33/+0
|\ \ | |/ |/|
| * Removed unused natspec members of ContractDefinitionAlex Beregszaszi2017-08-263-33/+0
* | Merge pull request #2821 from ethereum/errorreporter-copyAlex Beregszaszi2017-08-261-0/+3
|\ \ | |/ |/|
| * Add copy constructor to ErrorReporter (since it has assignment operator)Alex Beregszaszi2017-08-251-0/+3
* | Merge pull request #2819 from ethereum/compilerstack-typecheckchriseth2017-08-261-19/+5
|\ \
| * | Do not create a new TypeChecker instance for every contractAlex Beregszaszi2017-08-251-3/+1
| * | Attach natspec before type checkingAlex Beregszaszi2017-08-251-6/+4
| * | Remove duplicate work from CompilerStack.analyze()Alex Beregszaszi2017-08-251-10/+0
* | | Merge pull request #2820 from ethereum/fallthroughchriseth2017-08-264-6/+8
|\ \ \
| * | | Move the break in switch for readabilityAlex Beregszaszi2017-08-251-3/+3
| * | | Mark to places fall-throughAlex Beregszaszi2017-08-252-0/+2
| * | | Remove fallthrough from ArrayUtilsAlex Beregszaszi2017-08-251-3/+3
| | |/ | |/|
* | | Merge pull request #2813 from ethereum/tightpack-warnAlex Beregszaszi2017-08-251-0/+22
|\ \ \ | |/ / |/| |
| * | Warn on using literals in tight packingAlex Beregszaszi2017-08-251-0/+22
* | | Merge pull request #2815 from ethereum/parser-fallthroughAlex Beregszaszi2017-08-252-9/+14
|\ \ \ | |_|/ |/| |
| * | Remove two other fall-through cases in ParserAlex Beregszaszi2017-08-252-3/+5
| * | Remove fallthrough from literal parsingAlex Beregszaszi2017-08-251-6/+9
| |/
* / Cleanup of Common.hchriseth2017-08-251-0/+1
|/
* Remove unused statements from the Natspec headersAlex Beregszaszi2017-08-252-28/+1
* Reorder ABI for readabilityAlex Beregszaszi2017-08-251-9/+10
* Rename statemutability to stateMutability in ABI/ASTAlex Beregszaszi2017-08-242-5/+5
* Consider pure as constant for the AST JSON (to aid static analyzers)Alex Beregszaszi2017-08-241-2/+2
* Introduce pure specifier on functionsAlex Beregszaszi2017-08-245-4/+10
* Merge pull request #2770 from ethereum/recursionInAsmchriseth2017-08-245-39/+44
|\
| * Reduce max recursion depth.chriseth2017-08-221-1/+1
| * Check recursion depth in assembly parser.chriseth2017-08-225-39/+44
* | Review changes.chriseth2017-08-235-24/+24
* | Use experimental feature pragma for SMT checker.chriseth2017-08-232-6/+4
* | Partial support for if statements.chriseth2017-08-234-16/+128
* | Format numbers more nicely.chriseth2017-08-231-11/+25
* | Refactor Z3 read callback.chriseth2017-08-236-133/+46
* | Rename read file callback.chriseth2017-08-238-20/+23
* | Introduce native Z3 support.chriseth2017-08-232-0/+244
* | Insert abstraction layer.chriseth2017-08-235-148/+225
* | Prepare build system for Z3.chriseth2017-08-232-1/+18
* | Cleanup.chriseth2017-08-239-716/+686
* | Use file to communicate with z3.chriseth2017-08-233-14/+274
* | Rewrite using SMTLIB2 interface.chriseth2017-08-234-63/+233
* | z3 conditionschriseth2017-08-237-1/+646
* | Merge pull request #2757 from ethereum/cmakeAlex Beregszaszi2017-08-231-21/+4
|\ \
| * | CMake: Cleanup "local" include pathPaweł Bylica2017-08-231-1/+0
| * | CMake: Remove libsolidity <- boost::regex dependencyPaweł Bylica2017-08-211-1/+1
| * | CMake: Make libs dependencies explicitPaweł Bylica2017-08-211-1/+1
| * | CMake: Simplify libsolidity configPaweł Bylica2017-08-181-19/+5
| * | CMake: Build static libs by defaultPaweł Bylica2017-08-181-2/+0
* | | Merge pull request #2656 from ethereum/performance1chriseth2017-08-232-21/+31
|\ \ \
| * | | 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
|\ \ \ \
| * | | | 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.chriseth2017-08-227-40/+2
| | |_|/ | |/| |
* | | | Merge pull request #2734 from ethereum/reject-create-interfaceAlex Beregszaszi2017-08-222-1/+10
|\ \ \ \ | |/ / / |/| | |
| * | | 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.chriseth2017-08-211-1/+1
* | | Merge pull request #2771 from ethereum/unused-includesAlex Beregszaszi2017-08-212-3/+0
|\ \ \ | |/ / |/| |
| * | Remove some unused includesAlex Beregszaszi2017-08-212-3/+0
| |/
* | Merge pull request #2748 from ethereum/natspecchriseth2017-08-213-38/+38
|\ \
| * | 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
|\
| * 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.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 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
|\
| * 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
|\
| * 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 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 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.chriseth2017-07-261-1/+3
* | Merge pull request #2652 from ethereum/fixMultiModifierchriseth2017-07-273-8/+11
|\ \
| * | 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 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 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 possibleAlex Beregszaszi2017-07-272-1/+7
| |/ /
* | | Merge pull request #2646 from ethereum/standardcompilerYoichi Hirai2017-07-271-18/+23
|\ \ \
| * | | 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
|\ \ \ | |/ / |/| |
| * | 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 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
* | 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 metadataAlex Beregszaszi2017-07-193-11/+11
* | Merge pull request #2597 from ethereum/modifier-internalYoichi Hirai2017-07-191-1/+1
|\ \
| * | 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/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
|\
| * 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.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/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.chriseth2017-07-062-5/+20
* | | Merge pull request #2527 from ethereum/onlyASTIfAnalysisSuccessfulchriseth2017-07-061-2/+2
|\ \ \
| * | | 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
|\ \
| * | 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 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