Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations | Alex Beregszaszi | 2017-08-04 | 2 | -3/+4 |
| | |||||
* | Disallow gas modifier on sha255/ripemd160/ecrecover | Alex Beregszaszi | 2017-08-02 | 1 | -3/+0 |
| | |||||
* | Rename Bare to Barecall | Alex Beregszaszi | 2017-08-01 | 2 | -6/+6 |
| | |||||
* | Disallow externalSignature for fallback functions | Alex Beregszaszi | 2017-07-28 | 1 | -0/+1 |
| | |||||
* | Add isFallback() helper | Alex Beregszaszi | 2017-07-28 | 2 | -3/+4 |
| | |||||
* | Merge pull request #2645 from ethereum/asserts | Alex Beregszaszi | 2017-07-27 | 4 | -32/+19 |
|\ | | | | | Use solAssert where possible | ||||
| * | Use solAssert instead of boost throw where possible | Alex Beregszaszi | 2017-07-27 | 4 | -32/+19 |
| | | |||||
* | | Merge pull request #2566 from ethereum/metadata-only-relevant | chriseth | 2017-07-27 | 2 | -2/+30 |
|\ \ | |/ |/| | Metadata: only include relevant files in the source list | ||||
| * | Add template for merging sets | Alex Beregszaszi | 2017-07-19 | 1 | -4/+1 |
| | | |||||
| * | Avoid cyclic imports in referencedSourceUnits | Alex Beregszaszi | 2017-07-19 | 2 | -6/+11 |
| | | |||||
| * | Add option to recurse referencedSourceUnits | Alex Beregszaszi | 2017-07-19 | 2 | -5/+10 |
| | | |||||
| * | Add referencedSourceUnits() helper | Alex Beregszaszi | 2017-07-19 | 2 | -0/+13 |
| | | |||||
| * | Add sourceUnit() helper to Declaration | Alex Beregszaszi | 2017-07-19 | 2 | -2/+10 |
| | | |||||
* | | Cleanup fixed point type changes | chriseth | 2017-07-20 | 2 | -60/+36 |
| | | |||||
* | | Change fixed point types to have digit count | VoR0220 | 2017-07-20 | 2 | -51/+73 |
|/ | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Mark modifiers as internal | Alex Beregszaszi | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | Issue error properly for oversized arrays for calldata | Alex Beregszaszi | 2017-07-14 | 2 | -1/+17 |
| | |||||
* | Merge pull request #2567 from ethereum/refactorExceptions | chriseth | 2017-07-13 | 1 | -6/+11 |
|\ | | | | | Refactor exceptions and provide comment function. | ||||
| * | Refactor exceptions and provide comment function. | chriseth | 2017-07-13 | 1 | -6/+11 |
| | | |||||
* | | Add type error when attempting value transfer to a non-payable contract | Federico Bond | 2017-07-13 | 2 | -0/+10 |
|/ | |||||
* | Merge pull request #2501 from ethereum/undef-macros | chriseth | 2017-07-12 | 1 | -1/+0 |
|\ | | | | | Move UndefMacros from libdevcore to libsolidity/parsing | ||||
| * | Move UndefMacros from libdevcore to libsolidity/parsing | Alex Beregszaszi | 2017-07-02 | 1 | -1/+0 |
| | | |||||
* | | Helper functions. | chriseth | 2017-07-11 | 4 | -0/+40 |
|/ | |||||
* | Use boost::starts_with | Alex Beregszaszi | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | Rename to isHexNumber() | Alex Beregszaszi | 2017-06-29 | 2 | -4/+4 |
| | |||||
* | Add hasHexPrefix() to AST::Literal | Alex Beregszaszi | 2017-06-28 | 2 | -6/+15 |
| | |||||
* | Only allow equality checks for internal function types. | chriseth | 2017-06-26 | 1 | -1/+1 |
| | |||||
* | Disallow comparisons between some types. | chriseth | 2017-06-26 | 2 | -5/+14 |
| | |||||
* | Fix strings interpreted as addresses. | chriseth | 2017-06-22 | 1 | -0/+2 |
| | |||||
* | Merge interface/Exceptions and interface/Utils | Alex Beregszaszi | 2017-06-22 | 5 | -6/+0 |
| | |||||
* | Merge pull request #2331 from ethereum/ASTDocumentationEntry | chriseth | 2017-06-14 | 1 | -0/+1 |
|\ | | | | | documentation field added to ContractDefinition-Node | ||||
| * | documentation field added to ContractDefinition-Node | djudjuu | 2017-05-31 | 1 | -0/+1 |
| | | |||||
* | | adjusted testcase and renaming | djudjuu | 2017-06-06 | 2 | -5/+3 |
| | | |||||
* | | fix Literalprint | djudjuu | 2017-05-31 | 2 | -2/+20 |
|/ | |||||
* | Merge pull request #2301 from ethereum/ASTFunctionTypeFix | chriseth | 2017-05-24 | 2 | -2/+4 |
|\ | | | | | insert ParameterList-node in FunctionType-json | ||||
| * | insert ParameterList-node in FunctionType-json | djudjuu | 2017-05-24 | 2 | -2/+4 |
| | | |||||
* | | Fix AST JSON converter type lookup | Alex Beregszaszi | 2017-05-24 | 1 | -1/+1 |
|/ | |||||
* | minor fixes and changelog update | djudjuu | 2017-05-22 | 1 | -1/+1 |
| | |||||
* | refactoring functionCallAnnotation | djudjuu | 2017-05-19 | 3 | -11/+38 |
| | |||||
* | testsuite adjustment | djudjuu | 2017-05-19 | 1 | -4/+4 |
| | |||||
* | include new InlineAssemblyInformation into JSON | djudjuu | 2017-05-17 | 2 | -2/+13 |
| | |||||
* | prefixChanges and contractKind-field | djuju | 2017-05-17 | 2 | -13/+24 |
| | |||||
* | fixed styletypos, renaming and added helperfunction | djuju | 2017-05-17 | 2 | -36/+40 |
| | |||||
* | Use different AST node names in legacy and new format | Alex Beregszaszi | 2017-05-17 | 1 | -9/+9 |
| | |||||
* | Compact format for AST-Json with backwards compatibility | chriseth | 2017-05-17 | 4 | -449/+472 |
| | |||||
* | Refactor to combined scope and stack height info. | chriseth | 2017-04-26 | 1 | -6/+6 |
| | |||||
* | Storage access from inline assembly. | chriseth | 2017-04-25 | 1 | -0/+2 |
| | |||||
* | Move analysis out of code generator. | chriseth | 2017-04-25 | 1 | -0/+4 |
| | |||||
* | Split external identifier access into resolving and code generation. | chriseth | 2017-04-25 | 1 | -2/+8 |
| | |||||
* | Add ContractKind to ContractDefinition | Alex Beregszaszi | 2017-03-18 | 1 | -4/+8 |
| | |||||
* | 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 |
| | | |||||
* | | Change references to FunctionType::Location | Alex Beregszaszi | 2017-03-16 | 1 | -8/+8 |
| | | |||||
* | | Rename FunctionType::Location to FunctionType::Kind | Alex Beregszaszi | 2017-03-16 | 2 | -100/+99 |
|/ | |||||
* | 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 |
| | | |||||
* | | Merge pull request #1729 from ethereum/constantvariables | Yoichi Hirai | 2017-03-15 | 3 | -0/+18 |
|\ \ | | | | | | | Only allow pure expressions for constant state variables. | ||||
| * | | Type checking for pure expressions. | chriseth | 2017-03-13 | 3 | -0/+18 |
| |/ | |||||
* / | Require and Assert. | chriseth | 2017-03-14 | 1 | -1/+2 |
|/ | |||||
* | Fix 'ambiguous overload for operator==' Boost error. | Ryan Casey | 2017-03-10 | 1 | -5/+5 |
| | |||||
* | Move public constructor property into AST itself. | chriseth | 2017-03-06 | 3 | -2/+8 |
| | |||||
* | Strict checking for AST annotation types. | chriseth | 2017-03-06 | 1 | -20/+20 |
| | |||||
* | Convert reference types to pointers in member function conversion. | chriseth | 2017-03-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1700 from ethereum/fixNoMobile | chriseth | 2017-02-24 | 1 | -2/+5 |
|\ | | | | | Some checks for the existence of mobile type. | ||||
| * | Merge branch 'develop' into fixNoMobile | chriseth | 2017-02-24 | 1 | -0/+4 |
| |\ | |||||
| * | | Some checks for the existence of mobile type. | chriseth | 2017-02-16 | 1 | -2/+5 |
| | | | |||||
* | | | Disallow setting .gas() on .transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -2/+1 |
| | | | |||||
* | | | Support gas modifier on addr.transfer() | Alex Beregszaszi | 2017-02-24 | 1 | -1/+2 |
| | | | |||||
* | | | Implement address.transfer() | Alex Beregszaszi | 2017-02-24 | 2 | -1/+4 |
| |/ |/| | |||||
* | | Fix early exist for fatal errors. | chriseth | 2017-02-16 | 1 | -0/+4 |
|/ | |||||
* | Support revert() | Alex Beregszaszi | 2017-02-11 | 2 | -0/+2 |
| | |||||
* | Implement assert as a global function | Alex Beregszaszi | 2017-02-10 | 1 | -3/+4 |
| | |||||
* | Add isNegative to RationalNumberType | Alex Beregszaszi | 2017-02-02 | 1 | -0/+3 |
| | |||||
* | Support explicit conversion of external function type to address | Alex Beregszaszi | 2017-02-01 | 2 | -0/+12 |
| | |||||
* | Refactor json return type generation. | chriseth | 2017-01-27 | 2 | -20/+0 |
| | |||||
* | Also check library addresses. | chriseth | 2017-01-25 | 1 | -21/+1 |
| | |||||
* | Warn about invalid checksums of addresses. | chriseth | 2017-01-25 | 4 | -2/+56 |
| | |||||
* | Check if constructor is public or not. | chriseth | 2017-01-21 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1576 from ethereum/typeIdentifiers | Yoichi Hirai | 2017-01-20 | 4 | -20/+290 |
|\ | | | | | Type identifiers. | ||||
| * | Make m_id const. | chriseth | 2017-01-20 | 1 | -1/+1 |
| | | |||||
| * | Reset AST node IDs between compilation runs. | chriseth | 2017-01-20 | 3 | -5/+26 |
| | | |||||
| * | Properly escape user strings and lists. | chriseth | 2017-01-19 | 2 | -44/+86 |
| | | |||||
| * | Type identifiers. | chriseth | 2017-01-19 | 2 | -3/+210 |
| | | |||||
* | | Fix default function type name visibility. | chriseth | 2017-01-19 | 1 | -1/+4 |
|/ | |||||
* | Fix typo in comment | Federico Bond | 2017-01-18 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1581 from ethereum/fixosx | chriseth | 2017-01-18 | 1 | -2/+2 |
|\ | | | | | Fix JSON output on macos. | ||||
| * | Fix JSON output on macos. | chriseth | 2017-01-18 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #1397 from roadriverrail/contract_collision | chriseth | 2017-01-18 | 2 | -1/+1 |
|\ \ | |/ |/| | Error out when contracts collide on name | ||||
| * | Move fullyQualified() name to Declaration | Rhett Aultman | 2017-01-17 | 2 | -10/+1 |
| | | |||||
| * | Stylistic corrections | Rhett Aultman | 2017-01-17 | 1 | -1/+1 |
| | | |||||
| * | Drop ':' if the source file name is empty | Rhett Aultman | 2017-01-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | A large number of tests compile contracts while passing in an empty string for the source name. This leads to it being keyed by the name ":<contract>", while the tests try to look it up under the name "<contract>". This change resolves that issue by dropping the ':' in cases where there is, effectively, no source file to prepend anyway. | ||||
| * | Only avoid collision if it's the same file | Rhett Aultman | 2017-01-17 | 2 | -0/+8 |
| | | | | | | | | | | | | | | | | | | @chriseth had suggested that it would be better if contracts were referenced in a file:contract notation, and that we output .bin files that prepend original path names if necessary to avoid a collision. This commit is mostly a draft; it still needs to be run through the test suite. | ||||
* | | Deterministic AST node identifiers. | chriseth | 2017-01-17 | 3 | -2/+8 |
|/ | |||||
* | ast: events have FunctionType too | Yoichi Hirai | 2017-01-12 | 2 | -8/+17 |
| | |||||
* | ast: add Declaration::functionType() | Yoichi Hirai | 2017-01-12 | 2 | -0/+73 |
| | |||||
* | ast, codegen: enable accessing events through contract names. | Yoichi Hirai | 2017-01-03 | 1 | -0/+3 |
| | | | | Fixes #1286 | ||||
* | Merge pull request #1503 from federicobond/json-visibility | Yoichi Hirai | 2016-12-15 | 2 | -7/+22 |
|\ | | | | | Include visibility level for functions in AST | ||||
| * | Include visibility level for functions in AST | Federico Bond | 2016-12-13 | 2 | -7/+22 |
| | | |||||
* | | Merge pull request #1487 from ethereum/shift-ops | Yoichi Hirai | 2016-12-14 | 1 | -0/+32 |
|\ \ | | | | | | | Shift operators | ||||
| * | | Cleaner shift handling and type conversion for binary operations. | chriseth | 2016-12-12 | 1 | -30/+20 |
| | | | |||||
| * | | Type after shift should be type of left operand. | chriseth | 2016-12-12 | 1 | -5/+42 |
| | | | |||||
| * | | Support bitshifting in variables | Alex Beregszaszi | 2016-12-12 | 1 | -0/+5 |
| |/ | |||||
* / | Improve error message when trying to modify constant variables | Federico Bond | 2016-12-13 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #1464 from federicobond/warn-msgvalue | chriseth | 2016-12-11 | 1 | -0/+2 |
|\ | | | | | Warn about using msg.value in non-payable function | ||||
| * | Warn about using msg.value in non-payable function | Federico Bond | 2016-12-09 | 1 | -0/+2 |
| | | |||||
* | | Fix names of JSON AST nodes | Federico Bond | 2016-12-11 | 1 | -2/+2 |
|/ | |||||
* | Add swarm hash to the end of the bytecode. | chriseth | 2016-12-01 | 1 | -0/+1 |
| | |||||
* | Metadata stamp. | chriseth | 2016-12-01 | 2 | -0/+12 |
| | |||||
* | Rename dev::validate to dev::validateUTF8 | Alex Beregszaszi | 2016-11-29 | 2 | -3/+3 |
| | |||||
* | Make position optional in dev::validate | Alex Beregszaszi | 2016-11-29 | 2 | -4/+2 |
| | |||||
* | Indentation. | chriseth | 2016-11-25 | 1 | -1/+1 |
| | |||||
* | ast: string literals that are not valid UTF are not convertible to strings | Yoichi Hirai | 2016-11-25 | 2 | -1/+10 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 15 | -60/+60 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Some more assertions and style changes. | chriseth | 2016-11-16 | 1 | -16/+25 |
| | |||||
* | Change encoding to address-funid and add "function" as ABI type. | chriseth | 2016-11-16 | 3 | -3/+9 |
| | |||||
* | Check that no internals are used in any external function type. | chriseth | 2016-11-16 | 2 | -0/+28 |
| | |||||
* | Disallow payable internal functions. | chriseth | 2016-11-16 | 1 | -1/+3 |
| | |||||
* | delete for function types | chriseth | 2016-11-16 | 2 | -0/+8 |
| | |||||
* | Change alignment. | chriseth | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Changelog entry and small fixes. | chriseth | 2016-11-16 | 2 | -5/+8 |
| | |||||
* | Fix some type checks and tests for internal / external function parameters. | chriseth | 2016-11-16 | 1 | -3/+3 |
| | |||||
* | Code generator for function types. | chriseth | 2016-11-16 | 2 | -1/+12 |
| | |||||
* | Function types. | chriseth | 2016-11-16 | 10 | -6/+159 |
| | |||||
* | Move InterfaceHandler from string to JSON | Alex Beregszaszi | 2016-11-15 | 2 | -10/+11 |
| | |||||
* | Print canonical names of structs and enums in AST | Alex Sinyagin | 2016-11-14 | 1 | -2/+2 |
| | |||||
* | ast, codegen: disallow conversion between different enum types | Yoichi Hirai | 2016-11-12 | 1 | -1/+1 |
| | |||||
* | ast: add EnumType::numberOfMembers() | Yoichi Hirai | 2016-11-12 | 2 | -1/+7 |
| | |||||
* | Type checker: move the burden of computing mobile type to commonType | Yoichi Hirai | 2016-11-11 | 1 | -4/+4 |
| | | | | This solves #621 | ||||
* | Add support for do/while loops | Rhett Aultman | 2016-11-10 | 3 | -4/+12 |
| | | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last. | ||||
* | add payable to AST | yann300 | 2016-11-03 | 1 | -1/+2 |
| | |||||
* | ast: ban signed EXP, fixing #1246 | Yoichi Hirai | 2016-10-25 | 1 | -1/+4 |
| | |||||
* | More checks for missing mobile type. | chriseth | 2016-10-24 | 1 | -2/+14 |
| | |||||
* | Fix crash in throw. | chriseth | 2016-10-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1240 from ethereum/1151 | chriseth | 2016-10-24 | 1 | -1/+5 |
|\ | | | | | ast: super contract type does not contain native members | ||||
| * | ast: simplifications suggested by @chriseth | Yoichi Hirai | 2016-10-20 | 1 | -7/+4 |
| | | |||||
| * | When a contract type is super, its members do not contain the functions of ↵ | Yoichi Hirai | 2016-10-20 | 1 | -1/+8 |
| | | | | | | | | | | | | itself Fixes #1151 | ||||
* | | ast: add a null check | Yoichi Hirai | 2016-10-21 | 1 | -0/+1 |
| | | |||||
* | | ast: ContractDefinition::inheritableMembers contains enums as well as structs | Yoichi Hirai | 2016-10-21 | 1 | -0/+3 |
| | | | | | | | | This fixes #1131 | ||||
* | | Support variable references within modifiers for inline assembly | Alex Beregszaszi | 2016-10-21 | 1 | -1/+1 |
|/ | |||||
* | Use >> (SAR) to denote constant shifts | Alex Beregszaszi | 2016-10-20 | 1 | -1/+3 |
| | |||||
* | Reject negative shifts within constants | Alex Beregszaszi | 2016-10-20 | 1 | -4/+8 |
| | |||||
* | Support shifting constants | RJ | 2016-10-20 | 1 | -0/+22 |
| | |||||
* | Omit non-convertible bound functions | Alex Beregszaszi | 2016-10-19 | 1 | -1/+2 |
| | |||||
* | Ensure that bound functions cannot be defined without self type | Alex Beregszaszi | 2016-10-19 | 2 | -2/+11 |
| | |||||
* | `super`'s size on stack is zero, because the expression compiler does not ↵ | Yoichi Hirai | 2016-10-18 | 1 | -0/+1 |
| | | | | | | push an address. This is different from `this`, which is translated to `ADDRESS` instruction. | ||||
* | Check if a fixedBytes fits an integer type | Yoichi Hirai | 2016-10-14 | 1 | -1/+5 |
| | | | | | | before looking up the size of the integer type. Fixes #1150. | ||||
* | Rename dev::sha3 to dev::keccak256 | Alex Beregszaszi | 2016-10-06 | 2 | -2/+2 |
| | |||||
* | Include assert for selfType on bound functions to avoid crash | Alex Beregszaszi | 2016-09-07 | 1 | -1/+2 |
| | |||||
* | Merge pull request #665 from axic/feature/accept-ether | chriseth | 2016-09-06 | 3 | -31/+91 |
|\ | | | | | BREAKING: Add payable modifier | ||||
| * | Change function type to include and propagate payable and constant modifier. | chriseth | 2016-09-06 | 2 | -18/+68 |
| | | |||||
| * | Merged in changes from chriseth/payable | Alex Beregszaszi | 2016-09-06 | 1 | -14/+17 |
| | | |||||
| * | Support payable keyword for functions | Alex Beregszaszi | 2016-09-06 | 3 | -0/+7 |
| | | |||||
* | | Do not emit non-utf8 strings for ast json. | chriseth | 2016-09-02 | 1 | -2/+15 |
|/ | |||||
* | Version pragma. | chriseth | 2016-09-01 | 8 | -0/+74 |
| | |||||
* | JSON AST: Some attribute cleanup. Add linearized base contracts. | chriseth | 2016-08-19 | 2 | -36/+35 |
| | |||||
* | Rename root AST JSON node to SourceUnit | Alex Sinyagin | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | Do not add children to EnumValue and PlaceholderStatement elements in JSON AST | Alex Sinyagin | 2016-08-18 | 1 | -4/+2 |
| | |||||
* | Use the full names for JSON AST nodes | Alex Sinyagin | 2016-08-18 | 1 | -11/+11 |
| | |||||
* | Move creation of the root element of JSON AST to the SourceUnit visitor | Alex Sinyagin | 2016-08-18 | 2 | -5/+18 |
| | |||||
* | Add ast json converter for PlaceholderStatement | Alex Sinyagin | 2016-08-18 | 2 | -0/+13 |
| | |||||
* | Add ast json converter for ArrayTypeName | Alex Sinyagin | 2016-08-18 | 2 | -0/+13 |
| | |||||
* | Add ast json converter for ModifierInvocation and EventDefinition | Alex Sinyagin | 2016-08-18 | 2 | -0/+26 |
| | |||||
* | Add ast json converter for ModifierDefinition | Alex Sinyagin | 2016-08-18 | 2 | -0/+13 |
| | |||||
* | Add ast json converter for EnumValue | Alex Sinyagin | 2016-08-18 | 2 | -0/+13 |
| | |||||
* | Add ast json converter for EnumDefinition | Alex Sinyagin | 2016-08-18 | 2 | -0/+13 |
| | |||||
* | Add ast json converter for UsingForDirective | Alex Sinyagin | 2016-08-18 | 2 | -1/+14 |
| | |||||
* | Add a ast json converter for InheritanceSpecifier | Alex Sinyagin | 2016-08-18 | 2 | -0/+13 |
| | |||||
* | Merge pull request #844 from Denton-L/remove-after | chriseth | 2016-08-12 | 1 | -3/+2 |
|\ | | | | | BREAKING: Remove after | ||||
| * | Remove After from Types.cpp | Denton Liu | 2016-08-11 | 1 | -3/+2 |
| | | |||||
* | | Fix Mapping and InlineAssembly in JSON AST | Alex Sinyagin | 2016-08-12 | 1 | -0/+2 |
| | | |||||
* | | Fix JSON AST structure | Alex Sinyagin | 2016-08-12 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #794 from chriseth/fixastsource | chriseth | 2016-08-10 | 2 | -3/+3 |
|\ | | | | | Fix segfault in ast output. | ||||
| * | Fix segfault in ast output. | chriseth | 2016-08-09 | 2 | -3/+3 |
| | | |||||
* | | Remove dev::utf8 namespace | Alex Beregszaszi | 2016-08-09 | 1 | -1/+1 |
| | | |||||
* | | Use size_t in dev::utf8::validate() | Alex Beregszaszi | 2016-08-09 | 1 | -1/+1 |
| | | |||||
* | | Use utf8::validate in StringLiteral::toString | Alex Beregszaszi | 2016-08-09 | 1 | -0/+6 |
| | | |||||
* | | Move LiteralString::toString from the header | Alex Beregszaszi | 2016-08-09 | 2 | -1/+6 |
|/ | |||||
* | Source location as part of AST. | chriseth | 2016-07-21 | 2 | -56/+83 |
| | |||||
* | Inaccessible dynamic types | chriseth | 2016-06-02 | 2 | -17/+29 |
| | |||||
* | Fixes for invalid cleanups for small types. | chriseth | 2016-05-20 | 2 | -14/+0 |
| | |||||
* | updated docs | VoR0220 | 2016-05-19 | 1 | -4/+13 |
| | | | | | | types reference | ||||
* | explicit conversion and loosening of binary operations on integer and fixed ↵ | VoR0220 | 2016-05-19 | 1 | -24/+11 |
| | | | | | | point types...still other problems fixed some spaces and deleted lines from failing test | ||||
* | current debugging info | VoR0220 | 2016-05-19 | 1 | -2/+20 |
| | |||||
* | Remove unused tests and add asserts for not implemented parts in code ↵ | chriseth | 2016-05-11 | 2 | -5/+4 |
| | | | | | | | | | | | | 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 | -16/+17 |
| | |||||
* | Special case for moving sign bit to fractional part. | chriseth | 2016-05-11 | 1 | -5/+10 |
| | |||||
* | Cleanup. | chriseth | 2016-05-11 | 1 | -14/+19 |
| | |||||
* | Disallow explicit fixed->enum, but allow bytes->fixed. | chriseth | 2016-05-11 | 1 | -1/+1 |
| | |||||
* | Some cleanup. | chriseth | 2016-05-11 | 2 | -60/+32 |
| | |||||
* | Replace "unsigned int" by "unsigned". | chriseth | 2016-05-11 | 1 | -9/+9 |
| | |||||
* | Prefer mobileType() to check rational range. | chriseth | 2016-05-11 | 2 | -10/+5 |
| | |||||
* | reorganized tests and fixed mobile types and implicit conversions of ↵ | VoR0220 | 2016-05-10 | 1 | -80/+85 |
| | | | | | | | | 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 | -126/+85 |
| | | | | | | | | | | | | tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value | ||||
* | changed algorithm for finding bits | VoR0220 | 2016-05-10 | 1 | -29/+37 |
| | |||||
* | much better way of doing modulus | VoR0220 | 2016-05-10 | 1 | -8/+2 |
| | |||||
* | added bytes conversion tests, resolved that, converted to binary scaling, ↵ | VoR0220 | 2016-05-10 | 2 | -60/+69 |
| | | | | | | | | | | | | refactored the find algo to prevent large numbers and take into account integer bytes think we're good on solidity type name resolution now removed couts updates to documentation and more removed couts along with literal value implementation forgot semicolons | ||||
* | fixing modulus and Solidity Name and Type Resolution | VoR0220 | 2016-05-10 | 2 | -11/+9 |
| | | | | | | minor fixes current attempts at binary fixup | ||||
* | changed names for Rational Constants and categories | VoR0220 | 2016-05-10 | 2 | -28/+32 |
| | |||||
* | currently what we have | VoR0220 | 2016-05-10 | 1 | -4/+8 |
| | |||||
* | got exponents up and working with their inverse, changed a few of the ↵ | RJ Catalano | 2016-05-10 | 2 | -37/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error | ||||
* | size capabilities functioning properly for fixed types | RJ Catalano | 2016-05-10 | 1 | -9/+4 |
| | |||||
* | fixed problem with var...probably a conversion problem for fixed in size ↵ | RJ Catalano | 2016-05-10 | 1 | -1/+1 |
| | | | | | | | | capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together | ||||
* | Rational implemented...trying to figure out exponential | RJ Catalano | 2016-05-10 | 1 | -52/+15 |
| | |||||
* | initial work for fixed types...potentially needing a constant literal type ↵ | RJ Catalano | 2016-05-10 | 2 | -80/+461 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this | ||||
* | Allow calling internal functions of libraries. | chriseth | 2016-05-04 | 1 | -26/+41 |
| | | | | | | | | | | | | Internal functions of libraries can be called as if the library were a base contract of the calling contract. As the calling convention for internal functions is to not create a new call context, the code of these functions will be pulled into the context of the caller, duplicating their code. This might pull in code of further internal or even private functions. The use case for such functions is to allow libraries which can operate on memory types such that these types can also be modified in place. | ||||
* | Remove log.h from solidity. | chriseth | 2016-04-12 | 1 | -0/+1 |
| | |||||
* | move libevmcore to solidity | Dimitry | 2016-04-02 | 1 | -1/+1 |
| | |||||
* | Code generation (missing external access and source locations). | chriseth | 2016-03-30 | 3 | -5/+28 |
| | |||||
* | Parsing for inline assembly. | chriseth | 2016-03-30 | 7 | -0/+67 |
| | |||||
* | Do not allow value for delegatecall functions. | chriseth | 2016-03-12 | 1 | -1/+1 |
| | |||||
* | - inline and assembly keywords added | LianaHus | 2016-03-12 | 1 | -1/+1 |
| | | | | - some style fixes | ||||
* | BREAKING: Implement delegatecall and make default for library calls. | chriseth | 2016-03-12 | 2 | -24/+27 |
| | |||||
* | further optimization, splitting function into pieces | RJ Catalano | 2016-02-19 | 1 | -2/+2 |
| | | | | generating strings on the fly, changed name, and added two tests | ||||
* | added const correctness to extract functions in Token | RJ Catalano | 2016-02-19 | 1 | -6/+6 |
| | | | | | | | | | | optimizations added in more elegant solution created for m declaration ubuntu wants to get rid of 0 <= first statement...so I will change returnToken to token | ||||
* | added two functions in Token to handle long identifiers, redid ↵ | RJ Catalano | 2016-02-19 | 1 | -3/+4 |
| | | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser | ||||
* | tests added and changes made | RJ Catalano | 2016-02-19 | 1 | -9/+5 |
| | | | | | | fixed some silly problems in Token.cpp windows error fix | ||||
* | changes to redefine the token list, the scanner, and the parser and how they ↵ | RJ Catalano | 2016-02-19 | 5 | -50/+51 |
| | | | | | | | | pass around variable types of different sizes not ready for change to FixedPoint just yet made this more const correct and added a switch statement for easier reading | ||||
* | style fixes | LianaHus | 2016-02-18 | 1 | -12/+14 |
| | |||||
* | Index access for bytesXX. | chriseth | 2016-02-10 | 2 | -0/+6 |
| | |||||
* | [cond-expr] add visitor related functions | Lu Guanqun | 2016-01-23 | 5 | -0/+32 |
| | |||||
* | [cond-expr] add an AST node | Lu Guanqun | 2016-01-23 | 3 | -0/+50 |
| | |||||
* | fixed assert on EI creation for structs containing only mapping or arrays | LianaHus | 2016-01-16 | 1 | -0/+4 |
| | |||||
* | Allow aliases during import. | chriseth | 2016-01-11 | 1 | -0/+4 |
| | |||||
* | Merge pull request #317 from chriseth/pathsEverywhere | chriseth | 2016-01-04 | 2 | -7/+7 |
|\ | | | | | Use paths instead of simple identifiers wherever possible. | ||||
| * | Use paths instead of simple identifiers wherever possible. | chriseth | 2015-12-22 | 2 | -7/+7 |
| | | |||||
* | | Merge pull request #308 from chriseth/fixoverloadbug | chriseth | 2015-12-21 | 1 | -0/+2 |
|\ \ | | | | | | | Fix bug preventing overloads of different array types. | ||||
| * | | Fix bug preventing overloads of different array types. | chriseth | 2015-12-18 | 1 | -0/+2 |
| |/ | |||||
* / | Add structs and enums to contract types. | chriseth | 2015-12-18 | 1 | -7/+20 |
|/ | |||||
* | Simple aliasing during import. | chriseth | 2015-12-18 | 5 | -42/+112 |
| | |||||
* | Parse complex import directives. | chriseth | 2015-12-18 | 3 | -7/+23 |
| | |||||
* | new tests | RJ Catalano | 2015-12-16 | 1 | -1/+0 |
| | |||||
* | now is compiling and passing soltest...but I think there may be a few more ↵ | RJ Catalano | 2015-12-16 | 1 | -1/+3 |
| | | | | things to do | ||||
* | fixed case statements | RJ Catalano | 2015-12-16 | 1 | -0/+1 |
| | |||||
* | changing Tuple Constructor | RJ Catalano | 2015-12-16 | 1 | -2/+5 |
| | |||||
* | updated attempt...still a bit more work to do but here's what's current | RJ Catalano | 2015-12-16 | 1 | -2/+3 |
|\ | |||||
| * | Inline array declarations complete | RJ Catalano | 2015-12-15 | 1 | -2/+20 |
| | | |||||
* | | Relative paths in import directives. | chriseth | 2015-12-10 | 3 | -0/+14 |
| | | |||||
* | | Source units are independent scopes. | chriseth | 2015-12-10 | 1 | -3/+3 |
|/ | |||||
* | Code generation for calling bound methods. | chriseth | 2015-12-01 | 1 | -0/+4 |
| | |||||
* | Merge pull request #251 from chriseth/bind2 | chriseth | 2015-11-30 | 6 | -205/+319 |
|\ | | | | | Bind library functions to types. | ||||
| * | Also check the object type for bound functions. | chriseth | 2015-11-29 | 3 | -8/+13 |
| | | |||||
| * | Add bound functions to types. | chriseth | 2015-11-29 | 4 | -203/+259 |
| | | |||||
| * | Added the `using x for y` directive. | chriseth | 2015-11-27 | 3 | -0/+53 |
| | |