aboutsummaryrefslogtreecommitdiffstats
path: root/solc/CommandLineInterface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix issue##5007mestorlx2018-10-161-6/+4
|
* More helpful error messages for linker.chriseth2018-10-121-2/+16
|
* Use hash for library placeholders.chriseth2018-10-121-6/+32
|
* fix format issue for source filesliangdzou2018-09-201-1/+2
|
* fix code format problemsliangdzou2018-09-191-1/+2
|
* Disallow remappings with empty prefix.Daniel Kirchner2018-08-111-2/+13
|
* Merge pull request #4703 from ethereum/solc-fix-double-quoting-path-nameschriseth2018-08-081-4/+4
|\ | | | | solc: Fixes double-quoting path names on stderr.
| * solc: Fixes double-quoting path names on stderr and adds tests for it.Christian Parpart2018-08-071-4/+4
| | | | | | | | | | | | | | | | | | | | Before it was possible to get a failure message, such as: ""notfound.sol"" is not found whereas it should be: "notfound.sol" is not found.
* | Merge pull request #4592 from asifmallik/fixBackslashBugFinalAlex Beregszaszi2018-08-071-2/+2
|\ \ | | | | | | Fix backslash bug
| * | Fix backslash bugAsif Mallik2018-08-071-2/+2
| |/
* / Remove clone feature.chriseth2018-08-071-18/+1
|/
* Merge pull request #4166 from alibabe/fix-3718-retchriseth2018-07-161-1/+6
|\ | | | | Fix the Heisenbug
| * Fixes #3718 by creating a local variable for the result ofalibabe2018-05-291-1/+6
| | | | | | | | | | `GasEstimator::breakToStatementLevel` and then assign it back to gasCoast.
* | Code, Changelog, ReleaseChecklist: Fix typos.Cryptomental2018-07-111-1/+1
| | | | | | | | Refs: #4442
* | Rename JULIA/IULIA to Yul in assembly interfaceAlex Beregszaszi2018-06-141-1/+1
| |
* | Renamed the --julia CLI option to --yulAlex Beregszaszi2018-06-141-7/+7
| |
* | Remove obsolete --formal option from CLIAlex Beregszaszi2018-06-131-8/+1
|/
* Read from stdin only if - is explicitly givenLeonardo Alt2018-05-071-3/+6
|
* Improve documentation and CLI help for `--run` parameterJonny Burger2018-05-021-1/+2
|
* Merge pull request #3855 from ldct/patch-3Alex Beregszaszi2018-04-121-1/+1
|\ | | | | mark --formal as deprecated in cli options
| * Mark --formal as deprecated in CLI optionsLi Xuanji2018-04-121-1/+1
| |
* | Prevent information about file existence outside the allowed paths to leak ↵Daniel Kirchner2018-04-121-7/+7
| | | | | | | | by mimicing boost::filesystem::weakly_canonical.
* | Fix file missing error message on imports.Sergiusz Bazanski2018-04-061-10/+10
|/ | | | | | | | | | | Trying to convert an import path into a Boost canonical path causes boost to throw an exception if the given file does not exist. Thus, instead of geting to the 'File not found' error, we instead got into the cath-all handler for 'Unknown exception in read callback'. This change rearranges the file checks to happen before we create a canonical Boost path. It also drive-by removes the unnecessary 'else' block, as the body of the if is a guard-like return block.
* Support for error on non-existant or irregular files with command line ↵Anthony Broad-Crawford2018-03-281-5/+26
| | | | option to ignore
* Use EVM version in gas meter and optimizer.chriseth2018-03-051-8/+5
|
* Add constantinople.chriseth2018-03-021-1/+1
|
* Add TangerineWhistle.chriseth2018-03-021-1/+1
|
* Provide EVM version to assembly analysis.chriseth2018-03-021-15/+16
|
* Add ability to set the target EVM version.chriseth2018-03-021-3/+21
|
* Stop allow_guessing for command line option parserZhen Zhang2018-02-281-0/+1
|
* Convert static SourceReferenceFormatter functions to member onesFederico Bond2018-02-191-10/+13
|
* Support --strict-assembly in CLIAlex Beregszaszi2018-01-061-4/+11
|
* Merge pull request #3101 from ethereum/compilerstack-headerchriseth2017-10-191-2/+3
|\ | | | | Remove the reliance on empty contract name equals "last contract" in CompilerStack
| * Implement CompilerStack.lastContractName()Alex Beregszaszi2017-10-191-2/+2
| |
| * Always require a contract/sourceName in CompilerStackAlex Beregszaszi2017-10-191-2/+3
| |
* | Add readStandardInput helperAlex Beregszaszi2017-10-181-15/+2
| |
* | Rename contentsString to readFileAsStringAlex Beregszaszi2017-10-181-3/+3
|/
* Do not use remove_trailing_separator from Boost 1.58 as 1.56 is requiredSergiusz Bazanski2017-10-061-2/+11
|
* Allow trailing slash in solc -allow-paths.Sergiusz Bazanski2017-10-061-1/+1
|
* Added --pretty-json commandline optionAli92hm2017-09-131-4/+9
|
* Enabling --combined-json to output to fileAli92hm2017-09-131-1/+5
|
* Added createJson method to make writing json easierAli92hm2017-09-131-0/+5
|
* Simplify assembly printing in CLIAlex Beregszaszi2017-09-111-15/+8
|
* Introduce assemblyStringAlex Beregszaszi2017-09-111-4/+3
|
* Split out the JSON functionality from assembly.stream()Alex Beregszaszi2017-09-111-8/+16
|
* Rename read file callback.chriseth2017-08-231-7/+7
|
* Avoid some Json copy operations.chriseth2017-08-211-2/+1
|
* Remove DocumentationType from natspecAlex Beregszaszi2017-08-161-17/+18
|
* Add CompilerStack::setOptimiserSettingsAlex Beregszaszi2017-07-261-1/+3
|
* Add CompilerStack::setLibrariesAlex Beregszaszi2017-07-261-1/+3
|
* Rename onChainMetadata to metadataAlex Beregszaszi2017-07-191-4/+4
|
* Add other licenses.chriseth2017-07-021-0/+1
|
* Remove Why3 generatorAlex Beregszaszi2017-06-251-17/+2
|
* Make compiler.contractDefinition privateAlex Beregszaszi2017-06-221-2/+3
|
* Rework functionHashes into methodIdentifiersAlex Beregszaszi2017-06-221-1/+1
|
* Merge pull request #2382 from ruchevits/combined-json-hasheschriseth2017-06-151-0/+3
|\ | | | | Allow including hashes of method signatures in --combined-json output
| * Allow including hashes of method signatures in --combined-json outputEdward Ruchevits2017-06-141-0/+3
| |
* | Merge pull request #2327 from ethereum/assembler-objectchriseth2017-06-141-2/+18
|\ \ | |/ |/| Return assembler object in AssemblyStack
| * Nicer machine output in CLIAlex Beregszaszi2017-06-091-1/+8
| |
| * Supply text representation of assemblyAlex Beregszaszi2017-06-091-0/+4
| |
| * Introduce MachineAssemblyObjectAlex Beregszaszi2017-06-091-1/+6
| |
* | Remove copyright notice.chriseth2017-06-121-1/+0
| |
* | Include license and warranty statement with solc.chriseth2017-06-091-3/+25
|/
* Merge pull request #2287 from ethereum/legacyAstCLIchriseth2017-05-291-13/+23
|\ | | | | add legacy/compact AST-format options to CLI
| * make src-indices equal (#2286)djudjuu2017-05-241-2/+2
| |
| * add legacy/compact AST-format options to CLdjudjuu2017-05-241-13/+23
| |
* | Adapt EVM codegen to new namespace.chriseth2017-05-261-9/+9
| |
* | Support multiple assembly front and backends.chriseth2017-05-261-25/+45
| |
* | Handle assembly in one go to allow for different stacks.chriseth2017-05-261-11/+12
| |
* | Commandline options.chriseth2017-05-261-2/+40
|/
* Merge pull request #1810 from ethereum/compactJsonchriseth2017-05-221-6/+4
|\ | | | | Compact format for AST-Json.
| * Compact format for AST-Json with backwards compatibilitychriseth2017-05-171-6/+4
| |
* | Rename handleMeta to handleNatspecAlex Beregszaszi2017-05-191-3/+3
| |
* | Rename CompilerStack.metadata to CompilerStack.natspecAlex Beregszaszi2017-05-191-3/+3
| |
* | Use CompilerStack.contractABI directlyAlex Beregszaszi2017-05-191-12/+15
| |
* | Rename CompilerStack.interface to CompilerStack.contractABIAlex Beregszaszi2017-05-191-1/+1
|/
* Catch errors gracefully in CLI assemblerAlex Beregszaszi2017-05-061-7/+20
|
* Add missing space.chriseth2017-04-241-1/+1
|
* Add exception guard to ReadFileCallback in CLIAlex Beregszaszi2017-04-221-21/+32
|
* Pass readFileCallback to StandardCompiler in CLIAlex Beregszaszi2017-04-211-32/+32
|
* Merge pull request #2145 from ethereum/cli-readfile-permissionsAlex Beregszaszi2017-04-211-2/+2
|\ | | | | Check for path permissions before opening file in the CLI file reader
| * Check for path permissions before opening file in the CLI file readerAlex Beregszaszi2017-04-211-2/+2
| |
* | Add --standard-json to solcAlex Beregszaszi2017-04-211-1/+25
|/
* Support --allow-paths in the CLIAlex Beregszaszi2017-04-201-1/+15
|
* Keep gas values as a string in CompilerStack::gasEstimateAlex Beregszaszi2017-04-131-20/+5
|
* Use new gasEstimate in CLIAlex Beregszaszi2017-04-131-33/+39
|
* Pull out ReadFile from CompilerStackAlex Beregszaszi2017-04-101-5/+5
|
* Allow long library names.chriseth2017-03-141-1/+10
|
* Do not overwrite files unless forced.chriseth2017-03-111-1/+10
|
* Do not create directories . and ..Alex Beregszaszi2017-02-061-1/+3
|
* Always escape filenames in solcAlex Beregszaszi2017-02-061-7/+7
|
* fix for linker wrt binaries generated with import statementsVoR02202017-01-311-1/+3
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Merge pull request #1604 from ethereum/checksumsAlex Beregszaszi2017-01-261-0/+5
|\ | | | | Warn about invalid checksums of addresses.
| * Also check library addresses.chriseth2017-01-251-0/+5
| |
* | Merge pull request #1610 from ethereum/assemblyModeErrorAlex Beregszaszi2017-01-261-23/+28
|\ \ | | | | | | Proper error reporting for assembly mode.
| * | Header cleanup.chriseth2017-01-261-23/+24
| | |
| * | Proper error reporting for assembly mode.chriseth2017-01-261-0/+4
| |/
* / Add option to solc to use literal sources in metadtaAlex Beregszaszi2017-01-261-1/+6
|/
* Fix bad merge artifact(?)Rhett Aultman2017-01-171-1/+1
| | | | | | Looks like merging up munged line 188 in CommandLineInterface.cpp, so that a string literal was being used where a global variable should be.
* Stylistic correctionsRhett Aultman2017-01-171-2/+0
|
* Only avoid collision if it's the same fileRhett Aultman2017-01-171-2/+4
| | | | | | | | | @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.
* Merge pull request #1491 from ameten/refactoringchriseth2016-12-131-138/+183
|\ | | | | Just refactored some code
| * - alphabetically sorted string constants per name.Danil Nemirovsky2016-12-091-45/+45
| |
| * - moved string constants into common place;Danil Nemirovsky2016-12-091-136/+181
| | | | | | | | - replaced string literals with string constants.
* | Remove unused variable inputFilesFederico Bond2016-12-111-1/+0
|/
* Update metadata documentationAlex Beregszaszi2016-12-011-1/+1
|
* Make sure some keys are present.chriseth2016-12-011-1/+1
|
* Metadata stamp.chriseth2016-12-011-3/+20
|
* Fix typos (existant -> existent)Federico Bond2016-12-011-1/+1
|
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Move JSON helpers to libdevcore/jsonAlex Beregszaszi2016-11-161-18/+7
|
* Move InterfaceHandler from string to JSONAlex Beregszaszi2016-11-151-6/+24
|
* Unimplemented features moved to their own exception (#1361)Rhett Aultman2016-11-151-0/+6
| | | | | | | | | | | | | | | | | | 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
* Add import remapping documentation to `solc --help`Kevin Boxhoorn2016-10-151-1/+4
| | | | | Derived from the docs found [here](https://solidity.readthedocs.io/en/develop/miscellaneous.html#using-the-commandline-compiler). Fixes #1207.
* Disallow unknown options in solcAlex Beregszaszi2016-10-061-1/+1
|
* Fix compiler error.chriseth2016-09-061-1/+1
|
* More comments about size constants.chriseth2016-09-061-4/+9
|
* Fix linking for libraries with underscores.chriseth2016-09-021-17/+18
|
* Remove standard contractsDenton Liu2016-08-191-1/+1
|
* Merge pull request #918 from winsvega/solremove4chriseth2016-08-171-11/+0
|\ | | | | remove solidity --interface
| * remove solidity --interfaceDimitry2016-08-171-11/+0
| |
* | Read from files and stdin.chriseth2016-08-161-11/+17
|/
* Bugfix: Correctly use srcmap-runtime.chriseth2016-08-011-1/+1
|
* Source location as part of AST.chriseth2016-07-211-1/+23
|
* Store non-canonical version.chriseth2016-07-111-8/+8
|
* Fix crash for input from stdin.chriseth2016-06-151-1/+2
|
* Allow remappings to change depending on the context.chriseth2016-06-091-64/+34
|
* much better and simpler way of handling thisVoR02202016-05-141-1/+8
|
* Source location for inline assembly.chriseth2016-04-201-1/+1
|
* Make solidity independent from ethcore.chriseth2016-04-071-3/+3
|
* rename namespace for instruction.h/cpp in libevmasmDimitry2016-04-021-3/+3
|
* move libevmcore to solidityDimitry2016-04-021-1/+1
|
* Code generation (missing external access and source locations).chriseth2016-03-301-11/+24
|
* Parsing for inline assembly.chriseth2016-03-301-4/+44
|
* Only allow including from allowed directories.chriseth2016-01-301-9/+33
|
* Provide remappings for solc.chriseth2016-01-261-32/+73
|
* Autoload files in solc.chriseth2016-01-121-1/+12
|
* Fix: Segfaults connected to paramater types.chriseth2015-12-101-3/+3
| | | | parameterTypes does not return by const reference anymore.
* Fix up for new API from EIP-1.1.Gav Wood2015-11-211-3/+3
|
* Preliminary why3 code output.chriseth2015-10-271-23/+46
|
* File reorganisation.chriseth2015-10-211-10/+10
|
* errors instead of exceptionsLianaHus2015-10-151-1/+1
| | | | | | | | | Conflicts: libsolidity/CompilerStack.cpp libsolidity/NameAndTypeResolver.cpp libsolidity/NameAndTypeResolver.h libsolidity/TypeChecker.cpp test/libsolidity/SolidityNameAndTypeResolution.cpp
* added Error class for all kind of errorsLianaHus2015-10-151-17/+6
| | | | | Conflicts: libsolidity/Exceptions.h
* -fixed the warning printingLianaHus2015-10-021-9/+8
| | | | -style fixes
* -added warning case to cl compilerLianaHus2015-10-021-1/+5
| | | | -modified warning msg
* Merge pull request #89 from chriseth/fixCombinedJsonchriseth2015-09-231-2/+6
|\ | | | | Fix "combined json" output.
| * Fix "combined json" output.chriseth2015-09-231-2/+6
| |
* | Error formatting.chriseth2015-09-221-1/+6
|/
* Merge pull request #79 from arkpar/cmakeMarek Kotewicz2015-09-171-1/+1
|\ | | | | Per project versioning
| * per project versioningarkpar2015-09-161-1/+1
| |
* | Commandline interface for the linker.chriseth2015-09-121-2/+116
|/
* Transition from bytecode to more general linker objects.chriseth2015-09-111-12/+12
|
* - renamed AST to ast and ABI to abiLianaHus2015-09-081-6/+6
| | | | - style fixes
* renamed getter functionsLianaHus2015-09-081-40/+40
|
* added option to solc to output runtimr part of the contractLianaHus2015-08-241-1/+14
|
* More information for help screen, some fixes for argument parsing.chriseth2015-08-201-75/+73
|
* Moved solc files.chriseth2015-08-191-0/+635