Commit Graph

723 Commits

Author SHA1 Message Date
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
Lefteris Karapetsas
943407e0fe LValueType of Expression Compiler is now CamelCase 2015-02-09 14:41:01 +01:00
Lefteris Karapetsas
148a7cb3e1 ExpressionCompiler's enums to CamelCase 2015-02-09 14:35:31 +01:00
Lefteris Karapetsas
7c0ae1a82f Styling in Natspec Enums 2015-02-09 14:12:36 +01:00
Lefteris Karapetsas
3ef75bae6b Camelcasing enums in Types.h 2015-02-09 14:08:48 +01:00
Lefteris Karapetsas
6f621f8486 Changing Solidity Code to use CamelCase enum values 2015-02-09 14:00:12 +01:00
Christian
140f003a2e Some cleanup in "move to memory" functions. 2015-02-09 13:40:37 +01:00
chriseth
d84d9d3ecd Merge pull request #981 from chriseth/sol_cleanup
Small cleanup.
2015-02-09 12:02:17 +01:00
Liana Husikyan
75a5c20f54 trying to avoid win_build problems 2015-02-09 11:09:03 +01:00
liana
516e46ea6b - added assertion 2015-02-09 02:25:18 +01:00
liana
97b443e181 - some more changes 2015-02-09 02:25:18 +01:00