Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Function types. | chriseth | 2016-11-16 | 2 | -0/+18 |
| | |||||
* | Type checker: move the burden of computing mobile type to commonType | Yoichi Hirai | 2016-11-11 | 1 | -2/+2 |
| | | | | This solves #621 | ||||
* | Suggest correct version for pragma and complain about pre-release version. | chriseth | 2016-10-25 | 1 | -4/+13 |
| | |||||
* | Merge pull request #1279 from ethereum/semver-helper | chriseth | 2016-10-25 | 1 | -0/+6 |
|\ | | | | | Export major/minor/patch helpers on SemVerVersion | ||||
| * | Export major/minor/patch helpers on SemVerVersion | Alex Beregszaszi | 2016-10-25 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #1264 from ethereum/988 | chriseth | 2016-10-25 | 1 | -0/+5 |
|\ \ | |/ |/| | State variable under contract's name | ||||
| * | analysis: determine if a member access on a contract is an l-value | Yoichi Hirai | 2016-10-25 | 1 | -0/+5 |
| | | |||||
* | | More checks for missing mobile type. | chriseth | 2016-10-24 | 1 | -4/+14 |
|/ | |||||
* | Use warning function in TypeChecker | Alex Beregszaszi | 2016-10-20 | 1 | -5/+4 |
| | |||||
* | Disallow unsupported RValues in inline assembly | Alex Beregszaszi | 2016-10-20 | 1 | -4/+2 |
| | |||||
* | Disallow magic variables in inline assembly | Alex Beregszaszi | 2016-10-20 | 1 | -0/+4 |
| | |||||
* | Fix pragma keyword check | Yoichi Hirai | 2016-10-11 | 1 | -1/+1 |
| | | | | Fixes #1192 | ||||
* | Add alias keccak256() for sha3() | Alex Beregszaszi | 2016-10-06 | 1 | -0/+2 |
| | |||||
* | Fix crash for TypeName[k]. | chriseth | 2016-09-16 | 1 | -1/+1 |
| | |||||
* | Constructor must be internal or public | Alex Beregszaszi | 2016-09-06 | 1 | -0/+2 |
| | |||||
* | Reject constant constructors | Alex Beregszaszi | 2016-09-06 | 1 | -2/+6 |
| | |||||
* | Reject constant modifier on the fallback function | Alex Beregszaszi | 2016-09-06 | 1 | -0/+2 |
| | |||||
* | Tests for payable / private combination. | chriseth | 2016-09-06 | 1 | -2/+2 |
| | |||||
* | Make constant and payable mutually exclusive. | chriseth | 2016-09-06 | 1 | -0/+2 |
| | |||||
* | Change function type to include and propagate payable and constant modifier. | chriseth | 2016-09-06 | 1 | -10/+2 |
| | |||||
* | Merged in changes from chriseth/payable | Alex Beregszaszi | 2016-09-06 | 1 | -2/+12 |
| | |||||
* | Use version string (including prerelease) for pragma matching. | chriseth | 2016-09-01 | 1 | -2/+3 |
| | |||||
* | Version pragma. | chriseth | 2016-09-01 | 4 | -3/+449 |
| | |||||
* | Make fallback function throw by default. | chriseth | 2016-08-30 | 1 | -0/+2 |
| | |||||
* | Disallow fallback function to return values. | chriseth | 2016-08-26 | 1 | -0/+2 |
| | |||||
* | Require modifiers to contain "_". | chriseth | 2016-08-16 | 2 | -1/+29 |
| | |||||
* | 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 |
| | |||||
* | Disallow implementation of abstract function by constructor of derived class. | chriseth | 2016-06-07 | 1 | -1/+4 |
| | |||||
* | 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 | 1 | -0/+2 |
| | | | | | | | | | | | | 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 | 2 | -6/+6 |
| | |||||
* | Prefer mobileType() to check rational range. | chriseth | 2016-05-11 | 1 | -16/+18 |
| | |||||
* | reorganized tests and fixed mobile types and implicit conversions of ↵ | VoR0220 | 2016-05-10 | 1 | -19/+53 |
| | | | | | | | | 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 | 2 | -13/+14 |
| | | | | | | | | | | | | 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 | ||||
* | rational renaming | VoR0220 | 2016-05-10 | 2 | -4/+4 |
| | |||||
* | changed names for Rational Constants and categories | VoR0220 | 2016-05-10 | 1 | -8/+8 |
| | |||||
* | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 3 | -14/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | reduce unnecessary solidity:: namespace | Dimitry | 2016-04-04 | 1 | -1/+1 |
| | |||||
* | rename namespace for instruction.h/cpp in libevmasm | Dimitry | 2016-04-02 | 1 | -1/+1 |
| | |||||
* | Code generation (missing external access and source locations). | chriseth | 2016-03-30 | 4 | -0/+81 |
| | |||||
* | changes to redefine the token list, the scanner, and the parser and how they ↵ | RJ Catalano | 2016-02-19 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | Fix segfault when using wrong number of constructor arguments. | chriseth | 2016-02-12 | 1 | -0/+3 |
| | |||||
* | Index access for bytesXX. | chriseth | 2016-02-10 | 1 | -0/+18 |
| | |||||
* | 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 | 1 | -2/+7 |
| | |||||
* | [cond-expr] change endVisit() to visit() | Lu Guanqun | 2016-01-23 | 2 | -30/+41 |
| | |||||
* | [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] add type checker | Lu Guanqun | 2016-01-23 | 2 | -0/+28 |
| | |||||
* | Merge pull request #356 from guanqun/break-not-in-loop | chriseth | 2016-01-21 | 2 | -0/+141 |
|\ | | | | | check whether break/continue is in the loop | ||||
| * | 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 | 2 | -19/+15 |
| | | |||||
| * | check whether break/continue is in the loop | Lu Guanqun | 2016-01-15 | 2 | -0/+145 |
| | | |||||
* | | 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 | 1 | -6/+8 |
| | | |||||
* | | Merge pull request #346 from chriseth/importAliases | chriseth | 2016-01-14 | 2 | -16/+52 |
|\ \ | |/ |/| | Allow aliases during import. | ||||
| * | Allow aliases during import. | chriseth | 2016-01-11 | 2 | -16/+52 |
| | | |||||
* | | 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 | 1 | -15/+25 |
| | | | | | | | | tests for good measure | ||||
* | | find common type | RJ | 2016-01-10 | 1 | -2/+11 |
|/ | |||||
* | Merge pull request #338 from guanqun/add_paren | chriseth | 2016-01-05 | 1 | -1/+4 |
|\ | | | | | support syntax "(x) = 3" | ||||
| * | support decayed tuple expression as left value | Lu Guanqun | 2016-01-04 | 1 | -1/+4 |
| | | |||||
* | | Use paths instead of simple identifiers wherever possible. | chriseth | 2015-12-22 | 1 | -1/+1 |
|/ | |||||
* | Simple aliasing during import. | chriseth | 2015-12-18 | 2 | -9/+24 |
| | |||||
* | Parse complex import directives. | chriseth | 2015-12-18 | 1 | -1/+1 |
| | |||||
* | changed a couple of small nuances, made an attempt at fixing the parsing in ↵ | RJ Catalano | 2015-12-17 | 1 | -9/+2 |
| | | | | 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 |
| | |||||
* | Merge pull request #288 from chriseth/import_contexts | chriseth | 2015-12-15 | 5 | -58/+123 |
|\ | | | | | Do not clutter importee when importing. | ||||
| * | Style. | chriseth | 2015-12-15 | 1 | -4/+4 |
| | | |||||
| * | Relative paths in import directives. | chriseth | 2015-12-10 | 1 | -4/+10 |
| | | |||||
| * | Source units are independent scopes. | chriseth | 2015-12-10 | 5 | -43/+96 |
| | | |||||
| * | 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 | 1 | -2/+2 |
|/ | | | | parameterTypes does not return by const reference anymore. | ||||
* | Bugfix for explicit memory types in libraries. | chriseth | 2015-12-01 | 1 | -20/+24 |
| | |||||
* | Merge pull request #251 from chriseth/bind2 | chriseth | 2015-11-30 | 5 | -86/+89 |
|\ | | | | | Bind library functions to types. | ||||
| * | Also check the object type for bound functions. | chriseth | 2015-11-29 | 1 | -1/+10 |
| | | |||||
| * | Added the `using x for y` directive. | chriseth | 2015-11-27 | 3 | -3/+13 |
| | | |||||
| * | Resolve type names using regular AST visit. | chriseth | 2015-11-27 | 2 | -82/+66 |
| | | |||||
* | | Introduce selfdestruct alias for suicide. | chriseth | 2015-11-29 | 1 | -1/+3 |
|/ | |||||
* | Do not store elements of a contract by AST node type. | chriseth | 2015-11-26 | 4 | -50/+24 |
| | |||||
* | Make members context-sensitive. | chriseth | 2015-11-26 | 5 | -19/+14 |
| | |||||
* | Fix MSVC errors and warnings. | chriseth | 2015-11-26 | 2 | -4/+5 |
| | |||||
* | Make some functions const. | chriseth | 2015-11-26 | 2 | -4/+4 |
| | |||||
* | Type checking for creating new arrays. | chriseth | 2015-11-26 | 3 | -2/+28 |
| | |||||
* | Allow "new expressions" also for general type names. | chriseth | 2015-11-26 | 3 | -26/+44 |
| | | | | | | | Breaking change: If you want to send value with a contract creation, you have to use parentheses now: `(new ContractName).value(2 ether)(arg1, arg2)` | ||||
* | Addmod and mulmod. | chriseth | 2015-11-19 | 1 | -0/+4 |
| | |||||
* | style fix | LianaHus | 2015-11-07 | 2 | -12/+14 |
| | |||||
* | style fixes | LianaHus | 2015-11-07 | 3 | -25/+26 |
| | |||||
* | fixed test framework | LianaHus | 2015-11-07 | 2 | -10/+8 |
| | |||||
* | fix | LianaHus | 2015-11-07 | 3 | -35/+60 |
| | |||||
* | fixed return valu for resolver | LianaHus | 2015-11-07 | 2 | -5/+5 |
| | |||||
* | added SourceLocations to error reporting for ReferenceResolver | LianaHus | 2015-11-07 | 2 | -15/+18 |
| | |||||
* | passed SourceLocations instead of nodes to the error reporting function | LianaHus | 2015-11-07 | 5 | -109/+116 |
| | |||||
* | fixed build | LianaHus | 2015-11-07 | 1 | -3/+4 |
| | |||||
* | added errors tu ReferencesResolver | LianaHus | 2015-11-07 | 3 | -55/+78 |
| | |||||
* | Allow docstrings for statements. | chriseth | 2015-10-27 | 2 | -12/+30 |
| | |||||
* | Fix indent. | chriseth | 2015-10-27 | 1 | -3/+3 |
| | |||||
* | Store docstrings in AST annotations. | chriseth | 2015-10-26 | 2 | -0/+181 |
| | |||||
* | File reorganisation. | chriseth | 2015-10-21 | 12 | -0/+2898 |