Liana Husikyan
4081752e63
style changes
10 years ago
Liana Husikyan
328d40450f
changed the way of resolving declarations. now the cleanup of function duplications in libsolidity/NameAndTypeResolver.cpp(WIP)
10 years ago
chriseth
2111cd4894
Move assembly related files to libevmasm and Params.h/.cpp to libevmcore.
10 years ago
Liana Husikyan
376201c781
removed an unnecessary function
10 years ago
Liana Husikyan
f2502b01f7
fixed the output of the test
10 years ago
chriseth
3146a7aeb7
Fix for Contract and Enum types as external function arguments.
10 years ago
Lefteris Karapetsas
5be5fc55a0
Adding forgotten virtual specifier to EnumValue getType()
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
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
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
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
Liana Husikyan
3e0f3fd514
added test to check anonymous events with user specified topics
added initial value for m_anonymous of EventDefinition
10 years ago
Liana Husikyan
7cb944c903
added anonymous to ABI
10 years ago
Liana Husikyan
7fe63e36e9
changed the position of 'anonymous' keyword: event <name>() anonymous.
- style changes
10 years ago
Liana Husikyan
0b14d26f6b
Added anonymous flag to event.
added test
10 years ago
Liana Husikyan
581cd68fcf
restyleing
removed unnecessary check
10 years ago
Liana Husikyan
7359f68b9f
- added more tests to check constant specifier implementation
- deny use of const for local variables
- deny unitialized const variables
- only int, fixed strings, and enums can be declaired as const
10 years ago
Liana Husikyan
304256b546
- added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value>
- removed tests for constant functions, checkings for constant function doesn't belong to this story
10 years ago
Liana Husikyan
6f11b6a73f
added parsing for constant variables
10 years ago
Lu Guanqun
aa68913dd2
make it work for var x = f;
10 years ago
Lu Guanqun
17f79a5c6e
implement overload resolution
10 years ago
Lu Guanqun
defd6cfa21
mark an identifier as callable if its next token is '('
10 years ago
chriseth
77b9fdcfbc
Fix type checks for storage variable initializer.
10 years ago
Gav Wood
e2f1bc4133
Add date/time language to solidity.
10 years ago
Gav Wood
2719aaf830
Add date/time language to solidity.
10 years ago
Gav Wood
d14df543ff
Add date/time language to solidity.
10 years ago
Liana Husikyan
a545b8a7a4
removed unused member
added some comments for ModifierInvocation::checkTypeRequirements
cleanup
10 years ago
Liana Husikyan
df4746d5e7
Implemented passing arguments to the base constructor.
10 years ago
Lefteris Karapetsas
de6e9f4f54
Using normal pointer in getInheritableMembers()
10 years ago
Lefteris Karapetsas
b1dcc2a77f
VisibleInDerivedContracts() is now virtual()
- Plus an extra test for internal visibility in a base class variable
10 years ago
Lefteris Karapetsas
345e84baea
Adding inheritable members to a contract
10 years ago
Lefteris Karapetsas
a157ccae4d
Move SourceLocation to evmcore
10 years ago
Lefteris Karapetsas
46fd746cd8
Changes after rebase on top of Array Parsing
10 years ago
Lefteris Karapetsas
f85aee0826
Moving Source Location libdevcore
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
10 years ago
Christian
fba4484151
Replaced "inheritable" by "internal".
10 years ago
Christian
92507f5bf0
Allow conversion to dynamic arrays and update grammar.
10 years ago
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Liana Husikyan
d66c448d82
corrected accept for variableDeclaration
changes after code review
10 years ago
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Lefteris Karapetsas
952350bec1
Bugfix for functions override
- Functions with byte array type parameters can now be safely
overriden. Parameter location is now set at the right place.
- Also made a test for the fix
10 years ago
Christian
27d436a04c
Rename "protected" to "inheritable".
10 years ago
Christian
ed0384b759
No write access to parameters of external functions.
10 years ago