Commit Graph

7211 Commits

Author SHA1 Message Date
Alex Beregszaszi
7ec3dd9bbc More verbose log of when using invalid instructions 2017-02-02 11:39:29 +00:00
Alex Beregszaszi
d85d0393cd Merge pull request #1636 from ethereum/docs-solcjs
Explain the difference between solc and solcjs
2017-02-02 11:27:55 +00:00
Alex Beregszaszi
821314aa27 Explain the difference between solc and solcjs 2017-02-02 11:04:38 +00:00
chriseth
b3b82c46e7 Merge pull request #1633 from ethereum/negative-length-arrays
Reject negative length arrays
2017-02-02 11:57:46 +01:00
chriseth
18a5c5ae1e Merge branch 'develop' into negative-length-arrays 2017-02-02 11:57:34 +01:00
chriseth
8f9839c6ed Merge pull request #1635 from ethereum/licensing-header
Replace cpp-ethereum with solidity in the license headers
2017-02-02 11:51:31 +01:00
Alex Beregszaszi
902f69640b Replace cpp-ethereum with solidity in the license headers 2017-02-02 10:06:28 +00:00
Alex Beregszaszi
697db80b48 Disallow arrays with negative length 2017-02-02 00:24:45 +00:00
Alex Beregszaszi
c01f5699e6 Add isNegative to RationalNumberType 2017-02-02 00:16:50 +00:00
Alex Beregszaszi
5225a5bb5e Merge pull request #1630 from ethereum/function-to-address
Explicit external function type to address conversion
2017-02-01 22:17:44 +00:00
Alex Beregszaszi
ee147e14d3 Cover both failure cases 2017-02-01 21:35:32 +00:00
Alex Beregszaszi
bab7f8f455 Add changelog for function types to address conversion 2017-02-01 12:25:02 +00:00
Alex Beregszaszi
4361797ddc Only capture function type to address conversion 2017-02-01 12:23:47 +00:00
Alex Beregszaszi
0b61f13c7f Add more tests for function type conversion 2017-02-01 12:23:47 +00:00
Alex Beregszaszi
ef7add8c2b Add tests for explicity fuction type to address casting 2017-02-01 12:23:47 +00:00
Alex Beregszaszi
ce62c7c01c Be more verbose on the stack-mismatch errors 2017-02-01 12:23:47 +00:00
Alex Beregszaszi
767ec1d670 Support explicit conversion of external function type to address 2017-02-01 12:23:47 +00:00
chriseth
c1a675da4f Merge pull request #1625 from ethereum/asmdocs
Integrate missed changes.
2017-02-01 09:05:20 +01:00
chriseth
a39adc44d4 Integrate missed changes. 2017-01-31 23:31:25 +01:00
RJ Catalano
747db75ab5 Merge pull request #1623 from ethereum/version
Version update
2017-01-31 16:23:30 -06:00
chriseth
ffe4ce0891 Version update 2017-01-31 19:37:55 +01:00
chriseth
364da425d3 Merge pull request #1622 from ethereum/develop
Solidity version 0.4.9
2017-01-31 18:29:51 +01:00
chriseth
7b18c9df1d Release date for 0.4.9 2017-01-31 17:54:03 +01:00
chriseth
f9af2de0b4 Merge pull request #1594 from ethereum/fixStdToken
Make standard token compileable.
2017-01-31 16:05:27 +01:00
chriseth
547501c02e Merge pull request #1621 from VoR0220/fixLinkerForBinariesWithImports
fix for linker wrt binaries generated with import statements
2017-01-31 11:13:02 +01:00
VoR0220
b3f0d713a1
fix for linker wrt binaries generated with import statements
Signed-off-by: VoR0220 <rj@erisindustries.com>
2017-01-30 13:41:33 -06:00
chriseth
edd3696dc1 Merge pull request #1619 from ethereum/changelog
Mention in changelog that invalid as an opcode is valid inline assembly
2017-01-30 14:18:16 +01:00
Alex Beregszaszi
eb530aa217 Add tests for invalid instruction 2017-01-27 21:24:58 +00:00
Alex Beregszaszi
bfa3b4ca78 Mention invalid in docs 2017-01-27 13:26:40 +00:00
Alex Beregszaszi
965dc72016 Mention in changelog that invalid as an opcode is valid inline assembly 2017-01-27 13:24:05 +00:00
chriseth
b2c35fb41a Merge pull request #1598 from wuestholz/develop
Change translation of implicit throws
2017-01-27 14:10:22 +01:00
chriseth
636e480156 Merge pull request #1451 from LefterisJP/fix_build
Accept any kind of whitespace after natspec tags
2017-01-27 14:09:39 +01:00
chriseth
c08f659634 Changelog entry. 2017-01-27 14:09:19 +01:00
Alex Beregszaszi
1774e087c7 Merge pull request #1613 from ethereum/refactorJson
Refactor json return type generation.
2017-01-27 11:37:56 +00:00
Lefteris Karapetsas
f01c8c07e5
Tests for natspect parsing failure cases 2017-01-27 12:13:14 +01:00
chriseth
0e021e76a5 Minor changes. 2017-01-27 11:19:48 +01:00
chriseth
bff8fc23e6 Changelog and review suggestions. 2017-01-27 10:18:53 +01:00
Lefteris Karapetsas
98b51b378e
More verbose function naming 2017-01-27 00:09:00 +01:00
Lefteris Karapetsas
cc7834f2a9
Doc tags followed by newline are now parsed properly 2017-01-27 00:00:05 +01:00
chriseth
a9c6ff4ac8 Refactor json return type generation. 2017-01-26 18:21:19 +01:00
chriseth
ff8008cdf7 Merge pull request #1608 from LefterisJP/archlinux_add_ethereum_git
Add ethereum-git to archlinux dependencies
2017-01-26 17:03:36 +01:00
chriseth
7660736aa2 Document special case of zero-initialized internal function. 2017-01-26 16:40:24 +01:00
chriseth
a98fa41897 Uninitialized internal function should call INVALID. 2017-01-26 16:39:07 +01:00
chriseth
d9fbb83861 Allow inserting low-level functions without calling them. 2017-01-26 16:39:07 +01:00
chriseth
390bebaaf9 Split line. 2017-01-26 16:39:07 +01:00
chriseth
ae2b59d18a Fix optimizer with regards to INVALID instruction. 2017-01-26 16:39:07 +01:00
chriseth
c2b3d8bcd2 Change code for INVALID opcode to 0xfe. 2017-01-26 16:39:07 +01:00
Valentin Wüstholz
5b7cc018f0 Address feedback from code review. 2017-01-26 16:39:07 +01:00
Valentin Wüstholz
9bcbd93ac5 Change translation of implicit throws (issue #1589).
This adds a new invalid instruction that is used for encoding
implicit throws that are emitted by the compiler. This makes it
possible to distinguish such runtime errors from user-provided,
explicit throws.
2017-01-26 16:39:07 +01:00
Alex Beregszaszi
102fd7ee5d Merge pull request #1604 from ethereum/checksums
Warn about invalid checksums of addresses.
2017-01-26 14:42:34 +00:00