Erik Kundt
e6d87e54c8
Simplifies zero-length check for fixed-size arrays.
2018-09-22 03:07:12 +02:00
Erik Kundt
13a5890cc3
Updates changelog.
2018-09-22 00:41:07 +02:00
Erik Kundt
d821cbdff5
Moves length check to reference resolver.
2018-09-22 00:25:52 +02:00
Alex Beregszaszi
abfd283af7
Fix typo in parsing/writing JSON error in StandardCompiler
2018-09-21 22:43:57 +01:00
Erik Kundt
ff5be17990
Disallows fixed-size multidim. arrays with zero-length.
2018-09-21 18:44:56 +02:00
Alex Beregszaszi
5dd3ee2d96
Merge pull request #5050 from ethereum/standard-json-crashes
...
Add proper error reporting when invalid settings are provided in StandardJSON
2018-09-21 15:48:05 +01:00
Alex Beregszaszi
8f96fe698d
Merge pull request #5049 from ethereum/structtype-assert-annotation
...
Add assertion for annotated type in Structtype::canBeUsedExternally
2018-09-21 15:02:26 +01:00
Alex Beregszaszi
a515173900
Add proper error reporting when invalid settings are provided in StandardJSON
2018-09-21 14:53:24 +01:00
Alex Beregszaszi
69ff61d149
Add assertion for annotated type in Structtype::canBeUsedExternally
2018-09-21 14:25:05 +01:00
liangdzou
f347dee812
fix typo
2018-09-21 09:27:33 +08:00
chriseth
7bb3b07c23
[DOCS] Update misc.
2018-09-20 23:05:00 +02:00
herrBez
faa0caae08
Add syntax tests to augment the test coverage of
...
libsolidity/parsing/Scanner.cpp and libsolidity/parsing/Scanner.h
Fix #4627 and PR #5003 .
- Add multiline comment test
- Add upper case hex literal test
- Add test for unicode escapes
- Add test for strings with escaped newlines
- Add test for string escapes
- Add test for strings that do not terminate before end of file
- Add test for unterminated blocks
2018-09-20 23:02:44 +02:00
chriseth
dc9853bb6e
Merge pull request #5030 from ethereum/payableConversion
...
Make non-payable default for conversion to address.
2018-09-20 21:20:46 +02:00
chriseth
e2baad54c5
Merge pull request #5035 from ethereum/moreTypesUpdates
...
[DOCS] Final updates to types section.
2018-09-20 21:15:45 +02:00
chriseth
43a1175457
Merge pull request #5036 from ethereum/unitsAndGlobals
...
[DOCS] Update units and globals.
2018-09-20 21:14:13 +02:00
chriseth
f6c7740a77
Merge pull request #4865 from fulldecent/patch-8
...
Document array length changing behaviors
2018-09-20 21:08:37 +02:00
William Entriken
ea6bb340d4
Document array length changing behaviors, fixes #4802
2018-09-20 20:57:38 +02:00
chriseth
fb8617f059
[DOCS] Update reference types.
2018-09-20 20:51:37 +02:00
chriseth
c43bbd1a68
Merge pull request #5021 from ethereum/moreTypes
...
More types.
2018-09-20 20:46:27 +02:00
chriseth
3327981108
More types.
2018-09-20 20:44:37 +02:00
chriseth
9ee213a536
Merge pull request #5024 from ethereum/abi_types_2
...
Add struct->tuple to the Solidity->ABI types table
2018-09-20 20:42:27 +02:00
Alex Beregszaszi
ab93c94081
Merge pull request #5040 from liangdzou/fix_typo
...
fix typo
2018-09-20 16:55:05 +01:00
liangdzou
44e8dfd393
fix typo
2018-09-20 22:54:57 +08:00
liangdzou
982d883a88
enhance test_trailing_whitespace to test_check_style: several format rules for if/for are introduced
2018-09-20 21:31:16 +08:00
chriseth
fc5cad9b7f
[DOCS] Update units and globals.
2018-09-20 15:10:14 +02:00
Leonardo Alt
e785fe0c07
Add struct->tuple to the Solidity->ABI types table
2018-09-20 15:08:52 +02:00
chriseth
5a473ab682
Merge pull request #5033 from liangdzou/fix_source_format_issue
...
fix format issue for source files to enable the format checker in PR #5027
2018-09-20 14:32:34 +02:00
chriseth
d0461c49fe
Make non-payable default for conversion to address.
2018-09-20 14:31:04 +02:00
chriseth
cb7866916e
[DOCS] Final updates to types section.
2018-09-20 14:00:01 +02:00
Alex Beregszaszi
c3dd413c34
Merge pull request #4808 from ethereum/4259-evm-version
...
[DOCS] Add details on using the compiler --version flag
2018-09-20 11:24:58 +01:00
Alex Beregszaszi
420807b871
Merge pull request #5031 from ethereum/hexLitCapital050
...
[DOCS] Explain that ``0X`` is disallowed in changes documentation.
2018-09-20 11:10:11 +01:00
liangdzou
6f7ff2dcd4
fix format issue for source files
2018-09-20 17:41:59 +08:00
chriseth
9918018e96
Explain that `0X
` is disallowed in changes documentation.
2018-09-20 11:09:27 +02:00
chriseth
28c9b5db6a
Merge pull request #5011 from hydai/disallow_uppercase_x
...
Disallow uppercase X in hex number literals
2018-09-20 11:07:56 +02:00
Chris Ward
92112799d4
Explain EVM version setting.
2018-09-20 11:05:06 +02:00
chriseth
2150aea344
Merge pull request #5026 from RichardLitt/feat/extend-coc
...
Extend the CoC to cover all interactions
2018-09-20 09:29:39 +02:00
Richard Littauer
3af2e66ad9
Extend the CoC to cover all interactions
...
Previously, the guide implied it only applied to Pull Requests. See https://github.com/ethereum/solidity/issues/4445#issuecomment-418159492 .
2018-09-19 10:56:07 -04:00
hydai
b409faa675
Disallow uppercase X in hex number literals
2018-09-19 22:01:15 +08:00
chriseth
32362f1b38
Last part of value types.
2018-09-19 15:54:30 +02:00
Alex Beregszaszi
5f919d02ab
Merge pull request #4907 from ethereum/chriseth-patch-4-1
...
Blockchain basics part 1
2018-09-19 14:06:40 +01:00
Alex Beregszaszi
fd812d2ad8
Merge pull request #5019 from ethereum/addressDocs
...
Extend section on addresses.
2018-09-19 13:51:53 +01:00
chriseth
10252bafa1
Blockchain basics part 1
2018-09-19 14:44:39 +02:00
chriseth
125c0434d1
Merge pull request #5004 from ethereum/solidity_types_abi
...
Note how Solidity types map to ABI types
2018-09-19 14:42:39 +02:00
Leonardo Alt
1770e9c02f
Explaining how Solidity types map to ABI types
2018-09-19 14:28:45 +02:00
chriseth
b359fb6702
Extend section on addresses.
2018-09-19 14:11:48 +02:00
Alex Beregszaszi
785cbf4005
Merge pull request #5016 from ethereum/050_docs
...
Tiny changes on the 050 breaking changes docs section
2018-09-19 10:42:16 +01:00
Leonardo Alt
8d561aa1ac
Tiny fixes on the 050 breaking changes docs section
2018-09-19 11:20:25 +02:00
chriseth
24ecf20209
Merge pull request #5013 from ethereum/create2
...
CREATE2 opcode has been moved from 0xfb to 0xf5
2018-09-19 10:01:34 +02:00
chriseth
7c15f6b1d4
Merge pull request #5009 from ethereum/file-order
...
Include pragma in 'Order of Layout' in the style guide
2018-09-19 09:33:37 +02:00
Alex Beregszaszi
0db76a01da
CREATE2 opcode has been moved from 0xfb to 0xf5
2018-09-18 23:04:57 +01:00