chriseth
d1f9e14476
Exception-throwing assert.
2015-03-18 15:32:17 +01:00
Liana Husikyan
ed757ba5bf
added test to check anonymous events with user specified topics
...
added initial value for m_anonymous of EventDefinition
2015-03-17 14:25:23 +01:00
Liana Husikyan
46cbb5525c
added anonymous to ABI
2015-03-17 14:25:23 +01:00
Liana Husikyan
5a5577f5a5
changed the position of 'anonymous' keyword: event <name>() anonymous.
...
- style changes
2015-03-17 14:25:13 +01:00
Liana Husikyan
2986ecbd75
Added anonymous flag to event.
...
added test
2015-03-17 10:51:03 +01:00
chriseth
fc0bdc3d81
Fix static variables.
2015-03-16 19:28:31 +01:00
chriseth
c284408e7a
Add move assignment operator manually.
2015-03-16 19:00:45 +01:00
chriseth
9b2a255c1b
Move memberlist to avoid unique_ptr copy.
2015-03-16 18:09:56 +01:00
chriseth
02595abf6a
Fetch and store packed values.
2015-03-16 18:07:14 +01:00
chriseth
7f64584b7f
Compute packing offsets.
2015-03-16 18:07:14 +01:00
chriseth
fff3f98f58
Enlarge storage references to two stack slots.
2015-03-16 18:07:14 +01:00
chriseth
c34e1da6db
Merge pull request #1325 from LefterisJP/sol_MsgSig
...
Adding msg.sig Solidity Magic type
2015-03-16 17:30:18 +01:00
Lefteris Karapetsas
bb5364dd66
Additional test for msg.sig
2015-03-16 16:42:56 +01:00
Liana Husikyan
27a89a36e1
restyleing
...
removed unnecessary check
2015-03-16 14:45:11 +01:00
Lefteris Karapetsas
d7ffba1504
Adding msg.sig Solidity Magic type
...
msg.sig will return a bytes4 with the function signature located in CALLDATALOAD
2015-03-16 12:59:56 +01:00
Liana Husikyan
ebb4d5e298
- 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
2015-03-16 10:46:46 +01:00
Liana Husikyan
7d6357ae53
- 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
2015-03-16 10:46:46 +01:00
Liana Husikyan
67cd3a7180
added parsing for constant variables
2015-03-16 10:46:46 +01:00
chriseth
a16677dcfb
Fix gas for builtin.
...
Fixes #1300
2015-03-13 17:31:56 +01:00
Lefteris Karapetsas
039b133c18
Small FixedBytes type fixes
...
- Integer Constant is explicitly convertible to FixedBytes, so using
that in the tests
2015-03-12 17:31:39 +01:00
Lefteris Karapetsas
a62d3fa240
Some fixes on Types.cpp for FixedBytesType
2015-03-12 13:39:12 +01:00
Lefteris Karapetsas
3b54583d38
Style fixes and some additional hash to bytes32 renaming
2015-03-12 12:53:01 +01:00
Lefteris Karapetsas
c81b498953
Style fixes in Types[cpp/h]
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
b8cede371d
byte is now an alias for byte1
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
cd3e8c1756
Fixing byte array index access code generation
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
b2fadf6b93
Conversion changes after renaming Hash/String to Bytes.
...
- Almost all end to end tests pass. Still needs a little bit of work
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
73ce24ae75
Most EndToEndTests are now compliant with the Bytes renaming
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
2bddebc3d5
Bytes Tokens properly named and NameAndTypeResolution tests work
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
3ca37caddd
Fixes after rebasing on top of develop
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
7d7f37bd5e
Replacing StaticStringType with FixedBytesType
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
bede2f2ad7
More changes towards getting rid of HashXX
2015-03-12 12:53:00 +01:00
Lefteris Karapetsas
36fe571576
start of cleanup
2015-03-12 12:53:00 +01:00
Gav Wood
51258f3002
Merge pull request #1268 from chriseth/sol_checkerFixes
...
Fixed some checker warnings.
2015-03-10 18:44:34 +00:00
chriseth
d41c51a810
Fixed some checker warnings.
2015-03-10 15:11:13 +01:00
Liana Husikyan
d5cbb2acd2
added brackets for printing in/out
...
cleaned up
2015-03-10 12:02:48 +01:00
Liana Husikyan
74a01826ee
added information about jump type for jump instructions
...
Conflicts:
libevmcore/Assembly.cpp
libsolidity/Compiler.cpp
2015-03-10 12:02:48 +01:00
chriseth
9c82cbeddf
Global variable "now" (alias for block.timestamp).
2015-03-09 19:22:43 +01:00
chriseth
cd8a0ab65d
Style fixes.
2015-03-09 13:28:29 +01:00
chriseth
94c51caf89
Fixed: Some instructions did not have source locations.
2015-03-09 13:28:29 +01:00
Gav Wood
67ffc3db71
Solidity fixes.
2015-03-08 11:43:17 +01:00
chriseth
0e50ef1ee0
Fixed gas calculation for CALL.
2015-03-06 16:23:39 +01:00
chriseth
6fea41abd8
Merge pull request #1222 from chriseth/sol_copyFromCalldata
...
Copying between calldata and storage.
2015-03-06 15:42:49 +01:00
chriseth
8de5ff5c25
Update Types.h
...
Typo
2015-03-06 15:39:21 +01:00
chriseth
28e88903dc
Fix type checks for storage variable initializer.
2015-03-06 13:47:32 +01:00
Gav Wood
75b1151952
Merge branch 'poc9trie' of github.com:ethereum/cpp-ethereum into poc9trie
...
Conflicts:
libethcore/BlockInfo.cpp
libethcore/Exceptions.cpp
libethcore/Exceptions.h
2015-03-06 13:28:37 +01:00
chriseth
11e943fc6a
Fix for arrays containing mappings.
2015-03-06 13:17:52 +01:00
chriseth
d8b156ecbb
Copying between calldata and storage.
2015-03-06 13:17:52 +01:00
Gav Wood
1c9a048a47
Params & JSON file.
2015-03-06 12:46:23 +01:00
Gav Wood
9aea119e54
Add date/time language to solidity.
2015-03-06 12:46:23 +01:00
Gav Wood
5729ae0e8c
Merge branch 'poc9trie' of github.com:ethereum/cpp-ethereum into poc9trie
2015-03-06 12:36:09 +01:00