Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1439 from ethereum/utf | chriseth | 2016-11-25 | 5 | -2/+36 |
|\ | | | | | Disallow conversion of string literal into strings when the literal is not a valid UTF-8 | ||||
| * | Indentation. | chriseth | 2016-11-25 | 1 | -1/+1 |
| | | |||||
| * | test: add a test about explicitly converting a string literal to string | Yoichi Hirai | 2016-11-25 | 2 | -1/+16 |
| | | |||||
| * | ast: string literals that are not valid UTF are not convertible to strings | Yoichi Hirai | 2016-11-25 | 4 | -3/+12 |
| | | |||||
| * | test: add a test case converting an invalid UTF-8 into a string | Yoichi Hirai | 2016-11-25 | 1 | -0/+10 |
| | | |||||
* | | Merge pull request #1431 from ethereum/doc-literals | chriseth | 2016-11-25 | 1 | -6/+15 |
|\ \ | |/ |/| | docs: a bit more about literals | ||||
| * | Update types.rst | Yoichi Hirai | 2016-11-25 | 1 | -7/+8 |
| | | |||||
| * | docs: clarify how many number literal types are there | Yoichi Hirai | 2016-11-25 | 1 | -3/+7 |
| | | |||||
| * | docs: a bit more about literals | Yoichi Hirai | 2016-11-25 | 1 | -6/+10 |
| | | |||||
* | | Merge pull request #1428 from ethereum/doc-parameters | Yoichi Hirai | 2016-11-25 | 1 | -2/+62 |
|\ \ | |/ |/| | Document input/output parameters | ||||
| * | docs: cleaning references to C; smoothing parameter syntax description | Yoichi Hirai | 2016-11-25 | 1 | -4/+4 |
| | | |||||
| * | docs: cross-reference returning multiple values | Yoichi Hirai | 2016-11-25 | 1 | -0/+5 |
| | | |||||
| * | doc: add a section about input parameters and output parameters | Yoichi Hirai | 2016-11-25 | 1 | -1/+56 |
|/ | |||||
* | Merge pull request #1437 from ethereum/docker | chriseth | 2016-11-25 | 1 | -0/+12 |
|\ | | | | | Alpine base docker file. | ||||
| * | Alpine base docker file. | chriseth | 2016-11-25 | 1 | -0/+12 |
|/ | |||||
* | Merge pull request #1392 from ethereum/check_warning_contents | chriseth | 2016-11-25 | 3 | -300/+389 |
|\ | | | | | Check warning text in tests | ||||
| * | Remove declaration | chriseth | 2016-11-25 | 1 | -1/+0 |
| | | |||||
| * | test: various fixes | Yoichi Hirai | 2016-11-25 | 2 | -23/+25 |
| | | |||||
| * | interface: move searchForSubstring out of Error class into a separate file | Yoichi Hirai | 2016-11-24 | 4 | -9/+67 |
| | | |||||
| * | interface: fix the substring search | Yoichi Hirai | 2016-11-24 | 3 | -10/+10 |
| | | |||||
| * | test: wrapping the error message checking in a macro | Yoichi Hirai | 2016-11-24 | 2 | -275/+296 |
| | | |||||
| * | test: check the error texts | Yoichi Hirai | 2016-11-24 | 2 | -188/+197 |
| | | | | | | | | by changing parseAnalyseAndReturnError to return the whole Error, not just the type | ||||
* | | Merge pull request #1434 from ethereum/addpop | chriseth | 2016-11-25 | 2 | -3/+29 |
|\ \ | | | | | | | optimizing ADD; POP and similar | ||||
| * | | libevmasm: generalize ADDPOP optimization into ADDMODPOP etc | Yoichi Hirai | 2016-11-25 | 1 | -5/+6 |
| | | | |||||
| * | | libevmasm: Add another peephole optimization | Yoichi Hirai | 2016-11-25 | 2 | -3/+28 |
| | | | |||||
* | | | Merge pull request #1432 from ethereum/override-types | chriseth | 2016-11-25 | 1 | -2/+4 |
|\ \ \ | |/ / |/| | | docs: add a description about the types of parameters of overriding functions | ||||
| * | | docs: add a description about the types of parameters of overriding functions | Yoichi Hirai | 2016-11-23 | 1 | -2/+4 |
| |/ | |||||
* | | Merge pull request #1413 from ethereum/calldata-layout | chriseth | 2016-11-24 | 1 | -0/+11 |
|\ \ | | | | | | | docs: add a section about calldata layout | ||||
| * | | docs: add a section about calldata layout | Yoichi Hirai | 2016-11-23 | 1 | -0/+11 |
| | | | | | | | | | | | | Part of #1390 | ||||
* | | | Merge pull request #1430 from ethereum/runopt | chriseth | 2016-11-24 | 7 | -5/+12 |
|\ \ \ | |_|/ |/| | | Enable the optimizer for test runs. | ||||
| * | | Enable the optimizer for test runs. | chriseth | 2016-11-23 | 7 | -5/+12 |
|/ / | |||||
* | | Merge pull request #1393 from VoR0220/giveBytesOstream | chriseth | 2016-11-23 | 1 | -0/+11 |
|\ \ | | | | | | | add ostream to bytes for ease of development | ||||
| * | | convert individual numbers to hex | VoR0220 | 2016-11-22 | 1 | -0/+1 |
| | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
| * | | add ostream to bytes for ease of development | VoR0220 | 2016-11-18 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> fix up Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | | Merge pull request #1407 from escull638/patch-1 | chriseth | 2016-11-23 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Fixed spelling mistake in Logs | ||||
| * | | | Fixed spelling mistake in Logs | escull638 | 2016-11-21 | 1 | -1/+1 |
| | | | | | | | | | | | | Changed 'maps all they way up to the block level' to 'maps all the way up to the block level'. | ||||
* | | | | Merge pull request #1408 from ethereum/keytype | chriseth | 2016-11-23 | 1 | -3/+3 |
|\ \ \ \ | |_|_|/ |/| | | | docs: some types cannot be the key type for mappings | ||||
| * | | | docs: some types cannot be the key type for mappings | Yoichi Hirai | 2016-11-21 | 1 | -3/+3 |
| |/ / | |||||
* | | | Merge pull request #1425 from ethereum/fixLicensing | chriseth | 2016-11-23 | 140 | -562/+562 |
|\ \ \ | | | | | | | | | Fix licensing headers | ||||
| * | | | Fix licensing headers | VoR0220 | 2016-11-23 | 140 | -562/+562 |
| | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | | | | Merge pull request #1421 from ethereum/test_memory_struct_from_library | chriseth | 2016-11-23 | 1 | -0/+11 |
|\ \ \ \ | | | | | | | | | | | test: add a test case about returning a struct in memory from a library | ||||
| * | | | | test: add a test case about returning a struct in memory from a library | Yoichi Hirai | 2016-11-23 | 1 | -0/+11 |
| |/ / / | | | | | | | | | | | | | This fixes #1378 | ||||
* | | | | Merge pull request #1422 from innovator256/patch-1 | chriseth | 2016-11-23 | 0 | -0/+0 |
|\ \ \ \ | | | | | | | | | | | Update types.rst | ||||
| * | | | | Update types.rst | Ola | 2016-11-23 | 1 | -1/+1 |
| |/ / / | | | | | | | | | line 349 "returns" not return | ||||
* | | | | Merge pull request #1424 from ethernomad/patch-2 | chriseth | 2016-11-23 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Mention when the bug was introduced. | ||||
| * | | | | Mention when the bug was introduced. | Jonathan Brown | 2016-11-23 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #1411 from ethereum/function-type-docs | Yoichi Hirai | 2016-11-23 | 1 | -8/+18 |
|\ \ \ \ | |/ / / |/| | | | Fix function type examples | ||||
| * | | | Fix examples and add explanation. | chriseth | 2016-11-22 | 1 | -1/+5 |
| | | | | |||||
| * | | | Fix oracle callback example | Alex Beregszaszi | 2016-11-21 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fix function type examples | Alex Beregszaszi | 2016-11-21 | 1 | -5/+11 |
| |/ / | |||||
* | | | Merge pull request #1420 from ethereum/version | chriseth | 2016-11-22 | 2 | -3/+3 |
|\ \ \ | | | | | | | | | Set version to 0.4.7 | ||||
| * | | | Set version to 0.4.7 | chriseth | 2016-11-22 | 2 | -3/+3 |
|/ / / | |||||
* | | | Merge pull request #1417 from ethereum/fixOptimizer | Yoichi Hirai | 2016-11-22 | 3 | -36/+50 |
|\ \ \ | |/ / |/| | | Optimizer: Clear state for JUMPDESTs. | ||||
| * | | Optimizer: Clear state for JUMPDESTs. | chriseth | 2016-11-22 | 3 | -36/+50 |
|/ / | |||||
* | | Merge pull request #1405 from ethereum/version | chriseth | 2016-11-21 | 2 | -3/+3 |
|\ \ | | | | | | | Update version. | ||||
| * | | Update version. | chriseth | 2016-11-21 | 2 | -3/+3 |
|/ / | |||||
* | | Merge pull request #1404 from ethereum/changelog | chriseth | 2016-11-21 | 1 | -3/+3 |
|\ \ | | | | | | | Update changelog. | ||||
| * | | Update changelog. | chriseth | 2016-11-21 | 1 | -3/+3 |
|/ / | |||||
* | | Merge pull request #1398 from ethereum/VoR0220-patch-1 | chriseth | 2016-11-21 | 1 | -1/+1 |
|\ \ | | | | | | | Typo | ||||
| * | | Typo | RJ | 2016-11-19 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #1382 from ethereum/payable-constructor | chriseth | 2016-11-21 | 7 | -22/+43 |
|\ \ | |/ |/| | Payable constructor | ||||
| * | Add appendCallValueCheck | Alex Beregszaszi | 2016-11-18 | 2 | -20/+14 |
| | | |||||
| * | Rename test contract names to capitalised | Alex Beregszaszi | 2016-11-18 | 1 | -12/+12 |
| | | |||||
| * | Add payable keyword to the multisig wallet | Alex Beregszaszi | 2016-11-18 | 1 | -1/+1 |
| | | |||||
| * | Add payable to constructor ABI tests | Alex Beregszaszi | 2016-11-18 | 1 | -0/+2 |
| | | |||||
| * | Add missing payable constructors | Alex Beregszaszi | 2016-11-18 | 1 | -1/+12 |
| | | |||||
| * | Add changelog entry for payable constructor | Alex Beregszaszi | 2016-11-18 | 1 | -0/+1 |
| | | |||||
| * | Include payable for the constructor in the ABI | Alex Beregszaszi | 2016-11-18 | 1 | -0/+1 |
| | | |||||
| * | Add payable check for constructor in codegen | Alex Beregszaszi | 2016-11-18 | 1 | -0/+12 |
|/ | |||||
* | Merge pull request #1122 from ethereum/firstClassFunctions | chriseth | 2016-11-18 | 49 | -321/+2231 |
|\ | | | | | Functions as first-class types. | ||||
| * | Some more assertions and style changes. | chriseth | 2016-11-16 | 4 | -21/+41 |
| | | |||||
| * | Documentation: Style update | chriseth | 2016-11-16 | 1 | -5/+5 |
| | | |||||
| * | Update documentation. | chriseth | 2016-11-16 | 1 | -1/+2 |
| | | |||||
| * | Some more tests. | chriseth | 2016-11-16 | 2 | -7/+16 |
| | | |||||
| * | JSON tests. | chriseth | 2016-11-16 | 2 | -0/+37 |
| | | |||||
| * | Fix documentation formatting. | chriseth | 2016-11-16 | 1 | -2/+2 |
| | | |||||
| * | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 8 | -21/+33 |
| | | |||||
| * | Disable broken tests that are not useful. | chriseth | 2016-11-16 | 2 | -45/+2 |
| | | |||||
| * | Fix setting the tag. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | | |||||
| * | fixup! Simple peephole optimizer that is activated even if not requested. | chriseth | 2016-11-16 | 1 | -0/+2 |
| | | |||||
| * | Fix tests. | chriseth | 2016-11-16 | 2 | -4/+4 |
| | | |||||
| * | Fix parser for function type disambiguity. | chriseth | 2016-11-16 | 2 | -1/+23 |
| | | |||||
| * | Simple peephole optimizer that is activated even if not requested. | chriseth | 2016-11-16 | 6 | -17/+226 |
| | | |||||
| * | Check that no internals are used in any external function type. | chriseth | 2016-11-16 | 5 | -1/+45 |
| | | |||||
| * | test: add a test about external function type taking/returning internal ↵ | Yoichi Hirai | 2016-11-16 | 1 | -0/+20 |
| | | | | | | | | functions | ||||
| * | Converted sub assembly to smart pointer. | chriseth | 2016-11-16 | 11 | -87/+133 |
| | | |||||
| * | Stored combined creation and runtime tags. | chriseth | 2016-11-16 | 20 | -117/+347 |
| | | | | | | | | | | | | | | Includes a change to Assembly to allow tags from sub-assemblies to be used. Sorry, this get a bit bigger than I thought. | ||||
| * | Fix tests. | chriseth | 2016-11-16 | 2 | -2/+2 |
| | | |||||
| * | ABI: Use external function. | chriseth | 2016-11-16 | 1 | -2/+2 |
| | | |||||
| * | Test passing functions as arrays to other contracts. | chriseth | 2016-11-16 | 1 | -3/+40 |
| | | |||||
| * | Disallow payable internal functions. | chriseth | 2016-11-16 | 3 | -2/+41 |
| | | |||||
| * | Mention "payable" in the documentation. | chriseth | 2016-11-16 | 2 | -4/+9 |
| | | |||||
| * | Fix tests. | chriseth | 2016-11-16 | 2 | -10/+33 |
| | | |||||
| * | delete for function types | chriseth | 2016-11-16 | 4 | -1/+71 |
| | | |||||
| * | codegen: add a compilation mode and a runtime context to CompilerContext | Yoichi Hirai | 2016-11-16 | 5 | -7/+24 |
| | | |||||
| * | Added function types to the grammar. | chriseth | 2016-11-16 | 1 | -1/+4 |
| | | |||||
| * | Updates to the documentation. | chriseth | 2016-11-16 | 1 | -8/+12 |
| | | |||||
| * | Implement uninitialized storage functions. | chriseth | 2016-11-16 | 4 | -14/+19 |
| | | |||||
| * | Tests for uninitialized storage functions. | chriseth | 2016-11-16 | 1 | -1/+53 |
| | | |||||
| * | test: add a test for storing an internal function in the constructor and ↵ | Yoichi Hirai | 2016-11-16 | 1 | -0/+46 |
| | | | | | | | | then using the stored function in runtime | ||||
| * | Bugfix in code generator. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | | |||||
| * | Documentation examples. | chriseth | 2016-11-16 | 1 | -1/+73 |
| | | |||||
| * | Tests. | chriseth | 2016-11-16 | 3 | -26/+197 |
| | | |||||
| * | Change alignment. | chriseth | 2016-11-16 | 4 | -31/+43 |
| | | |||||
| * | Part of the documentation. | chriseth | 2016-11-16 | 1 | -1/+41 |
| | | |||||
| * | Changelog entry and small fixes. | chriseth | 2016-11-16 | 3 | -5/+9 |
| | | |||||
| * | Add a test around storing functions in an array | Yoichi Hirai | 2016-11-16 | 1 | -0/+39 |
| | | |||||
| * | Add a parser test for arrays containing functions | Yoichi Hirai | 2016-11-16 | 1 | -0/+10 |
| | | |||||
| * | Add tests around calling functions returning functions returning functions | Yoichi Hirai | 2016-11-16 | 2 | -0/+45 |
| | | |||||
| * | External functions in storage. | chriseth | 2016-11-16 | 4 | -19/+76 |
| | | |||||
| * | Fix some type checks and tests for internal / external function parameters. | chriseth | 2016-11-16 | 3 | -11/+35 |
| | | |||||
| * | Function type state variables. | chriseth | 2016-11-16 | 4 | -33/+115 |
| | | |||||
| * | Code generator for function types. | chriseth | 2016-11-16 | 6 | -3/+127 |
| | | |||||
| * | Function types. | chriseth | 2016-11-16 | 17 | -39/+359 |
|/ | |||||
* | Merge pull request #1379 from ethereum/swarmHashCorrection | chriseth | 2016-11-16 | 2 | -29/+24 |
|\ | | | | | Correct implementation of swarm hash. | ||||
| * | Correct implementation of swarm hash. | chriseth | 2016-11-15 | 2 | -29/+24 |
| | | |||||
* | | Merge pull request #1377 from ethereum/keep-json-values | chriseth | 2016-11-16 | 11 | -59/+107 |
|\ \ | |/ |/| | Keep internal results in JSON | ||||
| * | Change natspec/abi JSON expected message to be the same | Alex Beregszaszi | 2016-11-16 | 2 | -5/+6 |
| | | |||||
| * | Move JSON helpers to libdevcore/json | Alex Beregszaszi | 2016-11-16 | 4 | -29/+57 |
| | | |||||
| * | Update tests to use JSON | Alex Beregszaszi | 2016-11-16 | 2 | -9/+5 |
| | | |||||
| * | Move InterfaceHandler from string to JSON | Alex Beregszaszi | 2016-11-15 | 8 | -48/+71 |
|/ | |||||
* | Merge pull request #1327 from ethereum/inline-assembly-errortag | Alex Beregszaszi | 2016-11-15 | 5 | -1/+30 |
|\ | | | | | ErrorTag in inline assembly | ||||
| * | Rename ErrorTag to invalidJumpLabel in inline assembly | Alex Beregszaszi | 2016-11-15 | 5 | -6/+6 |
| | | |||||
| * | Document inline assembly ErrorTag | Alex Beregszaszi | 2016-11-15 | 1 | -0/+4 |
| | | |||||
| * | Add tests for the ErrorTag | Alex Beregszaszi | 2016-11-15 | 2 | -0/+20 |
| | | |||||
| * | Support ErrorTag as a jump label in inline assembly | Alex Beregszaszi | 2016-11-15 | 2 | -1/+6 |
| | | |||||
* | | Merge pull request #1369 from ethereum/callcosts | chriseth | 2016-11-15 | 2 | -15/+28 |
|\ \ | | | | | | | Report infinite gas for calls. | ||||
| * | | Keep old code. | chriseth | 2016-11-15 | 2 | -21/+30 |
| | | | |||||
| * | | Report infinite gas for calls. | chriseth | 2016-11-14 | 1 | -15/+19 |
| | | | |||||
* | | | Merge pull request #1366 from ethereum/swarmhash | chriseth | 2016-11-15 | 4 | -2/+159 |
|\ \ \ | |_|/ |/| | | Swarm hash. | ||||
| * | | Move swarmHash to its own file. | chriseth | 2016-11-15 | 5 | -45/+101 |
| | | | |||||
| * | | Multi-level swarm hash. | chriseth | 2016-11-15 | 4 | -10/+103 |
| | | | |||||
| * | | Swarm hash. | chriseth | 2016-11-15 | 1 | -0/+8 |
| | | | |||||
* | | | Merge pull request #1375 from ethereum/inline-assembly-stack-height | chriseth | 2016-11-15 | 3 | -12/+23 |
|\ \ \ | | | | | | | | | Fix inline assembly stack warnings when using variables | ||||
| * | | | Add tests | chriseth | 2016-11-15 | 1 | -5/+13 |
| | | | | |||||
| * | | | Fix inline assembly stack warnings when using variables | Alex Beregszaszi | 2016-11-15 | 2 | -7/+10 |
| |/ / | |||||
* | | | Merge pull request #760 from axic/fix/omit-newline-in-interface | chriseth | 2016-11-15 | 2 | -1/+5 |
|\ \ \ | | | | | | | | | Do not include a trailing new line in the ABI JSON output | ||||
| * | | | Do not include a trailing new line in the ABI JSON output | Alex Beregszaszi | 2016-11-15 | 2 | -1/+5 |
| |/ / | |||||
* | | | Merge pull request #1317 from ethereum/timelock | Alex Beregszaszi | 2016-11-15 | 6 | -2/+26 |
|\ \ \ | | | | | | | | | Compile all contracts in the std directory | ||||
| * | | | Update tests.sh | chriseth | 2016-11-15 | 1 | -0/+1 |
| | | | | |||||
| * | | | Add tests for the std files. | chriseth | 2016-11-12 | 6 | -2/+25 |
| | | | | |||||
* | | | | Merge pull request #1373 from ethereum/debug-compiler-flag | chriseth | 2016-11-15 | 1 | -1/+1 |
|\ \ \ \ | |_|/ / |/| | | | Compile with -Og in debug mode (by @chfast) | ||||
| * | | | Compile with -Og in debug mode (by @chfast) | Alex Beregszaszi | 2016-11-15 | 1 | -1/+1 |
|/ / / | |||||
* | | | Unimplemented features moved to their own exception (#1361) | Rhett Aultman | 2016-11-15 | 9 | -17/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unimplemented features moved to their own exception InternalCompilerError is an exception that really should be reserved for actual internal errors of the compiler. Unimplemented features can now use either solUnimplemented( ) or, if it should be conditional, then solUnimplementedAssert( ). * Revert some unimplemented exceptions, add handlers The jsonCompiler and CommandLineInterface needed handlers for the new UnimplementedFeatureException, and some cases I had moved on to the new exception were better treated as real internal compiler errors. * Standardize on "Unimplemented feature" message | ||||
* | | | Merge pull request #1371 from ethereum/invalid_enum_as_external_arg | chriseth | 2016-11-15 | 1 | -0/+27 |
|\ \ \ | | | | | | | | | Throw exception on invalid enum value as external call argument | ||||
| * | | | test: add a testcase about using an invalid enum value as an external call ↵ | Yoichi Hirai | 2016-11-15 | 1 | -0/+27 |
|/ / / | | | | | | | | | | argument | ||||
* | | | Merge pull request #1367 from asinyagin/develop | chriseth | 2016-11-15 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Print canonical names of structs and enums in AST | ||||
| * | | | Print canonical names of structs and enums in AST | Alex Sinyagin | 2016-11-14 | 1 | -2/+2 |
| | |/ | |/| | |||||
* | | | Merge pull request #1372 from ethereum/invalid_enum_as_external_ret | chriseth | 2016-11-15 | 2 | -2/+36 |
|\ \ \ | | | | | | | | | Invalid enum as external ret | ||||
| * | | | codegen: overflow checking also during conversion from enums | Yoichi Hirai | 2016-11-15 | 1 | -2/+2 |
| | | | | |||||
| * | | | test: add tests about returning invalid enum values from interface functions | Yoichi Hirai | 2016-11-14 | 1 | -0/+34 |
| |/ / | |||||
* | | | Merge pull request #1370 from ethereum/missing_break | Alex Beregszaszi | 2016-11-15 | 1 | -0/+1 |
|\ \ \ | |/ / |/| | | codegen: add a missing `break;` | ||||
| * | | codegen: add a missing `break;` | Yoichi Hirai | 2016-11-14 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #1365 from walter-weinmann/develop | chriseth | 2016-11-14 | 1 | -1/+1 |
|\ \ | | | | | | | #1362: As it stands currently, the >>> operator will not be implemented. | ||||
| * | | #1362: As it stands currently, the >>> operator will not be implemented. | Walter Weinmann | 2016-11-14 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1348 from ethereum/chriseth-patch-1 | chriseth | 2016-11-14 | 1 | -3/+0 |
|\ \ \ | | | | | | | | | Windows build fix. | ||||
| * | | | Windows build fix. | chriseth | 2016-11-09 | 1 | -3/+0 |
| | | | | | | | | | | | | Thanks for the find, @slothbag | ||||
* | | | | Merge pull request #1334 from ethereum/enum_conversion | chriseth | 2016-11-14 | 11 | -22/+92 |
|\ \ \ \ | | | | | | | | | | | check enum value range during conversion | ||||
| * | | | | codegen: move the enum overflow checking closer to the conversion into enums | Yoichi Hirai | 2016-11-14 | 1 | -8/+16 |
| | | | | | |||||
| * | | | | ast, codegen: disallow conversion between different enum types | Yoichi Hirai | 2016-11-12 | 3 | -2/+3 |
| | | | | | |||||
| * | | | | test: add a test conerting an enum into another enum, which should fail | Yoichi Hirai | 2016-11-12 | 1 | -0/+15 |
| | | | | | |||||
| * | | | | codegen: shorten the overflow checking when converting into enums | Yoichi Hirai | 2016-11-12 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | docs: udpate description of enums about #1334 | Yoichi Hirai | 2016-11-12 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | 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 |
|/ / |