Commit Graph

15534 Commits

Author SHA1 Message Date
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
Lefteris Karapetsas
38cc0b8dd3 Adjusting SolidityCompiler tests
- Adjusting SolidityCompiler tests to take into account the size of the
new Function Selector
2015-01-07 18:13:03 +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
Gav Wood
a9680e8ffe Merge pull request #742 from chriseth/sol_optimizerChange
Some changes to the optimizer.
2015-01-07 16:53:14 +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
540e47dbef Merge pull request #740 from CJentzsch/vmtests
tests for address input greater then 2**160, OOG at max call depth, ...
2015-01-07 16:34:36 +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
Gav Wood
ec661c9938 Merge pull request #738 from LefterisJP/sol_abiFunctionHash
Canonical Function signature creation in solidity
2015-01-07 16:32:13 +01:00
Gav Wood
2d87716204 Merge pull request #734 from CJentzsch/blockhash
Blockhash tests
2015-01-07 16:28:31 +01:00
Gav Wood
843a240cfd Merge pull request #731 from CJentzsch/jumpdest
added more jumpdest tests
2015-01-07 16:27:49 +01:00
Gav Wood
e01e1002bb Merge pull request #729 from CJentzsch/addTests
Blockhash correction and some tests
2015-01-07 16:27:23 +01:00
Christian
646f99d34a Some changes to the optimizer. 2015-01-07 16:26:15 +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
CJentzsch
a6b0376e25 add tests for OOG at max call depth 2015-01-07 15:37:00 +01:00
CJentzsch
fc60f0f586 jump onto jump, dynamic and static jump with same destination 2015-01-07 12:36:15 +01:00
CJentzsch
8c0a3dc16e memory test: high offset, zero size -> zero gas cost 2015-01-07 12:14:33 +01:00
CJentzsch
8f61058567 check address input greater then 2**160 2015-01-07 11:14:45 +01:00
Lefteris Karapetsas
deb137f2c4 Small issues with Canonical Function Signature
- Also added an extra test
2015-01-07 10:45:59 +01:00
Lefteris Karapetsas
df0dce584d Small issues with Canonical Function Signature
- Also added an extra test
2015-01-07 10:45:59 +01:00
CJentzsch
a8c7a94786 Merge remote-tracking branch 'upstream/develop' into vmtests 2015-01-07 09:46:36 +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
subtly
7f4ca13035 Pass 2 integrating node table. Pruning and merging old node lifecycle logic with new.
Begin moving node identification and authentication into Host so session can be directly-constructed with NodeInfo and is not created until after authentication.
Require session to be passed a valid node.
2015-01-07 02:26:14 +01:00
Lefteris Karapetsas
36e5b5102a Test for the Canonical Signature of a function 2015-01-07 02:07:34 +01:00
Lefteris Karapetsas
b2aa3baded Test for the Canonical Signature of a function 2015-01-07 02:07:34 +01:00
CJentzsch
a8d472f5ab Blockhash tests 2015-01-06 20:57:33 +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
subtly
9a034e8998 Merge branch 'p2p-udp-nodetable' into p2p 2015-01-06 17:02:33 +01:00
subtly
ecf3c0bb32 stl sleep_for, for windows 2015-01-06 17:01:17 +01:00
subtly
80db7cbd5a Merge branch 'p2p-udp-nodetable' into p2p
Conflicts:
	libp2p/NodeTable.h
2015-01-06 16:55:52 +01:00
subtly
2cf2af356b define constructors for windows 2015-01-06 16:51:10 +01:00
CJentzsch
9df47617b9 add zero memory expansion tests for vm 2015-01-06 16:32:01 +01:00
CJentzsch
d6bbdd0464 add zero memory expansion tests 2015-01-06 16:25:21 +01:00
CJentzsch
f7a6a06ef5 added more jumpdest tests 2015-01-06 14:42:37 +01:00
CJentzsch
08837a1d32 Blockhash correction and some tests 2015-01-06 11:30:52 +01:00
subtly
17c1c1eb6c Merge branch 'develop' into p2p-udp-nodetable 2015-01-05 22:01:55 +01:00
subtly
682c68842c code review 2015-01-05 22:01:23 +01:00
Gav Wood
e50d4095a7 Merge pull request #721 from LefterisJP/sol_fixMultiLCommentScan
Fix for sol scanner where empty multiline comment became Natspec comment
2015-01-05 20:21:06 +01:00
subtly
58e4829c1b Merge branch 'p2p-udp-nodetable' into p2p
Conflicts:
	libp2p/NodeTable.cpp
2015-01-05 18:18:07 +01:00
subtly
b4ca2a8b97 Merge branch 'develop' into p2p-udp-nodetable 2015-01-05 18:07:06 +01:00
Lefteris Karapetsas
ca733fd319 style: curlies 2015-01-05 16:55:17 +01:00
Lefteris Karapetsas
7e8ecb1806 Fix for sol scanner where empty multiline comment became Natspec comment 2015-01-05 16:37:43 +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
c92d79aea7 Merge pull request #711 from CJentzsch/fixTest
added trie_tests_ordered
2015-01-05 16:19:31 +01:00