Commit Graph

59 Commits

Author SHA1 Message Date
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
liana
dc30fb6385 removed spaces 2015-01-16 13:07:16 +01:00
liana
ac77d20ee3 Corrected "delete" for local variables i.e. set them to 0
Added test case
2015-01-16 12:55:49 +01:00
liana
3b7fff5389 - added functionality to set values to 0 when deleting structure(not for mapping)
- added unit test

Made some changes after Christian`s review on pull request
- remove/edit comments
- BoolType and ContractType return VoidType after delete

- fixed constructor_arguments test

- fixed set to 0 when deleting variable from stack
- changed test case to test that
2015-01-15 11:59:58 +01:00
Christian
28d103e054 Re-enable MSVC warning 4307. 2015-01-15 11:47:00 +01:00
Christian
e1559df82e Specify value for contract creation. 2015-01-13 18:12:30 +01:00
Christian
522a7709e8 Modify gas and value for external function call. 2015-01-13 18:12:30 +01:00
arkpar
b85ae53f63 fixed warnings for msvc build 2015-01-13 11:18:08 +01:00
Gav Wood
04a57f8c53 Merge pull request #768 from chriseth/sol_contractsAreAddresses
Contracts inherit all address members
2015-01-11 11:07:36 +01:00
Christian
5489ad8214 Coding style: Prefix for const variables. 2015-01-09 21:36:25 +01:00
Christian
4b11eea653 Contracts are Addresses. 2015-01-09 18:31:36 +01:00
Christian
3d896c74e6 Correct type conversions. 2015-01-09 18:23:10 +01:00
Christian
22ddeea102 Padding for ABI types. 2015-01-09 18:20:51 +01:00