Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reserved keywords update (#833) | Alex Beregszaszi | 2016-08-16 | 1 | -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) | chriseth | 2016-08-16 | 5 | -1/+87 |
| | | | | | | * Directly usable inline assembly. * Add missing header. | ||||
* | Throw if contract creation fails. | chriseth | 2016-08-16 | 1 | -0/+3 |
| | |||||
* | Merge pull request #844 from Denton-L/remove-after | chriseth | 2016-08-12 | 4 | -9/+5 |
|\ | | | | | BREAKING: Remove after | ||||
| * | Remove after from grammar.txt | Denton Liu | 2016-08-11 | 1 | -1/+1 |
| | | |||||
| * | Remove After from Types.cpp | Denton Liu | 2016-08-11 | 1 | -3/+2 |
| | | |||||
| * | Revert "Change After to a deprecated token" | Denton Liu | 2016-08-11 | 1 | -5/+1 |
| | | | | | | | | This reverts commit 91c97f73b50fc87662b5490b2fe6de1c6ef376c7. | ||||
| * | Change After to a deprecated token | Denton Liu | 2016-08-11 | 1 | -1/+5 |
| | | |||||
| * | Remove After from ExpressionCompiler | Denton Liu | 2016-08-11 | 1 | -3/+0 |
| | | |||||
| * | Remove after from Token.h | Denton Liu | 2016-08-11 | 1 | -2/+2 |
| | | |||||
* | | Fix Mapping and InlineAssembly in JSON AST | Alex Sinyagin | 2016-08-12 | 1 | -0/+2 |
| | | |||||
* | | Fix JSON AST structure | Alex Sinyagin | 2016-08-12 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #722 from NicolaiSoeborg/develop | chriseth | 2016-08-11 | 3 | -29/+83 |
|\ | | | | | Fixes to grammar.txt [WIP] | ||||
| * | Add syntax for fallback functions | Nicolai | 2016-08-09 | 1 | -1/+1 |
| | | |||||
| * | Split ElementaryTypeName into smaller rules | Nicolai | 2016-08-02 | 1 | -5/+11 |
| | | |||||
| * | Remove ambiguity from EventDefinition. Fix SourceUnit | Nicolai | 2016-08-02 | 1 | -9/+9 |
| | | |||||
| * | Remove 'reduce/reduce conflicts' with comma operator | Nicolai | 2016-07-31 | 1 | -1/+1 |
| | | |||||
| * | Fix reduce/reduce conflicts w/ multiple FunctionCall in Expression | Nicolai | 2016-07-30 | 1 | -1/+1 |
| | | |||||
| * | Remove TypeParameterList | Nicolai | 2016-07-30 | 1 | -4/+4 |
| | | |||||
| * | Fixes to expression | Nicolai | 2016-07-27 | 1 | -10/+9 |
| | | |||||
| * | Added wildcard to UsingForDeclaration | Nicolai | 2016-07-27 | 1 | -3/+3 |
| | | |||||
| * | Imports => ImportDirective | Nicolai | 2016-07-27 | 1 | -5/+6 |
| | | |||||
| * | Remove assignment as expr. Add functionCall as primaryExpression | Nicolai | 2016-07-26 | 1 | -6/+6 |
| | | |||||
| * | Fix missing seperator from commit 8b450dd8 | Nicolai | 2016-07-26 | 1 | -1/+1 |
| | | |||||
| * | Added PlaceholderStatement | Nicolai | 2016-07-25 | 1 | -1/+2 |
| | | |||||
| * | Add StorageLocation | Nicolai | 2016-07-25 | 1 | -2/+3 |
| | | |||||
| * | Allow function to call modifiers | Nicolai | 2016-07-25 | 1 | -1/+1 |
| | | |||||
| * | Order expression according to PR 732 | Nicolai | 2016-07-23 | 1 | -9/+18 |
| | | |||||
| * | New regex for StringLiteral | Nicolai | 2016-07-23 | 1 | -1/+2 |
| | | |||||
| * | Begin fixing expression syntax | Nicolai | 2016-07-23 | 1 | -14/+18 |
| | | |||||
| * | Added UsingDeclaration | Nicolai | 2016-07-21 | 1 | -2/+5 |
| | | |||||
| * | Extend EventDefinition | Nicolai | 2016-07-21 | 1 | -1/+3 |
| | | |||||
| * | Fix missing 'ether' from NumberUnit. Extend StringLiteral syntax | Nicolai | 2016-07-20 | 1 | -5/+3 |
| | | |||||
| * | Added missing (u)fixed types | Nicolai | 2016-07-20 | 1 | -2/+5 |
| | | |||||
| * | Extend NumberLiteral with units | Nicolai | 2016-07-20 | 1 | -2/+2 |
| | | |||||
| * | Added imports | Nicolai | 2016-07-20 | 1 | -1/+6 |
| | | |||||
| * | Add EventDefinition | Nicolai | 2016-07-20 | 1 | -1/+3 |
| | | |||||
| * | NumberLiteral: Allow 0x prefix | Nicolai | 2016-07-20 | 1 | -1/+1 |
| | | |||||
| * | Allow function returns to be unnamed | Nicolai | 2016-07-20 | 1 | -1/+3 |
| | | |||||
| * | Fix StructDef. Add BoolLiteral. Def NumLiteral, StringLiteral and Identifier. | Nicolai | 2016-07-20 | 1 | -3/+8 |
| | | |||||
| * | Fix missing quotes in ElementaryTypeName | Nicolai | 2016-07-20 | 1 | -5/+5 |
| | | |||||
| * | Added ElementaryTypeName, removed explicit recursion | Nicolai | 2016-07-20 | 1 | -1/+8 |
| | | |||||
| * | Add forStmt to Stmt, removes BasicBinaryOperation, throw expr, explicit rec ↵ | Nicolai | 2016-07-19 | 1 | -7/+6 |
| | | | | | | | | in ArrTypeName | ||||
| * | Remove "in", extra semicolons, forced function param. Added "throw". Changes ↵ | Nicolai | 2016-07-19 | 1 | -9/+9 |
| | | | | | | | | FunctionCall & IndexAccess | ||||
| * | grammar.txt: Fixes to EnumDef and ArrayTypeName | Nicolai | 2016-07-19 | 1 | -2/+2 |
| | | |||||
| * | grammer.txt: inheritable => internal | Nicolai | 2016-07-19 | 1 | -2/+2 |
| | | |||||
| * | Grammar: tab => spaces | Nicolai Søborg | 2016-07-15 | 1 | -5/+5 |
| | | |||||
| * | Typos + added missing grammar rules | Nicolai | 2016-07-15 | 1 | -3/+9 |
| | | |||||
| * | Remove the remains of "expresison" | Nicolai | 2016-07-15 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #794 from chriseth/fixastsource | chriseth | 2016-08-10 | 2 | -3/+3 |
|\ \ | | | | | | | Fix segfault in ast output. | ||||
| * | | Fix segfault in ast output. | chriseth | 2016-08-09 | 2 | -3/+3 |
| | | | |||||
* | | | Merge pull request #826 from axic/utf8-check | chriseth | 2016-08-10 | 2 | -1/+12 |
|\ \ \ | | | | | | | | | AST printer: do not output invalid UTF8 sequences | ||||
| * | | | Remove dev::utf8 namespace | Alex Beregszaszi | 2016-08-09 | 1 | -1/+1 |
| | | | | |||||
| * | | | Use size_t in dev::utf8::validate() | Alex Beregszaszi | 2016-08-09 | 1 | -1/+1 |
| | | | | |||||
| * | | | Use utf8::validate in StringLiteral::toString | Alex Beregszaszi | 2016-08-09 | 1 | -0/+6 |
| | | | | |||||
| * | | | Move LiteralString::toString from the header | Alex Beregszaszi | 2016-08-09 | 2 | -1/+6 |
| | | | | |||||
* | | | | Rename libevmasm. | chriseth | 2016-08-10 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #828 from axic/identity-gas-fix | chriseth | 2016-08-09 | 1 | -2/+2 |
|\ \ \ | |/ / |/| | | Fix identity precompile gas calculation | ||||
| * | | Fix identity precompile gas calculation | Alex Beregszaszi | 2016-08-06 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #834 from chriseth/devcorecleanup | chriseth | 2016-08-08 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Some cleanup regarding libdevcore. Also rename to avoid conflicts. | ||||
| * | | | Correct library usage. | chriseth | 2016-08-08 | 1 | -1/+1 |
| |/ / | |||||
* / / | Do not install headers. | chriseth | 2016-08-05 | 1 | -1/+0 |
|/ / | |||||
* | | Rename addUnicodeChar to addUnicodeAsUTF8 | Alex Beregszaszi | 2016-08-05 | 2 | -3/+3 |
| | | |||||
* | | Support Unicode escape characters in string literals ('\uUUUU') | Alex Beregszaszi | 2016-08-05 | 2 | -0/+45 |
| | | | | | | | | Fixes #638 | ||||
* | | Bugfix: Allocate empty array. | chriseth | 2016-07-28 | 2 | -3/+7 |
| | | |||||
* | | Merge pull request #731 from Denton-L/move-token | chriseth | 2016-07-21 | 1 | -2/+2 |
|\ \ | | | | | | | Move `in` as a keyword to reserved word section | ||||
| * | | Fix isCompareOp() | Denton Liu | 2016-07-21 | 1 | -1/+1 |
| | | | |||||
| * | | Move `in` as a keyword to reserved word section | Denton Liu | 2016-07-21 | 1 | -1/+1 |
| |/ | |||||
* | | Source location as part of AST. | chriseth | 2016-07-21 | 4 | -58/+210 |
| | | |||||
* | | Merge pull request #720 from chriseth/formalState | chriseth | 2016-07-21 | 2 | -48/+169 |
|\ \ | | | | | | | Formal Verification: Handle external effects. | ||||
| * | | Handle external effects. | chriseth | 2016-07-13 | 2 | -48/+169 |
| |/ | |||||
* / | Provide formal version in json output. | chriseth | 2016-07-19 | 2 | -3/+6 |
|/ | |||||
* | Only warn about unused return in low-level functions. | chriseth | 2016-06-26 | 1 | -6/+15 |
| | |||||
* | Warn about unused return values. | chriseth | 2016-06-26 | 2 | -0/+20 |
| | |||||
* | Merge pull request #640 from chriseth/globalPaths | chriseth | 2016-06-10 | 2 | -16/+88 |
|\ | | | | | Allow remappings to change depending on the context. | ||||
| * | Allow remappings to change depending on the context. | chriseth | 2016-06-09 | 2 | -16/+88 |
| | | |||||
* | | Merge pull request #641 from axic/patch/shift-parser | chriseth | 2016-06-09 | 2 | -1/+3 |
|\ \ | |/ |/| | Trivial shift parser fixes | ||||
| * | Include SHR case in ExpressionCompiler::appendShiftOperatorCode | Alex Beregszaszi | 2016-06-08 | 1 | -0/+2 |
| | | |||||
| * | Fix Token::isBitOp to exclude shift operators | Alex Beregszaszi | 2016-06-08 | 1 | -1/+1 |
| | | |||||
* | | Disallow implementation of abstract function by constructor of derived class. | chriseth | 2016-06-07 | 2 | -1/+7 |
|/ | |||||
* | Inaccessible dynamic types | chriseth | 2016-06-02 | 2 | -17/+29 |
| | |||||
* | Fixes for invalid cleanups for small types. | chriseth | 2016-05-20 | 4 | -23/+15 |
| | |||||
* | Merge pull request #565 from VoR0220/fixedDataType | chriseth | 2016-05-20 | 1 | -14/+28 |
|\ | | | | | Fixed data typename fixes and documentation | ||||
| * | updated docs | VoR0220 | 2016-05-19 | 1 | -4/+13 |
| | | | | | | | | | | | | types reference | ||||
| * | explicit conversion and loosening of binary operations on integer and fixed ↵ | VoR0220 | 2016-05-19 | 1 | -24/+11 |
| | | | | | | | | | | | | point types...still other problems fixed some spaces and deleted lines from failing test | ||||
| * | current debugging info | VoR0220 | 2016-05-19 | 1 | -2/+20 |
| | | |||||
* | | Refactor compiler to avoid weird swap of contexts | chriseth | 2016-05-20 | 4 | -871/+999 |
|/ | |||||
* | Merge pull request #545 from chriseth/accessFunLabels | chriseth | 2016-05-18 | 4 | -19/+30 |
|\ | | | | | Allow access to functions in inline assembly. | ||||
| * | Allow access to functions in inline assembly. | chriseth | 2016-05-12 | 4 | -19/+30 |
| | | |||||
* | | fix: error: call of overloaded ‘list(int, <brace-enclosed initializer ↵ | moneroexample | 2016-05-17 | 1 | -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 ↵ | chriseth | 2016-05-11 | 6 | -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. | chriseth | 2016-05-11 | 5 | -24/+25 |
| | |||||
* | Special case for moving sign bit to fractional part. | chriseth | 2016-05-11 | 1 | -5/+10 |
| | |||||
* | Cleanup. | chriseth | 2016-05-11 | 1 | -14/+19 |
| | |||||
* | Disallow explicit fixed->enum, but allow bytes->fixed. | chriseth | 2016-05-11 | 1 | -1/+1 |
| | |||||
* | Some cleanup. | chriseth | 2016-05-11 | 2 | -60/+32 |
| | |||||
* | Replace "unsigned int" by "unsigned". | chriseth | 2016-05-11 | 1 | -9/+9 |
| | |||||
* | Prefer mobileType() to check rational range. | chriseth | 2016-05-11 | 3 | -26/+23 |
| | |||||
* | reorganized tests and fixed mobile types and implicit conversions of ↵ | VoR0220 | 2016-05-10 | 2 | -99/+138 |
| | | | | | | | | rationals and fixed point types one final tweak check for null types | ||||
* | updated algorithm for bit finding...now to figure out literal value | VoR0220 | 2016-05-10 | 5 | -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 bits | VoR0220 | 2016-05-10 | 1 | -29/+37 |
| | |||||
* | much better way of doing modulus | VoR0220 | 2016-05-10 | 1 | -8/+2 |
| | |||||
* | added bytes conversion tests, resolved that, converted to binary scaling, ↵ | VoR0220 | 2016-05-10 | 3 | -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 Resolution | VoR0220 | 2016-05-10 | 3 | -12/+10 |
| | | | | | | minor fixes current attempts at binary fixup | ||||
* | rational renaming | VoR0220 | 2016-05-10 | 2 | -4/+4 |
| | |||||
* | changed names for Rational Constants and categories | VoR0220 | 2016-05-10 | 6 | -49/+53 |
| | |||||
* | currently what we have | VoR0220 | 2016-05-10 | 1 | -4/+8 |
| | |||||
* | got exponents up and working with their inverse, changed a few of the ↵ | RJ Catalano | 2016-05-10 | 4 | -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 types | RJ Catalano | 2016-05-10 | 1 | -9/+4 |
| | |||||
* | fixed problem with var...probably a conversion problem for fixed in size ↵ | RJ Catalano | 2016-05-10 | 2 | -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 seconds | RJ Catalano | 2016-05-10 | 1 | -1/+1 |
| | |||||
* | Rational implemented...trying to figure out exponential | RJ Catalano | 2016-05-10 | 1 | -52/+15 |
| | |||||
* | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 10 | -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. | chriseth | 2016-05-04 | 4 | -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. | chriseth | 2016-05-03 | 4 | -37/+95 |
| | |||||
* | Windows fix. | chriseth | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | Source location for inline assembly. | chriseth | 2016-04-20 | 7 | -69/+149 |
| | |||||
* | Bugfix: static arrays in constructor arguments | chriseth | 2016-04-16 | 1 | -1/+1 |
| | |||||
* | Fix for bug about deleting dynamic array of structs. | chriseth | 2016-04-15 | 1 | -1/+1 |
| | |||||
* | Merge pull request #496 from chriseth/removelog | Bob Summerwill | 2016-04-12 | 4 | -3/+1 |
|\ | | | | | Remove log.h from solidity. | ||||
| * | Remove log.h from solidity. | chriseth | 2016-04-12 | 4 | -3/+1 |
| | | |||||
* | | Make solidity independent from ethcore. | chriseth | 2016-04-07 | 4 | -14/+8 |
|/ | |||||
* | Merge pull request #475 from chriseth/byteasm | chriseth | 2016-04-06 | 1 | -0/+4 |
|\ | | | | | Allow "byte" in inline assembly. | ||||
| * | Allow "byte" in inline assembly. | chriseth | 2016-04-06 | 1 | -0/+4 |
| | | |||||
* | | reduce unnecessary solidity:: namespace | Dimitry | 2016-04-04 | 9 | -539/+539 |
| | | |||||
* | | return instructionInfo style | Dimitry | 2016-04-04 | 1 | -2/+2 |
| | | |||||
* | | enable solidity test | Dimitry | 2016-04-04 | 1 | -1/+1 |
| | | |||||
* | | rename namespace for instruction.h/cpp in libevmasm | Dimitry | 2016-04-02 | 12 | -557/+557 |
| | | |||||
* | | move libevmcore to solidity | Dimitry | 2016-04-02 | 8 | -8/+8 |
|/ | |||||
* | Merge pull request #470 from chriseth/redundancy | Bob Summerwill | 2016-04-01 | 2 | -32/+34 |
|\ | | | | | Remove code duplication in source references formatter. | ||||
| * | Remove code duplication in source references formatter. | chriseth | 2016-04-01 | 2 | -32/+34 |
| | | |||||
* | | Merge pull request #457 from VoR0220/tokenNameAndStringFix | chriseth | 2016-04-01 | 4 | -29/+80 |
|\ \ | |/ |/| | Fix for Token::name and token::toString | ||||
| * | readding conditionals but with slight changes | VoR0220 | 2016-04-01 | 1 | -3/+2 |
| | | |||||
| * | solAsserts added and some changes rolled back. | VoR0220 | 2016-03-31 | 2 | -2/+3 |
| | | |||||
| * | helper function in scanner and corresponding edits to parserBase | VoR0220 | 2016-03-31 | 3 | -12/+13 |
| | | |||||
| * | Got it working exactly like you wanted ;) | VoR0220 | 2016-03-31 | 2 | -25/+76 |
| | | |||||
| * | change lexical cast to unsigned int | VoR0220 | 2016-03-31 | 1 | -1/+1 |
| | | |||||
| * | Fix for Token::name and token::toString | VoR0220 | 2016-03-31 | 1 | -4/+3 |
| | | |||||
* | | Merge pull request #465 from chriseth/fixindexaccess | Bob Summerwill | 2016-04-01 | 1 | -0/+2 |
|\ \ | | | | | | | Clean higher order bits before array index access. | ||||
| * | | Correctly clean higher order bits for index access. | chriseth | 2016-03-31 | 1 | -0/+2 |
| |/ | |||||
* / | Do not use source reference if it is empty. | chriseth | 2016-03-31 | 1 | -3/+8 |
|/ | |||||
* | Code generation (missing external access and source locations). | chriseth | 2016-03-30 | 18 | -84/+719 |
| | |||||
* | Parsing for inline assembly. | chriseth | 2016-03-30 | 15 | -6/+432 |
| | |||||
* | Move libevmasm and lll. | chriseth | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Fixed Windows warnings | Bob Summerwill | 2016-03-18 | 2 | -2/+3 |
| | |||||
* | Remove timestamp again and some fixes for ufixed parsing. | chriseth | 2016-03-12 | 2 | -15/+18 |
| | |||||
* | Do not allow value for delegatecall functions. | chriseth | 2016-03-12 | 1 | -1/+1 |
| | |||||
* | added keyword type and some tests, changes in lexical cast | RJ Catalano | 2016-03-12 | 2 | -11/+12 |
| | |||||
* | stylistic change, and got lexical cast to work with an iterator range | RJ Catalano | 2016-03-12 | 2 | -5/+6 |
| | |||||
* | - inline and assembly keywords added | LianaHus | 2016-03-12 | 7 | -15/+17 |
| | | | | - some style fixes | ||||
* | changed documentation and using lexical cast | RJ Catalano | 2016-03-12 | 2 | -11/+3 |
| | |||||
* | changed extractUnsigned to handle iterators rather than a string | RJ Catalano | 2016-03-12 | 2 | -5/+5 |
| | |||||
* | changed 1 to 0 in invalid argument catch block | RJ Catalano | 2016-03-12 | 2 | -2/+2 |
| | |||||
* | needed this one string of notation | RJ Catalano | 2016-03-12 | 1 | -0/+1 |
| | |||||
* | added from identifier or keyword handling of fixed types | RJ Catalano | 2016-03-12 | 2 | -6/+37 |
| | |||||
* | fixed keyword added in for token type | RJ Catalano | 2016-03-12 | 1 | -2/+4 |
| | |||||
* | BREAKING: Implement delegatecall and make default for library calls. | chriseth | 2016-03-12 | 6 | -43/+51 |
| | |||||
* | Buildfix. | chriseth | 2016-02-23 | 1 | -3/+1 |
| | |||||
* | Move reusable parser components into base class. | chriseth | 2016-02-23 | 4 | -100/+183 |
| | |||||
* | further optimization, splitting function into pieces | RJ Catalano | 2016-02-19 | 3 | -16/+20 |
| | | | | generating strings on the fly, changed name, and added two tests | ||||
* | added const correctness to extract functions in Token | RJ Catalano | 2016-02-19 | 4 | -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 Catalano | 2016-02-19 | 6 | -58/+142 |
| | | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser | ||||
* | tests added and changes made | RJ Catalano | 2016-02-19 | 5 | -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 Catalano | 2016-02-19 | 11 | -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 fixes | LianaHus | 2016-02-18 | 1 | -12/+14 |
| | |||||
* | Fix segfault when using wrong number of constructor arguments. | chriseth | 2016-02-12 | 1 | -0/+3 |
| | |||||
* | Index access for bytesXX. | chriseth | 2016-02-10 | 4 | -0/+50 |
| | |||||
* | Fix uint178 problem. | chriseth | 2016-01-26 | 1 | -2/+2 |
| | |||||
* | cond-expr: use the mobile type instead of the original type | Lu Guanqun | 2016-01-23 | 1 | -12/+3 |
| | |||||
* | [cond-expr] change the end to end test | Lu Guanqun | 2016-01-23 | 1 | -2/+6 |
| | |||||
* | [cond-expr] add a test for different types | Lu Guanqun | 2016-01-23 | 1 | -1/+1 |
| | |||||
* | [cond-expr] add a test to assign memory to storage | Lu Guanqun | 2016-01-23 | 1 | -2/+6 |
| | |||||
* | [cond-expr] don't allow conditional as left value for the first stage | Lu Guanqun | 2016-01-23 | 1 | -43/+25 |
| | |||||
* | [cond-expr] fixup according to code review | Lu Guanqun | 2016-01-23 | 3 | -4/+11 |
| | |||||
* | [cond-expr] change endVisit() to visit() | Lu Guanqun | 2016-01-23 | 2 | -30/+41 |
| | |||||
* | [cond-expr] make the codegen one instruction less | Lu Guanqun | 2016-01-23 | 1 | -5/+4 |
| | |||||
* | [cond-expr] fix the crash in ExpressionStatement | Lu Guanqun | 2016-01-23 | 1 | -0/+5 |
| | |||||
* | [cond-expr] support conditional expression as lvalue | Lu Guanqun | 2016-01-23 | 1 | -0/+8 |
| | |||||
* | [cond-expr] generate assembly for _ ? _ : _ | Lu Guanqun | 2016-01-23 | 2 | -0/+16 |
| | |||||
* | [cond-expr] add type checker | Lu Guanqun | 2016-01-23 | 2 | -0/+28 |
| | |||||
* | [cond-expr] parse _ ? _ : _ into conditional AST node | Lu Guanqun | 2016-01-23 | 1 | -6/+19 |
| | |||||
* | [cond-expr] add visitor related functions | Lu Guanqun | 2016-01-23 | 5 | -0/+32 |
| | |||||
* | [cond-expr] add an AST node | Lu Guanqun | 2016-01-23 | 3 | -0/+50 |
| | |||||
* | Merge pull request #356 from guanqun/break-not-in-loop | chriseth | 2016-01-21 | 5 | -0/+151 |
|\ | | | | | check whether break/continue is in the loop | ||||
| * | remove the unused line | Lu Guanqun | 2016-01-19 | 1 | -1/+0 |
| | | |||||
| * | add another test case for continue not in loop | Lu Guanqun | 2016-01-19 | 1 | -4/+4 |
| | | |||||
| * | code changes according to Chris's comments | Lu Guanqun | 2016-01-19 | 3 | -20/+16 |
| | | |||||
| * | check whether break/continue is in the loop | Lu Guanqun | 2016-01-15 | 6 | -0/+156 |
| | | |||||
* | | Merge pull request #351 from chriseth/autoload | chriseth | 2016-01-19 | 2 | -31/+76 |
|\ \ | | | | | | | Automatically load imported files in solc. | ||||
| * | | Build fix for MacOS. | chriseth | 2016-01-14 | 1 | -1/+1 |
| | | | |||||
| * | | Autoload files in solc. | chriseth | 2016-01-12 | 2 | -31/+76 |
| | | | |||||
* | | | Merge pull request #347 from chriseth/libraryNameClashes | chriseth | 2016-01-18 | 3 | -2/+37 |
|\ \ \ | | | | | | | | | Detect library name clashes | ||||
| * | | | Set error flag to true. | chriseth | 2016-01-14 | 1 | -0/+1 |
| | | | | |||||
| * | | | Detect library name clashes. | chriseth | 2016-01-14 | 3 | -2/+36 |
| | | | | |||||
* | | | | Merge pull request #359 from LianaHus/sol_only_one_array_as_state_var | chriseth | 2016-01-18 | 2 | -6/+14 |
|\ \ \ \ | | | | | | | | | | | fixed ICError when creating EI for structs containing only mapping or arrays | ||||
| * | | | | Update TypeChecker.cpp | Liana Husikyan | 2016-01-16 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | fixed assert on EI creation for structs containing only mapping or arrays | LianaHus | 2016-01-16 | 2 | -6/+12 |
| |/ / / | |||||
* / / / | Remove unnecesary std::move | Paweł Bylica | 2016-01-15 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #346 from chriseth/importAliases | chriseth | 2016-01-14 | 3 | -16/+56 |
|\ \ \ | |_|/ |/| | | Allow aliases during import. | ||||
| * | | Allow aliases during import. | chriseth | 2016-01-11 | 3 | -16/+56 |
| |/ | |||||
* | | clarification on dynamic arrays, switcheroo on typepointer, and a ↵ | RJ Catalano | 2016-01-12 | 1 | -1/+1 |
| | | | | | | | | documentation test added | ||||
* | | Merge branch 'develop' of https://github.com/ethereum/solidity into develop | RJ Catalano | 2016-01-12 | 1 | -0/+3 |
|\| | |||||
| * | Fixed a crash during type checking. | chriseth | 2016-01-08 | 1 | -0/+3 |
| | | |||||
* | | final changes to typechecker, the expression compiler, and a couple more ↵ | RJ Catalano | 2016-01-12 | 2 | -23/+32 |
| | | | | | | | | tests for good measure | ||||
* | | Update ExpressionCompiler.cpp | RJ | 2016-01-11 | 1 | -14/+16 |
| | | |||||
* | | Update ExpressionCompiler.cpp | RJ | 2016-01-11 | 1 | -4/+2 |
| | | |||||
* | | Update ExpressionCompiler.cpp | RJ | 2016-01-10 | 1 | -17/+39 |
| | | |||||
* | | find common type | RJ | 2016-01-10 | 1 | -2/+11 |
|/ | |||||
* | Merge pull request #338 from guanqun/add_paren | chriseth | 2016-01-05 | 2 | -2/+10 |
|\ | | | | | support syntax "(x) = 3" | ||||
| * | support decayed tuple expression as left value | Lu Guanqun | 2016-01-04 | 2 | -2/+10 |
| | | |||||
* | | Merge pull request #317 from chriseth/pathsEverywhere | chriseth | 2016-01-04 | 5 | -23/+26 |
|\ \ | |/ |/| | Use paths instead of simple identifiers wherever possible. | ||||
| * | Use paths instead of simple identifiers wherever possible. | chriseth | 2015-12-22 | 5 | -23/+26 |
| | | |||||
* | | Merge pull request #308 from chriseth/fixoverloadbug | chriseth | 2015-12-21 | 1 | -0/+2 |
|\ \ | | | | | | | Fix bug preventing overloads of different array types. | ||||
| * | | Fix bug preventing overloads of different array types. | chriseth | 2015-12-18 | 1 | -0/+2 |
| | | | |||||
* | | | Merge pull request #309 from chriseth/fix_cross_contract_enum_access | chriseth | 2015-12-21 | 2 | -14/+29 |
|\ \ \ | |_|/ |/| | | Add structs and enums to contract types. | ||||
| * | | Add structs and enums to contract types. | chriseth | 2015-12-18 | 2 | -14/+29 |
| |/ | |||||
* | | Merge pull request #311 from guanqun/correct-boolean-literal-position | chriseth | 2015-12-19 | 1 | -0/+1 |
|\ \ | |/ |/| | correct true/false literal's source | ||||
| * | correct true/false literal's source | Lu Guanqun | 2015-12-18 | 1 | -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. | chriseth | 2015-12-18 | 9 | -52/+140 |
| | | |||||
* | | Parse complex import directives. | chriseth | 2015-12-18 | 6 | -28/+93 |
| | | |||||
* | | changed error message | RJ Catalano | 2015-12-17 | 1 | -1/+1 |
| | | |||||
* | | updated tests and much simpler algorithm for parsing errors | RJ Catalano | 2015-12-17 | 1 | -7/+6 |
| | | |||||
* | | added one more test and realized that there was one last change before the ↵ | RJ Catalano | 2015-12-17 | 1 | -1/+1 |
| | | | | | | | | parser is perfect | ||||
* | | Parsing is complete | RJ Catalano | 2015-12-17 | 1 | -3/+3 |
| | | |||||
* | | changed a couple of small nuances, made an attempt at fixing the parsing in ↵ | RJ Catalano | 2015-12-17 | 2 | -12/+8 |
| | | | | | | | | the inline arrays case (fails), and added test for inline arrays per Chriseth request | ||||
* | | temporary assert added | RJ Catalano | 2015-12-17 | 1 | -0/+1 |
| | | |||||
* | | still not able to get types resolved, however it is compiling | RJ Catalano | 2015-12-16 | 1 | -2/+9 |
| | | |||||
* | | new tests | RJ Catalano | 2015-12-16 | 1 | -1/+0 |
| | | |||||
* | | now is compiling and passing soltest...but I think there may be a few more ↵ | RJ Catalano | 2015-12-16 | 2 | -5/+9 |
| | | | | | | | | things to do | ||||
* | | fixed case statements | RJ Catalano | 2015-12-16 | 2 | -1/+3 |
| | | |||||
* | | changing Tuple Constructor | RJ Catalano | 2015-12-16 | 1 | -2/+5 |
| | | |||||
* | | updated attempt...still a bit more work to do but here's what's current | RJ Catalano | 2015-12-16 | 2 | -2/+4 |
|\ \ | |||||
| * | | Inline array declarations complete | RJ Catalano | 2015-12-15 | 2 | -2/+42 |
| |/ | |||||
* | | updated attempt, a couple of more things to sort through and change | RJ Catalano | 2015-12-16 | 1 | -4/+6 |
| | | |||||
* | | Merge pull request #288 from chriseth/import_contexts | chriseth | 2015-12-15 | 10 | -66/+172 |
|\ \ | |/ |/| | Do not clutter importee when importing. | ||||
| * | Style. | chriseth | 2015-12-15 | 1 | -4/+4 |
| | | |||||
| * | Relative paths in import directives. | chriseth | 2015-12-10 | 6 | -9/+50 |
| | | |||||
| * | Source units are independent scopes. | chriseth | 2015-12-10 | 7 | -46/+105 |
| | | |||||
| * | Bugfix concerning pointers to moved data. | chriseth | 2015-12-08 | 2 | -21/+27 |
| | | |||||
* | | Merge pull request #289 from chriseth/fix_base_constructor_params | chriseth | 2015-12-10 | 1 | -0/+3 |
|\ \ | | | | | | | Fix: Type checker crash for wrong number of base constructor arguments. | ||||
| * | | Fix: Type checker crash for wrong number of base constructor arguments. | chriseth | 2015-12-10 | 1 | -0/+3 |
| |/ | |||||
* / | Fix: Segfaults connected to paramater types. | chriseth | 2015-12-10 | 2 | -4/+4 |
|/ | | | | parameterTypes does not return by const reference anymore. | ||||
* | Code generation for calling bound methods. | chriseth | 2015-12-01 | 2 | -4/+41 |
| | |||||
* | Merge pull request #261 from chriseth/dataloc | chriseth | 2015-12-01 | 1 | -20/+24 |
|\ | | | | | Bugfix for explicit memory types in libraries. | ||||
| * | Bugfix for explicit memory types in libraries. | chriseth | 2015-12-01 | 1 | -20/+24 |
| | | |||||
* | | Simplify and optimise stack rotation. | chriseth | 2015-12-01 | 2 | -8/+27 |
|/ | |||||
* | Merge pull request #251 from chriseth/bind2 | chriseth | 2015-11-30 | 14 | -292/+430 |
|\ | | | | | Bind library functions to types. | ||||
| * | Also check the object type for bound functions. | chriseth | 2015-11-29 | 4 | -9/+23 |
| | | |||||
| * | Add bound functions to types. | chriseth | 2015-11-29 | 5 | -204/+260 |
| | | |||||
| * | Added the `using x for y` directive. | chriseth | 2015-11-27 | 8 | -3/+87 |
| | |