Commit Graph

8179 Commits

Author SHA1 Message Date
Alex Beregszaszi
540ff30f2c Add component to the changelog entries 2017-07-03 12:34:13 +01:00
Alex Beregszaszi
bfb9d09a65 Remove extra UTF-8 entry 2017-07-03 12:31:56 +01:00
Alex Beregszaszi
c6e85b7839 Add instruction shadows solidity variables 2017-07-03 12:31:19 +01:00
Alex Beregszaszi
0c457835ba Reorder changelog for alphabetical order 2017-07-03 12:31:14 +01:00
chriseth
2b233e7388 Merge pull request #2507 from ethereum/jsonio-safe
Handle parsing errors in StandardCompiler
2017-07-03 13:23:28 +02:00
chriseth
aa262d5c8f Merge pull request #2503 from ethereum/julia-analyzer
Add Julia-mode to AsmAnalyzer/CodeGen
2017-07-03 13:17:52 +02:00
Alex Beregszaszi
75c193e959 Use more refined states in StandardCompiler 2017-07-03 12:06:41 +01:00
Alex Beregszaszi
08069bf4a4 Export CompilerStack state 2017-07-03 12:06:41 +01:00
chriseth
0c7530a852 Merge pull request #2499 from ethereum/shift-helper
Add shift helper to CompilerUtils
2017-07-03 11:25:04 +02:00
Alex Beregszaszi
7798a27112 Add Julia mode as an option to EVMCodeTransform 2017-07-03 10:13:36 +01:00
Alex Beregszaszi
677700d5ac Add assert to shift helper 2017-07-02 23:41:22 +01:00
Alex Beregszaszi
d261265595 Use shift helper in LValue 2017-07-02 23:40:51 +01:00
Alex Beregszaszi
68b0ac4fdd More uses of shift helper 2017-07-02 23:40:51 +01:00
Alex Beregszaszi
8fd1d4167d Change shiftNumberOnStack to bits 2017-07-02 23:40:47 +01:00
Alex Beregszaszi
c7ae042114 Use shift helper 2017-07-02 23:37:47 +01:00
Alex Beregszaszi
0494fa98c0 Add shift helper to CompilerUtils 2017-07-02 23:37:47 +01:00
Alex Beregszaszi
a33a5e3c08 Run analyzer in Julia mode if requested in AssemblyStack 2017-07-02 00:44:21 +01:00
Alex Beregszaszi
b615b01449 Move UndefMacros from libdevcore to libsolidity/parsing 2017-07-02 00:09:46 +01:00
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