Commit Graph

683 Commits

Author SHA1 Message Date
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
Christian
b836d952b2 length member for byte arrays. 2015-02-12 15:44:35 +01:00
Christian
5e40b79426 Bytes type cleanup. 2015-02-12 15:01:38 +01:00
Christian
5673f994fc Added some comments. 2015-02-12 11:50:47 +01:00
Christian
9b8cf4af1d Moved copy code to CompilerUtils. 2015-02-12 11:33:10 +01:00
Christian
8a2879a603 Copy storage to storage. 2015-02-12 11:33:10 +01:00
Christian
adb434569c Dynamic copy to memory. 2015-02-12 11:33:10 +01:00
Christian
79aec95228 Simple copy of bytes to storage. 2015-02-12 11:33:09 +01:00
Christian
20b4c69009 Tests and some code for msg.data. 2015-02-12 11:33:09 +01:00
Christian
1369337808 Introduced byte array type. 2015-02-12 11:33:09 +01:00
Marek Kotewicz
ff995be648 Merge branch 'jsoncpp_path' of https://github.com/debris/cpp-ethereum into jsoncpp_path 2015-02-12 09:06:32 +01:00
Marek Kotewicz
f723627c85 Merge branch 'develop' into jsoncpp_path 2015-02-12 09:03:32 +01:00
Christian
2119a758b3 Some windows fixes. 2015-02-11 20:20:37 +01:00
debris
05624c15b1 Merge branch 'develop' into jsoncpp_path 2015-02-11 16:24:37 +01:00
Marek Kotewicz
7035ae638a Merge branch 'develop' into jsoncpp_path 2015-02-11 15:43:47 +01:00
Lu Guanqun
11b4e7f7d8 small fixes per chris's comments 2015-02-10 23:39:13 +08:00
Lu Guanqun
d307b0914c add exponent operator
https://www.pivotaltracker.com/n/projects/1189488/stories/83746404
2015-02-10 23:39:13 +08:00
Marek Kotewicz
d5499d1caf fixed jsoncpp find_path 2015-02-10 12:18:47 +01:00
Christian
cf4144b702 Arbitrary parameters for call() and all hash functions. 2015-02-10 10:59:23 +01:00
chriseth
bb6f181d7d Merge pull request #986 from LefterisJP/sol_StyleFix
Solidity enum style fix
2015-02-10 10:54:28 +01:00
Lefteris Karapetsas
82c5fb3245 Addressing issues in Enum style fix 2015-02-10 09:52:19 +01:00
Gav Wood
bbf695b0e1 Merge pull request #969 from guanqun/change-to-using
change typedef to using according to preferred coding style
2015-02-09 12:16:18 -08:00
chriseth
6052102a05 Merge pull request #985 from chriseth/sol_memoryMoveCleanup
Some cleanup in "move to memory" functions.
2015-02-09 16:46:23 +01:00
chriseth
a3a1f4757b Typo fix. 2015-02-09 16:45:59 +01:00