Commit Graph

11761 Commits

Author SHA1 Message Date
Alex Beregszaszi
321ab08102 Automatically replace version pragmas in compilation tests 2018-09-25 19:03:24 +01:00
Alex Beregszaszi
d05fdb51b0 Require 0.5.0 in contract tests 2018-09-25 19:03:24 +01:00
Alex Beregszaszi
e9b2c650ce Turn on patch to replace version pragmas for Zeppelin
An also replace every single one of them with ^0
2018-09-25 19:03:24 +01:00
Alex Beregszaszi
b92be02bf0 Set version to 0.5.0-develop 2018-09-25 19:03:24 +01:00
chriseth
b08d49338e
Merge pull request #5022 from ethereum/lastValue
[DOCS] Last part of value types.
2018-09-25 19:45:40 +02:00
Nicolás Venturo
f8d43a4da5
Removed extra whitespace. 2018-09-25 14:40:39 -03:00
chriseth
86e4276e24 [DOCS] Update common patterns. 2018-09-25 19:08:16 +02:00
chriseth
e470408cf4 [DOCS] Update abi. 2018-09-25 19:01:02 +02:00
chriseth
ba62831143 Tests for inlining inside condition. 2018-09-25 17:16:22 +02:00
chriseth
1b8334e58b
Merge pull request #5034 from liangdzou/fix_test_format_issue
fix format issue for test files to enable the format checker in PR #5027
2018-09-25 10:14:44 +02:00
chriseth
3eb5ecdf58
Merge pull request #4925 from wbt/patch-2
Clarify docs around reserved memory byte ranges
2018-09-24 16:27:21 +02:00
wbt
bc363a7e3a Clarify docs around reserved memory byte ranges
Minor documentation issue to improve reading flow as it goes from talking about a specified number of 32-byte slots being reserved to giving numbers which refer to byte ranges within the space of memory resulting from the union of those slots.
2018-09-24 16:26:35 +02:00
chriseth
a9e22e0766
Merge pull request #5043 from ethereum/updateContractsSection
[DOCS] Update contracts section.
2018-09-24 16:24:37 +02:00
chriseth
516267a9a4
Merge pull request #5039 from ethereum/controlStructures2
[DOCS] Update control structures (2).
2018-09-24 16:16:04 +02:00
chriseth
cecc4f6643 [DOCS] Update control structures (2). 2018-09-24 16:15:45 +02:00
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