aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update frequently-asked-questions.rstJames Ray2017-06-301-1/+1
|
* Silence implicit fallthrough warning for gcc > 7Lefteris Karapetsas2017-06-291-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-solcjschriseth2017-06-293-1/+68
|\ | | | | Run solc-js tests on emscripten build
| * Use BuildInfo.h to retrieve versionAlex Beregszaszi2017-06-291-1/+14
| |
| * Run solc-js tests on emscripten buildAlex Beregszaszi2017-06-293-1/+55
| |
* | Merge pull request #2418 from benjaminion/lll-macro-testschriseth2017-06-291-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.benjaminion2017-06-281-2/+196
| |/
* | Merge pull request #2457 from ethereum/fixNegativeStackHeightAlex Beregszaszi2017-06-295-1/+41
|\ \ | | | | | | Fix negative stack height
| * | Document appendFunctionSelectorAlex Beregszaszi2017-06-291-0/+4
| | |
| * | Stack adjustment and code generation for fallback function.chriseth2017-06-291-4/+6
| | | | | | | | | | | | This assumes that the fallback function does not have return parameters.
| * | Fix negative stack size checks.chriseth2017-06-284-0/+13
| | |
| * | Test for negative stack height.chriseth2017-06-281-0/+21
| |/
* | Merge pull request #2471 from ethereum/ast-literalchriseth2017-06-293-7/+16
|\ \ | |/ |/| Add hasHexPrefix() to AST::Literal
| * Use boost::starts_withAlex Beregszaszi2017-06-291-1/+1
| |
| * Rename to isHexNumber()Alex Beregszaszi2017-06-293-5/+5
| |
| * Add hasHexPrefix() to AST::LiteralAlex Beregszaszi2017-06-283-7/+16
|/
* Merge pull request #2462 from ethereum/lll-fix-defchriseth2017-06-282-12/+31
|\ | | | | LLL: fix redefinitions on some compilers
| * LLL: fix redefinitions on some compilersAlex Beregszaszi2017-06-242-12/+31
| |
* | Merge pull request #2451 from ethereum/warnVarInLoopchriseth2017-06-284-12/+100
|\ \ | | | | | | Warn var in loop
| * | Verbose error message test failure.chriseth2017-06-281-1/+10
| | |
| * | Give min and max values in warning message.chriseth2017-06-282-3/+29
| | |
| * | Changelog entry.chriseth2017-06-281-0/+1
| | |
| * | Adjust other tests.chriseth2017-06-281-8/+8
| | |
| * | Fix test error reporting if we ignore warnings.chriseth2017-06-281-3/+9
| | |
| * | Update tests themselveschriseth2017-06-281-2/+2
| | |
| * | Warn if using var x = 0chriseth2017-06-281-0/+24
| | |
| * | Test for var i = 0;chriseth2017-06-281-0/+22
|/ /
* | Merge pull request #2464 from federicobond/deprecate-function-type-nameschriseth2017-06-274-2/+36
|\ \ | | | | | | Warn deprecated usage of parameter names in function types
| * | Warn deprecated usage of parameter names in function typesFederico Bond2017-06-274-2/+36
| | |
* | | Merge pull request #2413 from ethereum/utf8-strict-parserchriseth2017-06-273-11/+291
|\ \ \ | | | | | | | | Implement strict UTF-8 validation
| * \ \ Merge branch 'develop' into utf8-strict-parserchriseth2017-06-2710-28/+223
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2437 from ethereum/warnDoubleCopyStorageAlex Beregszaszi2017-06-275-0/+141
|\ \ \ \ | | | | | | | | | | Warn about copies in storage that might overwrite unexpectedly.
| * | | | Some more tests.chriseth2017-06-261-0/+32
| | | | |
| * | | | Test about semantics of "swap" in storage.chriseth2017-06-261-0/+32
| | | | |
| * | | | Warn about copies in storage that might overwrite unexpectedly.chriseth2017-06-264-0/+77
| | | | |
* | | | | Merge pull request #2459 from ethereum/noComparisonForSomeTypesAlex Beregszaszi2017-06-275-5/+61
|\ \ \ \ \ | | | | | | | | | | | | No comparison for some types
| * | | | | Update tests for function type comparisonAlex Beregszaszi2017-06-271-0/+11
| | | | | |
| * | | | | Only allow equality checks for internal function types.chriseth2017-06-261-1/+1
| | | | | |
| * | | | | Disallow comparisons between some types.chriseth2017-06-264-5/+16
| | | | | |
| * | | | | Tests for comparison of non-comparable types.chriseth2017-06-261-0/+34
| |/ / / /
* | | | | Merge pull request #2453 from ethereum/memcopyAsForLoopAlex Beregszaszi2017-06-272-23/+20
|\ \ \ \ \ | |/ / / / |/| | | | Use for loop for assembly memcopy.
| * | | | Comment about zero length.chriseth2017-06-271-0/+2
| | | | |
| * | | | Reformat.chriseth2017-06-261-6/+9
| | | | |
| * | | | Use for loop for assembly memcopy.chriseth2017-06-261-23/+15
| | | | |
| | * | | Add a text corpus to the UTF-8 testsAlex Beregszaszi2017-06-271-0/+113
| | | | |
| | * | | Add comprehensive test for UTF-8 validationAlex Beregszaszi2017-06-271-0/+103
| | | | |
| | * | | Rewrite validateUTF8 using if/elseAlex Beregszaszi2017-06-261-39/+38
| | | | |
| | * | | Rewrite validateUTF8 to use charAlex Beregszaszi2017-06-261-7/+11
| | | | |
| | * | | Validate first byte properly for UTF8Alex Beregszaszi2017-06-261-5/+13
| | | | |
| | * | | Implement strict UTF-8 validationAlex Beregszaszi2017-06-262-2/+54
| |/ / / |/| | |
* | | | Merge pull request #2450 from ethereum/addressstringAlex Beregszaszi2017-06-263-0/+22
|\ \ \ \ | | | | | | | | | | Fix for strings treated as addresses.
| * | | | Changelog entry.chriseth2017-06-221-0/+1
| | | | |
| * | | | Fix strings interpreted as addresses.chriseth2017-06-221-0/+2
| | | | |
| * | | | Check for address-like strings being treated as addresses.chriseth2017-06-221-0/+19
| | | | |
* | | | | Merge pull request #2460 from ethereum/disallowMultiModifierAlex Beregszaszi2017-06-265-0/+41
|\ \ \ \ \ | | | | | | | | | | | | Disallow invoking the same modifier multiple times.
| * | | | | Disallow invoking the same modifier multiple times.chriseth2017-06-245-0/+41
| | |_|_|/ | |/| | |
* | | | | Merge pull request #2442 from ethereum/remove-why3chriseth2017-06-267-1085/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | Remove Why3 generator
| * | | | Remove Why3 generatorAlex Beregszaszi2017-06-257-1085/+3
| |/ / /
* | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimalchriseth2017-06-262-3/+50
|\ \ \ \ | | | | | | | | | | Warn if decimal literals are used in a bytesXX context
| * | | | Warn if decimal literals are used in a bytesXX contextFederico Bond2017-06-242-3/+50
| | | | | | | | | | | | | | | | | | | | Fixes #2349
* | | | | Merge pull request #2298 from ethereum/fixThrowRevertAlex Beregszaszi2017-06-2613-74/+147
|\ \ \ \ \ | |_|/ / / |/| | | | Change invalid opcode to revert for input validation.
| * | | | Clarify exception documentationAlex Beregszaszi2017-06-241-6/+5
| | | | |
| * | | | Review suggestions.chriseth2017-06-244-5/+5
| | | | |
| * | | | Clarify exceptions.chriseth2017-06-243-30/+57
| | | | |
| * | | | Fix tests.chriseth2017-06-242-20/+34
| | | | |
| * | | | Fix location tests.chriseth2017-06-241-2/+2
| | | | |
| * | | | Change invalid opcode to revert for input validation.chriseth2017-06-247-20/+53
|/ / / /
* | | | Merge pull request #2461 from ethereum/fixWindows234chriseth2017-06-241-0/+0
|\ \ \ \ | | | | | | | | | | Update deps: Download boost again for Windows.
| * | | | Update deps: Download boost again for Windows.chriseth2017-06-241-0/+0
|/ / / /
* | | | Merge pull request #2213 from ethereum/jsoncompilerchriseth2017-06-232-120/+90
|\ \ \ \ | | | | | | | | | | Rewrite jsonCompiler using StandardCompiler
| * | | | Rewrite jsonCompiler using StandardCompilerAlex Beregszaszi2017-06-222-120/+90
| | | | |
* | | | | Merge pull request #2455 from LefterisJP/bump_cpp_dependencieschriseth2017-06-231-0/+0
|\ \ \ \ \ | | | | | | | | | | | | Bump cpp-dependencies to include jsoncpp fix
| * | | | | Bump cpp-dependencies to include jsoncpp fixLefteris Karapetsas2017-06-231-0/+0
| | | | | |
* | | | | | Merge pull request #2439 from ethereum/lll-varsAlex Beregszaszi2017-06-233-9/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | LLL: fix variable (set/get/ref) handling
| * | | | | | LLL: remove obsolete headerAlex Beregszaszi2017-06-231-6/+0
| | | | | | |
| * | | | | | LLL: fix the set keyword (create symbol if not present)Alex Beregszaszi2017-06-232-3/+33
| | | | | | |
| * | | | | | LLL: report correct name if a symbol was not foundAlex Beregszaszi2017-06-231-1/+1
| | | | | | |
| * | | | | | LLL: do not allow empty variable namesAlex Beregszaszi2017-06-231-0/+2
| | | | | | |
* | | | | | | Merge pull request #2448 from federicobond/constant-addresseschriseth2017-06-233-5/+16
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Fix address literals not being treated as compile-time constants
| * | | | | | Fix address literals not being treated as compile-time constantsFederico Bond2017-06-232-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.chriseth2017-06-231-0/+10
| | | | | | |
* | | | | | | Merge pull request #2401 from federicobond/update-grammarchriseth2017-06-232-7/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | grammar.txt: Fix grammar for f.gas(p).value(q)() style calls
| * | | | | | | Fix and improve grammar.txtFederico Bond2017-06-232-5/+8
| | | | | | | |
| * | | | | | | grammar.txt: Fix grammar for f.gas(p).value(q)() style callsFederico Bond2017-06-231-4/+11
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge pull request #2443 from ethereum/julia-asm-sizechriseth2017-06-234-4/+35
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Support appendAssemblySize() in AbstractAssembly
| * | | | | | Refactor updateReferenceAlex Beregszaszi2017-06-232-7/+11
| | | | | | |
| * | | | | | Support appendAssemblySize() in AbstractAssemblyAlex Beregszaszi2017-06-234-0/+27
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #2454 from greggdourgarian/patch-1chriseth2017-06-231-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update installing-solidity.rst
| * | | | | | Update installing-solidity.rstgregg dourgarian2017-06-231-1/+1
|/ / / / / / | | | | | | | | | | | | correct spelling of 'release'
* | | | | | Merge pull request #2444 from ethereum/parser-scannerAlex Beregszaszi2017-06-233-5/+25
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Avoid including Scanner.h in ParserBase.h
| * | | | | Avoid including Scanner.h in ParserBase.hAlex Beregszaszi2017-06-233-5/+25
| | | | | |
* | | | | | Merge pull request #2452 from ethereum/fixPassingEmptyStringAlex Beregszaszi2017-06-235-2/+64
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fix passing empty string
| * | | | | Bug list entry.chriseth2017-06-232-1/+39
| | | | | |
| * | | | | Fix ABI encoding of empty string literal.chriseth2017-06-222-1/+2
| | | | | |
| * | | | | Test for passing empty string literal as function argument.chriseth2017-06-221-0/+23
| | | | | |
* | | | | | Merge pull request #2426 from ethereum/miniMoustacheAlex Beregszaszi2017-06-237-0/+364
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Whiskers template system
| * | | | | Changelog entry for Whiskers.chriseth2017-06-221-0/+1
| | | | | |
| * | | | | Document Whiskers.Alex Beregszaszi2017-06-222-0/+21
| | | | | |
| * | | | | Whiskers template systemchriseth2017-06-224-0/+342
| | |_|_|/ | |/| | |
* | | | | Merge pull request #2408 from federicobond/constant-parameterschriseth2017-06-233-1/+29
|\ \ \ \ \ | | | | | | | | | | | | Fix segmentation fault with constant function parameters
| * | | | | Fix segmentation fault with constant function parametersFederico Bond2017-06-223-1/+29
| | |_|_|/ | |/| | |
* | | | | Merge pull request #2423 from federicobond/tuple-grammarchriseth2017-06-231-1/+4
|\ \ \ \ \ | |_|_|/ / |/| | | | Fix grammar for tuple expressions
| * | | | Fix grammar for tuple expressionsFederico Bond2017-06-201-1/+4
| |/ / /
* | | | Merge pull request #2440 from ethereum/lll-includechriseth2017-06-221-1/+7
|\ \ \ \ | |_|/ / |/| | | LLL: better error reporting in (include)
| * | | LLL: report errors if (include) failedAlex Beregszaszi2017-06-221-1/+7
| | | |
* | | | Merge pull request #2446 from benjaminion/lll-fix-msg-6-argsAlex Beregszaszi2017-06-222-1/+19
|\ \ \ \ | |_|_|/ |/| | | LLL: Fix msg macro with six arguments.
| * | | LLL: Fix msg macro with six arguments.benjaminion2017-06-222-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/methodidentifiersAlex Beregszaszi2017-06-225-22/+17
|\ \ \ | | | | | | | | Clean up method identifiers handling in CLI/CompilerStack
| * | | Make compiler.contractDefinition privateAlex Beregszaszi2017-06-222-5/+7
| | | |
| * | | Rework functionHashes into methodIdentifiersAlex Beregszaszi2017-06-225-9/+10
| | | |
| * | | Use compilerStack.functionHashes in StandardCompilerAlex Beregszaszi2017-06-221-9/+1
| |/ /
* | | Merge pull request #2438 from ethereum/exceptions-cleanupAlex Beregszaszi2017-06-2225-85/+43
|\ \ \ | | | | | | | | Cleanup assertions/exceptions includes
| * | | Merge interface/Exceptions and interface/UtilsAlex Beregszaszi2017-06-2220-63/+21
| | | |
| * | | Remove unused errinfo typesAlex Beregszaszi2017-06-222-6/+0
| | | |
| * | | Remove obscure DEV_IGNORE_EXCEPTIONS macroAlex Beregszaszi2017-06-222-4/+14
| | | |
| * | | Use assertThrow where possibleAlex Beregszaszi2017-06-222-12/+8
| | | |
* | | | Merge pull request #2415 from benjaminion/lll-fix-create-macrochriseth2017-06-222-2/+31
|\ \ \ \ | |/ / / |/| | | LLL: Fix for edge case in the create macros.
| * | | LLL: Testcases for the two create built-in macros.benjaminion2017-06-221-0/+28
| | | |
| * | | LLL: Fix for edge case in the create macros.benjaminion2017-06-221-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-ifchriseth2017-06-224-20/+73
|\ \ \ | |/ / |/| | LLL: Replace obsolete assembly code
| * | Replace obsolete assembly code in LLLAlex Beregszaszi2017-06-223-20/+11
| | |
| * | Add tests for when/unless/if in LLLAlex Beregszaszi2017-06-221-0/+62
| | |
* | | Merge pull request #2417 from benjaminion/lll-relabel-ecrecover-macroAlex Beregszaszi2017-06-222-1/+20
|\ \ \ | |/ / |/| | LLL: Correctly label arguments to ecrecover built-in macro.
| * | LLL: Test case for ecrecover built-in macro.benjaminion2017-06-221-0/+19
| | |
| * | LLL: Correctly label arguments to ecrecover built-in macro.benjaminion2017-06-221-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/removedebugbreakAlex Beregszaszi2017-06-223-163/+3
|\ \ | | | | | | Remove debugbreak.
| * | Remove debugbreak.chriseth2017-06-213-163/+3
| | |
* | | Merge pull request #2429 from DillonBArevalo/fix-votingchriseth2017-06-211-4/+4
|\ \ \ | |/ / |/| | Add weight == 0 condition to giveRightToVote function
| * | Add weight == 0 condition to giveRightToVote functionDillon Arevalo2017-06-211-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/fixWindowschriseth2017-06-212-4/+5
|\ \ | |/ |/| This might fix our windows tests.
| * This might fix our windows tests.chriseth2017-06-202-4/+5
|/
* Merge pull request #2407 from jamesray1/patch-7chriseth2017-06-191-1/+1
|\ | | | | Link for the semantic versioner for npm
| * Update layout-of-source-files.rstchriseth2017-06-191-2/+2
| |
| * Link for the semantic versioner for npmJames Ray2017-06-151-2/+2
| |
* | Merge pull request #2409 from federicobond/trailing-commas-2chriseth2017-06-191-3/+9
|\ \ | | | | | | Improve error reporting of trailing commas
| * | Improve error reporting of trailing commasFederico Bond2017-06-161-3/+9
| |/
* | Merge pull request #2416 from federicobond/multiple-specifierschriseth2017-06-192-0/+24
|\ \ | | | | | | Display error if payable or constant is specified multiple times
| * | Display error if payable or constant is specified multiple timesFederico Bond2017-06-172-0/+24
| | |
* | | Merge pull request #2225 from ethereum/julia-forchriseth2017-06-1921-143/+347
|\ \ \ | |/ / |/| | Implement for statement in assembly parser / printer / code generator
| * | Test for variable redeclaration in for loopsAlex Beregszaszi2017-06-161-0/+5
| | |
| * | Fix test.chriseth2017-06-161-1/+1
| | |
| * | Mention functions in changelog.chriseth2017-06-161-0/+1
| | |
| * | Set source location for for start label.chriseth2017-06-161-0/+1
| | |
| * | Helper for visiting statements.chriseth2017-06-162-3/+10
| | |
| * | Some more parsing tests.chriseth2017-06-161-0/+14
| | |
| * | Functionality tests for for.chriseth2017-06-161-0/+49
| | |
| * | Changelog and documentation.chriseth2017-06-162-26/+15
| | |
| * | Code generation for for-loops.chriseth2017-06-161-6/+38
| | |
| * | Split block code generation into main and finalize.chriseth2017-06-164-25/+29
| | |
| * | Some more tests.chriseth2017-06-161-2/+14
| | |
| * | Helper to count the number of variables in a scope.chriseth2017-06-164-6/+14
| | |
| * | Add include file to forward-declare inline assembly structs.chriseth2017-06-167-77/+65
| | |
| * | For loops analysis.chriseth2017-06-162-4/+41
| | |
| * | Parse for statement in assembly parser / printerAlex Beregszaszi2017-06-1613-18/+75
| |/
* | Merge pull request #2373 from jamesray1/patch-14chriseth2017-06-161-1/+1
|\ \ | | | | | | Changed to "is compiled" rather than "maps" to the DVM op code to avoid ambiguity
| * | Create types.rstJames Ray2017-06-151-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.rstJames Ray2017-06-121-1/+1
| | | | | | | | | Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings)`_
* | | Merge pull request #2386 from ethereum/utf8-fixchriseth2017-06-163-1/+12
|\ \ \ | | | | | | | | Fix UTF-8 validation for high codepoints (>10000)
| * | | Changelog entry.chriseth2017-06-161-0/+1
| | | |
| * | | Fix UTF-8 validation for high codepoints (>10000)Alex Beregszaszi2017-06-162-1/+11
|/ / /
* | | Merge pull request #2411 from federicobond/recover-parserchriseth2017-06-161-13/+22
|\ \ \ | |_|/ |/| | Try to recover from parser errors where possible
| * | Try to recover from parser errors where possibleFederico Bond2017-06-161-13/+22
|/ /
* | Merge pull request #2402 from ethereum/grammar-updatesAlex Beregszaszi2017-06-151-4/+5
|\ \ | | | | | | Grammar updates (mostly assembly)
| * | Support dialect of assembly in grammarAlex Beregszaszi2017-06-151-1/+1
| | |
| * | Support interface contractsAlex Beregszaszi2017-06-151-1/+1
| | |
| * | Support AssemblyLabel in grammarAlex Beregszaszi2017-06-151-1/+2
| | |
| * | Fix AssemblyAssignment in grammarAlex Beregszaszi2017-06-151-1/+1
| | |
* | | Merge pull request #2397 from ethereum/doublepushchriseth2017-06-155-8/+56
|\ \ \ | | | | | | | | Peephole optimizer for double push.
| * | | Fix lll test.chriseth2017-06-151-1/+1
| | | |
| * | | Peephole optimizer for double push.chriseth2017-06-154-7/+55
| | | |
* | | | Merge pull request #2363 from ethereum/windows_bytecodedirchriseth2017-06-152-4/+5
|\ \ \ \ | | | | | | | | | | Change windows CI to use the same bytecode directory as linux.
| * | | | Change windows CI to use the same bytecode directory as linux.chriseth2017-06-152-4/+5
| |/ / /
* | | | Merge pull request #2382 from ruchevits/combined-json-hasheschriseth2017-06-154-9/+15
|\ \ \ \ | | | | | | | | | | Allow including hashes of method signatures in --combined-json output
| * | | | Reverted functionHashes output to use method signature as keysEdward Ruchevits2017-06-141-1/+1
| | | | |
| * | | | Removed duplicate codeEdward Ruchevits2017-06-141-9/+1
| | | | |
| * | | | Allow including hashes of method signatures in --combined-json outputEdward Ruchevits2017-06-143-0/+14
| | | | |
* | | | | Merge pull request #2398 from ethereum/assembly-cleanupchriseth2017-06-155-22/+18
|\ \ \ \ \ | | | | | | | | | | | | Remove obsolete features from libevmasm
| * | | | | Move subroutine helpers from CompilerContext to AssemblyAlex Beregszaszi2017-06-153-5/+11
| | | | | |
| * | | | | Remove single use Assembly::popToAlex Beregszaszi2017-06-152-3/+3
| | | | | |
| * | | | | Remove obsolete Assembly::outAlex Beregszaszi2017-06-153-10/+3
| | | | | |
| * | | | | Remove obsolete errorTag()Alex Beregszaszi2017-06-153-4/+1
| | |_|/ / | |/| | |
* | | | | Merge pull request #2396 from ethereum/asm-auxchriseth2017-06-153-3/+13
|\ \ \ \ \ | |/ / / / |/| | | | Display auxiliary data in assembly
| * | | | Merge branch 'develop' into asm-auxchriseth2017-06-158-25/+44
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #2192 from winsvega/developAlex Beregszaszi2017-06-158-24/+43
|\ \ \ \ \ | |_|_|/ / |/| | | | add STATICCALL instruction
| * | | | add new opcode instructions to the parserDimitry2017-06-158-24/+43
| | | | | | | | | | | | | | | | | | | | STATICCALL 0xfa 6 inputs (gas address mem1 mem2 mem3 mem4)
| | * | | Match substring in tests to avoid metadata issuesAlex Beregszaszi2017-06-151-2/+2
| | | | |
| | * | | Print auxiliary data in the assemblyAlex Beregszaszi2017-06-153-2/+10
| | | | |
| | * | | Print assembly even if there's no data sectionAlex Beregszaszi2017-06-151-1/+3
| |/ / / |/| | |
* | | | Merge pull request #2381 from ethereum/fixcrashchriseth2017-06-153-5/+16
|\ \ \ \ | | | | | | | | | | Fix a crash about a non-callable expression.
| * | | | Silence compiler warning.chriseth2017-06-141-1/+1
| | | | |
| * | | | Fix a crash about a non-callable expression.chriseth2017-06-143-5/+16
| | | | |
* | | | | Merge pull request #2384 from ethereum/parseFunctionalInstructionschriseth2017-06-154-3/+29
|\ \ \ \ \ | |_|/ / / |/| | | | Enforce function arguments when parsing functional instructions.
| * | | | Clarify functional style.chriseth2017-06-141-2/+4
| | | | |
| * | | | Enforce function arguments when parsing functional instructions.chriseth2017-06-143-1/+25
| | | | |
* | | | | Merge pull request #2394 from ethereum/lll-shiftschriseth2017-06-152-0/+23
|\ \ \ \ \ | | | | | | | | | | | | Support shl/shr in LLL
| * | | | | Support shl/shr in LLLAlex Beregszaszi2017-06-142-0/+23
| |/ / / /
* | | | | Merge pull request #2149 from ethereum/eip-createchriseth2017-06-147-8/+30
|\ \ \ \ \ | | | | | | | | | | | | Introduce CREATE2 in the assembler
| * | | | | Additional test.chriseth2017-06-141-0/+8
| | | | | |
| * | | | | Display user friendly instruction nameAlex Beregszaszi2017-06-141-5/+12
| | | | | |
| * | | | | Issue warning for using CREATE2 in inline assemblyAlex Beregszaszi2017-06-141-2/+3
| | | | | |
| * | | | | Introduce CREATE2 in the assemblerAlex Beregszaszi2017-06-145-3/+9
| | | | | |
* | | | | | Merge pull request #2364 from VoR0220/abiSpecchriseth2017-06-143-0/+348
|\ \ \ \ \ \ | | | | | | | | | | | | | | Bring ABI Spec Into Solidity Documentation
| * | | | | | try to get rid of warningRJ Catalano2017-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: RJ Catalano <rj@monax.io>
| * | | | | | Include abi specs in index and fix styling.chriseth2017-06-133-60/+65
| | | | | | |
| * | | | | | Formatting of heading.chriseth2017-06-121-1/+2
| | | | | | |
| * | | | | | Change fixed number example.chriseth2017-06-121-10/+11
| | | | | | |
| * | | | | | Include structs.chriseth2017-06-121-21/+39
| | | | | | |
| * | | | | | some small fixes to the names and underlining; still need to fix the fixed ↵RJ Catalano2017-06-101-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | point bytecode representation Signed-off-by: RJ Catalano <rj@monax.io>
| * | | | | | begin abi spec translation into solidity docsRJ Catalano2017-06-101-0/+327
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Signed-off-by: RJ Catalano <rj@monax.io>
* | | | | | Merge pull request #2395 from ethereum/json-licenseAlex Beregszaszi2017-06-142-1/+8
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Include license text in emscripten output
| * | | | | Include trailing zero in licenseAlex Beregszaszi2017-06-141-1/+1
| | | | | |
| * | | | | Include license text in emscripten outputAlex Beregszaszi2017-06-141-0/+7
| | |/ / / | |/| | |
* | | | | Merge pull request #2392 from federicobond/disallow-trailing-commaschriseth2017-06-142-4/+20
|\ \ \ \ \ | |/ / / / |/| | | | Forbid trailing commas in named arguments
| * | | | Forbid trailing commas in named argumentsFederico Bond2017-06-142-4/+20
| | | | |
* | | | | Merge pull request #2393 from ethereum/license_char_arraychriseth2017-06-142-2/+9
|\ \ \ \ \ | | | | | | | | | | | | Convert license to character array.
| * | | | | Move 0x to cmake file.chriseth2017-06-142-3/+4
| | | | | |
| * | | | | Convert license to character array.chriseth2017-06-142-2/+8
| | |_|/ / | |/| | |
* | | | | Merge pull request #2331 from ethereum/ASTDocumentationEntrychriseth2017-06-144-6/+37
|\ \ \ \ \ | | | | | | | | | | | | documentation field added to ContractDefinition-Node
| * | | | | tests for non-legacy modedjudjuu2017-06-071-0/+8
| | | | | |
| * | | | | new test case and indentation fixdjudjuu2017-06-062-4/+26
| | | | | |
| * | | | | adjusted test-casesdjudjuu2017-05-312-2/+2
| | | | | |
| * | | | | documentation field added to ContractDefinition-Nodedjudjuu2017-05-311-0/+1
| | | | | |
* | | | | | Merge pull request #2327 from ethereum/assembler-objectchriseth2017-06-143-7/+37
|\ \ \ \ \ \ | | | | | | | | | | | | | | Return assembler object in AssemblyStack
| * | | | | | Nicer machine output in CLIAlex Beregszaszi2017-06-091-1/+8
| | | | | | |
| * | | | | | Supply text representation of assemblyAlex Beregszaszi2017-06-092-1/+7
| | | | | | |
| * | | | | | Introduce MachineAssemblyObjectAlex Beregszaszi2017-06-093-6/+23
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #2390 from travs/patch-1chriseth2017-06-141-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add linter-solium
| * | | | | | Add linter-soliumTravis Jacobs2017-06-141-0/+3
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #2389 from ethereum/moveLabelIDschriseth2017-06-146-58/+65
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Move LabelIDs to generation phase.
| * | | | | Move "active variable" to analysis phase.chriseth2017-06-143-16/+10
| | | | | |
| * | | | | Remove struct constructor.chriseth2017-06-142-2/+1
| | | | | |
| * | | | | Move stack height to generation phase.chriseth2017-06-143-11/+9
| | | | | |
| * | | | | Move LabelIDs to generation phase.chriseth2017-06-143-31/+47
| | | | | |
* | | | | | Merge pull request #2354 from benjaminion/patch-2Alex Beregszaszi2017-06-142-1/+38
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | LLL: fix handling of "sha3" expression
| * | | | | LLL: fix handling of "sha3" expressionbenjaminion2017-06-142-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.
* | | | | Merge pull request #2350 from benjaminion/patch-1Yoichi Hirai2017-06-142-4/+1
|\ \ \ \ \ | | | | | | | | | | | | Change LLL opcode generated by "panic" to INVALID
| * | | | | Change opcode generated by (panic) to INVALIDbenjaminion2017-06-142-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EIP-141 ethereum/EIPs#141 has preserved 0xfe as an invalid opcode for aborting EVM execution. The EVM assembler supports this via the INVALID opcode. The LLL "panic" expression used to generate a jump to an invalid location in order to abort EVM execution. This change brings "panic" into line with EIP-141 by generating the INVALID opcode instead.
* | | | | | Clarify statement about receiving etherchriseth2017-06-141-1/+2
| |_|_|_|/ |/| | | | | | | | | Fixes #2377
* | | | | Merge pull request #2275 from ethereum/returndata_lllchriseth2017-06-1313-6/+108
|\ \ \ \ \ | |/ / / / |/| | | | Add RETURNDATACOPY and RETURNDATASIZE to assembly (and LLL)
| * | | | Add a warning about a varialbe of the name of an instructionYoichi Hirai2017-06-134-1/+28
| | | | |
| * | | | Add a failing test as suggested inYoichi Hirai2017-06-131-0/+9
| | | | | | | | | | | | | | | | | | | | https://github.com/ethereum/solidity/pull/2275#discussion_r121438333
| * | | | Add a test about checking a warningYoichi Hirai2017-06-131-2/+14
| | | | |
| * | | | test: Add different styles of returndatacopy and returndatasizeYoichi Hirai2017-06-131-0/+10
| | | | |
| * | | | Warn if returndatasize/returndatacopy is usedAlex Beregszaszi2017-06-132-1/+20
| | | | |
| * | | | Mention RETURNDATACOPY in GasMeter and SemanticInformationYoichi Hirai2017-06-132-0/+4
| | | | |
| * | | | Add a changelog entryYoichi Hirai2017-06-131-3/+4
| | | | |
| * | | | libevmasm: add RETURNDATACOPY and RETURNDATASIZEYoichi Hirai2017-06-134-0/+20
| | | | |
* | | | | Merge pull request #2353 from ethereum/license_outputAlex Beregszaszi2017-06-133-3/+31
|\ \ \ \ \ | |/ / / / |/| | | | Include license and warranty statement with solc.
| * | | | Remove copyright notice.chriseth2017-06-121-1/+0
| | | | |
| * | | | Include license and warranty statement with solc.chriseth2017-06-093-3/+32
| | | | |