Alex Beregszaszi
|
0494fa98c0
|
Add shift helper to CompilerUtils
|
2017-07-02 23:37:47 +01: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 |
|
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 |
|
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 |
|
Alex Beregszaszi
|
dad6a9ad08
|
Merge pull request #2457 from ethereum/fixNegativeStackHeight
Fix negative stack height
|
2017-06-28 18:16:52 +01: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
|
c3e5d6b7ef
|
Give min and max values in warning message.
|
2017-06-28 15:02:25 +02:00 |
|
chriseth
|
9f19bc8cbc
|
Warn if using var x = 0
|
2017-06-28 11:41:03 +02: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 |
|
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 |
|
Alex Beregszaszi
|
b0ab9aaee0
|
Merge pull request #2453 from ethereum/memcopyAsForLoop
Use for loop for assembly memcopy.
|
2017-06-26 22:39:30 +01:00 |
|
chriseth
|
ab15040caa
|
Comment about zero length.
|
2017-06-26 21:48:17 +01:00 |
|
Federico Bond
|
70fd5c1770
|
Warn deprecated usage of parameter names in function types
|
2017-06-26 15:39:01 -03:00 |
|
chriseth
|
d0b6de0b34
|
Warn about copies in storage that might overwrite unexpectedly.
|
2017-06-26 16:31:36 +02:00 |
|
chriseth
|
4407a13c17
|
Only allow equality checks for internal function types.
|
2017-06-26 16:30:37 +02:00 |
|
chriseth
|
f47e6e90fb
|
Disallow comparisons between some types.
|
2017-06-26 16:30:36 +02:00 |
|
Alex Beregszaszi
|
751ba701bc
|
Merge pull request #2450 from ethereum/addressstring
Fix for strings treated as addresses.
|
2017-06-26 12:18:33 +01:00 |
|
Alex Beregszaszi
|
a0b0df2d98
|
Merge pull request #2460 from ethereum/disallowMultiModifier
Disallow invoking the same modifier multiple times.
|
2017-06-26 11:51:12 +01:00 |
|
chriseth
|
c328ab411b
|
Merge pull request #2442 from ethereum/remove-why3
Remove Why3 generator
|
2017-06-26 09:20:23 +02:00 |
|
chriseth
|
d94a12a34c
|
Reformat.
|
2017-06-26 09:19:11 +02:00 |
|
chriseth
|
0aaa6d876d
|
Use for loop for assembly memcopy.
|
2017-06-26 09:18:14 +02:00 |
|
chriseth
|
f879489291
|
Merge pull request #2449 from federicobond/warn-bytesxx-decimal
Warn if decimal literals are used in a bytesXX context
|
2017-06-26 09:13:41 +02:00 |
|
Alex Beregszaszi
|
555dc4f46f
|
Remove Why3 generator
|
2017-06-25 12:26:16 +01:00 |
|
Federico Bond
|
7a3ea61ffd
|
Warn if decimal literals are used in a bytesXX context
Fixes #2349
|
2017-06-23 23:21:19 -03:00 |
|
chriseth
|
5a75581f66
|
Disallow invoking the same modifier multiple times.
|
2017-06-23 20:12:22 +02:00 |
|
chriseth
|
64067975e4
|
Review suggestions.
|
2017-06-23 19:29:11 +02:00 |
|
chriseth
|
831ed08387
|
Change invalid opcode to revert for input validation.
|
2017-06-23 19:29:11 +02:00 |
|
chriseth
|
1f7697eee3
|
Merge pull request #2448 from federicobond/constant-addresses
Fix address literals not being treated as compile-time constants
|
2017-06-23 11:56:24 +02:00 |
|
chriseth
|
50e8a887a4
|
Merge pull request #2443 from ethereum/julia-asm-size
Support appendAssemblySize() in AbstractAssembly
|
2017-06-23 11:30:02 +02:00 |
|
Federico Bond
|
0fb1621a98
|
Fix address literals not being treated as compile-time constants
The early return implemented for address literals in TypeChecker was
preventing the isPure annotation from getting applied. Closes #2441
|
2017-06-23 11:19:57 +02:00 |
|
Alex Beregszaszi
|
f9144ae5a4
|
Merge pull request #2444 from ethereum/parser-scanner
Avoid including Scanner.h in ParserBase.h
|
2017-06-23 00:14:18 +01:00 |
|
Alex Beregszaszi
|
5cf2332d6d
|
Support appendAssemblySize() in AbstractAssembly
|
2017-06-23 00:09:35 +01:00 |
|
Alex Beregszaszi
|
79ed529b3f
|
Merge pull request #2452 from ethereum/fixPassingEmptyString
Fix passing empty string
|
2017-06-22 22:33:06 +01:00 |
|
Alex Beregszaszi
|
007ffe9430
|
Avoid including Scanner.h in ParserBase.h
|
2017-06-22 22:22:19 +01:00 |
|
chriseth
|
bffb8c404f
|
Merge pull request #2408 from federicobond/constant-parameters
Fix segmentation fault with constant function parameters
|
2017-06-22 18:46:15 +02:00 |
|
chriseth
|
83ea7793d9
|
Fix ABI encoding of empty string literal.
|
2017-06-22 17:55:06 +02:00 |
|
chriseth
|
f340ff8764
|
Fix strings interpreted as addresses.
|
2017-06-22 16:48:44 +02:00 |
|
Alex Beregszaszi
|
f823952d9f
|
Merge pull request #2404 from ethereum/methodidentifiers
Clean up method identifiers handling in CLI/CompilerStack
|
2017-06-22 13:00:19 +01:00 |
|
Alex Beregszaszi
|
d5f8ce90c7
|
Merge interface/Exceptions and interface/Utils
|
2017-06-22 11:25:07 +01:00 |
|
Alex Beregszaszi
|
ba7d698ee6
|
Make compiler.contractDefinition private
|
2017-06-22 11:13:06 +01:00 |
|
Alex Beregszaszi
|
b99e4bc68b
|
Rework functionHashes into methodIdentifiers
|
2017-06-22 11:13:06 +01:00 |
|