Commit Graph

9670 Commits

Author SHA1 Message Date
chriseth
8899812ff2 Disable tests for travis on non-release and non-tag branches. 2018-02-27 16:39:03 +01:00
Alex Beregszaszi
a566825589 Issue error if no visibility is specified (on 0.5.0) 2018-02-27 16:31:53 +01:00
chriseth
6d8dee586c
Merge pull request #3612 from ethereum/debian-lsb
Fix install_deps.sh for Debian without lsb_release
2018-02-27 16:14:14 +01:00
Alex Beregszaszi
2abc5be7e6
Merge pull request #2541 from ethereum/asm-bitshift
Add bit shifting opcodes (EIP145)
2018-02-27 14:47:07 +01:00
Paweł Bylica
9a8b0d5726 Fix install_deps.sh for Debian without lsb_release 2018-02-27 14:34:57 +01:00
Alex Beregszaszi
6512bfbcea
Merge pull request #3601 from ethereum/circleParallel
Parallelize tests on circle.
2018-02-27 13:54:45 +01:00
Alex Beregszaszi
73c5d99bfa Add basic test for shift opcodes 2018-02-27 13:43:04 +01:00
Alex Beregszaszi
317e017849 Shift operands were swapped in accepted EIP145 2018-02-27 13:43:02 +01:00
Alex Beregszaszi
afa4a48e37 Remove ROL/ROR as they are not part of EIP145 anymore 2018-02-27 13:42:41 +01:00
Alex Beregszaszi
468d0f6199 Warn on using shift instructions 2018-02-27 13:42:31 +01:00
Alex Beregszaszi
9e0446a22c Document bitwise shift operators in assembly 2018-02-27 13:42:28 +01:00
chriseth
d64aa0eaad Some more scoping tests. 2018-02-27 12:41:32 +01:00
chriseth
6391a36a6c Documentation about new scoping rules. 2018-02-27 12:41:32 +01:00
chriseth
88a5c66f4a Only active variables at the point of their declaration. 2018-02-27 12:17:25 +01:00
chriseth
6b9dda06f3 Enable C99-scoping with the 0.5.0-experimental pragma. 2018-02-27 12:17:25 +01:00
chriseth
e227bdbfa7 Changelog entry. 2018-02-27 12:17:25 +01:00
chriseth
0005990382 Tests for new scoping behaviour. 2018-02-27 12:17:25 +01:00
chriseth
69f5f2eb65 Adjust tests. 2018-02-27 12:17:25 +01:00
chriseth
e6d48bb72a Blocks and for loops can be scopes. 2018-02-27 12:17:25 +01:00
chriseth
5f20129e65 Scopes do not have to be declarations. 2018-02-27 12:17:25 +01:00
chriseth
53289e15a2 Make all lookups recursive by default. 2018-02-27 12:17:25 +01:00
chriseth
6a83beaab5 Run tests in parallel on circle. 2018-02-27 12:08:27 +01:00
Alex Beregszaszi
59e6ea601b Add bitwise shift operators to libevmasm (EIP145) 2018-02-27 12:03:18 +01:00
chriseth
9c31a0d8f5
Merge pull request #3604 from ethereum/docs-update
Introduce VM version ('hard fork') column for assembly opcodes
2018-02-27 11:58:32 +01:00
Alex Beregszaszi
aeb75172d5 Fix builtin function formatting in julia 2018-02-27 11:16:12 +01:00
Alex Beregszaszi
8cebfb168b Introduce VM version ('hard fork') column for assembly opcodes 2018-02-27 11:16:12 +01:00
Alex Beregszaszi
e424bd1007 Fix some keyword highlighting in docs 2018-02-27 11:12:10 +01:00
chriseth
bffed2c7e4
Merge pull request #3603 from ethereum/docs-solcjs
Fix links and clarify the solc-js section
2018-02-27 10:32:48 +01:00
chriseth
415ac2ae87
Merge pull request #3605 from ethereum/deprecate-throw
Turn throw into a syntax error for 0.5.0
2018-02-27 10:22:17 +01:00
Dax Bondye
e34d367593 Multiline output parameters and return statements 2018-02-26 19:32:55 -08:00
Alex Beregszaszi
5c0d82059f Turn throw into a syntax error for 0.5.0 2018-02-27 02:10:24 +01:00
Alex Beregszaszi
3594f02d51 Fix link to solcjs in the installation section 2018-02-27 00:38:52 +01:00
Alex Beregszaszi
241134a881 Mention that solcjs is not compatible with solc in the using-the-compiler section 2018-02-27 00:36:01 +01:00
chriseth
1f5eb4ba59
Merge pull request #3335 from nisdas/ballot-contract
Fixes the errors in the sample ballot contract
2018-02-27 00:17:46 +01:00
chriseth
3aaa5c4a35
Merge pull request #3426 from wbt/patch-1
Note deprecation of constant keyword on functions
2018-02-27 00:17:03 +01:00
wbt
92fe9e621e Note deprecation of constant keyword on functions 2018-02-27 00:08:17 +01:00
chriseth
098033c94a Fix name shadowing in ballot example contract. 2018-02-27 00:02:39 +01:00
Alex Beregszaszi
eb3b92f831
Merge pull request #3602 from ethereum/docs-updates
Random documentation updates (assembly, faq)
2018-02-26 23:16:45 +01:00
Alex Beregszaszi
b62d43912b
Merge pull request #3589 from ethereum/identifiers
Clean up type identifiers
2018-02-26 20:27:26 +01:00
Alex Beregszaszi
64eaff6420 Random documentation updates (assembly, faq) 2018-02-26 20:19:26 +01:00
chriseth
b9dccf9f20 Split circle into build and test for x86. 2018-02-26 20:09:39 +01:00
Alex Beregszaszi
0736d91eaa Add test for escapeIdentifier 2018-02-26 19:09:44 +01:00
Alex Beregszaszi
b471983e3c Use new escaping helpers for type identifiers 2018-02-26 19:09:43 +01:00
Alex Beregszaszi
2e7067fbe4 Rename Types::identifier to Types::richIdentifier 2018-02-26 19:09:43 +01:00
Alex Beregszaszi
751705978e Add helpers escapeIdentifier to Types 2018-02-26 19:09:39 +01:00
chriseth
cd2d893634
Merge pull request #3588 from ethereum/fixGetterType
Fix getter type
2018-02-26 17:14:30 +01:00
chriseth
4da20bdf01 Fix: Function types for getters should not have storage pointers. 2018-02-26 11:17:40 +01:00
chriseth
8ae6a76c58 Test data location of getter return type. 2018-02-26 11:17:32 +01:00
chriseth
917dd28eef Simplify FunctionType constructors. 2018-02-26 10:45:41 +01:00
Alex Beregszaszi
6b3a5e5d87
Merge pull request #3585 from aaroncolaco/develop
Fix example; closes #3582
2018-02-26 10:21:08 +01:00