Commit Graph

5590 Commits

Author SHA1 Message Date
Denton Liu
56558c0db2 Check for overflow 2016-08-24 15:16:57 -04:00
Denton Liu
876b39e8e5 Fix StandardToken 2016-08-19 11:21:54 -04:00
Denton Liu
9ca4948d6a CoinAdd .sol prefix to files 2016-08-19 11:13:24 -04:00
Denton Liu
e25fcecaf4 Rename to StandardToken 2016-08-19 11:03:14 -04:00
Denton Liu
e91e945933 Remove unnecessary contracts 2016-08-19 11:02:54 -04:00
Denton Liu
74545e70a4 Update std imports 2016-08-19 10:34:50 -04:00
Denton Liu
04ffff3cac Add ExampleToken 2016-08-19 10:34:50 -04:00
Denton Liu
fd578f0ed5 Add Token contract 2016-08-19 10:34:50 -04:00
Denton Liu
0cd2fc310b Change imports 2016-08-19 10:34:50 -04:00
Denton Liu
bf430709d5 Add back standard contracts 2016-08-19 10:34:50 -04:00
Denton Liu
e00f802f72 Remove standard contracts 2016-08-19 10:34:50 -04:00
chriseth
64cec9793a Merge pull request #919 from asinyagin/develop
Add the missing AST-JSON converters
2016-08-19 12:55:24 +02:00
chriseth
32c93cf9c9 Merge pull request #920 from Denton-L/document-throwing
Add documentation about throwing
2016-08-19 11:43:33 +02:00
Denton Liu
bbe7c493ad Document throwing on contract-creation fail 2016-08-18 12:47:41 -04:00
Alex Sinyagin
4b9eb299d0 Rename root AST JSON node to SourceUnit 2016-08-18 15:38:20 +00:00
Alex Sinyagin
4387d8bbe3 Do not add children to EnumValue and PlaceholderStatement elements in JSON AST 2016-08-18 13:29:44 +00:00
Alex Sinyagin
9139d763d3 Use the full names for JSON AST nodes 2016-08-18 13:12:15 +00:00
Alex Sinyagin
5061eb2b2b Move creation of the root element of JSON AST to the SourceUnit visitor 2016-08-18 12:51:17 +00:00
Alex Sinyagin
406f3a4b5d Add ast json converter for PlaceholderStatement 2016-08-18 12:30:00 +00:00
Alex Sinyagin
e9c894c9f8 Add ast json converter for ArrayTypeName 2016-08-18 12:30:00 +00:00
Alex Sinyagin
bdc2436ae3 Add ast json converter for ModifierInvocation and EventDefinition 2016-08-18 12:30:00 +00:00
Alex Sinyagin
a5d15e6895 Add ast json converter for ModifierDefinition 2016-08-18 12:29:59 +00:00
Alex Sinyagin
95832da16e Add ast json converter for EnumValue 2016-08-18 12:29:59 +00:00
Alex Sinyagin
a9e04217a4 Add ast json converter for EnumDefinition 2016-08-18 12:29:59 +00:00
Alex Sinyagin
af64219e17 Check source loctaion in the InhertanceSpecifier test 2016-08-18 12:29:59 +00:00
Alex Sinyagin
40ca2c9e97 Add ast json converter for UsingForDirective 2016-08-18 12:29:59 +00:00
Alex Sinyagin
9e7fc12463 Add a ast json converter for InheritanceSpecifier 2016-08-18 12:29:59 +00:00
Denton Liu
c2cfc819a2 Document throwing on calling empty code 2016-08-17 14:13:53 -04:00
Denton Liu
1826579f80 Add documentation about throwing 2016-08-17 12:09:20 -04:00
chriseth
c282ab379a Merge pull request #918 from winsvega/solremove4
remove solidity --interface
2016-08-17 17:55:40 +02:00
chriseth
b2507e9f10 Merge pull request #839 from chriseth/checkcode
BREAKING: Make function calls throw if target does not have code.
2016-08-17 16:44:15 +02:00
chriseth
d6579a0a5f Merge pull request #888 from chriseth/throwOnDivZero
Throw on division by zero.
2016-08-17 16:43:13 +02:00
chriseth
6baa982a6a Merge pull request #835 from chriseth/modifierreturn
BREAKING: return only exits current function/modifier
2016-08-17 16:24:22 +02:00
chriseth
9f22426d10 Merge pull request #912 from chriseth/readFromStdin
Read from files and stdin.
2016-08-17 15:49:47 +02:00
Dimitry
e5e2597702 remove solidity --interface 2016-08-17 12:39:10 +03:00
chriseth
774bb8ab3b Make function calls throw if target does not have code.
Low-level calls still just execute and will actually report "success".
This allows `x.call.value(y)()` for x being a non-contract account.
2016-08-17 11:30:40 +02:00
chriseth
9c83109549 BREAKING: return only exits current function/modifier 2016-08-17 11:29:31 +02:00
chriseth
e7683f4722 Merge pull request #836 from chriseth/unusedunderscore
BREAKING: Require modifiers to contain "_".
2016-08-17 11:28:02 +02:00
chriseth
34f9a59f18 Fix tests. 2016-08-17 11:27:15 +02:00
chriseth
e7084d9e16 Throw on division by zero. 2016-08-17 11:27:15 +02:00
chriseth
e4578982c6 Merge pull request #905 from ethereum/chriseth-patch-1
Docs: wording: recursive call exploit -> reentrancy exploit
2016-08-17 11:14:47 +02:00
chriseth
ad47a06a76 Merge pull request #914 from rainbeam/linux-distro-detection
Stronger Linux distro detection
2016-08-17 11:08:16 +02:00
chriseth
d5505e21eb Merge pull request #838 from chriseth/ecrecover
Make ecrecover return zero for malformed input.
2016-08-17 11:05:20 +02:00
chriseth
a63f94e042 Fix docs. (#916) 2016-08-17 11:04:40 +02:00
chriseth
c499470b1c BREAKING: Streamline json output field naming. (#763) 2016-08-17 09:58:24 +02:00
rain
b87adc2f46 update comments 2016-08-16 19:54:48 +01:00
rain
d9f4b35133 don't force upgrade on alpine linux install 2016-08-16 19:52:10 +01:00
rain
b998621cf5 replace bash with sh
sh is portable across POSIX systems
2016-08-16 19:45:35 +01:00
rain
3577e8feb2 correct detection string for Alpine 2016-08-16 19:44:26 +01:00
rain
14c15e8154 fall back to os-release if lsb_release not present 2016-08-16 19:37:51 +01:00