Commit Graph

80 Commits

Author SHA1 Message Date
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
Christian
0652c29bb6 Some changes to the log functions. 2015-01-09 15:00:47 +01:00
Christian
2e93e7e676 Buildfix after semantical merge conflict. 2015-01-09 11:51:52 +01:00
chriseth
0504dc21e1 Merge pull request #754 from LefterisJP/sol_abiFunctionHash
Calculation of ABI Function Identifier Hash
2015-01-09 11:22:59 +01:00
Gav Wood
9740a1b5df Documentation update. 2015-01-09 07:39:30 +01:00
Gav Wood
541156241f Unit testing for log in Solidity. 2015-01-09 07:32:28 +01:00
Lefteris Karapetsas
ea12af6074 Adjustments to Solidity compiler code for Function Hash 2015-01-09 00:27:26 +01:00
Lefteris Karapetsas
efdef7f526 Compiler EVM generation now takes into account for the new function hash
identifier

- Changed tests to comply with the new function hash identifier
- Changed the function index offset to 4, and made it a constant for
  easy adjustment in the future
2015-01-08 17:18:31 +01:00
Christian
beb0606726 Bugfix: Additional swap for compound assignment. 2014-12-18 22:23:34 +01:00
Lefteris Karapetsas
5dbe2f198c Solidity Tests names are now more consistent
- File names and Boost Test Suite have the same name now for
   every solidity Test, so that there is no need to guess or check
   when you want to run a specific suite from the command line
2014-12-18 15:21:03 +01:00