chriseth
c33d818a68
Changelog entry.
2017-06-22 16:48:44 +02:00
chriseth
f340ff8764
Fix strings interpreted as addresses.
2017-06-22 16:48:44 +02:00
chriseth
9eaf26a359
Check for address-like strings being treated as addresses.
2017-06-22 16:48:44 +02:00
Alex Beregszaszi
f90a514f80
Merge pull request #2446 from benjaminion/lll-fix-msg-6-args
...
LLL: Fix msg macro with six arguments.
2017-06-22 14:59:05 +01:00
benjaminion
0175008ffa
LLL: Fix msg macro with six arguments.
...
The previous macro used the set built-in in a way incompatible with the current
implementation of set. This commit updates the macro to be more transparent in how it's
working and avoids the use of the set and alloc built-ins.
2017-06-22 13:46:52 +01:00
Alex Beregszaszi
ea6cf619fd
Rewrite jsonCompiler using StandardCompiler
2017-06-22 13:01:46 +01: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
a95f057e37
Merge pull request #2438 from ethereum/exceptions-cleanup
...
Cleanup assertions/exceptions includes
2017-06-22 12:38:46 +01:00
chriseth
de7a488f82
Merge pull request #2415 from benjaminion/lll-fix-create-macro
...
LLL: Fix for edge case in the create macros.
2017-06-22 12:33:45 +02:00
Alex Beregszaszi
d5f8ce90c7
Merge interface/Exceptions and interface/Utils
2017-06-22 11:25:07 +01:00
Alex Beregszaszi
09c548ec69
Remove unused errinfo types
2017-06-22 11:25:07 +01:00
Alex Beregszaszi
a3bd670154
Remove obscure DEV_IGNORE_EXCEPTIONS macro
2017-06-22 11:25:06 +01:00
Alex Beregszaszi
becea47ac3
Use assertThrow where possible
2017-06-22 11:25:06 +01:00
chriseth
1c54ce2a2c
Merge pull request #2399 from ethereum/lll-if
...
LLL: Replace obsolete assembly code
2017-06-22 12:22:28 +02: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
Alex Beregszaszi
63395b31af
Use compilerStack.functionHashes in StandardCompiler
2017-06-22 11:13:06 +01:00
Alex Beregszaszi
a14a1254ca
LLL: report errors if (include) failed
2017-06-22 10:56:58 +01:00
benjaminion
9954c5c0fa
LLL: Testcases for the two create built-in macros.
2017-06-22 09:45:23 +01:00
benjaminion
ff8de3e9fa
LLL: Fix for edge case in the create macros.
...
When (msize) is initially zero the previous create commands failed due to the "lll"
expression overwriting the memory at 0x00. This fix "reserves" memory location 0x00
before calling msize. If msize is already 32 or greater it has no effect.
2017-06-22 09:44:34 +01:00
Federico Bond
0f8ad1d68f
Fix segmentation fault with constant function parameters
2017-06-21 22:46:27 -03:00
Alex Beregszaszi
3094e77748
Merge pull request #2417 from benjaminion/lll-relabel-ecrecover-macro
...
LLL: Correctly label arguments to ecrecover built-in macro.
2017-06-21 23:55:26 +01:00
benjaminion
35bf91407e
LLL: Test case for ecrecover built-in macro.
2017-06-21 23:35:27 +01:00
benjaminion
6cab6b6f49
LLL: Correctly label arguments to ecrecover built-in macro.
...
(r s v hash) -> (hash v r s) which corresponds to the order that the built-in EVM contract uses.
2017-06-21 23:32:47 +01:00
Alex Beregszaszi
bc95da354d
Replace obsolete assembly code in LLL
2017-06-21 21:23:39 +01:00
Alex Beregszaszi
3515ee98ff
Add tests for when/unless/if in LLL
2017-06-21 21:23:20 +01:00
Alex Beregszaszi
176f8f903a
Merge pull request #2425 from ethereum/removedebugbreak
...
Remove debugbreak.
2017-06-21 21:19:05 +01:00
chriseth
ac977cdffa
Merge pull request #2429 from DillonBArevalo/fix-voting
...
Add weight == 0 condition to giveRightToVote function
2017-06-21 17:54:55 +02:00
Dillon Arevalo
552f2e5303
Add weight == 0 condition to giveRightToVote function
...
This will make it so votes can't be deleted accidentally by giving someone with weight > 1 the right to vote again
2017-06-20 20:48:49 -07:00
chriseth
57f79ebfa6
Remove debugbreak.
2017-06-20 19:21:29 +02:00
chriseth
cb5f2f90f6
Merge pull request #2427 from ethereum/fixWindows
...
This might fix our windows tests.
2017-06-20 19:14:42 +02:00
chriseth
314f8beef1
This might fix our windows tests.
2017-06-20 17:47:06 +02:00
Federico Bond
1e3b45d61e
Fix grammar for tuple expressions
2017-06-19 17:16:45 -03:00
chriseth
26ea9ce07c
Merge pull request #2407 from jamesray1/patch-7
...
Link for the semantic versioner for npm
2017-06-19 12:02:21 +02:00
chriseth
2d1d07c3a7
Update layout-of-source-files.rst
2017-06-19 12:02:03 +02:00
chriseth
622703c0c0
Merge pull request #2409 from federicobond/trailing-commas-2
...
Improve error reporting of trailing commas
2017-06-19 12:01:19 +02:00
chriseth
b3a7b5a145
Merge pull request #2416 from federicobond/multiple-specifiers
...
Display error if payable or constant is specified multiple times
2017-06-19 12:00:04 +02:00
chriseth
0c75afb2c1
Merge pull request #2225 from ethereum/julia-for
...
Implement for statement in assembly parser / printer / code generator
2017-06-19 11:53:22 +02:00
Federico Bond
d170ceaf3d
Display error if payable or constant is specified multiple times
2017-06-17 12:21:46 -03:00
chriseth
e0b9589e5a
Merge pull request #2373 from jamesray1/patch-14
...
Changed to "is compiled" rather than "maps" to the DVM op code to avoid ambiguity
2017-06-16 16:52:46 +02:00
chriseth
3abadc7122
Merge pull request #2386 from ethereum/utf8-fix
...
Fix UTF-8 validation for high codepoints (>10000)
2017-06-16 16:41:59 +02:00
chriseth
c1f5016e16
Changelog entry.
2017-06-16 16:41:41 +02:00
Alex Beregszaszi
d7e63f23de
Fix UTF-8 validation for high codepoints (>10000)
2017-06-16 16:41:29 +02:00
chriseth
17de4a0756
Merge pull request #2411 from federicobond/recover-parser
...
Try to recover from parser errors where possible
2017-06-16 15:56:48 +02:00
Alex Beregszaszi
c5339037e9
Test for variable redeclaration in for loops
2017-06-16 11:30:03 +01:00
chriseth
0fd73e5832
Fix test.
2017-06-16 11:29:41 +01:00
chriseth
7a09860ec1
Mention functions in changelog.
2017-06-16 11:29:41 +01:00
chriseth
667a9d32aa
Set source location for for start label.
2017-06-16 11:29:41 +01:00
chriseth
ce5ef08e05
Helper for visiting statements.
2017-06-16 11:29:40 +01:00
chriseth
ea0a86a995
Some more parsing tests.
2017-06-16 11:29:35 +01:00