Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check for recursive structs. | chriseth | 2017-09-16 | 1 | -3/+3 |
| | |||||
* | Merge pull request #2904 from ethereum/viewPure5 | Alex Beregszaszi | 2017-09-15 | 2 | -11/+24 |
|\ | | | | | Enforce view with error for experimental 0.5.0. | ||||
| * | Enforce view with error for experimental 0.5.0. | chriseth | 2017-09-14 | 2 | -11/+24 |
| | | |||||
* | | Warn if no visibility is specified on contract functions. | Alex Beregszaszi | 2017-09-14 | 2 | -1/+14 |
|/ | |||||
* | Merge pull request #2848 from ethereum/checkViewPure | chriseth | 2017-09-14 | 6 | -4/+398 |
|\ | | | | | Enforce view and pure. | ||||
| * | Minor changes from review. | chriseth | 2017-09-13 | 1 | -9/+3 |
| | | |||||
| * | Rename to invalidInPureFunctions | chriseth | 2017-09-13 | 1 | -1/+1 |
| | | |||||
| * | Allow constant variables in pure functions. | chriseth | 2017-09-06 | 1 | -1/+1 |
| | | |||||
| * | Rename and add anonymous namespace. | chriseth | 2017-09-06 | 1 | -1/+4 |
| | | |||||
| * | Fix tests | chriseth | 2017-09-06 | 1 | -5/+8 |
| | | |||||
| * | Tone down error message. | chriseth | 2017-09-06 | 1 | -2/+2 |
| | | |||||
| * | Modifier invocation can be base constructor call | chriseth | 2017-09-06 | 1 | -5/+7 |
| | | |||||
| * | Analyze assembly. | chriseth | 2017-09-06 | 2 | -11/+88 |
| | | |||||
| * | Do not report on overriding function and only warn for view. | chriseth | 2017-09-06 | 1 | -12/+19 |
| | | |||||
| * | Store super function. | chriseth | 2017-09-06 | 2 | -0/+4 |
| | | |||||
| * | Remove previous warning about pureness not being enforced. | chriseth | 2017-09-06 | 1 | -2/+0 |
| | | |||||
| * | View-pure checker. | chriseth | 2017-09-06 | 3 | -2/+308 |
| | | |||||
* | | Limit each duplicate declaration error to 32 references | Alex Beregszaszi | 2017-09-13 | 1 | -2/+20 |
| | | |||||
* | | Merge pull request #2852 from ssuman/develop | chriseth | 2017-09-12 | 1 | -1/+10 |
|\ \ | | | | | | | This commit will display warning when there is unused function parameter | ||||
| * | | Display helpful warning for unused function arguments/return parameters | Suman | 2017-09-12 | 1 | -1/+10 |
| | | | |||||
* | | | Do not report overload conflicts for every line excessively | Alex Beregszaszi | 2017-09-12 | 1 | -1/+5 |
|/ / | |||||
* | | Merge pull request #2888 from ethereum/same-declaration-error | Alex Beregszaszi | 2017-09-12 | 1 | -10/+12 |
|\ \ | | | | | | | Use secondary source location as a vector in same declaration errors | ||||
| * | | Use secondary source location as a vector in same declaration errors | Alex Beregszaszi | 2017-09-12 | 1 | -10/+12 |
| | | | |||||
* | | | Show each unimplemented function in secondary source location | Alex Beregszaszi | 2017-09-12 | 1 | -5/+7 |
|/ / | |||||
* / | Do not show the same error multiple times for events | Alex Beregszaszi | 2017-09-12 | 1 | -4/+4 |
|/ | |||||
* | Change array too large error message as it is valid for non-calldata too | Alex Beregszaszi | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Swap declaration/statemutability in FunctionType constructor | Alex Beregszaszi | 2017-08-29 | 1 | -1/+0 |
| | |||||
* | Mark all built in functions with appropriate statemutability | Alex Beregszaszi | 2017-08-29 | 2 | -11/+14 |
| | |||||
* | Warn on using literals in tight packing | Alex Beregszaszi | 2017-08-25 | 1 | -0/+22 |
| | |||||
* | Remove unused statements from the Natspec headers | Alex Beregszaszi | 2017-08-25 | 1 | -1/+1 |
| | |||||
* | Introduce pure specifier on functions | Alex Beregszaszi | 2017-08-24 | 1 | -0/+2 |
| | |||||
* | Check inheritance specifier arguments for interfaces. | chriseth | 2017-08-22 | 1 | -5/+5 |
| | |||||
* | Reject the creation of interface with the new statement | Alex Beregszaszi | 2017-08-22 | 1 | -0/+6 |
| | |||||
* | Fix crash related to ``using for`` without a library. | chriseth | 2017-08-21 | 1 | -1/+1 |
| | |||||
* | Library cannot have constructors | Alex Beregszaszi | 2017-08-21 | 1 | -0/+3 |
| | |||||
* | Use state mutability in override error messages | Alex Beregszaszi | 2017-08-17 | 1 | -11/+10 |
| | |||||
* | Use state mutability in fallback/constructor check | Alex Beregszaszi | 2017-08-17 | 1 | -4/+14 |
| | |||||
* | Warn about shift of literals. | chriseth | 2017-08-16 | 1 | -2/+3 |
| | |||||
* | Remove useless payable & constant typecheck | Alex Beregszaszi | 2017-08-14 | 1 | -2/+0 |
| | |||||
* | Merge pull request #2703 from ethereum/warnAboutLargeStorageArrays | chriseth | 2017-08-14 | 2 | -0/+45 |
|\ | | | | | Warn about large storage structures. | ||||
| * | Warn about large storage structures. | chriseth | 2017-08-12 | 2 | -0/+45 |
| | | |||||
* | | Avoid duplicate errors due to function overrides | Federico Bond | 2017-08-12 | 1 | -5/+5 |
| | | |||||
* | | Use a secondary location for function override errors | Federico Bond | 2017-08-12 | 2 | -24/+16 |
| | | |||||
* | | Refactor function override check to remove duplicate logic | Federico Bond | 2017-08-12 | 2 | -47/+50 |
| | | |||||
* | | Use fully qualified name of super in message | Federico Bond | 2017-08-12 | 1 | -4/+3 |
| | | |||||
* | | Improve override changes signature error message | Federico Bond | 2017-08-12 | 2 | -1/+34 |
|/ | |||||
* | Introduce ExperimentalFeatures header | Alex Beregszaszi | 2017-08-10 | 1 | -6/+4 |
| | |||||
* | Reject wildcard and multiple experimental pragmas | Alex Beregszaszi | 2017-08-10 | 1 | -13/+16 |
| | |||||
* | Reject unsupported experimental feature names | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | |||||
* | Warn if using experimental pragma | Alex Beregszaszi | 2017-08-10 | 1 | -0/+5 |
| | |||||
* | Support experimental feature pragma | Alex Beregszaszi | 2017-08-10 | 2 | -4/+30 |
| | |||||
* | Disable unimplemented library functions instead | Alex Beregszaszi | 2017-08-08 | 1 | -15/+2 |
| | |||||
* | Raise error when using unimplemented internal library functions. | Alex Beregszaszi | 2017-08-08 | 1 | -0/+15 |
| | |||||
* | Constructors must be implemented if declared. | Alex Beregszaszi | 2017-08-05 | 1 | -6/+2 |
| | |||||
* | Merge pull request #2687 from ethereum/show-unimplemented-funcs | Alex Beregszaszi | 2017-08-05 | 1 | -12/+16 |
|\ | | | | | Show unimplemented function if trying to instantiate an abstract class | ||||
| * | Remove duplicated check for unimplemented functions | Alex Beregszaszi | 2017-08-04 | 1 | -2/+0 |
| | | |||||
| * | Show unimplemented function if trying to instantiate an abstract class | Alex Beregszaszi | 2017-08-04 | 1 | -1/+8 |
| | | |||||
| * | Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations | Alex Beregszaszi | 2017-08-04 | 1 | -10/+9 |
| | | |||||
* | | Search for shadowee starting from parent scope. | chriseth | 2017-08-05 | 2 | -24/+4 |
| | | |||||
* | | Do not mark overloaded functions as shadowing | Alex Beregszaszi | 2017-08-05 | 2 | -1/+20 |
|/ | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Add isFallback() helper | Alex Beregszaszi | 2017-07-28 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2635 from ethereum/fixCrashOnAssignmentToNonLValue | Alex Beregszaszi | 2017-07-27 | 1 | -1/+3 |
|\ | | | | | Fix crash on assignment to non-LValue | ||||
| * | Fix crash on assignment to non-lvalue. | chriseth | 2017-07-26 | 1 | -1/+3 |
| | | |||||
* | | Re-allow multiple modifiers per function. | chriseth | 2017-07-27 | 1 | -2/+0 |
| | | |||||
* | | Warn about shadowing variables. | Alex Beregszaszi | 2017-07-25 | 2 | -40/+98 |
|/ | |||||
* | Migrate over to ErrorReporter | Rhett Aultman | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | Warn if this is used in constructor | Alex Beregszaszi | 2017-07-19 | 2 | -0/+15 |
| | |||||
* | Include types in explicit conversion error message | Alex Beregszaszi | 2017-07-14 | 1 | -1/+8 |
| | |||||
* | Disable large arrays for memory location too | Alex Beregszaszi | 2017-07-14 | 1 | -1/+5 |
| | |||||
* | Issue error properly for oversized arrays for calldata | Alex Beregszaszi | 2017-07-14 | 1 | -0/+6 |
| | |||||
* | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 1 | -0/+19 |
| | |||||
* | Issue proper warning trying to access calldata variables in inline assembly | Alex Beregszaszi | 2017-07-12 | 1 | -1/+4 |
| | |||||
* | Fix invalid "explicit storage keyword" warning for reference members of structs. | chriseth | 2017-07-11 | 1 | -1/+1 |
| | |||||
* | Deprecate throw. | chriseth | 2017-07-06 | 2 | -0/+13 |
| | |||||
* | Warn if local storage reference variable does not use "storage" explicitly. | chriseth | 2017-07-06 | 2 | -5/+20 |
| | |||||
* | Remove parsing of why3 doc strings | Alex Beregszaszi | 2017-07-01 | 2 | -13/+1 |
| | |||||
* | Warn about callcode. | chriseth | 2017-06-30 | 1 | -0/+8 |
| | |||||
* | Rename to isHexNumber() | Alex Beregszaszi | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Add hasHexPrefix() to AST::Literal | Alex Beregszaszi | 2017-06-28 | 1 | -1/+1 |
| | |||||
* | Give min and max values in warning message. | chriseth | 2017-06-28 | 1 | -1/+9 |
| | |||||
* | Warn if using var x = 0 | chriseth | 2017-06-28 | 1 | -0/+24 |
| | |||||
* | Merge pull request #2464 from federicobond/deprecate-function-type-names | chriseth | 2017-06-27 | 2 | -0/+14 |
|\ | | | | | Warn deprecated usage of parameter names in function types | ||||
| * | Warn deprecated usage of parameter names in function types | Federico Bond | 2017-06-27 | 2 | -0/+14 |
| | | |||||
* | | Warn about copies in storage that might overwrite unexpectedly. | chriseth | 2017-06-26 | 2 | -0/+34 |
| | | |||||
* | | Merge pull request #2460 from ethereum/disallowMultiModifier | Alex Beregszaszi | 2017-06-26 | 1 | -0/+13 |
|\ \ | | | | | | | Disallow invoking the same modifier multiple times. | ||||
| * | | Disallow invoking the same modifier multiple times. | chriseth | 2017-06-24 | 1 | -0/+13 |
| | | | |||||
* | | | Merge pull request #2449 from federicobond/warn-bytesxx-decimal | chriseth | 2017-06-26 | 1 | -1/+18 |
|\ \ \ | |/ / |/| | | Warn if decimal literals are used in a bytesXX context | ||||
| * | | Warn if decimal literals are used in a bytesXX context | Federico Bond | 2017-06-24 | 1 | -1/+18 |
| | | | | | | | | | | | | Fixes #2349 | ||||
* | | | Fix address literals not being treated as compile-time constants | Federico Bond | 2017-06-23 | 1 | -5/+5 |
| |/ |/| | | | | | | | The early return implemented for address literals in TypeChecker was preventing the isPure annotation from getting applied. Closes #2441 | ||||
* | | Fix segmentation fault with constant function parameters | Federico Bond | 2017-06-22 | 1 | -1/+8 |
|/ | |||||
* | Silence compiler warning. | chriseth | 2017-06-14 | 1 | -1/+1 |
| | |||||
* | Fix a crash about a non-callable expression. | chriseth | 2017-06-14 | 1 | -4/+1 |
| | |||||
* | Add a warning about a varialbe of the name of an instruction | Yoichi Hirai | 2017-06-13 | 3 | -0/+27 |
| | |||||
* | Generate only single error in inline assembly. | chriseth | 2017-06-08 | 2 | -3/+12 |
| | |||||
* | Initial EVM1.5 assembly implementation. | chriseth | 2017-06-08 | 2 | -2/+9 |
| | |||||
* | Refactor error reporting | Rhett Aultman | 2017-05-30 | 14 | -429/+241 |
| | | | | | | | | | This commit introduces ErrorReporter, a utility class which consolidates all of the error logging functionality into a common set of functions. It also replaces all direct interactions with an ErrorList with calls to an ErrorReporter. This commit resolves issue #2209 | ||||
* | Introduce Julia mode in AsmAnalyzer | Alex Beregszaszi | 2017-05-27 | 2 | -1/+2 |
| | |||||
* | Adapt EVM codegen to new namespace. | chriseth | 2017-05-26 | 2 | -7/+7 |
| | |||||
* | Merge pull request #2292 from roadriverrail/inline_asm_unused_warning | Alex Beregszaszi | 2017-05-24 | 1 | -3/+0 |
|\ | | | | | Drop the inline asm includes from StaticAnalyzer | ||||
| * | Drop the inline asm includes from StaticAnalyzer | Rhett Aultman | 2017-05-23 | 1 | -3/+0 |
| | | |||||
* | | Merge pull request #2265 from roadriverrail/inline_asm_unused_warning | chriseth | 2017-05-22 | 2 | -2/+24 |
|\| | | | | | Analyze InlineAssembly for variable use | ||||
| * | Analyze InlineAssembly for variable use | Rhett Aultman | 2017-05-22 | 2 | -2/+24 |
| | | | | | | | | | | The unused variable checker in StaticAnalyzer did not conssider InlineAssembly objects. This commit introduces that missing feature. | ||||
* | | minor fixes and changelog update | djudjuu | 2017-05-22 | 1 | -0/+1 |
| | | |||||
* | | refactoring functionCallAnnotation | djudjuu | 2017-05-19 | 1 | -6/+9 |
|/ | |||||
* | Added change to make compile happy on MacOS 10.9.5 | Erik Quenon Steggall | 2017-05-06 | 1 | -1/+1 |
| | |||||
* | Cleanup, style and additional test. | chriseth | 2017-05-03 | 2 | -11/+7 |
| | |||||
* | Refactor: Combine bool and function pointer. | chriseth | 2017-05-03 | 2 | -10/+8 |
| | |||||
* | Treat returns with expressions as return param use | Rhett Aultman | 2017-05-03 | 2 | -1/+14 |
| | | | | | | | There are many cases of code where the return parameters exist mostly as a form of documentation. This change ensures that they do not have to be used in the function body so long as there is a return supplying values | ||||
* | Warn on unused local variables | Rhett Aultman | 2017-05-03 | 2 | -0/+45 |
| | | | | | | Analyze functions for all local variables, parameters, and named return variables which are never used in the function, and issue a warning. | ||||
* | Merge pull request #2199 from roadriverrail/no_unary_plus | chriseth | 2017-05-02 | 2 | -0/+21 |
|\ | | | | | Deprecate use of unary '+' | ||||
| * | Style and stricter tests. | chriseth | 2017-05-02 | 1 | -3/+1 |
| | | |||||
| * | Deprecate use of unary '+' | Rhett Aultman | 2017-04-29 | 2 | -0/+23 |
| | | | | | | | | | | | | | | The unary '+' serves no meaningful purpose in Solidity and it makes it possible to produce typos with dagerous implications (e.g. 'a =+5 '), so we are deprecating it. The SyntaxChecker currently issues warnings on the unary '+' but will still compile it for now. | ||||
* | | Merge pull request #2110 from federicobond/fix-posttypechecker | chriseth | 2017-05-02 | 1 | -0/+3 |
|\ \ | |/ |/| | Fix PostTypeChecker retaining state across contracts | ||||
| * | Fix PostTypeChecker retaining state across contracts | Federico Bond | 2017-04-09 | 1 | -0/+3 |
| | | |||||
* | | Refactor to combined scope and stack height info. | chriseth | 2017-04-26 | 2 | -4/+13 |
| | | |||||
* | | Fix storage access tests. | chriseth | 2017-04-25 | 1 | -5/+5 |
| | | |||||
* | | Build fix. | chriseth | 2017-04-25 | 1 | -3/+3 |
| | | |||||
* | | Storage access from inline assembly. | chriseth | 2017-04-25 | 2 | -7/+38 |
| | | |||||
* | | Move analysis out of code generator. | chriseth | 2017-04-25 | 1 | -2/+2 |
| | | |||||
* | | Only allow access to local variables and only if they have a stack size of one. | chriseth | 2017-04-25 | 1 | -28/+38 |
| | | |||||
* | | Review comments and cleanup. | chriseth | 2017-04-25 | 1 | -0/+2 |
| | | |||||
* | | Use actual type checking phase of assembler. | chriseth | 2017-04-25 | 2 | -11/+10 |
| | | |||||
* | | Split external identifier access into resolving and code generation. | chriseth | 2017-04-25 | 2 | -32/+30 |
| | | |||||
* | | Change error message. | chriseth | 2017-04-21 | 1 | -1/+1 |
| | | |||||
* | | Warn about side-effect free statements. | chriseth | 2017-04-21 | 3 | -2/+11 |
|/ | |||||
* | Fix: Contract inheriting from base with unimplemented constructor is abstract. | chriseth | 2017-03-22 | 1 | -0/+10 |
| | |||||
* | Visit structs only once. | chriseth | 2017-03-21 | 1 | -3/+7 |
| | |||||
* | Simplify interface checks for FunctionDefinition | Alex Beregszaszi | 2017-03-18 | 1 | -8/+7 |
| | |||||
* | Disallow private or internal functions in interfaces | Alex Beregszaszi | 2017-03-18 | 1 | -0/+3 |
| | |||||
* | Disallow constructor in interfaces | Alex Beregszaszi | 2017-03-18 | 1 | -0/+3 |
| | |||||
* | Disallow enums in interfaces | Alex Beregszaszi | 2017-03-18 | 2 | -0/+8 |
| | |||||
* | Use declared instead of defined | Alex Beregszaszi | 2017-03-18 | 1 | -1/+1 |
| | |||||
* | Reject invalid definitions for interface contracts | Alex Beregszaszi | 2017-03-18 | 1 | -0/+13 |
| | |||||
* | Change references to FunctionType::Location | Alex Beregszaszi | 2017-03-16 | 2 | -25/+24 |
| | |||||
* | Mention 'transfer' in warning about unchecked 'send'. | chriseth | 2017-03-15 | 1 | -2/+3 |
| | |||||
* | Merge pull request #1729 from ethereum/constantvariables | Yoichi Hirai | 2017-03-15 | 1 | -18/+62 |
|\ | | | | | Only allow pure expressions for constant state variables. | ||||
| * | Turn non-constant constants error into warning. | chriseth | 2017-03-15 | 1 | -2/+3 |
| | | |||||
| * | Disallow constants that are neither value types nor strings. | chriseth | 2017-03-13 | 1 | -0/+8 |
| | | |||||
| * | Allow enum values for constants. | chriseth | 2017-03-13 | 1 | -1/+4 |
| | | |||||
| * | Type checking for pure expressions. | chriseth | 2017-03-13 | 1 | -18/+50 |
| | | |||||
* | | Require and Assert. | chriseth | 2017-03-14 | 1 | -3/+4 |
|/ | |||||
* | Merge pull request #1751 from ethereum/warnLiteralExpBase | Yoichi Hirai | 2017-03-11 | 1 | -0/+20 |
|\ | | | | | Warn if base of exponentiation operation is a literal. | ||||
| * | Warn about literal constant base in exponentiation. | chriseth | 2017-03-07 | 1 | -0/+20 |
| | | |||||
* | | Resolve build-stopping error about 'minor' and 'major' being defined in ↵ | Ryan Casey | 2017-03-10 | 1 | -0/+3 |
| | | | | | | | | <sys/types.h> | ||||
* | | Merge pull request #1747 from ethereum/fixICEInternalConstructor | Yoichi Hirai | 2017-03-09 | 1 | -3/+1 |
|\ \ | | | | | | | Move privateness of constructor into AST itself. | ||||
| * | | Move public constructor property into AST itself. | chriseth | 2017-03-06 | 1 | -3/+1 |
| | | | |||||
* | | | Merge pull request #1748 from ethereum/singletonArray | chriseth | 2017-03-08 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Use mobile type for singleton array. | ||||
| * | | | Convert to mobile type for array type. | chriseth | 2017-03-06 | 1 | -1/+1 |
| | |/ | |/| | |||||
* | | | Disallow compound assignment for tuples. | chriseth | 2017-03-08 | 1 | -0/+5 |
| | | | |||||
* | | | Merge pull request #1699 from ethereum/asmlabels | Yoichi Hirai | 2017-03-08 | 1 | -4/+11 |
|\ \ \ | | | | | | | | | Assembly labels with stack information | ||||
| * | | | Move lambda. | chriseth | 2017-03-03 | 1 | -3/+9 |
| | | | | |||||
| * | | | Refactor CodeGen to recurse on blocks. | chriseth | 2017-03-03 | 1 | -3/+4 |
| | | | | |||||
* | | | | Merge pull request #1733 from ethereum/selfReferentialConstant | chriseth | 2017-03-07 | 3 | -0/+180 |
|\ \ \ \ | | | | | | | | | | | Detect cyclic dependencies between constants. | ||||
| * | | | | Check for circular references in constant variables. | chriseth | 2017-03-06 | 3 | -0/+180 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #1737 from ethereum/localmappings | chriseth | 2017-03-06 | 1 | -2/+5 |
|\ \ \ \ | |/ / / |/| | | | Disallow uninitialized mapping variables. | ||||
| * | | | Disallow uninitialized mapping variables. | chriseth | 2017-03-06 | 1 | -2/+5 |
| | |/ | |/| | |||||
* / | | Mention way to remove warning. | chriseth | 2017-03-06 | 1 | -1/+5 |
|/ / | |||||
* | | Merge pull request #1702 from ethereum/assertError | Yoichi Hirai | 2017-03-04 | 1 | -2/+3 |
|\ \ | |/ |/| | Change effect of assert to invalid opcode. | ||||
| * | Remove assert for now. | chriseth | 2017-02-24 | 1 | -2/+3 |
| | | |||||
* | | Disallow variable declaration with inferred empty tuple type. | chriseth | 2017-03-02 | 1 | -0/+5 |
| | | |||||
* | | Deposit one stack item for non-value types in inline assembly type checking. | chriseth | 2017-02-20 | 1 | -1/+1 |
| | | |||||
* | | Fix early exist for fatal errors. | chriseth | 2017-02-16 | 4 | -73/+82 |
|/ | |||||
* | Review comments. | chriseth | 2017-02-14 | 3 | -7/+7 |
| | |||||
* | Allow different entry scope for registerDeclarations. | chriseth | 2017-02-14 | 3 | -9/+22 |
| | |||||
* | Extract scopes into compiler stack. | chriseth | 2017-02-14 | 2 | -2/+8 |
| | |||||
* | Refactor type system to allow multiple entry points. | chriseth | 2017-02-14 | 4 | -15/+27 |
| | |||||
* | Refactor NameAndTypeResolver and SyntaxChecker to allow other entry points. | chriseth | 2017-02-14 | 6 | -61/+86 |
| | |||||
* | Support revert() | Alex Beregszaszi | 2017-02-11 | 1 | -1/+3 |
| | |||||
* | Implement assert as a global function | Alex Beregszaszi | 2017-02-10 | 1 | -1/+3 |
| | |||||
* | Disallow arrays with negative length | Alex Beregszaszi | 2017-02-02 | 1 | -0/+2 |
| | |||||
* | Warn about invalid checksums of addresses. | chriseth | 2017-01-25 | 1 | -0/+10 |
| | |||||
* | Merge pull request #1245 from ethereum/1215 | chriseth | 2017-01-24 | 2 | -7/+19 |
|\ | | | | | Allow multiple events of the same name | ||||
| * | analysis: disallow overloading functions with events | Yoichi Hirai | 2017-01-23 | 1 | -1/+6 |
| | | |||||
| * | analysis: fix format | Yoichi Hirai | 2017-01-23 | 1 | -4/+7 |
| | | |||||
| * | analysis: Resolve event overloading | Yoichi Hirai | 2017-01-23 | 2 | -14/+11 |
| | | |||||
| * | analysis: Allow multiple events of the same name | Yoichi Hirai | 2017-01-23 | 1 | -0/+7 |
| | | | | | | | | Fixes #1215 | ||||
* | | Check if constructor is public or not. | chriseth | 2017-01-21 | 1 | -1/+6 |
|/ | |||||
* | Fix default function type name visibility. | chriseth | 2017-01-19 | 1 | -1/+0 |
| | |||||
* | analysis: use Declaration::functionType() in another location | Yoichi Hirai | 2017-01-12 | 1 | -11/+4 |
| | |||||
* | ast: add Declaration::functionType() | Yoichi Hirai | 2017-01-12 | 1 | -14/+7 |
| | |||||
* | analysis: avoid emscripten build failure | Yoichi Hirai | 2017-01-12 | 1 | -3/+3 |
| | |||||
* | analysis: changes necessary to compile std/StandardToken.sol | Yoichi Hirai | 2017-01-12 | 3 | -12/+58 |
| | |||||
* | analysis: allow some shadowings explicitly | Yoichi Hirai | 2017-01-12 | 1 | -0/+8 |
| | |||||
* | analysis: report errors when inheritance causes collision | Yoichi Hirai | 2017-01-12 | 1 | -1/+25 |
| | |||||
* | Improve error message when trying to modify constant variables | Federico Bond | 2016-12-13 | 1 | -1/+6 |
| | |||||
* | Warn about using msg.value in non-payable function | Federico Bond | 2016-12-09 | 2 | -0/+150 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 18 | -72/+72 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Check that no internals are used in any external function type. | chriseth | 2016-11-16 | 3 | -1/+17 |
| | |||||
* | Disallow payable internal functions. | chriseth | 2016-11-16 | 1 | -1/+2 |
| | |||||
* | 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 |
| | |