Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compare start/end timestamp | Alex Beregszaszi | 2017-02-10 | 1 | -1/+4 |
| | |||||
* | Do not use modifyTimestamp where not needed | Alex Beregszaszi | 2017-02-10 | 1 | -2/+5 |
| | |||||
* | Disallow arrays with negative length | Alex Beregszaszi | 2017-02-02 | 1 | -0/+10 |
| | |||||
* | Cover both failure cases | Alex Beregszaszi | 2017-02-02 | 1 | -1/+13 |
| | |||||
* | Add more tests for function type conversion | Alex Beregszaszi | 2017-02-01 | 2 | -1/+32 |
| | |||||
* | Add tests for explicity fuction type to address casting | Alex Beregszaszi | 2017-02-01 | 1 | -0/+12 |
| | |||||
* | Add tests for invalid instruction | Alex Beregszaszi | 2017-01-28 | 2 | -0/+20 |
| | |||||
* | Merge pull request #1598 from wuestholz/develop | chriseth | 2017-01-27 | 2 | -4/+10 |
|\ | | | | | Change translation of implicit throws | ||||
| * | Address feedback from code review. | Valentin Wüstholz | 2017-01-26 | 2 | -9/+5 |
| | | |||||
| * | Change translation of implicit throws (issue #1589). | Valentin Wüstholz | 2017-01-26 | 2 | -4/+14 |
| | | | | | | | | | | | | | | This adds a new invalid instruction that is used for encoding implicit throws that are emitted by the compiler. This makes it possible to distinguish such runtime errors from user-provided, explicit throws. | ||||
* | | Merge pull request #1451 from LefterisJP/fix_build | chriseth | 2017-01-27 | 1 | -3/+68 |
|\ \ | | | | | | | Accept any kind of whitespace after natspec tags | ||||
| * | | Tests for natspect parsing failure cases | Lefteris Karapetsas | 2017-01-27 | 1 | -0/+42 |
| | | | |||||
| * | | Doc tags followed by newline are now parsed properly | Lefteris Karapetsas | 2017-01-27 | 1 | -2/+2 |
| | | | |||||
| * | | Fix and better output for tests | Lefteris Karapetsas | 2017-01-25 | 1 | -1/+1 |
| | | | |||||
| * | | Accept any kind of whitespace after natspec tags | Lefteris Karapetsas | 2017-01-25 | 1 | -0/+23 |
| | | | |||||
* | | | Refactor json return type generation. | chriseth | 2017-01-27 | 1 | -11/+11 |
| |/ |/| | |||||
* | | Merge pull request #1604 from ethereum/checksums | Alex Beregszaszi | 2017-01-26 | 1 | -0/+49 |
|\ \ | | | | | | | Warn about invalid checksums of addresses. | ||||
| * | | Warn about invalid checksums of addresses. | chriseth | 2017-01-25 | 1 | -0/+49 |
| |/ | |||||
* | | Update error message. | chriseth | 2017-01-26 | 1 | -1/+1 |
| | | |||||
* | | Disallow assignment to non-identifiers. | chriseth | 2017-01-26 | 1 | -0/+6 |
| | | |||||
* | | Add test for assignment. | chriseth | 2017-01-26 | 1 | -1/+7 |
| | | |||||
* | | Moved test. | chriseth | 2017-01-26 | 2 | -14/+6 |
| | | |||||
* | | Add test for shadowing inline assembly instruction | Alex Beregszaszi | 2017-01-25 | 1 | -0/+13 |
|/ | |||||
* | Test double inclusion of bytecode. | chriseth | 2017-01-25 | 1 | -0/+29 |
| | |||||
* | Test for initializing recursive structs. | chriseth | 2017-01-24 | 1 | -0/+22 |
| | |||||
* | Merge pull request #1245 from ethereum/1215 | chriseth | 2017-01-24 | 2 | -0/+157 |
|\ | | | | | Allow multiple events of the same name | ||||
| * | test: add tests about functions and events of the same name | Yoichi Hirai | 2017-01-23 | 1 | -0/+47 |
| | | |||||
| * | test: add a test case about inheriting multiple events of the same name | Yoichi Hirai | 2017-01-23 | 1 | -0/+52 |
| | | |||||
| * | test: somehow log counting system has changed | Yoichi Hirai | 2017-01-23 | 1 | -10/+10 |
| | | |||||
| * | test: check the results of function calls in the test for multiple events of ↵ | Yoichi Hirai | 2017-01-23 | 1 | -6/+9 |
| | | | | | | | | the same name | ||||
| * | test: fixing inconsistent usage of end-to-end test framework | Yoichi Hirai | 2017-01-23 | 1 | -4/+7 |
| | | |||||
| * | test: Add an end-to-end test about multiple events of the same name | Yoichi Hirai | 2017-01-23 | 1 | -0/+41 |
| | | | | | | | | See #1215 | ||||
| * | test: Add a test for #1215 | Yoichi Hirai | 2017-01-23 | 1 | -0/+11 |
| | | | | | | | | using the original example from @pipermerriam | ||||
* | | Add tests for internal constructor. | chriseth | 2017-01-21 | 2 | -0/+36 |
|/ | |||||
* | Reset AST node IDs between compilation runs. | chriseth | 2017-01-20 | 1 | -0/+1 |
| | |||||
* | Properly escape user strings and lists. | chriseth | 2017-01-19 | 1 | -12/+12 |
| | |||||
* | Type identifiers. | chriseth | 2017-01-19 | 1 | -0/+66 |
| | |||||
* | Provide fallback for linking. | chriseth | 2017-01-19 | 1 | -12/+12 |
| | |||||
* | Revert "Fix contract lookup in tests" | Rhett Aultman | 2017-01-17 | 2 | -7/+3 |
| | | | | This reverts commit f8914c6b281f398d6084f10708233bf79d633ef0. | ||||
* | Modify library collision test | Rhett Aultman | 2017-01-17 | 1 | -0/+1 |
| | | | | | Since libaraies no longer collide on name but on fully-qualified name, you can only induce collision by colliding them as idenfitiers. | ||||
* | Revert "Move clashing libraries to common source in test" | Rhett Aultman | 2017-01-17 | 1 | -1/+2 |
| | | | | This reverts commit c4a9ca5cfe7a8b4ba9d2d84392c57d5eefacd1f7. | ||||
* | Use fully-qualified names for linking, too | Rhett Aultman | 2017-01-17 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | Using libraries leaves behind a library link reference in the binary which the linker must later resolve. These link references were still being generated by name and not by fully-qualified name. This would lead to a link-time collision between two libraries having the same name but in different source units. This change changes linker symbols over to fully-qualified names, which resolves that issue. This does potentially introduce a new problem, which is that linker symbols appear to be limited to 36 characters and are truncated. Storing paths extends the average symbol size, and it would be great if truncation was from the tail rather than the head. | ||||
* | Fix contract lookup in tests | Rhett Aultman | 2017-01-17 | 2 | -3/+7 |
| | | | | | | The fully-qualified name of a contract with no source unit is :<Name> instead of just <Name>, so the test system needed to be adjusted accordingly. | ||||
* | Move clashing libraries to common source in test | Rhett Aultman | 2017-01-17 | 1 | -2/+1 |
| | | | | | | Since contracts and libraries only collide if they share a common source file now, this test only works if both libraries are in the same source. | ||||
* | Merge pull request #1479 from ethereum/function_variable_mixin | chriseth | 2017-01-13 | 2 | -56/+25 |
|\ | | | | | Disallow mixin of functions and attributes under the same name | ||||
| * | test: allow multiple errors in modifier-function overriding | Yoichi Hirai | 2017-01-12 | 1 | -2/+6 |
| | | |||||
| * | analysis: allow some shadowings explicitly | Yoichi Hirai | 2017-01-12 | 2 | -56/+21 |
| | | |||||
* | | fixed | VoR0220 | 2017-01-12 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | added fix and a test for order independence of nested prefixing | VoR0220 | 2017-01-12 | 1 | -0/+18 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | fixed test and added solution | VoR0220 | 2017-01-09 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | added test | VoR0220 | 2017-01-09 | 1 | -0/+11 |
|/ | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | test: add a test importing a file name starting with a period | Yoichi Hirai | 2017-01-04 | 1 | -0/+8 |
| | |||||
* | test: add a test case for #1286 | Yoichi Hirai | 2017-01-03 | 1 | -0/+22 |
| | |||||
* | Merge pull request #1487 from ethereum/shift-ops | Yoichi Hirai | 2016-12-14 | 1 | -0/+390 |
|\ | | | | | Shift operators | ||||
| * | Fix tests. | chriseth | 2016-12-14 | 1 | -5/+5 |
| | | |||||
| * | test: add tests that tries different types on <<= | Yoichi Hirai | 2016-12-13 | 1 | -0/+18 |
| | | |||||
| * | Tests for bytes. | chriseth | 2016-12-12 | 1 | -0/+38 |
| | | |||||
| * | Correct test expectations. | chriseth | 2016-12-12 | 1 | -3/+5 |
| | | |||||
| * | Cleaner shift handling and type conversion for binary operations. | chriseth | 2016-12-12 | 1 | -3/+22 |
| | | |||||
| * | Type after shift should be type of left operand. | chriseth | 2016-12-12 | 1 | -0/+15 |
| | | |||||
| * | Support bitshifting in variables | Alex Beregszaszi | 2016-12-12 | 1 | -0/+298 |
| | | |||||
* | | Improve error message when trying to modify constant variables | Federico Bond | 2016-12-13 | 1 | -0/+11 |
|/ | |||||
* | Warn about using msg.value in non-payable function | Federico Bond | 2016-12-09 | 1 | -1/+89 |
| | |||||
* | Merge pull request #1351 from ethereum/truncate_bit | chriseth | 2016-12-08 | 2 | -1/+29 |
|\ | | | | | Truncate a boolean from calldata into one bit | ||||
| * | codegen: clean any data from the input | Yoichi Hirai | 2016-12-01 | 1 | -1/+1 |
| | | |||||
| * | test: add a test that witnesses #1318 | Yoichi Hirai | 2016-12-01 | 1 | -0/+28 |
| | | |||||
* | | Merge pull request #1412 from ethereum/disallow-multiple-errors | chriseth | 2016-12-08 | 1 | -25/+113 |
|\ \ | | | | | | | disallow more than one errors in name and type tests | ||||
| * | | test: either fix tests to raise just one error, or mark them as raising ↵ | Yoichi Hirai | 2016-12-05 | 1 | -32/+112 |
| | | | | | | | | | | | | multiple errors | ||||
| * | | test: disallow more than one errors in name and type tests | Yoichi Hirai | 2016-12-05 | 1 | -0/+8 |
| | | | |||||
* | | | test: check error messages in parser tests | Yoichi Hirai | 2016-12-07 | 2 | -24/+49 |
|/ / | |||||
* | | Migrate remaining source code in tests to R literals | Federico Bond | 2016-12-04 | 4 | -592/+810 |
| | | |||||
* | | Count instructions without metadata hash. | chriseth | 2016-12-01 | 1 | -10/+22 |
| | | |||||
* | | Submit library addresses to the compiler in tests (and not link afterwards) | Alex Beregszaszi | 2016-12-01 | 1 | -2/+1 |
| | | |||||
* | | Remove unneeded optimised test from EndToEndTest | Alex Beregszaszi | 2016-12-01 | 1 | -7/+0 |
| | | |||||
* | | Optimizer tests to not interfere with the optimiser flag | Alex Beregszaszi | 2016-12-01 | 1 | -11/+24 |
| | | |||||
* | | Fix tests | chriseth | 2016-12-01 | 1 | -2/+5 |
| | | |||||
* | | Use CBOR encoding. | chriseth | 2016-12-01 | 1 | -1/+1 |
| | | |||||
* | | Fix tests. | chriseth | 2016-12-01 | 1 | -11/+0 |
| | | |||||
* | | Add test. | chriseth | 2016-12-01 | 1 | -2/+22 |
| | | |||||
* | | Metadata stamp. | chriseth | 2016-12-01 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1462 from ethereum/fix-incorrect-assertion | chriseth | 2016-12-01 | 1 | -1/+1 |
|\ \ | | | | | | | 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 | ||||
* | | | 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 #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 #1454 from ethereum/end-of-comment | chriseth | 2016-12-01 | 2 | -0/+25 |
|\ \ \ | |_|/ |/| | | 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 | 1 | -0/+13 |
| |/ | | | | | | | | | | | multi-line doc comment This fixes #1433 | ||||
* / | Fix typos (existant -> existent) | Federico Bond | 2016-12-01 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1442 from ethereum/lll-testing | Alex Beregszaszi | 2016-11-30 | 5 | -422/+91 |
|\ | | | | | LLL: introduce testing framework | ||||
| * | Rename testSolidityAgainstCpp* to testContractAgainstCpp* | Alex Beregszaszi | 2016-11-30 | 1 | -75/+75 |
| | | |||||
| * | Move ExecutionFramework to the dev::test namespace | Alex Beregszaszi | 2016-11-30 | 5 | -4/+6 |
| | | |||||
| * | Split out Solidity-specific part of ExecutionFramework | Alex Beregszaszi | 2016-11-30 | 5 | -344/+11 |
| | | |||||
* | | Fix sub-0 optimiser test | Alex Beregszaszi | 2016-11-30 | 1 | -3/+4 |
| | | |||||
* | | 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 |
|/ | |||||
* | Merge pull request #1429 from ethereum/unreachablepeephole | chriseth | 2016-11-25 | 1 | -5/+43 |
|\ | | | | | Some dead code elimination | ||||
| * | Peephole optimizer for unreacheable code. | chriseth | 2016-11-25 | 1 | -5/+43 |
| | | |||||
* | | Merge pull request #1381 from ethereum/overflown_enum_compared | chriseth | 2016-11-25 | 1 | -0/+96 |
|\ \ | |/ |/| | Enum overflow checking before writing to storage | ||||
| * | 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 |
| | | |||||
* | | test: add a test about explicitly converting a string literal to string | Yoichi Hirai | 2016-11-25 | 1 | -1/+11 |
| | | |||||
* | | ast: string literals that are not valid UTF are not convertible to strings | Yoichi Hirai | 2016-11-25 | 1 | -1/+1 |
| | | |||||
* | | test: add a test case converting an invalid UTF-8 into a string | Yoichi Hirai | 2016-11-25 | 1 | -0/+10 |
| | | |||||
* | | Merge pull request #1392 from ethereum/check_warning_contents | chriseth | 2016-11-25 | 3 | -300/+389 |
|\ \ | | | | | | | Check warning text in tests | ||||
| * | | 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 | 3 | -2/+67 |
| | | | |||||
| * | | interface: fix the substring search | Yoichi Hirai | 2016-11-24 | 1 | -2/+2 |
| | | | |||||
| * | | test: wrapping the error message checking in a macro | Yoichi Hirai | 2016-11-24 | 1 | -272/+294 |
| | | | |||||
| * | | test: check the error texts | Yoichi Hirai | 2016-11-24 | 1 | -188/+188 |
| |/ | | | | | | | by changing parseAnalyseAndReturnError to return the whole Error, not just the type | ||||
* / | Enable the optimizer for test runs. | chriseth | 2016-11-23 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #1425 from ethereum/fixLicensing | chriseth | 2016-11-23 | 17 | -68/+68 |
|\ | | | | | Fix licensing headers | ||||
| * | Fix licensing headers | VoR0220 | 2016-11-23 | 17 | -68/+68 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | 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 | ||||
* | Optimizer: Clear state for JUMPDESTs. | chriseth | 2016-11-22 | 1 | -0/+20 |
| | |||||
* | Rename test contract names to capitalised | Alex Beregszaszi | 2016-11-18 | 1 | -12/+12 |
| | |||||
* | 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 |
| | |||||
* | Some more assertions and style changes. | chriseth | 2016-11-16 | 1 | -3/+14 |
| | |||||
* | Some more tests. | chriseth | 2016-11-16 | 2 | -7/+16 |
| | |||||
* | JSON tests. | chriseth | 2016-11-16 | 2 | -0/+37 |
| | |||||
* | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 1 | -3/+3 |
| | |||||
* | Disable broken tests that are not useful. | chriseth | 2016-11-16 | 2 | -45/+2 |
| | |||||
* | Fix tests. | chriseth | 2016-11-16 | 2 | -4/+4 |
| | |||||
* | Fix parser for function type disambiguity. | chriseth | 2016-11-16 | 1 | -0/+11 |
| | |||||
* | 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 | 2 | -1/+19 |
| | |||||
* | Stored combined creation and runtime tags. | chriseth | 2016-11-16 | 2 | -1/+64 |
| | | | | | | | 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 |
| | |||||
* | Test passing functions as arrays to other contracts. | chriseth | 2016-11-16 | 1 | -3/+40 |
| | |||||
* | Disallow payable internal functions. | chriseth | 2016-11-16 | 1 | -0/+36 |
| | |||||
* | Fix tests. | chriseth | 2016-11-16 | 1 | -9/+22 |
| | |||||
* | delete for function types | chriseth | 2016-11-16 | 2 | -1/+63 |
| | |||||
* | codegen: add a compilation mode and a runtime context to CompilerContext | Yoichi Hirai | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Implement uninitialized storage functions. | chriseth | 2016-11-16 | 1 | -3/+1 |
| | |||||
* | 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 | ||||
* | Tests. | chriseth | 2016-11-16 | 3 | -26/+197 |
| | |||||
* | 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 | 1 | -1/+27 |
| | |||||
* | Fix some type checks and tests for internal / external function parameters. | chriseth | 2016-11-16 | 2 | -8/+32 |
| | |||||
* | Function type state variables. | chriseth | 2016-11-16 | 2 | -2/+47 |
| | |||||
* | Code generator for function types. | chriseth | 2016-11-16 | 2 | -1/+81 |
| | |||||
* | Function types. | chriseth | 2016-11-16 | 3 | -0/+118 |
| | |||||
* | 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 | 1 | -1/+2 |
| | |||||
* | Update tests to use JSON | Alex Beregszaszi | 2016-11-16 | 2 | -9/+5 |
| | |||||
* | Rename ErrorTag to invalidJumpLabel in inline assembly | Alex Beregszaszi | 2016-11-15 | 2 | -3/+3 |
| | |||||
* | Add tests for the ErrorTag | Alex Beregszaszi | 2016-11-15 | 2 | -0/+20 |
| | |||||
* | Add tests | chriseth | 2016-11-15 | 1 | -5/+13 |
| | |||||
* | test: add a testcase about using an invalid enum value as an external call ↵ | Yoichi Hirai | 2016-11-15 | 1 | -0/+27 |
| | | | | argument | ||||
* | test: add tests about returning invalid enum values from interface functions | Yoichi Hirai | 2016-11-14 | 1 | -0/+34 |
| | |||||
* | test: add a test conerting an enum into another enum, which should fail | Yoichi Hirai | 2016-11-12 | 1 | -0/+15 |
| | |||||
* | parsing: ban empty enum definition. | Yoichi Hirai | 2016-11-12 | 2 | -15/+1 |
| | |||||
* | test: add a test converting -1 as a literal into an enum | Yoichi Hirai | 2016-11-12 | 1 | -0/+6 |
| | | | | This shows #1334 fixes #1344 | ||||
* | test: add a test case for #1343 | Yoichi Hirai | 2016-11-12 | 1 | -0/+6 |
| | | | | The test witnesses that #1334 fixes #1343. | ||||
* | test: add tests that witness issue #1311 | Yoichi Hirai | 2016-11-12 | 1 | -0/+24 |
| | |||||
* | test: add a test for #621 | Yoichi Hirai | 2016-11-11 | 1 | -0/+14 |
| | |||||
* | Merge pull request #768 from roadriverrail/do_while_loops | chriseth | 2016-11-11 | 1 | -0/+28 |
|\ | | | | | Add support for do/while loops | ||||
| * | Add support for do/while loops | Rhett Aultman | 2016-11-10 | 1 | -0/+28 |
| | | | | | | | | | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last. | ||||
* | | Merge pull request #1339 from ethereum/typo | chriseth | 2016-11-09 | 1 | -3/+3 |
|\ \ | | | | | | | test: fix a typo in calling_payable test | ||||
| * | | Fail if parsing fails in type checker tests. | chriseth | 2016-11-09 | 1 | -1/+1 |
| | | | |||||
| * | | test: fix a typo in calling_payable test | Yoichi Hirai | 2016-11-09 | 1 | -2/+2 |
| |/ | |||||
* / | libevmasm: fix comparison of SourceLocations | Yoichi Hirai | 2016-11-08 | 1 | -1/+3 |
|/ | |||||
* | Test case for overflow in storage. | chriseth | 2016-10-31 | 1 | -0/+20 |
| | |||||
* | Add tests for #1246 | Yoichi Hirai | 2016-10-25 | 1 | -0/+16 |
| | |||||
* | Merge pull request #1264 from ethereum/988 | chriseth | 2016-10-25 | 2 | -0/+127 |
|\ | | | | | State variable under contract's name | ||||
| * | test: add more tests about state variable access under base contract names | Yoichi Hirai | 2016-10-25 | 1 | -2/+35 |
| | | |||||
| * | test: add tests from #988 | Yoichi Hirai | 2016-10-24 | 2 | -0/+79 |
| | | |||||
| * | test: add a test case for accessing a state variable under the contract's name | Yoichi Hirai | 2016-10-24 | 1 | -0/+15 |
| | | | | | | | | The test comes from the description of #988 | ||||
* | | Test. | chriseth | 2016-10-24 | 1 | -3/+16 |
|/ | |||||
* | test: add a test about using an inherited enum definition as an expression, | Yoichi Hirai | 2016-10-24 | 1 | -0/+42 |
| | | | | with an explicit mention of the base contract. The test is about #1131. | ||||
* | Fix crash in throw. | chriseth | 2016-10-24 | 1 | -0/+12 |
| | |||||
* | Merge pull request #1240 from ethereum/1151 | chriseth | 2016-10-24 | 1 | -0/+17 |
|\ | | | | | ast: super contract type does not contain native members | ||||
| * | Add a test for #1151 | Yoichi Hirai | 2016-10-20 | 1 | -0/+17 |
| | | |||||
* | | test: add a test about accessing an enum member without the name of the enum | Yoichi Hirai | 2016-10-21 | 1 | -0/+15 |
| | | |||||
* | | test: add tests for #1131 | Yoichi Hirai | 2016-10-21 | 2 | -0/+68 |
| | | | | | | | | The tests are about enum inheritance. | ||||
* | | Add tests for inline assembly in modifiers | Alex Beregszaszi | 2016-10-21 | 2 | -0/+73 |
| | | |||||
* | | Add two test cases for unbalanced inline assembly | Alex Beregszaszi | 2016-10-20 | 1 | -0/+28 |
| | | |||||
* | | Allow warnings for inline assembly block | Alex Beregszaszi | 2016-10-20 | 1 | -1/+1 |
|/ | |||||
* | Add tests for constant shifts | Alex Beregszaszi | 2016-10-20 | 2 | -0/+84 |
| | |||||
* | Add tests for magic variables in inline assembly | Alex Beregszaszi | 2016-10-20 | 1 | -0/+7 |
| | |||||
* | Add test case for bound types without self | Alex Beregszaszi | 2016-10-19 | 1 | -0/+19 |
| | |||||
* | Add a test for #1242 | Yoichi Hirai | 2016-10-18 | 1 | -0/+9 |
| | | | | This is about `super` as an expression. | ||||
* | Merge pull request #1079 from VoR0220/fixedTypeTestFramework | RJ | 2016-10-14 | 1 | -1/+9 |
|\ | | | | | Solidity helper function for testing fixed points | ||||
| * | Replace `fixed` by standard `encode` function. | chriseth | 2016-10-12 | 1 | -6/+8 |
| | | | | | | | | | | | | | | This way, we can use ``` BOOST_CHECK(callContractFunction("t(fixed8x128)", make_pair(rational(2, 3), 128)) == encodeArgs(u256(9))); ``` which is a bit more self-explanatory, I would say. | ||||
| * | Solidity helper function for testing fixed points | VoR0220 | 2016-09-10 | 1 | -1/+7 |
| | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | Fix assignment after tags in inline assembly | Alex Beregszaszi | 2016-10-11 | 1 | -0/+5 |
| | | |||||
* | | Fix build error. | chriseth | 2016-10-11 | 1 | -4/+6 |
| | | |||||
* | | Merge pull request #1168 from ethereum/rename-dev-sha3 | chriseth | 2016-10-11 | 5 | -28/+28 |
|\ \ | | | | | | | Rename dev::sha3 to dev::keccak256 | ||||
| * | | Rename dev::sha3 to dev::keccak256 | Alex Beregszaszi | 2016-10-06 | 5 | -28/+28 |
| | | | |||||
* | | | Add test for address in inline assembly | Alex Beregszaszi | 2016-10-07 | 1 | -1/+1 |
| | | | |||||
* | | | Add alias keccak256() for sha3() | Alex Beregszaszi | 2016-10-06 | 1 | -0/+18 |
| | | | |||||
* | | | Add test for suicide/selfdestruct | Alex Beregszaszi | 2016-10-06 | 1 | -0/+5 |
|/ / | |||||
* | | Merge pull request #1104 from ethereum/fixmemcosts | chriseth | 2016-09-17 | 1 | -0/+27 |
|\ \ | | | | | | | Fix memory resize costs during call | ||||
| * | | Access output memory area so that we do not pay for resize during call. | chriseth | 2016-09-17 | 1 | -1/+1 |
| | | | |||||
| * | | Test case. | chriseth | 2016-09-17 | 1 | -0/+27 |
| | | | |||||
* | | | Allow value transfer to library functions. | chriseth | 2016-09-17 | 1 | -0/+17 |
|/ / | |||||
* / | Fix crash for TypeName[k]. | chriseth | 2016-09-16 | 1 | -0/+10 |
|/ | |||||
* | Fix problem with release version string. | chriseth | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Tests for constructor visibility | Alex Beregszaszi | 2016-09-06 | 1 | -0/+10 |
| | |||||
* | Tests for constant constructors | Alex Beregszaszi | 2016-09-06 | 1 | -0/+11 |
| | |||||
* | Merge pull request #1014 from ethereum/strict-fallback | chriseth | 2016-09-06 | 2 | -2/+11 |
|\ | | | | | Reject constant modifier on the fallback function | ||||
| * | Reject constant modifier on the fallback function | Alex Beregszaszi | 2016-09-06 | 2 | -2/+11 |
| | | |||||
* | | Provide gas stipend manually for send(0). | chriseth | 2016-09-06 | 1 | -0/+20 |
|/ | |||||
* | Merge pull request #665 from axic/feature/accept-ether | chriseth | 2016-09-06 | 5 | -33/+298 |
|\ | | | | | BREAKING: Add payable modifier | ||||
| * | Test and fixes for payable fallback in ABI. | chriseth | 2016-09-06 | 1 | -0/+20 |
| | | |||||
| * | Tests for payable / private combination. | chriseth | 2016-09-06 | 1 | -0/+20 |
| | | |||||
| * | Change placeholder style. | chriseth | 2016-09-06 | 1 | -1/+1 |
| | | |||||
| * | Make constant and payable mutually exclusive. | chriseth | 2016-09-06 | 1 | -0/+8 |
| | | |||||
| * | Change function type to include and propagate payable and constant modifier. | chriseth | 2016-09-06 | 3 | -34/+45 |
| | | |||||
| * | Merged in changes from chriseth/payable | Alex Beregszaszi | 2016-09-06 | 3 | -13/+110 |
| | | |||||
| * | Mark every other test payable where neccesary in EndToEndTest | Alex Beregszaszi | 2016-09-06 | 1 | -26/+29 |
| | | |||||
| * | Include EndToEnd test for payable keyword | Alex Beregszaszi | 2016-09-06 | 1 | -0/+57 |
| | | |||||
| * | Include ABI JSON test for payable keyword | Alex Beregszaszi | 2016-09-06 | 1 | -0/+49 |
| | | |||||
* | | Merge pull request #995 from chriseth/fixutf8astjson | chriseth | 2016-09-06 | 1 | -0/+16 |
|\ \ | |/ |/| | Do not emit non-utf8 strings for ast json. | ||||
| * | Test case for non-utf8 characters in string literal. | chriseth | 2016-09-06 | 1 | -0/+16 |
| | | |||||
* | | Require ";" after "_" | chriseth | 2016-09-05 | 4 | -39/+47 |
|/ | |||||
* | Fix version pragmas in tests. | chriseth | 2016-09-01 | 6 | -42/+42 |
| | |||||
* | Version pragma. | chriseth | 2016-09-01 | 7 | -57/+301 |
| | |||||
* | Merge pull request #960 from Denton-L/change-else-style | chriseth | 2016-09-01 | 2 | -2/+3 |
|\ | | | | | Change else style | ||||
| * | Fix syntax error | Denton Liu | 2016-08-31 | 1 | -1/+1 |
| | | |||||
| * | Make tests more consistent in style | Denton Liu | 2016-08-27 | 2 | -2/+3 |
| | | |||||
* | | Merge pull request #947 from winsvega/soltest | winsvega | 2016-08-31 | 1 | -1/+1 |
|\ \ | | | | | | | rename --ipc to --ipcpath | ||||
| * | | rename --ipc to --ipcpath | Dimitry | 2016-08-29 | 1 | -1/+1 |
| | | | |||||
* | | | Test cases. | chriseth | 2016-08-30 | 2 | -0/+23 |
| | | | |||||
* | | | Make fallback function throw by default. | chriseth | 2016-08-30 | 2 | -1/+3 |
| | | | |||||
* | | | Add test for fallback function in JSON ABI | Alex Beregszaszi | 2016-08-27 | 1 | -9/+19 |
| |/ |/| | |||||
* | | Merge pull request #897 from Denton-L/remove-standard | chriseth | 2016-08-27 | 4 | -19/+3 |
|\ \ | | | | | | | BREAKING: Remove standard contracts | ||||
| * | | Remove standard contracts | Denton Liu | 2016-08-19 | 4 | -19/+3 |
| | | | |||||
* | | | Fix tests. | chriseth | 2016-08-26 | 1 | -9/+9 |
| | | | |||||
* | | | Disallow fallback function to return values. | chriseth | 2016-08-26 | 1 | -0/+10 |
| |/ |/| | |||||
* | | Merge pull request #928 from winsvega/solremove | chriseth | 2016-08-25 | 1 | -5/+16 |
|\ \ | |/ |/| | remove sha256 and rmd160 hash | ||||
| * | remove sha256 and rmd160 hash | Dimitry | 2016-08-24 | 1 | -5/+16 |
| | | |||||
* | | Rename root AST JSON node to SourceUnit | Alex Sinyagin | 2016-08-18 | 1 | -2/+2 |
| | | |||||
* | | Use the full names for JSON AST nodes | Alex Sinyagin | 2016-08-18 | 1 | -8/+8 |
| | | |||||
* | | Add ast json converter for PlaceholderStatement | Alex Sinyagin | 2016-08-18 | 1 | -0/+13 |
| | | |||||
* | | Add ast json converter for ArrayTypeName | Alex Sinyagin | 2016-08-18 | 1 | -0/+13 |
| | | |||||
* | | Add ast json converter for ModifierInvocation and EventDefinition | Alex Sinyagin | 2016-08-18 | 1 | -0/+30 |
| | | |||||
* | | Add ast json converter for ModifierDefinition | Alex Sinyagin | 2016-08-18 | 1 | -0/+14 |
| | | |||||
* | | Add ast json converter for EnumValue | Alex Sinyagin | 2016-08-18 | 1 | -0/+17 |
| | | |||||
* | | Add ast json converter for EnumDefinition | Alex Sinyagin | 2016-08-18 | 1 | -0/+14 |
| | | |||||
* | | Check source loctaion in the InhertanceSpecifier test | Alex Sinyagin | 2016-08-18 | 1 | -0/+1 |
| | | |||||
* | | Add ast json converter for UsingForDirective | Alex Sinyagin | 2016-08-18 | 1 | -0/+17 |
| | | |||||
* | | Add a ast json converter for InheritanceSpecifier | Alex Sinyagin | 2016-08-18 | 1 | -0/+14 |
| | | |||||
* | | Merge pull request #918 from winsvega/solremove4 | chriseth | 2016-08-17 | 1 | -165/+0 |
|\ \ | | | | | | | remove solidity --interface |