Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | fixed unused filepath bug | VoR0220 | 2017-01-11 | 1 | -2/+1 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | much smaller helper function | VoR0220 | 2017-01-10 | 2 | -5/+5 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | can do this purely on length. Also made prefix filesystem string for more ↵ | VoR0220 | 2017-01-09 | 1 | -27/+16 |
| | | | | | | accurate readings. Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | fixed test and added solution | VoR0220 | 2017-01-09 | 1 | -3/+26 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | interface: change absolutePath() so that ".dir" is considered as an absolute ↵ | Yoichi Hirai | 2017-01-04 | 1 | -3/+3 |
| | | | | | | path fixes #1534 | ||||
* | Use multiple URLs for metadata. | chriseth | 2016-12-13 | 1 | -2/+4 |
| | |||||
* | Merge pull request #1491 from ameten/refactoring | chriseth | 2016-12-13 | 1 | -1/+1 |
|\ | | | | | Just refactored some code | ||||
| * | - fixed a misprint. | Danil Nemirovsky | 2016-12-09 | 1 | -1/+1 |
| | | |||||
* | | Warn about using msg.value in non-payable function | Federico Bond | 2016-12-09 | 1 | -0/+10 |
|/ | |||||
* | Add the `_runs` parameter. | chriseth | 2016-12-01 | 2 | -3/+3 |
| | |||||
* | Fix type of optimizeRuns | Alex Beregszaszi | 2016-12-01 | 1 | -1/+1 |
| | |||||
* | Use CBOR encoding. | chriseth | 2016-12-01 | 1 | -1/+8 |
| | |||||
* | Add swarm hash to the end of the bytecode. | chriseth | 2016-12-01 | 1 | -0/+1 |
| | |||||
* | Make sure some keys are present. | chriseth | 2016-12-01 | 1 | -0/+3 |
| | |||||
* | Incorporate comments. | chriseth | 2016-12-01 | 1 | -10/+10 |
| | |||||
* | Metadata stamp. | chriseth | 2016-12-01 | 2 | -24/+94 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 12 | -48/+48 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Include payable for the constructor in the ABI | Alex Beregszaszi | 2016-11-18 | 1 | -0/+1 |
| | |||||
* | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Stored combined creation and runtime tags. | chriseth | 2016-11-16 | 1 | -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. | chriseth | 2016-11-16 | 1 | -2/+2 |
| | |||||
* | Move InterfaceHandler from string to JSON | Alex Beregszaszi | 2016-11-15 | 4 | -29/+26 |
| | |||||
* | Do not include a trailing new line in the ABI JSON output | Alex Beregszaszi | 2016-11-15 | 1 | -1/+4 |
| | |||||
* | Unimplemented features moved to their own exception (#1361) | Rhett Aultman | 2016-11-15 | 2 | -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. | chriseth | 2016-10-25 | 1 | -3/+15 |
| | |||||
* | Rename dev::sha3 to dev::keccak256 | Alex Beregszaszi | 2016-10-06 | 2 | -2/+2 |
| | |||||
* | Fix problem with release version string. | chriseth | 2016-09-08 | 1 | -3/+5 |
| | |||||
* | Reject constant modifier on the fallback function | Alex Beregszaszi | 2016-09-06 | 1 | -1/+0 |
| | |||||
* | Test and fixes for payable fallback in ABI. | chriseth | 2016-09-06 | 1 | -0/+1 |
| | |||||
* | Do not include the payable keyword for constructors | Alex Beregszaszi | 2016-09-06 | 1 | -1/+0 |
| | |||||
* | Support payable keyword for functions | Alex Beregszaszi | 2016-09-06 | 1 | -0/+2 |
| | |||||
* | Do not use internal types for event parameters. | chriseth | 2016-09-02 | 1 | -1/+2 |
| | |||||
* | fix CompilerStack::absolutePath | Dimitry | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #664 from axic/feature/interface-fallback | chriseth | 2016-08-30 | 1 | -1/+9 |
|\ | | | | | Introduce fallback entry in the ABI | ||||
| * | Introduce fallback entry in the ABI | Alex Beregszaszi | 2016-08-27 | 1 | -1/+9 |
| | | |||||
* | | Merge pull request #941 from chriseth/versionString | Bob Summerwill | 2016-08-27 | 1 | -4/+2 |
|\ \ | |/ |/| | Version string | ||||
| * | Make versioning semver compatible and force commit hash availability. | chriseth | 2016-08-26 | 1 | -4/+2 |
| | | |||||
* | | Remove standard contracts | Denton Liu | 2016-08-19 | 2 | -30/+8 |
|/ | |||||
* | remove solidity --interface | Dimitry | 2016-08-17 | 4 | -85/+1 |
| | |||||
* | Source location as part of AST. | chriseth | 2016-07-21 | 2 | -2/+127 |
| | |||||
* | Provide formal version in json output. | chriseth | 2016-07-19 | 2 | -3/+6 |
| | |||||
* | Allow remappings to change depending on the context. | chriseth | 2016-06-09 | 2 | -16/+88 |
| | |||||
* | Make solidity independent from ethcore. | chriseth | 2016-04-07 | 1 | -3/+1 |
| | |||||
* | reduce unnecessary solidity:: namespace | Dimitry | 2016-04-04 | 1 | -3/+3 |
| | |||||
* | rename namespace for instruction.h/cpp in libevmasm | Dimitry | 2016-04-02 | 1 | -3/+3 |
| | |||||
* | Remove code duplication in source references formatter. | chriseth | 2016-04-01 | 2 | -32/+34 |
| | |||||
* | Do not use source reference if it is empty. | chriseth | 2016-03-31 | 1 | -3/+8 |
| | |||||
* | Parsing for inline assembly. | chriseth | 2016-03-30 | 2 | -6/+6 |
| | |||||
* | - inline and assembly keywords added | LianaHus | 2016-03-12 | 2 | -5/+5 |
| | | | | - some style fixes | ||||
* | BREAKING: Implement delegatecall and make default for library calls. | chriseth | 2016-03-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #356 from guanqun/break-not-in-loop | chriseth | 2016-01-21 | 3 | -0/+10 |
|\ | | | | | check whether break/continue is in the loop | ||||
| * | code changes according to Chris's comments | Lu Guanqun | 2016-01-19 | 1 | -1/+1 |
| | | |||||
| * | check whether break/continue is in the loop | Lu Guanqun | 2016-01-15 | 3 | -0/+10 |
| | | |||||
* | | Merge pull request #351 from chriseth/autoload | chriseth | 2016-01-19 | 2 | -31/+76 |
|\ \ | | | | | | | Automatically load imported files in solc. | ||||
| * | | Build fix for MacOS. | chriseth | 2016-01-14 | 1 | -1/+1 |
| | | | |||||
| * | | Autoload files in solc. | chriseth | 2016-01-12 | 2 | -31/+76 |
| |/ | |||||
* | | Set error flag to true. | chriseth | 2016-01-14 | 1 | -0/+1 |
| | | |||||
* | | Detect library name clashes. | chriseth | 2016-01-14 | 2 | -0/+36 |
|/ | |||||
* | Simple aliasing during import. | chriseth | 2015-12-18 | 1 | -0/+3 |
| | |||||
* | Parse complex import directives. | chriseth | 2015-12-18 | 1 | -1/+1 |
| | |||||
* | Relative paths in import directives. | chriseth | 2015-12-10 | 2 | -5/+26 |
| | |||||
* | Source units are independent scopes. | chriseth | 2015-12-10 | 1 | -0/+6 |
| | |||||
* | Make members context-sensitive. | chriseth | 2015-11-26 | 1 | -1/+1 |
| | |||||
* | Fix: Cope with non-existing commit hash. | chriseth | 2015-11-03 | 1 | -1/+4 |
| | |||||
* | Rename error type. | chriseth | 2015-10-28 | 2 | -3/+3 |
| | |||||
* | Preliminary why3 code output. | chriseth | 2015-10-27 | 4 | -19/+41 |
| | |||||
* | Store docstrings in AST annotations. | chriseth | 2015-10-26 | 4 | -334/+64 |
| | |||||
* | File reorganisation. | chriseth | 2015-10-21 | 13 | -0/+2029 |