Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | 6 | -3/+5 | |
|/ | ||||||
* | Merge pull request #1425 from ethereum/fixLicensing | chriseth | 2016-11-23 | 26 | -104/+104 | |
|\ | | | | | Fix licensing headers | |||||
| * | Fix licensing headers | VoR0220 | 2016-11-23 | 26 | -104/+104 | |
| | | | | | | | | 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 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | Merge pull request #1379 from ethereum/swarmHashCorrection | chriseth | 2016-11-16 | 1 | -7/+8 | |
|\ | | | | | Correct implementation of swarm hash. | |||||
| * | Correct implementation of swarm hash. | chriseth | 2016-11-15 | 1 | -7/+8 | |
| | | ||||||
* | | 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 | |
|/ | ||||||
* | Merge pull request #1327 from ethereum/inline-assembly-errortag | Alex Beregszaszi | 2016-11-15 | 2 | -0/+20 | |
|\ | | | | | ErrorTag in inline assembly | |||||
| * | 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 | |
| | | ||||||
* | | Merge pull request #1366 from ethereum/swarmhash | chriseth | 2016-11-15 | 2 | -2/+59 | |
|\ \ | |/ |/| | Swarm hash. | |||||
| * | Move swarmHash to its own file. | chriseth | 2016-11-15 | 1 | -1/+1 | |
| | | ||||||
| * | Multi-level swarm hash. | chriseth | 2016-11-15 | 2 | -2/+59 | |
| | | ||||||
* | | 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: add a test case about SourceLocation | Yoichi Hirai | 2016-11-07 | 2 | -0/+51 | |
|/ | ||||||
* | 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 | 6 | -29/+29 | |
|\ \ | | | | | | | Rename dev::sha3 to dev::keccak256 | |||||
| * | | Rename dev::sha3 to dev::keccak256 | Alex Beregszaszi | 2016-10-06 | 6 | -29/+29 | |
| | | | ||||||
* | | | 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 | |
| | ||||||
* | Fix version pragma in tests. | chriseth | 2016-09-08 | 3 | -3/+3 | |
| | ||||||
* | 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 | 8 | -41/+301 | |
|\ | | | | | 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 | 6 | -21/+113 | |
| | | ||||||
| * | 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 | 7 | -44/+52 | |
|/ | ||||||
* | Fix version pragmas in tests. | chriseth | 2016-09-01 | 9 | -45/+45 | |
| | ||||||
* | Version pragma. | chriseth | 2016-09-01 | 10 | -58/+307 | |
| | ||||||
* | Merge pull request #960 from Denton-L/change-else-style | chriseth | 2016-09-01 | 3 | -8/+5 | |
|\ | | | | | 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 | 3 | -8/+5 | |
| | | ||||||
* | | soltest on windows | Dimitry | 2016-08-31 | 1 | -3/+4 | |
| | | ||||||
* | | Merge pull request #947 from winsvega/soltest | winsvega | 2016-08-31 | 2 | -2/+2 | |
|\ \ | | | | | | | rename --ipc to --ipcpath | |||||
| * | | rename --ipc to --ipcpath | Dimitry | 2016-08-29 | 2 | -2/+2 | |
| | | | ||||||
* | | | 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 | 7 | -22/+6 | |
|\ \ | | | | | | | BREAKING: Remove standard contracts | |||||
| * | | Remove standard contracts | Denton Liu | 2016-08-19 | 7 | -22/+6 | |
| | | | ||||||
* | | | 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 | 4 | -8/+16 | |
|\ \ | |/ |/| | remove sha256 and rmd160 hash | |||||
| * | remove sha256 and rmd160 hash | Dimitry | 2016-08-24 | 4 | -8/+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 | |||||
| * | | remove solidity --interface | Dimitry | 2016-08-17 | 1 | -165/+0 | |
| |/ | ||||||
* | | Merge pull request #839 from chriseth/checkcode | chriseth | 2016-08-17 | 1 | -0/+26 | |
|\ \ | | | | | | | BREAKING: Make function calls throw if target does not have code. | |||||
| * | | Make function calls throw if target does not have code. | chriseth | 2016-08-17 | 1 | -0/+26 | |
| |/ | | | | | | | | | Low-level calls still just execute and will actually report "success". This allows `x.call.value(y)()` for x being a non-contract account. | |||||
* | | Merge pull request #888 from chriseth/throwOnDivZero | chriseth | 2016-08-17 | 2 | -0/+29 | |
|\ \ | | | | | | | Throw on division by zero. | |||||
| * | | Fix tests. | chriseth | 2016-08-17 | 1 | -0/+8 | |
| | | | ||||||
| * | | Throw on division by zero. | chriseth | 2016-08-17 | 1 | -0/+21 | |
| | | | ||||||
* | | | BREAKING: return only exits current function/modifier | chriseth | 2016-08-17 | 1 | -2/+134 | |
| |/ |/| | ||||||
* | | Merge pull request #836 from chriseth/unusedunderscore | chriseth | 2016-08-17 | 2 | -12/+22 | |
|\ \ | |/ |/| | BREAKING: Require modifiers to contain "_". | |||||
| * | Fix tests. | chriseth | 2016-08-17 | 2 | -12/+12 | |
| | | ||||||
| * | Require modifiers to contain "_". | chriseth | 2016-08-16 | 1 | -0/+10 | |
| | | ||||||
* | | Merge pull request #838 from chriseth/ecrecover | chriseth | 2016-08-17 | 1 | -0/+16 | |
|\ \ | | | | | | | Make ecrecover return zero for malformed input. | |||||
| * | | Actually better to return zero on error. | chriseth | 2016-08-16 | 1 | -5/+3 | |
| | | | ||||||
| * | | Make ecrecover throw for malformed input. | chriseth | 2016-08-16 | 1 | -0/+18 | |
| |/ | ||||||
* | | Introduce hex literals (#832) | Alex Beregszaszi | 2016-08-16 | 1 | -0/+36 | |
| | | | | | | | | | | | | | | | | | | | | * Introduce hex keyword token * Support hex literals * Include tests for hex literals * Document hex literals | |||||
* | | Throw if contract creation fails. | chriseth | 2016-08-16 | 1 | -0/+27 | |
|/ | ||||||
* | Show compilation errors in tests. | chriseth | 2016-08-12 | 1 | -1/+12 | |
| | ||||||
* | Auto-calibrate mining sleep time. | chriseth | 2016-08-12 | 2 | -9/+30 | |
| | ||||||
* | Exponential sleep increase on mining failure. | chriseth | 2016-08-12 | 2 | -3/+7 | |
| | ||||||
* | Cleanup of test suite init. | chriseth | 2016-08-12 | 4 | -92/+33 | |
| | ||||||
* | Remove After test case | Denton Liu | 2016-08-11 | 1 | -6/+0 | |
| | ||||||
* | Include Unicode tests in the scanner | Alex Beregszaszi | 2016-08-05 | 1 | -0/+40 | |
| | ||||||
* | Fixed up broken ifdefs in new sockets code. | Bob Summerwill | 2016-08-03 | 1 | -1/+1 | |
| | ||||||
* | Fix build break in new TestHelper code. | Bob Summerwill | 2016-08-03 | 1 | -1/+1 | |
| | ||||||
* | Windows pipe for soltest | Dmitry K | 2016-08-03 | 6 | -35/+176 | |
| | ||||||
* | Merge branch 'develop' of https://github.com/ethereum/solidity into develop | Dmitry K | 2016-08-02 | 10 | -50/+153 | |
|\ | ||||||
| * | Further fixes to the optimizer. | chriseth | 2016-08-02 | 1 | -1/+4 | |
| | | ||||||
| * | Test case. | chriseth | 2016-08-01 | 1 | -0/+58 | |
| | | ||||||
| * | Fix optimizer tests. | chriseth | 2016-08-01 | 1 | -3/+6 | |
| | | ||||||
| * | Make the Solidity repository standalone. | Bob Summerwill | 2016-08-01 | 9 | -46/+71 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is the culmination of several months of work to decouple Solidity from the webthree-umbrella so that it can be developed in parallel with cpp-ethereum (the Ethereum C++ runtime) and so that even for the Solidity unit-tests there is no hard-dependency onto the C++ runtime. The Tests-over-IPC refactoring was a major step in the same process which was already committed. This commit contains the following changes: - A subset of the CMake functionality in webthree-helpers was extracted and tailored for Solidity into ./cmake. Further cleanup is certainly possible. - A subset of the libdevcore functionality in libweb3core was extracted and tailored for Solidity into ./libdevcore. Further cleanup is certainly possible - The gas price constants in EVMSchedule were orphaned into libevmasm. - Some other refactorings and cleanups were made to sever unnecessary EVM dependencies in the Solidity unit-tests. - TravisCI and Appveyor support was added, covering builds and running of the unit-tests (Linux and macOS only for now) - A bug-fix was made to get the Tests-over-IPC running on macOS. - There are still reliability issues in the unit-tests, which need immediate attention. The Travis build has been flipped to run the unit-tests 5 times, to try to flush these out. - The Emscripten automation which was previously in webthree-umbrella was merged into the TravisCI automation here. - The development ZIP deployment step has been commented out, but we will want to read that ONLY for release branch. Further iteration on these changes will definitely be needed, but I feel these have got to sufficient maturity than holding them back further isn't winning us anything. It is go time :-) | |||||
| * | Bugfix: Allocate empty array. | chriseth | 2016-07-28 | 1 | -0/+14 | |
| | | ||||||
* | | windowspipe | Dmitry K | 2016-08-02 | 2 | -0/+28 | |
|/ | ||||||
* | Source location as part of AST. | chriseth | 2016-07-21 | 1 | -0/+69 | |
| | ||||||
* | Do not link to libethereum for tests. | chriseth | 2016-07-01 | 1 | -1/+1 | |
| | ||||||
* | Fix jsoncpp includes for macos. | chriseth | 2016-07-01 | 2 | -3/+3 | |
| | ||||||
* | Fix test contracts. | chriseth | 2016-06-29 | 2 | -5/+12 | |
| | ||||||
* | Re-enable registrar tests. | chriseth | 2016-06-29 | 1 | -2/+2 | |
| | ||||||
* | Rename IPCSocket and removed unused code in TestHelper. | chriseth | 2016-06-29 | 5 | -90/+4 | |
| | ||||||
* | Fixes for gas tests. | chriseth | 2016-06-29 | 1 | -1/+16 | |
| | ||||||
* | Some more test fixes. | chriseth | 2016-06-29 | 3 | -5/+6 | |
| | ||||||
* | Fix some more tests. | chriseth | 2016-06-29 | 8 | -179/+220 | |
| | ||||||
* | Fix empty storage check. | chriseth | 2016-06-29 | 1 | -1/+3 | |
| | ||||||
* | Parse arguments in free function. | chriseth | 2016-06-29 | 2 | -18/+10 | |
| | ||||||
* | parse command line arguments | Dimitry | 2016-06-29 | 2 | -3/+32 | |
| | | | | ipcPath | |||||
* | replace BalanceAt | Dimitry | 2016-06-29 | 5 | -24/+27 | |
| | | | | | add addressHasCode remove m_state and sealengine | |||||
* | Balance and storage. | chriseth | 2016-06-29 | 5 | -65/+82 | |
| | ||||||
* | logs | chriseth | 2016-06-29 | 5 | -12/+42 | |
| | ||||||
* | style | Dimitry | 2016-06-29 | 1 | -5/+4 | |
| | ||||||
* | fix rpc mining | Dimitry | 2016-06-29 | 1 | -18/+12 | |
| | ||||||
* | Refactor testing via IPC. | chriseth | 2016-06-29 | 13 | -194/+239 | |
| | ||||||
* | Style | chriseth | 2016-06-29 | 2 | -9/+11 | |
| | ||||||
* | test framework | Dimitry | 2016-06-29 | 4 | -64/+375 | |
| | | | | IPC socket and RPC communication with node | |||||
* | Initial poc to test via ipc. | chriseth | 2016-06-29 | 1 | -0/+31 | |
| | ||||||
* | Only warn about unused return in low-level functions. | chriseth | 2016-06-26 | 1 | -1/+49 | |
| | ||||||
* | Warn about unused return values. | chriseth | 2016-06-26 | 1 | -0/+25 | |
| | ||||||
* | Allow remappings to change depending on the context. | chriseth | 2016-06-09 | 1 | -0/+22 | |
| | ||||||
* | Tests for implementation by constructor. | chriseth | 2016-06-07 | 1 | -0/+15 | |
| | ||||||
* | Merge pull request #624 from chriseth/inaccessibleDynType | chriseth | 2016-06-06 | 2 | -0/+47 | |
|\ | | | | | Inaccessible dynamic types | |||||
| * | Add a test for a struct accessor. | chriseth | 2016-06-05 | 1 | -0/+26 | |
| | | ||||||
| * | Inaccessible dynamic types | chriseth | 2016-06-02 | 2 | -0/+21 | |
| | | ||||||
* | | Include nested headers. | chriseth | 2016-06-03 | 1 | -1/+1 | |
|/ | ||||||
* | Fixes for invalid cleanups for small types. | chriseth | 2016-05-20 | 1 | -3/+4 | |
| | ||||||
* | Tests for invalid cleanup and missing bool conversion code. | chriseth | 2016-05-20 | 2 | -0/+30 | |
| | ||||||
* | explicit conversion and loosening of binary operations on integer and fixed ↵ | VoR0220 | 2016-05-19 | 1 | -2/+1 | |
| | | | | | | point types...still other problems fixed some spaces and deleted lines from failing test | |||||
* | current debugging info | VoR0220 | 2016-05-19 | 1 | -0/+39 | |
| | ||||||
* | Merge pull request #545 from chriseth/accessFunLabels | chriseth | 2016-05-18 | 1 | -0/+19 | |
|\ | | | | | Allow access to functions in inline assembly. | |||||
| * | Allow access to functions in inline assembly. | chriseth | 2016-05-12 | 1 | -0/+19 | |
| | | ||||||
* | | Merge pull request #546 from chriseth/fixiszero | chriseth | 2016-05-14 | 1 | -0/+20 | |
|\ \ | |/ |/| | Correctly use not/bnot/iszero. | |||||
| * | Correctly use not/bnot/iszero. | chriseth | 2016-05-09 | 1 | -0/+20 | |
| | | | | | | | | | | A long time ago, some opcodes were renamed. Now we should only have not (bitwise negation) and iszero (logical negation). | |||||
* | | Remove unused tests and add asserts for not implemented parts in code ↵ | chriseth | 2016-05-11 | 1 | -22/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | generation. quick fix on christian's rational change so that ubuntu will stop yelling be more specific with rational declaration for Windows sake rational in namespace correction for windows | |||||
* | | Correctly handle unexpected exceptions during tests. | chriseth | 2016-05-11 | 1 | -2/+34 | |
| | | ||||||
* | | reorganized tests and fixed mobile types and implicit conversions of ↵ | VoR0220 | 2016-05-10 | 1 | -82/+125 | |
| | | | | | | | | | | | | | | | | rationals and fixed point types one final tweak check for null types | |||||
* | | updated algorithm for bit finding...now to figure out literal value | VoR0220 | 2016-05-10 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value | |||||
* | | added bytes conversion tests, resolved that, converted to binary scaling, ↵ | VoR0220 | 2016-05-10 | 2 | -26/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | refactored the find algo to prevent large numbers and take into account integer bytes think we're good on solidity type name resolution now removed couts updates to documentation and more removed couts along with literal value implementation forgot semicolons | |||||
* | | fixing modulus and Solidity Name and Type Resolution | VoR0220 | 2016-05-10 | 1 | -272/+0 | |
| | | | | | | | | | | | | minor fixes current attempts at binary fixup | |||||
* | | currently what we have | VoR0220 | 2016-05-10 | 1 | -1/+1 | |
| | | ||||||
* | | got exponents up and working with their inverse, changed a few of the ↵ | RJ Catalano | 2016-05-10 | 1 | -41/+131 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error | |||||
* | | fixed problem with var...probably a conversion problem for fixed in size ↵ | RJ Catalano | 2016-05-10 | 1 | -2/+70 | |
| | | | | | | | | | | | | | | | | capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together | |||||
* | | fix for token bug, also quick fix for the wei and seconds | RJ Catalano | 2016-05-10 | 1 | -1/+1 | |
| | | ||||||
* | | Rational implemented...trying to figure out exponential | RJ Catalano | 2016-05-10 | 1 | -2/+30 | |
| | | ||||||
* | | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 3 | -31/+475 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this | |||||
* | Modify failing test: Accessor functions are not available anymore in libraries. | chriseth | 2016-05-04 | 1 | -2/+1 | |
| | ||||||
* | Some more tests. | chriseth | 2016-05-04 | 2 | -0/+39 | |
| | ||||||
* | Allow calling internal functions of libraries. | chriseth | 2016-05-04 | 1 | -0/+77 | |
| | | | | | | | | | | | | Internal functions of libraries can be called as if the library were a base contract of the calling contract. As the calling convention for internal functions is to not create a new call context, the code of these functions will be pulled into the context of the caller, duplicating their code. This might pull in code of further internal or even private functions. The use case for such functions is to allow libraries which can operate on memory types such that these types can also be modified in place. | |||||
* | wrap soltest add_executable | rainbeam | 2016-05-01 | 1 | -1/+1 | |
| | | | | Allows static linking. | |||||
* | Merge pull request #507 from chriseth/sealEngine | Bob Summerwill | 2016-04-16 | 1 | -13/+2 | |
|\ | | | | | Explicitly init seal engine. | |||||
| * | Explicitly init seal engine. | chriseth | 2016-04-16 | 1 | -13/+2 | |
| | | ||||||
* | | Test for bug in static array constructor argument decoder. | chriseth | 2016-04-16 | 1 | -0/+20 | |
|/ | ||||||
* | Test for bug when deleting dynamic array of structs. | chriseth | 2016-04-15 | 1 | -0/+22 | |
| | ||||||
* | Merge pull request #491 from winsvega/sealengines | Bob Summerwill | 2016-04-13 | 1 | -0/+14 | |
|\ | | | | | sealengines throught init function |