aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface
Commit message (Collapse)AuthorAgeFilesLines
...
* Fail if no sources are givenAlex Beregszaszi2017-04-211-4/+1
|
* Support the AST outputAlex Beregszaszi2017-04-211-1/+2
|
* Include source mapping identifierAlex Beregszaszi2017-04-211-0/+10
|
* Output legacyAssembly in StandardCompilerAlex Beregszaszi2017-04-211-1/+12
|
* Capture error messages from the JSON parserAlex Beregszaszi2017-04-211-2/+8
|
* Add formatFatalError() to StandardCompilerAlex Beregszaszi2017-04-211-0/+15
|
* Parse remappings in StandardCompilerAlex Beregszaszi2017-04-211-0/+5
|
* Parse libraries in StandardCompilerAlex Beregszaszi2017-04-211-0/+8
|
* Parse optimizer settings in StandardCompilerAlex Beregszaszi2017-04-211-3/+6
|
* Catch exceptions of StandardCompilerAlex Beregszaszi2017-04-212-1/+15
|
* Initial implementation of StandardCompilerAlex Beregszaszi2017-04-211-0/+132
|
* Add StandardCompiler skeletonAlex Beregszaszi2017-04-212-0/+90
|
* Fix source index allocation in CompilerStack. Depending on ↵Alex Beregszaszi2017-04-211-1/+2
| | | | compiler(optimisations) this could be off-by-one.
* Keep gas values as a string in CompilerStack::gasEstimateAlex Beregszaszi2017-04-131-3/+3
|
* Exclude fallback function from the internal functions in estimateGasAlex Beregszaszi2017-04-131-1/+2
|
* Move gasEstimate into CompilerStackAlex Beregszaszi2017-04-132-0/+88
|
* Merge pull request #2098 from ethereum/sourceformatterAlex Beregszaszi2017-04-101-0/+11
|\ | | | | Introduce formatExceptionInformation
| * Introduce formatExceptionInformationAlex Beregszaszi2017-04-101-0/+11
| |
* | Pull out ReadFile from CompilerStackAlex Beregszaszi2017-04-103-13/+50
|/
* Rename ErrorMesage to ErrorMessageAlex Beregszaszi2017-03-172-3/+3
|
* Merge pull request #1747 from ethereum/fixICEInternalConstructorYoichi Hirai2017-03-091-1/+1
|\ | | | | Move privateness of constructor into AST itself.
| * Move public constructor property into AST itself.chriseth2017-03-061-1/+1
| |
* | Merge pull request #1699 from ethereum/asmlabelsYoichi Hirai2017-03-082-0/+10
|\ \ | | | | | | Assembly labels with stack information
| * | Analysis refactoring.chriseth2017-03-032-0/+10
| |/
* | Merge pull request #1733 from ethereum/selfReferentialConstantchriseth2017-03-071-0/+9
|\ \ | | | | | | Detect cyclic dependencies between constants.
| * | Check for circular references in constant variables.chriseth2017-03-061-0/+9
| |/
* / Error constructor.chriseth2017-03-062-2/+12
|/
* Add line info to serious exceptions.chriseth2017-02-251-0/+14
|
* Extract scopes into compiler stack.chriseth2017-02-142-1/+5
|
* Refactor json return type generation.chriseth2017-01-272-20/+38
|
* Add option to store literal sources in metadataAlex Beregszaszi2017-01-262-4/+11
|
* Check if constructor is public or not.chriseth2017-01-211-1/+5
|
* Reset AST node IDs between compilation runs.chriseth2017-01-201-0/+1
|
* Merge pull request #1397 from roadriverrail/contract_collisionchriseth2017-01-182-42/+61
|\ | | | | Error out when contracts collide on name
| * Provide fall-back method for contract lookupRhett Aultman2017-01-171-1/+18
| | | | | | | | | | | | | | | | Properly, contracts are now looked up via <source>:<contract> identifiers called "fully qualified names." As a modicum of backward-compatibility, failure on a lookup is now backed up by seeing if the ":" exists at all, and if it doesn't, then the known contracts are scanned for any matching contract name.
| * Remove checkLibraryNameClashes()Rhett Aultman2017-01-172-37/+0
| | | | | | | | | | | | | | | | The library name clash checker throws errors when two libraries of the same name are spotted. In a previous commit, this function was rewritten to use fully-qualified names instead, which makes it redundant to the checker for multiply-declared identifiers. Since it no longer serves a clear purpose, the function is being dropped.
| * Remove unique error for contract collisionRhett Aultman2017-01-171-39/+10
| | | | | | | | | | | | Because contracts are uniquely identified by their source unit, there is no need for a unique error for this; it's actually covered by the checker for double-declaration of identifiers.
| * Stylistic correctionsRhett Aultman2017-01-171-8/+4
| |
| * Push the error instead of throwing itRhett Aultman2017-01-171-10/+34
| | | | | | | | | | | | | | Throwing a CompilerError on multiple contract definition violates the expectations of the test suite, which thinks that compile() will return false if the code can't compile. This brings contract collision reporting in line with most of the other errors.
| * Only avoid collision if it's the same fileRhett Aultman2017-01-172-12/+40
| | | | | | | | | | | | | | | | | | @chriseth had suggested that it would be better if contracts were referenced in a file:contract notation, and that we output .bin files that prepend original path names if necessary to avoid a collision. This commit is mostly a draft; it still needs to be run through the test suite.
| * Tab whitespace cleanup (again)Rhett Aultman2017-01-171-1/+2
| |
| * Tidy up the error messageRhett Aultman2017-01-171-3/+3
| |
| * Fix tab, drop stupid '!!!', change error message.Rhett Aultman2017-01-171-3/+3
| |
| * Error out when contracts collide on nameRhett Aultman2017-01-171-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous behaviour, courtesy of the [] operator in std::map, would uncritically store a new ContractDefinition in m_contracts even when a ContractDefinition already existed. This "resolved" collissions on contract names by clobbering the original one with the new one, and could lead to scenarios where the clobber would only be discovered when the original ContractDefinition could not be found or referred to, which was an unhelpful InternalCompilerError. This change checks the m_contracts map for a collision first and will not let the ContractDefinition be changed to a new one once it's set, throwing a CompilerError with information about the conflict.
* | Include SOL_VERSION_COMMIT/SOL_VERSION_PLATFORM in buildinfo.hAlex Beregszaszi2017-01-171-1/+2
| |
* | Store strict version number in metadata (exclude the platform)Alex Beregszaszi2017-01-173-1/+5
|/
* fixedVoR02202017-01-121-2/+2
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* added fix and a test for order independence of nested prefixingVoR02202017-01-121-2/+2
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* cleanupVoR02202017-01-122-14/+15
| | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> fixup Signed-off-by: VoR0220 <rj@erisindustries.com>
* fixed unused filepath bugVoR02202017-01-111-2/+1
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* much smaller helper functionVoR02202017-01-102-5/+5
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* can do this purely on length. Also made prefix filesystem string for more ↵VoR02202017-01-091-27/+16
| | | | | | accurate readings. Signed-off-by: VoR0220 <rj@erisindustries.com>
* fixed test and added solutionVoR02202017-01-091-3/+26
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* interface: change absolutePath() so that ".dir" is considered as an absolute ↵Yoichi Hirai2017-01-041-3/+3
| | | | | | path fixes #1534
* Use multiple URLs for metadata.chriseth2016-12-131-2/+4
|
* Merge pull request #1491 from ameten/refactoringchriseth2016-12-131-1/+1
|\ | | | | Just refactored some code
| * - fixed a misprint.Danil Nemirovsky2016-12-091-1/+1
| |
* | Warn about using msg.value in non-payable functionFederico Bond2016-12-091-0/+10
|/
* Add the `_runs` parameter.chriseth2016-12-012-3/+3
|
* Fix type of optimizeRunsAlex Beregszaszi2016-12-011-1/+1
|
* Use CBOR encoding.chriseth2016-12-011-1/+8
|
* Add swarm hash to the end of the bytecode.chriseth2016-12-011-0/+1
|
* Make sure some keys are present.chriseth2016-12-011-0/+3
|
* Incorporate comments.chriseth2016-12-011-10/+10
|
* Metadata stamp.chriseth2016-12-012-24/+94
|
* Fix licensing headersVoR02202016-11-2312-48/+48
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Include payable for the constructor in the ABIAlex Beregszaszi2016-11-181-0/+1
|
* Change encoding to address-funid and add "function" as ABI type.chriseth2016-11-161-1/+1
|
* Stored combined creation and runtime tags.chriseth2016-11-161-3/+14
| | | | | | | Includes a change to Assembly to allow tags from sub-assemblies to be used. Sorry, this get a bit bigger than I thought.
* ABI: Use external function.chriseth2016-11-161-2/+2
|
* Move InterfaceHandler from string to JSONAlex Beregszaszi2016-11-154-29/+26
|
* Do not include a trailing new line in the ABI JSON outputAlex Beregszaszi2016-11-151-1/+4
|
* Unimplemented features moved to their own exception (#1361)Rhett Aultman2016-11-152-0/+7
| | | | | | | | | | | | | | | | | | Unimplemented features moved to their own exception InternalCompilerError is an exception that really should be reserved for actual internal errors of the compiler. Unimplemented features can now use either solUnimplemented( ) or, if it should be conditional, then solUnimplementedAssert( ). * Revert some unimplemented exceptions, add handlers The jsonCompiler and CommandLineInterface needed handlers for the new UnimplementedFeatureException, and some cases I had moved on to the new exception were better treated as real internal compiler errors. * Standardize on "Unimplemented feature" message
* Suggest correct version for pragma and complain about pre-release version.chriseth2016-10-251-3/+15
|
* Rename dev::sha3 to dev::keccak256Alex Beregszaszi2016-10-062-2/+2
|
* Fix problem with release version string.chriseth2016-09-081-3/+5
|
* Reject constant modifier on the fallback functionAlex Beregszaszi2016-09-061-1/+0
|
* Test and fixes for payable fallback in ABI.chriseth2016-09-061-0/+1
|
* Do not include the payable keyword for constructorsAlex Beregszaszi2016-09-061-1/+0
|
* Support payable keyword for functionsAlex Beregszaszi2016-09-061-0/+2
|
* Do not use internal types for event parameters.chriseth2016-09-021-1/+2
|
* fix CompilerStack::absolutePathDimitry2016-09-011-1/+1
|
* Merge pull request #664 from axic/feature/interface-fallbackchriseth2016-08-301-1/+9
|\ | | | | Introduce fallback entry in the ABI
| * Introduce fallback entry in the ABIAlex Beregszaszi2016-08-271-1/+9
| |
* | Merge pull request #941 from chriseth/versionStringBob Summerwill2016-08-271-4/+2
|\ \ | |/ |/| Version string
| * Make versioning semver compatible and force commit hash availability.chriseth2016-08-261-4/+2
| |
* | Remove standard contractsDenton Liu2016-08-192-30/+8
|/
* remove solidity --interfaceDimitry2016-08-174-85/+1
|
* Source location as part of AST.chriseth2016-07-212-2/+127
|
* Provide formal version in json output.chriseth2016-07-192-3/+6
|
* Allow remappings to change depending on the context.chriseth2016-06-092-16/+88
|
* Make solidity independent from ethcore.chriseth2016-04-071-3/+1
|
* reduce unnecessary solidity:: namespaceDimitry2016-04-041-3/+3
|
* rename namespace for instruction.h/cpp in libevmasmDimitry2016-04-021-3/+3
|
* Remove code duplication in source references formatter.chriseth2016-04-012-32/+34
|
* Do not use source reference if it is empty.chriseth2016-03-311-3/+8
|
* Parsing for inline assembly.chriseth2016-03-302-6/+6
|
* - inline and assembly keywords addedLianaHus2016-03-122-5/+5
| | | | - some style fixes
* BREAKING: Implement delegatecall and make default for library calls.chriseth2016-03-121-1/+1
|
* Merge pull request #356 from guanqun/break-not-in-loopchriseth2016-01-213-0/+10
|\ | | | | check whether break/continue is in the loop
| * code changes according to Chris's commentsLu Guanqun2016-01-191-1/+1
| |
| * check whether break/continue is in the loopLu Guanqun2016-01-153-0/+10
| |
* | Merge pull request #351 from chriseth/autoloadchriseth2016-01-192-31/+76
|\ \ | | | | | | Automatically load imported files in solc.
| * | Build fix for MacOS.chriseth2016-01-141-1/+1
| | |
| * | Autoload files in solc.chriseth2016-01-122-31/+76
| |/
* | Set error flag to true.chriseth2016-01-141-0/+1
| |
* | Detect library name clashes.chriseth2016-01-142-0/+36
|/
* Simple aliasing during import.chriseth2015-12-181-0/+3
|
* Parse complex import directives.chriseth2015-12-181-1/+1
|
* Relative paths in import directives.chriseth2015-12-102-5/+26
|
* Source units are independent scopes.chriseth2015-12-101-0/+6
|
* Make members context-sensitive.chriseth2015-11-261-1/+1
|
* Fix: Cope with non-existing commit hash.chriseth2015-11-031-1/+4
|
* Rename error type.chriseth2015-10-282-3/+3
|
* Preliminary why3 code output.chriseth2015-10-274-19/+41
|
* Store docstrings in AST annotations.chriseth2015-10-264-334/+64
|
* File reorganisation.chriseth2015-10-2113-0/+2029