Commit Graph

22468 Commits

Author SHA1 Message Date
Kamil Śliwak
cd741b4162 CI: Disable SMT tests on Arch Linux 2022-07-26 17:38:55 +02:00
chriseth
9f34322f39
Merge pull request #13280 from timweri/fix-abi-encodecall-special-func-in-free-func
Fix NULL dereference in abi.encodeCall check
2022-07-25 21:22:25 +02:00
chriseth
dd9a57b1fb
Merge pull request #13295 from minaminao/fix-dark-mode-bug
Fix dark mode bug
2022-07-25 21:03:03 +02:00
chriseth
ce6d86b8e1
Merge pull request #13298 from krakxn/contributing.rst-grammar-fix
Minor grammar fixes in `contributing.rst`
2022-07-25 21:01:40 +02:00
AN ❦
991174074e Minor grammar fixes 2022-07-25 21:01:00 +02:00
Duc Thanh Nguyen
5072472917 Fix abi.encodeCall checks 2022-07-25 12:40:54 -04:00
chriseth
6c4cfd8b03
Merge pull request #13293 from krakxn/develop
Grammatical fixes in `assembly.rst`
2022-07-25 17:31:10 +02:00
minami
98833b267f Fix dark mode bug 2022-07-25 04:26:45 +09:00
AN
b828da248f
Grammatical fixes 2022-07-23 21:21:28 +05:30
Kamil Śliwak
800088e38b
Merge pull request #13128 from CJ42/docs/assembly-memory-safe
docs: specify memory-safe is available since 0.8.13 for inline assembly
2022-07-14 21:58:45 +02:00
CJ42
ac5c26bbe9 docs: specifiy memory-safe in inline assembly is available since 0.8.13 2022-07-14 21:14:53 +02:00
chriseth
f5f77a0833
Merge pull request #13276 from ethereum/resolvingFlags
Settings struct for name resolution.
2022-07-14 18:21:24 +02:00
chriseth
e2675002ca Settings struct for name resolution. 2022-07-14 17:22:17 +02:00
Christian Parpart
454603e170
Merge pull request #13273 from ethereum/lsp-ci-trace
lsp.py: Pass trace option during initialization already.
2022-07-13 20:13:31 +02:00
chriseth
8cb12877bb
Merge pull request #13261 from ethereum/onlyAnalyzeMemoryIfNeeded
Only analyze memory in DataFlowAnalyzer if it is needed in the optimizer step.
2022-07-13 17:59:59 +02:00
chriseth
d30fef0ff2
Merge pull request #13272 from maxisch/patch-1
Modular Contracts typo fix
2022-07-13 17:59:25 +02:00
Christian Parpart
ed039abb97
Merge pull request #13274 from ethereum/lsp-fix-include-path
lsp: Fixes initialization phase if `include-paths` was not set at all then also no error should be generated.
2022-07-13 17:13:58 +02:00
Christian Parpart
5aeb80ec3c lsp.py: Pass trace option during initialization already. 2022-07-13 16:41:30 +02:00
Christian Parpart
eb5a33273e lsp: Fixes initialization phase if include-paths was not set at all, then also no error should be generated. 2022-07-13 16:29:33 +02:00
Christian Parpart
f686294374
Merge pull request #12994 from ethereum/lsp-include-path
LSP to resolve custom include paths (e.g. Hardhat)
2022-07-13 14:41:41 +02:00
maxisch
5567e30196
Modular Contracts typo fix 2022-07-13 09:02:29 -03:00
Christian Parpart
d89008da0a lsp: Adding test for custom include paths. 2022-07-13 13:57:04 +02:00
Christian Parpart
31227e442e lsp: Adds support for include paths and have {projectUri}/node_modules added by default.
- Factor out FileRepository's path resolving into own public function.
- Fixes sourceUnitNameToUri() path resolving in relation to include paths being used.
- Adding an solAssert().
- adds nother test for include-paths (bad include)
- Fixes a case on Windows there an ill-formed URI was generated.
- Dropping unnecessary if-branch when translating from sourceUnitName to URI.
2022-07-12 15:25:33 +02:00
Christian Parpart
d003400cb0
Merge pull request #13263 from ethereum/fix/lsp-checker-to-not-bail-on-missing-response
lsp: Fixes lsp.py to not bail out when no response is expected.
2022-07-12 15:16:26 +02:00
Christian Parpart
5918955615 lsp: Fixes lsp.py to not bail out when no response is expected.
This is required for another PR to support sending notifications as part of the I/O being documented as comments.
2022-07-12 14:35:14 +02:00
chriseth
c12d151834 Only analyze memory in DataFlowAnalyzer if it is needed in the optimizer step. 2022-07-11 15:51:25 +02:00
Mathias L. Baumann
e7c5f04464
Merge pull request #12681 from devtooligan/tweak/update-max-line-length
tweak: update maximum line length
2022-07-11 12:57:53 +02:00
Richie
db2b066d40
tweak: update maximum line length 2022-07-08 11:41:51 -07:00
Mathias L. Baumann
8d6b20f763
Merge pull request #13103 from ethereum/lsp-rename
Lsp rename feature
2022-07-08 15:01:37 +02:00
Damian Wechman
5d90dd1982
Merge pull request #13255 from vdusart/patch-1
[Docs] Fix operator docs to use an actually convertible type when describing how common type is chosen
2022-07-08 13:55:49 +02:00
Marenz
16b64f3aee LSP rename 2022-07-08 11:52:45 +02:00
vdusart
f012a77980
Fix mistake 2022-07-07 13:48:20 +02:00
vdusart
eb6b1291b7
Fix type error
Fix type error according to #13144
2022-07-07 13:41:33 +02:00
matheusaaguiar
b6f11b3392
Merge pull request #13244 from ethereum/remove-code-snippets-from-error-import-ast-mode
Removed wrong code snippets from error messages when in import-ast mode.
2022-07-06 16:25:43 -03:00
Matheus Aguiar
a73bf9136c Remove "garbage" code snippet from error message when in import-ast mode. 2022-07-06 13:43:29 -03:00
Mathias L. Baumann
b2ac0dada4
Merge pull request #13210 from timweri/display_human_readable_type_name_in_conversion
Display human readable type name in error messages
2022-07-06 17:31:53 +02:00
Duc Thanh Nguyen
e0ba7ef0d3 Rename _short in toString to _withoutDataLocation 2022-07-06 10:49:58 -04:00
Duc Thanh Nguyen
0a14368315 Display human readable type name in conversion error message 2022-07-06 10:49:51 -04:00
Mathias L. Baumann
b02f64818b
Merge pull request #13096 from victorknox/develop
Moved Keywords section from 'Cheatsheet' to 'Units and Globally Available Variables'
2022-07-06 15:30:36 +02:00
Mathias L. Baumann
45f5616b12
Merge pull request #12679 from devtooligan/tweak/expand-collide-definition
tweak: expand definition of suggested collision naming convention
2022-07-06 15:04:40 +02:00
Kamil Śliwak
4c85cb880e
Merge pull request #13238 from ethereum/improve-stack-too-deep-message
Improved stack too deep message when compiled without --optimize
2022-07-06 12:43:36 +02:00
Kamil Śliwak
3bc68139fd
Merge pull request #13250 from timweri/update_rangev3_to_0.12.0
Update rangev3 to 0.12.0
2022-07-06 12:38:55 +02:00
Duc Thanh Nguyen
2215b6d44b Update rangev3 to 0.12.0 2022-07-05 15:55:12 -04:00
Mathias L. Baumann
c8aed8c150
Merge pull request #13205 from ethereum/fix-stack-overflow-importing-large-AST-json-file
Fix segmentation fault when  importing large AST from json file
2022-07-05 18:56:38 +02:00
Matheus Aguiar
290bd4fd2d Added a flag to record when a source is reconstructed from JSON so garbage code snippets are not printed after source location. 2022-07-05 11:41:24 -03:00
Kamil Śliwak
a53f15f45f
Merge pull request #13240 from derekg/test-fix
Fix C++ compilation errors on 32-bit Raspbian due to `unsigned` -> `int` conversion
2022-07-04 22:08:06 +02:00
Mathias L. Baumann
d4e2c2cc89
Merge pull request #13185 from ethereum/functionCall_locations
Add location for parameter names in FunctionCall ASTNode
2022-07-04 16:40:45 +02:00
Derek Gottfrid
3f62ab069c fix test w/ signed issues 2022-07-03 16:33:22 -04:00
hrkrshnn
0b2a670a94 Improved stack too deep message when compiled without --optimize 2022-07-03 14:03:00 +02:00
matheusaaguiar
5de5120497
Merge pull request #13105 from CJ42/docs/address-conversion
docs: add notice about `address` conversion prior to 0.8.0
2022-07-01 10:26:38 -03:00