Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add const | chriseth | 2017-05-20 | 1 | -1/+1 |
| | |||||
* | Review changes. | chriseth | 2017-05-20 | 1 | -6/+6 |
| | |||||
* | Refactor to abstract assembly to JULIA. | chriseth | 2017-05-20 | 5 | -76/+127 |
| | |||||
* | Merge pull request #2262 from ethereum/interface-cleanup | chriseth | 2017-05-19 | 9 | -231/+342 |
|\ | | | | | Cleanup the external interfaces (ABI and Natspec) | ||||
| * | Rename CompilerStack.metadata to CompilerStack.natspec | Alex Beregszaszi | 2017-05-19 | 3 | -9/+9 |
| | | |||||
| * | Rename InterfaceHandler to Natspec | Alex Beregszaszi | 2017-05-19 | 5 | -12/+11 |
| | | |||||
| * | Split ABI out of InterfaceHandler | Alex Beregszaszi | 2017-05-19 | 6 | -105/+212 |
| | | |||||
| * | Use CompilerStack.contractABI directly | Alex Beregszaszi | 2017-05-19 | 2 | -2/+7 |
| | | |||||
| * | Rename CompilerStack.interface to CompilerStack.contractABI | Alex Beregszaszi | 2017-05-19 | 2 | -3/+3 |
| | | |||||
* | | Accept bool as a type in Julia mode | Alex Beregszaszi | 2017-05-19 | 1 | -1/+9 |
| | | |||||
* | | Support true/false literals in inline assembly | Alex Beregszaszi | 2017-05-19 | 5 | -5/+42 |
|/ | |||||
* | Merge pull request #2222 from ethereum/julia-types | chriseth | 2017-05-16 | 11 | -36/+106 |
|\ | | | | | Add support for types in Julia | ||||
| * | Use boost range adaptors in AsmPrinter | Alex Beregszaszi | 2017-05-06 | 1 | -4/+12 |
| | | |||||
| * | Parse types in Julia mode | Alex Beregszaszi | 2017-05-06 | 11 | -36/+98 |
| | | |||||
* | | Ensure proper checks are in CompilerStack | Alex Beregszaszi | 2017-05-11 | 1 | -4/+10 |
| | | |||||
* | | Do not crash on AST if parsing failed | Alex Beregszaszi | 2017-05-11 | 1 | -0/+3 |
| | | |||||
* | | Added change to make compile happy on MacOS 10.9.5 | Erik Quenon Steggall | 2017-05-06 | 1 | -1/+1 |
|/ | |||||
* | Assert that invalid AST elements are not printed in Julia mode | Alex Beregszaszi | 2017-05-05 | 1 | -1/+5 |
| | |||||
* | Add flag for JULIA printing | Alex Beregszaszi | 2017-05-05 | 1 | -0/+5 |
| | |||||
* | Show better error message for Julia mode | Alex Beregszaszi | 2017-05-05 | 1 | -3/+11 |
| | |||||
* | Do not allow literal pushes in Julia | Alex Beregszaszi | 2017-05-05 | 1 | -0/+2 |
| | |||||
* | Disable labels in Julia | Alex Beregszaszi | 2017-05-05 | 1 | -0/+3 |
| | |||||
* | Merge pull request #2194 from ethereum/removeerrorlabel | chriseth | 2017-05-05 | 5 | -30/+0 |
|\ | | | | | Remove error label / invalid jump label. | ||||
| * | Remove error label / invalid jump label. | chriseth | 2017-04-28 | 5 | -30/+0 |
| | | |||||
* | | 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 #2211 from ethereum/jsonio-fixes | Alex Beregszaszi | 2017-05-02 | 1 | -3/+3 |
|\ \ | | | | | | | Follow the JSON I/O spec closely | ||||
| * | | Follow the JSON I/O spec closely | Alex Beregszaszi | 2017-05-02 | 1 | -3/+3 |
| | | | |||||
* | | | 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. | ||||
* | | | | Remove why3 from standard compiler | Alex Beregszaszi | 2017-05-02 | 1 | -24/+0 |
| |/ / |/| | | |||||
* | | | Merge pull request #2198 from ethereum/conditionalCompilerStateReset | chriseth | 2017-05-02 | 1 | -1/+4 |
|\ \ \ | | | | | | | | | conditional reset of compilerState-Enum | ||||
| * | | | conditional reset of compilerState-Enum | djuju | 2017-04-29 | 1 | -1/+4 |
| |/ / | |||||
* | | | 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 |
| | | | |||||
* | | | Merge pull request #2171 from ethereum/splitParseAndAnalyze | chriseth | 2017-04-28 | 2 | -17/+63 |
|\ \ \ | |_|/ |/| | | refactoring parse() into two separate functions | ||||
| * | | error fixed | djuju | 2017-04-28 | 1 | -8/+7 |
| | | | |||||
| * | | enumchecks not working | djuju | 2017-04-28 | 2 | -15/+36 |
| | | | |||||
| * | | documentation, checks and renaming | djuju | 2017-04-27 | 2 | -14/+13 |
| | | | |||||
| * | | refactoring parse() into two separate functions | djuju | 2017-04-27 | 2 | -7/+34 |
| | | | |||||
* | | | Merge pull request #2193 from ethereum/julia-assign-stack | chriseth | 2017-04-28 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | Disallow assign from stack in Julia (=: var) | ||||
| * | | | Disallow assign from stack in Julia (=: var) | Alex Beregszaszi | 2017-04-28 | 1 | -1/+3 |
| | | | | |||||
| * | | | Do not validate identifiers against EVM instructions in JULIA | Alex Beregszaszi | 2017-04-28 | 1 | -4/+6 |
| | | | | |||||
| * | | | Add flag for JULIA parsing | Alex Beregszaszi | 2017-04-28 | 1 | -1/+4 |
| | | | | |||||
* | | | | Merge pull request #2189 from ethereum/julia-instructions | chriseth | 2017-04-28 | 2 | -5/+10 |
|\ \ \ \ | |/ / / |/| | | | Do not disallow EVM instructions as identifiers in Julia | ||||
| * | | | Do not validate identifiers against EVM instructions in JULIA | Alex Beregszaszi | 2017-04-27 | 1 | -4/+6 |
| | | | | |||||
| * | | | Add flag for JULIA parsing | Alex Beregszaszi | 2017-04-27 | 1 | -1/+4 |
| | | | | |||||
* | | | | Make assembler errors fatal | Alex Beregszaszi | 2017-04-27 | 1 | -12/+4 |
| | | | | |||||
* | | | | Catch assembler exceptions and throw readable Solidity exceptions | Alex Beregszaszi | 2017-04-27 | 1 | -2/+35 |
|/ / / | |||||
* | | | Remove parentheses from around function return parameters | Alex Beregszaszi | 2017-04-27 | 2 | -4/+2 |
| | | | |||||
* | | | Check stack height during code generation. | chriseth | 2017-04-26 | 1 | -6/+34 |
| | | | |||||
* | | | Refactor to combined scope and stack height info. | chriseth | 2017-04-26 | 11 | -63/+151 |
| | | | |||||
* | | | Store stack height in analysis phase. | chriseth | 2017-04-26 | 2 | -5/+35 |
| | | | |||||
* | | | Fix storage access tests. | chriseth | 2017-04-25 | 2 | -15/+21 |
| | | | |||||
* | | | Special case for storage types with offset zero. | chriseth | 2017-04-25 | 1 | -3/+18 |
| | | | |||||
* | | | Pass internal resolver to assembly analyzer. | chriseth | 2017-04-25 | 1 | -1/+2 |
| | | | |||||
* | | | Fix refactoring error. | chriseth | 2017-04-25 | 1 | -2/+2 |
| | | | |||||
* | | | Build fix. | chriseth | 2017-04-25 | 2 | -4/+4 |
| | | | |||||
* | | | Storage access from inline assembly. | chriseth | 2017-04-25 | 4 | -17/+75 |
| | | | |||||
* | | | Another stack check. | chriseth | 2017-04-25 | 1 | -0/+2 |
| | | | |||||
* | | | Move analysis out of code generator. | chriseth | 2017-04-25 | 7 | -26/+55 |
| | | | |||||
* | | | Only allow access to local variables and only if they have a stack size of one. | chriseth | 2017-04-25 | 3 | -63/+53 |
| | | | |||||
* | | | Check again that instruction argument count is correct. | chriseth | 2017-04-25 | 1 | -0/+1 |
| | | | |||||
* | | | Only run stack filler on AST elements that are or contain declarations. | chriseth | 2017-04-25 | 2 | -32/+4 |
| | | | |||||
* | | | Review comments. | chriseth | 2017-04-25 | 2 | -2/+6 |
| | | | |||||
* | | | Review comments and cleanup. | chriseth | 2017-04-25 | 4 | -8/+13 |
| | | | |||||
* | | | Remove some errors checks from code generation (was moved to analysis already). | chriseth | 2017-04-25 | 1 | -50/+10 |
| | | | |||||
* | | | Perform stack height checks in assembly analysis phase. | chriseth | 2017-04-25 | 3 | -37/+148 |
| | | | |||||
* | | | Add some missing error locations. | chriseth | 2017-04-25 | 1 | -2/+3 |
| | | | |||||
* | | | Use actual type checking phase of assembler. | chriseth | 2017-04-25 | 8 | -41/+48 |
| | | | |||||
* | | | Split external identifier access into resolving and code generation. | chriseth | 2017-04-25 | 9 | -143/+188 |
| | | | |||||
* | | | Refactor assembly analysis into scope filling and checking. | chriseth | 2017-04-25 | 8 | -236/+615 |
| | | | |||||
* | | | Register functions. | chriseth | 2017-04-25 | 3 | -33/+90 |
|/ / | |||||
* | | Merge pull request #2164 from ethereum/jsonio-catch-internal-exceptions | chriseth | 2017-04-25 | 1 | -0/+12 |
|\ \ | | | | | | | JSON IO catch internal exceptions | ||||
| * | | Catch jsoncpp exceptions | Alex Beregszaszi | 2017-04-25 | 1 | -0/+8 |
| | | | |||||
| * | | Do not crash on invalid JSON input | Alex Beregszaszi | 2017-04-25 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #2152 from ethereum/warnRevert | chriseth | 2017-04-25 | 3 | -2/+11 |
|\ \ \ | |/ / |/| | | Warn about side-effect free statements. | ||||
| * | | Change error message. | chriseth | 2017-04-21 | 1 | -1/+1 |
| | | | |||||
| * | | Warn about side-effect free statements. | chriseth | 2017-04-21 | 3 | -2/+11 |
| | | | |||||
* | | | Merge pull request #2161 from ethereum/jsonio-cleanup | chriseth | 2017-04-24 | 2 | -8/+12 |
|\ \ \ | | | | | | | | | Small cleanups to JSON IO | ||||
| * | | | Do not fail if parsing failed in StandardCompiler | Alex Beregszaszi | 2017-04-24 | 1 | -1/+1 |
| | | | | |||||
| * | | | Change error type names to not include spaces | Alex Beregszaszi | 2017-04-24 | 1 | -6/+6 |
| | | | | |||||
| * | | | Be a bit more verbose and capture Boost exceptions in StandardCompiler | Alex Beregszaszi | 2017-04-24 | 1 | -1/+5 |
| | | | | |||||
* | | | | Merge pull request #2159 from ethereum/jsonio-source-verify | chriseth | 2017-04-24 | 1 | -4/+45 |
|\ \ \ \ | |/ / / |/| | | | Verify supplied hash in JSON I/O | ||||
| * | | | Verify supplied hash in JSON I/O | Alex Beregszaszi | 2017-04-24 | 1 | -4/+45 |
| | | | | |||||
* | | | | Document that the ReadFileCallback should not emit exceptions | Alex Beregszaszi | 2017-04-22 | 2 | -2/+4 |
|/ / / | |||||
* | | | Changed const reference to value. | chriseth | 2017-04-22 | 1 | -1/+1 |
| | | | |||||
* | | | Support URL sources in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 2 | -3/+35 |
|/ / | |||||
* | | Rename ast to legacyAST in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -1/+1 |
| | | |||||
* | | Ensure the language field is present in the JSON | Alex Beregszaszi | 2017-04-21 | 1 | -0/+6 |
| | | |||||
* | | Pull out collectEVMObject | Alex Beregszaszi | 2017-04-21 | 1 | -17/+19 |
| | | |||||
* | | Enclose local functions in a namespace | Alex Beregszaszi | 2017-04-21 | 1 | -0/+4 |
| | | |||||
* | | Support Why3 in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+24 |
| | | |||||
* | | Support gas estimates in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -1/+1 |
| | | |||||
* | | Reject import URLs for now | Alex Beregszaszi | 2017-04-21 | 1 | -1/+6 |
| | | |||||
* | | Support the metadata.useLiteralContent setting | Alex Beregszaszi | 2017-04-21 | 1 | -0/+3 |
| | | |||||
* | | Properly split contract filename and name | Alex Beregszaszi | 2017-04-21 | 1 | -3/+10 |
| | | |||||
* | | Support linkReferences | Alex Beregszaszi | 2017-04-21 | 1 | -2/+29 |
| | | |||||
* | | Support new assembly output | Alex Beregszaszi | 2017-04-21 | 1 | -3/+4 |
| | | |||||
* | | Move opcodes inside the bytecode section | Alex Beregszaszi | 2017-04-21 | 1 | -1/+2 |
| | | |||||
* | | Support methodIdentifiers | Alex Beregszaszi | 2017-04-21 | 1 | -1/+9 |
| | | |||||
* | | Support proper error reporting in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -18/+104 |
| | | |||||
* | | Refactor formatError | Alex Beregszaszi | 2017-04-21 | 1 | -6/+19 |
| | | |||||
* | | Fail if no sources are given | Alex Beregszaszi | 2017-04-21 | 1 | -4/+1 |
| | | |||||
* | | Support the AST output | Alex Beregszaszi | 2017-04-21 | 1 | -1/+2 |
| | | |||||
* | | Include source mapping identifier | Alex Beregszaszi | 2017-04-21 | 1 | -0/+10 |
| | | |||||
* | | Output legacyAssembly in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -1/+12 |
| | | |||||
* | | Capture error messages from the JSON parser | Alex Beregszaszi | 2017-04-21 | 1 | -2/+8 |
| | | |||||
* | | Add formatFatalError() to StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+15 |
| | | |||||
* | | Parse remappings in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+5 |
| | | |||||
* | | Parse libraries in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+8 |
| | | |||||
* | | Parse optimizer settings in StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -3/+6 |
| | | |||||
* | | Catch exceptions of StandardCompiler | Alex Beregszaszi | 2017-04-21 | 2 | -1/+15 |
| | | |||||
* | | Initial implementation of StandardCompiler | Alex Beregszaszi | 2017-04-21 | 1 | -0/+132 |
| | | |||||
* | | Add StandardCompiler skeleton | Alex Beregszaszi | 2017-04-21 | 2 | -0/+90 |
| | | |||||
* | | Fix source index allocation in CompilerStack. Depending on ↵ | Alex Beregszaszi | 2017-04-21 | 1 | -1/+2 |
| | | | | | | | | compiler(optimisations) this could be off-by-one. | ||||
* | | Merge pull request #2117 from ethereum/implementAsmOut | Yoichi Hirai | 2017-04-19 | 1 | -1/+1 |
|\ \ | | | | | | | Implement missing assembly output functions and do not use PushString for assembly. | ||||
| * | | Implement missing assembly output functions and do not use PushString for ↵ | chriseth | 2017-04-12 | 1 | -1/+1 |
| | | | | | | | | | | | | assembly. | ||||
* | | | Keep gas values as a string in CompilerStack::gasEstimate | Alex Beregszaszi | 2017-04-13 | 1 | -3/+3 |
| | | | |||||
* | | | Exclude fallback function from the internal functions in estimateGas | Alex Beregszaszi | 2017-04-13 | 1 | -1/+2 |
| | | | |||||
* | | | Move gasEstimate into CompilerStack | Alex Beregszaszi | 2017-04-13 | 2 | -0/+88 |
|/ / | |||||
* | | Merge pull request #2098 from ethereum/sourceformatter | Alex Beregszaszi | 2017-04-10 | 1 | -0/+11 |
|\ \ | | | | | | | Introduce formatExceptionInformation | ||||
| * | | Introduce formatExceptionInformation | Alex Beregszaszi | 2017-04-10 | 1 | -0/+11 |
| |/ | |||||
* / | Pull out ReadFile from CompilerStack | Alex Beregszaszi | 2017-04-10 | 3 | -13/+50 |
|/ | |||||
* | 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 |
| | |||||
* | Factor out tokenToContractKind | Alex Beregszaszi | 2017-03-18 | 2 | -15/+18 |
| | |||||
* | Reject invalid definitions for interface contracts | Alex Beregszaszi | 2017-03-18 | 1 | -0/+13 |
| | |||||
* | Support interface (contract) keyword in the parser | Alex Beregszaszi | 2017-03-18 | 3 | -6/+22 |
| | |||||
* | Add ContractKind to ContractDefinition | Alex Beregszaszi | 2017-03-18 | 2 | -5/+9 |
| | |||||
* | Merge pull request #1773 from ethereum/ASTEntry | chriseth | 2017-03-18 | 2 | -3/+50 |
|\ | | | | | Ast entry | ||||
| * | Comment. | chriseth | 2017-03-17 | 2 | -2/+2 |
| | | |||||
| * | AST entry for VariableDeclaration | djudjuu | 2017-03-16 | 2 | -3/+50 |
| | | |||||
* | | Merge pull request #1792 from ethereum/function-kind | chriseth | 2017-03-17 | 8 | -226/+222 |
|\ \ | | | | | | | Rename FunctionType::Location to Kind | ||||
| * | | Change references to FunctionType::Location | Alex Beregszaszi | 2017-03-16 | 7 | -126/+123 |
| | | | |||||
| * | | Rename FunctionType::Location to FunctionType::Kind | Alex Beregszaszi | 2017-03-16 | 2 | -100/+99 |
| |/ | |||||
* / | Rename ErrorMesage to ErrorMessage | Alex Beregszaszi | 2017-03-17 | 2 | -3/+3 |
|/ | |||||
* | Merge pull request #1698 from ethereum/exp-notation | chriseth | 2017-03-15 | 2 | -27/+91 |
|\ | | | | | Fix scientific notation in number literals | ||||
| * | Split out parseRational from isValidLiteral | Alex Beregszaszi | 2017-03-15 | 2 | -32/+58 |
| | | |||||
| * | Rename x to value | Alex Beregszaszi | 2017-03-15 | 1 | -16/+17 |
| | | |||||
| * | Disallow radix points in hex literals | Alex Beregszaszi | 2017-03-15 | 1 | -1/+6 |
| | | |||||
| * | Do not try parsing hex numbers as scientific notation | Alex Beregszaszi | 2017-03-15 | 1 | -1/+2 |
| | | |||||
| * | Support older version of boost | Alex Beregszaszi | 2017-03-15 | 1 | -1/+4 |
| | | |||||
| * | Support negative exponent | Alex Beregszaszi | 2017-03-15 | 1 | -6/+11 |
| | | |||||
| * | Fix exponentional notation in number literals | Alex Beregszaszi | 2017-03-15 | 1 | -4/+27 |
| | | |||||
* | | 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 | 4 | -18/+80 |
|\ \ | | | | | | | 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 | 4 | -18/+68 |
| | | | |||||
* | | | Require and Assert. | chriseth | 2017-03-14 | 3 | -6/+12 |
|/ / | |||||
* | | 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 |
| | | |||||
* | | Fix 'ambiguous overload for operator==' Boost error. | Ryan Casey | 2017-03-10 | 1 | -5/+5 |
| | | |||||
* | | 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 | 5 | -26/+30 |
|\ \ | | | | | | | Move privateness of constructor into AST itself. | ||||
| * | | Move public constructor property into AST itself. | chriseth | 2017-03-06 | 5 | -6/+10 |
| | | | |||||
| * | | Strict checking for AST annotation types. | chriseth | 2017-03-06 | 1 | -20/+20 |
| | | | |||||
* | | | 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 #1750 from ethereum/asmoctal | Yoichi Hirai | 2017-03-08 | 1 | -0/+3 |
|\ \ \ | | | | | | | | | Disallow octal numbers in parser. | ||||
| * | | | Disallow octal literals. | chriseth | 2017-03-07 | 1 | -0/+3 |
| |/ / | |||||
* | | | Merge pull request #1699 from ethereum/asmlabels | Yoichi Hirai | 2017-03-08 | 7 | -149/+518 |
|\ \ \ | | | | | | | | | Assembly labels with stack information | ||||
| * | | | Fix error message. | chriseth | 2017-03-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | Remove stack annotations again. | chriseth | 2017-03-03 | 6 | -95/+4 |
| | | | | |||||
| * | | | First reset stack height, then register variables. | chriseth | 2017-03-03 | 1 | -9/+10 |
| | | | | |||||
| * | | | Move lambda. | chriseth | 2017-03-03 | 1 | -3/+9 |
| | | | | |||||
| * | | | Slightly cleaner label ids. | chriseth | 2017-03-03 | 3 | -17/+20 |
| | | | | |||||
| * | | | Partially add functions. | chriseth | 2017-03-03 | 3 | -10/+69 |
| | | | | |||||
| * | | | Generic visitor. | chriseth | 2017-03-03 | 1 | -37/+28 |
| | | | | |||||
| * | | | Refactor variable access. | chriseth | 2017-03-03 | 1 | -40/+30 |
| | | | | |||||
| * | | | Refactor CodeGen to recurse on blocks. | chriseth | 2017-03-03 | 4 | -75/+97 |
| | | | | |||||
| * | | | Analysis refactoring. | chriseth | 2017-03-03 | 7 | -115/+466 |
| | | | | |||||
| * | | | Parsing of labels with stack info. | chriseth | 2017-03-03 | 4 | -3/+40 |
| | | | | |||||
* | | | | Merge pull request #1733 from ethereum/selfReferentialConstant | chriseth | 2017-03-07 | 4 | -0/+189 |
|\ \ \ \ | | | | | | | | | | | Detect cyclic dependencies between constants. | ||||
| * | | | | Check for circular references in constant variables. | chriseth | 2017-03-06 | 4 | -0/+189 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #1737 from ethereum/localmappings | chriseth | 2017-03-06 | 3 | -4/+17 |
|\ \ \ \ | |/ / / |/| | | | Disallow uninitialized mapping variables. | ||||
| * | | | Disallow uninitialized mapping variables. | chriseth | 2017-03-06 | 1 | -2/+5 |
| | | | | |||||
| * | | | Error constructor. | chriseth | 2017-03-06 | 2 | -2/+12 |
| | |/ | |/| | |||||
* / | | Mention way to remove warning. | chriseth | 2017-03-06 | 1 | -1/+5 |
|/ / | |||||
* | | Merge pull request #1702 from ethereum/assertError | Yoichi Hirai | 2017-03-04 | 2 | -5/+5 |
|\ \ | |/ |/| | Change effect of assert to invalid opcode. | ||||
| * | Remove assert for now. | chriseth | 2017-02-24 | 1 | -2/+3 |
| | | |||||
| * | Change effect of assert to invalid opcode. | chriseth | 2017-02-16 | 1 | -3/+2 |
| | | |||||
* | | Disallow variable declaration with inferred empty tuple type. | chriseth | 2017-03-02 | 1 | -0/+5 |
| | | |||||
* | | Merge pull request #1728 from ethereum/externalfunctiontypes | chriseth | 2017-03-02 | 1 | -1/+1 |
|\ \ | | | | | | | Convert reference types to pointers in member function conversion. | ||||
| * | | Convert reference types to pointers in member function conversion. | chriseth | 2017-03-01 | 1 | -1/+1 |
| | | | |||||
* | | | Add line info to serious exceptions. | chriseth | 2017-02-25 | 1 | -0/+14 |
|/ / | |||||
* | | Merge pull request #1700 from ethereum/fixNoMobile | chriseth | 2017-02-24 | 2 | -2/+8 |
|\ \ | | | | | | | Some checks for the existence of mobile type. | ||||
| * \ | Merge branch 'develop' into fixNoMobile | chriseth | 2017-02-24 | 12 | -115/+224 |
| |\ \ | |||||
| * | | | Some checks for the existence of mobile type. | chriseth | 2017-02-16 | 2 | -2/+8 |
| | |/ | |/| | |||||
* | | | Disallow setting .gas() on .transfer() | Alex Beregszaszi | 2017-02-24 | 2 | -10/+5 |
| | | | |||||
* | | | Do not keep the gas stipend if sending non-zero value | Alex Beregszaszi | 2017-02-24 | 1 | -1/+1 |
| | | | |||||
* | | | Support gas modifier on addr.transfer() | Alex Beregszaszi | 2017-02-24 | 2 | -2/+4 |
| | | | |||||
* | | | Implement address.transfer() | Alex Beregszaszi | 2017-02-24 | 3 | -5/+19 |
| |/ |/| | |||||
* | | Deposit one stack item for non-value types in inline assembly type checking. | chriseth | 2017-02-20 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1627 from ethereum/asmfunctions | chriseth | 2017-02-17 | 6 | -41/+137 |
|\ \ | | | | | | | Parsing assembly function definitions and calls. | ||||
| * | | Assembly printer for functions. | chriseth | 2017-02-16 | 2 | -0/+20 |
| | | | |||||
| * | | Parsing function calls. | chriseth | 2017-02-16 | 4 | -37/+64 |
| | | | |||||
| * | | Parsing function definitions. | chriseth | 2017-02-16 | 4 | -6/+55 |
| |/ | |||||
* / | Fix early exist for fatal errors. | chriseth | 2017-02-16 | 5 | -73/+86 |
|/ | |||||
* | Assembly printing fixes. | chriseth | 2017-02-14 | 1 | -5/+5 |
| | |||||
* | Review changes. | chriseth | 2017-02-14 | 3 | -4/+4 |
| | |||||
* | Assembly printer. | chriseth | 2017-02-14 | 4 | -4/+204 |
| | |||||
* | 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 | 4 | -3/+13 |
| | |||||
* | 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 |
| | |||||
* | Use the revert opcode in assert() | Alex Beregszaszi | 2017-02-11 | 1 | -2/+8 |
| | |||||
* | Use the REVERT opcode for throw; | Alex Beregszaszi | 2017-02-11 | 1 | -1/+3 |
| | |||||
* | Support revert() | Alex Beregszaszi | 2017-02-11 | 4 | -1/+10 |
| | |||||
* | Cleanup is not needed for assert() | Alex Beregszaszi | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | Implement assert as a global function | Alex Beregszaszi | 2017-02-10 | 3 | -4/+15 |
| | |||||
* | Rename SUICIDE opcode to SELFDESTRUCT in libevmasm | Alex Beregszaszi | 2017-02-07 | 2 | -3/+3 |
| | |||||
* | Warn early when exhausting stack | Alex Beregszaszi | 2017-02-02 | 1 | -0/+1 |
| | |||||
* | Disallow arrays with negative length | Alex Beregszaszi | 2017-02-02 | 1 | -0/+2 |
| | |||||
* | Add isNegative to RationalNumberType | Alex Beregszaszi | 2017-02-02 | 1 | -0/+3 |
| | |||||
* | Only capture function type to address conversion | Alex Beregszaszi | 2017-02-01 | 1 | -8/+10 |
| | |||||
* | Be more verbose on the stack-mismatch errors | Alex Beregszaszi | 2017-02-01 | 1 | -1/+1 |
| | |||||
* | Support explicit conversion of external function type to address | Alex Beregszaszi | 2017-02-01 | 4 | -1/+25 |
| | |||||
* | Merge pull request #1598 from wuestholz/develop | chriseth | 2017-01-27 | 6 | -18/+61 |
|\ | | | | | Change translation of implicit throws | ||||
| * | Changelog and review suggestions. | chriseth | 2017-01-27 | 1 | -1/+1 |
| | | |||||
| * | Uninitialized internal function should call INVALID. | chriseth | 2017-01-26 | 1 | -1/+3 |
| | | |||||
| * | Allow inserting low-level functions without calling them. | chriseth | 2017-01-26 | 2 | -5/+26 |
| | | |||||
| * | Split line. | chriseth | 2017-01-26 | 1 | -1/+3 |
| | | |||||
| * | Address feedback from code review. | Valentin Wüstholz | 2017-01-26 | 2 | -6/+6 |
| | | |||||
| * | Change translation of implicit throws (issue #1589). | Valentin Wüstholz | 2017-01-26 | 6 | -13/+31 |
| | | | | | | | | | | | | | | This adds a new invalid instruction that is used for encoding implicit throws that are emitted by the compiler. This makes it possible to distinguish such runtime errors from user-provided, explicit throws. | ||||
* | | Merge pull request #1451 from LefterisJP/fix_build | chriseth | 2017-01-27 | 1 | -16/+54 |
|\ \ | | | | | | | Accept any kind of whitespace after natspec tags | ||||
| * | | Minor changes. | chriseth | 2017-01-27 | 1 | -19/+17 |
| | | | |||||
| * | | More verbose function naming | Lefteris Karapetsas | 2017-01-27 | 1 | -2/+2 |
| | | | |||||
| * | | Doc tags followed by newline are now parsed properly | Lefteris Karapetsas | 2017-01-27 | 1 | -1/+1 |
| | | | |||||
| * | | Fix and better output for tests | Lefteris Karapetsas | 2017-01-25 | 1 | -0/+6 |
| | | | |||||
| * | | Accept any kind of whitespace after natspec tags | Lefteris Karapetsas | 2017-01-25 | 1 | -13/+47 |
| | | | |||||
* | | | Refactor json return type generation. | chriseth | 2017-01-27 | 4 | -40/+38 |
| |/ |/| | |||||
* | | Merge pull request #1604 from ethereum/checksums | Alex Beregszaszi | 2017-01-26 | 6 | -2/+47 |
|\ \ | | | | | | | Warn about invalid checksums of addresses. | ||||
| * | | Also check library addresses. | chriseth | 2017-01-25 | 1 | -21/+1 |
| | | | |||||
| * | | Warn about invalid checksums of addresses. | chriseth | 2017-01-25 | 6 | -2/+67 |
| |/ | |||||
* | | Add option to store literal sources in metadata | Alex Beregszaszi | 2017-01-26 | 2 | -4/+11 |
| | | |||||
* | | Update error message. | chriseth | 2017-01-26 | 1 | -1/+1 |
| | | |||||
* | | Disallow assignment to non-identifiers. | chriseth | 2017-01-26 | 1 | -0/+2 |
| | |