Commit Graph

80 Commits

Author SHA1 Message Date
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
Lu Guanqun
9f5d8342a6 add a test case for disorder named args 2015-02-05 00:06:35 +08:00
Gav Wood
4c4c4866d5 Merge pull request #942 from LefterisJP/accesorsFix
Fixing accesors test after visibility merge
2015-02-03 16:30:59 -08:00
Gav Wood
350b99c1d1 Test for named args. 2015-02-03 16:29:31 -08:00
Lefteris Karapetsas
434e70472d Fixing accesors test after visibility merge 2015-02-04 01:17:15 +01:00
Gav Wood
d5b2f8a2ce Merge branch 'sol_visibility' of https://github.com/chriseth/cpp-ethereum into chriseth-sol_visibility
Conflicts:
	test/SolidityNameAndTypeResolution.cpp
2015-02-03 08:50:39 -08:00
Lefteris Karapetsas
3b0ca66cd2 Accessors for multiple mappings implemented 2015-02-02 17:52:50 +01:00
Christian
a38b8890bd Visibility specifiers. 2015-02-02 17:24:09 +01:00
Lefteris Karapetsas
33f86b8af3 Code generation for mapping state variable accessor
- Work in progress
2015-02-01 02:41:14 +01:00
Christian
b6de953430 Fix: No parameters for event. 2015-01-30 21:49:01 +01:00
Gav Wood
b1043c8651 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	test/SolidityEndToEndTest.cpp
	test/SolidityNameAndTypeResolution.cpp
	test/SolidityParser.cpp
2015-01-29 16:05:17 -08:00
Christian
a55a99a2b0 Fallback functions. 2015-01-29 22:50:20 +01:00
Christian
dbfd0c6019 Padding fixes. 2015-01-29 21:33:46 +01:00
Christian
99a8f58ee3 Code generation for events. 2015-01-29 21:33:46 +01:00
chriseth
d6e77f193a Merge pull request #889 from LefterisJP/sol_ExprCompilerEncapsulation
No longer exposing retrieveValueFromStorage() as a public function
2015-01-29 14:53:10 +01:00
Lefteris Karapetsas
bdb4462673 No longer exposing retrieveValueFromStorage() as a public function
- plus small fix in EndToEndTests
2015-01-29 13:34:07 +01:00
chriseth
8c27fccae9 Merge pull request #887 from chriseth/sol_excludeStd
Exclude standard contracts by default.
2015-01-29 10:41:04 +01:00
Christian
f054a4af7b Exclude standard contracts by default. 2015-01-29 01:29:43 +01:00
Christian
c3cc5b737a Super keyword. 2015-01-29 00:29:43 +01:00
Lefteris Karapetsas
59bf3e91e6 Multiple elementary state variable accessors test 2015-01-28 21:46:16 +01:00
Lefteris Karapetsas
ebafd05580 EVM Code for simple accessor function is properly generated 2015-01-28 21:46:16 +01:00
Christian
8c8def6b3c Fix stack size of typetypes. 2015-01-28 18:19:01 +01:00
Christian
77374a46ce Cleaner solution to provide standard sources. 2015-01-28 13:39:04 +01:00
chriseth
2f0e5af012 Merge pull request #857 from LianaHus/StringToHash
conversion for string to/from hash
2015-01-27 13:53:13 +01:00
liana
b06de7e8de -added test case for hash8 to string1 conversion 2015-01-27 10:48:10 +01:00
Gav Wood
dd87fbccd5 Merge pull request #856 from chriseth/sol_modifiers
Function modifiers.
2015-01-26 15:01:25 -08:00
liana
f5b739da9a - modifications according to PR review 2015-01-26 13:24:16 +01:00
Christian
2b2da431bc Call modifiers on constructor. 2015-01-26 10:23:39 +01:00
Christian
c657fe9611 Modifier overrides and callgraph analysis. 2015-01-26 10:23:39 +01:00
Christian
67073948af Compilation of function modifiers. 2015-01-26 10:23:39 +01:00