Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enforce commas in tuple syntax | Federico Bond | 2017-08-12 | 1 | -0/+12 |
| | |||||
* | Merge pull request #2730 from ethereum/indented-writer | chriseth | 2017-08-12 | 1 | -0/+75 |
|\ | | | | | Introduce IndentedWriter | ||||
| * | Introduce IndentedWriter | Alex Beregszaszi | 2017-08-11 | 1 | -0/+75 |
| | | |||||
* | | Merge pull request #2712 from ethereum/experimental-metadata | Alex Beregszaszi | 2017-08-12 | 2 | -7/+37 |
|\ \ | | | | | | | Store experimental flag in metadata CBOR | ||||
| * | | Output experimental flag in metadata only for risky features | Alex Beregszaszi | 2017-08-11 | 1 | -0/+1 |
| | | | |||||
| * | | Store experimental flag in metadata CBOR | Alex Beregszaszi | 2017-08-11 | 1 | -0/+29 |
| | | | |||||
| * | | Add __test experimental mode for testing | Alex Beregszaszi | 2017-08-11 | 1 | -7/+7 |
| |/ | |||||
* / | Amend expected test messages for SolidityNameAndTypeResolution | Zhen Zhang | 2017-08-11 | 1 | -168/+168 |
|/ | |||||
* | Merge pull request #2700 from ethereum/abiTests | Alex Beregszaszi | 2017-08-10 | 3 | -0/+354 |
|\ | | | | | Some more ABI tests. | ||||
| * | Some more ABI tests. | chriseth | 2017-08-10 | 3 | -0/+354 |
| | | |||||
* | | Add tests for experimental pragma | Alex Beregszaszi | 2017-08-10 | 1 | -0/+37 |
|/ | |||||
* | Show previous visibility specifier in parser error | Alex Beregszaszi | 2017-08-09 | 1 | -2/+2 |
| | |||||
* | Add test for multiple visibilites on functions | Alex Beregszaszi | 2017-08-09 | 1 | -1/+6 |
| | |||||
* | Disable unimplemented library functions instead | Alex Beregszaszi | 2017-08-08 | 1 | -12/+10 |
| | |||||
* | Raise error when using unimplemented internal library functions. | Alex Beregszaszi | 2017-08-08 | 1 | -0/+24 |
| | |||||
* | Constructors must be implemented if declared. | Alex Beregszaszi | 2017-08-05 | 1 | -39/+11 |
| | |||||
* | Merge pull request #2687 from ethereum/show-unimplemented-funcs | Alex Beregszaszi | 2017-08-05 | 1 | -8/+8 |
|\ | | | | | Show unimplemented function if trying to instantiate an abstract class | ||||
| * | Fix tests to use unimplementedFunctions | Alex Beregszaszi | 2017-08-04 | 1 | -8/+8 |
| | | |||||
* | | Three more tests for shadowing. | chriseth | 2017-08-05 | 1 | -0/+30 |
| | | |||||
* | | Do not mark overloaded functions as shadowing | Alex Beregszaszi | 2017-08-05 | 1 | -0/+11 |
|/ | |||||
* | Merge pull request #2673 from ethereum/builtin-gas | chriseth | 2017-08-04 | 2 | -15/+24 |
|\ | | | | | Disallow gas modifier on sha256/ripemd160/ecrecover | ||||
| * | Disallow gas modifier on sha255/ripemd160/ecrecover | Alex Beregszaszi | 2017-08-02 | 2 | -15/+24 |
| | | |||||
* | | Add test for call/callcode/delegatecall to invalid address | Alex Beregszaszi | 2017-08-02 | 1 | -0/+22 |
| | | |||||
* | | .delegatecall() should always return a boolean of execution status | Alex Beregszaszi | 2017-08-02 | 1 | -0/+36 |
|/ | |||||
* | Add test for tight packing keccak256/sha256/ripemd160 | Alex Beregszaszi | 2017-08-01 | 1 | -0/+81 |
| | |||||
* | Add test for disallowed gas/value modifiers on builtins | Alex Beregszaszi | 2017-08-01 | 1 | -1/+49 |
| | |||||
* | Fix import error check for release version. | chriseth | 2017-07-31 | 1 | -4/+5 |
| | |||||
* | Use keccak256 instead of sha3 | chriseth | 2017-07-28 | 1 | -1/+1 |
| | |||||
* | Test case for invalid ecrecover call. | chriseth | 2017-07-28 | 1 | -0/+47 |
| | |||||
* | Merge pull request #2635 from ethereum/fixCrashOnAssignmentToNonLValue | Alex Beregszaszi | 2017-07-27 | 1 | -0/+14 |
|\ | | | | | Fix crash on assignment to non-LValue | ||||
| * | Test for assigning to non-lvalue. | chriseth | 2017-07-26 | 1 | -0/+14 |
| | | |||||
* | | Re-allow multiple modifiers per function. | chriseth | 2017-07-27 | 2 | -1/+29 |
| | | |||||
* | | Merge pull request #2650 from ethereum/metadata-test-fix | chriseth | 2017-07-27 | 1 | -2/+4 |
|\ \ | | | | | | | Fix metadata tests | ||||
| * | | Fix metadata tests | Alex Beregszaszi | 2017-07-27 | 1 | -2/+4 |
| | | | |||||
* | | | Merge pull request #2642 from ethereum/test-split-asm | Yoichi Hirai | 2017-07-27 | 2 | -821/+873 |
|\ \ \ | |/ / |/| | | Split off libevmasm specific optimiser tests | ||||
| * | | Split off libevmasm specific optimiser tests | Alex Beregszaszi | 2017-07-27 | 2 | -821/+873 |
| | | | |||||
* | | | Merge pull request #2566 from ethereum/metadata-only-relevant | chriseth | 2017-07-27 | 1 | -0/+67 |
|\ \ \ | | | | | | | | | Metadata: only include relevant files in the source list | ||||
| * | | | Add tests for relevant metadata files | Alex Beregszaszi | 2017-07-19 | 1 | -0/+67 |
| | | | | |||||
* | | | | Merge pull request #1637 from ethereum/warn-shadowing-globals | chriseth | 2017-07-26 | 2 | -26/+146 |
|\ \ \ \ | |_|/ / |/| | | | Warn if shadowing built-ins | ||||
| * | | | Warn about shadowing variables. | Alex Beregszaszi | 2017-07-25 | 2 | -26/+146 |
| | |/ | |/| | |||||
* | | | Add CompilerStack::setOptimiserSettings | Alex Beregszaszi | 2017-07-26 | 6 | -6/+12 |
| | | | |||||
* | | | Add CompilerStack::setLibraries | Alex Beregszaszi | 2017-07-26 | 1 | -1/+2 |
| | | | |||||
* | | | Remove unused interfaces from CompilerStack | Alex Beregszaszi | 2017-07-26 | 1 | -1/+3 |
| | | | |||||
* | | | Merge pull request #2603 from ethereum/test-jsoncompiler | chriseth | 2017-07-26 | 1 | -2/+95 |
|\ \ \ | |/ / |/| | | Comprehensive tests for jsonCompiler | ||||
| * | | Add test for compileStandard | Alex Beregszaszi | 2017-07-19 | 1 | -0/+29 |
| | | | |||||
| * | | Add test for compileSingle | Alex Beregszaszi | 2017-07-19 | 1 | -0/+51 |
| | | | |||||
| * | | Add test for compileJSONCallback | Alex Beregszaszi | 2017-07-19 | 1 | -3/+16 |
| |/ | |||||
* | | LLL: Test cases for nested IF expressions. | benjaminion | 2017-07-21 | 1 | -0/+50 |
| | | |||||
* | | Cleanup fixed point type changes | chriseth | 2017-07-20 | 1 | -81/+73 |
| | | |||||
* | | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 1 | -54/+50 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | Merge pull request #2334 from ethereum/printMultiError | Alex Beregszaszi | 2017-07-20 | 1 | -1/+8 |
|\ \ | | | | | | | Print information about types of errors. | ||||
| * | | Print information about types of errors. | chriseth | 2017-07-19 | 1 | -1/+8 |
| |/ | |||||
* / | Add test and changelog | Alex Beregszaszi | 2017-07-19 | 1 | -1/+15 |
|/ | |||||
* | Merge pull request #2596 from ethereum/lll-test-optimiser | Yoichi Hirai | 2017-07-19 | 2 | -2/+2 |
|\ | | | | | Run LLL contract tests with optimiser too | ||||
| * | Run LLL contract tests with optimiser too | Alex Beregszaszi | 2017-07-19 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #2589 from ethereum/rename-onchainmetadata | Yoichi Hirai | 2017-07-19 | 1 | -1/+1 |
|\ \ | | | | | | | Rename onChainMetadata to metadata | ||||
| * | | Rename onChainMetadata to metadata | Alex Beregszaszi | 2017-07-19 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #2597 from ethereum/modifier-internal | Yoichi Hirai | 2017-07-19 | 1 | -0/+14 |
|\ \ | | | | | | | Mark modifiers as internal | ||||
| * | | Mark modifiers as internal | Alex Beregszaszi | 2017-07-19 | 1 | -0/+14 |
| |/ | |||||
* / | Run metadata and gas meter tests when optimiser is on too | Alex Beregszaszi | 2017-07-19 | 2 | -4/+2 |
|/ | |||||
* | Do not use obscure CompilerStack methods in tests | Alex Beregszaszi | 2017-07-18 | 4 | -4/+12 |
| | |||||
* | Test for version/license in jsonCompiler | Alex Beregszaszi | 2017-07-18 | 1 | -0/+15 |
| | |||||
* | LLL: whole contract tests for the ENS Registry. | benjaminion | 2017-07-18 | 2 | -0/+507 |
| | |||||
* | Merge pull request #2565 from ethereum/literal-string-error | chriseth | 2017-07-14 | 1 | -0/+37 |
|\ | | | | | Include types in explicit conversion error message | ||||
| * | Add test for explicit type conversion literal string | Alex Beregszaszi | 2017-07-14 | 1 | -0/+37 |
| | | |||||
* | | Merge pull request #2559 from benjaminion/lll-contract-test-erc20 | Alex Beregszaszi | 2017-07-14 | 2 | -0/+652 |
|\ \ | |/ |/| | LLL: whole contract tests for ERC20 token. | ||||
| * | LLL: whole contract tests for ERC20 token. | benjaminion | 2017-07-14 | 2 | -0/+652 |
| | | |||||
* | | Disable large arrays for memory location too | Alex Beregszaszi | 2017-07-14 | 1 | -1/+1 |
| | | |||||
* | | Add tests for large calldata arrays | Alex Beregszaszi | 2017-07-14 | 1 | -0/+25 |
| | | |||||
* | | Refactor compilation tests. | chriseth | 2017-07-14 | 1 | -15/+51 |
| | | |||||
* | | Run tests on source code from docs | Alex Beregszaszi | 2017-07-13 | 1 | -0/+25 |
| | | |||||
* | | Merge pull request #2504 from ethereum/inlineasm-decl-empty | Alex Beregszaszi | 2017-07-13 | 3 | -0/+28 |
|\ \ | | | | | | | Support variable declarations without an assignment in assembly | ||||
| * | | Add end-to-end test | Alex Beregszaszi | 2017-07-13 | 2 | -1/+19 |
| | | | |||||
| * | | Support parsing let statements without a value | Alex Beregszaszi | 2017-07-13 | 2 | -0/+10 |
| | | | |||||
* | | | Merge pull request #2567 from ethereum/refactorExceptions | chriseth | 2017-07-13 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Refactor exceptions and provide comment function. | ||||
| * | | | Refactor exceptions and provide comment function. | chriseth | 2017-07-13 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Add another transfer testcase. | chriseth | 2017-07-13 | 1 | -0/+18 |
| |/ |/| | |||||
* | | Fix error message formatting | Federico Bond | 2017-07-13 | 1 | -1/+1 |
| | | |||||
* | | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 1 | -0/+70 |
|/ | |||||
* | Gnosis compilation contracts. | chriseth | 2017-07-12 | 33 | -0/+3303 |
| | |||||
* | Merge pull request #2501 from ethereum/undef-macros | chriseth | 2017-07-12 | 2 | -2/+1 |
|\ | | | | | Move UndefMacros from libdevcore to libsolidity/parsing | ||||
| * | Move UndefMacros from libdevcore to libsolidity/parsing | Alex Beregszaszi | 2017-07-02 | 2 | -2/+1 |
| | | |||||
* | | Merge pull request #2522 from ethereum/testCode | chriseth | 2017-07-12 | 70 | -0/+10043 |
|\ \ | | | | | | | Added various contracts for testing. | ||||
| * | | Added various contracts for testing. | chriseth | 2017-07-05 | 70 | -0/+10043 |
| | | | |||||
* | | | Issue proper warning trying to access calldata variables in inline assembly | Alex Beregszaszi | 2017-07-12 | 1 | -0/+14 |
| | | | |||||
* | | | Merge pull request #2545 from benjaminion/lll-alloc-updated | Alex Beregszaszi | 2017-07-12 | 1 | -0/+55 |
|\ \ \ | | | | | | | | | LLL: alloc issues round-up | ||||
| * | | | LLL: rewrite alloc to avoid issues with edge cases. | benjaminion | 2017-07-12 | 1 | -0/+55 |
| | | | | |||||
* | | | | Add failing implicit conversion test | Alex Beregszaszi | 2017-07-11 | 1 | -0/+12 |
|/ / / | |||||
* | | | Fix invalid "explicit storage keyword" warning for reference members of structs. | chriseth | 2017-07-11 | 1 | -1/+1 |
| | | | |||||
* | | | Test cases for for and while loops. | benjaminion | 2017-07-09 | 1 | -0/+31 |
| | | | |||||
* | | | Deprecate throw. | chriseth | 2017-07-06 | 1 | -0/+12 |
| | | | |||||
* | | | Warn if local storage reference variable does not use "storage" explicitly. | chriseth | 2017-07-06 | 1 | -2/+28 |
|/ / | |||||
* / | Test for internal "variable already present" error. | chriseth | 2017-07-05 | 1 | -0/+27 |
|/ | |||||
* | Merge pull request #2481 from ethereum/mload-optim | chriseth | 2017-07-01 | 1 | -53/+0 |
|\ | | | | | MLOAD has side-effects, treat it like that in the optimiser | ||||
| * | Removed useless test. | chriseth | 2017-07-01 | 1 | -53/+0 |
| | | |||||
* | | 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 |
|/ | |||||
* | 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 | 1 | -0/+8 |
| | |||||
* | Warn about callcode. | chriseth | 2017-06-30 | 1 | -1/+26 |
| | |||||
* | 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 |
| | | |||||
* | | Test for negative stack height. | chriseth | 2017-06-28 | 1 | -0/+21 |
|/ | |||||
* | Merge pull request #2462 from ethereum/lll-fix-def | chriseth | 2017-06-28 | 1 | -11/+26 |
|\ | | | | | LLL: fix redefinitions on some compilers | ||||
| * | LLL: fix redefinitions on some compilers | Alex Beregszaszi | 2017-06-24 | 1 | -11/+26 |
| | | |||||
* | | Verbose error message test failure. | chriseth | 2017-06-28 | 1 | -1/+10 |
| | | |||||
* | | Give min and max values in warning message. | chriseth | 2017-06-28 | 1 | -2/+20 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 | 1 | -0/+20 |
|\ \ | | | | | | | Warn deprecated usage of parameter names in function types | ||||
| * | | Warn deprecated usage of parameter names in function types | Federico Bond | 2017-06-27 | 1 | -0/+20 |
| | | | |||||
* | | | Merge branch 'develop' into utf8-strict-parser | chriseth | 2017-06-27 | 2 | -0/+151 |
|\ \ \ | |||||
| * \ \ | Merge pull request #2437 from ethereum/warnDoubleCopyStorage | Alex Beregszaszi | 2017-06-27 | 2 | -0/+106 |
| |\ \ \ | | | | | | | | | | | 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 | 1 | -0/+42 |
| | | | | | |||||
| * | | | | Update tests for function type comparison | Alex Beregszaszi | 2017-06-27 | 1 | -0/+11 |
| | | | | | |||||
| * | | | | Tests for comparison of non-comparable types. | chriseth | 2017-06-26 | 1 | -0/+34 |
| |/ / / | |||||
* | | | | 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 |
|/ / / | |||||
* | | | Merge pull request #2450 from ethereum/addressstring | Alex Beregszaszi | 2017-06-26 | 1 | -0/+19 |
|\ \ \ | | | | | | | | | Fix for strings treated as addresses. | ||||
| * | | | 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 | 1 | -0/+22 |
|\ \ \ \ | | | | | | | | | | | Disallow invoking the same modifier multiple times. | ||||
| * | | | | Disallow invoking the same modifier multiple times. | chriseth | 2017-06-24 | 1 | -0/+22 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2442 from ethereum/remove-why3 | chriseth | 2017-06-26 | 1 | -1/+0 |
|\ \ \ \ | | | | | | | | | | | Remove Why3 generator | ||||
| * | | | | Remove Why3 generator | Alex Beregszaszi | 2017-06-25 | 1 | -1/+0 |
| |/ / / | |||||
* | | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimal | chriseth | 2017-06-26 | 1 | -2/+32 |
|\ \ \ \ | | | | | | | | | | | 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 | 1 | -2/+32 |
| | | | | | | | | | | | | | | | | | | | | Fixes #2349 | ||||
* | | | | | Review suggestions. | chriseth | 2017-06-24 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Fix tests. | chriseth | 2017-06-24 | 2 | -20/+34 |
| | | | | | |||||
* | | | | | Fix location tests. | chriseth | 2017-06-24 | 1 | -2/+2 |
| |/ / / |/| | | | |||||
* | | | | Merge pull request #2439 from ethereum/lll-vars | Alex Beregszaszi | 2017-06-23 | 1 | -0/+20 |
|\ \ \ \ | | | | | | | | | | | LLL: fix variable (set/get/ref) handling | ||||
| * | | | | LLL: fix the set keyword (create symbol if not present) | Alex Beregszaszi | 2017-06-23 | 1 | -0/+20 |
| | | | | | |||||
* | | | | | Check for constness of address constant. | chriseth | 2017-06-23 | 1 | -0/+10 |
|/ / / / | |||||
* | | | | Merge pull request #2452 from ethereum/fixPassingEmptyString | Alex Beregszaszi | 2017-06-23 | 1 | -0/+23 |
|\ \ \ \ | | | | | | | | | | | Fix passing empty string | ||||
| * | | | | 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 | 1 | -0/+127 |
|\ \ \ \ | |_|_|/ |/| | | | Whiskers template system | ||||
| * | | | Whiskers template system | chriseth | 2017-06-22 | 1 | -0/+127 |
| |/ / | |||||
* | | | Merge pull request #2408 from federicobond/constant-parameters | chriseth | 2017-06-23 | 1 | -0/+20 |
|\ \ \ | |/ / |/| | | Fix segmentation fault with constant function parameters | ||||
| * | | Fix segmentation fault with constant function parameters | Federico Bond | 2017-06-22 | 1 | -0/+20 |
| |/ | |||||
* | | LLL: Fix msg macro with six arguments. | benjaminion | 2017-06-22 | 1 | -0/+17 |
| | | | | | | | | | | | | 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 #2415 from benjaminion/lll-fix-create-macro | chriseth | 2017-06-22 | 1 | -0/+28 |
|\ \ | | | | | | | 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 |
| | | | |||||
* | | | Merge pull request #2399 from ethereum/lll-if | chriseth | 2017-06-22 | 1 | -0/+62 |
|\ \ \ | |/ / |/| | | LLL: Replace obsolete assembly code | ||||
| * | | Add tests for when/unless/if in LLL | Alex Beregszaszi | 2017-06-22 | 1 | -0/+62 |
| |/ | |||||
* / | LLL: Test case for ecrecover built-in macro. | benjaminion | 2017-06-22 | 1 | -0/+19 |
|/ | |||||
* | Merge pull request #2416 from federicobond/multiple-specifiers | chriseth | 2017-06-19 | 1 | -0/+18 |
|\ | | | | | 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 | 1 | -0/+18 |
| | | |||||
* | | Merge pull request #2225 from ethereum/julia-for | chriseth | 2017-06-19 | 2 | -0/+97 |
|\ \ | |/ |/| | 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 |
| | | |||||
| * | Some more parsing tests. | chriseth | 2017-06-16 | 1 | -0/+14 |
| | | |||||
| * | Functionality tests for for. | chriseth | 2017-06-16 | 1 | -0/+49 |
| | | |||||
| * | Some more tests. | chriseth | 2017-06-16 | 1 | -2/+14 |
| | | |||||
| * | Parse for statement in assembly parser / printer | Alex Beregszaszi | 2017-06-16 | 1 | -0/+17 |
| | | |||||
* | | Fix UTF-8 validation for high codepoints (>10000) | Alex Beregszaszi | 2017-06-16 | 1 | -0/+10 |
|/ | |||||
* | Merge pull request #2397 from ethereum/doublepush | chriseth | 2017-06-15 | 2 | -1/+27 |
|\ | | | | | Peephole optimizer for double push. | ||||
| * | Fix lll test. | chriseth | 2017-06-15 | 1 | -1/+1 |
| | | |||||
| * | Peephole optimizer for double push. | chriseth | 2017-06-15 | 1 | -0/+26 |
| | | |||||
* | | Merge branch 'develop' into asm-aux | chriseth | 2017-06-15 | 1 | -0/+10 |
|\ \ | |||||
| * \ | Merge pull request #2192 from winsvega/develop | Alex Beregszaszi | 2017-06-15 | 1 | -0/+10 |
| |\ \ | | |/ | |/| | add STATICCALL instruction | ||||
| | * | add new opcode instructions to the parser | Dimitry | 2017-06-15 | 1 | -0/+10 |
| | | | | | | | | | | | | 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 | 1 | -1/+2 |
|/ / | |||||
* | | Merge pull request #2381 from ethereum/fixcrash | chriseth | 2017-06-15 | 1 | -1/+14 |
|\ \ | | | | | | | Fix a crash about a non-callable expression. | ||||
| * | | Fix a crash about a non-callable expression. | chriseth | 2017-06-14 | 1 | -1/+14 |
| | | | |||||
* | | | Merge pull request #2384 from ethereum/parseFunctionalInstructions | chriseth | 2017-06-15 | 1 | -1/+11 |
|\ \ \ | |_|/ |/| | | Enforce function arguments when parsing functional instructions. | ||||
| * | | Enforce function arguments when parsing functional instructions. | chriseth | 2017-06-14 | 1 | -1/+11 |
| | | | |||||
* | | | Merge pull request #2394 from ethereum/lll-shifts | chriseth | 2017-06-15 | 1 | -0/+20 |
|\ \ \ | | | | | | | | | Support shl/shr in LLL | ||||
| * | | | Support shl/shr in LLL | Alex Beregszaszi | 2017-06-14 | 1 | -0/+20 |
| |/ / | |||||
* | | | Additional test. | chriseth | 2017-06-14 | 1 | -0/+8 |
| | | | |||||
* | | | Merge pull request #2392 from federicobond/disallow-trailing-commas | chriseth | 2017-06-14 | 1 | -0/+11 |
|\ \ \ | |/ / |/| | | Forbid trailing commas in named arguments | ||||
| * | | Forbid trailing commas in named arguments | Federico Bond | 2017-06-14 | 1 | -0/+11 |
| | | | |||||
* | | | Merge pull request #2331 from ethereum/ASTDocumentationEntry | chriseth | 2017-06-14 | 3 | -6/+36 |
|\ \ \ | |/ / |/| | | 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 |
| | | | |||||
* | | | LLL: fix handling of "sha3" expression | benjaminion | 2017-06-14 | 1 | -0/+37 |
| |/ |/| | | | | | | | | | 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. | ||||
* | | Add a warning about a varialbe of the name of an instruction | Yoichi Hirai | 2017-06-13 | 1 | -1/+1 |
| | | |||||
* | | Add a failing test as suggested in | Yoichi Hirai | 2017-06-13 | 1 | -0/+9 |
| | | | | | | | | https://github.com/ethereum/solidity/pull/2275#discussion_r121438333 | ||||
* | | Add a test about checking a warning | Yoichi Hirai | 2017-06-13 | 1 | -2/+14 |
| | | |||||
* | | test: Add different styles of returndatacopy and returndatasize | Yoichi Hirai | 2017-06-13 | 1 | -0/+10 |
| | | |||||
* | | libevmasm: add RETURNDATACOPY and RETURNDATASIZE | Yoichi Hirai | 2017-06-13 | 1 | -0/+10 |
| | | |||||
* | | More informative test | Yoichi Hirai | 2017-06-13 | 1 | -2/+2 |
| | | |||||
* | | Fix the expectation about the parse | Yoichi Hirai | 2017-06-13 | 1 | -1/+1 |
| | | |||||
* | | Add an end-to-end test about LLL macro with zero arguments | Yoichi Hirai | 2017-06-12 | 1 | -0/+12 |
| | | |||||
* | | Add a test that fails about an LLL macro with no arguments | Yoichi Hirai | 2017-06-12 | 1 | -0/+6 |
| | | |||||
* | | Use lowercase when reporting instruction error. | chriseth | 2017-06-09 | 1 | -3/+3 |
| | | |||||
* | | Add test for two functions calling eachother | Alex Beregszaszi | 2017-06-09 | 1 | -0/+1 |
| | | |||||
* | | Test for embedded functions. | chriseth | 2017-06-08 | 2 | -0/+32 |
| | | |||||
* | | Move inline assembly to new abstraction and test both backends. | chriseth | 2017-06-08 | 1 | -14/+25 |
| | | |||||
* | | Test for accessing outer inline assembly scope. | chriseth | 2017-06-08 | 2 | -2/+60 |
| | | |||||
* | | Initial EVM1.5 assembly implementation. | chriseth | 2017-06-08 | 4 | -1/+150 |
| | | |||||
* | | Merge pull request #2332 from ethereum/fixLiteralPrint | chriseth | 2017-06-06 | 1 | -1/+1 |
|\ \ | | | | | | | fix Literalprint | ||||
| * | | adjusted testcase and renaming | djudjuu | 2017-06-06 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #2317 from ethereum/keccak256 | chriseth | 2017-05-31 | 7 | -79/+143 |
|\ \ | |/ |/| | Use keccak256 in tests and replace the SHA3 instruction in assembly | ||||
| * | Add inline assembly test for sha3/keccak256 | Alex Beregszaszi | 2017-05-30 | 2 | -0/+47 |
| | | |||||
| * | Add test for sha3() == keccak256() | Alex Beregszaszi | 2017-05-30 | 1 | -0/+17 |
| | | |||||
| * | Use keccak256() in tests (and not sha3()) | Alex Beregszaszi | 2017-05-30 | 6 | -64/+64 |
| | | |||||
| * | Rename the SHA3 assembly instruction to KECCAK256 | Alex Beregszaszi | 2017-05-30 | 1 | -15/+15 |
| | | |||||
* | | Refactor error reporting | Rhett Aultman | 2017-05-30 | 5 | -27/+36 |
|/ | | | | | | | | | 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 | ||||
* | Change error message for invalid type | Alex Beregszaszi | 2017-05-27 | 1 | -3/+3 |
| | |||||
* | Introduce Julia mode in AsmAnalyzer | Alex Beregszaszi | 2017-05-27 | 1 | -1/+1 |
| | |||||
* | Validate that only basic types are used in Julia | Alex Beregszaszi | 2017-05-27 | 1 | -1/+25 |
| | |||||
* | Fix expected message in test case | Alex Beregszaszi | 2017-05-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2224 from ethereum/julia-switch | chriseth | 2017-05-26 | 1 | -0/+52 |
|\ | | | | | Implement switch statement in the assembly parser/printer | ||||
| * | Better error messages for invalid switch cases | Alex Beregszaszi | 2017-05-26 | 1 | -2/+2 |
| | | |||||
| * | Disallow instructions as a switch expression | Alex Beregszaszi | 2017-05-26 | 1 | -1/+1 |
| | | |||||
| * | Add tests | Alex Beregszaszi | 2017-05-26 | 1 | -0/+52 |
| | | |||||
* | | Enable the analyzer for Julia tests | Alex Beregszaszi | 2017-05-25 | 1 | -8/+6 |
|/ | |||||
* | Uniform error messages | Alex Beregszaszi | 2017-05-24 | 1 | -1/+1 |
| | |||||
* | Add tests | Alex Beregszaszi | 2017-05-24 | 1 | -0/+11 |
| | |||||
* | Validate metadata JSON too | Alex Beregszaszi | 2017-05-24 | 1 | -1/+4 |
| | |||||
* | Split out metadata test into its own file | Alex Beregszaszi | 2017-05-24 | 2 | -20/+60 |
| | |||||
* | Add tests | Alex Beregszaszi | 2017-05-23 | 2 | -0/+31 |
| | |||||
* | Merge pull request #2265 from roadriverrail/inline_asm_unused_warning | chriseth | 2017-05-22 | 1 | -0/+14 |
|\ | | | | | Analyze InlineAssembly for variable use | ||||
| * | Analyze InlineAssembly for variable use | Rhett Aultman | 2017-05-22 | 1 | -0/+14 |
| | | | | | | | | | | The unused variable checker in StaticAnalyzer did not conssider InlineAssembly objects. This commit introduces that missing feature. | ||||
* | | Merge pull request #1810 from ethereum/compactJson | chriseth | 2017-05-22 | 3 | -17/+21 |
|\ \ | | | | | | | Compact format for AST-Json. | ||||
| * | | testsuite adjustment | djudjuu | 2017-05-19 | 2 | -5/+7 |
| | | | |||||
| * | | Compact format for AST-Json with backwards compatibility | chriseth | 2017-05-17 | 2 | -14/+16 |
| | | | |||||
* | | | Refactor to abstract assembly to JULIA. | chriseth | 2017-05-20 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Merge pull request #2282 from ethereum/fuzzer | chriseth | 2017-05-20 | 1 | -0/+7 |
|\ \ | | | | | | | Display the source on which the 'fuzzer' failed | ||||
| * | | Put filename in quotes. | chriseth | 2017-05-19 | 1 | -1/+1 |
| | | | |||||
| * | | Disable error checking by bash for fuzzer | chriseth | 2017-05-19 | 1 | -0/+3 |
| | | | |||||
| * | | Display the source on which the 'fuzzer' failed | Alex Beregszaszi | 2017-05-19 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #2262 from ethereum/interface-cleanup | chriseth | 2017-05-19 | 2 | -3/+3 |
|\ \ \ | | | | | | | | | Cleanup the external interfaces (ABI and Natspec) | ||||
| * | | | Rename CompilerStack.metadata to CompilerStack.natspec | Alex Beregszaszi | 2017-05-19 | 1 | -2/+2 |
| | | | | |||||
| * | | | Use CompilerStack.contractABI directly | Alex Beregszaszi | 2017-05-19 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #2223 from ethereum/julia-bool | chriseth | 2017-05-19 | 2 | -0/+12 |
|\ \ \ | |/ / |/| | | Add support for bool literals in Julia | ||||
| * | | Add tests for bool literal | Alex Beregszaszi | 2017-05-19 | 2 | -0/+12 |
| | | | |||||
* | | | Issue 2279: Log JSON RPC requests and responses when --log_level=message is ↵ | seusher | 2017-05-18 | 1 | -2/+2 |
|/ / | | | | | | | provided to soltest | ||||
* | | Merge pull request #2222 from ethereum/julia-types | chriseth | 2017-05-16 | 1 | -9/+17 |
|\ \ | |/ |/| | Add support for types in Julia | ||||
| * | Add tests for types in Julia | Alex Beregszaszi | 2017-05-06 | 1 | -9/+17 |
| | | |||||
* | | Remove an unused function `successAssemble` | Yoichi Hirai | 2017-05-09 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | Otherwise, I see a build failure: test/libjulia/Parser.cpp:92:6: error: ‘bool dev::solidity::test::{anonymous}::successAssemble(const string&, bool)’ defined but not used [-Werror=unused-function] bool successAssemble(string const& _source, bool _allowWarnings = true) ^~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors | ||||
* | | Run in optimizer mode when requested | Alex Beregszaszi | 2017-05-06 | 1 | -1/+2 |
| | | |||||
* | | Split out common metadata validation code | Alex Beregszaszi | 2017-05-06 | 4 | -98/+125 |
| | | |||||
* | | Add basic test for jsonCompiler | Alex Beregszaszi | 2017-05-06 | 2 | -1/+144 |
|/ | |||||
* | Remove analyzer from Julia tests | Alex Beregszaszi | 2017-05-05 | 1 | -21/+1 |
| | |||||
* | Add Julia parser test | Alex Beregszaszi | 2017-05-05 | 2 | -0/+213 |
| | |||||
* | Merge pull request #2194 from ethereum/removeerrorlabel | chriseth | 2017-05-05 | 2 | -16/+1 |
|\ | | | | | Remove error label / invalid jump label. | ||||
| * | Remove error label / invalid jump label. | chriseth | 2017-04-28 | 2 | -16/+1 |
| | | |||||
* | | Fix return value in the fuzzer. | chriseth | 2017-05-03 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2206 from ethereum/fixoptimizer | chriseth | 2017-05-03 | 1 | -19/+31 |
|\ \ | | | | | | | Constant optimizer fix | ||||
| * | | Stricter tests for constant optimization. | chriseth | 2017-05-02 | 1 | -19/+31 |
| | | | |||||
* | | | Fix tests. | chriseth | 2017-05-03 | 1 | -0/+3 |
| | | | |||||
* | | | Cleanup, style and additional test. | chriseth | 2017-05-03 | 1 | -2/+10 |
| | | | |||||
* | | | More strict tests. | chriseth | 2017-05-03 | 1 | -7/+7 |
| | | |