aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Documentation.chriseth2016-12-011-0/+119
|
* Make sure some keys are present.chriseth2016-12-012-1/+4
|
* Incorporate comments.chriseth2016-12-011-10/+10
|
* Metadata stamp.chriseth2016-12-0116-54/+171
|
* Merge pull request #1462 from ethereum/fix-incorrect-assertionchriseth2016-12-012-2/+2
|\ | | | | codegen: assertion did not assert non-nullness
| * test: more precise expectation about the error for assigning into storage in ↵Yoichi Hirai2016-12-011-1/+1
| | | | | | | | inline assembly
| * codegen: assertion did not assert non-nullnessYoichi Hirai2016-12-011-1/+1
| | | | | | | | | | This commit strengthens an assertion so that it makes sure that a pointer is not null. Moreover, `isLocalVariable(variable)` is now positively asserted, following the error message.
* | Merge pull request #1461 from ethereum/reference-not-pointerchriseth2016-12-011-7/+7
|\ \ | | | | | | test: replace a pointer argument by a reference
| * | test: change retrieveFunctionBySignature to take a constant reference rather ↵Yoichi Hirai2016-12-011-7/+7
| |/ | | | | | | | | | | | | than a pointer The function `retrieveFunctionBySignature` expected the argument to be a non-null pointer. This commit makes this assumption more explicit.
* | Merge pull request #1460 from ethereum/unused-totalchriseth2016-12-011-3/+2
|\ \ | | | | | | libevmasm: remove an unused variable `total`
| * | libevmasm: remove an unused variable `total`Yoichi Hirai2016-12-011-3/+2
| |/
* | Merge pull request #1463 from ethereum/duplicate-assignmentchriseth2016-12-011-2/+0
|\ \ | | | | | | codegen: this commit removes one of duplicate assignments
| * | codegen: this commit removes one of duplicate assignmentsYoichi Hirai2016-12-011-2/+0
| |/
* | Merge pull request #1458 from federicobond/r-literalschriseth2016-12-012-719/+936
|\ \ | | | | | | Use more R string literals in tests
| * | Use more R string literals in testsFederico Bond2016-12-012-719/+936
| | |
* | | Merge pull request #1455 from ethereum/doc-number-literal-formatAlex Beregszaszi2016-12-011-0/+8
|\ \ \ | | | | | | | | docs: describe the form of number literals
| * | | docs: describe the form of number literalsYoichi Hirai2016-12-011-0/+8
| |/ / | | | | | | | | | This is a part of #1390
* | | Merge pull request #1313 from ethereum/lll-strict-parserchriseth2016-12-013-15/+11
|\ \ \ | | | | | | | | LLL: stricter parser
| * | | LLL: update tests with the strict parserAlex Beregszaszi2016-12-011-1/+3
| | | |
| * | | LLL: throw exceptions on invalid symbolsAlex Beregszaszi2016-12-011-12/+6
| | | |
| * | | LLL: () requires at least one parameterAlex Beregszaszi2016-12-011-1/+1
| | | |
| * | | LLL: do not accept '0x' as 0Alex Beregszaszi2016-12-011-1/+1
| |/ /
* | | Merge pull request #1454 from ethereum/end-of-commentchriseth2016-12-013-1/+31
|\ \ \ | |_|/ |/| | parser: recognize an end of comment of the form `**/`
| * | Test that contracts separated by comments are compiledAlex Beregszaszi2016-12-011-0/+12
| | |
| * | parser: recognize an end of comment of the form `**/` at the end of a ↵Yoichi Hirai2016-12-012-1/+19
| |/ | | | | | | | | | | multi-line doc comment This fixes #1433
* | Merge pull request #1459 from federicobond/fix-typoAlex Beregszaszi2016-12-012-2/+2
|\ \ | |/ |/| Fix typos (existant -> existent)
| * Fix typos (existant -> existent)Federico Bond2016-12-012-2/+2
|/
* Merge pull request #1442 from ethereum/lll-testingAlex Beregszaszi2016-11-3016-429/+874
|\ | | | | LLL: introduce testing framework
| * LLL: simplify error handling in parseLLLAlex Beregszaszi2016-11-301-11/+3
| |
| * LLL: parseLLL to be less greedy catching exceptionsAlex Beregszaszi2016-11-301-6/+19
| |
| * Rename testSolidityAgainstCpp* to testContractAgainstCpp*Alex Beregszaszi2016-11-302-85/+85
| |
| * LLLExecutionFramework doesn't support contractName/libraryAddressesAlex Beregszaszi2016-11-301-0/+3
| |
| * Add callFallback to ExectionFrameworkAlex Beregszaszi2016-11-302-1/+12
| |
| * LLL: check for return value in LLL smoke testAlex Beregszaszi2016-11-301-0/+1
| |
| * LLL: add end-to-end testsAlex Beregszaszi2016-11-303-0/+152
| |
| * Move ExecutionFramework to the dev::test namespaceAlex Beregszaszi2016-11-3010-11/+11
| |
| * Split out Solidity-specific part of ExecutionFrameworkAlex Beregszaszi2016-11-3010-349/+441
| |
| * Add test/liblll to cmakeAlex Beregszaszi2016-11-301-1/+2
| |
| * LLL: add parser testsAlex Beregszaszi2016-11-301-0/+179
| |
| * LLL: parseLLL to return empty string on failureAlex Beregszaszi2016-11-301-5/+6
| |
* | Merge pull request #1449 from ethereum/doc-grammarchriseth2016-11-302-1/+1
|\ \ | | | | | | Include the grammar verbatim in the documentation
| * | Include the grammar verbatim in the documentationAlex Beregszaszi2016-11-302-1/+1
| |/
* | Merge pull request #1345 from ethereum/optimiser-ruleschriseth2016-11-302-1/+36
|\ \ | |/ |/| More optimiser rules
| * Fix sub-0 optimiser testAlex Beregszaszi2016-11-301-3/+4
| |
| * Add more optimization rulesYoichi Hirai2016-11-301-0/+6
| |
| * Update SolidityOptimizer.cppchriseth2016-11-301-3/+3
| |
| * Add test for SUB with 0 optimisationAlex Beregszaszi2016-11-301-0/+22
| |
| * Replace XOR with self with 0Alex Beregszaszi2016-11-301-0/+1
| |
| * Replace XOR/ISZERO with EQAlex Beregszaszi2016-11-301-0/+4
| |
| * Add optimiser rule for SUB with 0Alex Beregszaszi2016-11-301-1/+2
|/
* Merge pull request #1445 from ethereum/doc-testingchriseth2016-11-301-0/+15
|\ | | | | Explain how to run soltest
| * Explain how to run soltestAlex Beregszaszi2016-11-291-0/+15
| |
* | Merge pull request #1446 from ethereum/utf8-validatechriseth2016-11-294-7/+11
|\ \ | | | | | | Improve UTF8 validate
| * | Rename dev::validate to dev::validateUTF8Alex Beregszaszi2016-11-294-7/+7
| | |
| * | Make position optional in dev::validateAlex Beregszaszi2016-11-293-4/+8
|/ /
* | Merge pull request #1443 from ethereum/unimplementedchriseth2016-11-282-3/+3
|\ \ | |/ |/| Use solUnimplemented wherever possible
| * Use solUnimplemented wherever possibleAlex Beregszaszi2016-11-282-3/+3
| |
* | Merge pull request #1329 from ethereum/lll-lit-changesAlex Beregszaszi2016-11-261-19/+20
|\ \ | |/ |/| LLL: improvements (and fixes) to the lit keyword
| * LLL: simplify the LIT parsing codeAlex Beregszaszi2016-11-261-5/+17
| |
| * LLL: only support variable length bigendian numbers in LITAlex Beregszaszi2016-11-011-13/+2
| |
| * LLL: support multiple strings in LITAlex Beregszaszi2016-11-011-2/+2
| |
* | Merge pull request #1342 from ethereum/emscripten-codesizechriseth2016-11-262-0/+7
|\ \ | | | | | | Emscripten code size improvements [WIP TEST]
| * | Add optimisation flags for EmscriptenAlex Beregszaszi2016-11-092-2/+5
| | |
| * | Display emscripten output sizeAlex Beregszaszi2016-11-091-0/+4
| | |
* | | Merge pull request #1395 from ethereum/grammarchriseth2016-11-251-1/+1
|\ \ \ | | | | | | | | Properly define the pragma directive in the grammar
| * | | Properly define the pragma directive in the grammarAlex Beregszaszi2016-11-181-1/+1
| | | |
* | | | Merge pull request #1429 from ethereum/unreachablepeepholechriseth2016-11-254-67/+179
|\ \ \ \ | | | | | | | | | | Some dead code elimination
| * | | | Integrate AddPop.chriseth2016-11-252-16/+13
| | | | |
| * | | | Changelog.chriseth2016-11-251-0/+3
| | | | |
| * | | | Templatize.chriseth2016-11-251-37/+75
| | | | |
| * | | | Peephole optimizer for unreacheable code.chriseth2016-11-252-42/+116
| | | | |
* | | | | Merge pull request #1438 from ethereum/dockerchriseth2016-11-251-0/+15
|\ \ \ \ \ | | | | | | | | | | | | Docker documentation.
| * | | | | Mention nightly.chriseth2016-11-251-1/+3
| | | | | |
| * | | | | Docker documentation.chriseth2016-11-251-0/+13
| | | | | |
* | | | | | Merge pull request #1381 from ethereum/overflown_enum_comparedchriseth2016-11-254-8/+131
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Enum overflow checking before writing to storage
| * | | | | codegen: cleanup values to fit in storage bytesYoichi Hirai2016-11-251-0/+4
| | | | | |
| * | | | | codegen: storing of non-value types; add some assertionsYoichi Hirai2016-11-251-8/+5
| | | | | |
| * | | | | codegen: shorten the bit truncationYoichi Hirai2016-11-251-5/+2
| | | | | |
| * | | | | codegen: merge type conversion and cleaning upYoichi Hirai2016-11-251-3/+2
| | | | | |
| * | | | | codegen: document _chopSignBits parameter of convertType functionYoichi Hirai2016-11-251-0/+1
| | | | | |
| * | | | | codegen: add an option to CovertType so that it can truncate sign bitsYoichi Hirai2016-11-253-10/+22
| | | | | |
| * | | | | codegen: cleanup stored values in a more consistent wayYoichi Hirai2016-11-251-4/+16
| | | | | |
| * | | | | codegen: cleanup value types before storing themYoichi Hirai2016-11-241-0/+5
| | | | | |
| * | | | | test: add a test that stores an invalid enum valueYoichi Hirai2016-11-241-0/+29
| | | | | |
| * | | | | test: add a test about trying to log an event with too big enum valuesYoichi Hirai2016-11-241-0/+34
| | | | | |
| * | | | | test: add a test that compares overflown enumsYoichi Hirai2016-11-241-0/+33
| | | | | |
* | | | | | Merge pull request #1439 from ethereum/utfchriseth2016-11-255-2/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | Disallow conversion of string literal into strings when the literal is not a valid UTF-8
| * | | | | | Indentation.chriseth2016-11-251-1/+1
| | | | | | |
| * | | | | | test: add a test about explicitly converting a string literal to stringYoichi Hirai2016-11-252-1/+16
| | | | | | |
| * | | | | | ast: string literals that are not valid UTF are not convertible to stringsYoichi Hirai2016-11-254-3/+12
| | | | | | |
| * | | | | | test: add a test case converting an invalid UTF-8 into a stringYoichi Hirai2016-11-251-0/+10
| | | | | | |
* | | | | | | Merge pull request #1431 from ethereum/doc-literalschriseth2016-11-251-6/+15
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | docs: a bit more about literals
| * | | | | | Update types.rstYoichi Hirai2016-11-251-7/+8
| | | | | | |
| * | | | | | docs: clarify how many number literal types are thereYoichi Hirai2016-11-251-3/+7
| | | | | | |
| * | | | | | docs: a bit more about literalsYoichi Hirai2016-11-251-6/+10
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #1428 from ethereum/doc-parametersYoichi Hirai2016-11-251-2/+62
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Document input/output parameters
| * | | | | docs: cleaning references to C; smoothing parameter syntax descriptionYoichi Hirai2016-11-251-4/+4
| | | | | |
| * | | | | docs: cross-reference returning multiple valuesYoichi Hirai2016-11-251-0/+5
| | | | | |
| * | | | | doc: add a section about input parameters and output parametersYoichi Hirai2016-11-251-1/+56
|/ / / / /
* | | | | Merge pull request #1437 from ethereum/dockerchriseth2016-11-251-0/+12
|\ \ \ \ \ | | | | | | | | | | | | Alpine base docker file.
| * | | | | Alpine base docker file.chriseth2016-11-251-0/+12
|/ / / / /
* | | | | Merge pull request #1392 from ethereum/check_warning_contentschriseth2016-11-253-300/+389
|\ \ \ \ \ | | | | | | | | | | | | Check warning text in tests
| * | | | | Remove declarationchriseth2016-11-251-1/+0
| | | | | |
| * | | | | test: various fixesYoichi Hirai2016-11-252-23/+25
| | | | | |
| * | | | | interface: move searchForSubstring out of Error class into a separate fileYoichi Hirai2016-11-244-9/+67
| | | | | |
| * | | | | interface: fix the substring searchYoichi Hirai2016-11-243-10/+10
| | | | | |
| * | | | | test: wrapping the error message checking in a macroYoichi Hirai2016-11-242-275/+296
| | | | | |
| * | | | | test: check the error textsYoichi Hirai2016-11-242-188/+197
| |/ / / / | | | | | | | | | | | | | | | by changing parseAnalyseAndReturnError to return the whole Error, not just the type
* | | | | Merge pull request #1434 from ethereum/addpopchriseth2016-11-252-3/+29
|\ \ \ \ \ | | | | | | | | | | | | optimizing ADD; POP and similar
| * | | | | libevmasm: generalize ADDPOP optimization into ADDMODPOP etcYoichi Hirai2016-11-251-5/+6
| | | | | |
| * | | | | libevmasm: Add another peephole optimizationYoichi Hirai2016-11-252-3/+28
| | | | | |
* | | | | | Merge pull request #1432 from ethereum/override-typeschriseth2016-11-251-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 functionsYoichi Hirai2016-11-231-2/+4
| |/ / / /
* | | | | Merge pull request #1413 from ethereum/calldata-layoutchriseth2016-11-241-0/+11
|\ \ \ \ \ | | | | | | | | | | | | docs: add a section about calldata layout
| * | | | | docs: add a section about calldata layoutYoichi Hirai2016-11-231-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Part of #1390
* | | | | | Merge pull request #1430 from ethereum/runoptchriseth2016-11-247-5/+12
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Enable the optimizer for test runs.
| * | | | | Enable the optimizer for test runs.chriseth2016-11-237-5/+12
|/ / / / /
* | | | | Merge pull request #1393 from VoR0220/giveBytesOstreamchriseth2016-11-231-0/+11
|\ \ \ \ \ | | | | | | | | | | | | add ostream to bytes for ease of development
| * | | | | convert individual numbers to hexVoR02202016-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | | | | add ostream to bytes for ease of developmentVoR02202016-11-181-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-1chriseth2016-11-231-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fixed spelling mistake in Logs
| * | | | | Fixed spelling mistake in Logsescull6382016-11-211-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/keytypechriseth2016-11-231-3/+3
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | docs: some types cannot be the key type for mappings
| * | | | | docs: some types cannot be the key type for mappingsYoichi Hirai2016-11-211-3/+3
| |/ / / /
* | | | | Merge pull request #1425 from ethereum/fixLicensingchriseth2016-11-23140-562/+562
|\ \ \ \ \ | | | | | | | | | | | | Fix licensing headers
| * | | | | Fix licensing headersVoR02202016-11-23140-562/+562
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* | | | | | Merge pull request #1421 from ethereum/test_memory_struct_from_librarychriseth2016-11-231-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 libraryYoichi Hirai2016-11-231-0/+11
| |/ / / / / | | | | | | | | | | | | | | | | | | This fixes #1378
* | | | | | Merge pull request #1422 from innovator256/patch-1chriseth2016-11-230-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update types.rst
| * | | | | | Update types.rstOla2016-11-231-1/+1
| |/ / / / / | | | | | | | | | | | | line 349 "returns" not return
* | | | | | Merge pull request #1424 from ethernomad/patch-2chriseth2016-11-231-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Mention when the bug was introduced.
| * | | | | | Mention when the bug was introduced.Jonathan Brown2016-11-231-1/+1
| |/ / / / /
* | | | | | Merge pull request #1411 from ethereum/function-type-docsYoichi Hirai2016-11-231-8/+18
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fix function type examples
| * | | | | Fix examples and add explanation.chriseth2016-11-221-1/+5
| | | | | |
| * | | | | Fix oracle callback exampleAlex Beregszaszi2016-11-211-2/+2
| | | | | |
| * | | | | Fix function type examplesAlex Beregszaszi2016-11-211-5/+11
| |/ / / /
* | | | | Merge pull request #1420 from ethereum/versionchriseth2016-11-222-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Set version to 0.4.7
| * | | | | Set version to 0.4.7chriseth2016-11-222-3/+3
|/ / / / /
* | | | | Merge pull request #1417 from ethereum/fixOptimizerYoichi Hirai2016-11-223-36/+50
|\ \ \ \ \ | |/ / / / |/| | | | Optimizer: Clear state for JUMPDESTs.
| * | | | Optimizer: Clear state for JUMPDESTs.chriseth2016-11-223-36/+50
|/ / / /
* | | | Merge pull request #1405 from ethereum/versionchriseth2016-11-212-3/+3
|\ \ \ \ | | | | | | | | | | Update version.
| * | | | Update version.chriseth2016-11-212-3/+3
|/ / / /
* | | | Merge pull request #1404 from ethereum/changelogchriseth2016-11-211-3/+3
|\ \ \ \ | | | | | | | | | | Update changelog.
| * | | | Update changelog.chriseth2016-11-211-3/+3
|/ / / /
* | | | Merge pull request #1398 from ethereum/VoR0220-patch-1chriseth2016-11-211-1/+1
|\ \ \ \ | | | | | | | | | | Typo
| * | | | TypoRJ2016-11-191-1/+1
| |/ / /
* | | | Merge pull request #1382 from ethereum/payable-constructorchriseth2016-11-217-22/+43
|\ \ \ \ | |/ / / |/| | | Payable constructor
| * | | Add appendCallValueCheckAlex Beregszaszi2016-11-182-20/+14
| | | |
| * | | Rename test contract names to capitalisedAlex Beregszaszi2016-11-181-12/+12
| | | |
| * | | Add payable keyword to the multisig walletAlex Beregszaszi2016-11-181-1/+1
| | | |
| * | | Add payable to constructor ABI testsAlex Beregszaszi2016-11-181-0/+2
| | | |
| * | | Add missing payable constructorsAlex Beregszaszi2016-11-181-1/+12
| | | |
| * | | Add changelog entry for payable constructorAlex Beregszaszi2016-11-181-0/+1
| | | |
| * | | Include payable for the constructor in the ABIAlex Beregszaszi2016-11-181-0/+1
| | | |
| * | | Add payable check for constructor in codegenAlex Beregszaszi2016-11-181-0/+12
|/ / /
* | | Merge pull request #1122 from ethereum/firstClassFunctionschriseth2016-11-1849-321/+2231
|\ \ \ | | | | | | | | Functions as first-class types.
| * | | Some more assertions and style changes.chriseth2016-11-164-21/+41
| | | |
| * | | Documentation: Style updatechriseth2016-11-161-5/+5
| | | |
| * | | Update documentation.chriseth2016-11-161-1/+2
| | | |
| * | | Some more tests.chriseth2016-11-162-7/+16
| | | |
| * | | JSON tests.chriseth2016-11-162-0/+37
| | | |
| * | | Fix documentation formatting.chriseth2016-11-161-2/+2
| | | |
| * | | Change encoding to address-funid and add "function" as ABI type.chriseth2016-11-168-21/+33
| | | |
| * | | Disable broken tests that are not useful.chriseth2016-11-162-45/+2
| | | |
| * | | Fix setting the tag.chriseth2016-11-161-1/+1
| | | |
| * | | fixup! Simple peephole optimizer that is activated even if not requested.chriseth2016-11-161-0/+2
| | | |
| * | | Fix tests.chriseth2016-11-162-4/+4
| | | |
| * | | Fix parser for function type disambiguity.chriseth2016-11-162-1/+23
| | | |
| * | | Simple peephole optimizer that is activated even if not requested.chriseth2016-11-166-17/+226
| | | |
| * | | Check that no internals are used in any external function type.chriseth2016-11-165-1/+45
| | | |
| * | | test: add a test about external function type taking/returning internal ↵Yoichi Hirai2016-11-161-0/+20
| | | | | | | | | | | | | | | | functions
| * | | Converted sub assembly to smart pointer.chriseth2016-11-1611-87/+133
| | | |
| * | | Stored combined creation and runtime tags.chriseth2016-11-1620-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.chriseth2016-11-162-2/+2
| | | |
| * | | ABI: Use external function.chriseth2016-11-161-2/+2
| | | |
| * | | Test passing functions as arrays to other contracts.chriseth2016-11-161-3/+40
| | | |
| * | | Disallow payable internal functions.chriseth2016-11-163-2/+41
| | | |
| * | | Mention "payable" in the documentation.chriseth2016-11-162-4/+9
| | | |
| * | | Fix tests.chriseth2016-11-162-10/+33
| | | |
| * | | delete for function typeschriseth2016-11-164-1/+71
| | | |
| * | | codegen: add a compilation mode and a runtime context to CompilerContextYoichi Hirai2016-11-165-7/+24
| | | |
| * | | Added function types to the grammar.chriseth2016-11-161-1/+4
| | | |
| * | | Updates to the documentation.chriseth2016-11-161-8/+12
| | | |
| * | | Implement uninitialized storage functions.chriseth2016-11-164-14/+19
| | | |
| * | | Tests for uninitialized storage functions.chriseth2016-11-161-1/+53
| | | |
| * | | test: add a test for storing an internal function in the constructor and ↵Yoichi Hirai2016-11-161-0/+46
| | | | | | | | | | | | | | | | then using the stored function in runtime
| * | | Bugfix in code generator.chriseth2016-11-161-1/+1
| | | |
| * | | Documentation examples.chriseth2016-11-161-1/+73
| | | |
| * | | Tests.chriseth2016-11-163-26/+197
| | | |
| * | | Change alignment.chriseth2016-11-164-31/+43
| | | |
| * | | Part of the documentation.chriseth2016-11-161-1/+41
| | | |
| * | | Changelog entry and small fixes.chriseth2016-11-163-5/+9
| | | |
| * | | Add a test around storing functions in an arrayYoichi Hirai2016-11-161-0/+39
| | | |
| * | | Add a parser test for arrays containing functionsYoichi Hirai2016-11-161-0/+10
| | | |
| * | | Add tests around calling functions returning functions returning functionsYoichi Hirai2016-11-162-0/+45
| | | |
| * | | External functions in storage.chriseth2016-11-164-19/+76
| | | |
| * | | Fix some type checks and tests for internal / external function parameters.chriseth2016-11-163-11/+35
| | | |
| * | | Function type state variables.chriseth2016-11-164-33/+115
| | | |
| * | | Code generator for function types.chriseth2016-11-166-3/+127
| | | |
| * | | Function types.chriseth2016-11-1617-39/+359
|/ / /
* | | Merge pull request #1379 from ethereum/swarmHashCorrectionchriseth2016-11-162-29/+24
|\ \ \ | | | | | | | | Correct implementation of swarm hash.
| * | | Correct implementation of swarm hash.chriseth2016-11-152-29/+24
| | | |
* | | | Merge pull request #1377 from ethereum/keep-json-valueschriseth2016-11-1611-59/+107
|\ \ \ \ | |/ / / |/| | | Keep internal results in JSON
| * | | Change natspec/abi JSON expected message to be the sameAlex Beregszaszi2016-11-162-5/+6
| | | |
| * | | Move JSON helpers to libdevcore/jsonAlex Beregszaszi2016-11-164-29/+57
| | | |
| * | | Update tests to use JSONAlex Beregszaszi2016-11-162-9/+5
| | | |
| * | | Move InterfaceHandler from string to JSONAlex Beregszaszi2016-11-158-48/+71
|/ / /
* | | Merge pull request #1327 from ethereum/inline-assembly-errortagAlex Beregszaszi2016-11-155-1/+30
|\ \ \ | | | | | | | | ErrorTag in inline assembly
| * | | Rename ErrorTag to invalidJumpLabel in inline assemblyAlex Beregszaszi2016-11-155-6/+6
| | | |
| * | | Document inline assembly ErrorTagAlex Beregszaszi2016-11-151-0/+4
| | | |
| * | | Add tests for the ErrorTagAlex Beregszaszi2016-11-152-0/+20
| | | |
| * | | Support ErrorTag as a jump label in inline assemblyAlex Beregszaszi2016-11-152-1/+6
| | | |
* | | | Merge pull request #1369 from ethereum/callcostschriseth2016-11-152-15/+28
|\ \ \ \ | | | | | | | | | | Report infinite gas for calls.
| * | | | Keep old code.chriseth2016-11-152-21/+30
| | | | |
| * | | | Report infinite gas for calls.chriseth2016-11-141-15/+19
| | | | |
* | | | | Merge pull request #1366 from ethereum/swarmhashchriseth2016-11-154-2/+159
|\ \ \ \ \ | |_|/ / / |/| | | | Swarm hash.
| * | | | Move swarmHash to its own file.chriseth2016-11-155-45/+101
| | | | |
| * | | | Multi-level swarm hash.chriseth2016-11-154-10/+103
| | | | |
| * | | | Swarm hash.chriseth2016-11-151-0/+8
| | | | |
* | | | | Merge pull request #1375 from ethereum/inline-assembly-stack-heightchriseth2016-11-153-12/+23
|\ \ \ \ \ | | | | | | | | | | | | Fix inline assembly stack warnings when using variables
| * | | | | Add testschriseth2016-11-151-5/+13
| | | | | |
| * | | | | Fix inline assembly stack warnings when using variablesAlex Beregszaszi2016-11-152-7/+10
| |/ / / /
* | | | | Merge pull request #760 from axic/fix/omit-newline-in-interfacechriseth2016-11-152-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 outputAlex Beregszaszi2016-11-152-1/+5
| |/ / / /
* | | | | Merge pull request #1317 from ethereum/timelockAlex Beregszaszi2016-11-156-2/+26
|\ \ \ \ \ | | | | | | | | | | | | Compile all contracts in the std directory
| * | | | | Update tests.shchriseth2016-11-151-0/+1
| | | | | |
| * | | | | Add tests for the std files.chriseth2016-11-126-2/+25
| | | | | |
* | | | | | Merge pull request #1373 from ethereum/debug-compiler-flagchriseth2016-11-151-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Compile with -Og in debug mode (by @chfast)
| * | | | | Compile with -Og in debug mode (by @chfast)Alex Beregszaszi2016-11-151-1/+1
|/ / / / /
* | | | | Unimplemented features moved to their own exception (#1361)Rhett Aultman2016-11-159-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_argchriseth2016-11-151-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 Hirai2016-11-151-0/+27
|/ / / / / | | | | | | | | | | | | | | | argument
* | | | | Merge pull request #1367 from asinyagin/developchriseth2016-11-151-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Print canonical names of structs and enums in AST
| * | | | | Print canonical names of structs and enums in ASTAlex Sinyagin2016-11-141-2/+2
| | |/ / / | |/| | |
* | | | | Merge pull request #1372 from ethereum/invalid_enum_as_external_retchriseth2016-11-152-2/+36
|\ \ \ \ \ | | | | | | | | | | | | Invalid enum as external ret
| * | | | | codegen: overflow checking also during conversion from enumsYoichi Hirai2016-11-151-2/+2
| | | | | |
| * | | | | test: add tests about returning invalid enum values from interface functionsYoichi Hirai2016-11-141-0/+34
| |/ / / /
* | | | | Merge pull request #1370 from ethereum/missing_breakAlex Beregszaszi2016-11-151-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | codegen: add a missing `break;`
| * | | | codegen: add a missing `break;`Yoichi Hirai2016-11-141-0/+1
|/ / / /
* | | | Merge pull request #1365 from walter-weinmann/developchriseth2016-11-141-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 Weinmann2016-11-141-1/+1
| | | | |
* | | | | Merge pull request #1348 from ethereum/chriseth-patch-1chriseth2016-11-141-3/+0
|\ \ \ \ \ | | | | | | | | | | | | Windows build fix.
| * | | | | Windows build fix.chriseth2016-11-091-3/+0
| | | | | | | | | | | | | | | | | | Thanks for the find, @slothbag
* | | | | | Merge pull request #1334 from ethereum/enum_conversionchriseth2016-11-1411-22/+92
|\ \ \ \ \ \ | | | | | | | | | | | | | | check enum value range during conversion
| * | | | | | codegen: move the enum overflow checking closer to the conversion into enumsYoichi Hirai2016-11-141-8/+16
| | | | | | |
| * | | | | | ast, codegen: disallow conversion between different enum typesYoichi Hirai2016-11-123-2/+3
| | | | | | |
| * | | | | | test: add a test conerting an enum into another enum, which should failYoichi Hirai2016-11-121-0/+15
| | | | | | |
| * | | | | | codegen: shorten the overflow checking when converting into enumsYoichi Hirai2016-11-121-1/+2
| | | | | | |
| * | | | | | docs: udpate description of enums about #1334Yoichi Hirai2016-11-121-1/+2
| | | | | | |
| * | | | | | parsing: ban empty enum definition.Yoichi Hirai2016-11-124-15/+7
| | | | | | |