Gav Wood
a5b4f18dd7
Fix warnings.
2015-02-26 13:19:34 +01:00
Christian
66b6860eb8
Stylistic changes.
2015-02-25 16:22:30 +01:00
Christian
29c614ebaf
Removed code duplication.
2015-02-25 15:55:42 +01:00
Christian
cc31a7ab32
LValue refactoring.
2015-02-25 15:41:19 +01:00
Lefteris Karapetsas
7f3a544d2a
Move SourceLocation to evmcore
2015-02-25 12:19:02 +01:00
Lefteris Karapetsas
ece19cb913
Tighter coupling for Assembly items retrieval
...
- Exposing only assembly items, not the entire compiler context
2015-02-25 12:02:58 +01:00
Lefteris Karapetsas
71b0d8107a
LocationSetter in some extra places during Compiling
...
- Also adjusted the test, and fixed its error reporting
2015-02-25 10:40:14 +01:00
Lefteris Karapetsas
54121a0d78
Styling changes for SourceLocation and friends
2015-02-25 09:53:28 +01:00
Lefteris Karapetsas
fb328b778c
Changes after rebase on top of Array Parsing
2015-02-24 17:31:06 +01:00
Lefteris Karapetsas
12c32392ab
Simple Assembly Locations test
...
- Also adding some helper functions to SourceLocation
2015-02-24 17:16:22 +01:00
Lefteris Karapetsas
3e5c9a74b2
Reset CompilerContext's visited nodes at compile start
2015-02-24 17:16:22 +01:00
Lefteris Karapetsas
1891020ffb
Moving Source Location libdevcore
...
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
2015-02-24 17:16:22 +01:00
Lefteris Karapetsas
38cb123a82
Adding location information to assembly items
...
- In order to facilitate this addition we also now have a ScopeGuard
object used in the Compiler to set the currently visited node.
2015-02-24 17:16:22 +01:00
Christian
820ed2dfe1
Out-of-bounds checking.
2015-02-23 18:28:33 +01:00
Christian
5d2323c914
Index and length access for dynamic arrays.
2015-02-23 18:28:30 +01:00
Christian
754c804d19
Implementation of index access.
2015-02-23 18:25:49 +01:00
Christian
3abbb8d625
Activate standard sources by default.
2015-02-23 16:28:18 +01:00
Gav Wood
44db8c26db
Merge pull request #1100 from chriseth/sol_arrays
...
Parsing support for arrays.
2015-02-23 15:19:07 +01:00
Christian
39c471f332
Comments and warnings.
2015-02-23 14:55:06 +01:00
Christian
c8b03c51a0
Renames and comments.
2015-02-23 14:38:44 +01:00
Gav Wood
45fdd9b007
Merge pull request #1107 from chriseth/sol_inheritableIsInternal
...
Replaced "inheritable" by "internal".
2015-02-23 10:42:59 +01:00
Christian
a17108e3bc
Replaced "inheritable" by "internal".
2015-02-22 19:37:54 +01:00
Christian
e7528c6af8
Stack height checks and fix.
2015-02-22 19:16:40 +01:00
Lefteris Karapetsas
c62828c8ff
Adding default value to isLibrary
2015-02-21 18:55:55 +01:00
Christian
261786d909
Allow conversion to dynamic arrays and update grammar.
2015-02-21 18:25:08 +01:00
Lefteris Karapetsas
3367bf4b95
Removing temporary contracts
...
- They are now added as importable libraries
2015-02-21 16:31:25 +01:00
Lefteris Karapetsas
7b709c7c8a
Adding Libraries as source units
2015-02-21 16:03:44 +01:00
Christian
be15e0b424
Index access.
2015-02-21 15:10:02 +01:00
Christian
5e32083179
Parsing of array types and basic implementation.
2015-02-21 15:10:01 +01:00
chriseth
75498a48d8
Merge pull request #1093 from LianaHus/sol_InlineMemberInits
...
Inline member inits
2015-02-21 14:53:45 +01:00
Liana Husikyan
fa3cd1cdc2
renamed local vaiable in fromDeclaration
...
added missing endvisit
2015-02-20 23:04:32 +01:00
Liana Husikyan
d0c36795a0
renamed fromIdentifier to fromStateVariable
2015-02-20 22:51:23 +01:00
Liana Husikyan
858acaa193
corrected accept for variableDeclaration
...
changes after code review
2015-02-20 22:51:16 +01:00
Liana Husikyan
1ed86b33bc
cosmetic changes
2015-02-20 22:51:16 +01:00
Liana Husikyan
52050201e3
Inline member initialisation
...
renamed VariableDefinition class to VariableDeclarationStatement
added tests
2015-02-20 22:50:34 +01:00
Gav Wood
89d84edb16
Merge branch 'develop'
...
Conflicts:
README.md
evmjit
libdevcrypto/CryptoPP.cpp
libethereum/State.cpp
neth/main.cpp
2015-02-20 21:56:37 +01:00
Gav Wood
8524051166
cppcheck fixes.
2015-02-20 21:00:13 +01:00
Lefteris Karapetsas
26132363d5
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
2015-02-19 17:43:53 +01:00
Gav Wood
a2f5ea88b8
Merge pull request #1087 from chriseth/sol_changeProtectedToInheritable
...
Rename "protected" to "inheritable".
2015-02-18 14:10:08 +01:00
Christian
8d658ce5a2
Rename "protected" to "inheritable".
2015-02-18 13:35:12 +01:00
chriseth
906b1de862
Merge pull request #1083 from chriseth/sol_structAssigndAndDeleteWithByteArray
...
Fixes for assigning and deleting structs containing byte arrays.
2015-02-18 13:31:15 +01:00
Christian
197b184d25
Fixes for assigning and deleting structs containing byte arrays.
2015-02-18 00:15:32 +01:00
Lefteris Karapetsas
de574487e4
getMemberTypes() respects source order
2015-02-17 22:33:44 +01:00
Gav Wood
294648b534
Merge pull request #1074 from arkpar/mix_codemodel
...
Mix: Allow more than one contract
2015-02-17 19:39:24 +01:00
Gav Wood
1e2d4b5c00
Merge pull request #1072 from chriseth/sol_external
...
bytes ABI type and external visibility specifier
2015-02-17 19:38:35 +01:00
Gav Wood
41e6096295
Merge pull request #1066 from debris/include_order
...
improved headers include_directories order, fixed #1022
2015-02-17 19:33:27 +01:00
Lefteris Karapetsas
c7e9984574
Initialize FunctionType's m_isConstant attribute in the Event Constructor
2015-02-17 09:24:58 +01:00
arkpar
e9ac8a1199
allow more than one contract
2015-02-16 23:05:57 +01:00
Christian
a33fa270f6
Calldata byte arrays stored on the stack.
2015-02-16 19:35:53 +01:00
Christian
971cc9b5b9
Unpacking of dynamically sized arguments.
2015-02-16 19:25:27 +01:00