Alex Beregszaszi
b0e4555db3
Read version from CMakeLists in test_emscripten
2017-07-01 11:22:54 +01:00
Yoichi Hirai
4dfc413b8e
test: add a test passing an invalid boolean value as an event argument
...
Fixes #1381
2017-07-01 10:35:51 +01:00
Yoichi Hirai
fdc9ef14ad
test: add an assertion about storing an invalid boolean into the memory
2017-07-01 10:35:51 +01:00
Yoichi Hirai
7cbf6a86dd
test: add a test about storing an invalid boolean
2017-07-01 10:35:51 +01:00
James Ray
7471220cb4
Added ref for Getter functions
2017-07-01 13:29:20 +10:00
Alex Beregszaszi
a46b3479bb
Remove parsing of why3 doc strings
2017-06-30 22:34:03 +01:00
Alex Beregszaszi
c5947ae6e3
Remove Why3 error class
2017-06-30 22:30:43 +01:00
chriseth
0fa2feb341
Changelog entry.
2017-06-30 21:29:00 +01:00
chriseth
11dd89c70b
Removed useless test.
2017-06-30 21:27:39 +01:00
Alex Beregszaszi
32d6c1c316
MLOAD has side-effects, treat it like that in the optimiser
2017-06-30 21:27:39 +01:00
Alex Beregszaszi
b3be9d6fdc
Merge pull request #2445 from ethereum/inlineasm-warn-jump
...
Warn on JUMP/JUMPI in inline assembly
2017-06-30 21:14:38 +01:00
Alex Beregszaszi
0c92f53944
Correctly check for jump warnings
2017-06-30 20:47:33 +01:00
Alex Beregszaszi
d4fecc7b11
Warn on JUMP/JUMPI in inline assembly
2017-06-30 20:47:14 +01:00
Alex Beregszaszi
95f7902955
Merge pull request #2491 from ethereum/warnAboutCallcode
...
Warn about callcode.
2017-06-30 20:39:20 +01:00
Alex Beregszaszi
4ca3b07e42
Merge pull request #2490 from ethereum/smallJumpOptimization
...
Abort early if there is nothing to encode or decode.
2017-06-30 20:37:47 +01:00
chriseth
568e752076
Merge pull request #2492 from 0x5e5e/patch-1
...
Update types.srt
2017-06-30 17:10:19 +02:00
Ben Che
3df637baec
Update types.srt
...
Fix minor grammatical/spelling errors.
2017-06-30 10:48:59 -04:00
chriseth
044058276e
Warn about callcode.
2017-06-30 16:37:32 +02:00
chriseth
71d866cd7a
Abort early if there is nothing to encode or decode.
2017-06-30 14:16:16 +02:00
Lefteris Karapetsas
735c977db1
Silence implicit fallthrough warning for gcc > 7
...
In my system I have gcc 7.1.1 and there I get a lot of warnings which
fail the build due to implicit fallthroughs in switch statements.
Some examples can be seen here:
https://gist.github.com/LefterisJP/388c3ba5ad356f92a3b44e7efed89f9f
This PR proposes a simple solution, which is to ignore the warning for
both gcc and clang.
2017-06-29 16:46:55 +02:00
chriseth
f5372cda5d
Merge pull request #2472 from ethereum/emscripten-solcjs
...
Run solc-js tests on emscripten build
2017-06-29 14:41:21 +02:00
chriseth
2f983f7002
Merge pull request #2418 from benjaminion/lll-macro-tests
...
LLL: Full set of test cases for the built-in compiler macros.
2017-06-28 19:25:28 +02:00
Alex Beregszaszi
dad6a9ad08
Merge pull request #2457 from ethereum/fixNegativeStackHeight
...
Fix negative stack height
2017-06-28 18:16:52 +01:00
Alex Beregszaszi
cc4f2500fb
Use BuildInfo.h to retrieve version
2017-06-28 17:58:08 +01:00
Alex Beregszaszi
913b9c0e6b
Run solc-js tests on emscripten build
2017-06-28 17:58:08 +01:00
chriseth
96fb3b4945
Merge pull request #2471 from ethereum/ast-literal
...
Add hasHexPrefix() to AST::Literal
2017-06-28 18:41:56 +02:00
Alex Beregszaszi
c70d73809a
Use boost::starts_with
2017-06-28 17:01:55 +01:00
Alex Beregszaszi
06fe61f89b
Rename to isHexNumber()
2017-06-28 17:01:55 +01:00
Alex Beregszaszi
6a708b0cfe
Document appendFunctionSelector
2017-06-28 18:00:40 +02:00
chriseth
ef9a7b2144
Stack adjustment and code generation for fallback function.
...
This assumes that the fallback function does not have return parameters.
2017-06-28 18:00:31 +02:00
Alex Beregszaszi
8b0c866f02
Add hasHexPrefix() to AST::Literal
2017-06-28 16:57:32 +01:00
chriseth
168f64f4cb
Fix negative stack size checks.
2017-06-28 16:55:49 +01:00
chriseth
46caff4597
Test for negative stack height.
2017-06-28 16:55:49 +01:00
benjaminion
468d716800
LLL: Full set of test cases for the built-in compiler macros.
2017-06-28 16:07:45 +01:00
chriseth
79d1336687
Merge pull request #2462 from ethereum/lll-fix-def
...
LLL: fix redefinitions on some compilers
2017-06-28 16:32:43 +02:00
chriseth
e19c4125af
Merge pull request #2451 from ethereum/warnVarInLoop
...
Warn var in loop
2017-06-28 15:28:33 +02:00
chriseth
803ab3626b
Verbose error message test failure.
2017-06-28 15:02:25 +02:00
chriseth
c3e5d6b7ef
Give min and max values in warning message.
2017-06-28 15:02:25 +02:00
chriseth
a895f2dccb
Changelog entry.
2017-06-28 11:41:03 +02:00
chriseth
070a241899
Adjust other tests.
2017-06-28 11:41:03 +02:00
chriseth
c73ba612f4
Fix test error reporting if we ignore warnings.
2017-06-28 11:41:03 +02:00
chriseth
af7ff3a3ef
Update tests themselves
2017-06-28 11:41:03 +02:00
chriseth
9f19bc8cbc
Warn if using var x = 0
2017-06-28 11:41:03 +02:00
chriseth
73fbaa5a3e
Test for var i = 0;
2017-06-28 11:41:03 +02:00
Leo Arias
9fc0060568
Add the packaging metadata to build the solidity snap
2017-06-28 03:40:45 +00:00
chriseth
708d17d13f
Merge pull request #2464 from federicobond/deprecate-function-type-names
...
Warn deprecated usage of parameter names in function types
2017-06-27 16:32:48 +02:00
chriseth
36044c8c95
Merge pull request #2413 from ethereum/utf8-strict-parser
...
Implement strict UTF-8 validation
2017-06-27 14:38:03 +02:00
chriseth
e715dd0b7e
Merge branch 'develop' into utf8-strict-parser
2017-06-27 14:37:45 +02:00
Alex Beregszaszi
bc31d4969c
Merge pull request #2437 from ethereum/warnDoubleCopyStorage
...
Warn about copies in storage that might overwrite unexpectedly.
2017-06-27 10:24:03 +01:00
Alex Beregszaszi
9d201a086c
Merge pull request #2459 from ethereum/noComparisonForSomeTypes
...
No comparison for some types
2017-06-26 22:55:22 +01:00