Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | | | |||||
| * | | | | parsing: ban empty enum definition. | Yoichi Hirai | 2016-11-12 | 4 | -15/+7 |
| | | | | | |||||
| * | | | | 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. | ||||
| * | | | | docs: document the new overflow exception during conversion into enum | Yoichi Hirai | 2016-11-12 | 1 | -3/+4 |
| | | | | | |||||
| * | | | | codegen: check the value range after converting something to an enum element | Yoichi Hirai | 2016-11-12 | 2 | -0/+9 |
| | | | | | |||||
| * | | | | test: add tests that witness issue #1311 | Yoichi Hirai | 2016-11-12 | 1 | -0/+24 |
| | | | | | |||||
| * | | | | ast: add EnumType::numberOfMembers() | Yoichi Hirai | 2016-11-12 | 2 | -1/+7 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #1360 from ethers/patch-1 | chriseth | 2016-11-14 | 1 | -2/+2 |
|\ \ \ \ | |/ / / |/| | | | docs: Remove named return | ||||
| * | | | Remove named return | ethers | 2016-11-13 | 1 | -2/+2 |
|/ / / | | | | | | | Named returns are not explained in this introduction; they also provide little value in these examples. | ||||
* | | | Merge pull request #1355 from ethereum/chriseth-patch-2 | chriseth | 2016-11-12 | 1 | -3/+3 |
|\ \ \ | | | | | | | | | Fix semicolons | ||||
| * | | | Fix semicolons | chriseth | 2016-11-11 | 1 | -3/+3 |
| | |/ | |/| | |||||
* | | | Merge pull request #1293 from ethereum/common_type_of_rational_type | Yoichi Hirai | 2016-11-11 | 4 | -6/+21 |
|\ \ \ | |/ / |/| | | tolerant type checking for inline arrays, by computing the common type in a more tolerant way | ||||
| * | | Changelog: add a point about #1293 | Yoichi Hirai | 2016-11-11 | 1 | -0/+1 |
| | | | |||||
| * | | Type checker: move the burden of computing mobile type to commonType | Yoichi Hirai | 2016-11-11 | 2 | -6/+6 |
| | | | | | | | | | | | | This solves #621 | ||||
| * | | 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 | 11 | -11/+92 |
|\ \ | |/ |/| | Add support for do/while loops | ||||
| * | Add support for do/while loops | Rhett Aultman | 2016-11-10 | 11 | -11/+92 |
| | | | | | | | | | | | | | | 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 |
| | | | |||||
* | | | Merge pull request #1333 from ethereum/compare_location_files | chriseth | 2016-11-09 | 4 | -6/+64 |
|\ \ \ | | | | | | | | | Compare source files in source locations | ||||
| * | | | libevmasm: fix comparison of SourceLocations | Yoichi Hirai | 2016-11-08 | 2 | -6/+13 |
| | | | | |||||
| * | | | test: add a test case about SourceLocation | Yoichi Hirai | 2016-11-07 | 2 | -0/+51 |
| | | | | |||||
* | | | | Merge pull request #1338 from ethereum/updatereleasppa | chriseth | 2016-11-08 | 1 | -0/+4 |
|\ \ \ \ | | |_|/ | |/| | | Fetch jsoncpp tarball during ppa release. | ||||
| * | | | Fetch jsoncpp tarball during ppa release. | chriseth | 2016-11-08 | 1 | -0/+4 |
|/ / / | |||||
* | | | Merge pull request #1337 from ethereum/jsoncpp-from-source | chriseth | 2016-11-08 | 1 | -0/+0 |
|\ \ \ | |_|/ |/| | | JSONCPP: keep downloaded archive in source dir | ||||
| * | | Update jsoncpp.cmake from cpp-dependencies repo | Paweł Bylica | 2016-11-08 | 1 | -0/+0 |
|/ / | | | | | | | This change will keep the downloaded jsoncpp archive in the source dir and allow PPA builds from tarballs. | ||||
* | | Merge pull request #1252 from ethereum/jsoncpp-from-source | chriseth | 2016-11-08 | 13 | -129/+9 |
|\ \ | |/ |/| | Build jsoncpp from source using jsoncpp.cmake script | ||||
| * | Drop CryptoPP leftovers | Paweł Bylica | 2016-11-08 | 5 | -18/+0 |
| | | | | | | | | Especially, do not compile CryptoPP for Emscripten. | ||||
| * | Update jsoncpp.cmake from cpp-dependencies repo | Paweł Bylica | 2016-11-08 | 1 | -0/+0 |
| | | |||||
| * | Build jsoncpp from source using jsoncpp.cmake script | Paweł Bylica | 2016-10-21 | 12 | -111/+9 |
| | | |||||
* | | Merge pull request #1316 from federicobond/clarify-doc | chriseth | 2016-11-04 | 1 | -1/+1 |
|\ \ | | | | | | | Add clarification for block.blockhash | ||||
| * | | Add clarification for block.blockhash | Federico Bond | 2016-11-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1325 from ethereum/addpayable | chriseth | 2016-11-04 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | add payable to AST | ||||
| * | | | add payable to AST | yann300 | 2016-11-03 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge pull request #1314 from ethereum/lll-version | chriseth | 2016-11-04 | 1 | -1/+8 |
|\ \ \ \ | | | | | | | | | | | LLL: include version number in lllc (verbatim copy of solc) | ||||
| * | | | | LLL: include version number in lllc (verbatim copy of solc) | Alex Beregszaszi | 2016-11-01 | 1 | -1/+8 |
| | | | | | |||||
* | | | | | Merge pull request #1323 from varunagarwal315/patch-1 | Yoichi Hirai | 2016-11-04 | 1 | -0/+9 |
|\ \ \ \ \ | | | | | | | | | | | | | Update solidity-by-example.rst | ||||
| * | | | | | Update solidity-by-example.rst | varunagarwal315 | 2016-11-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | added the space. Sorry, just slipped my mind. | ||||
| * | | | | | Update solidity-by-example.rst | varunagarwal315 | 2016-11-03 | 1 | -11/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made changes suggested to simplify code. Hope this is enough Thanks | ||||
| * | | | | | Update solidity-by-example.rst | varunagarwal315 | 2016-11-03 | 1 | -0/+16 |
| |/ / / / | | | | | | | | | | | Might be trivial, but makes more sense to be able to directly return the name of the winner for the election. If the position of the winner on the proposal[] array is returned, then people still don't know the name of the person who won. | ||||
* | | | | | Merge pull request #1315 from ethereum/lll-constructor | chriseth | 2016-11-04 | 1 | -0/+4 |
|\ \ \ \ \ | |_|/ / / |/| | | | | LLL: add bytecodesize keyword to push resulting bytecode size | ||||
| * | | | | LLL: add bytecodesize keyword to push resulting bytecode size | Alex Beregszaszi | 2016-11-02 | 1 | -0/+4 |
| |/ / / | |||||
* | | | | Merge pull request #1324 from ethereum/appveyorrelease | chriseth | 2016-11-03 | 1 | -3/+2 |
|\ \ \ \ | |/ / / |/| | | | Trying to attach artifacts to tags only. | ||||
| * | | | Trying to attach artifacts to tags only. | chriseth | 2016-11-03 | 1 | -3/+2 |
|/ / / | |||||
* | | | Merge pull request #1298 from ethereum/lll-error-reporting | chriseth | 2016-11-01 | 4 | -14/+24 |
|\ \ \ | | | | | | | | | LLL: further improve error reporting | ||||
| * | | | LLL: properly support dashes (-) as part of variable names | Alex Beregszaszi | 2016-11-01 | 1 | -2/+2 |
| | | | | |||||
| * | | | LLL: simplify integer parsing | Alex Beregszaszi | 2016-11-01 | 1 | -2/+2 |
| | | | | |||||
| * | | | LLL: catch and display spirit::qi errors | Alex Beregszaszi | 2016-11-01 | 1 | -2/+11 |
| | | | | |||||
| * | | | LLL: update exception message | Alex Beregszaszi | 2016-11-01 | 1 | -4/+3 |
| | | | | |||||
| * | | | LLL: remove unneeded includes | Alex Beregszaszi | 2016-11-01 | 1 | -3/+0 |
| | | | | |||||
| * | | | LLL: report back unsupported keywords | Alex Beregszaszi | 2016-11-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | LLL: support passing error reasons | Alex Beregszaszi | 2016-11-01 | 1 | -0/+5 |
| | | | | |||||
* | | | | Merge pull request #1310 from ethereum/version | chriseth | 2016-11-01 | 3 | -3/+5 |
|\ \ \ \ | |/ / / |/| | | | Version update in develop. | ||||
| * | | | Version update in develop. | chriseth | 2016-11-01 | 3 | -3/+5 |
|/ / / | |||||
* | | | Update Changelog.md | chriseth | 2016-11-01 | 1 | -3/+1 |
| | | | |||||
* | | | Merge pull request #1307 from ethereum/fixclean | chriseth | 2016-11-01 | 3 | -7/+22 |
|\ \ \ | | | | | | | | | Fix cleanup of higher order bytes prior to store. | ||||
| * | | | Updated changelog. | chriseth | 2016-11-01 | 1 | -0/+1 |
| | | | | |||||
| * | | | Clear all value types prior to storing. | chriseth | 2016-10-31 | 1 | -7/+1 |
| | | | | |||||
| * | | | Test case for overflow in storage. | chriseth | 2016-10-31 | 1 | -0/+20 |
|/ / / | |||||
* | | | Merge pull request #1302 from ethereum/lll-panic | chriseth | 2016-10-28 | 1 | -0/+4 |
|\ \ \ | | | | | | | | | LLL: introduce panic keyword | ||||
| * | | | LLL: introduce panic keyword | Alex Beregszaszi | 2016-10-27 | 1 | -0/+4 |
| | | | | |||||
* | | | | Merge pull request #1301 from ethereum/emptystringreplace | Alex Beregszaszi | 2016-10-28 | 2 | -7/+7 |
|\ \ \ \ | | | | | | | | | | | Fix cmake empty string replace. | ||||
| * | | | | Fix cmake empty string replace. | chriseth | 2016-10-27 | 2 | -7/+7 |
|/ / / / | |||||
* | | | | Merge pull request #1297 from Thrillberg/patch-2 | chriseth | 2016-10-27 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Update installing-solidity.rst | ||||
| * | | | | Update installing-solidity.rst | Eric Tillberg | 2016-10-27 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #1296 from Thrillberg/patch-1 | chriseth | 2016-10-27 | 1 | -1/+1 |
|\ \ \ \ \ | |/ / / / |/| | | | | Update index.rst | ||||
| * | | | | Update index.rst | Eric Tillberg | 2016-10-27 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request #1294 from zigguratt/lll-until-support | chriseth | 2016-10-26 | 1 | -2/+3 |
|\ \ \ \ | |/ / / |/| | | | LLL: Add support for 'until', the inverse of 'while'. | ||||
| * | | | Added support for `until`, the inverse of `while`. | Daniel Ellison | 2016-10-26 | 1 | -2/+3 |
|/ / / | |||||
* | | | Merge pull request #1285 from ethereum/lll-simplify-not | chriseth | 2016-10-26 | 1 | -14/+26 |
|\ \ \ | | | | | | | | | LLL: use NOT for ~ | ||||
| * | | | LLL: reorder arithmetic/binary instruction list for readability | Alex Beregszaszi | 2016-10-26 | 1 | -3/+26 |
| | | | | |||||
| * | | | LLL: use NOT for ~ | Alex Beregszaszi | 2016-10-26 | 1 | -10/+1 |
| | | | | |||||
| * | | | LLL: replace (1 0 sub) with literal value | Alex Beregszaszi | 2016-10-26 | 1 | -3/+1 |
| |/ / | |||||
* | | | Merge pull request #1274 from ethereum/signed-exp | chriseth | 2016-10-26 | 3 | -1/+21 |
|\ \ \ | |/ / |/| | | Banning signed exp | ||||
| * | | ast: ban signed EXP, fixing #1246 | Yoichi Hirai | 2016-10-25 | 2 | -1/+5 |
| | | | |||||
| * | | Add tests for #1246 | Yoichi Hirai | 2016-10-25 | 1 | -0/+16 |
|/ / | |||||
* | | Merge pull request #1276 from ethereum/lll-optimise | chriseth | 2016-10-25 | 1 | -3/+4 |
|\ \ | | | | | | | LLL: clean up the handling of the optimise flag | ||||
| * | | LLL: change -o to be a flag | Alex Beregszaszi | 2016-10-25 | 1 | -2/+2 |
| | | | |||||
| * | | LLL: turn off optimiser by default | Alex Beregszaszi | 2016-10-25 | 1 | -2/+2 |
| | | | |||||
| * | | LLL: document optimise flag | Alex Beregszaszi | 2016-10-25 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #1281 from ethereum/bumpversion | chriseth | 2016-10-25 | 3 | -3/+9 |
|\ \ \ | | | | | | | | | Version bump for develop. | ||||
| * | | | Version bump for develop. | chriseth | 2016-10-25 | 3 | -3/+9 |
|/ / / | |||||
* | | | Merge pull request #1280 from ethereum/updatechangelog | chriseth | 2016-10-25 | 1 | -3/+3 |
|\ \ \ | | | | | | | | | Update changelog for release. | ||||
| * | | | Update changelog for release. | chriseth | 2016-10-25 | 1 | -3/+3 |
|/ / / | |||||
* | | | Merge pull request #1155 from ethereum/suggestcorrectversion | chriseth | 2016-10-25 | 2 | -7/+28 |
|\ \ \ | |/ / |/| | | Suggest correct version for pragma. | ||||
| * | | Suggest correct version for pragma and complain about pre-release version. | chriseth | 2016-10-25 | 2 | -7/+28 |
|/ / | |||||
* | | Merge pull request #1279 from ethereum/semver-helper | chriseth | 2016-10-25 | 1 | -0/+6 |
|\ \ | | | | | | | Export major/minor/patch helpers on SemVerVersion | ||||
| * | | Export major/minor/patch helpers on SemVerVersion | Alex Beregszaszi | 2016-10-25 | 1 | -0/+6 |
| | | | |||||
* | | | Merge pull request #1264 from ethereum/988 | chriseth | 2016-10-25 | 6 | -10/+150 |
|\ \ \ | | | | | | | | | State variable under contract's name | ||||
| * | | | analysis: determine if a member access on a contract is an l-value | Yoichi Hirai | 2016-10-25 | 1 | -0/+5 |
| | | | | |||||
| * | | | 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 |
| | | | | |||||
| * | | | Changelog: add a point about fixing #988 | Yoichi Hirai | 2016-10-24 | 1 | -1/+2 |
| | | | | |||||
| * | | | codegen: refactor common code | Yoichi Hirai | 2016-10-24 | 2 | -20/+15 |
| | | | | |||||
| * | | | codegen: if a member access has been resolved as a variable, follow that | Yoichi Hirai | 2016-10-24 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | This fixes at least the first example in #988 | ||||
| * | | | 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 | ||||
* | | | | Merge pull request #1273 from ethereum/chriseth-patch-1 | chriseth | 2016-10-25 | 1 | -0/+1 |
|\ \ \ \ | |_|/ / |/| | | | Re-added accidentally deleted changelog entry | ||||
| * | | | Re-added accidentally deleted changelog entry | chriseth | 2016-10-25 | 1 | -0/+1 |
|/ / / | |||||
* | | | Merge pull request #1266 from ethereum/fixcrash | chriseth | 2016-10-24 | 6 | -15/+62 |
|\ \ \ | |/ / |/| | | Fix a crash related to invalid number literals. | ||||
| * | | More checks for missing mobile type. | chriseth | 2016-10-24 | 5 | -12/+46 |
| | | | |||||
| * | | Test. | chriseth | 2016-10-24 | 1 | -3/+16 |
|/ / | |||||
* | | Merge pull request #1271 from wingyplus/iss-781 | chriseth | 2016-10-24 | 1 | -26/+0 |
|\ \ | | | | | | | Remove non-solidity exceptions | ||||
| * | | Remove non-solidity exceptions | Thanabodee Charoenpiriyakij | 2016-10-23 | 1 | -26/+0 |
| | | | | | | | | | | | | | | | | | | Most exceptions and some errorinfos in 'libdevcore' are not be used. Close #781 | ||||
* | | | Merge pull request #1263 from ethereum/1116 | chriseth | 2016-10-24 | 3 | -1/+49 |
|\ \ \ | | | | | | | | | Do not push code for `L` in `L.Foo`, an enum Foo defined in a library L | ||||
| * | | | Changelog: add a comment about fixing #1116 | Yoichi Hirai | 2016-10-24 | 1 | -0/+1 |
| | | | | |||||
| * | | | codegen: skip contract L for L.Foo where Foo is a type | Yoichi Hirai | 2016-10-24 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | Fixes #1116 | ||||
| * | | | 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. | ||||
* | | | | Merge pull request #1270 from ethereum/optimise-eq0 | chriseth | 2016-10-24 | 1 | -0/+1 |
|\ \ \ \ | |/ / / |/| | | | Optimise the PUSH 0, EQ case as ISZERO | ||||
| * | | | Optimiser the PUSH 0, EQ case as ISZERO | Alex Beregszaszi | 2016-10-23 | 1 | -0/+1 |
| |/ / | |||||
* | | | Merge pull request #1251 from ethereum/fixthrow | chriseth | 2016-10-24 | 3 | -7/+19 |
|\ \ \ | | | | | | | | | Fix crash in throw. | ||||
| * | | | Changelog entry. | chriseth | 2016-10-24 | 1 | -6/+6 |
| | | | | |||||
| * | | | Fix crash in throw. | chriseth | 2016-10-24 | 2 | -1/+13 |
|/ / / | |||||
* | | | Merge pull request #1240 from ethereum/1151 | chriseth | 2016-10-24 | 3 | -1/+23 |
|\ \ \ | | | | | | | | | ast: super contract type does not contain native members | ||||
| * | | | Changelog: add an entry about super.x lookup | Yoichi Hirai | 2016-10-20 | 1 | -0/+1 |
| | | | | |||||
| * | | | ast: simplifications suggested by @chriseth | Yoichi Hirai | 2016-10-20 | 1 | -7/+4 |
| | | | | |||||
| * | | | When a contract type is super, its members do not contain the functions of ↵ | Yoichi Hirai | 2016-10-20 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | itself Fixes #1151 | ||||
| * | | | Add a test for #1151 | Yoichi Hirai | 2016-10-20 | 1 | -0/+17 |
| | | | | |||||
* | | | | Merge pull request #1267 from ethereum/optimizer | chriseth | 2016-10-24 | 2 | -2/+5 |
|\ \ \ \ | |_|/ / |/| | | | Optimizer: generate code starting with empty state | ||||
| * | | | Optimizer: generate code starting with empty state | chriseth | 2016-10-22 | 2 | -2/+5 |
|/ / / | |||||
* | | | Merge pull request #1243 from ethereum/1131 | chriseth | 2016-10-21 | 4 | -0/+88 |
|\ \ \ | | | | | | | | | Add enums as inheritable members | ||||
| * | | | test: add a test about accessing an enum member without the name of the enum | Yoichi Hirai | 2016-10-21 | 1 | -0/+15 |
| | | | | |||||
| * | | | ast: add a null check | Yoichi Hirai | 2016-10-21 | 1 | -0/+1 |
| | | | | |||||
| * | | | Changelog: add a point about #1243 | Yoichi Hirai | 2016-10-21 | 1 | -0/+1 |
| | | | | |||||
| * | | | ast: ContractDefinition::inheritableMembers contains enums as well as structs | Yoichi Hirai | 2016-10-21 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | This fixes #1131 | ||||
| * | | | test: add tests for #1131 | Yoichi Hirai | 2016-10-21 | 2 | -0/+68 |
|/ / / | | | | | | | | | | The tests are about enum inheritance. | ||||
* | | | Merge pull request #1261 from ethereum/inline-assembly-in-modifiers | chriseth | 2016-10-21 | 4 | -1/+75 |
|\ \ \ | |_|/ |/| | | Fix inline assembly variable access within modifiers | ||||
| * | | Add tests for inline assembly in modifiers | Alex Beregszaszi | 2016-10-21 | 2 | -0/+73 |
| | | | |||||
| * | | Add changelog entry | Alex Beregszaszi | 2016-10-21 | 1 | -0/+1 |
| | | | |||||
| * | | Support variable references within modifiers for inline assembly | Alex Beregszaszi | 2016-10-21 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1224 from ethereum/inline-assembly-stack-warning | Alex Beregszaszi | 2016-10-21 | 6 | -9/+59 |
|\ \ | | | | | | | Issue inline assembly stack warning if not balanced | ||||
| * | | 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 | 2 | -2/+2 |
| | | | |||||
| * | | Issue warnings if stack is not balanced after inline assembly block | Alex Beregszaszi | 2016-10-20 | 1 | -2/+24 |
| | | | |||||
| * | | Mention in changelog | Alex Beregszaszi | 2016-10-20 | 1 | -0/+1 |
| | | | |||||
| * | | Use warning function in TypeChecker | Alex Beregszaszi | 2016-10-20 | 1 | -5/+4 |
| |/ | |||||
* | | Merge pull request #1254 from ethereum/appveyor | Paweł Bylica | 2016-10-20 | 1 | -0/+4 |
|\ \ | |/ |/| | AppVeyor: build only pushes to master and develop branch | ||||
| * | AppVeyor: build only pushes to master and develop branch | Paweł Bylica | 2016-10-20 | 1 | -0/+4 |
|/ | | | | This fixes the issue when PRs from a branch in main repo are built twice. | ||||
* | Merge pull request #1034 from ethereum/shift-constants | chriseth | 2016-10-20 | 4 | -0/+113 |
|\ | | | | | Shift constants (<< and >>) | ||||
| * | Add constant shift to the changelog | Alex Beregszaszi | 2016-10-20 | 1 | -0/+1 |
| | | |||||
| * | Use >> (SAR) to denote constant shifts | Alex Beregszaszi | 2016-10-20 | 1 | -1/+3 |
| | | |||||
| * | Add tests for constant shifts | Alex Beregszaszi | 2016-10-20 | 2 | -0/+84 |
| | | |||||
| * | Reject negative shifts within constants | Alex Beregszaszi | 2016-10-20 | 1 | -4/+8 |
| | | |||||
| * | Support shifting constants | RJ | 2016-10-20 | 1 | -0/+22 |
|/ | |||||
* | Merge pull request #1182 from ethereum/inline-assembly-magic-variables | Alex Beregszaszi | 2016-10-20 | 3 | -6/+17 |
|\ | | | | | Disallow magic variables in inline assembly | ||||
| * | Update Changelog.md | chriseth | 2016-10-20 | 1 | -9/+8 |
| | | |||||
| * | Disallow unsupported RValues in inline assembly | Alex Beregszaszi | 2016-10-20 | 1 | -4/+2 |
| | | |||||
| * | Add tests for magic variables in inline assembly | Alex Beregszaszi | 2016-10-20 | 1 | -0/+7 |
| | | |||||
| * | Disallow magic variables in inline assembly | Alex Beregszaszi | 2016-10-20 | 2 | -0/+7 |
|/ | |||||
* | Merge pull request #1220 from ethereum/doc-updates | chriseth | 2016-10-19 | 8 | -195/+84 |
|\ | | | | | Documentation updates | ||||
| * | Mapping-in-mapping can have accessors too | Alex Beregszaszi | 2016-10-19 | 1 | -0/+3 |
| | | |||||
| * | Explain accessors on arrays | Alex Beregszaszi | 2016-10-19 | 1 | -0/+3 |
| | | |||||
| * | FAQ: remove address(this) section (already explained elsewhere) | Alex Beregszaszi | 2016-10-19 | 1 | -12/+0 |
| | | |||||
| * | FAQ: remove event section (already explained elsewhere) | Alex Beregszaszi | 2016-10-19 | 1 | -9/+0 |
| | | |||||
| * | Merge the constructor sections | Alex Beregszaszi | 2016-10-19 | 2 | -23/+3 |
| | | |||||
| * | Mention why Homestead was different for libraries | Alex Beregszaszi | 2016-10-19 | 1 | -1/+1 |
| | | |||||
| * | FAQ: remove visibility section (already explained elsewhere) | Alex Beregszaszi | 2016-10-19 | 1 | -23/+0 |
| | | |||||
| * | FAQ: remove create example (already explained elsewhere | Alex Beregszaszi | 2016-10-19 | 1 | -10/+0 |
| | | |||||
| * | Merge the documentation about mappings | Alex Beregszaszi | 2016-10-19 | 2 | -46/+27 |
| | | |||||
| * | Document constant functions | Alex Beregszaszi | 2016-10-19 | 2 | -17/+24 |
| | | |||||
| * | FAQ: remove removal of external accounts | Alex Beregszaszi | 2016-10-19 | 2 | -6/+2 |
| | | |||||
| * | Improve the description of Solidity | Alex Beregszaszi | 2016-10-19 | 2 | -11/+7 |
| | | |||||
| * | FAQ: remove modifier section | Alex Beregszaszi | 2016-10-19 | 1 | -8/+0 |
| | | |||||
| * | FAQ: remove compilation section | Alex Beregszaszi | 2016-10-19 | 1 | -13/+0 |
| | | |||||
| * | Merge the selfdestruct sections | Alex Beregszaszi | 2016-10-19 | 2 | -12/+9 |
| | | |||||
| * | Update changelog link | Alex Beregszaszi | 2016-10-19 | 1 | -1/+1 |
| | | |||||
| * | Minor documentation fixes | Alex Beregszaszi | 2016-10-19 | 3 | -3/+4 |
|/ | |||||
* | Merge pull request #1194 from ethereum/bound-functions | chriseth | 2016-10-19 | 4 | -3/+33 |
|\ | | | | | Proper type checking for bound functions | ||||
| * | Omit non-convertible bound functions | Alex Beregszaszi | 2016-10-19 | 1 | -1/+2 |
| | | |||||
| * | Ensure that bound functions cannot be defined without self type | Alex Beregszaszi | 2016-10-19 | 3 | -2/+12 |
| | | |||||
| * | Add test case for bound types without self | Alex Beregszaszi | 2016-10-19 | 1 | -0/+19 |
| | | |||||
* | | Merge pull request #1225 from wincinderith/import-remap-docs | chriseth | 2016-10-19 | 1 | -1/+4 |
|\ \ | | | | | | | Add import remapping documentation to `solc --help` | ||||
| * | | Add import remapping documentation to `solc --help` | Kevin Boxhoorn | 2016-10-15 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | Derived from the docs found [here](https://solidity.readthedocs.io/en/develop/miscellaneous.html#using-the-commandline-compiler). Fixes #1207. | ||||
* | | | Merge pull request #1223 from ethereum/solc-bin-publish | chriseth | 2016-10-19 | 1 | -3/+12 |
|\ \ \ | |_|/ |/| | | Change solc-bin publish script to support npm | ||||
| * | | Simplify publish script | Alex Beregszaszi | 2016-10-15 | 1 | -2/+4 |
| | | | |||||
| * | | Change solc-bin publish script to support npm | Alex Beregszaszi | 2016-10-15 | 1 | -1/+8 |
| |/ | |||||
* | | Merge pull request #1244 from ethereum/1242 | chriseth | 2016-10-19 | 3 | -0/+11 |
|\ \ | | | | | | | `super`'s size on stack is zero | ||||
| * | | Changelog: Add a point about fixing #1242 | Yoichi Hirai | 2016-10-18 | 1 | -0/+1 |
| | | | |||||
| * | | `super`'s size on stack is zero, because the expression compiler does not ↵ | Yoichi Hirai | 2016-10-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | push an address. This is different from `this`, which is translated to `ADDRESS` instruction. | ||||
| * | | Add a test for #1242 | Yoichi Hirai | 2016-10-18 | 1 | -0/+9 |
| | | | | | | | | | | | | This is about `super` as an expression. | ||||
* | | | Merge pull request #1228 from ethereum/lll-units-parser | chriseth | 2016-10-19 | 2 | -7/+5 |
|\ \ \ | |/ / |/| | | LLL: move broken parsing of Ethereum subunits to macros | ||||
| * | | LLL: add Ethereum subunit macros | Alex Beregszaszi | 2016-10-15 | 1 | -0/+4 |
| | | | |||||
| * | | LLL: remove Ethereum subunits from the parser | Alex Beregszaszi | 2016-10-15 | 1 | -7/+1 |
| |/ | |||||
* | | Merge pull request #1239 from LefterisJP/contract_endowment_solidity_040 | chriseth | 2016-10-18 | 1 | -2/+4 |
|\ \ | | | | | | | Docs: Change contract init with value section to be solc 0.4.0 compatible. | ||||
| * | | Docs: Change contract init with value section | Lefteris Karapetsas | 2016-10-18 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | After solidity 0.4.0 we need to make the constructor `payable` if we are to provide value during contract creation. | ||||
* | | | Merge pull request #1234 from wingyplus/remove_vector_ref_cleanse | Yoichi Hirai | 2016-10-18 | 1 | -20/+0 |
|\ \ \ | |/ / |/| | | Removed 'vector_ref::cleanse' | ||||
| * | | Removed 'vector_ref::cleanse' | Thanabodee Charoenpiriyakij | 2016-10-16 | 1 | -20/+0 |
| | | | | | | | | | | | | Close #785 | ||||
* | | | Merge pull request #1229 from ethereum/lll-error-reporting | chriseth | 2016-10-17 | 5 | -16/+38 |
|\ \ \ | |/ / |/| | | LLL: better error reporting | ||||
| * | | LLL: throw proper ParserException | Alex Beregszaszi | 2016-10-15 | 3 | -2/+5 |
| | | | |||||
| * | | LLL: fix the commented out debugging code | Alex Beregszaszi | 2016-10-15 | 1 | -8/+9 |
| | | | |||||
| * | | LLL: better error reporting | Alex Beregszaszi | 2016-10-15 | 1 | -6/+24 |
| |/ | |||||
* | | Merge pull request #1231 from ethereum/debugbreak | chriseth | 2016-10-16 | 1 | -4/+7 |
|\ \ | | | | | | | Properly define trap_instruction | ||||
| * | | Properly define trap_instruction | Alex Beregszaszi | 2016-10-15 | 1 | -4/+7 |
| |/ | |||||
* | | Merge pull request #1232 from ethereum/devcore-unused-includes | chriseth | 2016-10-16 | 4 | -369/+1 |
|\ \ | | | | | | | Remove unused libdevcore includes | ||||
| * | | Remove unused picosha2 | Alex Beregszaszi | 2016-10-15 | 1 | -360/+0 |
| | | | |||||
| * | | Don't include random in CommonData | Alex Beregszaszi | 2016-10-15 | 1 | -7/+0 |
| | | | |||||
| * | | Remove unused SHA2 include in SHA3 | Alex Beregszaszi | 2016-10-15 | 2 | -2/+1 |
| |/ | |||||
* | | Merge pull request #1227 from wingyplus/remove_secure_vector | chriseth | 2016-10-16 | 1 | -41/+0 |
|\ \ | |/ |/| | Removed 'secure_vector' | ||||
| * | Removed 'secure_vector' | Thanabodee Charoenpiriyakij | 2016-10-15 | 1 | -41/+0 |
| | | | | | | | | Close #780 | ||||
* | | Merge pull request #1196 from ethereum/solc-bin-publish-update | chriseth | 2016-10-14 | 1 | -4/+2 |
|\ \ | | | | | | | solc-bin publish script should let the update script decide which files changed | ||||
| * | | Make "-a" more visible. | chriseth | 2016-10-12 | 1 | -1/+1 |
| | | | |||||
| * | | solc-bin publish script should let the update script decide which files changed | Alex Beregszaszi | 2016-10-11 | 1 | -4/+2 |
| | | | |||||
* | | | Merge pull request #1217 from ethereum/instruction_table | chriseth | 2016-10-14 | 1 | -3/+3 |
|\ \ \ | | | | | | | | | Small points on the instruction table | ||||
| * | | | Small points on the instruction table | Yoichi Hirai | 2016-10-14 | 1 | -3/+3 |
| | |/ | |/| | | | | | | | | | | | | | Fixes #1205 `sload` was not marked with a `-`, contrary to the description of #1205 | ||||
* | | | Merge pull request #1218 from ethereum/null-integer-type | chriseth | 2016-10-14 | 1 | -1/+5 |
|\ \ \ | | | | | | | | | Add a null-pointer check | ||||
| * | | | Check if a fixedBytes fits an integer type | Yoichi Hirai | 2016-10-14 | 1 | -1/+5 |
| |/ / | | | | | | | | | | | | | | | | before looking up the size of the integer type. Fixes #1150. |