Commit Graph

567 Commits

Author SHA1 Message Date
Christian
c8b03c51a0 Renames and comments. 2015-02-23 14:38:44 +01:00
Christian
261786d909 Allow conversion to dynamic arrays and update grammar. 2015-02-21 18:25:08 +01:00
Christian
be15e0b424 Index access. 2015-02-21 15:10:02 +01:00
Christian
5e32083179 Parsing of array types and basic implementation. 2015-02-21 15:10:01 +01:00
chriseth
75498a48d8 Merge pull request #1093 from LianaHus/sol_InlineMemberInits
Inline member inits
2015-02-21 14:53:45 +01:00
Liana Husikyan
fa3cd1cdc2 renamed local vaiable in fromDeclaration
added missing endvisit
2015-02-20 23:04:32 +01:00
Liana Husikyan
d0c36795a0 renamed fromIdentifier to fromStateVariable 2015-02-20 22:51:23 +01:00
Liana Husikyan
858acaa193 corrected accept for variableDeclaration
changes after code review
2015-02-20 22:51:16 +01:00
Liana Husikyan
1ed86b33bc cosmetic changes 2015-02-20 22:51:16 +01:00
Liana Husikyan
52050201e3 Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
2015-02-20 22:50:34 +01:00
Gav Wood
89d84edb16 Merge branch 'develop'
Conflicts:
	README.md
	evmjit
	libdevcrypto/CryptoPP.cpp
	libethereum/State.cpp
	neth/main.cpp
2015-02-20 21:56:37 +01:00
Gav Wood
8524051166 cppcheck fixes. 2015-02-20 21:00:13 +01:00
Lefteris Karapetsas
26132363d5 Bugfix for functions override
- 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
2015-02-19 17:43:53 +01:00
Gav Wood
a2f5ea88b8 Merge pull request #1087 from chriseth/sol_changeProtectedToInheritable
Rename "protected" to "inheritable".
2015-02-18 14:10:08 +01:00
Christian
8d658ce5a2 Rename "protected" to "inheritable". 2015-02-18 13:35:12 +01:00
chriseth
906b1de862 Merge pull request #1083 from chriseth/sol_structAssigndAndDeleteWithByteArray
Fixes for assigning and deleting structs containing byte arrays.
2015-02-18 13:31:15 +01:00
Christian
197b184d25 Fixes for assigning and deleting structs containing byte arrays. 2015-02-18 00:15:32 +01:00
Lefteris Karapetsas
de574487e4 getMemberTypes() respects source order 2015-02-17 22:33:44 +01:00
Gav Wood
294648b534 Merge pull request #1074 from arkpar/mix_codemodel
Mix: Allow more than one contract
2015-02-17 19:39:24 +01:00
Gav Wood
1e2d4b5c00 Merge pull request #1072 from chriseth/sol_external
bytes ABI type and external visibility specifier
2015-02-17 19:38:35 +01:00
Gav Wood
41e6096295 Merge pull request #1066 from debris/include_order
improved headers include_directories order, fixed #1022
2015-02-17 19:33:27 +01:00
Lefteris Karapetsas
c7e9984574 Initialize FunctionType's m_isConstant attribute in the Event Constructor 2015-02-17 09:24:58 +01:00
arkpar
e9ac8a1199 allow more than one contract 2015-02-16 23:05:57 +01:00
Christian
a33fa270f6 Calldata byte arrays stored on the stack. 2015-02-16 19:35:53 +01:00
Christian
971cc9b5b9 Unpacking of dynamically sized arguments. 2015-02-16 19:25:27 +01:00
Christian
d630a67812 loadFromMemoryDynamic 2015-02-16 19:25:27 +01:00
Christian
1f6e365136 Move code to loadFromMemory. 2015-02-16 19:25:27 +01:00
Christian
f7ba85e0ec No write access to parameters of external functions. 2015-02-16 19:25:24 +01:00
Christian
3e29ec2cb2 "external" visibility specifier. 2015-02-16 19:24:07 +01:00
Lefteris Karapetsas
500cb69f12 Removing events from Solidity Interface 2015-02-16 17:16:15 +01:00
Marek Kotewicz
a7775d929a fixed #1022 2015-02-16 13:48:25 +01:00
Gav Wood
241c86a2e8 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop 2015-02-15 01:00:50 +01:00
Gav Wood
f27ecde256 Working, albeit slowly, non-NatSpec transaction confirmations. 2015-02-15 01:00:09 +01:00
Christian
5c3ea8015c Forced cleanup for conversion to enum. 2015-02-14 13:35:57 +01:00
Christian
c944976d00 Some changes to enums. 2015-02-14 13:35:57 +01:00
Lefteris Karapetsas
41647fd75f Removing ';' from the end of EnumDefinition 2015-02-13 23:48:50 +01:00
Lefteris Karapetsas
68cf1bf37d Small improvement in TypeType::getMembers() 2015-02-13 23:28:19 +01:00
Lefteris Karapetsas
9a879202e1 Explicit conversion from int to Enum 2015-02-13 23:16:15 +01:00
Lefteris Karapetsas
fbd39323af Moving getMemberValue from EnumDefinition to EnumType 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
1e4c93d5d3 adding Enums to grammar.txt 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
b2575b4bcb Addressing issues with Enums in Solidity 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
b20ce4451b Typo in EnumValue 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
fb4ff4af28 implement getType() for EnumValue 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
52808f67fa EnumDeclaration -> EnumValue 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
b1b6b63d6b Indentation fixes 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
91943e7368 Enum Value member access should now work properly
- Also detection of duplicate enum values and tests for them have been
  added
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
012e32942d Enum type conversion and member value access.
- Added tests for the type conversion part.

- Enum member value access still needs some work
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
e7f40863ef Correcting and testing enum member access 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
a989f6f97a Enums NameAndTypeResolution - WIP
- Also adding an EndToEnd enum test
2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
931e96838a Disallow trailing comma in Enum Declaration 2015-02-13 23:16:14 +01:00