Gav Wood
e643fb3039
Warnings fix.
10 years ago
Gav Wood
d3ade37e63
Potential workaround for windows build.
10 years ago
liana
7651909bdf
- corrected delete in case we have more than one locals
- added a test
10 years ago
liana
3012ee73b2
removed spaces
10 years ago
liana
658b8d86d2
Corrected "delete" for local variables i.e. set them to 0
Added test case
10 years ago
Lefteris Karapetsas
e3b15f48c4
Style fixes and refactoring in ASTJsonConverter
10 years ago
Gav Wood
d2ba0f336e
Missing comma.
10 years ago
Gav Wood
1f7ccc48d5
Add blockhash to Solidity.
Autopadding fix.
10 years ago
Lefteris Karapetsas
50d3825f1f
Solidity AST Json Exporter
- A first version of the exporter is ready with this commit
- Further refinement will follow once it gets used
10 years ago
Lefteris Karapetsas
f91cb0c368
ASTJSonconverter stack takes objects and not pointers
10 years ago
Lefteris Karapetsas
0642bbbd8c
More work on the AST export. Work in progress
10 years ago
Lefteris Karapetsas
ddd1438a2c
Preparing the ground for AST outputing to JSON
10 years ago
Lefteris Karapetsas
19a20da508
also add compiler error if include order could cause a problem in windows
10 years ago
Lefteris Karapetsas
d5c859efb9
Update ExpressionCompiler.cpp
10 years ago
liana
3e166f15fc
- 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
10 years ago
Lefteris Karapetsas
b91a6c73cc
Fixing an unused parameter warning in ExpressionCompiler
10 years ago
Lefteris Karapetsas
79b953d9e5
Minor style fixes
10 years ago
Lefteris Karapetsas
4ad3ab2174
Fixes and additional checks for Natspec Popup authentication
10 years ago
Christian
917cade816
Style.
10 years ago
Christian
9da6bb3629
More flexible access to stack during external function call.
10 years ago
Christian
43602427a1
Remove redundancy in FunctionType::getSizeOnStack.
10 years ago
Christian
1419263ccc
Use min gas for send().
10 years ago
Christian
e16d88c894
Check for hash collisions already before compiling.
10 years ago
Christian
de3e6a09db
Specify value for contract creation.
10 years ago
Christian
1b36ff453b
Modify gas and value for external function call.
10 years ago
Lefteris Karapetsas
5b36d3c163
Natspec method key is now the Canonical Signature
10 years ago
Lefteris Karapetsas
18dd4515bd
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.
10 years ago
arkpar
72628e8f32
fixed warnings for msvc build
10 years ago
Lefteris Karapetsas
3b207c26e9
Alethzero: Showing a contract's function's hashes at creation
10 years ago
Lefteris Karapetsas
8acd9b1107
Work in prgress for creating natspec in alethzero at contract creation
10 years ago
Lefteris Karapetsas
5a44a670aa
Fixing bug where empty tagless docstring in Natspec would result in infinite loop
10 years ago
Christian
18f7839fd5
Define strings = vector<string>
10 years ago
Christian
5e0b71730c
More convenient function type construction.
10 years ago
Christian
1e3929d5ad
Coding style: Prefix for const variables.
10 years ago
Christian
08f556cd5a
Contracts are Addresses.
10 years ago
Christian
d9334abe89
Correct type conversions.
10 years ago
Christian
de77918d05
Padding for ABI types.
10 years ago
Christian
a017d2b1de
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
10 years ago
Christian
e1338c7e6c
Arbitrary precision integer constants.
10 years ago
Christian
f6ddd3fd33
Possibility for unary operators to change type.
10 years ago
Christian
874b2b34ea
Use shared_from_this instead of manually supplying a shared_ptr to this.
10 years ago
Christian
8ad6951f38
Some changes to the log functions.
10 years ago
Christian
8e84acb98b
Buildfix after semantical merge conflict.
10 years ago
Gav Wood
f125a4b505
CLI tweaks.
10 years ago
Gav Wood
2a21a544ce
Documentation update.
10 years ago
Lefteris Karapetsas
5e77063c38
Fixing a solAssert in getInterfacefunctions()
10 years ago
Lefteris Karapetsas
299305548f
Adjustments to Solidity compiler code for Function Hash
10 years ago
Gav Wood
0ca84e5a0d
Basic logging in Solidity (though no tests yet).
10 years ago
Lefteris Karapetsas
9fff09af6b
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
10 years ago
Lefteris Karapetsas
69a0dcfa15
work in progress in testing the new function selector in the end to end tests
10 years ago