Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename JULIA/IULIA to Yul in assembly interface | Alex Beregszaszi | 2018-06-14 | 2 | -9/+9 |
| | |||||
* | Do not catch exceptions by value in StandardCompiler | Julius Huelsmann | 2018-05-17 | 1 | -2/+2 |
| | |||||
* | Add control flow analyzer and test for uninitialized storage returns. | Daniel Kirchner | 2018-05-15 | 1 | -0/+9 |
| | |||||
* | Add control flow graph. | Daniel Kirchner | 2018-05-15 | 1 | -0/+9 |
| | |||||
* | Support shifts in gas estimator | Alex Beregszaszi | 2018-05-01 | 1 | -5/+14 |
| | |||||
* | Correctly ignore costs of fallback for other functions. | chriseth | 2018-04-12 | 1 | -1/+8 |
| | |||||
* | Do not abort excessive warnings, just ignore them. | Alex Beregszaszi | 2018-04-06 | 2 | -15/+38 |
| | |||||
* | Ignore warnings when limited errors to 256 | Alex Beregszaszi | 2018-04-06 | 1 | -3/+10 |
| | |||||
* | reindent | Alex Beregszaszi | 2018-04-06 | 1 | -70/+69 |
| | |||||
* | Catch FatalError in CompilerStack::analysis to cover all the analysis tests | Alex Beregszaszi | 2018-04-06 | 1 | -0/+10 |
| | |||||
* | Limit the number of errors output in a single run to 256 | Alex Beregszaszi | 2018-04-06 | 2 | -0/+16 |
| | |||||
* | Support constantinople in evm-version | Alex Beregszaszi | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Warn about using loose inline assembly features as experimental 0.5.0 feature. | chriseth | 2018-03-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3640 from ↵ | chriseth | 2018-03-06 | 1 | -2/+2 |
|\ | | | | | | | | | AnthonyBroadCrawford/spanning-multiline-message-fix moved spanning multi lines message to appear on some lane vs new line… | ||||
| * | Improved messaging when an error spans multiple lines and updated change log ↵ | Anthony Broad-Crawford | 2018-03-06 | 1 | -2/+2 |
| | | | | | | | | file. | ||||
* | | Use EVM version in gas meter and optimizer. | chriseth | 2018-03-05 | 3 | -18/+25 |
| | | |||||
* | | Only warn for shift instructions if not using constantinople | Alex Beregszaszi | 2018-03-02 | 1 | -0/+1 |
| | | |||||
* | | Add constantinople. | chriseth | 2018-03-02 | 1 | -3/+5 |
| | | |||||
* | | Add TangerineWhistle. | chriseth | 2018-03-02 | 1 | -15/+24 |
| | | |||||
* | | Provide EVM version to assembly analysis. | chriseth | 2018-03-02 | 2 | -3/+6 |
| | | |||||
* | | Use EVM version in type checker. | chriseth | 2018-03-02 | 1 | -1/+1 |
| | | |||||
* | | Provide target EVM version in CompilerContext. | chriseth | 2018-03-02 | 1 | -2/+2 |
| | | |||||
* | | Store EVM version in settings. | chriseth | 2018-03-02 | 1 | -0/+1 |
| | | |||||
* | | Add ability to set the target EVM version. | chriseth | 2018-03-02 | 4 | -9/+114 |
|/ | |||||
* | Ensure that library addresses supplied are of correct length and hex ↵ | Alex Beregszaszi | 2018-03-01 | 1 | -2/+18 |
| | | | | prefixed in JSONIO | ||||
* | Properly validate invalid hex characters in JSONIO libraries | Alex Beregszaszi | 2018-02-28 | 1 | -2/+14 |
| | |||||
* | Add more comprehensive tests and checks for libraries in JSONIO | Alex Beregszaszi | 2018-02-28 | 1 | -1/+5 |
| | |||||
* | Merge pull request #3554 from ethereum/reuseScannerOrNot | chriseth | 2018-02-21 | 1 | -1/+1 |
|\ | | | | | Expect end of string at end of top-level block for assembly parser. | ||||
| * | Expect end of string at end of top-level block for assembly parser. | chriseth | 2018-02-21 | 1 | -1/+1 |
| | | |||||
* | | Add new JSON API for better abstraction and for supporting strict JSON parsing | Alexander Arlt | 2018-02-21 | 1 | -4/+3 |
|/ | |||||
* | Merge pull request #3135 from federicobond/formatter-instance | chriseth | 2018-02-20 | 2 | -50/+43 |
|\ | | | | | Convert static SourceReferenceFormatter functions to member ones | ||||
| * | Fix scannerFromSourceName use-after-free. | chriseth | 2018-02-19 | 1 | -3/+3 |
| | | |||||
| * | Convert static SourceReferenceFormatter functions to member ones | Federico Bond | 2018-02-19 | 2 | -49/+42 |
| | | |||||
* | | Minor improvement: check sources | Alexander Arlt | 2018-02-17 | 1 | -1/+5 |
|/ | | | | | - returns error, if "sources" is an array, an empty object or not defined - Added new test-cases in test/libsolidity/StandardCompiler.cpp | ||||
* | Prevent libraries from being called. | chriseth | 2018-01-19 | 1 | -3/+6 |
| | |||||
* | Support strict assembly mode in AssemblyStack | Alex Beregszaszi | 2018-01-06 | 2 | -1/+3 |
| | |||||
* | Split inline assembly into loose and strict flavours. | chriseth | 2018-01-06 | 1 | -2/+19 |
| | |||||
* | Properly support library file names containing a colon (such as URLs). | Alex Beregszaszi | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Properly handle colons in file names within jsonio | Alex Beregszaszi | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | Populate the sourceLocation field properly in standard JSON on errors | Alex Beregszaszi | 2017-12-18 | 1 | -2/+2 |
| | |||||
* | Limit number of secondary source locations. | chriseth | 2017-12-12 | 1 | -0/+12 |
| | |||||
* | Simplify target selection code | Alex Beregszaszi | 2017-11-30 | 1 | -18/+9 |
| | |||||
* | Rename target selection to use the word artifact | Alex Beregszaszi | 2017-11-30 | 1 | -32/+32 |
| | |||||
* | Add workaround for bytecode/deployedBytecode selection | Alex Beregszaszi | 2017-11-30 | 1 | -2/+20 |
| | |||||
* | Limit output according to the selected targets in StandardCompiler | Alex Beregszaszi | 2017-11-30 | 1 | -20/+32 |
| | |||||
* | Add target selection helpers to StandardCompiler | Alex Beregszaszi | 2017-11-30 | 1 | -0/+56 |
| | |||||
* | Merge pull request #3092 from rivenhk/b_2885 | chriseth | 2017-10-23 | 1 | -0/+15 |
|\ | | | | | added formatting when source snippets is too long | ||||
| * | updated formatting when source snippets is too long | rivenhk | 2017-10-19 | 1 | -3/+3 |
| | | |||||
| * | updating formatting when source snippets is too long | rivenhk | 2017-10-18 | 1 | -5/+5 |
| | | |||||
| * | added formatting when source snippets is too long | rivenhk | 2017-10-18 | 1 | -0/+15 |
| | | |||||
* | | Simplify contract lookup in CompileStack | Alex Beregszaszi | 2017-10-19 | 1 | -5/+10 |
| | | |||||
* | | Implement CompilerStack.lastContractName() | Alex Beregszaszi | 2017-10-19 | 2 | -10/+19 |
| | | |||||
* | | Always require a contract/sourceName in CompilerStack | Alex Beregszaszi | 2017-10-19 | 1 | -14/+14 |
|/ | |||||
* | Restrict contracts compiled via outputSelection (but not the individual ↵ | Alex Beregszaszi | 2017-10-05 | 1 | -0/+19 |
| | | | | output details) | ||||
* | Provide optional list of contract names to CompilerStack.compile | Alex Beregszaszi | 2017-10-05 | 2 | -1/+21 |
| | |||||
* | Use solAssert and not assert | Alex Beregszaszi | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | Ensure parameter names match between headers and implementation | Alex Beregszaszi | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Use "tuple" for struct types in ABI JSON. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | | | | Only use tuple as a type in the ABI (and remove all "anonymous struct" references too) | ||||
* | Fix tests. | chriseth | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Structure type json using "components". | chriseth | 2017-09-16 | 1 | -8/+8 |
| | |||||
* | Fix interface type conversion internal to structs. | chriseth | 2017-09-16 | 1 | -1/+3 |
| | |||||
* | Function signatures containing structs. | chriseth | 2017-09-16 | 1 | -2/+3 |
| | |||||
* | Allow structs as part of function interfaces. | chriseth | 2017-09-16 | 2 | -9/+53 |
| | |||||
* | Merge pull request #2848 from ethereum/checkViewPure | chriseth | 2017-09-14 | 1 | -0/+11 |
|\ | | | | | Enforce view and pure. | ||||
| * | View-pure checker. | chriseth | 2017-09-06 | 1 | -0/+11 |
| | | |||||
* | | Introduce assemblyString | Alex Beregszaszi | 2017-09-11 | 4 | -13/+8 |
| | | |||||
* | | Do not return the stream in asssemblyStream | Alex Beregszaszi | 2017-09-11 | 2 | -4/+3 |
| | | |||||
* | | Split out the JSON functionality from assembly.stream() | Alex Beregszaszi | 2017-09-11 | 4 | -8/+22 |
|/ | |||||
* | Reorder some methods in CompilerStack for readability | Alex Beregszaszi | 2017-08-28 | 1 | -5/+7 |
| | |||||
* | Merge pull request #2825 from ethereum/contract-unused-natspec | chriseth | 2017-08-28 | 1 | -3/+0 |
|\ | | | | | Removed unused natspec members of ContractDefinition | ||||
| * | Removed unused natspec members of ContractDefinition | Alex Beregszaszi | 2017-08-26 | 1 | -3/+0 |
| | | |||||
* | | Merge pull request #2821 from ethereum/errorreporter-copy | Alex Beregszaszi | 2017-08-26 | 1 | -0/+3 |
|\ \ | |/ |/| | Add copy constructor to ErrorReporter (since it has assignment operator) | ||||
| * | Add copy constructor to ErrorReporter (since it has assignment operator) | Alex Beregszaszi | 2017-08-25 | 1 | -0/+3 |
| | | |||||
* | | Do not create a new TypeChecker instance for every contract | Alex Beregszaszi | 2017-08-25 | 1 | -3/+1 |
| | | |||||
* | | Attach natspec before type checking | Alex Beregszaszi | 2017-08-25 | 1 | -6/+4 |
| | | |||||
* | | Remove duplicate work from CompilerStack.analyze() | Alex Beregszaszi | 2017-08-25 | 1 | -10/+0 |
|/ | |||||
* | Remove unused statements from the Natspec headers | Alex Beregszaszi | 2017-08-25 | 1 | -27/+0 |
| | |||||
* | Reorder ABI for readability | Alex Beregszaszi | 2017-08-25 | 1 | -9/+10 |
| | |||||
* | Rename statemutability to stateMutability in ABI/AST | Alex Beregszaszi | 2017-08-24 | 1 | -3/+3 |
| | |||||
* | Introduce pure specifier on functions | Alex Beregszaszi | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Rename read file callback. | chriseth | 2017-08-23 | 5 | -16/+17 |
| | |||||
* | Cleanup. | chriseth | 2017-08-23 | 1 | -1/+1 |
| | |||||
* | z3 conditions | chriseth | 2017-08-23 | 1 | -0/+8 |
| | |||||
* | Introduce view (and keep constant as an alias) | Alex Beregszaszi | 2017-08-23 | 1 | -1/+2 |
| | |||||
* | Mark appropriate constructors explicit | Alex Beregszaszi | 2017-08-22 | 2 | -2/+2 |
| | |||||
* | Mark a lot of functions const (where possible) | Alex Beregszaszi | 2017-08-22 | 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 |
| | | |||||
* | | Remove DocumentationType from natspec | Alex Beregszaszi | 2017-08-16 | 3 | -38/+38 |
|/ | |||||
* | Add statemutability field to the ABI | Alex Beregszaszi | 2017-08-15 | 1 | -0/+3 |
| | |||||
* | Use a secondary location for function override errors | Federico Bond | 2017-08-12 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Show unimplemented function if trying to instantiate an abstract class | Alex Beregszaszi | 2017-08-04 | 2 | -0/+16 |
| | |||||
* | Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations | Alex Beregszaszi | 2017-08-04 | 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 |
| | |||||
* | Add isFallback() helper | Alex Beregszaszi | 2017-07-28 | 1 | -1/+3 |
| | |||||
* | Merge pull request #2645 from ethereum/asserts | Alex Beregszaszi | 2017-07-27 | 1 | -5/+5 |
|\ | | | | | Use solAssert where possible | ||||
| * | Use solAssert instead of boost throw where possible | Alex Beregszaszi | 2017-07-27 | 1 | -5/+5 |
| | | |||||
* | | 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 #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 | 1 | -0/+9 |
|\ \ | |/ |/| | Metadata: only include relevant files in the source list | ||||
| * | Only include files usde in metadata | Alex Beregszaszi | 2017-07-19 | 1 | -0/+9 |
| | | |||||
* | | Merge pull request #1637 from ethereum/warn-shadowing-globals | chriseth | 2017-07-26 | 2 | -12/+24 |
|\ \ | | | | | | | Warn if shadowing built-ins | ||||
| * | | Warn about shadowing variables. | Alex Beregszaszi | 2017-07-25 | 2 | -12/+24 |
| |/ | |||||
* | | 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 |
|/ | |||||
* | 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 |
| | | |||||
* | | 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 |
| | |||||
* | Refactor exceptions and provide comment function. | chriseth | 2017-07-13 | 1 | -13/+0 |
| | |||||
* | 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 |
|/ | |||||
* | 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 |
| | | |||||
* | | Add Julia mode as an option to EVMCodeTransform | Alex Beregszaszi | 2017-07-03 | 1 | -1/+1 |
| | | |||||
* | | Run analyzer in Julia mode if requested in AssemblyStack | Alex Beregszaszi | 2017-07-02 | 1 | -1/+1 |
|/ | |||||
* | Remove Why3 error class | Alex Beregszaszi | 2017-07-01 | 4 | -27/+0 |
| | |||||
* | Remove Why3 generator | Alex Beregszaszi | 2017-06-25 | 2 | -22/+0 |
| | |||||
* | 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 | 4 | -47/+12 |
|/ | |||||
* | Split block code generation into main and finalize. | chriseth | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | 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 |
| | | |||||
* | | Supply text representation of assembly | Alex Beregszaszi | 2017-06-09 | 1 | -1/+3 |
| | | |||||
* | | Introduce MachineAssemblyObject | Alex Beregszaszi | 2017-06-09 | 2 | -5/+17 |
|/ | |||||
* | Remove excess includes | Alex Beregszaszi | 2017-06-09 | 2 | -1/+1 |
| | |||||
* | Simplify CodeGenerator by remove seldom used case | Alex Beregszaszi | 2017-06-09 | 1 | -1/+2 |
| | |||||
* | Remove error reporter from code generation phase. | chriseth | 2017-06-08 | 2 | -6/+6 |
| | |||||
* | Initial EVM1.5 assembly implementation. | chriseth | 2017-06-08 | 1 | -1/+8 |
| | |||||
* | Refactor AssemblyStack | Alex Beregszaszi | 2017-06-07 | 2 | -4/+7 |
| | |||||
* | Add analyze(block) to AssemblyStack | Alex Beregszaszi | 2017-06-07 | 2 | -0/+18 |
| | |||||
* | Reset error list in parseAndAnalyze | Alex Beregszaszi | 2017-06-07 | 1 | -0/+1 |
| | |||||
* | Fix state after CompilerStack.reset() | Alex Beregszaszi | 2017-06-01 | 2 | -1/+26 |
| | |||||
* | Remove unused functions from CompilerStack | Alex Beregszaszi | 2017-06-01 | 2 | -48/+0 |
| | |||||
* | Refactor error reporting | Rhett Aultman | 2017-05-30 | 6 | -39/+328 |
| | | | | | | | | | This commit introduces ErrorReporter, a utility class which consolidates all of the error logging functionality into a common set of functions. It also replaces all direct interactions with an ErrorList with calls to an ErrorReporter. This commit resolves issue #2209 | ||||
* | More comments for assembly | chriseth | 2017-05-26 | 1 | -0/+2 |
| | |||||
* | Adapt EVM codegen to new namespace. | chriseth | 2017-05-26 | 2 | -16/+14 |
| | |||||
* | Support multiple assembly front and backends. | chriseth | 2017-05-26 | 2 | -0/+170 |
| | |||||
* | Also change error message. | chriseth | 2017-05-26 | 1 | -1/+1 |
| | |||||
* | Scanner requires only the SourcesSet state | Alex Beregszaszi | 2017-05-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1810 from ethereum/compactJson | chriseth | 2017-05-22 | 1 | -1/+2 |
|\ | | | | | Compact format for AST-Json. | ||||
| * | Support the new AST in StandardCompiler | Alex Beregszaszi | 2017-05-17 | 1 | -0/+1 |
| | | |||||
| * | Compact format for AST-Json with backwards compatibility | chriseth | 2017-05-17 | 1 | -1/+1 |
| | | |||||
* | | Rename CompilerStack.metadata to CompilerStack.natspec | Alex Beregszaszi | 2017-05-19 | 3 | -9/+9 |
| | | |||||
* | | Rename InterfaceHandler to Natspec | Alex Beregszaszi | 2017-05-19 | 4 | -11/+11 |
| | | |||||
* | | Split ABI out of InterfaceHandler | Alex Beregszaszi | 2017-05-19 | 6 | -105/+212 |
| | | |||||
* | | Use CompilerStack.contractABI directly | Alex Beregszaszi | 2017-05-19 | 2 | -2/+7 |
| | | |||||
* | | Rename CompilerStack.interface to CompilerStack.contractABI | Alex Beregszaszi | 2017-05-19 | 2 | -3/+3 |
|/ | |||||
* | Ensure proper checks are in CompilerStack | Alex Beregszaszi | 2017-05-11 | 1 | -4/+10 |
| | |||||
* | Do not crash on AST if parsing failed | Alex Beregszaszi | 2017-05-11 | 1 | -0/+3 |
| | |||||
* | Merge pull request #2211 from ethereum/jsonio-fixes | Alex Beregszaszi | 2017-05-02 | 1 | -3/+3 |
|\ | | | | | Follow the JSON I/O spec closely | ||||
| * | Follow the JSON I/O spec closely | Alex Beregszaszi | 2017-05-02 | 1 | -3/+3 |
| | | |||||
* | | Remove why3 from standard compiler | Alex Beregszaszi | 2017-05-02 | 1 | -24/+0 |
|/ | |||||
* | conditional reset of compilerState-Enum | djuju | 2017-04-29 | 1 | -1/+4 |
| | |||||
* | Merge pull request #2171 from ethereum/splitParseAndAnalyze | chriseth | 2017-04-28 | 2 | -17/+63 |
|\ | | | | | refactoring parse() into two separate functions | ||||
| * | error fixed | djuju | 2017-04-28 | 1 | -8/+7 |
| | | |||||
| * | enumchecks not working | djuju | 2017-04-28 | 2 | -15/+36 |
| | | |||||
| * | documentation, checks and renaming | djuju | 2017-04-27 | 2 | -14/+13 |
| | | |||||
| * | refactoring parse() into two separate functions | djuju | 2017-04-27 | 2 | -7/+34 |
| | | |||||
* | | Make assembler errors fatal | Alex Beregszaszi | 2017-04-27 | 1 | -12/+4 |
| | | |||||
* | | Catch assembler exceptions and throw readable Solidity exceptions | Alex Beregszaszi | 2017-04-27 | 1 | -2/+35 |
|/ | |||||
* | Catch jsoncpp exceptions | Alex Beregszaszi | 2017-04-25 | 1 | -0/+8 |
| | |||||
* | Do not crash on invalid JSON input | Alex Beregszaszi | 2017-04-25 | 1 | -0/+4 |
| | |||||
* | Merge pull request #2161 from ethereum/jsonio-cleanup | chriseth | 2017-04-24 | 2 | -8/+12 |
|\ | | | | | Small cleanups to JSON IO | ||||
| * | Do not fail if parsing failed in StandardCompiler | Alex Beregszaszi | 2017-04-24 | 1 | -1/+1 |
| | | |||||
| * | Change error type names to not include spaces | Alex Beregszaszi | 2017-04-24 | 1 | -6/+6 |
| | | |||||
| * | Be a bit more verbose and capture Boost exceptions in StandardCompiler | Alex Beregszaszi | 2017-04-24 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #2159 from ethereum/jsonio-source-verify | chriseth | 2017-04-24 | 1 | -4/+45 |
|\ \ | |/ |/| | Verify supplied hash in JSON I/O | ||||
| * | Verify supplied hash in JSON I/O | Alex Beregszaszi | 2017-04-24 | 1 | -4/+45 |
| | | |||||
* | | Document that the ReadFileCallback should not emit exceptions | Alex Beregszaszi | 2017-04-22 | 2 | -2/+4 |
|/ | |||||
* | Changed const reference to value. | chriseth | 2017-04-22 | 1 | -1/+1 |
| | |||||
* | Support URL sources in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 2 | -3/+35 |
| | |||||
* | Rename ast to legacyAST in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -1/+1 |
| | |||||
* | Ensure the language field is present in the JSON | Alex Beregszaszi | 2017-04-21 | 1 | -0/+6 |
| | |||||
* | Pull out collectEVMObject | Alex Beregszaszi | 2017-04-21 | 1 | -17/+19 |
| | |||||
* | Enclose local functions in a namespace | Alex Beregszaszi | 2017-04-21 | 1 | -0/+4 |
| | |||||
* | Support Why3 in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+24 |
| | |||||
* | Support gas estimates in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -1/+1 |
| | |||||
* | Reject import URLs for now | Alex Beregszaszi | 2017-04-21 | 1 | -1/+6 |
| | |||||
* | Support the metadata.useLiteralContent setting | Alex Beregszaszi | 2017-04-21 | 1 | -0/+3 |
| | |||||
* | Properly split contract filename and name | Alex Beregszaszi | 2017-04-21 | 1 | -3/+10 |
| | |||||
* | Support linkReferences | Alex Beregszaszi | 2017-04-21 | 1 | -2/+29 |
| | |||||
* | Support new assembly output | Alex Beregszaszi | 2017-04-21 | 1 | -3/+4 |
| | |||||
* | Move opcodes inside the bytecode section | Alex Beregszaszi | 2017-04-21 | 1 | -1/+2 |
| | |||||
* | Support methodIdentifiers | Alex Beregszaszi | 2017-04-21 | 1 | -1/+9 |
| | |||||
* | Support proper error reporting in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -18/+104 |
| | |||||
* | Refactor formatError | Alex Beregszaszi | 2017-04-21 | 1 | -6/+19 |
| | |||||
* | Fail if no sources are given | Alex Beregszaszi | 2017-04-21 | 1 | -4/+1 |
| | |||||
* | Support the AST output | Alex Beregszaszi | 2017-04-21 | 1 | -1/+2 |
| | |||||
* | Include source mapping identifier | Alex Beregszaszi | 2017-04-21 | 1 | -0/+10 |
| | |||||
* | Output legacyAssembly in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -1/+12 |
| | |||||
* | Capture error messages from the JSON parser | Alex Beregszaszi | 2017-04-21 | 1 | -2/+8 |
| | |||||
* | Add formatFatalError() to StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+15 |
| | |||||
* | Parse remappings in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+5 |
| | |||||
* | Parse libraries in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+8 |
| | |||||
* | Parse optimizer settings in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -3/+6 |
| | |||||
* | Catch exceptions of StandardCompiler | Alex Beregszaszi | 2017-04-21 | 2 | -1/+15 |
| | |||||
* | Initial implementation of StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+132 |
| | |||||
* | Add StandardCompiler skeleton | Alex Beregszaszi | 2017-04-21 | 2 | -0/+90 |
| | |||||
* | Fix source index allocation in CompilerStack. Depending on ↵ | Alex Beregszaszi | 2017-04-21 | 1 | -1/+2 |
| | | | | compiler(optimisations) this could be off-by-one. | ||||
* | Keep gas values as a string in CompilerStack::gasEstimate | Alex Beregszaszi | 2017-04-13 | 1 | -3/+3 |
| | |||||
* | Exclude fallback function from the internal functions in estimateGas | Alex Beregszaszi | 2017-04-13 | 1 | -1/+2 |
| | |||||
* | Move gasEstimate into CompilerStack | Alex Beregszaszi | 2017-04-13 | 2 | -0/+88 |
| | |||||
* | Merge pull request #2098 from ethereum/sourceformatter | Alex Beregszaszi | 2017-04-10 | 1 | -0/+11 |
|\ | | | | | Introduce formatExceptionInformation | ||||
| * | Introduce formatExceptionInformation | Alex Beregszaszi | 2017-04-10 | 1 | -0/+11 |
| | | |||||
* | | Pull out ReadFile from CompilerStack | Alex Beregszaszi | 2017-04-10 | 3 | -13/+50 |
|/ | |||||
* | Rename ErrorMesage to ErrorMessage | Alex Beregszaszi | 2017-03-17 | 2 | -3/+3 |
| | |||||
* | Merge pull request #1747 from ethereum/fixICEInternalConstructor | Yoichi Hirai | 2017-03-09 | 1 | -1/+1 |
|\ | | | | | Move privateness of constructor into AST itself. | ||||
| * | Move public constructor property into AST itself. | chriseth | 2017-03-06 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1699 from ethereum/asmlabels | Yoichi Hirai | 2017-03-08 | 2 | -0/+10 |
|\ \ | | | | | | | Assembly labels with stack information | ||||
| * | | Analysis refactoring. | chriseth | 2017-03-03 | 2 | -0/+10 |
| |/ | |||||
* | | Merge pull request #1733 from ethereum/selfReferentialConstant | chriseth | 2017-03-07 | 1 | -0/+9 |
|\ \ | | | | | | | Detect cyclic dependencies between constants. | ||||
| * | | Check for circular references in constant variables. | chriseth | 2017-03-06 | 1 | -0/+9 |
| |/ | |||||
* / | Error constructor. | chriseth | 2017-03-06 | 2 | -2/+12 |
|/ | |||||
* | Add line info to serious exceptions. | chriseth | 2017-02-25 | 1 | -0/+14 |
| | |||||
* | Extract scopes into compiler stack. | chriseth | 2017-02-14 | 2 | -1/+5 |
| | |||||
* | Refactor json return type generation. | chriseth | 2017-01-27 | 2 | -20/+38 |
| | |||||
* | Add option to store literal sources in metadata | Alex Beregszaszi | 2017-01-26 | 2 | -4/+11 |
| | |||||
* | Check if constructor is public or not. | chriseth | 2017-01-21 | 1 | -1/+5 |
| | |||||
* | Reset AST node IDs between compilation runs. | chriseth | 2017-01-20 | 1 | -0/+1 |
| | |||||
* | Merge pull request #1397 from roadriverrail/contract_collision | chriseth | 2017-01-18 | 2 | -42/+61 |
|\ | | | | | Error out when contracts collide on name | ||||
| * | Provide fall-back method for contract lookup | Rhett Aultman | 2017-01-17 | 1 | -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 Aultman | 2017-01-17 | 2 | -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 collision | Rhett Aultman | 2017-01-17 | 1 | -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 corrections | Rhett Aultman | 2017-01-17 | 1 | -8/+4 |
| | | |||||
| * | Push the error instead of throwing it | Rhett Aultman | 2017-01-17 | 1 | -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 file | Rhett Aultman | 2017-01-17 | 2 | -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 Aultman | 2017-01-17 | 1 | -1/+2 |
| | | |||||
| * | Tidy up the error message | Rhett Aultman | 2017-01-17 | 1 | -3/+3 |
| | | |||||
| * | Fix tab, drop stupid '!!!', change error message. | Rhett Aultman | 2017-01-17 | 1 | -3/+3 |
| | | |||||
| * | Error out when contracts collide on name | Rhett Aultman | 2017-01-17 | 1 | -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.h | Alex Beregszaszi | 2017-01-17 | 1 | -1/+2 |
| | | |||||
* | | Store strict version number in metadata (exclude the platform) | Alex Beregszaszi | 2017-01-17 | 3 | -1/+5 |
|/ | |||||
* | fixed | VoR0220 | 2017-01-12 | 1 | -2/+2 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | added fix and a test for order independence of nested prefixing | VoR0220 | 2017-01-12 | 1 | -2/+2 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | cleanup | VoR0220 | 2017-01-12 | 2 | -14/+15 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> fixup Signed-off-by: VoR0220 <rj@erisindustries.com> |