88 Commits
Author SHA1 Message Date
chriseth 1bf87c6c2b Set version to 0.3.0 2016-03-11 17:52:24 +01:00
chriseth e5514becb8 BREAKING: Implement delegatecall and make default for library calls. 2016-03-11 17:49:32 +01:00
RJ Catalano 7b918a7bc7 changes to redefine the token list, the scanner, and the parser and how they pass around variable types of different sizes
not ready for change to FixedPoint just yet

made this more const correct and added a switch statement for easier reading
2016-02-18 11:22:52 -06:00
chriseth 29faf1b298 Index access for bytesXX. 2016-02-09 17:07:04 +01:00
Lu Guanqun 51caa04238 add more test cases for cond-expr 2016-01-22 17:14:01 +00:00
Lu Guanqun d36537e737 cond-expr: use the mobile type instead of the original type 2016-01-22 17:14:01 +00:00
Lu Guanqun c8b0533933 [cond-expr] change the end to end test 2016-01-22 17:14:01 +00:00
Lu Guanqun ac3019298a [cond-expr] add a test for different types 2016-01-22 17:14:01 +00:00
Lu Guanqun 1cd3288311 [cond-expr] add a test to assign memory to storage 2016-01-22 17:14:01 +00:00
Lu Guanqun bf7daf0814 [cond-expr] don't allow conditional as left value for the first stage 2016-01-22 17:14:00 +00:00
Lu Guanqun b003290638 [cond-expr] fixup according to code review 2016-01-22 17:14:00 +00:00
Lu Guanqun db6ce6d8a1 comment out one un-supported test case 2016-01-22 17:14:00 +00:00
Lu Guanqun 08493589c1 fixup end to end test 2016-01-22 17:14:00 +00:00
Lu Guanqun 0a45fe04f3 [cond-expr] add end to end test 2016-01-22 17:14:00 +00:00
Lu Guanqun e130bc7e7c check whether break/continue is in the loop 2016-01-15 15:12:23 +08:00
RJ Catalano c45593a444 clarification on dynamic arrays, switcheroo on typepointer, and a documentation test added 2016-01-11 23:41:20 -06:00
RJ Catalano c7df6d0310 one last test for long strings 2016-01-11 00:48:02 -06:00
RJ 5a3b40f802 Update SolidityEndToEndTest.cpp 2016-01-10 21:36:47 -06:00
RJ d751b9085c Update SolidityEndToEndTest.cpp 2016-01-10 01:12:52 -06:00
Lu Guanqun 208429644d add a test case for decayed tuple expression as left value 2016-01-04 16:11:43 +08:00
chriseth 54e3637d23 Add structs and enums to contract types. 2015-12-18 16:50:14 +01:00
chriseth 8342424815 Increment version to 0.2.0 (includes breaking changes). 2015-12-01 16:06:14 +01:00
chriseth 7f415da886 Code generation for calling bound methods. 2015-12-01 12:35:34 +01:00
chriseth a8736b7b27 Merge pull request #256 from chriseth/selfdestruct
Introduce selfdestruct alias for suicide.
2015-11-30 16:06:18 +01:00
chriseth 6796afc2f8 Bugfix for constructor unpacking with fixed-size arrays. 2015-11-29 01:03:39 +01:00
chriseth b97bb086de Introduce selfdestruct alias for suicide. 2015-11-29 00:10:07 +01:00
chriseth 879844dd0a Code generation for creating arrays. 2015-11-26 13:10:12 +01:00
chriseth 30b325fdc1 Allow "new expressions" also for general type names.
Breaking change: If you want to send value with a contract creation, you
have to use parentheses now:

`(new ContractName).value(2 ether)(arg1, arg2)`
2015-11-26 13:10:12 +01:00
chriseth 588e4232eb Test for allocation bug. 2015-11-24 14:54:18 +01:00
chriseth 8dfc964e7d Merge pull request #227 from chriseth/addmod
Addmod and mulmod.
2015-11-19 13:16:13 +01:00
Gav Wood 3be0ae6e2c Merge pull request #204 from ethereum/hot_gav
The Big Refactor
2015-11-19 12:20:46 +01:00
chriseth 0cf8d022ae Addmod and mulmod. 2015-11-18 17:12:39 +01:00
chriseth f4de369bad Merge pull request #218 from chriseth/fix_overwriteMemory
Fix memory overwrite problem for arrays.
2015-11-17 14:46:19 +01:00
chriseth 0c900f9b8a Fix memory overwrite problem for arrays. 2015-11-16 18:32:21 +01:00
chriseth a35f91816b Fix dynamic indexed event arguments - applies sha3. 2015-11-16 17:09:09 +01:00
Gav Wood a89fa99994 New vocab. 2015-11-06 13:26:20 +01:00
chriseth a5c227778d Bugfix: Returning literal strings in tuples. 2015-10-31 23:13:45 +01:00
chriseth b4f561680a Store docstrings in AST annotations. 2015-10-26 15:24:36 +01:00
chriseth e3dffb611f File reorganisation. 2015-10-21 00:46:01 +02:00
chriseth ead0478f26 Fix errors when struct array type is used on its own. 2015-10-16 14:36:30 +02:00
chriseth 029b819489 Wildcards. 2015-10-15 17:38:42 +02:00
chriseth 039b2a764f Destructuring assignments. 2015-10-15 17:38:42 +02:00
chriseth 7ebd536e79 Tuple expressions. 2015-10-15 17:38:42 +02:00
chriseth 7ba42f4707 Merge pull request #130 from LefterisJP/dynamic_array_push
Dynamic array push
2015-10-15 17:37:15 +02:00
Lefteris Karapetsas a823de2d58 push() for byte arrays also properly implemented 2015-10-15 14:37:11 +02:00
Lefteris Karapetsas 9224c1f712 Working implementation of arraypush
ByteArrayPush() gets a test but is ignored for now, since there are
still some issues with its implementation
2015-10-15 13:54:59 +02:00
Lefteris Karapetsas a521843f6b Implement Dynamic array push and fix test
Still a work in progress. There is a disturbance in the stack at the
moment and that's why there are some cout statements left for debugging.
2015-10-15 10:52:30 +02:00
Lefteris Karapetsas 763b544822 Add a dynamic array push() test 2015-10-15 10:52:30 +02:00
LianaHus c3491e4469 errors instead of exceptions
Conflicts:
	libsolidity/CompilerStack.cpp
	libsolidity/NameAndTypeResolver.cpp
	libsolidity/NameAndTypeResolver.h
	libsolidity/TypeChecker.cpp
	test/libsolidity/SolidityNameAndTypeResolution.cpp
2015-10-14 20:37:41 +02:00
chriseth c54a033bf0 Tests for multi variable declaration. 2015-10-09 16:26:27 +02:00