Commit Graph

190 Commits

Author SHA1 Message Date
Gav Wood
70d9eb3f1d Move non-cryptopp dependent stuff into devcore. 2015-05-19 19:51:38 +02:00
chriseth
dba5ffc280 Bare callcode for addresses and contracts. 2015-05-15 18:02:09 +02:00
Liana Husikyan
1087d34a66 saved returnParameterNames in FunctionType constructor 2015-04-27 13:08:32 +02:00
Liana Husikyan
88536f90e8 changed the test so constructor will have input parameters 2015-04-27 13:08:32 +02:00
chriseth
a6d08950c6 bytes parameters for events and sha3. 2015-04-22 11:43:49 +02:00
Gav Wood
5f6a396765 Merge pull request #1699 from chriseth/sol_fix_contractTypesAsArguments
Fix for Contract and Enum types as external function arguments.
2015-04-21 17:32:01 +02:00
chriseth
8125f93b12 Fix for Contract and Enum types as external function arguments. 2015-04-21 15:50:37 +02:00
chriseth
c7b428fdb1 Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Conflicts:
	libsolidity/Types.cpp
2015-04-15 17:43:23 +02:00
chriseth
0c69d5fdcd Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
2015-04-15 17:40:50 +02:00
Liana Husikyan
6f38bfeb6c fixes
added more tests
2015-04-08 15:56:36 +02:00
Liana Husikyan
fb1cf35f3b added implementation to append code for State variable accessor
fixed tests
2015-04-08 15:56:35 +02:00
Liana Husikyan
df3ce3ad8f some more tests 2015-04-08 15:56:35 +02:00
Liana Husikyan
7eec25b6eb added createing FunctionType from ArrayType VariableDeclaration
added test
2015-04-08 15:56:35 +02:00
Liana Husikyan
eac47b1328 Update Types.cpp 2015-04-01 15:42:30 +02:00
Liana Husikyan
d7d5b8200a miner changes in the implementation of the externalTypes function of FunctionType.
better error messages for exeptions
style fixes after review
2015-04-01 15:21:17 +02:00
Liana Husikyan
37a0234c4a style fixes 2015-04-01 15:21:17 +02:00
Liana Husikyan
a3d829d074 added externalTypes function to functionType
removed flag for externalSigniture
2015-03-27 13:28:32 +01:00
Liana Husikyan
8f747aab0f tests for external types 2015-03-25 14:20:13 +01:00
Liana Husikyan
9986b072ad renamed externalTypes to externalSignature 2015-03-25 13:59:46 +01:00
Liana Husikyan
701b34fbeb renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test

todo
testing
2015-03-25 13:59:46 +01:00
Liana Husikyan
e3ea90e997 added check for events and stat variables 2015-03-25 13:59:39 +01:00
Liana Husikyan
011d95e7e3 - added externalType to BooleanType.
- fixed the error message
2015-03-25 13:59:39 +01:00
Liana Husikyan
607f397234 added externalType for ArrayType 2015-03-25 13:59:39 +01:00
chriseth
8f8e407306 Merge pull request #1341 from chriseth/sol_packedStorage
Packed storage for arrays.
2015-03-20 12:54:36 +01:00
Lefteris Karapetsas
8e0f4c7db9 Explicit conversion between bytes and int of any size
- Allowing aforementioned conversion and adding tests for it
2015-03-18 10:57:24 +01:00
chriseth
90c519d08f Disallowed special case of bytes0 arrays. 2015-03-17 18:34:57 +01:00
chriseth
2cde4f3404 Packing for arrays. 2015-03-17 18:13:28 +01:00
chriseth
895c08342c Provide access to storage offsets via contract type. 2015-03-17 18:13:27 +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
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
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
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
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
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
chriseth
6fea41abd8 Merge pull request #1222 from chriseth/sol_copyFromCalldata
Copying between calldata and storage.
2015-03-06 15:42:49 +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
Christian
7112696993 Fixed arrays in ABI. 2015-03-03 12:58:48 +01:00