Commit Graph

7904 Commits

Author SHA1 Message Date
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
chriseth
2f0826ffd7 Functionality tests for for. 2017-06-16 10:56:21 +01:00
chriseth
71d39755fe Changelog and documentation. 2017-06-16 10:56:21 +01:00
chriseth
0745628a73 Code generation for for-loops. 2017-06-16 10:56:21 +01:00
chriseth
868b5ad3aa Split block code generation into main and finalize. 2017-06-16 10:56:21 +01:00
chriseth
1b3ba7bc57 Some more tests. 2017-06-16 10:56:21 +01:00
chriseth
78b49db779 Helper to count the number of variables in a scope. 2017-06-16 10:56:21 +01:00
chriseth
8e5c4bf21d Add include file to forward-declare inline assembly structs. 2017-06-16 10:56:21 +01:00
chriseth
49b1112117 For loops analysis. 2017-06-16 10:56:21 +01:00
Alex Beregszaszi
47925bc14e Parse for statement in assembly parser / printer 2017-06-16 10:56:21 +01:00
Federico Bond
0eaae03bbf Try to recover from parser errors where possible 2017-06-15 21:14:05 -03:00
Federico Bond
60bfae75e5 Improve error reporting of trailing commas 2017-06-15 13:10:08 -03:00
James Ray
0d9970de1d Link for the semantic versioner for npm 2017-06-15 22:01:17 +10:00
James Ray
c1e0a6557d Create types.rst
"is compiled" avoids ambiguity compared with "maps", especially for those who may not understand what maps may mean and may confuse it with the "mapping" code keyword
2017-06-15 19:37:37 +10:00
Alex Beregszaszi
54e97d1c34 Merge pull request #2402 from ethereum/grammar-updates
Grammar updates (mostly assembly)
2017-06-15 10:19:04 +01:00
chriseth
fb5db94879 Merge pull request #2397 from ethereum/doublepush
Peephole optimizer for double push.
2017-06-15 10:50:07 +02:00
chriseth
1636602fc4 Merge pull request #2363 from ethereum/windows_bytecodedir
Change windows CI to use the same bytecode directory as linux.
2017-06-15 10:13:58 +02:00
chriseth
9084d48750 Merge pull request #2382 from ruchevits/combined-json-hashes
Allow including hashes of method signatures in --combined-json output
2017-06-15 10:10:18 +02:00
chriseth
7af9d10006 Fix lll test. 2017-06-15 10:07:17 +02:00
chriseth
3cb71ac516 Merge pull request #2398 from ethereum/assembly-cleanup
Remove obsolete features from libevmasm
2017-06-15 08:41:14 +02:00
chriseth
71fea1e370 Merge pull request #2396 from ethereum/asm-aux
Display auxiliary data in assembly
2017-06-15 08:39:11 +02:00