Commit Graph

11646 Commits

Author SHA1 Message Date
chriseth
7552928064
Merge pull request #5038 from ethereum/controlStructures1
[DOCS] Control structures 1.
2018-09-24 16:15:14 +02:00
liangdzou
839b01f77e fix format issue for test files 2018-09-24 21:12:24 +08:00
chriseth
64a6888aba
Merge pull request #5063 from ethereum/standard-json-bug
Fix typo in parsing/writing JSON error in StandardCompiler
2018-09-24 15:01:38 +02:00
chriseth
cb3a837251
Merge pull request #5003 from herrBez/cleanUpdated
Add syntax tests to fix #4627
2018-09-24 14:43:53 +02:00
chriseth
0f53f80eb2
Merge pull request #5045 from ethereum/updateMisc
[DOCS] Update misc.
2018-09-24 14:38:11 +02:00
chriseth
5cbff19d26 Review comments [to be squashed] 2018-09-24 14:13:25 +02:00
chriseth
535af42405 [DOCS] Update contracts section. 2018-09-24 14:08:44 +02:00
chriseth
917cf4ad8e [DOCS] Control structures 1. 2018-09-24 14:03:37 +02:00
chriseth
2032953577
Merge pull request #5025 from ethereum/refTypes
[DOCS] Update reference types.
2018-09-24 13:54:19 +02:00
chriseth
32112d6480
Merge pull request #5041 from liangdzou/fix_typo_in_doc
fix typo in docs and comments
2018-09-24 13:52:33 +02:00
chriseth
d38c976466
Merge pull request #5027 from liangdzou/format_checker_if_for_statements
add format test for if/for statements
2018-09-24 13:34:51 +02:00
chriseth
dce1ed5a91
Merge pull request #5066 from rnaby/l/a/SemVerHandler.cpp
SWITCH is better than ELSE..IF I think
2018-09-24 12:41:27 +02:00
Khan M Rashedun-Naby
376ce07915 Use 'switch' instead of 'if..else if' 2018-09-24 08:31:44 +06:00
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