aboutsummaryrefslogtreecommitdiffstats
path: root/common/compiler
Commit message (Collapse)AuthorAgeFilesLines
* cmd,eth,les,internal: remove natspec supportBas van Kervel2017-01-171-2/+2
|
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-1/+1
|
* common/compiler: remove workaround for solc 0.3.5 stdin bug (#3522)Felix Lange2017-01-062-36/+22
| | | | | | | | | The crash when compiling stdin was fixed in solc 0.3.6 (released 2016-08-10). While here, simplify the test so it runs with any solc version. Fixes #3484. The byte code was different for each run because recent solc embeds the swarm hash of contract metadata into the code. When compiling from stdin the name in the metadata is constant.
* common/compiler: simplify solc wrapperFelix Lange2016-08-172-165/+132
| | | | | | | | | | | | | Support for legacy version 0.9.x is gone. The compiler version is no longer cached. Compilation results (and the version) are read directly from stdout using the --combined-json flag. As a workaround for ethereum/solidity#651, source code is written to a temporary file before compilation. Integration of solc in package ethapi and cmd/abigen is now much simpler because the compiler wrapper is no longer passed around as a pointer. Fixes #2806, accidentally
* common/compiler: support relative path to solcRémy Roy2016-05-251-1/+0
|
* all: fix go vet warningsFelix Lange2016-04-151-1/+1
|
* common/compiler: fix path problem with filepath.Glob on WindowsRémy Roy2016-03-081-1/+1
|
* all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()Ricardo Catalinas Jiménez2016-02-221-1/+1
| | | | As we aren't really using the standarized SHA-3
* new solc api:zelig2015-09-152-14/+14
| | | | | | * use legacy version matcher * optimise just a boolean flag * skipf for messages in tests
* Solidity Compiler - solc new APIzelig2015-09-122-23/+49
| | | | | | | | | | * adapt to new compiler versioning * use compiler version as language version * implement new solc API for versions >= 0.1.[2-9][0-9]* fixes #1770 * add optimize=1 to options * backward compatibility (for now) for <= 0.1.1, and old versions (0.[2-9][0-9]*.[0-9]+) * introduce compilerOptions to ContractInfo * clean up flair, include full version string to version line and ContractInfo
* common/compiler: fix #1598, expose solidity errorsPéter Szilágyi2015-08-261-58/+46
|
* common/compiler, common/docserver, jsre: fix tests on windowsFelix Lange2015-08-061-2/+3
|
* all: fix license headers one more timeFelix Lange2015-07-242-2/+2
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-232-8/+8
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-072-0/+32
|
* Registrar and contractInfo handlingzelig2015-07-072-10/+6
| | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar
* skip sol on new compilerobscuren2015-06-091-2/+2
|
* compile solidity contracts with std libraryMarek Kotewicz2015-05-251-0/+2
|
* multiple contract source for solidity compiler: returns contract array if ↵zelig2015-05-202-58/+65
| | | | multiple contracts. fixes #1023
* remove solc flairzelig2015-05-201-1/+2
|
* fix solc tests unskipzelig2015-05-202-14/+18
|
* Merge pull request #933 from bas-vk/issue928Jeffrey Wilcke2015-05-121-5/+4
|\ | | | | replaced path with platform aware filepath module
| * replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-5/+4
| |
* | sol: skipped source checking stepobscuren2015-05-121-3/+5
|/
* compiler, cli/js: fix solidity compiler tests failing when a different ↵zelig2015-05-122-3/+9
| | | | version of solc installed
* solidity compiler and contract metadocs integrationzelig2015-05-072-0/+276
* common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions