Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changelog entry. | chriseth | 2016-12-01 | 1 | -0/+1 |
| | |||||
* | Documentation. | chriseth | 2016-12-01 | 1 | -0/+119 |
| | |||||
* | Make sure some keys are present. | chriseth | 2016-12-01 | 2 | -1/+4 |
| | |||||
* | Incorporate comments. | chriseth | 2016-12-01 | 1 | -10/+10 |
| | |||||
* | Metadata stamp. | chriseth | 2016-12-01 | 16 | -54/+171 |
| | |||||
* | Merge pull request #1462 from ethereum/fix-incorrect-assertion | chriseth | 2016-12-01 | 2 | -2/+2 |
|\ | | | | | codegen: assertion did not assert non-nullness | ||||
| * | test: more precise expectation about the error for assigning into storage in ↵ | Yoichi Hirai | 2016-12-01 | 1 | -1/+1 |
| | | | | | | | | inline assembly | ||||
| * | codegen: assertion did not assert non-nullness | Yoichi Hirai | 2016-12-01 | 1 | -1/+1 |
| | | | | | | | | | | This commit strengthens an assertion so that it makes sure that a pointer is not null. Moreover, `isLocalVariable(variable)` is now positively asserted, following the error message. | ||||
* | | Merge pull request #1461 from ethereum/reference-not-pointer | chriseth | 2016-12-01 | 1 | -7/+7 |
|\ \ | | | | | | | test: replace a pointer argument by a reference | ||||
| * | | test: change retrieveFunctionBySignature to take a constant reference rather ↵ | Yoichi Hirai | 2016-12-01 | 1 | -7/+7 |
| |/ | | | | | | | | | | | | | than a pointer The function `retrieveFunctionBySignature` expected the argument to be a non-null pointer. This commit makes this assumption more explicit. | ||||
* | | Merge pull request #1460 from ethereum/unused-total | chriseth | 2016-12-01 | 1 | -3/+2 |
|\ \ | | | | | | | libevmasm: remove an unused variable `total` | ||||
| * | | libevmasm: remove an unused variable `total` | Yoichi Hirai | 2016-12-01 | 1 | -3/+2 |
| |/ | |||||
* | | Merge pull request #1463 from ethereum/duplicate-assignment | chriseth | 2016-12-01 | 1 | -2/+0 |
|\ \ | | | | | | | codegen: this commit removes one of duplicate assignments | ||||
| * | | codegen: this commit removes one of duplicate assignments | Yoichi Hirai | 2016-12-01 | 1 | -2/+0 |
| |/ | |||||
* | | Merge pull request #1458 from federicobond/r-literals | chriseth | 2016-12-01 | 2 | -719/+936 |
|\ \ | | | | | | | Use more R string literals in tests | ||||
| * | | Use more R string literals in tests | Federico Bond | 2016-12-01 | 2 | -719/+936 |
| | | | |||||
* | | | Merge pull request #1455 from ethereum/doc-number-literal-format | Alex Beregszaszi | 2016-12-01 | 1 | -0/+8 |
|\ \ \ | | | | | | | | | docs: describe the form of number literals | ||||
| * | | | docs: describe the form of number literals | Yoichi Hirai | 2016-12-01 | 1 | -0/+8 |
| |/ / | | | | | | | | | | This is a part of #1390 | ||||
* | | | Merge pull request #1313 from ethereum/lll-strict-parser | chriseth | 2016-12-01 | 3 | -15/+11 |
|\ \ \ | | | | | | | | | LLL: stricter parser | ||||
| * | | | LLL: update tests with the strict parser | Alex Beregszaszi | 2016-12-01 | 1 | -1/+3 |
| | | | | |||||
| * | | | LLL: throw exceptions on invalid symbols | Alex Beregszaszi | 2016-12-01 | 1 | -12/+6 |
| | | | | |||||
| * | | | LLL: () requires at least one parameter | Alex Beregszaszi | 2016-12-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | LLL: do not accept '0x' as 0 | Alex Beregszaszi | 2016-12-01 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #1454 from ethereum/end-of-comment | chriseth | 2016-12-01 | 3 | -1/+31 |
|\ \ \ | |_|/ |/| | | parser: recognize an end of comment of the form `**/` | ||||
| * | | Test that contracts separated by comments are compiled | Alex Beregszaszi | 2016-12-01 | 1 | -0/+12 |
| | | | |||||
| * | | parser: recognize an end of comment of the form `**/` at the end of a ↵ | Yoichi Hirai | 2016-12-01 | 2 | -1/+19 |
| |/ | | | | | | | | | | | multi-line doc comment This fixes #1433 | ||||
* | | Merge pull request #1459 from federicobond/fix-typo | Alex Beregszaszi | 2016-12-01 | 2 | -2/+2 |
|\ \ | |/ |/| | Fix typos (existant -> existent) | ||||
| * | Fix typos (existant -> existent) | Federico Bond | 2016-12-01 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #1442 from ethereum/lll-testing | Alex Beregszaszi | 2016-11-30 | 16 | -429/+874 |
|\ | | | | | LLL: introduce testing framework | ||||
| * | LLL: simplify error handling in parseLLL | Alex Beregszaszi | 2016-11-30 | 1 | -11/+3 |
| | | |||||
| * | LLL: parseLLL to be less greedy catching exceptions | Alex Beregszaszi | 2016-11-30 | 1 | -6/+19 |
| | | |||||
| * | Rename testSolidityAgainstCpp* to testContractAgainstCpp* | Alex Beregszaszi | 2016-11-30 | 2 | -85/+85 |
| | | |||||
| * | LLLExecutionFramework doesn't support contractName/libraryAddresses | Alex Beregszaszi | 2016-11-30 | 1 | -0/+3 |
| | | |||||
| * | Add callFallback to ExectionFramework | Alex Beregszaszi | 2016-11-30 | 2 | -1/+12 |
| | | |||||
| * | LLL: check for return value in LLL smoke test | Alex Beregszaszi | 2016-11-30 | 1 | -0/+1 |
| | | |||||
| * | LLL: add end-to-end tests | Alex Beregszaszi | 2016-11-30 | 3 | -0/+152 |
| | | |||||
| * | Move ExecutionFramework to the dev::test namespace | Alex Beregszaszi | 2016-11-30 | 10 | -11/+11 |
| | | |||||
| * | Split out Solidity-specific part of ExecutionFramework | Alex Beregszaszi | 2016-11-30 | 10 | -349/+441 |
| | | |||||
| * | Add test/liblll to cmake | Alex Beregszaszi | 2016-11-30 | 1 | -1/+2 |
| | | |||||
| * | LLL: add parser tests | Alex Beregszaszi | 2016-11-30 | 1 | -0/+179 |
| | | |||||
| * | LLL: parseLLL to return empty string on failure | Alex Beregszaszi | 2016-11-30 | 1 | -5/+6 |
| | | |||||
* | | Merge pull request #1449 from ethereum/doc-grammar | chriseth | 2016-11-30 | 2 | -1/+1 |
|\ \ | | | | | | | Include the grammar verbatim in the documentation | ||||
| * | | Include the grammar verbatim in the documentation | Alex Beregszaszi | 2016-11-30 | 2 | -1/+1 |
| |/ | |||||
* | | Merge pull request #1345 from ethereum/optimiser-rules | chriseth | 2016-11-30 | 2 | -1/+36 |
|\ \ | |/ |/| | More optimiser rules | ||||
| * | Fix sub-0 optimiser test | Alex Beregszaszi | 2016-11-30 | 1 | -3/+4 |
| | | |||||
| * | Add more optimization rules | Yoichi Hirai | 2016-11-30 | 1 | -0/+6 |
| | | |||||
| * | Update SolidityOptimizer.cpp | chriseth | 2016-11-30 | 1 | -3/+3 |
| | | |||||
| * | Add test for SUB with 0 optimisation | Alex Beregszaszi | 2016-11-30 | 1 | -0/+22 |
| | | |||||
| * | Replace XOR with self with 0 | Alex Beregszaszi | 2016-11-30 | 1 | -0/+1 |
| | | |||||
| * | Replace XOR/ISZERO with EQ | Alex Beregszaszi | 2016-11-30 | 1 | -0/+4 |
| | | |||||
| * | Add optimiser rule for SUB with 0 | Alex Beregszaszi | 2016-11-30 | 1 | -1/+2 |
|/ | |||||
* | Merge pull request #1445 from ethereum/doc-testing | chriseth | 2016-11-30 | 1 | -0/+15 |
|\ | | | | | Explain how to run soltest | ||||
| * | Explain how to run soltest | Alex Beregszaszi | 2016-11-29 | 1 | -0/+15 |
| | | |||||
* | | Merge pull request #1446 from ethereum/utf8-validate | chriseth | 2016-11-29 | 4 | -7/+11 |
|\ \ | | | | | | | Improve UTF8 validate | ||||
| * | | Rename dev::validate to dev::validateUTF8 | Alex Beregszaszi | 2016-11-29 | 4 | -7/+7 |
| | | | |||||
| * | | Make position optional in dev::validate | Alex Beregszaszi | 2016-11-29 | 3 | -4/+8 |
|/ / | |||||
* | | Merge pull request #1443 from ethereum/unimplemented | chriseth | 2016-11-28 | 2 | -3/+3 |
|\ \ | |/ |/| | Use solUnimplemented wherever possible | ||||
| * | Use solUnimplemented wherever possible | Alex Beregszaszi | 2016-11-28 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #1329 from ethereum/lll-lit-changes | Alex Beregszaszi | 2016-11-26 | 1 | -19/+20 |
|\ \ | |/ |/| | LLL: improvements (and fixes) to the lit keyword | ||||
| * | LLL: simplify the LIT parsing code | Alex Beregszaszi | 2016-11-26 | 1 | -5/+17 |
| | | |||||
| * | LLL: only support variable length bigendian numbers in LIT | Alex Beregszaszi | 2016-11-01 | 1 | -13/+2 |
| | | |||||
| * | LLL: support multiple strings in LIT | Alex Beregszaszi | 2016-11-01 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #1342 from ethereum/emscripten-codesize | chriseth | 2016-11-26 | 2 | -0/+7 |
|\ \ | | | | | | | Emscripten code size improvements [WIP TEST] | ||||
| * | | Add optimisation flags for Emscripten | Alex Beregszaszi | 2016-11-09 | 2 | -2/+5 |
| | | | |||||
| * | | Display emscripten output size | Alex Beregszaszi | 2016-11-09 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #1395 from ethereum/grammar | chriseth | 2016-11-25 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Properly define the pragma directive in the grammar | ||||
| * | | | Properly define the pragma directive in the grammar | Alex Beregszaszi | 2016-11-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #1429 from ethereum/unreachablepeephole | chriseth | 2016-11-25 | 4 | -67/+179 |
|\ \ \ \ | | | | | | | | | | | Some dead code elimination | ||||
| * | | | | Integrate AddPop. | chriseth | 2016-11-25 | 2 | -16/+13 |
| | | | | | |||||
| * | | | | Changelog. | chriseth | 2016-11-25 | 1 | -0/+3 |
| | | | | | |||||
| * | | | | Templatize. | chriseth | 2016-11-25 | 1 | -37/+75 |
| | | | | | |||||
| * | | | | Peephole optimizer for unreacheable code. | chriseth | 2016-11-25 | 2 | -42/+116 |
| | | | | | |||||
* | | | | | Merge pull request #1438 from ethereum/docker | chriseth | 2016-11-25 | 1 | -0/+15 |
|\ \ \ \ \ | | | | | | | | | | | | | Docker documentation. | ||||
| * | | | | | Mention nightly. | chriseth | 2016-11-25 | 1 | -1/+3 |
| | | | | | | |||||
| * | | | | | Docker documentation. | chriseth | 2016-11-25 | 1 | -0/+13 |
| | | | | | | |||||
* | | | | | | Merge pull request #1381 from ethereum/overflown_enum_compared | chriseth | 2016-11-25 | 4 | -8/+131 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Enum overflow checking before writing to storage | ||||
| * | | | | | codegen: cleanup values to fit in storage bytes | Yoichi Hirai | 2016-11-25 | 1 | -0/+4 |
| | | | | | | |||||
| * | | | | | codegen: storing of non-value types; add some assertions | Yoichi Hirai | 2016-11-25 | 1 | -8/+5 |
| | | | | | | |||||
| * | | | | | codegen: shorten the bit truncation | Yoichi Hirai | 2016-11-25 | 1 | -5/+2 |
| | | | | | | |||||
| * | | | | | codegen: merge type conversion and cleaning up | Yoichi Hirai | 2016-11-25 | 1 | -3/+2 |
| | | | | | | |||||
| * | | | | | codegen: document _chopSignBits parameter of convertType function | Yoichi Hirai | 2016-11-25 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | codegen: add an option to CovertType so that it can truncate sign bits | Yoichi Hirai | 2016-11-25 | 3 | -10/+22 |
| | | | | | | |||||
| * | | | | | codegen: cleanup stored values in a more consistent way | Yoichi Hirai | 2016-11-25 | 1 | -4/+16 |
| | | | | | | |||||
| * | | | | | codegen: cleanup value types before storing them | Yoichi Hirai | 2016-11-24 | 1 | -0/+5 |
| | | | | | | |||||
| * | | | | | test: add a test that stores an invalid enum value | Yoichi Hirai | 2016-11-24 | 1 | -0/+29 |
| | | | | | | |||||
| * | | | | | test: add a test about trying to log an event with too big enum values | Yoichi Hirai | 2016-11-24 | 1 | -0/+34 |
| | | | | | | |||||
| * | | | | | test: add a test that compares overflown enums | Yoichi Hirai | 2016-11-24 | 1 | -0/+33 |
| | | | | | | |||||
* | | | | | | Merge pull request #1439 from ethereum/utf | chriseth | 2016-11-25 | 5 | -2/+36 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Disallow conversion of string literal into strings when the literal is not a valid UTF-8 | ||||
| * | | | | | | Indentation. | chriseth | 2016-11-25 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | test: add a test about explicitly converting a string literal to string | Yoichi Hirai | 2016-11-25 | 2 | -1/+16 |
| | | | | | | | |||||
| * | | | | | | ast: string literals that are not valid UTF are not convertible to strings | Yoichi Hirai | 2016-11-25 | 4 | -3/+12 |
| | | | | | | | |||||
| * | | | | | | test: add a test case converting an invalid UTF-8 into a string | Yoichi Hirai | 2016-11-25 | 1 | -0/+10 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #1431 from ethereum/doc-literals | chriseth | 2016-11-25 | 1 | -6/+15 |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | docs: a bit more about literals | ||||
| * | | | | | | Update types.rst | Yoichi Hirai | 2016-11-25 | 1 | -7/+8 |
| | | | | | | | |||||
| * | | | | | | docs: clarify how many number literal types are there | Yoichi Hirai | 2016-11-25 | 1 | -3/+7 |
| | | | | | | | |||||
| * | | | | | | docs: a bit more about literals | Yoichi Hirai | 2016-11-25 | 1 | -6/+10 |
| | |/ / / / | |/| | | | | |||||
* | | | | | | Merge pull request #1428 from ethereum/doc-parameters | Yoichi Hirai | 2016-11-25 | 1 | -2/+62 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Document input/output parameters | ||||
| * | | | | | docs: cleaning references to C; smoothing parameter syntax description | Yoichi Hirai | 2016-11-25 | 1 | -4/+4 |
| | | | | | | |||||
| * | | | | | docs: cross-reference returning multiple values | Yoichi Hirai | 2016-11-25 | 1 | -0/+5 |
| | | | | | | |||||
| * | | | | | doc: add a section about input parameters and output parameters | Yoichi Hirai | 2016-11-25 | 1 | -1/+56 |
|/ / / / / | |||||
* | | | | | Merge pull request #1437 from ethereum/docker | chriseth | 2016-11-25 | 1 | -0/+12 |
|\ \ \ \ \ | | | | | | | | | | | | | Alpine base docker file. | ||||
| * | | | | | Alpine base docker file. | chriseth | 2016-11-25 | 1 | -0/+12 |
|/ / / / / | |||||
* | | | | | Merge pull request #1392 from ethereum/check_warning_contents | chriseth | 2016-11-25 | 3 | -300/+389 |
|\ \ \ \ \ | | | | | | | | | | | | | Check warning text in tests | ||||
| * | | | | | Remove declaration | chriseth | 2016-11-25 | 1 | -1/+0 |
| | | | | | | |||||
| * | | | | | test: various fixes | Yoichi Hirai | 2016-11-25 | 2 | -23/+25 |
| | | | | | | |||||
| * | | | | | interface: move searchForSubstring out of Error class into a separate file | Yoichi Hirai | 2016-11-24 | 4 | -9/+67 |
| | | | | | | |||||
| * | | | | | interface: fix the substring search | Yoichi Hirai | 2016-11-24 | 3 | -10/+10 |
| | | | | | | |||||
| * | | | | | test: wrapping the error message checking in a macro | Yoichi Hirai | 2016-11-24 | 2 | -275/+296 |
| | | | | | | |||||
| * | | | | | test: check the error texts | Yoichi Hirai | 2016-11-24 | 2 | -188/+197 |
| |/ / / / | | | | | | | | | | | | | | | | by changing parseAnalyseAndReturnError to return the whole Error, not just the type | ||||
* | | | | | Merge pull request #1434 from ethereum/addpop | chriseth | 2016-11-25 | 2 | -3/+29 |
|\ \ \ \ \ | | | | | | | | | | | | | optimizing ADD; POP and similar | ||||
| * | | | | | libevmasm: generalize ADDPOP optimization into ADDMODPOP etc | Yoichi Hirai | 2016-11-25 | 1 | -5/+6 |
| | | | | | | |||||
| * | | | | | libevmasm: Add another peephole optimization | Yoichi Hirai | 2016-11-25 | 2 | -3/+28 |
| | | | | | | |||||
* | | | | | | Merge pull request #1432 from ethereum/override-types | chriseth | 2016-11-25 | 1 | -2/+4 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | docs: add a description about the types of parameters of overriding functions | ||||
| * | | | | | docs: add a description about the types of parameters of overriding functions | Yoichi Hirai | 2016-11-23 | 1 | -2/+4 |
| |/ / / / | |||||
* | | | | | Merge pull request #1413 from ethereum/calldata-layout | chriseth | 2016-11-24 | 1 | -0/+11 |
|\ \ \ \ \ | | | | | | | | | | | | | docs: add a section about calldata layout | ||||
| * | | | | | docs: add a section about calldata layout | Yoichi Hirai | 2016-11-23 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | Part of #1390 | ||||
* | | | | | | Merge pull request #1430 from ethereum/runopt | chriseth | 2016-11-24 | 7 | -5/+12 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Enable the optimizer for test runs. | ||||
| * | | | | | Enable the optimizer for test runs. | chriseth | 2016-11-23 | 7 | -5/+12 |
|/ / / / / | |||||
* | | | | | Merge pull request #1393 from VoR0220/giveBytesOstream | chriseth | 2016-11-23 | 1 | -0/+11 |
|\ \ \ \ \ | | | | | | | | | | | | | add ostream to bytes for ease of development | ||||
| * | | | | | convert individual numbers to hex | VoR0220 | 2016-11-22 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
| * | | | | | add ostream to bytes for ease of development | VoR0220 | 2016-11-18 | 1 | -0/+10 |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> fix up Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | | | | Merge pull request #1407 from escull638/patch-1 | chriseth | 2016-11-23 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | Fixed spelling mistake in Logs | ||||
| * | | | | | Fixed spelling mistake in Logs | escull638 | 2016-11-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Changed 'maps all they way up to the block level' to 'maps all the way up to the block level'. | ||||
* | | | | | | Merge pull request #1408 from ethereum/keytype | chriseth | 2016-11-23 | 1 | -3/+3 |
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | docs: some types cannot be the key type for mappings | ||||
| * | | | | | docs: some types cannot be the key type for mappings | Yoichi Hirai | 2016-11-21 | 1 | -3/+3 |
| |/ / / / | |||||
* | | | | | Merge pull request #1425 from ethereum/fixLicensing | chriseth | 2016-11-23 | 140 | -562/+562 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix licensing headers | ||||
| * | | | | | Fix licensing headers | VoR0220 | 2016-11-23 | 140 | -562/+562 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | | | | | Merge pull request #1421 from ethereum/test_memory_struct_from_library | chriseth | 2016-11-23 | 1 | -0/+11 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | test: add a test case about returning a struct in memory from a library | ||||
| * | | | | | | test: add a test case about returning a struct in memory from a library | Yoichi Hirai | 2016-11-23 | 1 | -0/+11 |
| |/ / / / / | | | | | | | | | | | | | | | | | | | This fixes #1378 | ||||
* | | | | | | Merge pull request #1422 from innovator256/patch-1 | chriseth | 2016-11-23 | 0 | -0/+0 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Update types.rst | ||||
| * | | | | | | Update types.rst | Ola | 2016-11-23 | 1 | -1/+1 |
| |/ / / / / | | | | | | | | | | | | | line 349 "returns" not return | ||||
* | | | | | | Merge pull request #1424 from ethernomad/patch-2 | chriseth | 2016-11-23 | 1 | -1/+1 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Mention when the bug was introduced. | ||||
| * | | | | | | Mention when the bug was introduced. | Jonathan Brown | 2016-11-23 | 1 | -1/+1 |
| |/ / / / / | |||||
* | | | | | | Merge pull request #1411 from ethereum/function-type-docs | Yoichi Hirai | 2016-11-23 | 1 | -8/+18 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Fix function type examples | ||||
| * | | | | | Fix examples and add explanation. | chriseth | 2016-11-22 | 1 | -1/+5 |
| | | | | | | |||||
| * | | | | | Fix oracle callback example | Alex Beregszaszi | 2016-11-21 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Fix function type examples | Alex Beregszaszi | 2016-11-21 | 1 | -5/+11 |
| |/ / / / | |||||
* | | | | | Merge pull request #1420 from ethereum/version | chriseth | 2016-11-22 | 2 | -3/+3 |
|\ \ \ \ \ | | | | | | | | | | | | | Set version to 0.4.7 | ||||
| * | | | | | Set version to 0.4.7 | chriseth | 2016-11-22 | 2 | -3/+3 |
|/ / / / / | |||||
* | | | | | Merge pull request #1417 from ethereum/fixOptimizer | Yoichi Hirai | 2016-11-22 | 3 | -36/+50 |
|\ \ \ \ \ | |/ / / / |/| | | | | Optimizer: Clear state for JUMPDESTs. | ||||
| * | | | | Optimizer: Clear state for JUMPDESTs. | chriseth | 2016-11-22 | 3 | -36/+50 |
|/ / / / | |||||
* | | | | Merge pull request #1405 from ethereum/version | chriseth | 2016-11-21 | 2 | -3/+3 |
|\ \ \ \ | | | | | | | | | | | Update version. | ||||
| * | | | | Update version. | chriseth | 2016-11-21 | 2 | -3/+3 |
|/ / / / | |||||
* | | | | Merge pull request #1404 from ethereum/changelog | chriseth | 2016-11-21 | 1 | -3/+3 |
|\ \ \ \ | | | | | | | | | | | Update changelog. | ||||
| * | | | | Update changelog. | chriseth | 2016-11-21 | 1 | -3/+3 |
|/ / / / | |||||
* | | | | Merge pull request #1398 from ethereum/VoR0220-patch-1 | chriseth | 2016-11-21 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Typo | ||||
| * | | | | Typo | RJ | 2016-11-19 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #1382 from ethereum/payable-constructor | chriseth | 2016-11-21 | 7 | -22/+43 |
|\ \ \ \ | |/ / / |/| | | | Payable constructor | ||||
| * | | | Add appendCallValueCheck | Alex Beregszaszi | 2016-11-18 | 2 | -20/+14 |
| | | | | |||||
| * | | | Rename test contract names to capitalised | Alex Beregszaszi | 2016-11-18 | 1 | -12/+12 |
| | | | | |||||
| * | | | Add payable keyword to the multisig wallet | Alex Beregszaszi | 2016-11-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | Add payable to constructor ABI tests | Alex Beregszaszi | 2016-11-18 | 1 | -0/+2 |
| | | | | |||||
| * | | | Add missing payable constructors | Alex Beregszaszi | 2016-11-18 | 1 | -1/+12 |
| | | | | |||||
| * | | | Add changelog entry for payable constructor | Alex Beregszaszi | 2016-11-18 | 1 | -0/+1 |
| | | | | |||||
| * | | | Include payable for the constructor in the ABI | Alex Beregszaszi | 2016-11-18 | 1 | -0/+1 |
| | | | | |||||
| * | | | Add payable check for constructor in codegen | Alex Beregszaszi | 2016-11-18 | 1 | -0/+12 |
|/ / / | |||||
* | | | Merge pull request #1122 from ethereum/firstClassFunctions | chriseth | 2016-11-18 | 49 | -321/+2231 |
|\ \ \ | | | | | | | | | Functions as first-class types. | ||||
| * | | | Some more assertions and style changes. | chriseth | 2016-11-16 | 4 | -21/+41 |
| | | | | |||||
| * | | | Documentation: Style update | chriseth | 2016-11-16 | 1 | -5/+5 |
| | | | | |||||
| * | | | Update documentation. | chriseth | 2016-11-16 | 1 | -1/+2 |
| | | | | |||||
| * | | | Some more tests. | chriseth | 2016-11-16 | 2 | -7/+16 |
| | | | | |||||
| * | | | JSON tests. | chriseth | 2016-11-16 | 2 | -0/+37 |
| | | | | |||||
| * | | | Fix documentation formatting. | chriseth | 2016-11-16 | 1 | -2/+2 |
| | | | | |||||
| * | | | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 8 | -21/+33 |
| | | | | |||||
| * | | | Disable broken tests that are not useful. | chriseth | 2016-11-16 | 2 | -45/+2 |
| | | | | |||||
| * | | | Fix setting the tag. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | fixup! Simple peephole optimizer that is activated even if not requested. | chriseth | 2016-11-16 | 1 | -0/+2 |
| | | | | |||||
| * | | | Fix tests. | chriseth | 2016-11-16 | 2 | -4/+4 |
| | | | | |||||
| * | | | Fix parser for function type disambiguity. | chriseth | 2016-11-16 | 2 | -1/+23 |
| | | | | |||||
| * | | | Simple peephole optimizer that is activated even if not requested. | chriseth | 2016-11-16 | 6 | -17/+226 |
| | | | | |||||
| * | | | Check that no internals are used in any external function type. | chriseth | 2016-11-16 | 5 | -1/+45 |
| | | | | |||||
| * | | | test: add a test about external function type taking/returning internal ↵ | Yoichi Hirai | 2016-11-16 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | functions | ||||
| * | | | Converted sub assembly to smart pointer. | chriseth | 2016-11-16 | 11 | -87/+133 |
| | | | | |||||
| * | | | Stored combined creation and runtime tags. | chriseth | 2016-11-16 | 20 | -117/+347 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes a change to Assembly to allow tags from sub-assemblies to be used. Sorry, this get a bit bigger than I thought. | ||||
| * | | | Fix tests. | chriseth | 2016-11-16 | 2 | -2/+2 |
| | | | | |||||
| * | | | ABI: Use external function. | chriseth | 2016-11-16 | 1 | -2/+2 |
| | | | | |||||
| * | | | Test passing functions as arrays to other contracts. | chriseth | 2016-11-16 | 1 | -3/+40 |
| | | | | |||||
| * | | | Disallow payable internal functions. | chriseth | 2016-11-16 | 3 | -2/+41 |
| | | | | |||||
| * | | | Mention "payable" in the documentation. | chriseth | 2016-11-16 | 2 | -4/+9 |
| | | | | |||||
| * | | | Fix tests. | chriseth | 2016-11-16 | 2 | -10/+33 |
| | | | | |||||
| * | | | delete for function types | chriseth | 2016-11-16 | 4 | -1/+71 |
| | | | | |||||
| * | | | codegen: add a compilation mode and a runtime context to CompilerContext | Yoichi Hirai | 2016-11-16 | 5 | -7/+24 |
| | | | | |||||
| * | | | Added function types to the grammar. | chriseth | 2016-11-16 | 1 | -1/+4 |
| | | | | |||||
| * | | | Updates to the documentation. | chriseth | 2016-11-16 | 1 | -8/+12 |
| | | | | |||||
| * | | | Implement uninitialized storage functions. | chriseth | 2016-11-16 | 4 | -14/+19 |
| | | | | |||||
| * | | | Tests for uninitialized storage functions. | chriseth | 2016-11-16 | 1 | -1/+53 |
| | | | | |||||
| * | | | test: add a test for storing an internal function in the constructor and ↵ | Yoichi Hirai | 2016-11-16 | 1 | -0/+46 |
| | | | | | | | | | | | | | | | | then using the stored function in runtime | ||||
| * | | | Bugfix in code generator. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | Documentation examples. | chriseth | 2016-11-16 | 1 | -1/+73 |
| | | | | |||||
| * | | | Tests. | chriseth | 2016-11-16 | 3 | -26/+197 |
| | | | | |||||
| * | | | Change alignment. | chriseth | 2016-11-16 | 4 | -31/+43 |
| | | | | |||||
| * | | | Part of the documentation. | chriseth | 2016-11-16 | 1 | -1/+41 |
| | | | | |||||
| * | | | Changelog entry and small fixes. | chriseth | 2016-11-16 | 3 | -5/+9 |
| | | | | |||||
| * | | | Add a test around storing functions in an array | Yoichi Hirai | 2016-11-16 | 1 | -0/+39 |
| | | | | |||||
| * | | | Add a parser test for arrays containing functions | Yoichi Hirai | 2016-11-16 | 1 | -0/+10 |
| | | | | |||||
| * | | | Add tests around calling functions returning functions returning functions | Yoichi Hirai | 2016-11-16 | 2 | -0/+45 |
| | | | | |||||
| * | | | External functions in storage. | chriseth | 2016-11-16 | 4 | -19/+76 |
| | | | | |||||
| * | | | Fix some type checks and tests for internal / external function parameters. | chriseth | 2016-11-16 | 3 | -11/+35 |
| | | | | |||||
| * | | | Function type state variables. | chriseth | 2016-11-16 | 4 | -33/+115 |
| | | | | |||||
| * | | | Code generator for function types. | chriseth | 2016-11-16 | 6 | -3/+127 |
| | | | | |||||
| * | | | Function types. | chriseth | 2016-11-16 | 17 | -39/+359 |
|/ / / | |||||
* | | | Merge pull request #1379 from ethereum/swarmHashCorrection | chriseth | 2016-11-16 | 2 | -29/+24 |
|\ \ \ | | | | | | | | | Correct implementation of swarm hash. | ||||
| * | | | Correct implementation of swarm hash. | chriseth | 2016-11-15 | 2 | -29/+24 |
| | | | | |||||
* | | | | Merge pull request #1377 from ethereum/keep-json-values | chriseth | 2016-11-16 | 11 | -59/+107 |
|\ \ \ \ | |/ / / |/| | | | Keep internal results in JSON | ||||
| * | | | Change natspec/abi JSON expected message to be the same | Alex Beregszaszi | 2016-11-16 | 2 | -5/+6 |
| | | | | |||||
| * | | | Move JSON helpers to libdevcore/json | Alex Beregszaszi | 2016-11-16 | 4 | -29/+57 |
| | | | | |||||
| * | | | Update tests to use JSON | Alex Beregszaszi | 2016-11-16 | 2 | -9/+5 |
| | | | | |||||
| * | | | Move InterfaceHandler from string to JSON | Alex Beregszaszi | 2016-11-15 | 8 | -48/+71 |
|/ / / | |||||
* | | | Merge pull request #1327 from ethereum/inline-assembly-errortag | Alex Beregszaszi | 2016-11-15 | 5 | -1/+30 |
|\ \ \ | | | | | | | | | ErrorTag in inline assembly | ||||
| * | | | Rename ErrorTag to invalidJumpLabel in inline assembly | Alex Beregszaszi | 2016-11-15 | 5 | -6/+6 |
| | | | | |||||
| * | | | Document inline assembly ErrorTag | Alex Beregszaszi | 2016-11-15 | 1 | -0/+4 |
| | | | | |||||
| * | | | Add tests for the ErrorTag | Alex Beregszaszi | 2016-11-15 | 2 | -0/+20 |
| | | | | |||||
| * | | | Support ErrorTag as a jump label in inline assembly | Alex Beregszaszi | 2016-11-15 | 2 | -1/+6 |
| | | | | |||||
* | | | | Merge pull request #1369 from ethereum/callcosts | chriseth | 2016-11-15 | 2 | -15/+28 |
|\ \ \ \ | | | | | | | | | | | Report infinite gas for calls. | ||||
| * | | | | Keep old code. | chriseth | 2016-11-15 | 2 | -21/+30 |
| | | | | | |||||
| * | | | | Report infinite gas for calls. | chriseth | 2016-11-14 | 1 | -15/+19 |
| | | | | | |||||
* | | | | | Merge pull request #1366 from ethereum/swarmhash | chriseth | 2016-11-15 | 4 | -2/+159 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Swarm hash. | ||||
| * | | | | Move swarmHash to its own file. | chriseth | 2016-11-15 | 5 | -45/+101 |
| | | | | | |||||
| * | | | | Multi-level swarm hash. | chriseth | 2016-11-15 | 4 | -10/+103 |
| | | | | | |||||
| * | | | | Swarm hash. | chriseth | 2016-11-15 | 1 | -0/+8 |
| | | | | | |||||
* | | | | | Merge pull request #1375 from ethereum/inline-assembly-stack-height | chriseth | 2016-11-15 | 3 | -12/+23 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix inline assembly stack warnings when using variables | ||||
| * | | | | | Add tests | chriseth | 2016-11-15 | 1 | -5/+13 |
| | | | | | | |||||
| * | | | | | Fix inline assembly stack warnings when using variables | Alex Beregszaszi | 2016-11-15 | 2 | -7/+10 |
| |/ / / / | |||||
* | | | | | Merge pull request #760 from axic/fix/omit-newline-in-interface | chriseth | 2016-11-15 | 2 | -1/+5 |
|\ \ \ \ \ | | | | | | | | | | | | | Do not include a trailing new line in the ABI JSON output | ||||
| * | | | | | Do not include a trailing new line in the ABI JSON output | Alex Beregszaszi | 2016-11-15 | 2 | -1/+5 |
| |/ / / / | |||||
* | | | | | Merge pull request #1317 from ethereum/timelock | Alex Beregszaszi | 2016-11-15 | 6 | -2/+26 |
|\ \ \ \ \ | | | | | | | | | | | | | Compile all contracts in the std directory | ||||
| * | | | | | Update tests.sh | chriseth | 2016-11-15 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Add tests for the std files. | chriseth | 2016-11-12 | 6 | -2/+25 |
| | | | | | | |||||
* | | | | | | Merge pull request #1373 from ethereum/debug-compiler-flag | chriseth | 2016-11-15 | 1 | -1/+1 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Compile with -Og in debug mode (by @chfast) | ||||
| * | | | | | Compile with -Og in debug mode (by @chfast) | Alex Beregszaszi | 2016-11-15 | 1 | -1/+1 |
|/ / / / / | |||||
* | | | | | Unimplemented features moved to their own exception (#1361) | Rhett Aultman | 2016-11-15 | 9 | -17/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unimplemented features moved to their own exception InternalCompilerError is an exception that really should be reserved for actual internal errors of the compiler. Unimplemented features can now use either solUnimplemented( ) or, if it should be conditional, then solUnimplementedAssert( ). * Revert some unimplemented exceptions, add handlers The jsonCompiler and CommandLineInterface needed handlers for the new UnimplementedFeatureException, and some cases I had moved on to the new exception were better treated as real internal compiler errors. * Standardize on "Unimplemented feature" message | ||||
* | | | | | Merge pull request #1371 from ethereum/invalid_enum_as_external_arg | chriseth | 2016-11-15 | 1 | -0/+27 |
|\ \ \ \ \ | | | | | | | | | | | | | Throw exception on invalid enum value as external call argument | ||||
| * | | | | | test: add a testcase about using an invalid enum value as an external call ↵ | Yoichi Hirai | 2016-11-15 | 1 | -0/+27 |
|/ / / / / | | | | | | | | | | | | | | | | argument | ||||
* | | | | | Merge pull request #1367 from asinyagin/develop | chriseth | 2016-11-15 | 1 | -2/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Print canonical names of structs and enums in AST | ||||
| * | | | | | Print canonical names of structs and enums in AST | Alex Sinyagin | 2016-11-14 | 1 | -2/+2 |
| | |/ / / | |/| | | | |||||
* | | | | | Merge pull request #1372 from ethereum/invalid_enum_as_external_ret | chriseth | 2016-11-15 | 2 | -2/+36 |
|\ \ \ \ \ | | | | | | | | | | | | | Invalid enum as external ret | ||||
| * | | | | | codegen: overflow checking also during conversion from enums | Yoichi Hirai | 2016-11-15 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | test: add tests about returning invalid enum values from interface functions | Yoichi Hirai | 2016-11-14 | 1 | -0/+34 |
| |/ / / / | |||||
* | | | | | Merge pull request #1370 from ethereum/missing_break | Alex Beregszaszi | 2016-11-15 | 1 | -0/+1 |
|\ \ \ \ \ | |/ / / / |/| | | | | codegen: add a missing `break;` | ||||
| * | | | | codegen: add a missing `break;` | Yoichi Hirai | 2016-11-14 | 1 | -0/+1 |
|/ / / / | |||||
* | | | | Merge pull request #1365 from walter-weinmann/develop | chriseth | 2016-11-14 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | #1362: As it stands currently, the >>> operator will not be implemented. | ||||
| * | | | | #1362: As it stands currently, the >>> operator will not be implemented. | Walter Weinmann | 2016-11-14 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #1348 from ethereum/chriseth-patch-1 | chriseth | 2016-11-14 | 1 | -3/+0 |
|\ \ \ \ \ | | | | | | | | | | | | | Windows build fix. | ||||
| * | | | | | Windows build fix. | chriseth | 2016-11-09 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | Thanks for the find, @slothbag | ||||
* | | | | | | Merge pull request #1334 from ethereum/enum_conversion | chriseth | 2016-11-14 | 11 | -22/+92 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | check enum value range during conversion | ||||
| * | | | | | | codegen: move the enum overflow checking closer to the conversion into enums | Yoichi Hirai | 2016-11-14 | 1 | -8/+16 |
| | | | | | | | |||||
| * | | | | | | ast, codegen: disallow conversion between different enum types | Yoichi Hirai | 2016-11-12 | 3 | -2/+3 |
| | | | | | | | |||||
| * | | | | | | test: add a test conerting an enum into another enum, which should fail | Yoichi Hirai | 2016-11-12 | 1 | -0/+15 |
| | | | | | | | |||||
| * | | | | | | codegen: shorten the overflow checking when converting into enums | Yoichi Hirai | 2016-11-12 | 1 | -1/+2 |
| | | | | | | | |||||
| * | | | | | | docs: udpate description of enums about #1334 | Yoichi Hirai | 2016-11-12 | 1 | -1/+2 |
| | | | | | | |