Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2494 from ethereum/remove-why3 | chriseth | 2017-07-01 | 8 | -45/+2 |
|\ | | | | | Remove last remains of Why3 | ||||
| * | Remove parsing of why3 doc strings | Alex Beregszaszi | 2017-07-01 | 3 | -14/+2 |
| | | |||||
| * | Remove Why3 error class | Alex Beregszaszi | 2017-07-01 | 5 | -31/+0 |
| | | |||||
* | | Merge pull request #2498 from ethereum/enum_conversion | chriseth | 2017-07-01 | 1 | -0/+44 |
|\ \ | |/ |/| | [WIP] Disallow storing invalid booleans | ||||
| * | test: add a test passing an invalid boolean value as an event argument | Yoichi Hirai | 2017-07-01 | 1 | -0/+15 |
| | | | | | | | | Fixes #1381 | ||||
| * | test: add an assertion about storing an invalid boolean into the memory | Yoichi Hirai | 2017-07-01 | 1 | -0/+8 |
| | | |||||
| * | test: add a test about storing an invalid boolean | Yoichi Hirai | 2017-07-01 | 1 | -0/+21 |
|/ | |||||
* | Merge pull request #2445 from ethereum/inlineasm-warn-jump | Alex Beregszaszi | 2017-07-01 | 4 | -27/+45 |
|\ | | | | | Warn on JUMP/JUMPI in inline assembly | ||||
| * | Correctly check for jump warnings | Alex Beregszaszi | 2017-07-01 | 1 | -27/+29 |
| | | |||||
| * | Warn on JUMP/JUMPI in inline assembly | Alex Beregszaszi | 2017-07-01 | 4 | -4/+20 |
|/ | |||||
* | Merge pull request #2491 from ethereum/warnAboutCallcode | Alex Beregszaszi | 2017-07-01 | 3 | -1/+35 |
|\ | | | | | Warn about callcode. | ||||
| * | Warn about callcode. | chriseth | 2017-06-30 | 3 | -1/+35 |
| | | |||||
* | | Merge pull request #2490 from ethereum/smallJumpOptimization | Alex Beregszaszi | 2017-07-01 | 2 | -3/+9 |
|\ \ | | | | | | | Abort early if there is nothing to encode or decode. | ||||
| * | | Abort early if there is nothing to encode or decode. | chriseth | 2017-06-30 | 2 | -3/+9 |
| |/ | |||||
* | | Merge pull request #2492 from 0x5e5e/patch-1 | chriseth | 2017-06-30 | 1 | -8/+8 |
|\ \ | |/ |/| | Update types.srt | ||||
| * | Update types.srt | Ben Che | 2017-06-30 | 1 | -8/+8 |
|/ | | | Fix minor grammatical/spelling errors. | ||||
* | Silence implicit fallthrough warning for gcc > 7 | Lefteris Karapetsas | 2017-06-29 | 1 | -1/+7 |
| | | | | | | | | | | | In my system I have gcc 7.1.1 and there I get a lot of warnings which fail the build due to implicit fallthroughs in switch statements. Some examples can be seen here: https://gist.github.com/LefterisJP/388c3ba5ad356f92a3b44e7efed89f9f This PR proposes a simple solution, which is to ignore the warning for both gcc and clang. | ||||
* | Merge pull request #2472 from ethereum/emscripten-solcjs | chriseth | 2017-06-29 | 3 | -1/+68 |
|\ | | | | | Run solc-js tests on emscripten build | ||||
| * | Use BuildInfo.h to retrieve version | Alex Beregszaszi | 2017-06-29 | 1 | -1/+14 |
| | | |||||
| * | Run solc-js tests on emscripten build | Alex Beregszaszi | 2017-06-29 | 3 | -1/+55 |
| | | |||||
* | | Merge pull request #2418 from benjaminion/lll-macro-tests | chriseth | 2017-06-29 | 1 | -2/+196 |
|\ \ | | | | | | | LLL: Full set of test cases for the built-in compiler macros. | ||||
| * | | LLL: Full set of test cases for the built-in compiler macros. | benjaminion | 2017-06-28 | 1 | -2/+196 |
| |/ | |||||
* | | Merge pull request #2457 from ethereum/fixNegativeStackHeight | Alex Beregszaszi | 2017-06-29 | 5 | -1/+41 |
|\ \ | | | | | | | Fix negative stack height | ||||
| * | | Document appendFunctionSelector | Alex Beregszaszi | 2017-06-29 | 1 | -0/+4 |
| | | | |||||
| * | | Stack adjustment and code generation for fallback function. | chriseth | 2017-06-29 | 1 | -4/+6 |
| | | | | | | | | | | | | This assumes that the fallback function does not have return parameters. | ||||
| * | | Fix negative stack size checks. | chriseth | 2017-06-28 | 4 | -0/+13 |
| | | | |||||
| * | | Test for negative stack height. | chriseth | 2017-06-28 | 1 | -0/+21 |
| |/ | |||||
* | | Merge pull request #2471 from ethereum/ast-literal | chriseth | 2017-06-29 | 3 | -7/+16 |
|\ \ | |/ |/| | Add hasHexPrefix() to AST::Literal | ||||
| * | Use boost::starts_with | Alex Beregszaszi | 2017-06-29 | 1 | -1/+1 |
| | | |||||
| * | Rename to isHexNumber() | Alex Beregszaszi | 2017-06-29 | 3 | -5/+5 |
| | | |||||
| * | Add hasHexPrefix() to AST::Literal | Alex Beregszaszi | 2017-06-28 | 3 | -7/+16 |
|/ | |||||
* | Merge pull request #2462 from ethereum/lll-fix-def | chriseth | 2017-06-28 | 2 | -12/+31 |
|\ | | | | | LLL: fix redefinitions on some compilers | ||||
| * | LLL: fix redefinitions on some compilers | Alex Beregszaszi | 2017-06-24 | 2 | -12/+31 |
| | | |||||
* | | Merge pull request #2451 from ethereum/warnVarInLoop | chriseth | 2017-06-28 | 4 | -12/+100 |
|\ \ | | | | | | | Warn var in loop | ||||
| * | | Verbose error message test failure. | chriseth | 2017-06-28 | 1 | -1/+10 |
| | | | |||||
| * | | Give min and max values in warning message. | chriseth | 2017-06-28 | 2 | -3/+29 |
| | | | |||||
| * | | Changelog entry. | chriseth | 2017-06-28 | 1 | -0/+1 |
| | | | |||||
| * | | Adjust other tests. | chriseth | 2017-06-28 | 1 | -8/+8 |
| | | | |||||
| * | | Fix test error reporting if we ignore warnings. | chriseth | 2017-06-28 | 1 | -3/+9 |
| | | | |||||
| * | | Update tests themselves | chriseth | 2017-06-28 | 1 | -2/+2 |
| | | | |||||
| * | | Warn if using var x = 0 | chriseth | 2017-06-28 | 1 | -0/+24 |
| | | | |||||
| * | | Test for var i = 0; | chriseth | 2017-06-28 | 1 | -0/+22 |
|/ / | |||||
* | | Merge pull request #2464 from federicobond/deprecate-function-type-names | chriseth | 2017-06-27 | 4 | -2/+36 |
|\ \ | | | | | | | Warn deprecated usage of parameter names in function types | ||||
| * | | Warn deprecated usage of parameter names in function types | Federico Bond | 2017-06-27 | 4 | -2/+36 |
| | | | |||||
* | | | Merge pull request #2413 from ethereum/utf8-strict-parser | chriseth | 2017-06-27 | 3 | -11/+291 |
|\ \ \ | | | | | | | | | Implement strict UTF-8 validation | ||||
| * \ \ | Merge branch 'develop' into utf8-strict-parser | chriseth | 2017-06-27 | 10 | -28/+223 |
| |\ \ \ | |/ / / |/| | | | |||||
* | | | | Merge pull request #2437 from ethereum/warnDoubleCopyStorage | Alex Beregszaszi | 2017-06-27 | 5 | -0/+141 |
|\ \ \ \ | | | | | | | | | | | Warn about copies in storage that might overwrite unexpectedly. | ||||
| * | | | | Some more tests. | chriseth | 2017-06-26 | 1 | -0/+32 |
| | | | | | |||||
| * | | | | Test about semantics of "swap" in storage. | chriseth | 2017-06-26 | 1 | -0/+32 |
| | | | | | |||||
| * | | | | Warn about copies in storage that might overwrite unexpectedly. | chriseth | 2017-06-26 | 4 | -0/+77 |
| | | | | | |||||
* | | | | | Merge pull request #2459 from ethereum/noComparisonForSomeTypes | Alex Beregszaszi | 2017-06-27 | 5 | -5/+61 |
|\ \ \ \ \ | | | | | | | | | | | | | No comparison for some types | ||||
| * | | | | | Update tests for function type comparison | Alex Beregszaszi | 2017-06-27 | 1 | -0/+11 |
| | | | | | | |||||
| * | | | | | Only allow equality checks for internal function types. | chriseth | 2017-06-26 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Disallow comparisons between some types. | chriseth | 2017-06-26 | 4 | -5/+16 |
| | | | | | | |||||
| * | | | | | Tests for comparison of non-comparable types. | chriseth | 2017-06-26 | 1 | -0/+34 |
| |/ / / / | |||||
* | | | | | Merge pull request #2453 from ethereum/memcopyAsForLoop | Alex Beregszaszi | 2017-06-27 | 2 | -23/+20 |
|\ \ \ \ \ | |/ / / / |/| | | | | Use for loop for assembly memcopy. | ||||
| * | | | | Comment about zero length. | chriseth | 2017-06-27 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | Reformat. | chriseth | 2017-06-26 | 1 | -6/+9 |
| | | | | | |||||
| * | | | | Use for loop for assembly memcopy. | chriseth | 2017-06-26 | 1 | -23/+15 |
| | | | | | |||||
| | * | | | Add a text corpus to the UTF-8 tests | Alex Beregszaszi | 2017-06-27 | 1 | -0/+113 |
| | | | | | |||||
| | * | | | Add comprehensive test for UTF-8 validation | Alex Beregszaszi | 2017-06-27 | 1 | -0/+103 |
| | | | | | |||||
| | * | | | Rewrite validateUTF8 using if/else | Alex Beregszaszi | 2017-06-26 | 1 | -39/+38 |
| | | | | | |||||
| | * | | | Rewrite validateUTF8 to use char | Alex Beregszaszi | 2017-06-26 | 1 | -7/+11 |
| | | | | | |||||
| | * | | | Validate first byte properly for UTF8 | Alex Beregszaszi | 2017-06-26 | 1 | -5/+13 |
| | | | | | |||||
| | * | | | Implement strict UTF-8 validation | Alex Beregszaszi | 2017-06-26 | 2 | -2/+54 |
| |/ / / |/| | | | |||||
* | | | | Merge pull request #2450 from ethereum/addressstring | Alex Beregszaszi | 2017-06-26 | 3 | -0/+22 |
|\ \ \ \ | | | | | | | | | | | Fix for strings treated as addresses. | ||||
| * | | | | Changelog entry. | chriseth | 2017-06-22 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Fix strings interpreted as addresses. | chriseth | 2017-06-22 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | Check for address-like strings being treated as addresses. | chriseth | 2017-06-22 | 1 | -0/+19 |
| | | | | | |||||
* | | | | | Merge pull request #2460 from ethereum/disallowMultiModifier | Alex Beregszaszi | 2017-06-26 | 5 | -0/+41 |
|\ \ \ \ \ | | | | | | | | | | | | | Disallow invoking the same modifier multiple times. | ||||
| * | | | | | Disallow invoking the same modifier multiple times. | chriseth | 2017-06-24 | 5 | -0/+41 |
| | |_|_|/ | |/| | | | |||||
* | | | | | Merge pull request #2442 from ethereum/remove-why3 | chriseth | 2017-06-26 | 7 | -1085/+3 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Remove Why3 generator | ||||
| * | | | | Remove Why3 generator | Alex Beregszaszi | 2017-06-25 | 7 | -1085/+3 |
| |/ / / | |||||
* | | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimal | chriseth | 2017-06-26 | 2 | -3/+50 |
|\ \ \ \ | | | | | | | | | | | Warn if decimal literals are used in a bytesXX context | ||||
| * | | | | Warn if decimal literals are used in a bytesXX context | Federico Bond | 2017-06-24 | 2 | -3/+50 |
| | | | | | | | | | | | | | | | | | | | | Fixes #2349 | ||||
* | | | | | Merge pull request #2298 from ethereum/fixThrowRevert | Alex Beregszaszi | 2017-06-26 | 13 | -74/+147 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Change invalid opcode to revert for input validation. | ||||
| * | | | | Clarify exception documentation | Alex Beregszaszi | 2017-06-24 | 1 | -6/+5 |
| | | | | | |||||
| * | | | | Review suggestions. | chriseth | 2017-06-24 | 4 | -5/+5 |
| | | | | | |||||
| * | | | | Clarify exceptions. | chriseth | 2017-06-24 | 3 | -30/+57 |
| | | | | | |||||
| * | | | | Fix tests. | chriseth | 2017-06-24 | 2 | -20/+34 |
| | | | | | |||||
| * | | | | Fix location tests. | chriseth | 2017-06-24 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Change invalid opcode to revert for input validation. | chriseth | 2017-06-24 | 7 | -20/+53 |
|/ / / / | |||||
* | | | | Merge pull request #2461 from ethereum/fixWindows234 | chriseth | 2017-06-24 | 1 | -0/+0 |
|\ \ \ \ | | | | | | | | | | | Update deps: Download boost again for Windows. | ||||
| * | | | | Update deps: Download boost again for Windows. | chriseth | 2017-06-24 | 1 | -0/+0 |
|/ / / / | |||||
* | | | | Merge pull request #2213 from ethereum/jsoncompiler | chriseth | 2017-06-23 | 2 | -120/+90 |
|\ \ \ \ | | | | | | | | | | | Rewrite jsonCompiler using StandardCompiler | ||||
| * | | | | Rewrite jsonCompiler using StandardCompiler | Alex Beregszaszi | 2017-06-22 | 2 | -120/+90 |
| | | | | | |||||
* | | | | | Merge pull request #2455 from LefterisJP/bump_cpp_dependencies | chriseth | 2017-06-23 | 1 | -0/+0 |
|\ \ \ \ \ | | | | | | | | | | | | | Bump cpp-dependencies to include jsoncpp fix | ||||
| * | | | | | Bump cpp-dependencies to include jsoncpp fix | Lefteris Karapetsas | 2017-06-23 | 1 | -0/+0 |
| | | | | | | |||||
* | | | | | | Merge pull request #2439 from ethereum/lll-vars | Alex Beregszaszi | 2017-06-23 | 3 | -9/+35 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | LLL: fix variable (set/get/ref) handling | ||||
| * | | | | | | LLL: remove obsolete header | Alex Beregszaszi | 2017-06-23 | 1 | -6/+0 |
| | | | | | | | |||||
| * | | | | | | LLL: fix the set keyword (create symbol if not present) | Alex Beregszaszi | 2017-06-23 | 2 | -3/+33 |
| | | | | | | | |||||
| * | | | | | | LLL: report correct name if a symbol was not found | Alex Beregszaszi | 2017-06-23 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | LLL: do not allow empty variable names | Alex Beregszaszi | 2017-06-23 | 1 | -0/+2 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #2448 from federicobond/constant-addresses | chriseth | 2017-06-23 | 3 | -5/+16 |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | Fix address literals not being treated as compile-time constants | ||||
| * | | | | | | Fix address literals not being treated as compile-time constants | Federico Bond | 2017-06-23 | 2 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The early return implemented for address literals in TypeChecker was preventing the isPure annotation from getting applied. Closes #2441 | ||||
| * | | | | | | Check for constness of address constant. | chriseth | 2017-06-23 | 1 | -0/+10 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #2401 from federicobond/update-grammar | chriseth | 2017-06-23 | 2 | -7/+17 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | grammar.txt: Fix grammar for f.gas(p).value(q)() style calls | ||||
| * | | | | | | | Fix and improve grammar.txt | Federico Bond | 2017-06-23 | 2 | -5/+8 |
| | | | | | | | | |||||
| * | | | | | | | grammar.txt: Fix grammar for f.gas(p).value(q)() style calls | Federico Bond | 2017-06-23 | 1 | -4/+11 |
| | |_|_|_|_|/ | |/| | | | | | |||||
* | | | | | | | Merge pull request #2443 from ethereum/julia-asm-size | chriseth | 2017-06-23 | 4 | -4/+35 |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | Support appendAssemblySize() in AbstractAssembly | ||||
| * | | | | | | Refactor updateReference | Alex Beregszaszi | 2017-06-23 | 2 | -7/+11 |
| | | | | | | | |||||
| * | | | | | | Support appendAssemblySize() in AbstractAssembly | Alex Beregszaszi | 2017-06-23 | 4 | -0/+27 |
| | |/ / / / | |/| | | | | |||||
* | | | | | | Merge pull request #2454 from greggdourgarian/patch-1 | chriseth | 2017-06-23 | 1 | -1/+1 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Update installing-solidity.rst | ||||
| * | | | | | | Update installing-solidity.rst | gregg dourgarian | 2017-06-23 | 1 | -1/+1 |
|/ / / / / / | | | | | | | | | | | | | correct spelling of 'release' | ||||
* | | | | | | Merge pull request #2444 from ethereum/parser-scanner | Alex Beregszaszi | 2017-06-23 | 3 | -5/+25 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Avoid including Scanner.h in ParserBase.h | ||||
| * | | | | | Avoid including Scanner.h in ParserBase.h | Alex Beregszaszi | 2017-06-23 | 3 | -5/+25 |
| | | | | | | |||||
* | | | | | | Merge pull request #2452 from ethereum/fixPassingEmptyString | Alex Beregszaszi | 2017-06-23 | 5 | -2/+64 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Fix passing empty string | ||||
| * | | | | | Bug list entry. | chriseth | 2017-06-23 | 2 | -1/+39 |
| | | | | | | |||||
| * | | | | | Fix ABI encoding of empty string literal. | chriseth | 2017-06-22 | 2 | -1/+2 |
| | | | | | | |||||
| * | | | | | Test for passing empty string literal as function argument. | chriseth | 2017-06-22 | 1 | -0/+23 |
| | | | | | | |||||
* | | | | | | Merge pull request #2426 from ethereum/miniMoustache | Alex Beregszaszi | 2017-06-23 | 7 | -0/+364 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Whiskers template system | ||||
| * | | | | | Changelog entry for Whiskers. | chriseth | 2017-06-22 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Document Whiskers. | Alex Beregszaszi | 2017-06-22 | 2 | -0/+21 |
| | | | | | | |||||
| * | | | | | Whiskers template system | chriseth | 2017-06-22 | 4 | -0/+342 |
| | |_|_|/ | |/| | | | |||||
* | | | | | Merge pull request #2408 from federicobond/constant-parameters | chriseth | 2017-06-23 | 3 | -1/+29 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix segmentation fault with constant function parameters | ||||
| * | | | | | Fix segmentation fault with constant function parameters | Federico Bond | 2017-06-22 | 3 | -1/+29 |
| | |_|_|/ | |/| | | | |||||
* | | | | | Merge pull request #2423 from federicobond/tuple-grammar | chriseth | 2017-06-23 | 1 | -1/+4 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Fix grammar for tuple expressions | ||||
| * | | | | Fix grammar for tuple expressions | Federico Bond | 2017-06-20 | 1 | -1/+4 |
| |/ / / | |||||
* | | | | Merge pull request #2440 from ethereum/lll-include | chriseth | 2017-06-22 | 1 | -1/+7 |
|\ \ \ \ | |_|/ / |/| | | | LLL: better error reporting in (include) | ||||
| * | | | LLL: report errors if (include) failed | Alex Beregszaszi | 2017-06-22 | 1 | -1/+7 |
| | | | | |||||
* | | | | Merge pull request #2446 from benjaminion/lll-fix-msg-6-args | Alex Beregszaszi | 2017-06-22 | 2 | -1/+19 |
|\ \ \ \ | |_|_|/ |/| | | | LLL: Fix msg macro with six arguments. | ||||
| * | | | LLL: Fix msg macro with six arguments. | benjaminion | 2017-06-22 | 2 | -1/+19 |
|/ / / | | | | | | | | | | | | | | | | The previous macro used the set built-in in a way incompatible with the current implementation of set. This commit updates the macro to be more transparent in how it's working and avoids the use of the set and alloc built-ins. | ||||
* | | | Merge pull request #2404 from ethereum/methodidentifiers | Alex Beregszaszi | 2017-06-22 | 5 | -22/+17 |
|\ \ \ | | | | | | | | | Clean up method identifiers handling in CLI/CompilerStack | ||||
| * | | | Make compiler.contractDefinition private | Alex Beregszaszi | 2017-06-22 | 2 | -5/+7 |
| | | | | |||||
| * | | | Rework functionHashes into methodIdentifiers | Alex Beregszaszi | 2017-06-22 | 5 | -9/+10 |
| | | | | |||||
| * | | | Use compilerStack.functionHashes in StandardCompiler | Alex Beregszaszi | 2017-06-22 | 1 | -9/+1 |
| |/ / | |||||
* | | | Merge pull request #2438 from ethereum/exceptions-cleanup | Alex Beregszaszi | 2017-06-22 | 25 | -85/+43 |
|\ \ \ | | | | | | | | | Cleanup assertions/exceptions includes | ||||
| * | | | Merge interface/Exceptions and interface/Utils | Alex Beregszaszi | 2017-06-22 | 20 | -63/+21 |
| | | | | |||||
| * | | | Remove unused errinfo types | Alex Beregszaszi | 2017-06-22 | 2 | -6/+0 |
| | | | | |||||
| * | | | Remove obscure DEV_IGNORE_EXCEPTIONS macro | Alex Beregszaszi | 2017-06-22 | 2 | -4/+14 |
| | | | | |||||
| * | | | Use assertThrow where possible | Alex Beregszaszi | 2017-06-22 | 2 | -12/+8 |
| | | | | |||||
* | | | | Merge pull request #2415 from benjaminion/lll-fix-create-macro | chriseth | 2017-06-22 | 2 | -2/+31 |
|\ \ \ \ | |/ / / |/| | | | LLL: Fix for edge case in the create macros. | ||||
| * | | | LLL: Testcases for the two create built-in macros. | benjaminion | 2017-06-22 | 1 | -0/+28 |
| | | | | |||||
| * | | | LLL: Fix for edge case in the create macros. | benjaminion | 2017-06-22 | 1 | -2/+3 |
| |/ / | | | | | | | | | | | | | | | | When (msize) is initially zero the previous create commands failed due to the "lll" expression overwriting the memory at 0x00. This fix "reserves" memory location 0x00 before calling msize. If msize is already 32 or greater it has no effect. | ||||
* | | | Merge pull request #2399 from ethereum/lll-if | chriseth | 2017-06-22 | 4 | -20/+73 |
|\ \ \ | |/ / |/| | | LLL: Replace obsolete assembly code | ||||
| * | | Replace obsolete assembly code in LLL | Alex Beregszaszi | 2017-06-22 | 3 | -20/+11 |
| | | | |||||
| * | | Add tests for when/unless/if in LLL | Alex Beregszaszi | 2017-06-22 | 1 | -0/+62 |
| | | | |||||
* | | | Merge pull request #2417 from benjaminion/lll-relabel-ecrecover-macro | Alex Beregszaszi | 2017-06-22 | 2 | -1/+20 |
|\ \ \ | |/ / |/| | | LLL: Correctly label arguments to ecrecover built-in macro. | ||||
| * | | LLL: Test case for ecrecover built-in macro. | benjaminion | 2017-06-22 | 1 | -0/+19 |
| | | | |||||
| * | | LLL: Correctly label arguments to ecrecover built-in macro. | benjaminion | 2017-06-22 | 1 | -1/+1 |
|/ / | | | | | | | (r s v hash) -> (hash v r s) which corresponds to the order that the built-in EVM contract uses. | ||||
* | | Merge pull request #2425 from ethereum/removedebugbreak | Alex Beregszaszi | 2017-06-22 | 3 | -163/+3 |
|\ \ | | | | | | | Remove debugbreak. | ||||
| * | | Remove debugbreak. | chriseth | 2017-06-21 | 3 | -163/+3 |
| | | | |||||
* | | | Merge pull request #2429 from DillonBArevalo/fix-voting | chriseth | 2017-06-21 | 1 | -4/+4 |
|\ \ \ | |/ / |/| | | Add weight == 0 condition to giveRightToVote function | ||||
| * | | Add weight == 0 condition to giveRightToVote function | Dillon Arevalo | 2017-06-21 | 1 | -4/+4 |
|/ / | | | | | | | This will make it so votes can't be deleted accidentally by giving someone with weight > 1 the right to vote again | ||||
* | | Merge pull request #2427 from ethereum/fixWindows | chriseth | 2017-06-21 | 2 | -4/+5 |
|\ \ | |/ |/| | This might fix our windows tests. | ||||
| * | This might fix our windows tests. | chriseth | 2017-06-20 | 2 | -4/+5 |
|/ | |||||
* | Merge pull request #2407 from jamesray1/patch-7 | chriseth | 2017-06-19 | 1 | -1/+1 |
|\ | | | | | Link for the semantic versioner for npm | ||||
| * | Update layout-of-source-files.rst | chriseth | 2017-06-19 | 1 | -2/+2 |
| | | |||||
| * | Link for the semantic versioner for npm | James Ray | 2017-06-15 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #2409 from federicobond/trailing-commas-2 | chriseth | 2017-06-19 | 1 | -3/+9 |
|\ \ | | | | | | | Improve error reporting of trailing commas | ||||
| * | | Improve error reporting of trailing commas | Federico Bond | 2017-06-16 | 1 | -3/+9 |
| |/ | |||||
* | | Merge pull request #2416 from federicobond/multiple-specifiers | chriseth | 2017-06-19 | 2 | -0/+24 |
|\ \ | | | | | | | Display error if payable or constant is specified multiple times | ||||
| * | | Display error if payable or constant is specified multiple times | Federico Bond | 2017-06-17 | 2 | -0/+24 |
| | | | |||||
* | | | Merge pull request #2225 from ethereum/julia-for | chriseth | 2017-06-19 | 21 | -143/+347 |
|\ \ \ | |/ / |/| | | Implement for statement in assembly parser / printer / code generator | ||||
| * | | Test for variable redeclaration in for loops | Alex Beregszaszi | 2017-06-16 | 1 | -0/+5 |
| | | | |||||
| * | | Fix test. | chriseth | 2017-06-16 | 1 | -1/+1 |
| | | | |||||
| * | | Mention functions in changelog. | chriseth | 2017-06-16 | 1 | -0/+1 |
| | | | |||||
| * | | Set source location for for start label. | chriseth | 2017-06-16 | 1 | -0/+1 |
| | | | |||||
| * | | Helper for visiting statements. | chriseth | 2017-06-16 | 2 | -3/+10 |
| | | | |||||
| * | | Some more parsing tests. | chriseth | 2017-06-16 | 1 | -0/+14 |
| | | | |||||
| * | | Functionality tests for for. | chriseth | 2017-06-16 | 1 | -0/+49 |
| | | | |||||
| * | | Changelog and documentation. | chriseth | 2017-06-16 | 2 | -26/+15 |
| | | | |||||
| * | | Code generation for for-loops. | chriseth | 2017-06-16 | 1 | -6/+38 |
| | | | |||||
| * | | Split block code generation into main and finalize. | chriseth | 2017-06-16 | 4 | -25/+29 |
| | | | |||||
| * | | Some more tests. | chriseth | 2017-06-16 | 1 | -2/+14 |
| | | | |||||
| * | | Helper to count the number of variables in a scope. | chriseth | 2017-06-16 | 4 | -6/+14 |
| | | | |||||
| * | | Add include file to forward-declare inline assembly structs. | chriseth | 2017-06-16 | 7 | -77/+65 |
| | | | |||||
| * | | For loops analysis. | chriseth | 2017-06-16 | 2 | -4/+41 |
| | | | |||||
| * | | Parse for statement in assembly parser / printer | Alex Beregszaszi | 2017-06-16 | 13 | -18/+75 |
| |/ | |||||
* | | Merge pull request #2373 from jamesray1/patch-14 | chriseth | 2017-06-16 | 1 | -1/+1 |
|\ \ | | | | | | | Changed to "is compiled" rather than "maps" to the DVM op code to avoid ambiguity | ||||
| * | | Create types.rst | James Ray | 2017-06-15 | 1 | -1/+1 |
| | | | | | | | | | "is compiled" avoids ambiguity compared with "maps", especially for those who may not understand what maps may mean and may confuse it with the "mapping" code keyword | ||||
| * | | Create types.rst | James Ray | 2017-06-12 | 1 | -1/+1 |
| | | | | | | | | | Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings)`_ | ||||
* | | | Merge pull request #2386 from ethereum/utf8-fix | chriseth | 2017-06-16 | 3 | -1/+12 |
|\ \ \ | | | | | | | | | Fix UTF-8 validation for high codepoints (>10000) | ||||
| * | | | Changelog entry. | chriseth | 2017-06-16 | 1 | -0/+1 |
| | | | | |||||
| * | | | Fix UTF-8 validation for high codepoints (>10000) | Alex Beregszaszi | 2017-06-16 | 2 | -1/+11 |
|/ / / | |||||
* | | | Merge pull request #2411 from federicobond/recover-parser | chriseth | 2017-06-16 | 1 | -13/+22 |
|\ \ \ | |_|/ |/| | | Try to recover from parser errors where possible | ||||
| * | | Try to recover from parser errors where possible | Federico Bond | 2017-06-16 | 1 | -13/+22 |
|/ / | |||||
* | | Merge pull request #2402 from ethereum/grammar-updates | Alex Beregszaszi | 2017-06-15 | 1 | -4/+5 |
|\ \ | | | | | | | Grammar updates (mostly assembly) | ||||
| * | | Support dialect of assembly in grammar | Alex Beregszaszi | 2017-06-15 | 1 | -1/+1 |
| | | | |||||
| * | | Support interface contracts | Alex Beregszaszi | 2017-06-15 | 1 | -1/+1 |
| | | | |||||
| * | | Support AssemblyLabel in grammar | Alex Beregszaszi | 2017-06-15 | 1 | -1/+2 |
| | | | |||||
| * | | Fix AssemblyAssignment in grammar | Alex Beregszaszi | 2017-06-15 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #2397 from ethereum/doublepush | chriseth | 2017-06-15 | 5 | -8/+56 |
|\ \ \ | | | | | | | | | Peephole optimizer for double push. | ||||
| * | | | Fix lll test. | chriseth | 2017-06-15 | 1 | -1/+1 |
| | | | | |||||
| * | | | Peephole optimizer for double push. | chriseth | 2017-06-15 | 4 | -7/+55 |
| | | | | |||||
* | | | | Merge pull request #2363 from ethereum/windows_bytecodedir | chriseth | 2017-06-15 | 2 | -4/+5 |
|\ \ \ \ | | | | | | | | | | | Change windows CI to use the same bytecode directory as linux. | ||||
| * | | | | Change windows CI to use the same bytecode directory as linux. | chriseth | 2017-06-15 | 2 | -4/+5 |
| |/ / / | |||||
* | | | | Merge pull request #2382 from ruchevits/combined-json-hashes | chriseth | 2017-06-15 | 4 | -9/+15 |
|\ \ \ \ | | | | | | | | | | | Allow including hashes of method signatures in --combined-json output | ||||
| * | | | | Reverted functionHashes output to use method signature as keys | Edward Ruchevits | 2017-06-14 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Removed duplicate code | Edward Ruchevits | 2017-06-14 | 1 | -9/+1 |
| | | | | | |||||
| * | | | | Allow including hashes of method signatures in --combined-json output | Edward Ruchevits | 2017-06-14 | 3 | -0/+14 |
| | | | | | |||||
* | | | | | Merge pull request #2398 from ethereum/assembly-cleanup | chriseth | 2017-06-15 | 5 | -22/+18 |
|\ \ \ \ \ | | | | | | | | | | | | | Remove obsolete features from libevmasm | ||||
| * | | | | | Move subroutine helpers from CompilerContext to Assembly | Alex Beregszaszi | 2017-06-15 | 3 | -5/+11 |
| | | | | | | |||||
| * | | | | | Remove single use Assembly::popTo | Alex Beregszaszi | 2017-06-15 | 2 | -3/+3 |
| | | | | | | |||||
| * | | | | | Remove obsolete Assembly::out | Alex Beregszaszi | 2017-06-15 | 3 | -10/+3 |
| | | | | | | |||||
| * | | | | | Remove obsolete errorTag() | Alex Beregszaszi | 2017-06-15 | 3 | -4/+1 |
| | |_|/ / | |/| | | | |||||
* | | | | | Merge pull request #2396 from ethereum/asm-aux | chriseth | 2017-06-15 | 3 | -3/+13 |
|\ \ \ \ \ | |/ / / / |/| | | | | Display auxiliary data in assembly | ||||
| * | | | | Merge branch 'develop' into asm-aux | chriseth | 2017-06-15 | 8 | -25/+44 |
| |\ \ \ \ | |/ / / / |/| | | | | |||||
* | | | | | Merge pull request #2192 from winsvega/develop | Alex Beregszaszi | 2017-06-15 | 8 | -24/+43 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | add STATICCALL instruction | ||||
| * | | | | add new opcode instructions to the parser | Dimitry | 2017-06-15 | 8 | -24/+43 |
| | | | | | | | | | | | | | | | | | | | | STATICCALL 0xfa 6 inputs (gas address mem1 mem2 mem3 mem4) | ||||
| | * | | | Match substring in tests to avoid metadata issues | Alex Beregszaszi | 2017-06-15 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Print auxiliary data in the assembly | Alex Beregszaszi | 2017-06-15 | 3 | -2/+10 |
| | | | | | |||||
| | * | | | Print assembly even if there's no data section | Alex Beregszaszi | 2017-06-15 | 1 | -1/+3 |
| |/ / / |/| | | | |||||
* | | | | Merge pull request #2381 from ethereum/fixcrash | chriseth | 2017-06-15 | 3 | -5/+16 |
|\ \ \ \ | | | | | | | | | | | Fix a crash about a non-callable expression. | ||||
| * | | | | Silence compiler warning. | chriseth | 2017-06-14 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Fix a crash about a non-callable expression. | chriseth | 2017-06-14 | 3 | -5/+16 |
| | | | | | |||||
* | | | | | Merge pull request #2384 from ethereum/parseFunctionalInstructions | chriseth | 2017-06-15 | 4 | -3/+29 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Enforce function arguments when parsing functional instructions. | ||||
| * | | | | Clarify functional style. | chriseth | 2017-06-14 | 1 | -2/+4 |
| | | | | | |||||
| * | | | | Enforce function arguments when parsing functional instructions. | chriseth | 2017-06-14 | 3 | -1/+25 |
| | | | | | |||||
* | | | | | Merge pull request #2394 from ethereum/lll-shifts | chriseth | 2017-06-15 | 2 | -0/+23 |
|\ \ \ \ \ | | | | | | | | | | | | | Support shl/shr in LLL | ||||
| * | | | | | Support shl/shr in LLL | Alex Beregszaszi | 2017-06-14 | 2 | -0/+23 |
| |/ / / / | |||||
* | | | | | Merge pull request #2149 from ethereum/eip-create | chriseth | 2017-06-14 | 7 | -8/+30 |
|\ \ \ \ \ | | | | | | | | | | | | | Introduce CREATE2 in the assembler | ||||
| * | | | | | Additional test. | chriseth | 2017-06-14 | 1 | -0/+8 |
| | | | | | | |||||
| * | | | | | Display user friendly instruction name | Alex Beregszaszi | 2017-06-14 | 1 | -5/+12 |
| | | | | | | |||||
| * | | | | | Issue warning for using CREATE2 in inline assembly | Alex Beregszaszi | 2017-06-14 | 1 | -2/+3 |
| | | | | | | |||||
| * | | | | | Introduce CREATE2 in the assembler | Alex Beregszaszi | 2017-06-14 | 5 | -3/+9 |
| | | | | | | |||||
* | | | | | | Merge pull request #2364 from VoR0220/abiSpec | chriseth | 2017-06-14 | 3 | -0/+348 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Bring ABI Spec Into Solidity Documentation | ||||
| * | | | | | | try to get rid of warning | RJ Catalano | 2017-06-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: RJ Catalano <rj@monax.io> | ||||
| * | | | | | | Include abi specs in index and fix styling. | chriseth | 2017-06-13 | 3 | -60/+65 |
| | | | | | | | |||||
| * | | | | | | Formatting of heading. | chriseth | 2017-06-12 | 1 | -1/+2 |
| | | | | | | | |||||
| * | | | | | | Change fixed number example. | chriseth | 2017-06-12 | 1 | -10/+11 |
| | | | | | | | |||||
| * | | | | | | Include structs. | chriseth | 2017-06-12 | 1 | -21/+39 |
| | | | | | | | |||||
| * | | | | | | some small fixes to the names and underlining; still need to fix the fixed ↵ | RJ Catalano | 2017-06-10 | 1 | -15/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | point bytecode representation Signed-off-by: RJ Catalano <rj@monax.io> | ||||
| * | | | | | | begin abi spec translation into solidity docs | RJ Catalano | 2017-06-10 | 1 | -0/+327 |
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | Signed-off-by: RJ Catalano <rj@monax.io> | ||||
* | | | | | | Merge pull request #2395 from ethereum/json-license | Alex Beregszaszi | 2017-06-14 | 2 | -1/+8 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Include license text in emscripten output | ||||
| * | | | | | Include trailing zero in license | Alex Beregszaszi | 2017-06-14 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Include license text in emscripten output | Alex Beregszaszi | 2017-06-14 | 1 | -0/+7 |
| | |/ / / | |/| | | | |||||
* | | | | | Merge pull request #2392 from federicobond/disallow-trailing-commas | chriseth | 2017-06-14 | 2 | -4/+20 |
|\ \ \ \ \ | |/ / / / |/| | | | | Forbid trailing commas in named arguments | ||||
| * | | | | Forbid trailing commas in named arguments | Federico Bond | 2017-06-14 | 2 | -4/+20 |
| | | | | | |||||
* | | | | | Merge pull request #2393 from ethereum/license_char_array | chriseth | 2017-06-14 | 2 | -2/+9 |
|\ \ \ \ \ | | | | | | | | | | | | | Convert license to character array. | ||||
| * | | | | | Move 0x to cmake file. | chriseth | 2017-06-14 | 2 | -3/+4 |
| | | | | | | |||||
| * | | | | | Convert license to character array. | chriseth | 2017-06-14 | 2 | -2/+8 |
| | |_|/ / | |/| | | | |||||
* | | | | | Merge pull request #2331 from ethereum/ASTDocumentationEntry | chriseth | 2017-06-14 | 4 | -6/+37 |
|\ \ \ \ \ | | | | | | | | | | | | | documentation field added to ContractDefinition-Node | ||||
| * | | | | | tests for non-legacy mode | djudjuu | 2017-06-07 | 1 | -0/+8 |
| | | | | | | |||||
| * | | | | | new test case and indentation fix | djudjuu | 2017-06-06 | 2 | -4/+26 |
| | | | | | | |||||
| * | | | | | adjusted test-cases | djudjuu | 2017-05-31 | 2 | -2/+2 |
| | | | | | | |||||
| * | | | | | documentation field added to ContractDefinition-Node | djudjuu | 2017-05-31 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #2327 from ethereum/assembler-object | chriseth | 2017-06-14 | 3 | -7/+37 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Return assembler object in AssemblyStack | ||||
| * | | | | | | Nicer machine output in CLI | Alex Beregszaszi | 2017-06-09 | 1 | -1/+8 |
| | | | | | | | |||||
| * | | | | | | Supply text representation of assembly | Alex Beregszaszi | 2017-06-09 | 2 | -1/+7 |
| | | | | | | | |||||
| * | | | | | | Introduce MachineAssemblyObject | Alex Beregszaszi | 2017-06-09 | 3 | -6/+23 |
| | |_|_|/ / | |/| | | | | |||||
* | | | | | | Merge pull request #2390 from travs/patch-1 | chriseth | 2017-06-14 | 1 | -0/+3 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add linter-solium | ||||
| * | | | | | | Add linter-solium | Travis Jacobs | 2017-06-14 | 1 | -0/+3 |
| | |_|_|/ / | |/| | | | | |||||
* | | | | | | Merge pull request #2389 from ethereum/moveLabelIDs | chriseth | 2017-06-14 | 6 | -58/+65 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Move LabelIDs to generation phase. | ||||
| * | | | | | Move "active variable" to analysis phase. | chriseth | 2017-06-14 | 3 | -16/+10 |
| | | | | | | |||||
| * | | | | | Remove struct constructor. | chriseth | 2017-06-14 | 2 | -2/+1 |
| | | | | | | |||||
| * | | | | | Move stack height to generation phase. | chriseth | 2017-06-14 | 3 | -11/+9 |
| | | | | | | |||||
| * | | | | | Move LabelIDs to generation phase. | chriseth | 2017-06-14 | 3 | -31/+47 |
| | | | | | | |||||
* | | | | | | Merge pull request #2354 from benjaminion/patch-2 | Alex Beregszaszi | 2017-06-14 | 2 | -1/+38 |
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | LLL: fix handling of "sha3" expression | ||||
| * | | | | | LLL: fix handling of "sha3" expression | benjaminion | 2017-06-14 | 2 | -1/+38 |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | When PR #2317 changed the EVM opcode from SHA3 to KECCAK256 it broke the `(sha3 loc len)` expression in LLL. This PR fixes things while allowing existing code using the sha3 expression (such as the ENS registrar) to continue to compile. I.e. both `(keccak256 loc len)` and `(sha3 loc len)` may be used, and the existing related sha3 macros continue to work. Three end-to-end test cases have been added for kekkac256 and sha3. |