Commit Graph

706 Commits

Author SHA1 Message Date
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
Lefteris Karapetsas
c3a9ae0b06 Introducing EnumType and some Parser tests 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
86e1d671cc Parsing an enum AST node 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
a295417f34 Parsing enums for Solidity - WIP 2015-02-13 23:16:14 +01:00
Lefteris Karapetsas
54ed8877aa Adding enum Token and whitespace style at Token.h 2015-02-13 23:16:14 +01:00
Gav Wood
92abc7162b Merge pull request #1037 from chriseth/sol_bytesCalldataToMemory
Copying calldata directly to memory.
2015-02-13 11:16:09 +01:00
Gav Wood
38cfcab13e Merge pull request #1038 from debris/before_jsoncpp
fixed issue with including wrong json/json.h file
2015-02-13 10:13:47 +01:00
Marek Kotewicz
b68f61b07c fixed issue with including wrong json/json.h file 2015-02-13 09:03:03 +01:00
Christian
56c6eaf509 Copying calldata directly to memory. 2015-02-13 01:29:43 +01:00
Christian
1c3c1f1e5d Copying structs. 2015-02-12 20:19:49 +01:00
Gav Wood
0e40b21c56 Merge pull request #1029 from chriseth/sol_bytesContinuation
length member for bytes
2015-02-12 19:30:08 +01:00
Gav Wood
cb60c1e65d Merge pull request #1019 from chriseth/sol_bytes
Basic implementation of byte arrays.
2015-02-12 16:33:15 +01:00