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
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
ba5625063c
Merge pull request #4922 from ethereum/event_struct_error_0425
...
Disallow structs in events without ABIEncoderV2
2018-09-06 18:26:44 +02:00
Leonardo Alt
c577e043a4
Disallow structs in events without ABIEncoderV2
2018-09-06 17:11:53 +02:00
chriseth
507cdf6de2
Set version.
2018-09-06 16:55:53 +02:00
chriseth
e67f014799
Merge pull request #4148 from ethereum/develop
...
Merge develop into release for 0.4.24
2018-05-16 14:43:57 +02:00
chriseth
1e45d3ab2e
Merge pull request #4146 from ethereum/prepare0424
...
Split changelog into language and compiler features and set release date.
2018-05-16 11:45:17 +02:00
chriseth
365ad05838
Merge pull request #4147 from ethereum/hash-non-bytes-arg
...
Split warning for multi arguments for hash functions
2018-05-16 11:44:55 +02:00
Alex Beregszaszi
221a4d1f1f
Split warning for multi arguments for hash functions
2018-05-16 11:12:25 +02:00
chriseth
80d688ace0
Split changelog into language and compiler features and set release date.
2018-05-16 10:34:15 +02:00
chriseth
23adea88fd
Merge pull request #4138 from ethereum/warnVarArgs
...
Warn when hash functions are used with var arguments
2018-05-16 10:22:03 +02:00
chriseth
54839fdffb
Merge pull request #4101 from mesqueeb/patch-2
...
Extra line of explanation on Abstract contracts.
2018-05-16 10:21:33 +02:00
Luca Ban
e670004b1f
fixed capitalisation and contractions
2018-05-16 17:03:53 +09:00
chriseth
03f60410c9
Add test for single non-bytes argument.
2018-05-16 09:48:03 +02:00
chriseth
203475ef02
Adjust tests.
2018-05-16 09:48:03 +02:00
chriseth
894122c508
Warn/enforce single bytes argument for certain builtins (hashing functions).
...
In 0.5.0 mode, only accept a single bytes argument for ``.call``,
``keccak256`` and others and do not pad when encoding.
2018-05-16 09:48:03 +02:00
chriseth
8b98ff470c
Add test for forwarding length check.
2018-05-16 09:48:03 +02:00
chriseth
03c2484407
Merge pull request #4145 from ethereum/more-parser-test-moves
...
Move couple of parser tests to syntax tests.
2018-05-16 09:44:47 +02:00
chriseth
c9879a6b2b
Merge pull request #4144 from ethereum/julia-docs-fix
...
Fix formatting in Julia chapter
2018-05-16 09:43:21 +02:00
chriseth
7f965c8671
Merge pull request #4004 from ethereum/mulitVariableAssignment
...
Multi variable declarations
2018-05-16 09:37:58 +02:00
chriseth
3ca6738114
Add assert about source location.
2018-05-16 03:52:24 +02:00
chriseth
6c8f78fb8f
Update documentation for multi variable declaration statement.
2018-05-16 03:52:24 +02:00
chriseth
c781baf733
Add tests for multi variable declaration statement.
2018-05-16 03:52:24 +02:00
Alex Beregszaszi
7fb43fe854
Move couple of parser tests to syntax tests.
2018-05-16 03:48:37 +02:00
chriseth
67d208d144
Parse multi variable declaration statement.
2018-05-16 03:22:45 +02:00
Alex Beregszaszi
9748c7ad3f
Fix formatting in Julia chapter
2018-05-16 02:11:27 +02:00
chriseth
2ba0002998
Merge pull request #4139 from ethereum/abiEncodeIsPure
...
ABI encoding functions are pure and should be usable in constants.
2018-05-15 16:59:48 +02:00
chriseth
007ecc849c
Merge pull request #4142 from aarlt/osx-clang-stack
...
cmake/EthCompilerSettings.cmake: increase stacksize for apple clang
2018-05-15 16:57:03 +02:00
chriseth
1dca54244b
Merge pull request #4143 from aarlt/jsoncpp-system-header
...
Mark jsoncpp-headers as system headers
2018-05-15 16:34:26 +02:00
Alexander Arlt
89f790c3ab
Mark jsoncpp-headers as system headers
2018-05-15 15:14:59 +02:00
Alexander Arlt
4aed41d9b6
cmake/EthCompilerSettings.cmake: increase stacksize for apple clang
...
- normally 16MB is enough to run all tests, but it will exceed the stack, if -DSANITIZE=address is used.
2018-05-15 15:11:38 +02:00
chriseth
63861aac4a
Merge pull request #3947 from ethereum/smt_storage
...
[SMTChecker] Support to integer and Bool storage vars
2018-05-15 14:54:41 +02:00
chriseth
dac0029d16
ABI encoding functions are pure and should be usable in constants.
2018-05-15 14:45:54 +02:00
chriseth
dce6224052
Merge pull request #4062 from ethereum/revert-variable
...
Fix revert with reason coming from a string variable
2018-05-15 14:44:39 +02:00
chriseth
b8b460994f
Merge pull request #3953 from ethereum/noemscriptentestsontravis
...
Do not run emscripten tests on travis.
2018-05-15 14:41:14 +02:00
Leonardo Alt
a0b42105e4
Testing state vars that are declared after functions that use them
2018-05-15 14:28:08 +02:00
Leonardo Alt
4117e859eb
[SMTChecker] Declaring all state vars before any function is visited
2018-05-15 14:28:08 +02:00
Leonardo Alt
2dbb35d4a8
[SMTChecker] Support to integer and Bool storage vars
2018-05-15 14:22:50 +02:00
chriseth
267b605fcd
Merge pull request #4133 from ethereum/addRequirements
...
Add requirements.txt for readthedocs.
2018-05-14 22:18:14 +02:00
chriseth
20d67c0fce
Add requirements.txt for readthedocs.
2018-05-14 22:17:27 +02:00
chriseth
8c261e73a5
Merge pull request #4132 from ethereum/useAbsPathInLexerImport
...
Do not depend on where build is run.
2018-05-14 22:01:45 +02:00
chriseth
2f4faef606
Do not depend on where build is run.
2018-05-14 21:59:35 +02:00
chriseth
7f97995e11
Merge pull request #4057 from ethereum/cfg
...
Control flow graph for uninitialized storage return detection.
2018-05-14 21:05:50 +02:00
chriseth
8f17f7219a
Merge pull request #3238 from ethereum/julia-specs
...
Add logic builtins to Julia and update type conversion prototypes
2018-05-14 20:43:16 +02:00
Daniel Kirchner
d7d71a14df
Add Changelog entry.
2018-05-14 20:23:40 +02:00
Daniel Kirchner
56238ab1ec
Add test for default location.
2018-05-14 20:23:40 +02:00
Daniel Kirchner
16e966dea0
Add control flow analyzer and test for uninitialized storage returns.
2018-05-14 20:23:40 +02:00