Gav Wood
94cff9684f
Merge pull request #768 from chriseth/sol_contractsAreAddresses
...
Contracts inherit all address members
2015-01-11 11:07:36 +01:00
Christian
26f9cd7f68
Coding style: Prefix for const variables.
2015-01-09 21:36:25 +01:00
Christian
c5c8933192
Contracts are Addresses.
2015-01-09 18:31:36 +01:00
Christian
501ad14ed1
Correct type conversions.
2015-01-09 18:23:10 +01:00
Christian
fe16922087
Padding for ABI types.
2015-01-09 18:20:51 +01:00
Gav Wood
396f638ce1
Merge pull request #765 from chriseth/sol_someLogFixes
...
Some changes to the log functions.
2015-01-09 16:28:01 +01:00
Gav Wood
43d79cc730
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
...
Conflicts:
test/SolidityOptimizer.cpp
2015-01-09 15:19:01 +01:00
Christian
a60d82d12c
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
2015-01-09 15:16:09 +01:00
Christian
be623273f3
Arbitrary precision integer constants.
2015-01-09 15:16:09 +01:00
Christian
be1e89da42
Possibility for unary operators to change type.
2015-01-09 15:09:10 +01:00
Christian
dcda38cf38
Use shared_from_this instead of manually supplying a shared_ptr to this.
2015-01-09 15:09:10 +01:00
Christian
c9102010bf
Some changes to the log functions.
2015-01-09 15:00:47 +01:00
Gav Wood
875ec9d471
Merge branch 'sol_integerConstants' of https://github.com/chriseth/cpp-ethereum into chriseth-sol_integerConstants
2015-01-09 14:57:59 +01:00
Christian
ffeb7daf11
Buildfix after semantical merge conflict.
2015-01-09 11:51:52 +01:00
chriseth
42d186fdfc
Merge pull request #754 from LefterisJP/sol_abiFunctionHash
...
Calculation of ABI Function Identifier Hash
2015-01-09 11:22:59 +01:00
Gav Wood
23eff4d24a
CLI tweaks.
2015-01-09 08:09:30 +01:00
Gav Wood
29591d6ecf
Documentation update.
2015-01-09 07:39:30 +01:00
Lefteris Karapetsas
a36af5364c
Fixing a solAssert in getInterfacefunctions()
2015-01-09 00:58:12 +01:00
Lefteris Karapetsas
9cf1c066fc
Adjustments to Solidity compiler code for Function Hash
2015-01-09 00:27:26 +01:00
Gav Wood
ffce12b7ee
Basic logging in Solidity (though no tests yet).
2015-01-09 00:22:06 +01:00
Lefteris Karapetsas
a7b661d3be
merging develop
2015-01-08 17:43:38 +01:00
Lefteris Karapetsas
184ddca5a1
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
Lefteris Karapetsas
68b9427535
work in progress in testing the new function selector in the end to end tests
2015-01-08 00:19:19 +01:00
Christian
852267e60f
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
2015-01-07 21:44:17 +01:00
Christian
400d68b81d
Arbitrary precision integer constants.
2015-01-07 21:44:17 +01:00
Christian
d35842d65e
Possibility for unary operators to change type.
2015-01-07 21:44:17 +01:00
Christian
b6bad63d44
Use shared_from_this instead of manually supplying a shared_ptr to this.
2015-01-07 21:44:17 +01:00
Gav Wood
d18fa27b6a
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
2015-01-07 20:23:59 +01:00
Gav Wood
9be5847472
VM skips push data when looking for JUMPDEST.
...
Warnings fixes.
2015-01-07 20:23:33 +01:00
Gav Wood
1311633a86
Merge pull request #743 from chriseth/sol_warningFixes
...
Fix some warnings about uninitialized members.
2015-01-07 17:36:43 +01:00
Gav Wood
238aa0ee94
Warnings fixes.
...
Make Mix work with Qt 5.2
Minor other alterations.
2015-01-07 16:58:09 +01:00
Christian
9866caa625
Fix some warnings about uninitialized members.
2015-01-07 16:46:53 +01:00
Lefteris Karapetsas
c55608f94b
Solidity getInterfaceFunctions is now a map of hash to Function
...
- Also introduced dependency between libsolidity and libdevcrypto
- Compler's appendFunctionSelector now has a first version of using
function signature hash instead of index
2015-01-07 16:39:21 +01:00
Gav Wood
a2375542e6
Merge pull request #741 from chriseth/sol_fix_useParameterStackSize
...
Bugfix: Use parameter (not argument) type size on stack for function calls.
2015-01-07 16:35:19 +01:00
Gav Wood
53e38b3ac9
Merge pull request #738 from LefterisJP/sol_abiFunctionHash
...
Canonical Function signature creation in solidity
2015-01-07 16:32:13 +01:00
Christian
52240ea88f
Bugfix: Use parameter (not argument) type size on stack for function calls.
2015-01-07 16:22:42 +01:00
chriseth
95514d1d1b
Merge pull request #667 from chriseth/sol_moreFlexibleBinaryOps
...
Possibility for binary operators to yield types different from their operands'.
2015-01-07 15:42:33 +01:00
Lefteris Karapetsas
df0dce584d
Small issues with Canonical Function Signature
...
- Also added an extra test
2015-01-07 10:45:59 +01:00
Lefteris Karapetsas
24d7bdd3a9
FunctionType also gets CanonicalSignature
...
- also using iterators in the signature creation function
2015-01-07 02:27:05 +01:00
Lefteris Karapetsas
b2aa3baded
Test for the Canonical Signature of a function
2015-01-07 02:07:34 +01:00
Lefteris Karapetsas
5e875ee072
Creating the canonical signature of a function, for later use in the ABI
2015-01-06 17:42:38 +01:00
Lefteris Karapetsas
ca733fd319
style: curlies
2015-01-05 16:55:17 +01:00
Lefteris Karapetsas
b4712773d3
Fix for sol scanner where empty multiline comment became Natspec comment
2015-01-05 16:37:43 +01:00
Gav Wood
7b3f0e549d
Mac warning fix.
2015-01-05 15:33:05 +01:00
Gav Wood
546717027f
BLOCKHASH
2015-01-05 11:35:56 +00:00
Christian
8442974617
Clarified binary operator checking for integer types.
2014-12-28 13:35:58 +01:00
Gav Wood
566b980fa3
Fixed #683
2014-12-21 16:28:46 +01:00
chriseth
8e3fbbad44
Merge pull request #664 from chriseth/sol_fix_compoundAssign
...
Bugfix: Additional swap for compound assignment.
2014-12-19 11:38:45 +01:00
Lefteris Karapetsas
d612bf1d17
Adding const attribute to ABI output
2014-12-19 10:48:59 +01:00
Christian
7dc7827907
Possibility for binary operators to yield types different from their operands'.
2014-12-19 00:12:04 +01:00