Commit Graph

7588 Commits

Author SHA1 Message Date
chriseth
0185f3cbf6 Correct stack height adjustment after returnsub. 2017-06-08 15:52:45 +02:00
chriseth
ba5ee71b7f Generate only single error in inline assembly. 2017-06-08 15:52:45 +02:00
chriseth
b75c7b5775 Move inline assembly to new abstraction and test both backends. 2017-06-08 15:52:45 +02:00
chriseth
fefd3b866d Introduce machine-dependent stack adjustment. 2017-06-08 15:52:45 +02:00
chriseth
64ddb176bb Test for accessing outer inline assembly scope. 2017-06-08 15:52:45 +02:00
chriseth
97cc968a13 Initial EVM1.5 assembly implementation. 2017-06-08 15:52:44 +02:00
chriseth
21e0b69dcb Merge pull request #2348 from ethereum/asmstack-analyze
Add analyze() to AssemblyStack
2017-06-08 15:45:41 +02:00
Yoichi Hirai
51fcfbcf3f Merge pull request #2351 from AndreMiras/patch-1
Update installing-solidity.rst on Gentoo Linux
2017-06-08 11:48:10 +02:00
AndreMiras
997eb68956 Update installing-solidity.rst on Gentoo Linux
Gentoo Linux solidity install instructions.
2017-06-08 00:20:15 +02:00
Alex Beregszaszi
aa310f9fec Refactor AssemblyStack 2017-06-07 14:42:22 +01:00
Alex Beregszaszi
502304f30b Add analyze(block) to AssemblyStack 2017-06-07 14:42:22 +01:00
Alex Beregszaszi
937c208320 Reset error list in parseAndAnalyze 2017-06-07 14:41:44 +01:00
chriseth
1fba984966 Merge pull request #2332 from ethereum/fixLiteralPrint
fix Literalprint
2017-06-06 15:09:48 +02:00
chriseth
243e389fd7 Merge pull request #2341 from ethernomad/patch-3
for free => automatically
2017-06-06 15:02:34 +02:00
chriseth
60f9fee40b Merge pull request #2342 from roadriverrail/ignore_qtcreator_settings
Ignore qtcreator settings
2017-06-06 15:01:34 +02:00
chriseth
1c30a71c4a Merge pull request #2345 from ethereum/logo
Include logo in documentation
2017-06-06 15:01:10 +02:00
djudjuu
62eafdd010 adjusted testcase and renaming 2017-06-06 13:26:23 +02:00
Alex Beregszaszi
766df192b9 Include logo in intro 2017-06-05 11:25:48 +01:00
Alex Beregszaszi
5f4df5651b Import logo from browser-solidity#16e74469 2017-06-05 11:20:35 +01:00
Rhett Aultman
964dc31fa5 Ignore the CMakeLists.txt.user qtcreator makes
qtcreator stores its settings in the file CMakeLists.txt.user,
and it should be ignored like the other IDE files
2017-06-03 07:48:12 -07:00
Jonathan Brown
8595bc7122 for free => automatically
Getters still use gas when called from another contract, so they are not free.
2017-06-03 14:12:33 +07:00
chriseth
b4ae188a0f Merge pull request #2336 from ethereum/expectExpression
Refactor to use expectExpression in analyzer.
2017-06-01 15:57:28 +02:00
chriseth
d5408f78ad Add comma. 2017-06-01 15:56:49 +02:00
chriseth
96de7a8326 Merge pull request #2335 from ethereum/compilerstack-cleanup
Remove obsolete CompilerStack methods
2017-06-01 15:33:35 +02:00
chriseth
40f3e4413b Improved error message. 2017-06-01 15:31:07 +02:00
Alex Beregszaszi
998ca552b8 Fix state after CompilerStack.reset() 2017-06-01 13:44:08 +01:00
chriseth
05004253ba Refactor to use expectExpression in analyzer. 2017-06-01 14:28:39 +02:00
Alex Beregszaszi
c212d7c2e6 Remove unused functions from CompilerStack 2017-06-01 13:28:05 +01:00
djudjuu
597bf8a43d fix Literalprint 2017-05-30 19:53:32 +02:00
chriseth
d4a57d81ba Merge pull request #2317 from ethereum/keccak256
Use keccak256 in tests and replace the SHA3 instruction in assembly
2017-05-30 19:34:28 +02:00
chriseth
254b55728f Merge pull request #2264 from roadriverrail/refactor_error_log
Refactor error reporting
2017-05-30 16:45:36 +02:00
Rhett Aultman
89b60ffbd4 Refactor error reporting
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
2017-05-30 07:28:31 -07:00
Alex Beregszaszi
dcb7c51920 Add inline assembly test for sha3/keccak256 2017-05-30 13:57:44 +01:00
Alex Beregszaszi
524a52660d Document keccak256 in assembly 2017-05-30 12:33:04 +01:00
Alex Beregszaszi
59d3a9d169 Add changelog entry for keccak256 2017-05-30 12:33:04 +01:00
Alex Beregszaszi
ff33297786 Add test for sha3() == keccak256() 2017-05-30 12:33:04 +01:00
Alex Beregszaszi
9e1c509cf5 Use keccak256() in tests (and not sha3()) 2017-05-30 12:33:04 +01:00
Alex Beregszaszi
75e4a2be1b Alias sha3 to keccak256 in inline assembly 2017-05-30 10:54:29 +01:00
Alex Beregszaszi
0c8beac357 Rename the SHA3 assembly instruction to KECCAK256 2017-05-30 10:54:29 +01:00
Alex Beregszaszi
0066a08aa8 Merge pull request #2322 from ethereum/userealhash
Use actual hash.
2017-05-29 20:04:45 +01:00
chriseth
8b29cc5535 Merge pull request #2319 from ethereum/virtualBlocks
Introduce virtual blocks for function arguments.
2017-05-29 16:52:51 +02:00
chriseth
4af55c78eb Introduce virtual blocks for function arguments. 2017-05-29 16:18:16 +02:00
chriseth
9822deeed9 Merge pull request #2321 from ethereum/labelid_typedef
Introduce LabelID typedef.
2017-05-29 16:14:22 +02:00
chriseth
6d8afab928 Use actual hash. 2017-05-29 15:53:15 +02:00
chriseth
9adff68ecc Introduce LabelID typedef. 2017-05-29 15:40:32 +02:00
chriseth
002df12d13 Merge pull request #2287 from ethereum/legacyAstCLI
add legacy/compact AST-format options to CLI
2017-05-29 14:24:55 +02:00
chriseth
2c4a107f43 Merge pull request #2311 from ethereum/julia-types
Validate types for Julia (part 1)
2017-05-29 14:12:38 +02:00
chriseth
4a5dc6a4ea Merge pull request #2312 from ethereum/parser-cleanup
Parser cleanup (remove dependency on Solidity AST)
2017-05-29 14:04:01 +02:00
Alex Beregszaszi
751c97ca19 Pull out common code to a helper 2017-05-26 21:40:14 +01:00
Alex Beregszaszi
48f58aa3f9 Remove duplicate code 2017-05-26 21:02:31 +01:00