Commit Graph

71 Commits

Author SHA1 Message Date
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
Christian
c86a46b84d Type resolution for function modifiers. 2015-01-26 10:23:39 +01:00
Christian
682a45290c Reverse order of inheritance in base list. 2015-01-26 10:20:46 +01:00
liana
5076f532d8 - added conversion for string/hash of equal sizes
- added tests
2015-01-23 17:45:37 +01:00
Christian
3ff1c3ec30 Include virtual function overrides in constructor context. 2015-01-20 15:58:04 +01:00
Christian
961cb5b90c Call constructors of base classes. 2015-01-19 23:35:04 +01:00
Christian
2e846c495b Explicit calls to base class function. 2015-01-19 23:35:04 +01:00
Christian
f84d8f2b50 Inheritance in compiler. 2015-01-19 23:35:04 +01:00
chriseth
ae9ec885d7 Merge pull request #805 from LianaHus/deleteStruct
delete for structs

-added functionality to set values to 0 when deleting structure(not for ...
2015-01-19 11:32:11 +01:00
liana
037d9a7528 - corrected delete in case we have more than one locals
- added a test
2015-01-16 16:26:57 +01:00