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
Gav Wood
7775503c16
Warnings fixes.
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
Christian
7158f408ac
Remove const from make_shared to allow enable_shared_from_this to work on MacOS.
10 years ago
Christian
1d3801f726
Arbitrary precision integer constants.
10 years ago
Christian
cc55936f67
Possibility for unary operators to change type.
10 years ago
Christian
ff4fe8257a
Use shared_from_this instead of manually supplying a shared_ptr to this.
10 years ago
Gav Wood
6cc8c9de69
VM skips push data when looking for JUMPDEST.
Warnings fixes.
10 years ago
Gav Wood
bf8174ecee
Warnings fixes.
Make Mix work with Qt 5.2
Minor other alterations.
10 years ago
Christian
460571bd77
Fix some warnings about uninitialized members.
10 years ago
Lefteris Karapetsas
b8b75c841b
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
10 years ago
Christian
0de9e2aebd
Bugfix: Use parameter (not argument) type size on stack for function calls.
10 years ago
Lefteris Karapetsas
48080e0415
Small issues with Canonical Function Signature
- Also added an extra test
10 years ago