aboutsummaryrefslogtreecommitdiffstats
path: root/solc
Commit message (Collapse)AuthorAgeFilesLines
* Added --pretty-json commandline optionAli92hm2017-09-132-6/+11
|
* Enabling --combined-json to output to fileAli92hm2017-09-131-1/+5
|
* Added createJson method to make writing json easierAli92hm2017-09-132-0/+10
|
* 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
|
* Add header for jsonCompilerAlex Beregszaszi2017-08-292-7/+45
|
* Rename read file callback.chriseth2017-08-232-13/+13
|
* Merge pull request #2757 from ethereum/cmakeAlex Beregszaszi2017-08-231-20/+24
|\ | | | | Static linking
| * CMake: Add option to static link solcPaweł Bylica2017-08-231-1/+13
| |
| * CMake: Simplify solc configPaweł Bylica2017-08-181-20/+12
| |
* | Avoid some Json copy operations.chriseth2017-08-211-2/+1
| |
* | Remove DocumentationType from natspecAlex Beregszaszi2017-08-162-18/+19
|/
* Remove some global symbolsAlex Beregszaszi2017-08-092-1/+6
|
* Add CompilerStack::setOptimiserSettingsAlex Beregszaszi2017-07-261-1/+3
|
* Add CompilerStack::setLibrariesAlex Beregszaszi2017-07-261-1/+3
|
* Rename onChainMetadata to metadataAlex Beregszaszi2017-07-192-5/+5
|
* Properly export the license() method in EmscriptenAlex Beregszaszi2017-07-181-1/+1
|
* Add other licenses.chriseth2017-07-022-2/+3
|
* Remove Why3 error classAlex Beregszaszi2017-07-011-4/+0
|
* Remove Why3 generatorAlex Beregszaszi2017-06-251-17/+2
|
* Rewrite jsonCompiler using StandardCompilerAlex Beregszaszi2017-06-221-120/+89
|
* Make compiler.contractDefinition privateAlex Beregszaszi2017-06-221-2/+3
|
* Rework functionHashes into methodIdentifiersAlex Beregszaszi2017-06-222-2/+2
|
* Merge pull request #2382 from ruchevits/combined-json-hasheschriseth2017-06-152-9/+4
|\ | | | | Allow including hashes of method signatures in --combined-json output
| * Removed duplicate codeEdward Ruchevits2017-06-141-9/+1
| |
| * Allow including hashes of method signatures in --combined-json outputEdward Ruchevits2017-06-141-0/+3
| |
* | Include license text in emscripten outputAlex Beregszaszi2017-06-141-0/+7
| |
* | 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
|/
* Refactor error reportingRhett Aultman2017-05-301-3/+4
| | | | | | | | | 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
* 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-262-11/+11
| |
* | Support multiple assembly front and backends.chriseth2017-05-262-33/+47
| |
* | Handle assembly in one go to allow for different stacks.chriseth2017-05-262-14/+12
| |
* | Commandline options.chriseth2017-05-262-2/+46
|/
* Merge pull request #1810 from ethereum/compactJsonchriseth2017-05-222-7/+5
|\ | | | | Compact format for AST-Json.
| * Compact format for AST-Json with backwards compatibilitychriseth2017-05-172-7/+5
| |
* | Rename handleMeta to handleNatspecAlex Beregszaszi2017-05-192-4/+4
| |
* | Rename CompilerStack.metadata to CompilerStack.natspecAlex Beregszaszi2017-05-191-3/+3
| |
* | Use CompilerStack.contractABI directlyAlex Beregszaszi2017-05-192-12/+16
| |
* | Rename CompilerStack.interface to CompilerStack.contractABIAlex Beregszaszi2017-05-192-2/+2
|/
* Catch errors gracefully in CLI assemblerAlex Beregszaszi2017-05-061-7/+20
|
* Export compileStandard on emscriptenAlex Beregszaszi2017-04-241-1/+1
|
* 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
| |
* | Export StandardCompiler as compileStandard in soljsonAlex Beregszaszi2017-04-211-31/+49
| |
* | 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-132-24/+30
|
* The gasEstimates objects must always be present in the jsonCompiler even if ↵Alex Beregszaszi2017-04-131-2/+4
| | | | empty (backwards compat)
* Use new gasEstimate in CLIAlex Beregszaszi2017-04-131-33/+39
|
* Use new gasEstimate in jsonCompilerAlex Beregszaszi2017-04-131-51/+12
|
* Merge pull request #2098 from ethereum/sourceformatterAlex Beregszaszi2017-04-101-17/+6
|\ | | | | Introduce formatExceptionInformation
| * Remove empty wrapper formatError from jsonCompilerAlex Beregszaszi2017-04-101-15/+6
| |
| * Introduce formatExceptionInformationAlex Beregszaszi2017-04-101-3/+1
| |
* | Pull out ReadFile from CompilerStackAlex Beregszaszi2017-04-102-7/+7
|/
* Rename ErrorMesage to ErrorMessageAlex Beregszaszi2017-03-171-3/+3
|
* Allow long library names.chriseth2017-03-141-1/+10
|
* Do not overwrite files unless forced.chriseth2017-03-113-5/+18
|
* Add line info to serious exceptions.chriseth2017-02-251-3/+3
|
* 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-262-26/+33
|\ \ | | | | | | Proper error reporting for assembly mode.
| * | Header cleanup.chriseth2017-01-262-26/+29
| | |
| * | 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-013-3/+22
|
* Fix typos (existant -> existent)Federico Bond2016-12-011-1/+1
|
* Fix licensing headersVoR02202016-11-234-16/+16
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Move JSON helpers to libdevcore/jsonAlex Beregszaszi2016-11-162-28/+11
|
* Move InterfaceHandler from string to JSONAlex Beregszaszi2016-11-152-9/+34
|
* Unimplemented features moved to their own exception (#1361)Rhett Aultman2016-11-152-0/+10
| | | | | | | | | | | | | | | | | | 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
|
* Merge pull request #1009 from pirapira/separate_exceptionschriseth2016-09-071-1/+15
|\ | | | | Separate the try/catch blocks on JSON and formal methods output generation
| * Separate the try/catch blocks on JSON output generation and formal method ↵Yoichi Hirai2016-09-061-1/+15
| | | | | | | | | | | | | | output generation. For the reason, see @axic's comment here https://github.com/ethereum/solidity/pull/994#discussion_r77272236 and the following discussion.
* | Merge pull request #997 from chriseth/linkingwithunderscoreschriseth2016-09-061-17/+23
|\ \ | |/ |/| Fix linking for libraries with underscores.
| * 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
| |
* | Catch more exceptions in jsonCompiler.chriseth2016-09-021-39/+53
|/
* Corrected accidental non-ANSI characters in comments.Bob Summerwill2016-09-011-1/+1
|
* Code review changes: Renamed function and added some documentation about ↵Christopher Gilbert2016-08-311-3/+16
| | | | what the function does and why
* Code review changes: stylistic changes, and removed redundant call to set ↵Christopher Gilbert2016-08-301-3/+4
| | | | locale.
* Fixed a bug causing solc to crash on startup due to invalid environment ↵Christopher Gilbert2016-08-301-0/+11
| | | | settings for locale
* Remove standard contractsDenton Liu2016-08-192-2/+2
|
* Merge pull request #918 from winsvega/solremove4chriseth2016-08-172-12/+0
|\ | | | | remove solidity --interface
| * remove solidity --interfaceDimitry2016-08-172-12/+0
| |
* | Merge pull request #912 from chriseth/readFromStdinchriseth2016-08-171-11/+17
|\ \ | |/ |/| Read from files and stdin.
| * Read from files and stdin.chriseth2016-08-161-11/+17
| |
* | BREAKING: Streamline json output field naming. (#763)chriseth2016-08-171-2/+2
|/
* sourcemappingyann3002016-08-021-1/+1
|
* Bugfix: Correctly use srcmap-runtime.chriseth2016-08-011-1/+1
|
* Source location as part of AST.chriseth2016-07-212-6/+33
|
* Provide formal version in json output.chriseth2016-07-191-0/+16
|
* 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-093-73/+46
|
* much better and simpler way of handling thisVoR02202016-05-141-1/+8
|
* wrap solc add_executablerainbeam2016-05-011-1/+1
| | | | Allows static linking.
* Source location for inline assembly.chriseth2016-04-201-1/+1
|
* Make solidity independent from ethcore.chriseth2016-04-072-5/+5
|
* rename namespace for instruction.h/cpp in libevmasmDimitry2016-04-022-4/+4
|
* move libevmcore to solidityDimitry2016-04-022-2/+2
|
* Code generation (missing external access and source locations).chriseth2016-03-302-12/+29
|
* Parsing for inline assembly.chriseth2016-03-303-10/+60
|
* BREAKING: Implement delegatecall and make default for library calls.chriseth2016-03-121-1/+1
|
* Only allow including from allowed directories.chriseth2016-01-302-9/+36
|
* Merge pull request #370 from chriseth/redirectschriseth2016-01-292-32/+77
|\ | | | | Path remappings for solc.
| * Provide remappings for solc.chriseth2016-01-262-32/+77
| |
* | Read files via callback.chriseth2016-01-272-6/+42
|/
* Autoload files in solc.chriseth2016-01-121-1/+12
|
* Merge pull request #290 from chriseth/fix_gas_iteratorchriseth2015-12-102-6/+6
|\ | | | | Fix: Segfaults connected to paramater types.
| * Fix: Segfaults connected to paramater types.chriseth2015-12-102-6/+6
| | | | | | | | parameterTypes does not return by const reference anymore.
* | Removed obsolete dockerfile.chriseth2015-12-101-70/+0
|/
* Fix the build - library is not a moduleLefteris Karapetsas2015-12-041-1/+1
| | | | | | The Module::Object rule is something only eth_use() and friends can understand. target_link_libraries() on the other hand needs only the actual library object to link to.
* Alternative case-consistency fix for libsolidity. Just using ↵Bob Summerwill2015-12-041-3/+3
| | | | fully-qualified scoped name in eh_use instead.
* Fix up for new API from EIP-1.1.Gav Wood2015-11-212-5/+5
|
* Preliminary why3 code output.chriseth2015-10-272-25/+48
|
* File reorganisation.chriseth2015-10-213-20/+20
|
* Do not forget to export the new symbol.chriseth2015-10-161-1/+1
|
* Style.chriseth2015-10-161-5/+5
|
* Multiple sources for json compiler.chriseth2015-10-161-9/+45
|
* fixed new testsLianaHus2015-10-151-1/+4
|
* 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-152-31/+8
| | | | | Conflicts: libsolidity/Exceptions.h
* Support warnings.chriseth2015-10-031-25/+29
|
* -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-222-15/+26
|/
* Merge pull request #79 from arkpar/cmakeMarek Kotewicz2015-09-171-1/+1
|\ | | | | Per project versioning
| * per project versioningarkpar2015-09-161-1/+1
| |
* | Merge pull request #75 from chriseth/exportRuntimeBytecodeForJsonchriseth2015-09-151-0/+6
|\ \ | | | | | | Export runtime bytecode and version.
| * | Export runtime bytecode and version.chriseth2015-09-151-0/+6
| | |
* | | Merge pull request #73 from chriseth/emscriptenArkadiy Paronyan2015-09-151-2/+8
|\| | | | | | | | Changes required to compile on emscripten target.
| * | Changes required to compile on emscripten target.chriseth2015-09-151-2/+8
| |/
* / Commandline interface for the linker.chriseth2015-09-122-2/+128
|/
* Transition from bytecode to more general linker objects.chriseth2015-09-112-15/+15
|
* Merge pull request #41 from LianaHus/sol_rename_getterschriseth2015-09-082-60/+60
|\ | | | | solidity interface changes. removing get prefix
| * - renamed AST to ast and ABI to abiLianaHus2015-09-082-7/+7
| | | | | | | | - style fixes
| * renamed getter functionsLianaHus2015-09-082-60/+60
| |
* | changes required to compile solidity in a single projectdebris2015-09-011-2/+0
|/
* Merge pull request #27 from LianaHus/sol_runtime_binary_by_-solcGav Wood2015-08-281-1/+14
|\ | | | | added option to solc to output runtime part of the contract
| * added option to solc to output runtimr part of the contractLianaHus2015-08-241-1/+14
| |
* | client refactordebris2015-08-271-6/+1
| |
* | Refactoreed CMakeLists for new module systemarkpar2015-08-241-3/+2
|/
* More information for help screen, some fixes for argument parsing.chriseth2015-08-202-76/+86
|
* Moved solc files.chriseth2015-08-196-0/+1039