Commit Graph

959 Commits

Author SHA1 Message Date
chriseth
41aa3221df Moved Solidity files from cpp-ethereum 2015-08-19 12:41:46 +02:00
chriseth
1dbfb0350b Moved all Solidity files. 2015-08-19 12:41:16 +02:00
Gav Wood
8b980c7541 Initial commit 2015-08-17 14:27:26 +02:00
Gav Wood
068d8d0f45 Merge pull request #2734 from chriseth/sol_fixOperators
Disallow some binary operators.
2015-08-10 20:25:03 +02:00
Liana Husikyan
2a9c650c9e added checks to prevent the self assignment 2015-08-10 17:55:31 +02:00
chriseth
b1563878b6 Disallow comparison for reference types.
Fixes #2690
2015-08-07 17:50:54 +02:00
chriseth
ab33328d1f Do not allow boolean operators for integers.
Fixes #2496
2015-08-07 17:50:07 +02:00
debris
666062cf07 now policy CMP0042 is set to OLD
This reverts commit 61e99b1040b80685c70c57cfb23f92e898cd41fb.
2015-08-05 23:51:52 +02:00
chriseth
f1fa2734d0 Merge pull request #2697 from chriseth/sol_fix_clone
Fix clone with regards to value transfer.
2015-08-05 18:13:42 +02:00
Gav Wood
c070c23d83 Revert "fixed cmake policy CMP0042, MACOSX RPATH" 2015-08-05 17:57:22 +02:00
chriseth
4ce09762c7 Merge pull request #2688 from chriseth/toBytesConversion
Allow explicit conversions bytes <-> string.
2015-08-05 17:19:19 +02:00
chriseth
3380c7c6c9 Merge pull request #2701 from chriseth/sol_fix_stringsAsKeysInMapping
Fix for strings as keys in mappings.
2015-08-05 15:59:44 +02:00
debris
96369f54e1 fixed cmake policy CMP0042, MACOSX RPATH 2015-08-05 11:35:05 +02:00
chriseth
b5d37adfb5 Fix for strings as keys in mappings. 2015-08-04 16:59:37 +02:00
chriseth
eab9585ea1 Fix clone with regards to value transfer. 2015-08-04 14:06:25 +02:00
chriseth
858e7b83b5 Version 0.1.1 2015-08-04 11:12:44 +02:00
chriseth
56d5c33106 Allow explicit conversions bytes <-> string. 2015-08-04 11:06:57 +02:00
chriseth
6daa27622a strings as mapping keys. 2015-08-03 18:10:08 +02:00
chriseth
2c476390ca Merge pull request #2677 from chriseth/sol_copyContract
Clone contracts
2015-08-03 16:12:12 +02:00
chriseth
943fd623e1 Create and output clone contracts. 2015-07-31 19:23:31 +02:00
chriseth
ac1a11634e Improved gas computation for CALLCODE. 2015-07-28 13:37:46 +02:00
subtly
f2f1e03007 Fix for compiling w/xcode on 10.9
Been manually patching this -- submitting fix to resolve #2451.
2015-07-16 15:04:25 -04:00
Liana Husikyan
25d806ebca removed move constructors 2015-07-16 15:57:57 +02:00
Liana Husikyan
223b9b101a removed unnecessary function 2015-07-16 13:57:56 +02:00
Liana Husikyan
bfb2def2c9 added calls of move cunstructor for returning string values. 2015-07-16 13:57:56 +02:00
Liana Husikyan
d216895025 corrected comments 2015-07-16 13:57:56 +02:00
Liana Husikyan
dc605218da changed implementation according to notes from code review 2015-07-16 13:57:56 +02:00
Liana Husikyan
0111d3d4c4 changedthe output style of the Natspec docstring 2015-07-16 13:57:56 +02:00
Liana Husikyan
251b5ae84e now for SolidityEndToEndTest we can use compileRequireThrow<typename> 2015-07-16 13:57:56 +02:00
Liana Husikyan
814bc49aa2 modified test network to test exceptions during parsing of documentation
todo:
 - change to work wirh all exceptions
 - fix white space problems in the output text for Natspec
2015-07-16 13:57:56 +02:00
Liana Husikyan
e8aaedf97b modified test network to test exceptions during parsing of documentation
todo:
 - change to work wirh all exceptions
 - fix white space problems in the output text for Natspec

Conflicts:
	test/libsolidity/SolidityEndToEndTest.cpp
2015-07-16 13:57:56 +02:00
Liana Husikyan
43398adc99 contract documentation is now parsing during compilation and not by request. 2015-07-16 13:57:55 +02:00
chriseth
54fa8ed7a6 Add BuildInfo.h as dependency. 2015-07-16 13:50:46 +02:00
chriseth
79a8effaa4 Merge pull request #2480 from chriseth/sol_relaxStackHeightCheck
Allow one additional stack slot.
2015-07-16 12:32:49 +02:00
chriseth
63d603bccc Merge pull request #2482 from chriseth/sol_fix_initialiseStorageStrings
Fix for initialising storage strings.
2015-07-16 12:31:24 +02:00
chriseth
a2796c3d15 Allow structs containing mappings in memory. 2015-07-16 01:10:09 +02:00
chriseth
2ce6d3bcee Fix for initialising storage strings. 2015-07-15 22:13:27 +02:00
chriseth
c7c5de4dd3 Allow one additional stack slot.
Fixes: #2478
2015-07-15 22:11:17 +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
Gav Wood
08466095f7 Merge pull request #2471 from chriseth/sol_fix_wrongArgumentCount
Improved error message for wrong argument count.
2015-07-14 18:17:27 +02:00
Gav Wood
a85c5bd0b0 Merge pull request #2470 from chriseth/sol_fix_bytesComparison
Fix comparison between bytes types.
2015-07-14 18:16:54 +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
a01365a259 Improved error message for wrong argument count.
Fixes #2456
2015-07-14 16:54:18 +02:00
chriseth
a3dace66e1 Fix comparison between bytes types.
Fixes #2087
2015-07-14 16:40:16 +02:00
chriseth
73275e1825 Use only a single stack slot for storage references. 2015-07-14 11:58:16 +02:00
Gav Wood
da818b1acd Merge pull request #2431 from chriseth/sol_versioning
Versioning for Solidity.
2015-07-09 14:17:56 -07:00
chriseth
46dde467e7 Flexible string literals, convertible to bytesX, bytes and string. 2015-07-09 17:10:58 +02:00
chriseth
15dc5954c3 Versioning for Solidity. 2015-07-09 16:07:33 +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