Alex Beregszaszi
d230048dc8
Merge pull request #2493 from ethereum/moreLicenses
...
Add other licenses.
2017-07-01 23:34:22 +01:00
chriseth
c78a3a0b01
Add other licenses.
2017-07-01 22:59:08 +01:00
chriseth
dd9416be29
Merge pull request #2481 from ethereum/mload-optim
...
MLOAD has side-effects, treat it like that in the optimiser
2017-07-01 17:53:01 +02:00
chriseth
0446893bce
Merge pull request #2496 from jamesray1/patch-24
...
Added ref for Getter functions
2017-07-01 16:43:03 +02:00
Alex Beregszaszi
9a607a445f
Merge pull request #2488 from ethereum/solcjs
...
Simplify version retrieval in scripts
2017-07-01 12:37:49 +01:00
chriseth
61e448470a
Merge pull request #2494 from ethereum/remove-why3
...
Remove last remains of Why3
2017-07-01 12:42:37 +02:00
chriseth
06f8949f10
Merge pull request #2498 from ethereum/enum_conversion
...
[WIP] Disallow storing invalid booleans
2017-07-01 12:38:27 +02:00
Alex Beregszaszi
f13feed7f2
Add script to retrieve version
2017-07-01 11:25:02 +01:00
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
3594f973df
Update types.rst
2017-07-01 13:31:31 +10: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
James Ray
77e4f9c8fc
Changed URL for getter to a ref
2017-06-30 19:24:39 +10:00
James Ray
355d69b4ba
Used a ref for getter instead of a URL.
2017-06-30 19:19:06 +10:00
James Ray
2ac51a1a90
Added links for the getter function.
2017-06-30 19:11:21 +10: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