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
Lefteris Karapetsas
0c003958b9
FunctionType also gets CanonicalSignature
- also using iterators in the signature creation function
10 years ago
Lefteris Karapetsas
0c83932d91
Test for the Canonical Signature of a function
10 years ago
Lefteris Karapetsas
c2b194d4c3
Creating the canonical signature of a function, for later use in the ABI
10 years ago
Lefteris Karapetsas
6d098faab0
style: curlies
10 years ago
Lefteris Karapetsas
631bd9ab38
Fix for sol scanner where empty multiline comment became Natspec comment
10 years ago
Gav Wood
d34f28dd3c
Mac warning fix.
10 years ago
Gav Wood
9dd9b025d1
BLOCKHASH
10 years ago
Christian
f37ff5ff4f
Clarified binary operator checking for integer types.
10 years ago
Gav Wood
78c202cae4
Fixed #683
10 years ago
Lefteris Karapetsas
29261206b9
Adding const attribute to ABI output
10 years ago
Christian
6e36344632
Possibility for binary operators to yield types different from their operands'.
10 years ago
Christian
e427a0a2ca
Bugfix: Additional swap for compound assignment.
10 years ago
Lefteris Karapetsas
49f60a1d6d
Factoring forward slash scanning out to its own function
10 years ago
Christian
d14ed2d4dc
Bit operators should bind more strongly than comparison operators.
10 years ago
Lefteris Karapetsas
7359367441
More multiline natspec tests and small issue fix
10 years ago
Lefteris Karapetsas
0b5b6c7cd4
Adressing some natspec issues
10 years ago
Lefteris Karapetsas
30beaca359
Changes in InterfaceHandler to deal with multiline natspec
- Also now Solidity scanner considers Carriage Return as whitespace
- Tests for Natspec generation with the new multiline comments
10 years ago
Lefteris Karapetsas
61a1f4436c
Scanner properly scans multiline natspec comments
- Single and multiline natspect comments get the initial whitespace
skipped now
- Some rules introduced for the multiline comments. If first line is
empty then no newline is added to the literal. Same thing with the
last line. Finally in all lines initial '*' are skipped
10 years ago
Lefteris Karapetsas
6d48f3e987
Work in progress for /** ... */ natspec comments
- Work in progress on the scanner for recognizing the second
type of doxygen comments for Natspec.
10 years ago
Christian
f3b2f67ab6
Possibility to replace source and obtain ContractDefinition by name.
10 years ago
Christian
68b9c67e95
Return the last contract by default.
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Christian
d09f6e8c97
Whitespace change.
10 years ago
Lefteris Karapetsas
bcc263070b
Moving comment to function body
10 years ago
Lefteris Karapetsas
3c6e966160
Solidity ForStatement Compiler part
- Work in progress
10 years ago
Lefteris Karapetsas
1f0346396a
Minor issues, grammar update, new ForStatement test
10 years ago
Lefteris Karapetsas
5eec2c5ac6
ForStatement typecheck and initExpression is a Statement
10 years ago
Lefteris Karapetsas
b2992bd659
Solidity ForStatements expressions are now optional
10 years ago
Lefteris Karapetsas
e934aa0bef
new ForStatement parsing test and small grammar fix
10 years ago
Lefteris Karapetsas
30c000d121
Adding a ForStatement solidity AST Node.
- Adding ForStatement node
- Implemented Parsing for ForStatement
- A simple parsing test for the ForStatement
- Work in progress
10 years ago
Christian
4e83ba5ae1
Add functions needed by constructor.
10 years ago