Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | 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 |
| |