Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| | | | |||||
* | | | Merge pull request #1767 from ethereum/longlibnames | Yoichi Hirai | 2017-03-15 | 1 | -0/+3 |
|\ \ \ | | | | | | | | | Do not crash on long linker commandline argument. | ||||
| * | | | Allow long library names. | chriseth | 2017-03-14 | 1 | -0/+3 |
| | | | | |||||
* | | | | Require and Assert. | chriseth | 2017-03-14 | 1 | -18/+24 |
|/ / / | |||||
* | | | Merge pull request #1768 from ethereum/abortiffileexists | Yoichi Hirai | 2017-03-13 | 1 | -0/+14 |
|\ \ \ | |/ / |/| | | Do not overwrite files unless forced. | ||||
| * | | Test for (not) overwriting files. | chriseth | 2017-03-11 | 1 | -0/+14 |
| |/ | |||||
* | | 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 #1735 from federicobond/fix-compilation | chriseth | 2017-03-06 | 2 | -1/+2 |
|\ \ | | | | | | | Fix compilation in OS X | ||||
| * | | Fix header. | chriseth | 2017-03-04 | 1 | -1/+1 |
| | | | |||||
| * | | Add missing header for boost::noncopyable | Federico Bond | 2017-03-03 | 1 | -0/+1 |
| | | | |||||
| * | | Replace deprecated BOOST_MESSAGE with BOOST_TEST_MESSAGE | Federico Bond | 2017-03-03 | 1 | -1/+1 |
| |/ | |||||
* | | 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 |
| | | |||||
* | | Merge pull request #1725 from ethereum/ipcreadloop | chriseth | 2017-03-03 | 2 | -18/+41 |
|\ \ | | | | | | | Try reading multiple times from IPC. | ||||
| * | | Style. | chriseth | 2017-03-02 | 1 | -1/+2 |
| | | | |||||
| * | | Some logging around account creation. | chriseth | 2017-03-01 | 1 | -2/+7 |
| | | | |||||
| * | | Try reading multiple times from IPC. | chriseth | 2017-02-25 | 2 | -17/+34 |
| | | | |||||
* | | | Test for declaring variable with empty tuple type. | chriseth | 2017-03-02 | 1 | -0/+13 |
| | | | |||||
* | | | Merge pull request #1728 from ethereum/externalfunctiontypes | chriseth | 2017-03-02 | 1 | -0/+17 |
|\ \ \ | | | | | | | | | Convert reference types to pointers in member function conversion. | ||||
| * | | | Test case for external function type with calldata argument. | chriseth | 2017-03-01 | 1 | -0/+17 |
| |/ / | |||||
* | | | Print full error on failure. | chriseth | 2017-02-25 | 1 | -1/+1 |
| | | | |||||
* | | | Compiler error is not a failure. | chriseth | 2017-02-25 | 1 | -1/+0 |
|/ / | |||||
* | | 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 #1703 from ethereum/fuzzer | Alex Beregszaszi | 2017-02-18 | 3 | -22/+115 |
|\ \ \ | |/ / |/| | | Executable for use with AFL | ||||
| * | | Report failures correctly to AFL. | chriseth | 2017-02-17 | 1 | -4/+4 |
| | | | |||||
| * | | Include non-fuzzing fuzzer tests in commandline run. | chriseth | 2017-02-17 | 1 | -4/+19 |
| | | | |||||
| * | | Add executable for use with AFL. | chriseth | 2017-02-16 | 2 | -18/+96 |
| |/ | |||||
* | | 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 |
| | | | |||||
| * | | Parsing function calls. | chriseth | 2017-02-16 | 1 | -0/+5 |
| | | | |||||
| * | | Parsing function definitions. | chriseth | 2017-02-16 | 1 | -0/+10 |
| |/ | |||||
* / | Test case. | chriseth | 2017-02-16 | 1 | -0/+16 |
|/ | |||||
* | Test for unicode string literals. | chriseth | 2017-02-15 | 1 | -0/+11 |
| | |||||
* | Tests for printing assembly. | chriseth | 2017-02-14 | 1 | -0/+56 |
| | |||||
* | Merge pull request #1620 from ethereum/refactorEntry | Yoichi Hirai | 2017-02-14 | 3 | -4/+7 |
|\ | | | | | Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points. | ||||
| * | Extract scopes into compiler stack. | chriseth | 2017-02-14 | 3 | -3/+6 |
| | | |||||
| * | Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points. | chriseth | 2017-02-14 | 1 | -1/+1 |
| | | |||||
* | | Use std::chrono and not boost::posix_Time | Alex Beregszaszi | 2017-02-13 | 2 | -3/+4 |
| | | |||||
* | | Simplify mining loop | Alex Beregszaszi | 2017-02-13 | 1 | -8/+3 |
| | | |||||
* | | Use maxMiningTime in mining as opposed to poll counter | Alex Beregszaszi | 2017-02-13 | 2 | -4/+9 |
|/ | |||||
* | Merge pull request #1661 from ethereum/asm-revert | chriseth | 2017-02-13 | 2 | -0/+29 |
|\ | | | | | Implement REVERT (EIP140) |