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
b5e81a46ca
Retain more gas for the case that the called contract is not yet created.
10 years ago
chriseth
ae6bae4a6c
Refactor: Pull out array index access.
10 years ago
Liana Husikyan
dd15c53ae4
added externalTypes function to functionType
removed flag for externalSigniture
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
chriseth
d2077b8962
Byte size checked for zero; coding style.
10 years ago
chriseth
85505d45c0
Packing for arrays.
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
chriseth
925acfad80
Fetch and store packed values.
10 years ago
chriseth
fed44efdce
Enlarge storage references to two stack slots.
10 years ago
Lefteris Karapetsas
382a587886
Additional test for msg.sig
10 years ago
Lefteris Karapetsas
22b47689d5
Adding msg.sig Solidity Magic type
msg.sig will return a bytes4 with the function signature located in CALLDATALOAD
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
chriseth
4d67fe39ac
Fix gas for builtin.
Fixes #1300
10 years ago
Lefteris Karapetsas
9fa08d179b
Fixing byte array index access code generation
10 years ago
Lefteris Karapetsas
d9d792a055
Conversion changes after renaming Hash/String to Bytes.
- Almost all end to end tests pass. Still needs a little bit of work
10 years ago
Lefteris Karapetsas
bb205103c4
Most EndToEndTests are now compliant with the Bytes renaming
10 years ago
Lefteris Karapetsas
72f2397ebe
Replacing StaticStringType with FixedBytesType
10 years ago
Lefteris Karapetsas
4340d4867a
More changes towards getting rid of HashXX
10 years ago
Liana Husikyan
4323a0c655
added information about jump type for jump instructions
Conflicts:
libevmcore/Assembly.cpp
libsolidity/Compiler.cpp
10 years ago
chriseth
4f852f473e
Global variable "now" (alias for block.timestamp).
10 years ago
chriseth
cec5b3b60e
Fixed: Some instructions did not have source locations.
10 years ago
chriseth
65ad62ff55
Fixed gas calculation for CALL.
10 years ago
chriseth
9ae0d30dbc
Copying between calldata and storage.
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
Christian
a3b95811d4
Index access for calldata arrays.
10 years ago
Gav Wood
d14df543ff
Add date/time language to solidity.
10 years ago
Gav Wood
e96942c3c7
Solidity STOPs in case of failed call.
10 years ago
Gav Wood
bfb9223528
Solidity STOPs in case of failed call.
10 years ago
Christian
43892601e3
Shortening of dynamic arrays.
10 years ago
Christian
0d6e69ef53
Stylistic changes.
10 years ago
Christian
21b9bafee2
Removed code duplication.
10 years ago
Christian
a03ead264e
LValue refactoring.
10 years ago
Lefteris Karapetsas
9f85e14ead
LocationSetter in some extra places during Compiling
- Also adjusted the test, and fixed its error reporting
10 years ago
Lefteris Karapetsas
72f9ecd526
Styling changes for SourceLocation and friends
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
Lefteris Karapetsas
4c6bf04b87
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.
10 years ago
Christian
32f0c4f8e6
Out-of-bounds checking.
10 years ago
Christian
de537d5de3
Index and length access for dynamic arrays.
10 years ago
Christian
d1d9b2856a
Implementation of index access.
10 years ago
Christian
92507f5bf0
Allow conversion to dynamic arrays and update grammar.
10 years ago