Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 1 | -821/+2 | |
|\ \ \ | |/ / |/| | | Split off libevmasm specific optimiser tests | |||||
| * | | Split off libevmasm specific optimiser tests | Alex Beregszaszi | 2017-07-27 | 1 | -821/+2 | |
| | | | ||||||
* | | | 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 | 3 | -3/+6 | |
| | | | ||||||
* | | | 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 | |
| |/ | ||||||
* | | 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 #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 | |
| | ||||||
* | Add test for explicit type conversion literal string | Alex Beregszaszi | 2017-07-14 | 1 | -0/+37 | |
| | ||||||
* | 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 | |
| | ||||||
* | Merge pull request #2504 from ethereum/inlineasm-decl-empty | Alex Beregszaszi | 2017-07-13 | 2 | -0/+23 | |
|\ | | | | | Support variable declarations without an assignment in assembly | |||||
| * | Add end-to-end test | Alex Beregszaszi | 2017-07-13 | 1 | -0/+18 | |
| | | ||||||
| * | Support parsing let statements without a value | Alex Beregszaszi | 2017-07-13 | 1 | -0/+5 | |
| | | ||||||
* | | 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 | |
|/ | ||||||
* | Merge pull request #2501 from ethereum/undef-macros | chriseth | 2017-07-12 | 1 | -1/+1 | |
|\ | | | | | Move UndefMacros from libdevcore to libsolidity/parsing | |||||
| * | Move UndefMacros from libdevcore to libsolidity/parsing | Alex Beregszaszi | 2017-07-02 | 1 | -1/+1 | |
| | | ||||||
* | | Issue proper warning trying to access calldata variables in inline assembly | Alex Beregszaszi | 2017-07-12 | 1 | -0/+14 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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 | |
| | ||||||
* | Test for negative stack height. | chriseth | 2017-06-28 | 1 | -0/+21 | |
| | ||||||
* | 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 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 | |
|/ / | ||||||
* | | 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 #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 | |
| |/ / |/| | | ||||||
* | | | 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 | |
| |/ | ||||||
* / | Fix segmentation fault with constant function parameters | Federico Bond | 2017-06-22 | 1 | -0/+20 | |
|/ | ||||||
* | 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 | 1 | -0/+26 | |
|\ | | | | | Peephole optimizer for double push. | |||||
| * | 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 | |
| | | | ||||||
* | | | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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 | 3 | -0/+147 | |
| | | ||||||
* | | 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 | 5 | -69/+133 | |
|\ \ | |/ |/| | 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 | 4 | -54/+54 | |
| | | ||||||
| * | Rename the SHA3 assembly instruction to KECCAK256 | Alex Beregszaszi | 2017-05-30 | 1 | -15/+15 | |
| | | ||||||
* | | Refactor error reporting | Rhett Aultman | 2017-05-30 | 4 | -23/+31 | |
|/ | | | | | | | | | 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 | |||||
* | Fix expected message in test case | Alex Beregszaszi | 2017-05-26 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | 1 | -0/+26 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | 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 | |
| |/ | ||||||
* / | Add tests for bool literal | Alex Beregszaszi | 2017-05-19 | 1 | -0/+6 | |
|/ | ||||||
* | 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 | 2 | -98/+8 | |
| | ||||||
* | Add basic test for jsonCompiler | Alex Beregszaszi | 2017-05-06 | 1 | -0/+143 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | Disallow enums in interfaces | Alex Beregszaszi | 2017-03-18 | 1 | -0/+10 | |
| | ||||||
* | Use declared instead of defined | Alex Beregszaszi | 2017-03-18 | 1 | -1/+1 | |
| | ||||||
* | Add tests for interfaces | Alex Beregszaszi | 2017-03-18 | 2 | -0/+107 | |
| | ||||||
* | Add ContractKind to ContractDefinition | Alex Beregszaszi | 2017-03-18 | 1 | -1/+1 | |
| | ||||||
* | Change references to FunctionType::Location | Alex Beregszaszi | 2017-03-16 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #1698 from ethereum/exp-notation | chriseth | 2017-03-15 | 4 | -25/+64 | |
|\ | | | | | Fix scientific notation in number literals | |||||
| * | Add tests for negative base | Alex Beregszaszi | 2017-03-15 | 1 | -0/+12 | |
| | | ||||||
| * | Add tests for fractional numbers in exponential notation | Alex Beregszaszi | 2017-03-15 | 2 | -0/+5 | |
| | | ||||||
| * | Add tests for scientific notation | Alex Beregszaszi | 2017-03-15 | 4 | -25/+47 | |
| | | ||||||
* | | Mention 'transfer' in warning about unchecked 'send'. | chriseth | 2017-03-15 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #1729 from ethereum/constantvariables | Yoichi Hirai | 2017-03-15 | 2 | -7/+136 | |
|\ \ | | | | | | | Only allow pure expressions for constant state variables. | |||||
| * | | Turn non-constant constants error into warning. | chriseth | 2017-03-15 | 1 | -2/+4 | |
| | | | ||||||
| * | | Disallow constants that are neither value types nor strings. | chriseth | 2017-03-13 | 2 | -26/+44 | |
| | | | ||||||
| * | | Allow enum values for constants. | chriseth | 2017-03-13 | 1 | -1/+0 | |
| | | | ||||||
| * | | End to end tests for constants. | chriseth | 2017-03-13 | 1 | -0/+50 | |
| | | | ||||||
| * | | Type checking for pure expressions. | chriseth | 2017-03-13 | 1 | -10/+20 | |
| | | | ||||||
| * | | Some new tests for constant variables. | chriseth | 2017-03-13 | 1 | -0/+50 | |
| | | | ||||||
* | | | Require and Assert. | chriseth | 2017-03-14 | 1 | -18/+24 | |
|/ / | ||||||
* | | Merge pull request #1751 from ethereum/warnLiteralExpBase | Yoichi Hirai | 2017-03-11 | 1 | -0/+30 | |
|\ \ | |/ |/| | Warn if base of exponentiation operation is a literal. | |||||
| * | Tests for warning about literal constant base in exponentition. | chriseth | 2017-03-07 | 1 | -0/+30 | |
| | | ||||||
* | | Merge pull request #1747 from ethereum/fixICEInternalConstructor | Yoichi Hirai | 2017-03-09 | 1 | -0/+18 | |
|\ \ | | | | | | | Move privateness of constructor into AST itself. | |||||
| * | | Test for trying to construct an inconstructible contract before its definition. | chriseth | 2017-03-06 | 1 | -0/+18 | |
| |/ | ||||||
* | | Merge pull request #1748 from ethereum/singletonArray | chriseth | 2017-03-08 | 1 | -0/+14 | |
|\ \ | | | | | | | Use mobile type for singleton array. | |||||
| * | | Test for array singletons. | chriseth | 2017-03-06 | 1 | -0/+14 | |
| |/ | ||||||
* | | Tests for no compound assignment for tuples. | chriseth | 2017-03-08 | 1 | -0/+12 | |
| | | ||||||
* | | Merge pull request #1750 from ethereum/asmoctal | Yoichi Hirai | 2017-03-08 | 1 | -0/+18 | |
|\ \ | | | | | | | Disallow octal numbers in parser. | |||||
| * | | Disallow octal literals. | chriseth | 2017-03-07 | 1 | -0/+18 | |
| |/ | ||||||
* | | Merge pull request #1736 from ethereum/boundoptimizer | Yoichi Hirai | 2017-03-08 | 1 | -0/+62 | |
|\ \ | | | | | | | Add upper bound for computing constants. | |||||
| * | | Tests for optimizing constants. | chriseth | 2017-03-03 | 1 | -0/+62 | |
| | | | ||||||
* | | | Merge pull request #1733 from ethereum/selfReferentialConstant | chriseth | 2017-03-07 | 1 | -8/+41 | |
|\ \ \ | | | | | | | | | Detect cyclic dependencies between constants. | |||||
| * | | | Check for circular references in constant variables. | chriseth | 2017-03-06 | 1 | -8/+13 | |
| | | | | ||||||
| * | | | Tests for cyclic dependencies between constants. | chriseth | 2017-03-06 | 1 | -0/+28 | |
| | |/ | |/| | ||||||
* / | | Test for uninitialized mapping. | chriseth | 2017-03-06 | 1 | -0/+24 | |
|/ / | ||||||
* | | Merge pull request #1702 from ethereum/assertError | Yoichi Hirai | 2017-03-04 | 1 | -18/+18 | |
|\ \ | |/ |/| | Change effect of assert to invalid opcode. | |||||
| * | Remove assert for now. | chriseth | 2017-02-24 | 1 | -18/+18 | |
| | | ||||||
* | | Test for declaring variable with empty tuple type. | chriseth | 2017-03-02 | 1 | -0/+13 | |
| | | ||||||
* | | Test case for external function type with calldata argument. | chriseth | 2017-03-01 | 1 | -0/+17 | |
| | | ||||||
* | | Merge pull request #1651 from ethereum/transfer-method | chriseth | 2017-02-24 | 2 | -0/+54 | |
|\ \ | | | | | | | Add address.transfer(value) | |||||
| * | | Disallow setting .gas() on .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -17/+0 | |
| | | | ||||||
| * | | Fix test for gas overloading in .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -2/+13 | |
| | | | ||||||
| * | | Support gas modifier on addr.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -0/+6 | |
| | | | ||||||
| * | | Add type checking test for address methods | Alex Beregszaszi | 2017-02-24 | 1 | -0/+18 | |
| | | | ||||||
| * | | Add test for address.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -0/+36 | |
| | | | ||||||
* | | | Merge pull request #1710 from ethereum/strictasmtests | chriseth | 2017-02-24 | 1 | -30/+69 | |
|\ \ \ | |/ / |/| | | Check error messages for assembly tests. | |||||
| * | | Fix compiler warning. | chriseth | 2017-02-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | Also check imbalanced stack. | chriseth | 2017-02-20 | 1 | -2/+3 | |
| | | | ||||||
| * | | Check error messages for assembly tests. | chriseth | 2017-02-17 | 1 | -29/+67 | |
| | | | ||||||
* | | | Test for unbalanced stack due to loading two values from outside. | chriseth | 2017-02-20 | 1 | -0/+13 | |
|/ / | ||||||
* | | Merge pull request #1627 from ethereum/asmfunctions | chriseth | 2017-02-17 | 1 | -0/+25 | |
|\ \ | | | | | | | Parsing assembly function definitions and calls. | |||||
| * | | More tests. | chriseth | 2017-02-16 | 1 | -0/+10 | |
| | | |