Commit Graph

11187 Commits

Author SHA1 Message Date
Jordan Last
d0497aacc0 fixing rebase conflicts
add ElementaryTypes::BytesMemory and ElementaryTypes::StringMemory

fix rebase conflicts

fixing rebase conflicts

use make_shared instead of new

fix tabs and StateMutability parameter

create address and addressType functions, fix spaces in comment

fix typo and switch nonpayable to payable

fix spaces

fix comment again
2018-09-13 15:53:06 -06:00
Daniel Kirchner
e7daed68c1
Merge pull request #4911 from ethereum/addressPayable
Payable and non-payable address type.
2018-09-13 17:30:54 +02:00
chriseth
5aa5fa78f3
Merge pull request #4906 from ethereum/chriseth-patch-3
Second part of coin example.
2018-09-13 16:04:00 +02:00
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
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
9214c7c34f
Merge pull request #4953 from ethereum/addressPayableTests
Update test suite to use address payable.
2018-09-12 17:39:16 +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
Daniel Kirchner
1ce3581a52 Accept `address payable` during parsing. 2018-09-11 14:52:23 +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
chriseth
cd26fa8300
Merge pull request #4896 from ethereum/expCleanup
Exp cleanup
2018-09-10 14:22:11 +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
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
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
c57a60833d
Merge pull request #4844 from ethereum/docs-1644-bytecode
Clean up metadata and clarify what small changes affect
2018-09-06 18:01:05 +02:00
chriseth
23ad225126
Merge pull request #4903 from ethereum/chriseth-patch-1
Some tuning of the documentation index.
2018-09-06 18:00:15 +02:00
chriseth
f5d289b937
Merge pull request #4905 from ethereum/chriseth-patch-2
Update first part of example.
2018-09-06 17:59:38 +02:00
chriseth
2236e8173c
Merge pull request #4918 from lazaridiscom/develop
ignore deps install and cache dirs
2018-09-06 17:56:14 +02:00
Chris Ward
9340fb9881 Clean up metadata and clarify what small changes affect
Updates from review
2018-09-06 17:18:36 +02:00
chriseth
4fb4846d1f Changelog. 2018-09-06 16:44:59 +02:00
chriseth
6a40048aa4 Tests. 2018-09-06 16:42:59 +02:00
chriseth
0b7b8162ca 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-06 16:42:59 +02:00
chriseth
977ac9c390 Refactor handling of whitespace. 2018-09-06 16:42:59 +02:00
Daniel Kirchner
f19cddd59e
Merge pull request #4917 from ethereum/parserCleanup
Parser cleanup.
2018-09-06 16:01:44 +02:00
Lazaridis
b9c7dd75b8 ignore deps install and cache dirs 2018-09-06 16:32:53 +03:00
Daniel Kirchner
f020f96b6c More consistently use parse*() functions without argument in the parser. 2018-09-06 14:55:07 +02:00
chriseth
dec5785909
Merge pull request #4846 from ethereum/docs-4574-infofeed
Update Infofeed example code and explanation
2018-09-05 21:49:04 +02:00
chriseth
522174890f
Merge pull request #4872 from bakaoh/issue4716
Crash when array index value is too large
2018-09-05 21:47:42 +02:00
chriseth
08a7a51f07
Merge pull request #4887 from ethereum/addressSplit
Split IntegerType into IntegerType and AddressType.
2018-09-05 21:40:49 +02:00
chriseth
2a5997d429 Update first part of example. 2018-09-05 21:39:01 +02:00
Chris Ward
7fc496b6ab Remove unneeded paragraph 2018-09-05 15:48:19 +02:00
chriseth
160f3bf2ae Update index.rst 2018-09-05 14:39:42 +02:00
Daniel Kirchner
87804b6419 Split IntegerType into IntegerType and AddressType. 2018-09-05 12:19:14 +02:00
chriseth
9cb72fe6ca
Merge pull request #4889 from liangdzou/develop
add more vim temp files to gitignore file
2018-09-05 11:08:43 +02:00
liangdzou
7982a75deb change the vim temp files pattern to more accurate version 2018-09-05 16:45:05 +08:00
chriseth
a996ea266c
Merge pull request #4590 from ethereum/msgValueModifier
Warn if modifier uses msg.value in non-payable function
2018-09-05 10:32:10 +02:00
bakaoh
a7ffff6a29 Fix #4716: Crash when array index value is too large 2018-09-05 10:54:38 +07:00
chriseth
e6aa15bae1
Merge pull request #4895 from ethereum/abidecodesingle
Fix abi.decode returning single value.
2018-09-04 23:47:56 +02:00