aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test: Add an end-to-end test about multiple events of the same nameYoichi Hirai2017-01-231-0/+41
| | | | See #1215
* analysis: Allow multiple events of the same nameYoichi Hirai2017-01-231-0/+7
| | | | Fixes #1215
* test: Add a test for #1215Yoichi Hirai2017-01-231-0/+11
| | | | using the original example from @pipermerriam
* Merge pull request #1576 from ethereum/typeIdentifiersYoichi Hirai2017-01-207-20/+359
|\ | | | | Type identifiers.
| * Make m_id const.chriseth2017-01-201-1/+1
| |
| * Reset AST node IDs between compilation runs.chriseth2017-01-205-5/+28
| |
| * Properly escape user strings and lists.chriseth2017-01-193-56/+98
| |
| * Type identifiers.chriseth2017-01-194-3/+277
| |
* | Merge pull request #1587 from ethereum/fixFunctionVisibilityYoichi Hirai2017-01-192-2/+4
|\ \ | |/ |/| Fix default function type name visibility.
| * Fix default function type name visibility.chriseth2017-01-192-2/+4
|/
* Merge pull request #1583 from federicobond/fix-commentchriseth2017-01-191-1/+1
|\ | | | | Fix typo in comment
| * Fix typo in commentFederico Bond2017-01-181-1/+1
| |
* | Merge pull request #1584 from ethereum/tierchriseth2017-01-193-149/+149
|\ \ | | | | | | libevmasm: remove duplicate `Tier` from `Tier::xTier`s
| * | libevmasm: remove duplicate `Tier` from `Tier::xTier`sYoichi Hirai2017-01-193-149/+149
| | | | | | | | | | | | Synchronize with cpp-ethereum
* | | Merge pull request #1585 from ethereum/libraryfallbackchriseth2017-01-194-21/+42
|\ \ \ | |_|/ |/| | Provide fallback for linking.
| * | Provide fallback for linking.chriseth2017-01-194-21/+42
| | |
* | | Merge pull request #1581 from ethereum/fixosxchriseth2017-01-181-2/+2
|\ \ \ | |/ / |/| | Fix JSON output on macos.
| * | Fix JSON output on macos.chriseth2017-01-181-2/+2
| | |
* | | Merge pull request #1397 from roadriverrail/contract_collisionchriseth2017-01-1810-59/+82
|\ \ \ | |/ / |/| | Error out when contracts collide on name
| * | Provide fall-back method for contract lookupRhett Aultman2017-01-171-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | Properly, contracts are now looked up via <source>:<contract> identifiers called "fully qualified names." As a modicum of backward-compatibility, failure on a lookup is now backed up by seeing if the ":" exists at all, and if it doesn't, then the known contracts are scanned for any matching contract name.
| * | Revert "Fix contract lookup in tests"Rhett Aultman2017-01-175-10/+6
| | | | | | | | | | | | This reverts commit f8914c6b281f398d6084f10708233bf79d633ef0.
| * | Update changelogRhett Aultman2017-01-171-0/+3
| | |
| * | Fix bad merge artifact(?)Rhett Aultman2017-01-171-1/+1
| | | | | | | | | | | | | | | | | | Looks like merging up munged line 188 in CommandLineInterface.cpp, so that a string literal was being used where a global variable should be.
| * | Modify library collision testRhett Aultman2017-01-171-0/+1
| | | | | | | | | | | | | | | Since libaraies no longer collide on name but on fully-qualified name, you can only induce collision by colliding them as idenfitiers.
| * | Revert "Move clashing libraries to common source in test"Rhett Aultman2017-01-171-1/+2
| | | | | | | | | | | | This reverts commit c4a9ca5cfe7a8b4ba9d2d84392c57d5eefacd1f7.
| * | Remove checkLibraryNameClashes()Rhett Aultman2017-01-172-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | The library name clash checker throws errors when two libraries of the same name are spotted. In a previous commit, this function was rewritten to use fully-qualified names instead, which makes it redundant to the checker for multiply-declared identifiers. Since it no longer serves a clear purpose, the function is being dropped.
| * | Use fully-qualified names for linking, tooRhett Aultman2017-01-173-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using libraries leaves behind a library link reference in the binary which the linker must later resolve. These link references were still being generated by name and not by fully-qualified name. This would lead to a link-time collision between two libraries having the same name but in different source units. This change changes linker symbols over to fully-qualified names, which resolves that issue. This does potentially introduce a new problem, which is that linker symbols appear to be limited to 36 characters and are truncated. Storing paths extends the average symbol size, and it would be great if truncation was from the tail rather than the head.
| * | Remove unique error for contract collisionRhett Aultman2017-01-171-39/+10
| | | | | | | | | | | | | | | | | | Because contracts are uniquely identified by their source unit, there is no need for a unique error for this; it's actually covered by the checker for double-declaration of identifiers.
| * | Fix contract lookup in testsRhett Aultman2017-01-175-6/+10
| | | | | | | | | | | | | | | | | | The fully-qualified name of a contract with no source unit is :<Name> instead of just <Name>, so the test system needed to be adjusted accordingly.
| * | Move fullyQualified() name to DeclarationRhett Aultman2017-01-172-10/+1
| | |
| * | Stylistic correctionsRhett Aultman2017-01-173-11/+5
| | |
| * | Move clashing libraries to common source in testRhett Aultman2017-01-171-2/+1
| | | | | | | | | | | | | | | | | | Since contracts and libraries only collide if they share a common source file now, this test only works if both libraries are in the same source.
| * | Push the error instead of throwing itRhett Aultman2017-01-171-10/+34
| | | | | | | | | | | | | | | | | | | | | Throwing a CompilerError on multiple contract definition violates the expectations of the test suite, which thinks that compile() will return false if the code can't compile. This brings contract collision reporting in line with most of the other errors.
| * | Drop ':' if the source file name is emptyRhett Aultman2017-01-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | A large number of tests compile contracts while passing in an empty string for the source name. This leads to it being keyed by the name ":<contract>", while the tests try to look it up under the name "<contract>". This change resolves that issue by dropping the ':' in cases where there is, effectively, no source file to prepend anyway.
| * | Only avoid collision if it's the same fileRhett Aultman2017-01-175-14/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | @chriseth had suggested that it would be better if contracts were referenced in a file:contract notation, and that we output .bin files that prepend original path names if necessary to avoid a collision. This commit is mostly a draft; it still needs to be run through the test suite.
| * | Tab whitespace cleanup (again)Rhett Aultman2017-01-171-1/+2
| | |
| * | Tidy up the error messageRhett Aultman2017-01-171-3/+3
| | |
| * | Fix tab, drop stupid '!!!', change error message.Rhett Aultman2017-01-171-3/+3
| | |
| * | Error out when contracts collide on nameRhett Aultman2017-01-171-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous behaviour, courtesy of the [] operator in std::map, would uncritically store a new ContractDefinition in m_contracts even when a ContractDefinition already existed. This "resolved" collissions on contract names by clobbering the original one with the new one, and could lead to scenarios where the clobber would only be discovered when the original ContractDefinition could not be found or referred to, which was an unhelpful InternalCompilerError. This change checks the m_contracts map for a collision first and will not let the ContractDefinition be changed to a new one once it's set, throwing a CompilerError with information about the conflict.
* | | Merge pull request #1573 from ethereum/metadata-versionchriseth2017-01-176-1/+11
|\ \ \ | | | | | | | | Store strict version number in metadata (exclude the platform)
| * | | Include SOL_VERSION_COMMIT/SOL_VERSION_PLATFORM in buildinfo.hAlex Beregszaszi2017-01-173-1/+6
| | | |
| * | | Store strict version number in metadata (exclude the platform)Alex Beregszaszi2017-01-174-1/+6
| | |/ | |/|
* | | Merge pull request #1574 from ethereum/docs-versionchriseth2017-01-171-0/+18
|\ \ \ | | | | | | | | Explain how version numbers are built
| * | | Mention how our version maps to SemverAlex Beregszaszi2017-01-171-0/+3
| | | |
| * | | Explain how version numbers are builtAlex Beregszaszi2017-01-171-0/+15
| |/ /
* | | Merge pull request #1575 from ethereum/docs-copyright-datechriseth2017-01-171-1/+1
|\ \ \ | |/ / |/| | Update copyright date in docs
| * | Update copyright date in docsAlex Beregszaszi2017-01-171-1/+1
|/ /
* | Merge pull request #1570 from ethereum/astidentifierschriseth2017-01-174-2/+11
|\ \ | | | | | | Deterministic AST node identifiers.
| * | Deterministic AST node identifiers.chriseth2017-01-174-2/+11
|/ /
* / Add git submodule init to build instructions (#1569)Rhett Aultman2017-01-171-0/+5
|/
* Update SolidityLexer.py (#1567)Nicola2017-01-161-0/+1
| | | Added number unit keywords
* Merge pull request #1564 from natzei/patch-1chriseth2017-01-131-1/+1
|\ | | | | Update SolidityLexer.py
| * Update SolidityLexer.pyNicola2017-01-131-1/+1
|/ | | 'payable' added as a keyword
* Merge pull request #1562 from ethereum/gas-tier-enum-classchriseth2017-01-133-141/+141
|\ | | | | Make enum Tier into an enum class
| * Make enum Tier into an enum classYoichi Hirai2017-01-133-141/+141
| |
* | Merge pull request #1563 from ethereum/updateVersionchriseth2017-01-133-3/+5
|\ \ | |/ |/| Update version to 0.4.9.
| * Update version to 0.4.9.chriseth2017-01-133-3/+5
|/
* Update Changelog.mdchriseth2017-01-131-1/+1
|
* Merge pull request #1479 from ethereum/function_variable_mixinchriseth2017-01-139-67/+190
|\ | | | | Disallow mixin of functions and attributes under the same name
| * ast: events have FunctionType tooYoichi Hirai2017-01-122-8/+17
| |
| * analysis: use Declaration::functionType() in another locationYoichi Hirai2017-01-121-11/+4
| |
| * ast: add Declaration::functionType()Yoichi Hirai2017-01-123-14/+80
| |
| * Changelog: add a line about #1479Yoichi Hirai2017-01-121-0/+1
| |
| * docs: document the resriction about a function and an event of the same ↵Yoichi Hirai2017-01-121-0/+7
| | | | | | | | name, and so on
| * test: allow multiple errors in modifier-function overridingYoichi Hirai2017-01-121-2/+6
| |
| * analysis: avoid emscripten build failureYoichi Hirai2017-01-121-3/+3
| |
| * analysis: changes necessary to compile std/StandardToken.solYoichi Hirai2017-01-123-12/+58
| |
| * analysis: allow some shadowings explicitlyYoichi Hirai2017-01-123-56/+29
| |
| * analysis: report errors when inheritance causes collisionYoichi Hirai2017-01-121-1/+25
| |
* | Merge pull request #1560 from ethereum/cmakechriseth2017-01-132-0/+39
|\ \ | | | | | | Travis CI: Install latest CMake
| * | Travis CI: Install latest CMakePaweł Bylica2017-01-122-0/+39
| | |
* | | Merge pull request #1549 from ethereum/optimizeOptimizerchriseth2017-01-1312-461/+646
|\ \ \ | |/ / |/| | Optimize optimizer
| * | Minor changes from review.chriseth2017-01-134-4/+3
| | |
| * | Changelog entry.chriseth2017-01-131-1/+2
| | |
| * | Windows build fix.chriseth2017-01-131-0/+2
| | |
| * | Fix match groups.chriseth2017-01-131-0/+1
| | |
| * | Fix debug output.chriseth2017-01-131-2/+8
| | |
| * | Optimize constant optimization.chriseth2017-01-132-37/+58
| | |
| * | Optimise simplification rules (sort into bins).chriseth2017-01-134-394/+514
| | |
| * | Do not evaluate strings if assertion succeeds.chriseth2017-01-131-20/+12
| | |
| * | Optimize pattern matcher.chriseth2017-01-132-16/+22
| | |
| * | Optimise AssemblyItem::m_data.chriseth2017-01-135-22/+59
|/ /
* | Merge pull request #1548 from VoR0220/remappingBugFixchriseth2017-01-124-9/+51
|\ \ | | | | | | Remapping bug fix
| * | fixedVoR02202017-01-122-4/+4
| | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | added fix and a test for order independence of nested prefixingVoR02202017-01-122-2/+20
| | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | cleanupVoR02202017-01-123-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> fixup Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | changelog entryVoR02202017-01-111-0/+2
| | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | fixed unused filepath bugVoR02202017-01-111-2/+1
| | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | much smaller helper functionVoR02202017-01-102-5/+5
| | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | can do this purely on length. Also made prefix filesystem string for more ↵VoR02202017-01-091-27/+16
| | | | | | | | | | | | | | | | | | accurate readings. Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | fixed test and added solutionVoR02202017-01-092-5/+28
| | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
| * | added testVoR02202017-01-091-0/+11
| | | | | | | | | | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* | | Merge pull request #1558 from anders94/doc-rewordingchriseth2017-01-121-2/+2
|\ \ \ | |_|/ |/| | Re-wording for Clarity
| * | Re-word somewhat bumpy sentence to be more clear.Anders Brownworth2017-01-121-2/+2
| | |
* | | Merge pull request #1555 from ethereum/chriseth-patch-1Yoichi Hirai2017-01-121-0/+3
|\ \ \ | |/ / |/| | Changelog entry about assembly output
| * | Changelog entry about assembly outputchriseth2017-01-111-0/+3
|/ /
* | Merge pull request #1553 from federicobond/improve-grammarchriseth2017-01-111-5/+11
|\ \ | | | | | | Improve grammar specification
| * | grammar.txt: Replace Identifier for Typename in NewExpressionFederico Bond2017-01-111-1/+1
| | |
| * | grammar.txt: Add named function argumentsFederico Bond2017-01-111-1/+7
| | |
| * | grammar.txt: Move StorageLocation? up to VariableDeclarationFederico Bond2017-01-111-3/+3
|/ /
* | Merge pull request #1330 from ethereum/assemblyDefchriseth2017-01-115-51/+1056
|\ \ | | | | | | Assembly definition.
| * | Move explanatory sections and other small changes.chriseth2017-01-091-183/+192
| | |
| * | Typos and clarifications.chriseth2017-01-041-13/+17
| | |
| * | More information about switch, loops and functions.chriseth2017-01-041-1/+78
| | |
| * | Update to new assembly specification.chriseth2017-01-031-31/+381
| | |
| * | Rename programSize to bytecodeSize.chriseth2017-01-031-1/+1
| | |
| * | Assembly output for Assembly object.chriseth2017-01-033-51/+105
| | |
| * | Assembly definition.chriseth2017-01-032-0/+511
| | |
* | | Merge pull request #1542 from ethereum/publishTarballchriseth2017-01-092-36/+49
|\ \ \ | |_|/ |/| | Create source tarballs for releases.
| * | Replace `` by $().chriseth2017-01-091-4/+3
| | |
| * | Create source tarballs for releases.chriseth2017-01-042-36/+50
| | |
* | | Merge pull request #1537 from ethereum/absolute-pathchriseth2017-01-074-5/+15
|\ \ \ | | | | | | | | absolute path detection is not confused by ".dir"
| * | | Changelog: document #1537Yoichi Hirai2017-01-061-0/+1
| | | |
| * | | test: add a test importing a file name starting with a periodYoichi Hirai2017-01-041-0/+8
| | | |
| * | | interface: change absolutePath() so that ".dir" is considered as an absolute ↵Yoichi Hirai2017-01-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | path fixes #1534
| * | | docs: clarify what are considered as absolute pathsYoichi Hirai2017-01-041-2/+3
| |/ /
* | | Merge pull request #1545 from federicobond/refactor-renamechriseth2017-01-051-3/+3
|\ \ \ | |/ / |/| | Rename contractName to typeName when parsing new expression
| * | Rename contractName to typeName when parsing new expressionFederico Bond2017-01-051-3/+3
| | |
* | | Merge pull request #1541 from ethereum/stabelnodejschriseth2017-01-031-0/+1
|\ \ \ | |_|/ |/| | Require stable nodejs for deployment.
| * | Require stable nodejs for deployment.chriseth2017-01-031-0/+1
| | |
* | | Merge pull request #1474 from ethereum/event-lookup-base-namechriseth2017-01-034-9/+61
|\ \ \ | | | | | | | | Event lookup with base name
| * | | ast, codegen: enable accessing events through contract names.Yoichi Hirai2017-01-033-9/+39
| | | | | | | | | | | | | | | | Fixes #1286
| * | | test: add a test case for #1286Yoichi Hirai2017-01-031-0/+22
| | | |
* | | | Merge pull request #1527 from federicobond/elementarytypenameconversionchriseth2017-01-031-1/+8
|\ \ \ \ | | | | | | | | | | Add ElementaryTypeNameExpression to grammar.txt
| * | | | Add ElementaryTypeNameExpression to grammar.txtFederico Bond2017-01-021-1/+8
| | |_|/ | |/| |
* | | | Merge pull request #1538 from ethereum/multi-keyschriseth2017-01-031-2/+2
|\ \ \ \ | | | | | | | | | | doc: rephrase the case when two remapping keys are applicable
| * | | | doc: rephrase the case when two remapping keys are applicableYoichi Hirai2017-01-021-2/+2
| | |/ / | |/| | | | | | | | | | Fixes #1536
* | | | Merge pull request #1526 from federicobond/docs-grammarchriseth2017-01-031-0/+9
|\ \ \ \ | |/ / / |/| | | Add parsers and grammars to documentation
| * | | Add parsers and grammars to documentationFederico Bond2017-01-021-0/+9
| | | |
* | | | Merge pull request #1530 from federicobond/remove-syntax-highlightingchriseth2017-01-021-0/+1
|\ \ \ \ | | | | | | | | | | Remove wrong syntax highlighting in docs
| * | | | Remove wrong syntax highlighting in docsFederico Bond2016-12-291-0/+1
| | |/ / | |/| |
* | | | Merge pull request #1529 from federicobond/right-shiftschriseth2017-01-021-1/+1
|\ \ \ \ | | | | | | | | | | Add missing right-hand side expression for shifts
| * | | | Add missing right-hand side expression for shiftsFederico Bond2016-12-281-1/+1
| |/ / /
* | | | Merge pull request #1528 from federicobond/userdefinedtypenamechriseth2017-01-021-2/+10
|\ \ \ \ | | | | | | | | | | Add UserDefinedTypeName to grammar.txt
| * | | | Add UserDefinedTypeName to grammar.txtFederico Bond2016-12-281-2/+10
| |/ / /
* | | | Merge pull request #1531 from ethereum/srcmapchriseth2017-01-021-1/+1
|\ \ \ \ | |/ / / |/| | | libevmasm: OpPop() optimization keeps the source location
| * | | libevmasm: OpPop() optimization keeps the source locationYoichi Hirai2016-12-301-1/+1
|/ / / | | | | | | | | | fixes #1521
* | | Merge pull request #1522 from federicobond/patch-2Yoichi Hirai2016-12-271-3/+6
|\ \ \ | | | | | | | | Fix some grammar.txt inconsistencies
| * | | Add unimplemented functions to grammarFederico Bond2016-12-271-1/+1
| | | |
| * | | Fix NumberLiteral rule for hex numbersFederico Bond2016-12-251-1/+4
| | | |
| * | | Fix StorageLocation position for ArrayTypeName rule in grammarFederico Bond2016-12-251-1/+1
|/ / /
* | | Merge pull request #1518 from mcoblenz/patch-2chriseth2016-12-221-2/+2
|\ \ \ | | | | | | | | Corrected explanation of recursive contract creation
| * | | Corrected explanation per discussion.Michael Coblenz2016-12-221-2/+2
| | | |
| * | | Clarified support for recursive creation.Michael Coblenz2016-12-211-2/+2
| | | |
| * | | Fixed misleading typoMichael Coblenz2016-12-201-1/+1
| | |/ | |/| | | | "now possible" should instead read "not possible."
* | | Merge pull request #1519 from federicobond/patch-1Yoichi Hirai2016-12-221-1/+1
|\ \ \ | |/ / |/| | Fix mapping syntax in docs
| * | Fix mapping syntax in docsFederico Bond2016-12-221-1/+1
|/ /
* | Merge pull request #1515 from ethereum/versionchriseth2016-12-163-3/+5
|\ \ | |/ |/| Update develop version.
| * Update develop version.chriseth2016-12-153-3/+5
|/
* Merge pull request #1514 from ethereum/changelogchriseth2016-12-151-4/+4
|\ | | | | Update changelog for release.
| * Update changelog for release.chriseth2016-12-151-4/+4
|/
* Merge pull request #1513 from ethereum/changelog-for-ast-jsonchriseth2016-12-151-0/+3
|\ | | | | Changelog: add entries for #1497 and #1503
| * Changelog: add entries for #1497 and #1503Yoichi Hirai2016-12-151-0/+3
|/
* Merge pull request #1503 from federicobond/json-visibilityYoichi Hirai2016-12-152-7/+22
|\ | | | | Include visibility level for functions in AST
| * Include visibility level for functions in ASTFederico Bond2016-12-132-7/+22
| |
* | Merge pull request #1508 from ethereum/multiurlschriseth2016-12-152-6/+8
|\ \ | | | | | | Use multiple URLs for metadata.
| * | Use multiple URLs for metadata.chriseth2016-12-132-6/+8
| | |
* | | Merge pull request #1487 from ethereum/shift-opsYoichi Hirai2016-12-147-42/+543
|\ \ \ | | | | | | | | Shift operators
| * | | Fix tests.chriseth2016-12-141-5/+5
| | | |
| * | | Use correct type for storing.chriseth2016-12-131-7/+7
| | | |
| * | | Update documentation.chriseth2016-12-131-7/+7
| | | |
| * | | test: add tests that tries different types on <<=Yoichi Hirai2016-12-131-0/+18
| | | |
| * | | Documentation.chriseth2016-12-122-11/+21
| | | |
| * | | Tests for bytes.chriseth2016-12-121-0/+38
| | | |
| * | | Correct test expectations.chriseth2016-12-121-3/+5
| | | |
| * | | Display tx hash for debugging.chriseth2016-12-121-2/+5
| | | |
| * | | Cleaner shift handling and type conversion for binary operations.chriseth2016-12-124-78/+122
| | | |
| * | | Type after shift should be type of left operand.chriseth2016-12-122-5/+57
| | | |
| * | | Support bitshifting in variablesAlex Beregszaszi2016-12-125-9/+346
| | | |
* | | | Merge pull request #1507 from ethereum/memcopystyleYoichi Hirai2016-12-142-14/+14
|\ \ \ \ | |_|/ / |/| | | Renamed padToWordBoundaries -> padToWords
| * | | Renamed padToWordBoundaries -> padToWordschriseth2016-12-132-14/+14
| | | |
* | | | Merge pull request #1506 from federicobond/improve-error-msgchriseth2016-12-133-1/+19
|\ \ \ \ | |/ / / |/| | | Improve error message when trying to modify constant variables
| * | | Improve error message when trying to modify constant variablesFederico Bond2016-12-133-1/+19
|/ / /
* | | Merge pull request #1468 from ethereum/memcpy-assemblyYoichi Hirai2016-12-135-16/+83
|\ \ \ | | | | | | | | Implement memcpy without the identity precompile
| * | | Changelog entry.chriseth2016-12-121-0/+1
| | | |
| * | | Split memcopy into three functions.chriseth2016-12-123-54/+79
| | | |
| * | | Fix inline assembly.chriseth2016-12-121-1/+2
| | | |
| * | | Reset stack height after inline assembly blockAlex Beregszaszi2016-12-121-0/+1
| | | |
| * | | Better assert message for appendInlineAssembnlyAlex Beregszaszi2016-12-121-1/+1
| | | |
| * | | Implement identity call in inline assemblyAlex Beregszaszi2016-12-121-14/+21
| | | |
| * | | Turn off the identity precompile for testingAlex Beregszaszi2016-12-121-1/+1
| | | |
| * | | Implement CompilerUtils::memoryCopy using inline assemblyAlex Beregszaszi2016-12-121-1/+26
| | | |
| * | | Add usingIdentity option to CompilerUtils::memoryCopyAlex Beregszaszi2016-12-122-2/+9
| |/ /
* | | Merge pull request #1491 from ameten/refactoringchriseth2016-12-132-139/+184
|\ \ \ | | | | | | | | Just refactored some code
| * | | - alphabetically sorted string constants per name.Danil Nemirovsky2016-12-091-45/+45
| | | |
| * | | - moved string constants into common place;Danil Nemirovsky2016-12-091-136/+181
| | | | | | | | | | | | | | | | - replaced string literals with string constants.
| * | | - fixed a misprint.Danil Nemirovsky2016-12-091-1/+1
| | | |
* | | | Merge pull request #1494 from ethereum/showtxhashYoichi Hirai2016-12-131-2/+5
|\ \ \ \ | |_|_|/ |/| | | Display tx hash for debugging.
| * | | Display tx hash for debugging.chriseth2016-12-101-2/+5
| |/ /
* | | Merge pull request #1357 from federicobond/remove-sierra-notechriseth2016-12-121-6/+0
|\ \ \ | |_|/ |/| | Remove macOS Sierra note from install_deps.sh
| * | Remove macOS Sierra note from install_deps.shFederico Bond2016-11-111-6/+0
| | |
* | | Warn if msg.value is used in non-payable function.chriseth2016-12-111-0/+1
| | |
* | | Merge pull request #1464 from federicobond/warn-msgvaluechriseth2016-12-115-1/+251
|\ \ \ | | | | | | | | Warn about using msg.value in non-payable function
| * | | Warn about using msg.value in non-payable functionFederico Bond2016-12-095-1/+251
| | |/ | |/|
* | | Merge pull request #1481 from zigguratt/lll-end-to-end-testingchriseth2016-12-111-0/+229
|\ \ \ | | | | | | | | LLL: end to end testing
| * | | Removed 'panic' from 'constructor_arguments_external' and added specificDaniel Ellison2016-12-071-2/+147
| | | | | | | | | | | | | | | | | | | | | | | | test for fallback and fallthrough. Added one test for 'lit'. Added tests for arithmetic/binary/unary operations. Added the start of tests for assembler instructions within LLL source.
| * | | Added tests for LLL constructors. Fixed a few tab issues.Daniel Ellison2016-12-071-5/+49
| | | |
| * | | Removed enclosed_panic test until assembler bug is fixed.Daniel Ellison2016-12-071-7/+0
| | | |
| * | | Simplified exp_operator_on_range test and changed to tedting a range.Daniel Ellison2016-12-071-11/+7
| | | |
| * | | Added tests for exponent operator.Daniel Ellison2016-12-071-0/+37
| | | |
| * | | Added 'panic' tests.Daniel Ellison2016-12-071-0/+14
| | | |
* | | | Merge pull request #1496 from federicobond/remove-unused-varchriseth2016-12-111-1/+0
|\ \ \ \ | | | | | | | | | | Remove unused variable inputFiles
| * | | | Remove unused variable inputFilesFederico Bond2016-12-111-1/+0
| | |/ / | |/| |
* | | | Merge pull request #1497 from federicobond/json-nameschriseth2016-12-111-2/+2
|\ \ \ \ | | | | | | | | | | Fix names of JSON AST nodes
| * | | | Fix names of JSON AST nodesFederico Bond2016-12-111-2/+2
| |/ / /
* | | | Merge pull request #1498 from federicobond/fix-typoschriseth2016-12-111-2/+2
|\ \ \ \ | |/ / / |/| | | Fix typos in comments
| * | | Fix typos in commentsFederico Bond2016-12-111-2/+2
|/ / /
* | | Merge pull request #1351 from ethereum/truncate_bitchriseth2016-12-087-5/+89
|\ \ \ | | | | | | | | Truncate a boolean from calldata into one bit
| * | | docs: rename overflow to variable cleanupAlex Beregszaszi2016-12-011-4/+4
| | | |
| * | | docs: update overflow cleanup wordingAlex Beregszaszi2016-12-011-4/+4
| | | |
| * | | codegen: clean not only booleans but all types before storing them into memoryYoichi Hirai2016-12-012-4/+3
| | | |
| * | | docs: remove the word overflow when we are talking about invalid valuesYoichi Hirai2016-12-011-22/+22
| | | |
| * | | codegen: clean any data from the inputYoichi Hirai2016-12-013-3/+6
| | | |
| * | | docs: describe when and how overflown values are cleanedYoichi Hirai2016-12-012-2/+52
| | | |
| * | | codegen: truncate booleans before they enter storageYoichi Hirai2016-12-011-1/+0
| | | |
| * | | codegen: cleanup booleans before storing them into memoryYoichi Hirai2016-12-011-0/+2
| | | |
| * | | codegen: truncate a boolean calldata down to one bitYoichi Hirai2016-12-012-0/+3
| | | |
| * | | test: add a test that witnesses #1318Yoichi Hirai2016-12-011-0/+28
| | | |
* | | | Merge pull request #1412 from ethereum/disallow-multiple-errorschriseth2016-12-081-25/+113
|\ \ \ \ | | | | | | | | | | disallow more than one errors in name and type tests
| * | | | test: either fix tests to raise just one error, or mark them as raising ↵Yoichi Hirai2016-12-051-32/+112
| | | | | | | | | | | | | | | | | | | | multiple errors
| * | | | test: disallow more than one errors in name and type testsYoichi Hirai2016-12-051-0/+8
| | | | |
* | | | | Merge pull request #1488 from ethereum/parser-error-msgchriseth2016-12-082-24/+49
|\ \ \ \ \ | | | | | | | | | | | | test: check error messages in parser tests
| * | | | | test: check error messages in parser testsYoichi Hirai2016-12-072-24/+49
| |/ / / /
* | | | | Merge pull request #1492 from federicobond/patch-1chriseth2016-12-081-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Remove duplicate Identifier from AssemblyItem grammar rule
| * | | | | Remove duplicate Identifier from AssemblyItem grammar ruleFederico Bond2016-12-081-1/+1
|/ / / / /
* | | | | Merge pull request #1489 from federicobond/isolate-testschriseth2016-12-072-24/+44
|\ \ \ \ \ | | | | | | | | | | | | Cleanup and fix scripts/isolate_tests.py
| * | | | | Cleanup and fix scripts/isolate_tests.pyFederico Bond2016-12-071-16/+36
| | | | | |
| * | | | | Rename isolateTests.py script to isolate_tests.pyFederico Bond2016-12-071-0/+0
| | | | | |
* | | | | | Merge pull request #1490 from ethereum/debugMessageschriseth2016-12-074-0/+18
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Option to show messages in tests.
| * | | | | Also provide value and format slightly differently.chriseth2016-12-071-3/+6
| | | | | |
| * | | | | Option to show messages in tests.chriseth2016-12-074-0/+15
|/ / / / /
* | | | | Merge pull request #1465 from ethereum/missing_keywordschriseth2016-12-063-5/+13
|\ \ \ \ \ | |_|/ / / |/| | | | document missing keywords
| * | | | grammar.txt: define inline assemblyYoichi Hirai2016-12-021-1/+9
| | | | |
| * | | | parsing: `default` and `null` are reserved keywordsYoichi Hirai2016-12-022-3/+3
| | | | |
| * | | | grammar.txt: remove a space from `payable` keywordYoichi Hirai2016-12-021-1/+1
| | | | |
* | | | | Merge pull request #1394 from ethers/patch-1chriseth2016-12-051-0/+81
|\ \ \ \ \ | |_|/ / / |/| | | | styleguide: Order of Functions
| * | | | Clearer language as suggested by @axicethers2016-11-221-1/+1
| | | | |
| * | | | Fallback functions don't always have to be payableethers2016-11-181-2/+2
| | | | |
| * | | | styleguide: Don't include a whitespace in the fallback functionethers2016-11-181-0/+13
| | | | |
| * | | | Don't include a whitespace in fallback functionethers2016-11-181-2/+2
| | | | |
| * | | | styleguide: Ordering of functionsethers2016-11-181-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | Ordering would help readers identify which functions they can call, and to find the "specials" (constructor and fallback function). Mixing the "specials" in the middle of the code, as well as internal functions between external and public functions, don't help readers Based on https://github.com/ConsenSys/MultiSigWallet/issues/19
* | | | | Merge pull request #1483 from federicobond/r-literalsRJ2016-12-044-592/+810
|\ \ \ \ \ | | | | | | | | | | | | Migrate remaining source code in tests to R literals
| * | | | | Migrate remaining source code in tests to R literalsFederico Bond2016-12-044-592/+810
|/ / / / /
* | | | | Merge pull request #1475 from ethereum/fail-on-identity-failchriseth2016-12-032-1/+3
|\ \ \ \ \ | |_|/ / / |/| | | | Throw if calling the identity precompile (memoryCopy) failed
| * | | | Throw if calling the identity precompile (memoryCopy) failedAlex Beregszaszi2016-12-022-1/+3
|/ / / /
* | | | Merge pull request #1386 from ethereum/metadataOutchriseth2016-12-0226-116/+402
|\ \ \ \ | | | | | | | | | | Metadata stamp
| * | | | Count instructions without metadata hash.chriseth2016-12-011-10/+22
| | | | |
| * | | | Add the `_runs` parameter.chriseth2016-12-012-3/+3
| | | | |
| * | | | Submit library addresses to the compiler in tests (and not link afterwards)Alex Beregszaszi2016-12-011-2/+1
| | | | |
| * | | | Remove unneeded optimised test from EndToEndTestAlex Beregszaszi2016-12-011-7/+0
| | | | |