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
1ffe286a81
LLL: report correct name if a symbol was not found
2017-06-22 23:00:22 +01:00
Alex Beregszaszi
581aace501
LLL: do not allow empty variable names
2017-06-22 23:00:22 +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
Alex Beregszaszi
08a5d144ac
Merge pull request #2426 from ethereum/miniMoustache
...
Whiskers template system
2017-06-22 22:17:26 +01:00
Federico Bond
9fc4c877d3
Fix and improve grammar.txt
2017-06-22 13:55:08 -03:00
Federico Bond
f0f1e5abfa
grammar.txt: Fix grammar for f.gas(p).value(q)() style calls
2017-06-22 13:54:05 -03: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
ce069e9c1e
Merge pull request #2423 from federicobond/tuple-grammar
...
Fix grammar for tuple expressions
2017-06-22 18:43:39 +02:00
chriseth
7ec9b70457
Bug list entry.
2017-06-22 18:33:41 +02:00
chriseth
83ea7793d9
Fix ABI encoding of empty string literal.
2017-06-22 17:55:06 +02:00
chriseth
f36e021ffc
Test for passing empty string literal as function argument.
2017-06-22 17:39:29 +02:00
chriseth
0868a50eb1
Merge pull request #2440 from ethereum/lll-include
...
LLL: better error reporting in (include)
2017-06-22 17:18:34 +02:00
chriseth
e58cff3f37
Changelog entry for Whiskers.
2017-06-22 16:56:57 +02:00
Alex Beregszaszi
1d4f40e3a2
Document Whiskers.
2017-06-22 16:56:57 +02:00
chriseth
cb7021881a
Whiskers template system
2017-06-22 16:56:57 +02:00
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