chriseth
a895217db6
Use BUILD_SHARED_LIB
10 years ago
chriseth
cdc38ab28a
Use non-implemented functions for solidity interface output.
10 years ago
chriseth
0a95634543
Fix regarding memory overwrite during sha3 computation.
10 years ago
chriseth
e480c7012c
bytes parameters for events and sha3.
10 years ago
chriseth
49134ece7a
Fixed use of libraries.
10 years ago
Christian
7971f5e83d
JSON compiler.
10 years ago
chriseth
8dc135468e
Fix for declarations.
10 years ago
chriseth
3146a7aeb7
Fix for Contract and Enum types as external function arguments.
10 years ago
chriseth
7386869de6
Fixed byte alignment for return type of ripemd160 built-in contract.
10 years ago
chriseth
46182cd82f
Styling.
10 years ago
Liana Husikyan
254c845490
removed unused parameter from streamAsmJson
10 years ago
Liana Husikyan
4ef9b70dd3
style fixes
10 years ago
Liana Husikyan
2a5a5a99f9
added asm-json flag to cl compiler
Conflicts:
libsolidity/CompilerStack.cpp
10 years ago
Lefteris Karapetsas
cad916a00d
Fixing detection of abstract contract
10 years ago
Lefteris Karapetsas
5be5fc55a0
Adding forgotten virtual specifier to EnumValue getType()
10 years ago
Lefteris Karapetsas
86caafd9e9
Add "this" contract's ctor to provided ctors set
- Also properly naming the 2 sets in checkAbstractConstructors() function
10 years ago
Lefteris Karapetsas
3a2d903252
Fixing new abstract contract error location reporting
10 years ago
Lefteris Karapetsas
c227951856
size()!=0 -> !empty()
10 years ago
Lefteris Karapetsas
2279e40274
Check all constructors in inheritance chain get args
- Also add a missing override in a function of EnumValue
10 years ago
Lefteris Karapetsas
45117f53b0
Allowing abstract contracts constructor to have no args
- If a constructor is part of an abstract contract we can omit its
arguments
- IF a contract is abstract make sure to not create and/or request
Assembly code about it since it's not compiled
10 years ago
chriseth
1df385a63d
Fix for signed integers in storage.
10 years ago
chriseth
3bc78361d6
Bugfixes concerning variable declarations.
Fixes #1637
10 years ago
chriseth
a052d2f754
Line break.
10 years ago
chriseth
0bec8d9fcd
Some cleanup concerning byte arrays.
10 years ago
chriseth
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
10 years ago
Liana Husikyan
2cf5fdcadf
fixes
added more tests
10 years ago
Liana Husikyan
46eb3f366b
added implementation to append code for State variable accessor
fixed tests
10 years ago
Liana Husikyan
518daee546
some more tests
10 years ago
Liana Husikyan
561e461ded
added createing FunctionType from ArrayType VariableDeclaration
added test
10 years ago
chriseth
cc5c8f2678
SHA3 optimizations.
10 years ago
chriseth
b5e81a46ca
Retain more gas for the case that the called contract is not yet created.
10 years ago
Liana Husikyan
065d9a9e68
VariableDeclaration::checkTypeRequirements() refactoring
10 years ago
Liana Husikyan
ab0b92242f
Update Types.cpp
10 years ago
Liana Husikyan
c5df9e205b
Update AST.cpp
10 years ago
Liana Husikyan
f4ea6b8e8d
Update Types.h
10 years ago
Liana Husikyan
4352423fea
miner changes in the implementation of the externalTypes function of FunctionType.
better error messages for exeptions
style fixes after review
10 years ago
Liana Husikyan
4173a71846
changed checking for external type in VariableDeclaration::checkTypeRequirements()
changed error msg
10 years ago
Liana Husikyan
0e247e0282
style fixes
10 years ago
chriseth
ae6bae4a6c
Refactor: Pull out array index access.
10 years ago
Lefteris Karapetsas
29669c16a2
Fix some styling issues and remove comments
10 years ago
Lefteris Karapetsas
04d0415e52
Detect if non-existant parameter is documented with natspec
10 years ago
Lefteris Karapetsas
dfcaf8a414
Abstract contract and inheritance
- Checking the linearized base contracts for abstract functions and
handle their existence appropriately
- If a contract is abstract it can't be created with new
- An abstract contract is not compiled (no backend code is generated)
- Of course tests
10 years ago
Liana Husikyan
dd15c53ae4
added externalTypes function to functionType
removed flag for externalSigniture
10 years ago
Lefteris Karapetsas
4e234b30ed
Moving contract fullyImplemented check to TypeRequirements
10 years ago
Liana Husikyan
8b14b4f4d1
two more tests
style fixes
10 years ago
Gav Wood
d71bec193f
Clean up some code redundancy.
Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
10 years ago
Lefteris Karapetsas
742002b05a
Parsing of not fully implemented functions
- Adding the possibility of omitting a function body by simply ending a
function definition with a semicolon
- Such a function is marked as not fully implemented and any contract
that contains such a function is considered a not fully implemented contract
10 years ago
Liana Husikyan
f3e8d2b7e9
tests for external types
10 years ago
Liana Husikyan
ba8d0f615c
renamed externalTypes to externalSignature
10 years ago
Liana Husikyan
0ca313ec85
renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test
todo
testing
10 years ago