Commit Graph

7439 Commits

Author SHA1 Message Date
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
Alex Beregszaszi
3fbb48bd46 Exclude fallback function from the internal functions in estimateGas 2017-04-13 02:17:40 +01:00
Alex Beregszaszi
328f2b0a8e Use new gasEstimate in CLI 2017-04-13 02:17:40 +01:00
Alex Beregszaszi
d90fd439e2 Use new gasEstimate in jsonCompiler 2017-04-13 02:17:40 +01:00
Alex Beregszaszi
e6221108b6 Move gasEstimate into CompilerStack 2017-04-13 02:17:37 +01:00
chriseth
8ebea783f4 Initialize local variables. 2017-04-12 16:30:27 +02:00
chriseth
10c32362ea Prefix all optimizer bug names by Optimizer. 2017-04-12 15:37:06 +02:00
chriseth
feacfcfd20 Typo and more explanation. 2017-04-12 15:35:25 +02:00
chriseth
a7e605a7a1 Create and update bugs by version list. 2017-04-12 15:20:07 +02:00
chriseth
291ece2bdb List of known bugs. 2017-04-12 12:23:34 +02:00
chriseth
4d715e9055 Implement missing assembly output functions and do not use PushString for assembly. 2017-04-11 19:54:44 +02:00
Alex Beregszaszi
bd48f181b5 Merge pull request #2098 from ethereum/sourceformatter
Introduce formatExceptionInformation
2017-04-10 14:46:59 +01:00