Commit Graph

10152 Commits

Author SHA1 Message Date
Alex Beregszaszi
0bed065ee7 Fix source location assertion in isoltest 2018-05-16 15:52:43 +02:00
Alex Beregszaszi
adce9ca812 Tidy up tests to always have closing braces on the proper line 2018-05-16 15:52:24 +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
Daniel Kirchner
995623f0fa Add control flow graph. 2018-05-14 20:23:40 +02:00
chriseth
ab63ab1cbb
Merge pull request #4093 from ethereum/prepareDropConstantKeyword
Prepare drop constant keyword.
2018-05-14 12:47:07 +02:00
chriseth
b5354f1e87
Merge pull request #4127 from sifmelcara/fix/boost-get-check
Fix wrong template parameter passed to boost::get
2018-05-14 12:13:45 +02:00
chriseth
7a669b39ed
Merge pull request #4120 from sifmelcara/fix/shared-boost
Fix link error when linking to boost shared library
2018-05-14 11:19:55 +02:00
mingchuan
c4ac825324
Fix wrong template parameter passed to boost::get 2018-05-14 11:30:18 +08:00
chriseth
43803b1a51
Merge pull request #4095 from arun1595/macos-terminal-color
Use xterm instead of dumb terminal
2018-05-11 13:00:17 +02:00
Daniel Kirchner
9b7ded2f78 Remove "view"'s in end-to-end tests that will result in errors in 0.5.0. 2018-05-11 11:01:06 +02:00