Lefteris Karapetsas
2eaf9ff865
ASTJSonconverter stack takes objects and not pointers
2015-01-15 16:56:40 +01:00
Lefteris Karapetsas
bcf49095a2
More work on the AST export. Work in progress
2015-01-15 16:56:40 +01:00
Lefteris Karapetsas
d5b1b4d624
Preparing the ground for AST outputing to JSON
2015-01-15 16:56:40 +01:00
Lefteris Karapetsas
1515f140b3
Merge pull request #798 from LefterisJP/natspec_OnContractCreation
...
Natspec Popup Authentication on transaction
2015-01-15 01:37:52 +01:00
chriseth
1a4280de35
Merge pull request #799 from chriseth/sol_gasAndValue
...
Specify gas and value for function calls and contract creation calls.
2015-01-14 18:22:16 +01:00
Lefteris Karapetsas
895a2852f4
Minor style fixes
2015-01-14 17:14:46 +01:00
Lefteris Karapetsas
a78794e872
Fixes and additional checks for Natspec Popup authentication
2015-01-14 16:49:09 +01:00
Christian
abe6055ab7
Style.
2015-01-14 12:00:28 +01:00
Christian
1ba38c9c02
More flexible access to stack during external function call.
2015-01-14 11:57:22 +01:00
Christian
d1e05ac416
Remove redundancy in FunctionType::getSizeOnStack.
2015-01-14 11:01:42 +01:00
Christian
22f0a4fde1
Use min gas for send().
2015-01-14 10:46:44 +01:00
Christian
6e16107870
Check for hash collisions already before compiling.
2015-01-14 10:16:58 +01:00
Christian
b440d7e321
Specify value for contract creation.
2015-01-13 18:12:30 +01:00
Christian
ec022783c4
Modify gas and value for external function call.
2015-01-13 18:12:30 +01:00
Lefteris Karapetsas
ac8ad058cf
Natspec method key is now the Canonical Signature
2015-01-13 16:15:32 +01:00
Lefteris Karapetsas
12e000e0d3
A first version of Natspec warning popup
...
- Runtime Contract code hash can now be retrieved from the Compiler
- Using the hash the Natspec handler stores and later retrieves Natspec
JSON for a given contract.
2015-01-13 15:59:42 +01:00
arkpar
80eec8b308
fixed warnings for msvc build
2015-01-13 11:18:08 +01:00
Lefteris Karapetsas
a253abf062
Alethzero: Showing a contract's function's hashes at creation
2015-01-12 17:13:27 +01:00
Lefteris Karapetsas
c5d14ce933
Work in prgress for creating natspec in alethzero at contract creation
2015-01-12 15:38:58 +01:00
Lefteris Karapetsas
24a2335c01
Merge pull request #785 from LefterisJP/natspec_emptyDocstringFix
...
Fix Natspec tagless bug
2015-01-12 15:35:20 +01:00
Lefteris Karapetsas
c9446183b5
Fixing bug where empty tagless docstring in Natspec would result in infinite loop
2015-01-12 15:29:44 +01:00
Christian
a5d32e4894
Define strings = vector<string>
2015-01-12 13:29:16 +01:00
Christian
307a83e1de
More convenient function type construction.
2015-01-12 12:46:52 +01:00
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