Commit Graph

7400 Commits

Author SHA1 Message Date
Alex Beregszaszi
10ec334f74 Add basic tests for StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
f71b465eb7 Ensure the language field is present in the JSON 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
6d13260232 Pull out collectEVMObject 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
413c146edd Enclose local functions in a namespace 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
aa0776d5e8 Support Why3 in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
b513db74a0 Support gas estimates in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
77d5148f0d Reject import URLs for now 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
df7e703925 Support the metadata.useLiteralContent setting 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
ef559de84f Properly split contract filename and name 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
ad1fe86508 Support linkReferences 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
2df52edfbd Support new assembly output 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
a87dd17d0f Move opcodes inside the bytecode section 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
63b6d0099f Support methodIdentifiers 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
f25efceaf8 Support proper error reporting in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
b3c6b1e936 Refactor formatError 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
2c15e2b541 Fail if no sources are given 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
5aec120da3 Support the AST output 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
50bb24af5e Include source mapping identifier 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
115458c50e Output legacyAssembly in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
4eaee772b3 Capture error messages from the JSON parser 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
f8cb0766d4 Add formatFatalError() to StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
ce87984cc1 Parse remappings in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
81775b2df6 Parse libraries in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
13fa440d37 Parse optimizer settings in StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
418759ece0 Catch exceptions of StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
4f3c76364c Export StandardCompiler as compileStandard in soljson 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
985db17e1e Initial implementation of StandardCompiler 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
5754b13b47 Add StandardCompiler skeleton 2017-04-20 19:38:00 +01:00
Alex Beregszaszi
8c9e57fadf Add --standard-json to solc 2017-04-20 19:38:00 +01:00
chriseth
965de29772 Merge pull request #2143 from ethereum/ast-index-fix
Fix source index allocation in CompilerStack
2017-04-20 20:36:04 +02:00
Alex Beregszaszi
bf074f3f41 Fix source index allocation in CompilerStack. Depending on compiler(optimisations) this could be off-by-one. 2017-04-20 19:20:14 +01:00
chriseth
6468955fb1 Merge pull request #2133 from ethereum/allow-path
Support --allow-path in the CLI
2017-04-20 18:03:47 +02:00
Alex Beregszaszi
8bf842050e Support --allow-paths in the CLI 2017-04-20 15:39:30 +01:00
Yoichi Hirai
3cacea74c9 Merge pull request #2117 from ethereum/implementAsmOut
Implement missing assembly output functions and do not use PushString for assembly.
2017-04-18 18:11:25 +02:00
chriseth
937397ed9c Merge pull request #2122 from nrchandan/patch-1
Update common-patterns.rst
2017-04-18 14:55:36 +02:00
Yoichi Hirai
1927148604 Merge pull request #2128 from ethereum/bytecodeNoPull
Run bytecode upload only if encrypted variables are available.
2017-04-18 14:53:41 +02:00
chriseth
6ad7dcffce Merge pull request #2119 from ethereum/bugList
List of known bugs.
2017-04-18 13:48:53 +02:00
chriseth
82628a80cc Merge pull request #2125 from abrahamsangha/fix-typo-solidity-by-example
minor: fix formatting and grammar
2017-04-18 12:36:00 +02:00
chriseth
d093f42eb6 Merge pull request #2127 from morgansliman/patch-1
Update contracts.rst
2017-04-18 12:34:36 +02:00
chriseth
4694eaec43 Run bytecode upload only if encrypted variables are available. 2017-04-18 12:32:38 +02:00
chriseth
fd109bbe6f Update bugs.rst 2017-04-18 12:20:39 +02:00
chriseth
8e180d9287 Merge pull request #2126 from dapphub/develop
Replace link to dapple in the docs with our next generation development tool
2017-04-18 12:10:04 +02:00
chriseth
11d30ec04f Some changes after review. 2017-04-18 11:40:00 +02:00
Morgan
fb58809c20 Update contracts.rst 2017-04-17 21:41:28 -04:00
Andy Milenius
ab0a0ab05d Update index.rst 2017-04-14 19:01:57 -07:00
Abraham Sangha
98242f5409 minor: fix formatting and grammar 2017-04-14 19:05:53 -06:00
Chandan Kumar
66165ff753 Update common-patterns.rst 2017-04-14 09:27:14 +05:30
Alex Beregszaszi
138c952a1a Merge pull request #2114 from ethereum/compilerstack-gasestimate
Move gasEstimate into CompilerStack
2017-04-13 02:37:18 +01:00
Alex Beregszaszi
54dcb0e11b Keep gas values as a string in CompilerStack::gasEstimate 2017-04-13 02:18:29 +01:00
Alex Beregszaszi
fe4fccaaf2 The gasEstimates objects must always be present in the jsonCompiler even if empty (backwards compat) 2017-04-13 02:17:40 +01:00