Commit Graph

109 Commits

Author SHA1 Message Date
Lu Guanqun
f5b1fec699 add another var x = f; overloaded function test case 2015-03-08 09:50:54 -05:00
Lu Guanqun
1da211920e add two overloaded function test cases 2015-03-08 09:48:53 -05:00
Lu Guanqun
b87c5547a5 add test cases for functions in derived overload functions in base 2015-03-08 09:48:53 -05:00
Lu Guanqun
114776dfba add end to end test cases related to overloaded functions 2015-03-08 09:48:53 -05:00
chriseth
2650703ece Typo 2015-03-06 15:40:02 +01:00
chriseth
e6c778e740 Fix for arrays containing mappings. 2015-03-06 13:17:52 +01:00
chriseth
7639bfe7e5 Copying between calldata and storage. 2015-03-06 13:17:52 +01:00
Christian
2f91e1f9b5 Index access for calldata arrays. 2015-03-05 13:19:59 +01:00
Gav Wood
102c8a5301 Merge pull request #1193 from chriseth/sol_fixABIArrays
Fixed arrays in ABI.
2015-03-03 16:12:10 +01:00
Christian
99263f0e3e Fixed arrays in ABI. 2015-03-03 12:58:48 +01:00
Christian
66d2ec1d15 Fix test after change in call failure semantics. 2015-03-03 11:36:54 +01:00
Liana Husikyan
88ecc27c2b Implemented passing arguments to the base constructor. 2015-03-02 14:28:08 +01:00
Christian
e7c4d73cc6 Array copy storage to storage. 2015-02-27 22:52:19 +01:00
Christian
dca1303397 Shortening of dynamic arrays. 2015-02-27 22:52:19 +01:00
chriseth
a24e0b5b15 Merge pull request #1119 from chriseth/sol_arraysIndexAccess
Index access for arrays.
2015-02-24 12:22:00 +01:00
arkpar
aa20eb64ec fixed test buid 2015-02-24 00:11:29 +01:00
Christian
ed08c68664 Out-of-bounds checking. 2015-02-23 18:28:33 +01:00
Christian
a5eb2a3990 Index and length access for dynamic arrays. 2015-02-23 18:28:30 +01:00
Christian
ae9013f367 Implementation of index access. 2015-02-23 18:25:49 +01:00
Christian
d85bfe1452 Stack height checks and fix. 2015-02-22 19:16:40 +01:00
Liana Husikyan
4144c63d9f Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
2015-02-20 22:50:34 +01:00
Christian
218ee29a05 Fixes for assigning and deleting structs containing byte arrays. 2015-02-18 00:15:32 +01:00
Christian
9d0bb3666e Calldata byte arrays stored on the stack. 2015-02-16 19:35:53 +01:00
Christian
8290b6305b No write access to parameters of external functions. 2015-02-16 19:25:24 +01:00
Christian
600b38224e Forced cleanup for conversion to enum. 2015-02-14 13:35:57 +01:00
Lefteris Karapetsas
9836d58df8 Removing ';' from the end of EnumDefinition 2015-02-13 23:48:50 +01:00
Lefteris Karapetsas
fe725fbb49 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
60e839954e Enums NameAndTypeResolution - WIP
- Also adding an EndToEnd enum test
2015-02-13 23:16:14 +01:00
Christian
5d2223b934 Copying calldata directly to memory. 2015-02-13 01:29:43 +01:00
Christian
48f6bda44b Copying structs. 2015-02-12 20:19:49 +01:00
Gav Wood
b04258b6f4 Merge pull request #1029 from chriseth/sol_bytesContinuation
length member for bytes
2015-02-12 19:30:08 +01:00
Gav Wood
1f6198a9ae Merge pull request #1019 from chriseth/sol_bytes
Basic implementation of byte arrays.
2015-02-12 16:33:15 +01:00
Christian
c90adbf593 length member for byte arrays. 2015-02-12 15:44:35 +01:00
Christian
2472e2b998 Test for bytes in mapping. 2015-02-12 15:18:50 +01:00
Christian
6bbba22690 Another try in fixing windows build. 2015-02-12 11:54:44 +01:00
Christian
d089703254 Moved copy code to CompilerUtils. 2015-02-12 11:33:10 +01:00
Christian
a5449d9b3e Dynamic copy to memory. 2015-02-12 11:33:10 +01:00
Christian
6e0ade681d Simple copy of bytes to storage. 2015-02-12 11:33:09 +01:00
Christian
8787413a86 Tests and some code for msg.data. 2015-02-12 11:33:09 +01:00
Christian
d37f6cfb9f Some windows fixes. 2015-02-11 20:20:37 +01:00
Lu Guanqun
466f0e0100 small fixes per chris's comments 2015-02-10 23:39:13 +08:00
Lu Guanqun
3ce223c6cb add exponent operator
https://www.pivotaltracker.com/n/projects/1189488/stories/83746404
2015-02-10 23:39:13 +08:00
Christian
7dc5e2a1a0 Arbitrary parameters for call() and all hash functions. 2015-02-10 10:59:23 +01:00
Liana Husikyan
12505a5b76 - implemented Empty parameter name story. Now the name of input/return parameters of function can be not specified.
- added appropriate tests

Conflicts:
	test/SolidityEndToEndTest.cpp
	test/SolidityNameAndTypeResolution.cpp
2015-02-09 02:06:30 +01:00
chriseth
5d7098eba7 Merge pull request #937 from LefterisJP/sol_MultiArgSHA3
Solidity multiple arg sha3
2015-02-09 00:14:13 +01:00
Christian
99ff791593 Accessors for structs. 2015-02-06 20:04:02 +01:00
Lefteris Karapetsas
895b5c13f0 Small fixes for proper multitype/multiarg SHA3 2015-02-06 17:25:29 +01:00
Lefteris Karapetsas
0037a7694a SHA3 of string literals now should work 2015-02-06 16:27:41 +01:00
Lefteris Karapetsas
4b43f1b564 appendArgumentsCopyToMemory() has more complicated logic now
- Plus other fixes.
2015-02-06 10:42:24 +01:00
Lefteris Karapetsas
1bf8660bdf Solidity SHA3 can now take multiple arguments 2015-02-06 09:38:04 +01:00