Commit Graph

219 Commits

Author SHA1 Message Date
chriseth
a2796c3d15 Allow structs containing mappings in memory. 2015-07-16 01:10:09 +02:00
Gav Wood
d747f34466 Merge pull request #2473 from chriseth/sol_fix_exponentialNotation
Check whether a literal is a valid literal before using it.
2015-07-14 18:18:38 +02:00
chriseth
3d03e85e4e Check whether a literal is a valid literal before using it.
Fixes #2078
2015-07-14 17:43:13 +02:00
chriseth
73275e1825 Use only a single stack slot for storage references. 2015-07-14 11:58:16 +02:00
chriseth
46dde467e7 Flexible string literals, convertible to bytesX, bytes and string. 2015-07-09 17:10:58 +02:00
chriseth
aa6182ab87 Style and some assertion messages. 2015-07-03 18:15:05 +02:00
chriseth
e2d6e34f9c Struct constructors. 2015-07-03 17:25:30 +02:00
chriseth
cad3379306 Memory structs. 2015-07-03 17:25:29 +02:00
chriseth
35540fcf2d Another compiler fix. 2015-06-29 13:23:02 +02:00
chriseth
bdbe5a3cf8 Fix gcc issue. 2015-06-27 00:13:53 +02:00
chriseth
03edf74e62 No delete on storage pointers. 2015-06-26 21:28:02 +02:00
chriseth
342ca94866 Fixed and simplified external type computation. 2015-06-26 16:55:42 +02:00
chriseth
e5ae5955b9 Initialisation of memory types. 2015-06-24 19:34:43 +02:00
chriseth
1add48a652 Copy routines for non-byte arrays. 2015-06-24 12:18:19 +02:00
chriseth
fd1a01bbce Decoding for constructor. 2015-06-22 20:55:46 +02:00
chriseth
8639cf8e3d Remove dynamic return types. 2015-06-22 20:50:47 +02:00
chriseth
1ff8dbebab Accessors for strings. 2015-06-17 14:25:00 +02:00
chriseth
6f7595e0e2 Pleased gcc. 2015-06-15 14:40:42 +02:00
chriseth
258b1a74e2 Distinction between storage pointer and storage ref and type checking for conversion between storage and memory. 2015-06-15 14:40:41 +02:00
chriseth
6ad90719d8 Merge pull request #2114 from LianaHus/sol_byte0_in_storage
Sol removed bytes0
2015-06-10 15:35:28 +02:00
Liana Husikyan
05d36074d1 removed byte0 keyword 2015-06-08 13:53:25 +02:00
Paweł Bylica
cddceb2b4f Remove pessimising moves. 2015-06-08 12:09:24 +02:00
chriseth
5a9d01b815 Bare functions return success condition. 2015-06-05 17:37:16 +02:00
chriseth
f4d1acc563 Ability to specify the storage location of a reference type. 2015-06-05 14:44:05 +02:00
Liana Husikyan
a8505e598f Update Types.cpp 2015-06-04 18:06:06 +02:00
Liana Husikyan
4e15a39107 fixed assigning negative number to unsigned 2015-06-04 14:09:19 +02:00
Liana Husikyan
89aab7e234 - style fixes
- added test for uint8 = -1 which doesn't fail; todo: fix that
2015-06-04 12:42:55 +02:00
Liana Husikyan
382ac85aa5 - conversion of positive literals to signed int
- tests
2015-06-04 11:48:09 +02:00
chriseth
6949ce97e4 Re-introduce string type. 2015-05-28 16:20:50 +02:00
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