Commit Graph

123 Commits

Author SHA1 Message Date
chriseth
c284408e7a Add move assignment operator manually. 2015-03-16 19:00:45 +01:00
chriseth
02595abf6a Fetch and store packed values. 2015-03-16 18:07:14 +01:00
chriseth
7f64584b7f Compute packing offsets. 2015-03-16 18:07:14 +01:00
chriseth
fff3f98f58 Enlarge storage references to two stack slots. 2015-03-16 18:07:14 +01:00
Liana Husikyan
67cd3a7180 added parsing for constant variables 2015-03-16 10:46:46 +01:00
Lefteris Karapetsas
c81b498953 Style fixes in Types[cpp/h] 2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
7d7f37bd5e Replacing StaticStringType with FixedBytesType 2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
bede2f2ad7 More changes towards getting rid of HashXX 2015-03-12 12:53:00 +01:00
chriseth
8de5ff5c25 Update Types.h
Typo
2015-03-06 15:39:21 +01:00
chriseth
d8b156ecbb Copying between calldata and storage. 2015-03-06 13:17:52 +01:00
jhuntley
a4d772315d Consolidating macro resolution to one header file as per project owner request. Added inline comments covering reasons for undef of macros. Resolves issues with problem #832:
Adding UndefWindowsMacros.h to handle V8 CPP conflicts in Windows #832
2015-03-04 11:17:46 -05:00
jhuntley
055f45f11b Update to resolve "#error : The macro "DELETE" from windows.h conflicts with this file." on windows vs build. 2015-03-04 11:17:46 -05:00
jhuntley
d2a5153722 Adding comments for #undef per project owner request. 2015-03-04 11:17:46 -05:00
jhuntley
f046be3cc1 Updates for mingw support. #undef conflicting defines on windows. 2015-03-04 11:17:45 -05:00
Christian
7112696993 Fixed arrays in ABI. 2015-03-03 12:58:48 +01:00
Christian
754c804d19 Implementation of index access. 2015-02-23 18:25:49 +01:00
Christian
39c471f332 Comments and warnings. 2015-02-23 14:55:06 +01:00
Christian
c8b03c51a0 Renames and comments. 2015-02-23 14:38:44 +01:00
Christian
5e32083179 Parsing of array types and basic implementation. 2015-02-21 15:10:01 +01:00
Gav Wood
8524051166 cppcheck fixes. 2015-02-20 21:00:13 +01:00
Lefteris Karapetsas
de574487e4 getMemberTypes() respects source order 2015-02-17 22:33:44 +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
Lefteris Karapetsas
fbd39323af Moving getMemberValue from EnumDefinition to EnumType 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
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
c3a9ae0b06 Introducing EnumType and some Parser tests 2015-02-13 23:16:14 +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
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
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
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
106cda74f8 Small cleanup. 2015-02-09 00:49:35 +01:00
chriseth
a66db516fb Merge pull request #937 from LefterisJP/sol_MultiArgSHA3
Solidity multiple arg sha3
2015-02-09 00:14:13 +01:00
Lefteris Karapetsas
afe1d9a592 Small fixes in Types and ExpressionCompiler 2015-02-06 20:57:04 +01:00
Lefteris Karapetsas
293344b473 SHA3 of string literals now should work 2015-02-06 16:27:41 +01:00
Lefteris Karapetsas
2c9ff4747d getRealType() introduced 2015-02-06 13:42:51 +01:00
Christian
82edc1ca6d Some fixes for the ether units parser. 2015-02-06 13:38:29 +01:00
Christian
4a6ed84386 Parsing of events. 2015-01-29 21:26:11 +01:00
Lefteris Karapetsas
3701543ae8 FunctionType now returns const ref for Declaration 2015-01-29 19:18:50 +01:00
Lefteris Karapetsas
dcd47be6ca Removing Function and Param Description
- Removing FunctionDescription and ParamDescription. All the data should
  now be in the FunctionType

- Plus using the FunctionTypePointer alias in a few places
2015-01-29 17:12:17 +01:00
Lefteris Karapetsas
005100c486 Contract Interface Functions now return FunctionType
- 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
2015-01-29 17:11:13 +01:00
Christian
ae5a6a235c Super keyword. 2015-01-29 00:29:43 +01:00