aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #897 from Denton-L/remove-standardchriseth2016-08-272-30/+8
|\ \ \ | |/ / |/| | BREAKING: Remove standard contracts
| * | Remove standard contractsDenton Liu2016-08-192-30/+8
| | |
* | | Disallow fallback function to return values.chriseth2016-08-261-0/+2
| | |
* | | Merge pull request #921 from chriseth/astjsoncleanupchriseth2016-08-232-36/+35
|\ \ \ | | | | | | | | JSON AST: Some attribute cleanup. Add linearized base contracts.
| * | | JSON AST: Some attribute cleanup. Add linearized base contracts.chriseth2016-08-192-36/+35
| |/ /
* / / Fix crash when using json compiler with exponentiation.chriseth2016-08-201-2/+7
|/ /
* | Rename root AST JSON node to SourceUnitAlex Sinyagin2016-08-181-1/+1
| |
* | Do not add children to EnumValue and PlaceholderStatement elements in JSON ASTAlex Sinyagin2016-08-181-4/+2
| |
* | Use the full names for JSON AST nodesAlex Sinyagin2016-08-181-11/+11
| |
* | Move creation of the root element of JSON AST to the SourceUnit visitorAlex Sinyagin2016-08-182-5/+18
| |
* | Add ast json converter for PlaceholderStatementAlex Sinyagin2016-08-182-0/+13
| |
* | Add ast json converter for ArrayTypeNameAlex Sinyagin2016-08-182-0/+13
| |
* | Add ast json converter for ModifierInvocation and EventDefinitionAlex Sinyagin2016-08-182-0/+26
| |
* | Add ast json converter for ModifierDefinitionAlex Sinyagin2016-08-182-0/+13
| |
* | Add ast json converter for EnumValueAlex Sinyagin2016-08-182-0/+13
| |
* | Add ast json converter for EnumDefinitionAlex Sinyagin2016-08-182-0/+13
| |
* | Add ast json converter for UsingForDirectiveAlex Sinyagin2016-08-182-1/+14
| |
* | Add a ast json converter for InheritanceSpecifierAlex Sinyagin2016-08-182-0/+13
| |
* | Merge pull request #918 from winsvega/solremove4chriseth2016-08-174-85/+1
|\ \ | | | | | | remove solidity --interface
| * | remove solidity --interfaceDimitry2016-08-174-85/+1
| | |
* | | Merge pull request #839 from chriseth/checkcodechriseth2016-08-171-0/+7
|\ \ \ | | | | | | | | BREAKING: Make function calls throw if target does not have code.
| * | | Make function calls throw if target does not have code.chriseth2016-08-171-0/+7
| |/ / | | | | | | | | | | | | Low-level calls still just execute and will actually report "success". This allows `x.call.value(y)()` for x being a non-contract account.
* | | Merge pull request #888 from chriseth/throwOnDivZerochriseth2016-08-171-3/+10
|\ \ \ | | | | | | | | Throw on division by zero.
| * | | Throw on division by zero.chriseth2016-08-171-3/+10
| | | |
* | | | BREAKING: return only exits current function/modifierchriseth2016-08-172-35/+45
| |/ / |/| |
* | | Merge pull request #836 from chriseth/unusedunderscorechriseth2016-08-172-1/+29
|\ \ \ | |/ / |/| | BREAKING: Require modifiers to contain "_".
| * | Require modifiers to contain "_".chriseth2016-08-162-1/+29
| | |
* | | Merge pull request #838 from chriseth/ecrecoverchriseth2016-08-171-5/+38
|\ \ \ | | | | | | | | Make ecrecover return zero for malformed input.
| * | | Actually better to return zero on error.chriseth2016-08-161-2/+0
| | | |
| * | | Make ecrecover throw for malformed input.chriseth2016-08-161-5/+40
| |/ /
* | | Introduce hex literals (#832)Alex Beregszaszi2016-08-163-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce hex keyword token * Support hex literals * Include tests for hex literals * Document hex literals
* | | Reserved keywords update (#833)Alex Beregszaszi2016-08-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | * Reserve abstract, interface and payable keywords * Keywords as and using aren't reserved anymore - they're used * Reserve the static keyword
* | | Provide inline assembly to the code generator. (#840)chriseth2016-08-165-1/+87
| | | | | | | | | | | | | | | | | | * Directly usable inline assembly. * Add missing header.
* | | Throw if contract creation fails.chriseth2016-08-161-0/+3
|/ /
* | Merge pull request #844 from Denton-L/remove-afterchriseth2016-08-124-9/+5
|\ \ | | | | | | BREAKING: Remove after
| * | Remove after from grammar.txtDenton Liu2016-08-111-1/+1
| | |
| * | Remove After from Types.cppDenton Liu2016-08-111-3/+2
| | |
| * | Revert "Change After to a deprecated token"Denton Liu2016-08-111-5/+1
| | | | | | | | | | | | This reverts commit 91c97f73b50fc87662b5490b2fe6de1c6ef376c7.
| * | Change After to a deprecated tokenDenton Liu2016-08-111-1/+5
| | |
| * | Remove After from ExpressionCompilerDenton Liu2016-08-111-3/+0
| | |
| * | Remove after from Token.hDenton Liu2016-08-111-2/+2
| | |
* | | Fix Mapping and InlineAssembly in JSON ASTAlex Sinyagin2016-08-121-0/+2
| | |
* | | Fix JSON AST structureAlex Sinyagin2016-08-121-0/+1
|/ /
* | Merge pull request #722 from NicolaiSoeborg/developchriseth2016-08-113-29/+83
|\| | | | | Fixes to grammar.txt [WIP]
| * Add syntax for fallback functionsNicolai2016-08-091-1/+1
| |
| * Split ElementaryTypeName into smaller rulesNicolai2016-08-021-5/+11
| |
| * Remove ambiguity from EventDefinition. Fix SourceUnitNicolai2016-08-021-9/+9
| |
| * Remove 'reduce/reduce conflicts' with comma operatorNicolai2016-07-311-1/+1
| |
| * Fix reduce/reduce conflicts w/ multiple FunctionCall in ExpressionNicolai2016-07-301-1/+1
| |
| * Remove TypeParameterListNicolai2016-07-301-4/+4
| |
| * Fixes to expressionNicolai2016-07-271-10/+9
| |
| * Added wildcard to UsingForDeclarationNicolai2016-07-271-3/+3
| |
| * Imports => ImportDirectiveNicolai2016-07-271-5/+6
| |
| * Remove assignment as expr. Add functionCall as primaryExpressionNicolai2016-07-261-6/+6
| |
| * Fix missing seperator from commit 8b450dd8Nicolai2016-07-261-1/+1
| |
| * Added PlaceholderStatementNicolai2016-07-251-1/+2
| |
| * Add StorageLocationNicolai2016-07-251-2/+3
| |
| * Allow function to call modifiersNicolai2016-07-251-1/+1
| |
| * Order expression according to PR 732Nicolai2016-07-231-9/+18
| |
| * New regex for StringLiteralNicolai2016-07-231-1/+2
| |
| * Begin fixing expression syntaxNicolai2016-07-231-14/+18
| |
| * Added UsingDeclarationNicolai2016-07-211-2/+5
| |
| * Extend EventDefinitionNicolai2016-07-211-1/+3
| |
| * Fix missing 'ether' from NumberUnit. Extend StringLiteral syntaxNicolai2016-07-201-5/+3
| |
| * Added missing (u)fixed typesNicolai2016-07-201-2/+5
| |
| * Extend NumberLiteral with unitsNicolai2016-07-201-2/+2
| |
| * Added importsNicolai2016-07-201-1/+6
| |
| * Add EventDefinitionNicolai2016-07-201-1/+3
| |
| * NumberLiteral: Allow 0x prefixNicolai2016-07-201-1/+1
| |
| * Allow function returns to be unnamedNicolai2016-07-201-1/+3
| |
| * Fix StructDef. Add BoolLiteral. Def NumLiteral, StringLiteral and Identifier.Nicolai2016-07-201-3/+8
| |
| * Fix missing quotes in ElementaryTypeNameNicolai2016-07-201-5/+5
| |
| * Added ElementaryTypeName, removed explicit recursionNicolai2016-07-201-1/+8
| |
| * Add forStmt to Stmt, removes BasicBinaryOperation, throw expr, explicit rec ↵Nicolai2016-07-191-7/+6
| | | | | | | | in ArrTypeName
| * Remove "in", extra semicolons, forced function param. Added "throw". Changes ↵Nicolai2016-07-191-9/+9
| | | | | | | | FunctionCall & IndexAccess
| * grammar.txt: Fixes to EnumDef and ArrayTypeNameNicolai2016-07-191-2/+2
| |
| * grammer.txt: inheritable => internalNicolai2016-07-191-2/+2
| |
| * Grammar: tab => spacesNicolai Søborg2016-07-151-5/+5
| |
| * Typos + added missing grammar rulesNicolai2016-07-151-3/+9
| |
| * Remove the remains of "expresison"Nicolai2016-07-152-2/+2
| |
* | Merge pull request #794 from chriseth/fixastsourcechriseth2016-08-102-3/+3
|\ \ | | | | | | Fix segfault in ast output.
| * | Fix segfault in ast output.chriseth2016-08-092-3/+3
| | |
* | | Merge pull request #826 from axic/utf8-checkchriseth2016-08-102-1/+12
|\ \ \ | | | | | | | | AST printer: do not output invalid UTF8 sequences
| * | | Remove dev::utf8 namespaceAlex Beregszaszi2016-08-091-1/+1
| | | |
| * | | Use size_t in dev::utf8::validate()Alex Beregszaszi2016-08-091-1/+1
| | | |
| * | | Use utf8::validate in StringLiteral::toStringAlex Beregszaszi2016-08-091-0/+6
| | | |
| * | | Move LiteralString::toString from the headerAlex Beregszaszi2016-08-092-1/+6
| | | |
* | | | Rename libevmasm.chriseth2016-08-101-1/+1
|/ / /
* | | Merge pull request #828 from axic/identity-gas-fixchriseth2016-08-091-2/+2
|\ \ \ | |/ / |/| | Fix identity precompile gas calculation
| * | Fix identity precompile gas calculationAlex Beregszaszi2016-08-061-2/+2
| | |
* | | Merge pull request #834 from chriseth/devcorecleanupchriseth2016-08-081-1/+1
|\ \ \ | | | | | | | | Some cleanup regarding libdevcore. Also rename to avoid conflicts.
| * | | Correct library usage.chriseth2016-08-081-1/+1
| |/ /
* / / Do not install headers.chriseth2016-08-051-1/+0
|/ /
* | Rename addUnicodeChar to addUnicodeAsUTF8Alex Beregszaszi2016-08-052-3/+3
| |
* | Support Unicode escape characters in string literals ('\uUUUU')Alex Beregszaszi2016-08-052-0/+45
| | | | | | | | Fixes #638
* | Bugfix: Allocate empty array.chriseth2016-07-282-3/+7
| |
* | Merge pull request #731 from Denton-L/move-tokenchriseth2016-07-211-2/+2
|\ \ | | | | | | Move `in` as a keyword to reserved word section
| * | Fix isCompareOp()Denton Liu2016-07-211-1/+1
| | |
| * | Move `in` as a keyword to reserved word sectionDenton Liu2016-07-211-1/+1
| |/
* | Source location as part of AST.chriseth2016-07-214-58/+210
| |
* | Merge pull request #720 from chriseth/formalStatechriseth2016-07-212-48/+169
|\ \ | | | | | | Formal Verification: Handle external effects.
| * | Handle external effects.chriseth2016-07-132-48/+169
| |/
* / Provide formal version in json output.chriseth2016-07-192-3/+6
|/
* Only warn about unused return in low-level functions.chriseth2016-06-261-6/+15
|
* Warn about unused return values.chriseth2016-06-262-0/+20
|
* Merge pull request #640 from chriseth/globalPathschriseth2016-06-102-16/+88
|\ | | | | Allow remappings to change depending on the context.
| * Allow remappings to change depending on the context.chriseth2016-06-092-16/+88
| |
* | Merge pull request #641 from axic/patch/shift-parserchriseth2016-06-092-1/+3
|\ \ | |/ |/| Trivial shift parser fixes
| * Include SHR case in ExpressionCompiler::appendShiftOperatorCodeAlex Beregszaszi2016-06-081-0/+2
| |
| * Fix Token::isBitOp to exclude shift operatorsAlex Beregszaszi2016-06-081-1/+1
| |
* | Disallow implementation of abstract function by constructor of derived class.chriseth2016-06-072-1/+7
|/
* Inaccessible dynamic typeschriseth2016-06-022-17/+29
|
* Fixes for invalid cleanups for small types.chriseth2016-05-204-23/+15
|
* Merge pull request #565 from VoR0220/fixedDataTypechriseth2016-05-201-14/+28
|\ | | | | Fixed data typename fixes and documentation
| * updated docsVoR02202016-05-191-4/+13
| | | | | | | | | | | | types reference
| * explicit conversion and loosening of binary operations on integer and fixed ↵VoR02202016-05-191-24/+11
| | | | | | | | | | | | point types...still other problems fixed some spaces and deleted lines from failing test
| * current debugging infoVoR02202016-05-191-2/+20
| |
* | Refactor compiler to avoid weird swap of contextschriseth2016-05-204-871/+999
|/
* Merge pull request #545 from chriseth/accessFunLabelschriseth2016-05-184-19/+30
|\ | | | | Allow access to functions in inline assembly.
| * Allow access to functions in inline assembly.chriseth2016-05-124-19/+30
| |
* | fix: error: call of overloaded ‘list(int, <brace-enclosed initializer ↵moneroexample2016-05-171-1/+1
|/ | | | | | | | | | | | | | | | list>)’ Issue: https://github.com/ethereum/solidity/issues/574 Compilation of webthree-umbrella on Arch with gcc 6.1 results in the following error: /home/mwo/webthree-umbrella/solidity/libsolidity/analysis/NameAndTypeResolver.cpp:299:51: error: call of overloaded ‘list(int, <brace-enclosed initializer list>)’ is ambiguous list<list<ContractDefinition const*>> input(1, {}); This can be overcome by explicitly specifying initial value, for example: list<list<ContractDefinition const*>> input(1, list<ContractDefinition const*>{})
* Remove unused tests and add asserts for not implemented parts in code ↵chriseth2016-05-116-15/+19
| | | | | | | | | | | | generation. quick fix on christian's rational change so that ubuntu will stop yelling be more specific with rational declaration for Windows sake rational in namespace correction for windows
* Simplify interface of RationalNumber.chriseth2016-05-115-24/+25
|
* Special case for moving sign bit to fractional part.chriseth2016-05-111-5/+10
|
* Cleanup.chriseth2016-05-111-14/+19
|
* Disallow explicit fixed->enum, but allow bytes->fixed.chriseth2016-05-111-1/+1
|
* Some cleanup.chriseth2016-05-112-60/+32
|
* Replace "unsigned int" by "unsigned".chriseth2016-05-111-9/+9
|
* Prefer mobileType() to check rational range.chriseth2016-05-113-26/+23
|
* reorganized tests and fixed mobile types and implicit conversions of ↵VoR02202016-05-102-99/+138
| | | | | | | | rationals and fixed point types one final tweak check for null types
* updated algorithm for bit finding...now to figure out literal valueVoR02202016-05-105-140/+100
| | | | | | | | | | | | tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value
* changed algorithm for finding bitsVoR02202016-05-101-29/+37
|
* much better way of doing modulusVoR02202016-05-101-8/+2
|
* added bytes conversion tests, resolved that, converted to binary scaling, ↵VoR02202016-05-103-61/+69
| | | | | | | | | | | | refactored the find algo to prevent large numbers and take into account integer bytes think we're good on solidity type name resolution now removed couts updates to documentation and more removed couts along with literal value implementation forgot semicolons
* fixing modulus and Solidity Name and Type ResolutionVoR02202016-05-103-12/+10
| | | | | | minor fixes current attempts at binary fixup
* rational renamingVoR02202016-05-102-4/+4
|
* changed names for Rational Constants and categoriesVoR02202016-05-106-49/+53
|
* currently what we haveVoR02202016-05-101-4/+8
|
* got exponents up and working with their inverse, changed a few of the ↵RJ Catalano2016-05-104-52/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error
* size capabilities functioning properly for fixed typesRJ Catalano2016-05-101-9/+4
|
* fixed problem with var...probably a conversion problem for fixed in size ↵RJ Catalano2016-05-102-3/+3
| | | | | | | | capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together
* fix for token bug, also quick fix for the wei and secondsRJ Catalano2016-05-101-1/+1
|
* Rational implemented...trying to figure out exponentialRJ Catalano2016-05-101-52/+15
|
* initial work for fixed types...potentially needing a constant literal type ↵RJ Catalano2016-05-1010-104/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this
* Allow calling internal functions of libraries.chriseth2016-05-044-59/+116
| | | | | | | | | | | | Internal functions of libraries can be called as if the library were a base contract of the calling contract. As the calling convention for internal functions is to not create a new call context, the code of these functions will be pulled into the context of the caller, duplicating their code. This might pull in code of further internal or even private functions. The use case for such functions is to allow libraries which can operate on memory types such that these types can also be modified in place.
* Remove non-determinism in missing code queue.chriseth2016-05-034-37/+95
|
* Windows fix.chriseth2016-04-211-1/+1
|
* Source location for inline assembly.chriseth2016-04-207-69/+149
|
* Bugfix: static arrays in constructor argumentschriseth2016-04-161-1/+1
|
* Fix for bug about deleting dynamic array of structs.chriseth2016-04-151-1/+1
|
* Merge pull request #496 from chriseth/removelogBob Summerwill2016-04-124-3/+1
|\ | | | | Remove log.h from solidity.
| * Remove log.h from solidity.chriseth2016-04-124-3/+1
| |
* | Make solidity independent from ethcore.chriseth2016-04-074-14/+8
|/
* Merge pull request #475 from chriseth/byteasmchriseth2016-04-061-0/+4
|\ | | | | Allow "byte" in inline assembly.
| * Allow "byte" in inline assembly.chriseth2016-04-061-0/+4
| |
* | reduce unnecessary solidity:: namespaceDimitry2016-04-049-539/+539
| |
* | return instructionInfo styleDimitry2016-04-041-2/+2
| |
* | enable solidity testDimitry2016-04-041-1/+1
| |
* | rename namespace for instruction.h/cpp in libevmasmDimitry2016-04-0212-557/+557
| |
* | move libevmcore to solidityDimitry2016-04-028-8/+8
|/
* Merge pull request #470 from chriseth/redundancyBob Summerwill2016-04-012-32/+34
|\ | | | | Remove code duplication in source references formatter.
| * Remove code duplication in source references formatter.chriseth2016-04-012-32/+34
| |
* | Merge pull request #457 from VoR0220/tokenNameAndStringFixchriseth2016-04-014-29/+80
|\ \ | |/ |/| Fix for Token::name and token::toString
| * readding conditionals but with slight changesVoR02202016-04-011-3/+2
| |
| * solAsserts added and some changes rolled back.VoR02202016-03-312-2/+3
| |
| * helper function in scanner and corresponding edits to parserBaseVoR02202016-03-313-12/+13
| |
| * Got it working exactly like you wanted ;)VoR02202016-03-312-25/+76
| |
| * change lexical cast to unsigned intVoR02202016-03-311-1/+1
| |
| * Fix for Token::name and token::toStringVoR02202016-03-311-4/+3
| |
* | Merge pull request #465 from chriseth/fixindexaccessBob Summerwill2016-04-011-0/+2
|\ \ | | | | | | Clean higher order bits before array index access.
| * | Correctly clean higher order bits for index access.chriseth2016-03-311-0/+2
| |/
* / Do not use source reference if it is empty.chriseth2016-03-311-3/+8
|/
* Code generation (missing external access and source locations).chriseth2016-03-3018-84/+719
|
* Parsing for inline assembly.chriseth2016-03-3015-6/+432
|
* Move libevmasm and lll.chriseth2016-03-241-1/+1
|
* Fixed Windows warningsBob Summerwill2016-03-182-2/+3
|
* Remove timestamp again and some fixes for ufixed parsing.chriseth2016-03-122-15/+18
|
* Do not allow value for delegatecall functions.chriseth2016-03-121-1/+1
|
* added keyword type and some tests, changes in lexical castRJ Catalano2016-03-122-11/+12
|
* stylistic change, and got lexical cast to work with an iterator rangeRJ Catalano2016-03-122-5/+6
|
* - inline and assembly keywords addedLianaHus2016-03-127-15/+17
| | | | - some style fixes
* changed documentation and using lexical castRJ Catalano2016-03-122-11/+3
|
* changed extractUnsigned to handle iterators rather than a stringRJ Catalano2016-03-122-5/+5
|
* changed 1 to 0 in invalid argument catch blockRJ Catalano2016-03-122-2/+2
|
* needed this one string of notationRJ Catalano2016-03-121-0/+1
|
* added from identifier or keyword handling of fixed typesRJ Catalano2016-03-122-6/+37
|
* fixed keyword added in for token typeRJ Catalano2016-03-121-2/+4
|
* BREAKING: Implement delegatecall and make default for library calls.chriseth2016-03-126-43/+51
|
* Buildfix.chriseth2016-02-231-3/+1
|
* Move reusable parser components into base class.chriseth2016-02-234-100/+183
|
* further optimization, splitting function into piecesRJ Catalano2016-02-193-16/+20
| | | | generating strings on the fly, changed name, and added two tests
* added const correctness to extract functions in TokenRJ Catalano2016-02-194-113/+50
| | | | | | | | | | optimizations added in more elegant solution created for m declaration ubuntu wants to get rid of 0 <= first statement...so I will change returnToken to token
* added two functions in Token to handle long identifiers, redid ↵RJ Catalano2016-02-196-58/+142
| | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser
* tests added and changes madeRJ Catalano2016-02-195-76/+84
| | | | | | fixed some silly problems in Token.cpp windows error fix
* changes to redefine the token list, the scanner, and the parser and how they ↵RJ Catalano2016-02-1911-176/+166
| | | | | | | | pass around variable types of different sizes not ready for change to FixedPoint just yet made this more const correct and added a switch statement for easier reading
* style fixesLianaHus2016-02-181-12/+14
|
* Fix segfault when using wrong number of constructor arguments.chriseth2016-02-121-0/+3
|
* Index access for bytesXX.chriseth2016-02-104-0/+50
|
* Fix uint178 problem.chriseth2016-01-261-2/+2
|
* cond-expr: use the mobile type instead of the original typeLu Guanqun2016-01-231-12/+3
|
* [cond-expr] change the end to end testLu Guanqun2016-01-231-2/+6
|
* [cond-expr] add a test for different typesLu Guanqun2016-01-231-1/+1
|
* [cond-expr] add a test to assign memory to storageLu Guanqun2016-01-231-2/+6
|
* [cond-expr] don't allow conditional as left value for the first stageLu Guanqun2016-01-231-43/+25
|
* [cond-expr] fixup according to code reviewLu Guanqun2016-01-233-4/+11
|
* [cond-expr] change endVisit() to visit()Lu Guanqun2016-01-232-30/+41
|
* [cond-expr] make the codegen one instruction lessLu Guanqun2016-01-231-5/+4
|
* [cond-expr] fix the crash in ExpressionStatementLu Guanqun2016-01-231-0/+5
|
* [cond-expr] support conditional expression as lvalueLu Guanqun2016-01-231-0/+8
|
* [cond-expr] generate assembly for _ ? _ : _Lu Guanqun2016-01-232-0/+16
|
* [cond-expr] add type checkerLu Guanqun2016-01-232-0/+28
|
* [cond-expr] parse _ ? _ : _ into conditional AST nodeLu Guanqun2016-01-231-6/+19
|
* [cond-expr] add visitor related functionsLu Guanqun2016-01-235-0/+32
|
* [cond-expr] add an AST nodeLu Guanqun2016-01-233-0/+50
|
* Merge pull request #356 from guanqun/break-not-in-loopchriseth2016-01-215-0/+151
|\ | | | | check whether break/continue is in the loop
| * remove the unused lineLu Guanqun2016-01-191-1/+0
| |
| * add another test case for continue not in loopLu Guanqun2016-01-191-4/+4
| |
| * code changes according to Chris's commentsLu Guanqun2016-01-193-20/+16
| |
| * check whether break/continue is in the loopLu Guanqun2016-01-156-0/+156
| |
* | Merge pull request #351 from chriseth/autoloadchriseth2016-01-192-31/+76
|\ \ | | | | | | Automatically load imported files in solc.
| * | Build fix for MacOS.chriseth2016-01-141-1/+1
| | |
| * | Autoload files in solc.chriseth2016-01-122-31/+76
| | |
* | | Merge pull request #347 from chriseth/libraryNameClasheschriseth2016-01-183-2/+37
|\ \ \ | | | | | | | | Detect library name clashes
| * | | Set error flag to true.chriseth2016-01-141-0/+1
| | | |
| * | | Detect library name clashes.chriseth2016-01-143-2/+36
| | | |
* | | | Merge pull request #359 from LianaHus/sol_only_one_array_as_state_varchriseth2016-01-182-6/+14
|\ \ \ \ | | | | | | | | | | fixed ICError when creating EI for structs containing only mapping or arrays
| * | | | Update TypeChecker.cppLiana Husikyan2016-01-161-0/+2
| | | | |
| * | | | fixed assert on EI creation for structs containing only mapping or arraysLianaHus2016-01-162-6/+12
| |/ / /
* / / / Remove unnecesary std::movePaweł Bylica2016-01-151-1/+1
|/ / /
* | | Merge pull request #346 from chriseth/importAliaseschriseth2016-01-143-16/+56
|\ \ \ | |_|/ |/| | Allow aliases during import.
| * | Allow aliases during import.chriseth2016-01-113-16/+56
| |/
* | clarification on dynamic arrays, switcheroo on typepointer, and a ↵RJ Catalano2016-01-121-1/+1
| | | | | | | | documentation test added
* | Merge branch 'develop' of https://github.com/ethereum/solidity into developRJ Catalano2016-01-121-0/+3
|\|
| * Fixed a crash during type checking.chriseth2016-01-081-0/+3
| |
* | final changes to typechecker, the expression compiler, and a couple more ↵RJ Catalano2016-01-122-23/+32
| | | | | | | | tests for good measure
* | Update ExpressionCompiler.cppRJ2016-01-111-14/+16
| |
* | Update ExpressionCompiler.cppRJ2016-01-111-4/+2
| |
* | Update ExpressionCompiler.cppRJ2016-01-101-17/+39
| |
* | find common typeRJ2016-01-101-2/+11
|/
* Merge pull request #338 from guanqun/add_parenchriseth2016-01-052-2/+10
|\ | | | | support syntax "(x) = 3"
| * support decayed tuple expression as left valueLu Guanqun2016-01-042-2/+10
| |
* | Merge pull request #317 from chriseth/pathsEverywherechriseth2016-01-045-23/+26
|\ \ | |/ |/| Use paths instead of simple identifiers wherever possible.
| * Use paths instead of simple identifiers wherever possible.chriseth2015-12-225-23/+26
| |
* | Merge pull request #308 from chriseth/fixoverloadbugchriseth2015-12-211-0/+2
|\ \ | | | | | | Fix bug preventing overloads of different array types.
| * | Fix bug preventing overloads of different array types.chriseth2015-12-181-0/+2
| | |
* | | Merge pull request #309 from chriseth/fix_cross_contract_enum_accesschriseth2015-12-212-14/+29
|\ \ \ | |_|/ |/| | Add structs and enums to contract types.
| * | Add structs and enums to contract types.chriseth2015-12-182-14/+29
| |/
* | Merge pull request #311 from guanqun/correct-boolean-literal-positionchriseth2015-12-191-0/+1
|\ \ | |/ |/| correct true/false literal's source
| * correct true/false literal's sourceLu Guanqun2015-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: Literal, token: true value: true Type: bool Source: "true;" After: Literal, token: true value: true Type: bool Source: "true" Extra token is removed.
* | Simple aliasing during import.chriseth2015-12-189-52/+140
| |