aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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
| | | | | | |
| * | | | | | test: add a test converting -1 as a literal into an enumYoichi Hirai2016-11-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This shows #1334 fixes #1344
| * | | | | | test: add a test case for #1343Yoichi Hirai2016-11-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The test witnesses that #1334 fixes #1343.
| * | | | | | docs: document the new overflow exception during conversion into enumYoichi Hirai2016-11-121-3/+4
| | | | | | |
| * | | | | | codegen: check the value range after converting something to an enum elementYoichi Hirai2016-11-122-0/+9
| | | | | | |
| * | | | | | test: add tests that witness issue #1311Yoichi Hirai2016-11-121-0/+24
| | | | | | |
| * | | | | | ast: add EnumType::numberOfMembers()Yoichi Hirai2016-11-122-1/+7
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #1360 from ethers/patch-1chriseth2016-11-141-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | docs: Remove named return
| * | | | | Remove named returnethers2016-11-131-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-2chriseth2016-11-121-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Fix semicolons
| * | | | | Fix semicolonschriseth2016-11-111-3/+3
| | |/ / / | |/| | |
* | | | | Merge pull request #1293 from ethereum/common_type_of_rational_typeYoichi Hirai2016-11-114-6/+21
|\ \ \ \ \ | |/ / / / |/| | | | tolerant type checking for inline arrays, by computing the common type in a more tolerant way
| * | | | Changelog: add a point about #1293Yoichi Hirai2016-11-111-0/+1
| | | | |
| * | | | Type checker: move the burden of computing mobile type to commonTypeYoichi Hirai2016-11-112-6/+6
| | | | | | | | | | | | | | | | | | | | This solves #621
| * | | | test: add a test for #621Yoichi Hirai2016-11-111-0/+14
|/ / / /
* | | | Merge pull request #768 from roadriverrail/do_while_loopschriseth2016-11-1111-11/+92
|\ \ \ \ | |/ / / |/| | | Add support for do/while loops
| * | | Add support for do/while loopsRhett Aultman2016-11-1011-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/typochriseth2016-11-091-3/+3
|\ \ \ \ | | | | | | | | | | test: fix a typo in calling_payable test
| * | | | Fail if parsing fails in type checker tests.chriseth2016-11-091-1/+1
| | | | |
| * | | | test: fix a typo in calling_payable testYoichi Hirai2016-11-091-2/+2
| | | | |
* | | | | Merge pull request #1333 from ethereum/compare_location_fileschriseth2016-11-094-6/+64
|\ \ \ \ \ | |_|_|/ / |/| | | | Compare source files in source locations
| * | | | libevmasm: fix comparison of SourceLocationsYoichi Hirai2016-11-082-6/+13
| | | | |
| * | | | test: add a test case about SourceLocationYoichi Hirai2016-11-072-0/+51
| | | | |
* | | | | Merge pull request #1338 from ethereum/updatereleasppachriseth2016-11-081-0/+4
|\ \ \ \ \ | | |_|/ / | |/| | | Fetch jsoncpp tarball during ppa release.
| * | | | Fetch jsoncpp tarball during ppa release.chriseth2016-11-081-0/+4
|/ / / /
* | | | Merge pull request #1337 from ethereum/jsoncpp-from-sourcechriseth2016-11-081-0/+0
|\ \ \ \ | |_|/ / |/| | | JSONCPP: keep downloaded archive in source dir
| * | | Update jsoncpp.cmake from cpp-dependencies repoPaweł Bylica2016-11-081-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-sourcechriseth2016-11-0813-129/+9
|\ \ \ | |/ / |/| | Build jsoncpp from source using jsoncpp.cmake script
| * | Drop CryptoPP leftoversPaweł Bylica2016-11-085-18/+0
| | | | | | | | | | | | Especially, do not compile CryptoPP for Emscripten.
| * | Update jsoncpp.cmake from cpp-dependencies repoPaweł Bylica2016-11-081-0/+0
| | |
| * | Build jsoncpp from source using jsoncpp.cmake scriptPaweł Bylica2016-10-2112-111/+9
| | |
* | | Merge pull request #1316 from federicobond/clarify-docchriseth2016-11-041-1/+1
|\ \ \ | | | | | | | | Add clarification for block.blockhash
| * | | Add clarification for block.blockhashFederico Bond2016-11-021-1/+1
| | | |
* | | | Merge pull request #1325 from ethereum/addpayablechriseth2016-11-041-1/+2
|\ \ \ \ | | | | | | | | | | add payable to AST
| * | | | add payable to ASTyann3002016-11-031-1/+2
| | | | |
* | | | | Merge pull request #1314 from ethereum/lll-versionchriseth2016-11-041-1/+8
|\ \ \ \ \ | | | | | | | | | | | | LLL: include version number in lllc (verbatim copy of solc)
| * | | | | LLL: include version number in lllc (verbatim copy of solc)Alex Beregszaszi2016-11-011-1/+8
| | | | | |
* | | | | | Merge pull request #1323 from varunagarwal315/patch-1Yoichi Hirai2016-11-041-0/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update solidity-by-example.rst
| * | | | | | Update solidity-by-example.rstvarunagarwal3152016-11-041-3/+3
| | | | | | | | | | | | | | | | | | | | | added the space. Sorry, just slipped my mind.
| * | | | | | Update solidity-by-example.rstvarunagarwal3152016-11-031-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made changes suggested to simplify code. Hope this is enough Thanks
| * | | | | | Update solidity-by-example.rstvarunagarwal3152016-11-031-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-constructorchriseth2016-11-041-0/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | LLL: add bytecodesize keyword to push resulting bytecode size
| * | | | | LLL: add bytecodesize keyword to push resulting bytecode sizeAlex Beregszaszi2016-11-021-0/+4
| |/ / / /