Commit Graph

8551 Commits

Author SHA1 Message Date
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
Alex Beregszaszi
cbd729957b Document character set 2017-09-01 19:13:26 +01:00
Alex Beregszaszi
f3230a41ce Document caveats about timestamp and blockhash 2017-09-01 19:13:26 +01:00
Alex Beregszaszi
8e1aae2e1a Document gas/value modifiers with overloading 2017-09-01 19:09:36 +01:00
Alex Beregszaszi
f787ecae5a Document byte[] vs bytes 2017-09-01 19:09:36 +01:00
Alex Beregszaszi
8743b2cead Document call/gas modifiers properly 2017-09-01 19:09:07 +01:00
Alex Beregszaszi
bf294253bb Merge pull request #2860 from ethereum/noparamsfordefaulted
Remove parameter names for defaulted functions.
2017-08-31 12:38:08 +01:00
chriseth
9e63710b8e Remove parameter names for defaulted functions. 2017-08-31 12:16:41 +02:00
chriseth
7b6b12ca78 Merge pull request #2812 from ethereum/removeEscape
Remove escape function.
2017-08-31 11:49:06 +02:00
chriseth
402d6e713e Merge pull request #2858 from ethereum/fuzzer-without-optimizer
Run fuzzer tests without optimizer too
2017-08-31 11:18:43 +02:00
Alex Beregszaszi
b7e8d305b3 Run fuzzer tests without optimizer too 2017-08-31 00:37:32 +01:00
Alex Beregszaszi
23182c7fdf Add --without-optimizer option to fuzzer 2017-08-31 00:37:29 +01:00
Alex Beregszaszi
eb33e76416 Use Json::valueToQuotedString directly 2017-08-29 15:51:37 +01:00
chriseth
cd22da1d9e Remove escape function. 2017-08-29 15:50:28 +01:00
Alex Beregszaszi
a3f77527e9 Merge pull request #2847 from ethereum/codegen-docs
Document more of the codegen features
2017-08-29 15:27:07 +01:00
Alex Beregszaszi
6245d9aafc Merge pull request #2846 from ethereum/refactorTests
Extract base from NameAndType and use compiler stack.
2017-08-29 14:27:37 +01:00
chriseth
93b1cc9702 Merge pull request #2833 from ethereum/statemutability-builtins
Mark all built in functions with appropriate statemutability
2017-08-29 15:24:51 +02:00
Alex Beregszaszi
e77e594120 Merge pull request #2844 from ethereum/jsoncompiler
Add header for jsonCompiler
2017-08-29 14:07:08 +01:00
Alex Beregszaszi
c861817875 Add header for jsonCompiler 2017-08-29 13:43:55 +01:00
Alex Beregszaszi
3c24dcfe45 Document more of the codegen features 2017-08-29 13:36:13 +01:00
chriseth
2d39a42d37 Merge pull request #2843 from ethereum/anonymous-cleanup
Move all file specific globals to anonymous namespace
2017-08-29 14:07:24 +02:00
chriseth
4136ff9a59 Extract base from NameAndType and use compiler stack. 2017-08-29 14:05:38 +02:00
Alex Beregszaszi
7fb4a64136 Move all file specific globals to anonymous namespace 2017-08-29 11:09:18 +01:00