Commit Graph

11269 Commits

Author SHA1 Message Date
chriseth
8e924fd644 Second part of coin example. 2018-09-13 15:52:43 +02:00
Daniel Kirchner
ae35a58124 Add `stateMutability field to JSON AST for address` types. 2018-09-13 15:15:49 +02:00
Daniel Kirchner
12aaca1645 Add payable and non-payable state mutability to AddressType. 2018-09-13 15:15:49 +02:00
Alex Beregszaszi
a0e8d3ca6e Set version to 0.4.26
To avoid conflict with 0.4.25 release.
2018-09-13 14:03:20 +01:00
chriseth
15c8c0d2cf
Merge pull request #4941 from liangdzou/properly_truncate_referenced_src
Properly truncate referenced src
2018-09-13 09:43:47 +02:00
liangdzou
558a4ac49c give more information (at most 35 chars before and after) for too long lines
add tests for giving more informations for too long lines

add edge tests for giving more informations for too long lines

avoid printing out tailing white space

update test case after avoiding printing out trailing whitespace

update test case for removing the pre-release warning from reference

refactor the code to if-else flavor

rename folder to cmdlineErrorReports under test

rename folder to cmdlineErrorReports under test

ignore whitespace for reference files

avoiding to modify the file stderr_path by call sed without -i option

print ' ...' instead of ' ... ' at the end of a line
2018-09-13 09:55:54 +08:00
chriseth
753a94fdae
Merge pull request #4955 from ethereum/prepare_0425
Set release date of 0.4.25.
2018-09-12 21:07:27 +02:00
chriseth
eb1fbaaac8
Merge pull request #4956 from ethereum/backport_json_build_fix
Backport json build fixes
2018-09-12 20:01:07 +02:00
Daniel Kirchner
84d9245076 Rename JSONCPP_EXTRA_FLAGS to JSONCPP_CXX_FLAGS, add EMSCRIPTEN workaround and remove obsolete MSVC workaround. 2018-09-12 18:57:14 +02:00
Guido Vranken
d2d9162bb9 Propagate original CMAKE_CXX_FLAGS to jsoncpp compilation 2018-09-12 18:57:02 +02:00
Christian Parpart
72b9ad6837 Visual Studio 2017 build-time (linking) fix and improvements 2018-09-12 18:56:48 +02:00
mingchuan
1a5f90954a Fix cmake when custom CMAKE_INSTALL_LIBDIR is given
According to cmake documents, we cannot assume CMAKE_INSTALL_LIBDIR is a
relative path. This commit fixes the "no rule to make libjsoncpp.a"
error by passing -DCMAKE_INSTALL_LIBDIR=lib to jsoncpp external project.
2018-09-12 18:56:22 +02:00
Paweł Bylica
73973d2448 CMake: Fix libdir for jsoncpp external project in special case
When building on Debian/Ubuntu with install prefix /usr (e.g. in PPA builds) the CMAKE_INSTALL_LIBDIR is resolved to lib/x86_64-linux-gnu. For jsoncpp external project this is never the case because the install prefix is not /usr. Remove multiarch part from libdir if there.
2018-09-12 18:55:36 +02:00
chriseth
8c56a5912b Set relase date of 0.4.25. 2018-09-12 18:38:16 +02:00
chriseth
9214c7c34f
Merge pull request #4953 from ethereum/addressPayableTests
Update test suite to use address payable.
2018-09-12 17:39:16 +02:00
chriseth
7cda8456d8
Merge pull request #4939 from ethereum/nested_array_library_changelogv0425
[backport] Buglist entry for returning nested arrays.
2018-09-12 16:24:13 +02:00
Daniel Kirchner
879251a78b Update test suite to use address payable. 2018-09-12 16:21:43 +02:00
chriseth
1994b51ef3
Merge pull request #4926 from ethereum/addressPayableParser
Accept ``address payable`` during parsing.
2018-09-11 15:29:53 +02:00
Leonardo Alt
75e38be050 Bugfix entry regarding nested arrays returned by library functions 2018-09-11 15:06:28 +02:00
Daniel Kirchner
1ce3581a52 Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
chriseth
e913b753b9
Merge pull request #4927 from ethereum/struct_event_jsonpath_0425
[backport] Buglist check script supports json paths
2018-09-11 12:06:31 +02:00
chriseth
7d5c139816
Merge pull request #4935 from elopio/patch-5
On a yul switch, at least one case is required when there is no default statement
2018-09-11 09:23:26 +02:00
Leo Arias
d33a99799d On a yul switch, at least one case is required when there is no default statement 2018-09-11 01:27:47 +00:00
chriseth
d66e956ac2
Merge pull request #4940 from elopio/patch-6
Clarify a little the function hoister optimization
2018-09-11 03:01:15 +02:00
Leo Arias
0b30dfc7d0
Clarify a little the function hoister optimization 2018-09-10 13:06:09 -06:00
Leonardo Alt
69320472af Buglist check script supports json paths 2018-09-10 16:45:56 +02:00
chriseth
6402b83826
Merge pull request #4938 from ethereum/expCleanup0425
[backport] Exp cleanup
2018-09-10 16:33:47 +02:00
chriseth
3b7be594cf Update bug description, add regex and tests. 2018-09-10 14:38:48 +02:00
chriseth
be713ed117 Changelog entry and bug list. 2018-09-10 14:37:58 +02:00
chriseth
eb7978d631 Always perform cleanup for EXP. 2018-09-10 14:27:57 +02:00
chriseth
f190caf538 Tests. 2018-09-10 14:27:57 +02:00
chriseth
cd26fa8300
Merge pull request #4896 from ethereum/expCleanup
Exp cleanup
2018-09-10 14:22:11 +02:00
chriseth
b9164eaba2
Merge pull request #4937 from ethereum/fixNewline_0425
[backport] Fix newline bugs
2018-09-10 13:00:03 +02:00
chriseth
a1848ac947
Merge pull request #4920 from ethereum/disallow_indexed_ref_v2_for_0_425
Disallow indexed reference types in events when using ABIEncoderV2 (backported)
2018-09-10 12:59:35 +02:00
chriseth
9f6a12eeb5 Update bug description, add regex and tests. 2018-09-10 12:58:40 +02:00
chriseth
b84a1b390b Changelog entry and bug list. 2018-09-10 12:47:46 +02:00
chriseth
120438c0cf Always perform cleanup for EXP. 2018-09-10 12:47:46 +02:00
chriseth
7118f53974 Tests. 2018-09-10 12:47:46 +02:00
chriseth
55e4532c72 Changelog. 2018-09-10 12:29:07 +02:00
chriseth
30578cad81 Tests. 2018-09-10 12:28:34 +02:00
chriseth
c0d9b492a2 This fixes several bugs with regards to line breaks and comments:
- any unicode line break (line feed, vertical tab, form feed, carriage
   return, NEL, LS and PS) is considered to terminate a single-line
   comment. The line break itself is considered to be the next token
   after the comment, leading to a parser error if it is not an
   ascii character (i.e. for NEL, LS and PS).
 - unterminated multiline comments are considered illegal tokens
 - '/** /' is considered an unterminated multiline comment
   (previously, whitespace was allowed before the last '/'
2018-09-10 12:28:34 +02:00
chriseth
65a439b0fb Refactor handling of whitespace. 2018-09-10 12:28:34 +02:00
chriseth
255eda2ea6
Merge pull request #4912 from ethereum/fixNewline
Fix bugs in comments.
2018-09-10 12:25:07 +02:00
chriseth
86d8502598
Merge pull request #4929 from flantony/patch-1
Add YAKINDU Solidity Tools to Integrations list
2018-09-10 11:12:30 +02:00
Florian Antony
b172f89b86
Add YAKINDU Solidity Tools to Integrations list 2018-09-06 21:22:08 +02:00
chriseth
61ee88ff0e
Merge pull request #4928 from ethereum/v0425_appveyor_fix
[BACKPORT] Use wildcards for MSVC version in scripts/release.bat.
2018-09-06 19:31:10 +02:00
Daniel Kirchner
f531dd9fa0 Use wildcards for MSVC version in scripts/release.bat. 2018-09-06 19:13:04 +02:00
chriseth
e1fdf063d2
Merge pull request #4841 from ethereum/struct_event_jsonpath
Buglist check script json path support
2018-09-06 19:08:23 +02:00
Leonardo Alt
9927964d21 Buglist check script supports json paths 2018-09-06 18:42:21 +02:00
chriseth
99022216cd Change "fixed" date. 2018-09-06 18:28:16 +02:00