Commit Graph

8673 Commits

Author SHA1 Message Date
Suman
10d290cb9b Display helpful warning for unused function arguments/return parameters 2017-09-12 15:35:03 +01:00
Alex Beregszaszi
5ae9b8dab1 Do not report overload conflicts for every line excessively 2017-09-12 14:58:10 +01:00
Alex Beregszaszi
f2412da800 Merge pull request #2888 from ethereum/same-declaration-error
Use secondary source location as a vector in same declaration errors
2017-09-12 14:57:42 +01:00
chriseth
ac3742cd25 Merge pull request #2887 from ethereum/missing-functions-list
Show each unimplemented function in secondary source location
2017-09-12 13:28:49 +02:00
chriseth
aaf73071db Merge pull request #2880 from ethereum/docs-metadata
Promote metadata to its own chapter (split from miscellaneous)
2017-09-12 13:27:42 +02:00
chriseth
513ae59bba Merge pull request #2853 from ethereum/cleanup-asm-stream
Split out the JSON functionality from assembly.stream()
2017-09-12 13:23:59 +02:00
Alex Beregszaszi
da1a53e02a Use secondary source location as a vector in same declaration errors 2017-09-12 12:06:16 +01:00
Alex Beregszaszi
a03211f3c9 Show each unimplemented function in secondary source location 2017-09-12 10:59:56 +01:00
chriseth
4cb5502faa Merge pull request #2881 from ethereum/analysis-test
Change retrieveContract to take name and not index
2017-09-12 11:41:53 +02:00
chriseth
4770f8f499 Merge pull request #2882 from ethereum/events
Do not show the same error multiple times for events
2017-09-12 11:35:42 +02:00
chriseth
fabf4accd3 Merge pull request #2870 from aarongoa/develop
Add payable constructor for `C` - #2869
2017-09-12 11:32:46 +02:00
Aaron Colaço
2b88eeb370 Make createAndEndowD payable in contract creation example 2017-09-12 10:07:54 +01:00
Alex Beregszaszi
a52e0de67c Do not show the same error multiple times for events 2017-09-12 00:03:35 +01:00
Alex Beregszaszi
7ed938b95e Change retrieveContract to take name and not index 2017-09-11 15:58:30 +01:00
Alex Beregszaszi
bd6510d99a Simplify assembly printing in CLI 2017-09-11 15:53:20 +01:00
Alex Beregszaszi
bbfb16cf5c Introduce assemblyString 2017-09-11 15:53:20 +01:00
Alex Beregszaszi
50570c6c79 Do not return the stream in asssemblyStream 2017-09-11 15:48:58 +01:00
Alex Beregszaszi
a535a8b06e Split out the JSON functionality from assembly.stream() 2017-09-11 15:48:52 +01:00
Alex Beregszaszi
55d2a459a9 Mark functions static in libevmasm 2017-09-11 15:15:02 +01:00
Alex Beregszaszi
b1a7281ee9 Promote metadata to its own chapter (split from miscellaneous) 2017-09-11 15:05:46 +01:00
chriseth
fbe24da159 Merge pull request #2875 from ethereum/travis-badge
Add the Travis build status badge
2017-09-11 11:22:59 +02:00
Yoichi Hirai
333a6e5280
Add the Travis build status badge 2017-09-07 17:56:28 +02:00
chriseth
b756274357 Allow constant variables in pure functions. 2017-09-06 13:52:29 +02:00
chriseth
15bdc48a73 Rename and add anonymous namespace. 2017-09-06 13:52:29 +02:00
chriseth
c83768c426 Fix tests 2017-09-06 13:52:29 +02:00
chriseth
1a1db1ec96 Tone down error message. 2017-09-06 13:52:29 +02:00
chriseth
7886c24d40 Modifier invocation can be base constructor call 2017-09-06 13:52:29 +02:00
chriseth
d6861d909c Analyze assembly. 2017-09-06 13:52:29 +02:00
chriseth
7c61a6daf2 Add view/pure information about instructions. 2017-09-06 13:52:29 +02:00
chriseth
41d0ad7a9c New tests for view and pure checker. 2017-09-06 13:50:49 +02:00
chriseth
ec27e569b0 Do not report on overriding function and only warn for view. 2017-09-06 13:50:49 +02:00
chriseth
342367d5dc Store super function. 2017-09-06 13:50:49 +02:00
chriseth
eacee5b25c Remove previous warning about pureness not being enforced. 2017-09-06 13:50:49 +02:00
Alex Beregszaszi
50047bf82c Change tests to use view or pure as appropriate 2017-09-06 13:50:49 +02:00
chriseth
5470da4d9a View-pure checker. 2017-09-06 13:50:49 +02:00
Alex Beregszaszi
16526ad554 Merge pull request #2857 from ethereum/fixTestrefactor
Fix warning checking in test framework.
2017-09-06 12:23:30 +01:00
chriseth
311be6b659 Fix warning checking in test framework. 2017-09-06 12:19:11 +02:00
chriseth
5922306193 Merge pull request #2873 from ethereum/largearray
Change array too large error message as it is valid for non-calldata too
2017-09-06 11:34:10 +02:00
Alex Beregszaszi
3326a2282e Change array too large error message as it is valid for non-calldata too 2017-09-05 22:38:45 +01:00
Alex Beregszaszi
fb1db58def Merge pull request #2842 from ethereum/chriseth-patch-1
Explain how to run the tests in more detail.
2017-09-05 22:33:50 +01:00
chriseth
818a371929 Explain how to run the tests in more detail. 2017-09-05 22:02:43 +01:00
Alex Beregszaszi
f242331cc0 Merge pull request #2872 from ethereum/docs-abi
Convert ABI spec from Markdwon to RST
2017-09-05 16:37:33 +01:00
Alex Beregszaszi
bdafce3e4f Convert ABI spec from Markdwon to RST 2017-09-05 14:50:27 +01:00
chriseth
152a0e69c4 Merge pull request #2871 from ethereum/fixedpointdocs
Explain fixed point types in docs
2017-09-04 19:04:12 +02:00
chriseth
8283f83653 Merge pull request #2854 from ethereum/docs-faq
[WIP] Move content from FAQ to proper places
2017-09-04 18:51:49 +02:00
Alex Beregszaszi
435eeec5e1 Explain the difference between floating and fixed point 2017-09-04 15:57:05 +01:00
Alex Beregszaszi
76bd8c5769 Explain fixed point types 2017-09-04 15:57:05 +01:00
Alex Beregszaszi
c975bf87db Move fixed after int in docs 2017-09-04 15:19:39 +01:00
Alex Beregszaszi
ac5fd64c23 Mention that different Unicode codepoint can look the same 2017-09-01 19:18:46 +01:00
Alex Beregszaszi
88bce877c4 Clarify some subtleties of the fallback function 2017-09-01 19:16:52 +01:00