Commit Graph

470 Commits

Author SHA1 Message Date
chriseth
a137d42094
Merge pull request #13007 from ethereum/develop
Merge develop into breaking.
2022-05-11 16:39:24 +02:00
Christian Parpart
f308f1a1f8 Always allow full filesystem access to LSP. 2022-05-09 11:37:11 +02:00
chriseth
a433511128 Merge remote-tracking branch 'origin/develop' into breaking 2022-04-13 17:08:27 +02:00
Joshua Quinones
e1a59397c6 Renamed AssemblyStack to YulStack
All files, references, variables, comments, etc. were renamed to YulStack.
2022-04-08 20:28:55 +02:00
Aisultan Kali
96376264e8 Set handlers use unified jsonPrint with prettifier if needed 2022-04-04 20:17:11 +02:00
chriseth
0d96c5c8a5 Merge remote-tracking branch 'origin/develop' into breaking 2022-03-16 15:41:37 +01:00
Daniel Kirchner
0172f61340 No longer mark Yul as experimental. 2022-03-14 14:48:01 +01:00
Daniel Kirchner
e58c0b561d Mark viaIR code generation as non-experimental. 2022-03-14 14:48:00 +01:00
wechman
9dc26af829 Use "C" instead user environment locale in solc 2022-03-14 09:07:48 +01:00
Tyler
519e1c9402 Specify namespaces
Fix references into solidity::util
2022-03-08 00:09:17 -05:00
chriseth
6b88e470ff Merge remote-tracking branch 'origin/develop' into breaking 2022-03-07 16:34:55 +01:00
chriseth
b0dcd7b915 Split out disassemble to remove numeric from instruction includes. 2022-03-02 15:30:41 +01:00
chriseth
0801c48e11 Merge remote-tracking branch 'origin/develop' into breaking 2022-02-17 09:42:15 +01:00
Marenz
46075d04d9 Include used events in `--hashes` output 2022-02-09 13:50:42 +01:00
Marenz
3e7c68d9b0 Merge identifier query methods into one 2022-02-08 17:44:21 +01:00
joshieDo
9e62f21b25 Add event and error identifiers to cli hashes cmd 2022-02-08 17:44:21 +01:00
chriseth
923d1cf2d2
Merge pull request #12423 from ethereum/develop
Merge develop into breaking.
2021-12-20 11:40:40 +01:00
Christian Parpart
927b24df1f Initial implementation of Language Server 2021-12-16 17:52:49 +01:00
chriseth
c79ced0558
Merge pull request #12407 from ethereum/develop
Merge develop into breaking.
2021-12-14 18:54:25 +01:00
mejsiej
55ba0d9674 Removed the initiation of default outputs in assembler mode 2021-12-13 21:54:28 +01:00
chriseth
0e6388a907 Clarify FileReader interface. 2021-12-13 14:54:58 +01:00
chriseth
0bbf58ec5e
Merge pull request #12376 from ethereum/develop
Merge `develop` into `breaking`
2021-12-13 12:59:33 +01:00
chriseth
88cc42230f Merge remote-tracking branch 'origin/develop' into breaking 2021-11-09 18:26:34 +01:00
Kamil Śliwak
f50aec9334 CommandLineInterface: Report an error immediately when writing to disk fails 2021-11-09 18:16:30 +01:00
Kamil Śliwak
c8380c25bb CommandLineInterface: Update control flow to accommodate the new way of reporting errors 2021-11-09 18:16:30 +01:00
neel iyer
e829bcd933 CommandLineInterface: Replace code that prints to serr() and returns false with CommandLineValidationError exception 2021-11-09 18:16:30 +01:00
Kamil Śliwak
16f62ed43e Move the Yul experimental warning from CommandLineParser to CommandLineInterface and remove stderr from the parser 2021-11-09 18:16:30 +01:00
Kamil Śliwak
3f5471165f CommandLineParser: Report errors by raising exceptions 2021-11-09 18:16:30 +01:00
neel iyer
cda0d029bc Define CommandLineError and a few exceptions derived from it 2021-11-09 18:16:30 +01:00
Kamil Śliwak
1a19d9a5cf New CLI output in assembly mode: --ewasm-ir 2021-11-04 18:23:11 +01:00
Kamil Śliwak
affeff18f5 Don't ignore output selection in assembly mode 2021-11-04 18:23:11 +01:00
Kamil Śliwak
0417db0f6a Don't return an error from --help 2021-11-02 16:31:45 +01:00
Kamil Śliwak
a1c9c1e2b5 CommandLineInterface: Merge processInput() and actOnInput()
- The distinction between them is not as clear-cut as it should be. For example processInput() prints output in assembly mode.
2021-11-02 16:31:45 +01:00
Kamil Śliwak
93c1fe6878 Treat --help, --license and --version as separate input modes 2021-11-02 16:31:43 +01:00
chriseth
8c6e5e501b Merge remote-tracking branch 'origin/develop' into breaking 2021-10-27 18:09:13 +02:00
Leo Alt
3118fb3666 Add invariants option to CLI and JSON 2021-10-26 11:30:30 +02:00
soroosh-sdi
4c400d5d18 Remove whitelisting remapping targets
Signed-off-by: soroosh-sdi <soroosh.sardari@gmail.com>
2021-10-20 09:06:14 +03:30
Midhun07
b28e5c881e Disallowed --error-recovery in Standard json, Assembly and Linker input modes 2021-10-15 18:57:16 +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
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
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
Saurabh Sharma
e13dc5084d Move exception handlers from CommandLineInterface to main() 2021-10-07 17:20:19 +02:00
Kamil Śliwak
b9b2c69d24 CommandLineParser: Validate compiler output selection 2021-10-06 20:09:33 +02:00
Kamil Śliwak
9d6eaa7a46
Merge pull request #12070 from ethereum/refactor-cli-output-flags
Refactor CLI output selection flags
2021-10-04 16:03:20 +02:00
Kamil Śliwak
7f7107405f Try out the new assertion macro variants with less arguments 2021-10-04 12:05:00 +02:00
Kamil Śliwak
8a7695784c CommandLineParser: operator << for CompilerOutputs and CombinedJsonRequests 2021-10-01 14:41:55 +02:00
Kamil Śliwak
4b394f0b35 CommandLineParser: componentMap() for CombinedJsonRequests 2021-10-01 14:41:55 +02:00
Kamil Śliwak
809321e88d CommandLineParser: componentMap() for CompilerOutputs 2021-10-01 14:41:55 +02:00