Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | | | |||||
* | | | Treat returns with expressions as return param use | Rhett Aultman | 2017-05-03 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | There are many cases of code where the return parameters exist mostly as a form of documentation. This change ensures that they do not have to be used in the function body so long as there is a return supplying values | ||||
* | | | Warn on unused local variables | Rhett Aultman | 2017-05-03 | 1 | -31/+154 |
| | | | | | | | | | | | | | | | | | | Analyze functions for all local variables, parameters, and named return variables which are never used in the function, and issue a warning. | ||||
* | | | Merge pull request #2211 from ethereum/jsonio-fixes | Alex Beregszaszi | 2017-05-02 | 1 | -6/+6 |
|\ \ \ | | | | | | | | | Follow the JSON I/O spec closely | ||||
| * | | | Follow the JSON I/O spec closely | Alex Beregszaszi | 2017-05-02 | 1 | -6/+6 |
| |/ / | |||||
* | | | Style and stricter tests. | chriseth | 2017-05-02 | 1 | -1/+9 |
| | | | |||||
* | | | Deprecate use of unary '+' | Rhett Aultman | 2017-04-29 | 1 | -1/+10 |
|/ / | | | | | | | | | | | | | The unary '+' serves no meaningful purpose in Solidity and it makes it possible to produce typos with dagerous implications (e.g. 'a =+5 '), so we are deprecating it. The SyntaxChecker currently issues warnings on the unary '+' but will still compile it for now. | ||||
* | | Merge pull request #2171 from ethereum/splitParseAndAnalyze | chriseth | 2017-04-28 | 4 | -16/+19 |
|\ \ | |/ |/| | refactoring parse() into two separate functions | ||||
| * | enumchecks not working | djuju | 2017-04-28 | 1 | -0/+3 |
| | | |||||
| * | refactoring parse() into two separate functions | djuju | 2017-04-27 | 3 | -16/+16 |
| | | |||||
* | | Add --standard-json option to solfuzzer | Alex Beregszaszi | 2017-04-27 | 1 | -3/+46 |
| | | |||||
* | | Make the fuzzer quiet | chriseth | 2017-04-27 | 2 | -10/+17 |
| | | |||||
* | | Add constant optimizer testing to the fuzz tester. | chriseth | 2017-04-27 | 2 | -3/+86 |
| | | |||||
* | | Remove parentheses from around function return parameters | Alex Beregszaszi | 2017-04-27 | 1 | -6/+6 |
| | | |||||
* | | Merge pull request #1711 from ethereum/asmfunctions | chriseth | 2017-04-26 | 3 | -38/+148 |
|\ \ | |/ |/| | Assembly: Analysis stage for functions. | ||||
| * | Fix storage access tests. | chriseth | 2017-04-25 | 1 | -5/+5 |
| | | |||||
| * | Fix test build | Alex Beregszaszi | 2017-04-25 | 1 | -0/+1 |
| | | |||||
| * | Storage access from inline assembly. | chriseth | 2017-04-25 | 1 | -3/+33 |
| | | |||||
| * | Convert storge access tests to new explicit slot / offset access. | chriseth | 2017-04-25 | 1 | -5/+9 |
| | | |||||
| * | Review comments. | chriseth | 2017-04-25 | 2 | -0/+35 |
| | | |||||
| * | Use raw string for tests. | chriseth | 2017-04-25 | 1 | -3/+15 |
| | | |||||
| * | Make tests comply with stack height checks. | chriseth | 2017-04-25 | 3 | -27/+26 |
| | | |||||
| * | Use actual type checking phase of assembler. | chriseth | 2017-04-25 | 1 | -1/+1 |
| | | |||||
| * | Refactor assembly analysis into scope filling and checking. | chriseth | 2017-04-25 | 1 | -10/+39 |
| | | |||||
* | | Option to disable/remove all tests that require IPC. | chriseth | 2017-04-26 | 3 | -3/+33 |
| | | |||||
* | | Just bigger numbers | Yoichi Hirai | 2017-04-25 | 1 | -2/+2 |
| | | |||||
* | | Also increase socket read timeout. | chriseth | 2017-04-25 | 1 | -1/+1 |
| | | |||||
* | | Increase mining timeout to 2 minutes | Alex Beregszaszi | 2017-04-25 | 1 | -1/+1 |
| | | |||||
* | | Remove a test about SELFDESTRUCT because the test harness obtains refund ↵ | Yoichi Hirai | 2017-04-25 | 1 | -13/+0 |
| | | | | | | | | while the gas meter should not assume the refund. | ||||
* | | test: fix invalid signatures | Yoichi Hirai | 2017-04-25 | 1 | -2/+2 |
| | | |||||
* | | A bit more time for mining. | chriseth | 2017-04-25 | 1 | -1/+1 |
| | | |||||
* | | test: change RPC settings to see if they have effects during testing | Yoichi Hirai | 2017-04-25 | 1 | -1/+4 |
| | | |||||
* | | test: add a test case about the gas cost of EXTCODESIZE | Yoichi Hirai | 2017-04-25 | 1 | -0/+15 |
| | | |||||
* | | test: add a failing test case about the gas cost of SUICIDE opcode | Yoichi Hirai | 2017-04-25 | 1 | -0/+13 |
| | | |||||
* | | Add a failing test about the gas cost of BALANCE | Yoichi Hirai | 2017-04-25 | 1 | -0/+13 |
| | | |||||
* | | test: add a test about gas costs of EXP | Yoichi Hirai | 2017-04-25 | 1 | -0/+17 |
|/ | |||||
* | More pure tests. | chriseth | 2017-04-25 | 1 | -0/+8 |
| | |||||
* | Test for side-effect free condition. | chriseth | 2017-04-22 | 1 | -0/+13 |
| | |||||
* | Change error message. | chriseth | 2017-04-21 | 1 | -2/+2 |
| | |||||
* | Warn about side-effect free statements. | chriseth | 2017-04-21 | 1 | -15/+43 |
| | |||||
* | Add test for legacyAST | Alex Beregszaszi | 2017-04-21 | 1 | -1/+6 |
| | |||||
* | Add test for bytecode | Alex Beregszaszi | 2017-04-21 | 1 | -0/+21 |
| | |||||
* | Add compilation test and verify output | Alex Beregszaszi | 2017-04-21 | 1 | -0/+79 |
| | |||||
* | Trigger cases by the JSON (and not string) interface | Alex Beregszaszi | 2017-04-21 | 1 | -1/+11 |
| | |||||
* | Add basic tests for StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+155 |
| | |||||
* | Create and update bugs by version list. | chriseth | 2017-04-12 | 1 | -1/+4 |
| | |||||
* | Isolate test cases from all tests and store under hash. | chriseth | 2017-03-23 | 1 | -1/+1 |
| | |||||
* | Check that contract inheriting from base with unimplemented constructor is ↵ | chriseth | 2017-03-22 | 1 | -1/+6 |
| | | | | abstract. | ||||
* | Disallow private or internal functions in interfaces | Alex Beregszaszi | 2017-03-18 | 1 | -0/+20 |
| | |||||
* | Add more complex tests for interfaces | Alex Beregszaszi | 2017-03-18 | 2 | -0/+52 |
| | |||||
* | Disallow constructor in interfaces | Alex Beregszaszi | 2017-03-18 | 1 | -1/+1 |
| |