aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
Commit message (Expand)AuthorAgeFilesLines
...
* | | | Fix overload resolution when conflict is with members of address (balance, tr...Alex Beregszaszi2017-09-281-6/+28
* | | | Merge pull request #2986 from ethereum/fixsourcelocationofvariabledecsatementAlex Beregszaszi2017-09-281-0/+1
|\ \ \ \
| * | | | Fix source location of VariableDeclarationStatement.chriseth2017-09-281-0/+1
| | |_|/ | |/| |
* / | | Better readable encoder assembly.chriseth2017-09-271-6/+28
|/ / /
* | | Merge pull request #2975 from ethereum/encode-memoryAlex Beregszaszi2017-09-274-22/+45
|\ \ \
| * | | Split encodeToMemory to packedEncode and abiEncodeAlex Beregszaszi2017-09-274-18/+41
| * | | Make most of the parameters mandatory in encodeToMemoryAlex Beregszaszi2017-09-272-6/+6
* | | | Order GlobalContext entriesAlex Beregszaszi2017-09-271-13/+13
* | | | Format GlobalContext for readabilityAlex Beregszaszi2017-09-271-42/+25
|/ / /
* | | Merge pull request #2978 from ethereum/infer-locationchriseth2017-09-271-1/+1
|\ \ \
| * | | Report correct location for inferred types in packed encodingAlex Beregszaszi2017-09-271-1/+1
| | |/ | |/|
* / | Ensure that address types are always declared as 160bitAlex Beregszaszi2017-09-275-14/+14
|/ /
* | Merge pull request #2934 from ethereum/fallthroughchriseth2017-09-262-53/+56
|\ \ | |/ |/|
| * Simplify switch statements by refactoring internal break statementsAlex Beregszaszi2017-09-252-24/+24
| * Avoid switch fallthrough in ExpressionCompilerAlex Beregszaszi2017-09-251-26/+32
| * Avoid switch fallthrough in CompilerUtilsAlex Beregszaszi2017-09-251-6/+3
* | Better error message for unexpected trailing comma in parameter listswadeAlexC2017-09-251-0/+2
|/
* More verbose errors for generated assembly.chriseth2017-09-221-2/+18
* Merge pull request #2902 from ethereum/warn-obsoletechriseth2017-09-211-0/+8
|\
| * Warn about obsolete sha3/suicide callsAlex Beregszaszi2017-09-191-0/+8
* | Limit parser recursion depth further (needed by increased assembly data struc...Alex Beregszaszi2017-09-201-1/+1
* | Support multiple assignment in inline assemblyAlex Beregszaszi2017-09-204-6/+56
* | Mark functions staticAlex Beregszaszi2017-09-204-14/+14
* | Mark constructors explicitAlex Beregszaszi2017-09-201-1/+1
* | Ensure parameter names match between headers and implementationAlex Beregszaszi2017-09-205-14/+14
|/
* Allow constant byte arrays.chriseth2017-09-191-1/+1
* Merge pull request #2910 from ethereum/fallback-restrict-externalchriseth2017-09-181-0/+5
|\
| * Force fallback to be external (experimental 0.5.0 change)Alex Beregszaszi2017-09-181-0/+5
* | Check for interface types of members and cache recursion check.chriseth2017-09-162-21/+48
* | Use "tuple" for struct types in ABI JSON.chriseth2017-09-161-1/+1
* | Implement struct encoder.chriseth2017-09-165-8/+141
* | Fix tests.chriseth2017-09-162-2/+2
* | Structure type json using "components".chriseth2017-09-161-8/+8
* | Fix interface type conversion internal to structs.chriseth2017-09-162-2/+8
* | Function signatures containing structs.chriseth2017-09-163-39/+84
* | Update tests and error messages.chriseth2017-09-161-1/+1
* | Check for recursive structs.chriseth2017-09-163-4/+33
* | Allow structs as part of function interfaces.chriseth2017-09-163-10/+54
|/
* Move ABI encoder into its own function.chriseth2017-09-165-66/+82
* Named assembly labels.chriseth2017-09-165-18/+24
* 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