Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Index and length access for dynamic arrays. | Christian | 2015-02-24 | 1 | -1/+11 |
| | |||||
* | Allow conversion to dynamic arrays and update grammar. | Christian | 2015-02-22 | 1 | -1/+21 |
| | |||||
* | Index access. | Christian | 2015-02-21 | 1 | -7/+22 |
| | |||||
* | Inline member initialisation | Liana Husikyan | 2015-02-21 | 1 | -7/+15 |
| | | | | | renamed VariableDefinition class to VariableDeclarationStatement added tests | ||||
* | Bugfix for functions override | Lefteris Karapetsas | 2015-02-20 | 1 | -15/+4 |
| | | | | | | | - Functions with byte array type parameters can now be safely overriden. Parameter location is now set at the right place. - Also made a test for the fix | ||||
* | Calldata byte arrays stored on the stack. | Christian | 2015-02-17 | 1 | -0/+9 |
| | |||||
* | No write access to parameters of external functions. | Christian | 2015-02-17 | 1 | -9/+19 |
| | |||||
* | Some changes to enums. | Christian | 2015-02-14 | 1 | -13/+0 |
| | |||||
* | Moving getMemberValue from EnumDefinition to EnumType | Lefteris Karapetsas | 2015-02-14 | 1 | -13/+0 |
| | |||||
* | Addressing issues with Enums in Solidity | Lefteris Karapetsas | 2015-02-14 | 1 | -1/+2 |
| | |||||
* | Typo in EnumValue | Lefteris Karapetsas | 2015-02-14 | 1 | -4/+4 |
| | |||||
* | implement getType() for EnumValue | Lefteris Karapetsas | 2015-02-14 | 1 | -2/+2 |
| | |||||
* | EnumDeclaration -> EnumValue | Lefteris Karapetsas | 2015-02-14 | 1 | -4/+4 |
| | |||||
* | Enum Value member access should now work properly | Lefteris Karapetsas | 2015-02-14 | 1 | -6/+8 |
| | | | | | - Also detection of duplicate enum values and tests for them have been added | ||||
* | Enum type conversion and member value access. | Lefteris Karapetsas | 2015-02-14 | 1 | -0/+13 |
| | | | | | | - Added tests for the type conversion part. - Enum member value access still needs some work | ||||
* | Introducing EnumType and some Parser tests | Lefteris Karapetsas | 2015-02-14 | 1 | -4/+2 |
| | |||||
* | Parsing an enum AST node | Lefteris Karapetsas | 2015-02-14 | 1 | -1/+9 |
| | |||||
* | Parsing enums for Solidity - WIP | Lefteris Karapetsas | 2015-02-14 | 1 | -0/+16 |
| | |||||
* | Copying structs. | Christian | 2015-02-13 | 1 | -4/+2 |
| | |||||
* | Tests and some code for msg.data. | Christian | 2015-02-12 | 1 | -1/+2 |
| | |||||
* | Arbitrary parameters for call() and all hash functions. | Christian | 2015-02-10 | 1 | -4/+5 |
| | |||||
* | Merge pull request #986 from LefterisJP/sol_StyleFix | chriseth | 2015-02-10 | 1 | -14/+14 |
|\ | | | | | Solidity enum style fix | ||||
| * | Addressing issues in Enum style fix | Lefteris Karapetsas | 2015-02-10 | 1 | -2/+2 |
| | | |||||
| * | ExpressionCompiler's enums to CamelCase | Lefteris Karapetsas | 2015-02-09 | 1 | -4/+4 |
| | | |||||
| * | Camelcasing enums in Types.h | Lefteris Karapetsas | 2015-02-09 | 1 | -1/+1 |
| | | |||||
| * | Changing Solidity Code to use CamelCase enum values | Lefteris Karapetsas | 2015-02-09 | 1 | -10/+10 |
| | | |||||
* | | Merge pull request #981 from chriseth/sol_cleanup | chriseth | 2015-02-09 | 1 | -11/+9 |
|\ \ | |/ |/| | Small cleanup. | ||||
| * | Small cleanup. | Christian | 2015-02-09 | 1 | -11/+9 |
| | | |||||
* | | - removed unnesessary braces but one in if statement is still there because ↵ | Liana Husikyan | 2015-02-09 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | of warrning about ambiguous "else" - added marking of position in node factory to the function Conflicts: libsolidity/Parser.cpp | ||||
* | | - implemented Empty parameter name story. Now the name of input/return ↵ | Liana Husikyan | 2015-02-09 | 1 | -4/+15 |
|/ | | | | | | | | | | parameters of function can be not specified. - added appropriate tests Conflicts: test/SolidityEndToEndTest.cpp test/SolidityNameAndTypeResolution.cpp | ||||
* | Merge pull request #937 from LefterisJP/sol_MultiArgSHA3 | chriseth | 2015-02-09 | 1 | -2/+5 |
|\ | | | | | Solidity multiple arg sha3 | ||||
| * | SHA3 of string literals now should work | Lefteris Karapetsas | 2015-02-06 | 1 | -12/+2 |
| | | |||||
| * | appendArgumentsCopyToMemory() has more complicated logic now | Lefteris Karapetsas | 2015-02-06 | 1 | -4/+4 |
| | | | | | | | | - Plus other fixes. | ||||
| * | Fixes after rebase | Lefteris Karapetsas | 2015-02-06 | 1 | -1/+1 |
| | | |||||
| * | Renaming a function for clarity | Lefteris Karapetsas | 2015-02-06 | 1 | -1/+1 |
| | | |||||
| * | Solidity SHA3 can now take multiple arguments | Lefteris Karapetsas | 2015-02-06 | 1 | -3/+16 |
| | | |||||
* | | Some fixes for the ether units parser. | Christian | 2015-02-06 | 1 | -11/+0 |
| | | |||||
* | | Merge pull request #963 from guanqun/disallow-void-var | chriseth | 2015-02-06 | 1 | -0/+2 |
|\ \ | |/ |/| | Disallow implicit declaration of void type. | ||||
| * | disallow declaration of void type | Lu Guanqun | 2015-02-06 | 1 | -0/+2 |
| | | | | | | | | https://www.pivotaltracker.com/n/projects/1189488/stories/86318578 | ||||
* | | Merge pull request #953 from LefterisJP/sol_ethSubDenominations | Gav Wood | 2015-02-06 | 1 | -0/+11 |
|\ \ | |/ |/| | Solidity ether subdenominations | ||||
| * | More style changes in enums | Lefteris Karapetsas | 2015-02-06 | 1 | -1/+1 |
| | | |||||
| * | Minor Style fixes | Lefteris Karapetsas | 2015-02-06 | 1 | -3/+3 |
| | | |||||
| * | Tests for ether subdenominations. Work in progress | Lefteris Karapetsas | 2015-02-05 | 1 | -4/+4 |
| | | |||||
| * | Adding ether subdenominations after constan literals | Lefteris Karapetsas | 2015-02-05 | 1 | -0/+11 |
| | | |||||
* | | fix string comparision bug revealed by previous test case | Lu Guanqun | 2015-02-05 | 1 | -1/+1 |
|/ | | | | This is due to refactoring of m_names using ASTPointer. | ||||
* | Fixes for named-args. | Gav Wood | 2015-02-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'named-args' of https://github.com/guanqun/cpp-ethereum into ↵ | Gav Wood | 2015-02-04 | 1 | -3/+40 |
|\ | | | | | | | guanqun-named-args | ||||
| * | implement named arguments | Lu Guanqun | 2015-01-30 | 1 | -3/+40 |
| | | |||||
* | | Visibility specifiers. | Christian | 2015-02-03 | 1 | -1/+1 |
| | | |||||
* | | json and solidity ABI generted for events | arkpar | 2015-01-31 | 1 | -0/+17 |
| | | |||||
* | | Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop | Gav Wood | 2015-01-30 | 1 | -0/+14 |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: test/SolidityEndToEndTest.cpp test/SolidityNameAndTypeResolution.cpp test/SolidityParser.cpp | ||||
| * | | Parsing of events. | Christian | 2015-01-30 | 1 | -0/+14 |
| | | | |||||
* | | | Fallback functions. | Christian | 2015-01-30 | 1 | -2/+16 |
|/ / | |||||
* | | Minor fixes plus a rebase merge fix | Lefteris Karapetsas | 2015-01-30 | 1 | -3/+2 |
| | | |||||
* | | Removing Function and Param Description | Lefteris Karapetsas | 2015-01-30 | 1 | -100/+2 |
| | | | | | | | | | | | | | | - Removing FunctionDescription and ParamDescription. All the data should now be in the FunctionType - Plus using the FunctionTypePointer alias in a few places | ||||
* | | Contract Interface Functions now return FunctionType | Lefteris Karapetsas | 2015-01-30 | 1 | -10/+11 |
|/ | | | | | | | | | - Enchanced Function Type by declaration so that it can provide all the required information at each place interface functions are consumed - Changed all places where interface functions was used. - Simplified Mix's FunctionDefinition code | ||||
* | Various fixes pertaining to State Variable accessors | Lefteris Karapetsas | 2015-01-29 | 1 | -3/+3 |
| | |||||
* | Explicitly specify insertion to exported functions | Lefteris Karapetsas | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | Fixes after rebasing on develop | Lefteris Karapetsas | 2015-01-29 | 1 | -2/+2 |
| | |||||
* | All interface functions are external. | Lefteris Karapetsas | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | Various small fixes for Sol Automatic Accessors | Lefteris Karapetsas | 2015-01-29 | 1 | -13/+1 |
| | |||||
* | Modifications to Mix to adapt to FunctionDescription | Lefteris Karapetsas | 2015-01-29 | 1 | -0/+10 |
| | |||||
* | State variable accessors code is now more organized | Lefteris Karapetsas | 2015-01-29 | 1 | -13/+102 |
| | | | | | | | | | | | | | - FunctionDescription is the abstraction of what should describe a function. It can either be a VariableDeclaration of a FunctionDefinition. - ParamDescription is what FunctionDescription uses to describe its parameters for outside use purposes with a pair of (name, type) strings - Modified code around Solidity and especially interface handler to adapt to this change | ||||
* | Work in progress for state variable accessors | Lefteris Karapetsas | 2015-01-29 | 1 | -11/+37 |
| | | | | | | | | | - Changed the code so that a generic declaration with the combination of a function type can be used wherer a function definition was used before - Since using an std::pair everywhere is really tiring with this commit I am in the process of abstracting it into a function | ||||
* | Cleaner solution to provide standard sources. | Christian | 2015-01-28 | 1 | -2/+1 |
| | |||||
* | Compilation of function modifiers. | Christian | 2015-01-26 | 1 | -2/+3 |
| | |||||
* | Type resolution for function modifiers. | Christian | 2015-01-26 | 1 | -45/+78 |
| | |||||
* | Function modifier parsing. | Christian | 2015-01-26 | 1 | -0/+5 |
| | |||||
* | Include virtual function overrides in constructor context. | Christian | 2015-01-20 | 1 | -4/+3 |
| | |||||
* | Constructor arguments for base classes. | Christian | 2015-01-20 | 1 | -0/+19 |
| | |||||
* | Explicit calls to base class function. | Christian | 2015-01-20 | 1 | -2/+3 |
| | |||||
* | Check overrides and provide inherited public interface. | Christian | 2015-01-20 | 1 | -8/+35 |
| | |||||
* | Merge pull request #799 from chriseth/sol_gasAndValue | chriseth | 2015-01-15 | 1 | -11/+4 |
|\ | | | | | Specify gas and value for function calls and contract creation calls. | ||||
| * | Specify value for contract creation. | Christian | 2015-01-14 | 1 | -11/+4 |
| | | |||||
* | | Check for hash collisions already before compiling. | Christian | 2015-01-14 | 1 | -8/+30 |
|/ | |||||
* | Remove const from make_shared to allow enable_shared_from_this to work on MacOS. | Christian | 2015-01-09 | 1 | -5/+5 |
| | |||||
* | Arbitrary precision integer constants. | Christian | 2015-01-09 | 1 | -3/+17 |
| | |||||
* | Possibility for unary operators to change type. | Christian | 2015-01-09 | 1 | -2/+2 |
| | |||||
* | Use shared_from_this instead of manually supplying a shared_ptr to this. | Christian | 2015-01-09 | 1 | -3/+3 |
| | |||||
* | Fixing a solAssert in getInterfacefunctions() | Lefteris Karapetsas | 2015-01-09 | 1 | -2/+1 |
| | |||||
* | Adjustments to Solidity compiler code for Function Hash | Lefteris Karapetsas | 2015-01-09 | 1 | -1/+3 |
| | |||||
* | merging develop | Lefteris Karapetsas | 2015-01-09 | 1 | -20/+15 |
|\ | |||||
| * | Merge pull request #738 from LefterisJP/sol_abiFunctionHash | Gav Wood | 2015-01-07 | 1 | -0/+5 |
| |\ | | | | | | | Canonical Function signature creation in solidity | ||||
| * | | Possibility for binary operators to yield types different from their operands'. | Christian | 2014-12-19 | 1 | -20/+15 |
| | | | |||||
* | | | Solidity getInterfaceFunctions is now a map of hash to Function | Lefteris Karapetsas | 2015-01-07 | 1 | -8/+8 |
| |/ |/| | | | | | | | | | | | - Also introduced dependency between libsolidity and libdevcrypto - Compler's appendFunctionSelector now has a first version of using function signature hash instead of index | ||||
* | | Small issues with Canonical Function Signature | Lefteris Karapetsas | 2015-01-07 | 1 | -7/+2 |
| | | | | | | | | - Also added an extra test | ||||
* | | FunctionType also gets CanonicalSignature | Lefteris Karapetsas | 2015-01-07 | 1 | -11/+3 |
| | | | | | | | | - also using iterators in the signature creation function | ||||
* | | Test for the Canonical Signature of a function | Lefteris Karapetsas | 2015-01-07 | 1 | -0/+1 |
| | | |||||
* | | Creating the canonical signature of a function, for later use in the ABI | Lefteris Karapetsas | 2015-01-07 | 1 | -0/+17 |
|/ | |||||
* | Assertions that throw InternalCompilerErrors. | Christian | 2014-12-17 | 1 | -5/+3 |
| | |||||
* | ForStatement typecheck and initExpression is a Statement | Lefteris Karapetsas | 2014-12-17 | 1 | -2/+6 |
| | |||||
* | Adding a ForStatement solidity AST Node. | Lefteris Karapetsas | 2014-12-17 | 1 | -0/+7 |
| | | | | | | | - Adding ForStatement node - Implemented Parsing for ForStatement - A simple parsing test for the ForStatement - Work in progress | ||||
* | Check that constructor does not have "returns" directive. | Christian | 2014-12-15 | 1 | -0/+11 |
| | |||||
* | Create contracts. | Christian | 2014-12-15 | 1 | -5/+33 |
| | |||||
* | Move implementations of ::accept out of AST.cpp. | Christian | 2014-12-09 | 1 | -458/+1 |
| | |||||
* | More const cleanup. | Christian | 2014-12-08 | 1 | -9/+9 |
| | |||||
* | Clear separation between ASTVisitor and ASTConstVisitor and more const ↵ | Christian | 2014-12-08 | 1 | -30/+43 |
| | | | | specifiers. | ||||
* | Const functions for ASTVisitor and const ASTPrinter. | Christian | 2014-12-08 | 1 | -4/+205 |
| | |||||
* | Import directive. | Christian | 2014-12-03 | 1 | -28/+41 |
| | |||||
* | Disallow assignments to structs and mappings. | Christian | 2014-12-02 | 1 | -4/+8 |
| | |||||
* | More general function types and references. | Christian | 2014-11-26 | 1 | -6/+6 |
| | |||||
* | Magic variables. | Christian | 2014-11-24 | 1 | -9/+8 |
| | |||||
* | Contracts as types and framework for special global variables. | Christian | 2014-11-24 | 1 | -1/+35 |
| | |||||
* | Convenience class for type members. | Christian | 2014-11-24 | 1 | -7/+3 |
| | |||||
* | We only care about member types. | Christian | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | Struct types. | Christian | 2014-11-14 | 1 | -2/+11 |
| | |||||
* | Mapping types. | Christian | 2014-11-14 | 1 | -7/+33 |
| | |||||
* | Provide interface for calls in JSON and some other formatting changes. | Christian | 2014-11-12 | 1 | -0/+15 |
| | |||||
* | Merge remote-tracking branch 'ethereum/develop' into sol_typePromotion | Christian | 2014-11-07 | 1 | -19/+1 |
|\ | |||||
| * | Minor cleanup. | Christian | 2014-11-06 | 1 | -19/+1 |
| | | |||||
* | | Re-added some changes lost in merges. | Christian | 2014-11-07 | 1 | -1/+1 |
| | | |||||
* | | More information for type expectation errors. | Christian | 2014-11-06 | 1 | -5/+11 |
| | | |||||
* | | Detect integer length from literals and remove "std::". | Christian | 2014-11-06 | 1 | -0/+2 |
|/ | |||||
* | Stylistic corrections. | Christian | 2014-11-05 | 1 | -1/+1 |
| | |||||
* | Converted all asserts to exceptions. | Christian | 2014-11-05 | 1 | -13/+12 |
| | |||||
* | Stylistic changes. | chriseth | 2014-11-04 | 1 | -4/+0 |
| | |||||
* | Contract compiler and also add ExpressionStatement to AST. | Christian | 2014-10-30 | 1 | -15/+28 |
| | | | | | | | | ExpressionStatement functions as glue between Statements and Expressions. This way it is possible to detect when the border between statements and expressions is crossed while walking the AST. Note that ExpressionStatement is not the only border, almost every statement can contains expressions. | ||||
* | Bugfix: Allow empty return statements without type checking. | Christian | 2014-10-30 | 1 | -0/+2 |
| | |||||
* | Compiler for assignments. | Christian | 2014-10-29 | 1 | -3/+10 |
| | |||||
* | Removed std:: where it made sense. | Christian | 2014-10-25 | 1 | -9/+11 |
| | |||||
* | Replace BOOST_ASSERT by assert. | Christian | 2014-10-25 | 1 | -8/+8 |
| | |||||
* | Expression compiler. | Christian | 2014-10-25 | 1 | -10/+13 |
| | |||||
* | Remove nullptr comparisons. | Christian | 2014-10-24 | 1 | -8/+8 |
| | |||||
* | Use createTypeError everywhere and stream out Location. | Christian | 2014-10-24 | 1 | -4/+1 |
| | |||||
* | Use boost errinfo. | Christian | 2014-10-24 | 1 | -15/+19 |
| | |||||
* | Improved exceptions and reporting exceptions for command-line compiler. | Christian | 2014-10-23 | 1 | -20/+17 |
| | |||||
* | Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type | Christian | 2014-10-20 | 1 | -48/+38 |
| | | | | pointer. | ||||
* | Coding style cleanup: const and vecptr. | Christian | 2014-10-20 | 1 | -1/+1 |
| | |||||
* | Coding style and cleanup | Christian | 2014-10-17 | 1 | -25/+4 |
| | |||||
* | Corrected coding style. | Christian | 2014-10-16 | 1 | -55/+88 |
| | |||||
* | Some fixes for the type system, should be quite usable now. | Christian | 2014-10-16 | 1 | -1/+1 |
| | |||||
* | Added meaningful exception types. | Christian | 2014-10-16 | 1 | -13/+23 |
| | |||||
* | Type system, not yet complete. | Christian | 2014-10-16 | 1 | -14/+230 |
| | |||||
* | AST printer and command line tool, some fixes. | Christian | 2014-10-10 | 1 | -0/+232 |
| | |||||
* | Corrected indentation. | Christian | 2014-10-09 | 1 | -11/+11 |
| | |||||
* | Solidity parser, can not parse much yet. | Christian | 2014-10-08 | 1 | -0/+23 |