Commit Graph

21239 Commits

Author SHA1 Message Date
chriseth
a79120fece
Merge pull request #12124 from ethereum/fixTests
Fix tests.
2021-10-12 20:26:28 +02:00
Kamil Śliwak
01327d6ef1 CommandLineInterface: Don't return zero exit code when writing linked files to disk fails 2021-10-12 18:23:16 +02:00
Kamil Śliwak
a5ed732fd3 CommandLineInterface: Rename m_error to m_outputFailed 2021-10-12 18:23:16 +02:00
chriseth
eb0c73dafd
Merge pull request #12046 from ethereum/asm-immutable-refs
Proper source mapping for immutables.
2021-10-12 18:09:06 +02:00
chriseth
59d8f50518 Fix tests. 2021-10-12 18:08:33 +02:00
Christian Parpart
b1dd0d0d02 Properly compute source mappings for immutables. 2021-10-12 17:56:17 +02:00
chriseth
49d7b78466
Merge pull request #12123 from ethereum/empty-switch-12068
CodeGen: Only output switch when it has cases
2021-10-12 17:42:49 +02:00
Mathias Baumann
454860d1f5 CodeGen: Only output switch when it has cases 2021-10-12 17:40:31 +02:00
Mathias Baumann
76f31e2c4e Whiskers: Support conditional value parameters for lists 2021-10-12 17:07:08 +02:00
chriseth
adc58c67b4
Merge pull request #11944 from ethereum/debug-info-selection
Debug info selection
2021-10-12 16:39:50 +02:00
chriseth
5b3169b5dc
Merge pull request #11295 from ethereum/semver-parser
Properly reject misformatted version pragmas
2021-10-12 16:31:52 +02:00
chriseth
3beebbaa15
Merge pull request #12120 from ethereum/sol-throw
`solThrow()`
2021-10-12 16:28:34 +02:00
chriseth
5911fdf6a2
Merge pull request #12106 from ethereum/fix-circleci-macos-cache-key
Include OS and CPU architecture in CircleCI cache keys
2021-10-12 16:22:13 +02:00
Christian Parpart
591ba184e9 Adds some more version pragma test cases. 2021-10-12 15:15:54 +02:00
Kamil Śliwak
e136788493 Replace BOOST_THROW_EXCEPTION() with solThrow() where appropriate 2021-10-11 20:35:00 +02:00
Kamil Śliwak
ee1455ce95 Define solThrow() macro to make throwing simple errors less verbose 2021-10-11 20:35:00 +02:00
Kamil Śliwak
a9e794c872 Expose --debug-info/settings.debug.debugInfo option 2021-10-11 20:34:48 +02:00
Kamil Śliwak
bcfefc79d9 Pass DebugInfoSelection down to the code handling assembly printing 2021-10-11 20:34:48 +02:00
Kamil Śliwak
f7c4ed849d Handle DebugInfoSelection in the code printing Yul and EVM assembly 2021-10-11 20:34:48 +02:00
Kamil Śliwak
25eedfafe2 Define DebugInfoSelection 2021-10-11 20:34:48 +02:00
Kamil Śliwak
2cd1c644b6 Remove unused includes and sort existing includes in a few places 2021-10-11 20:34:48 +02:00
Kamil Śliwak
cd22574072 Workaround for CircleCI not being able to restore cached /usr/local/Homebrew 2021-10-11 20:12:55 +02:00
Kamil Śliwak
24c8a608c4 Include OS and CPU architecture in CircleCI cache keys 2021-10-11 19:16:52 +02:00
Kamil Śliwak
b0a5b92fe9
Merge pull request #12071 from ethereum/cli-validate-output-selection
Validate selected compiler outputs on the CLI
2021-10-11 17:52:32 +02:00
chriseth
94c5c617ce
Merge pull request #12117 from ethereum/fix/ppa-script-wrt-fmtlib
Updates PPA release script to pre-fetch the correct fmtlib version.
2021-10-11 14:55:09 +02:00
Christian Parpart
859a170273 Updates PPA release script to pre-fetch the correct fmtlib version. 2021-10-11 14:52:07 +02:00
chriseth
c29cff6f75
Merge pull request #11273 from ethereum/fmtlib
Adds fmtlib as 3rdparty dependency for easier string composition.
2021-10-11 14:33:48 +02:00
chriseth
a25e4495f9
Merge pull request #12116 from ethereum/cleanupInlineAsm
[DOCS] Add inline assembly section to cleanup.
2021-10-11 14:25:49 +02:00
chriseth
b986c2151a Add inline assembly section to cleanup. 2021-10-11 14:25:03 +02:00
Christian Parpart
3f08b2269a Adds fmtlib as 3rdparty dependency for easier string composition. 2021-10-11 13:35:08 +02:00
chriseth
16c4a889a6
Merge pull request #12110 from ethereum/docs-rename-share-arrow
[Docs] Rename `share-solid.svg`
2021-10-11 11:23:41 +02:00
Kamil Śliwak
d22cd235cf Rename share-solid.svg to avoid it being blocked by adblockers 2021-10-08 13:57:49 +02:00
chriseth
b343e13244
Merge pull request #12108 from ethereum/fix-broken-remix-link-style
Fix broken Remix link style
2021-10-08 00:20:07 +02:00
chriseth
5d7f9bb3b2
Merge pull request #11762 from s0sharma/develop
[CLI] Consolidate exception handlers in CommandLineInterface
2021-10-07 22:58:00 +02:00
Kamil Śliwak
f245f8b473 footer.html: Put credits link in a paragraph to add more spacing 2021-10-07 21:22:12 +02:00
Kamil Śliwak
6adfe88211 custom.css: Restore braces that disappeared in a rebase 2021-10-07 21:20:51 +02:00
Kamil Śliwak
c980e96b64
Merge pull request #11697 from ethereum/sphinx-remix-code-links-extension
Sphinx extension for adding Remix links to code snippets
2021-10-07 20:42:48 +02:00
chriseth
154d8f01b8
Merge pull request #12105 from ethereum/extra-debug-info-for-unknown-exceptions
Extra debug info about unknown exceptions
2021-10-07 18:34:02 +02:00
Kamil Śliwak
b7942219df Include language and compiler version in Remix code links 2021-10-07 18:25:01 +02:00
Kamil Śliwak
416b13850f Sphinx extension for adding Remix links to code snippets 2021-10-07 18:25:00 +02:00
Kamil Śliwak
cd7db7faeb Add an arrow icon for Remix link, with proper attribution 2021-10-07 18:23:56 +02:00
Kamil Śliwak
a30348715b Use boost::current_exception_diagnostic_information() to print extra info about exceptions caught by (...) 2021-10-07 17:41:25 +02:00
Saurabh Sharma
e13dc5084d Move exception handlers from CommandLineInterface to main() 2021-10-07 17:20:19 +02:00
chriseth
daf61a4c90
Merge pull request #11927 from 4molybdenum2/issue-11900
Adjust Colors for the Solidity Docs
2021-10-07 16:50:58 +02:00
4molybdenum2
551c3ae17a Adjust Colors for the Solidity Docs 2021-10-07 16:23:30 +02:00
Kamil Śliwak
0043eca672 Consistent indentation in doc config, templates and static files 2021-10-07 16:23:27 +02:00
chriseth
298af55cc5
Merge pull request #12102 from v-sreekesh/Nested_Brackets_Optimization
Nested brackets optimization
2021-10-07 10:48:19 +02:00
chriseth
6288890fc2
Merge pull request #12099 from elopio/snap/update-z3
Snap: update z3
2021-10-07 10:45:24 +02:00
chriseth
75ccb4d41f
Merge pull request #12098 from ethereum/reformat-standard-optimizer-cmdline-tests
Reformat `standard_optimizer` command-line tests for readability
2021-10-07 10:22:43 +02:00
Leo Arias
7b1a12ae4c Snap: update z3 2021-10-06 18:00:07 -06:00