Mathias Baumann
c47d02066c
Fix yul codegen bug when using binary negatition.
2021-06-29 17:41:03 +02:00
chriseth
ccad22bafa
Merge pull request #11581 from ethereum/fix-crash-on-empty-string-in-bytes-concat
...
Fix `bytes.concat("")`
2021-06-29 15:02:26 +02:00
Kamil Śliwak
fa3696878b
Fix crash when passing empty strings to bytes.concat()
2021-06-29 13:52:01 +02:00
chriseth
7bce83e7c4
Merge pull request #11592 from ethereum/robots-host
...
Set preferred host in robots.txt
2021-06-29 11:17:03 +02:00
Alex Beregszaszi
37db29e9f1
Set preferred host in robots.txt
2021-06-28 21:26:00 +01:00
Harikrishnan Mulackal
d91dc9953f
Merge pull request #10015 from ethereum/moveFunctionArgumentsToMemoryNew
...
Stack Limit Evader: Move function arguments and return values to memory (v2)
2021-06-28 18:49:40 +02:00
Daniel Kirchner
c341445f8e
Maintain disambiguation when generating new functions in StackToMemoryMover.
2021-06-28 18:11:57 +02:00
Daniel Kirchner
17d69e2b99
Changelog entries.
2021-06-28 18:11:57 +02:00
Daniel Kirchner
bc288aacf5
Have the stack optimization in the code transform only reuse slots that are reachable and fix argument slot reuse on functions without return variables.
2021-06-28 18:11:57 +02:00
Daniel Kirchner
dfce7b667d
Move function arguments and return values.
2021-06-28 18:11:57 +02:00
Daniel Kirchner
cc0169ad68
Function definition collector.
2021-06-28 18:11:57 +02:00
Harikrishnan Mulackal
f5d659da0c
Merge pull request #11591 from ethereum/fix-develop-docs-ci
...
[DOCS] Change code block into proper JSON
2021-06-28 18:08:16 +02:00
hrkrshnn
4c216395c6
[DOCS] Change code block into proper JSON
...
Reran `solc --storage-layout`, so the AST ids changed.
2021-06-28 17:27:33 +02:00
chriseth
22402accfe
Merge pull request #11578 from ethereum/soltest-clearer-error-message-for-std-exception
...
Clearer error message for `std::exception` in soltest
2021-06-28 16:13:21 +02:00
chriseth
8a4da927e4
Merge pull request #11488 from amidmm/develop
...
[docs] updating description of the code for new version of solidity
2021-06-28 15:46:38 +02:00
Amid Moeinzadeh
16fdfdc4eb
Replace reference to `require
by
if
`.
2021-06-28 15:45:07 +02:00
chriseth
b3ac0976fc
Merge pull request #11575 from ethereum/fix-invalid-yul-escapes-from-literals-in-assembly-blocks
...
Fix invalid Yul escapes generated from literals in assembly blocks
2021-06-28 14:53:48 +02:00
chriseth
2567eb46ba
Merge pull request #11477 from iskanderandrews/feature/docs-highlight-solc
...
[Docs]: Highlighting code snippets in .rst docs
2021-06-28 14:40:43 +02:00
chriseth
1fd225ac88
Merge pull request #11576 from ethereum/docs-clarify-docker-volumes-with-standard-json
...
[Docs] Clarify the statement that docker volumes are not required with `--standard-json`
2021-06-28 14:27:25 +02:00
Kamil Śliwak
19fada966f
Do not use \b, \v and \f escapes in string literals in generated Yul code
2021-06-28 14:13:47 +02:00
Harikrishnan Mulackal
a3c965b7de
Merge pull request #11580 from ethereum/fix-crash-on-zero-in-bytes-concat
...
Fix `bytes.concat(0)`
2021-06-28 10:06:18 +02:00
Kamil Śliwak
ca0b1bf3f3
Fix crash when passing zero to bytes.concat()
2021-06-25 21:26:28 +02:00
Kamil Śliwak
82b720029d
boostTest: Print diagnostic information for std::exception too
2021-06-25 13:25:10 +02:00
Kamil Śliwak
030fb1d9a2
boostTest: Give BOOST_REQUIRE_NO_THROW a smaller block of code to make the error message clearer when a test raises an unexpected exception
2021-06-25 13:22:15 +02:00
iskanderandrews
a8e9d7a80d
docs/
...
Enhancing all the .rst doc files by adding highlighting for the code snippets, including the following langs:
1. Solidity
2. bash
3. javascript
4. assembly
2021-06-25 12:33:55 +02:00
Kamil Śliwak
cd0ccd099b
installing-solidity.rst: Clarify that when using urls
in Standard JSON with a dockerized compiler it might still be necessary to mount a volume
2021-06-24 19:14:38 +02:00
chriseth
cbf1c3ae69
Merge pull request #11512 from ethereum/issue_10342
...
[yul] Functions: Remove dependency on AST ID.
2021-06-23 19:35:12 +02:00
Alexander Arlt
8accf420ea
[yul] Functions: Remove dependency on AST ID.
2021-06-23 16:15:25 +02:00
chriseth
e4cf371358
Merge pull request #11574 from ethereum/ParserBase
...
[langutil] ParserBase: make advance() overridable and make sure it's used.
2021-06-23 13:16:56 +02:00
Christian Parpart
f561c1e90b
[langutil] ParserBase: make advance() overridable and make sure it's used.
2021-06-23 12:53:25 +02:00
chriseth
26598a2603
Merge pull request #11569 from ethereum/fixcalltounimplementedmodifier
...
Prevent calls to unimplemented modifiers.
2021-06-23 09:25:02 +02:00
chriseth
829bf0c18a
Merge pull request #11571 from ethereum/libsolcli-and-libphaser
...
Create libs for yul-phaser and solc to avoid recompiling their sources for soltest
2021-06-23 09:21:33 +02:00
Kamil Śliwak
afb8fb4927
Create libraries for yul-phaser and solc to avoid compiling their sources again for soltest
2021-06-22 17:47:45 +02:00
chriseth
c5923f7fcf
Prevent calls to unimplemented modifiers.
2021-06-22 17:08:28 +02:00
chriseth
9cf6021d8a
Merge pull request #11567 from ethereum/convert-type-ice-on-bound-calldata-struct
...
Fix ICE when calling functions bound to calldata structs and arrays
2021-06-22 16:51:25 +02:00
Kamil Śliwak
98e83303b1
Remove assertions preventing calldata->calldata conversion when cleanup is needed
2021-06-22 16:10:16 +02:00
chriseth
7dded3ae67
Merge pull request #11568 from ethereum/setversionto087
...
Set version to 0.8.7.
2021-06-22 15:55:26 +02:00
chriseth
ef0e902db3
Set version to 0.8.7.
2021-06-22 15:14:53 +02:00
chriseth
11564f7ec2
Merge pull request #11566 from ethereum/prepare086
...
Prepare release of 0.8.6.
2021-06-22 13:30:55 +02:00
chriseth
c502158c69
Prepare release of 0.8.6.
2021-06-22 11:39:15 +02:00
chriseth
6324688ece
Merge pull request #11420 from ethereum/docs-sphinx-4-compatibility-fixes
...
[DOCS] Sphinx 4.x.y compatibility fixes
2021-06-22 11:02:34 +02:00
chriseth
69714b2854
Merge pull request #11565 from ethereum/fix-isolate-tests-parsing-sphinx-block-parameters
...
Fix Sphinx block parameter parsing in `isolate_tests.py`
2021-06-22 11:01:16 +02:00
Kamil Śliwak
98c4830f2a
docs/requirements.txt: Add minimum version for Sphinx
2021-06-21 20:54:35 +02:00
Kamil Śliwak
056e0d3751
docs: Suppress highlighting errors for snippets that cause errors in pygments-lexer-solidity
2021-06-21 20:54:35 +02:00
Kamil Śliwak
570ecf1cf1
Replace deprecated Sphinx mehods with newer equivalents
2021-06-21 20:54:31 +02:00
Kamil Śliwak
b7bbf6bd07
docs/contributing.rst: Don't use the default Solidity highlighting for shell and text snippets
2021-06-21 20:54:31 +02:00
Kamil Śliwak
da40011d8c
Add generated robots.txt to .gitignore
2021-06-21 20:54:31 +02:00
Kamil Śliwak
0311b955c2
isolate_tests.py: Parse Sphinx block parameters correctly
2021-06-21 20:54:12 +02:00
chriseth
a96114b3c5
Merge pull request #11450 from ethereum/originSourceLocations
...
Adding origin location notation to IR
2021-06-21 19:19:18 +02:00
Djordje Mijovic
838f59fa5b
Adding origin location notation to yul ir.
2021-06-21 18:48:20 +02:00