Repository navigation
alternate mechanism for R_ResetConsole on Windows - #10510
Merged
Merged
Conversation
matheustavaresdev
added a commit
that referenced
this pull request
Feb 9, 2022
…on-test * 'main' of github.com:rstudio/rstudio: Fix duplicate menu separators (#10533) use RSTUDIO_CLI_HYPERLIKNS env var Mention issue number in NEWS. stamp version into Electron app (macOS) fix NEWS fix NEWS year produce separate UTF-8 rsession binary for ucrt builds (#10524) Check if load from base is masked before calling load workspace alternate mechanism for R_ResetConsole on Windows (#10510) rotate news files (#10528) Move old NEWS versions in version/news subdirectory Change name back to NEWS.md Add RSW section Add version numbering to NEWS file to avoid further conflicts/overwrites Remove GO NEWS files NEWS for Spotted Wakerobin only Support ansi hyperlinks (#10416) Update to Quarto v0.3.114
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
R Core is currently exploring an alternate mechanism for introducing the R_ResetConsole hook on Windows; in particular, a change that would be binary-compatible with previous releases of R.
This PR supports the use of the
ptr_R_ResetConsolehook when available on Windows.It also bundles some changes to speed up incremental compilation of RStudio in development builds on Windows. In particular, linking to crashpad required compile time code generation, which precludes the use of incremental linking.
Approach
Because we can't rely on this hook being available with older versions of R, we instead dynamically load and set the symbol when initializing R.
Automated Tests
N/A
QA Notes
N/A
Checklist
NEWS.md