terminal/oss
Leonard Hecker 479ef264b2
Implement basic profile matching (#11390)
This implements command line matching for `CascadiaSettings::GetProfileForArgs`.
The command lines for all user profiles are resolved to absolute file paths,
argument quotes are standardized ("canonicalized") and the results are cached.

When `GetProfileForArgs` is called with a Commandline() value, we "canonicalize"
the argument as well and find the profile that is the longest prefix.
If none could be found the default profile is returned.

## PR Checklist
* [x] Closes #9458
* [x] Closes #10952
* [x] I work here
* [ ] Tests added/passed

## Validation Steps Performed

* Open a `cmd.exe` tab in the store-version of WT
* Run `start cmd`
  --> A tab with the `cmd.exe` profile opens
* Run `start pwsh.exe`
  --> A tab with the PowerShell 7 profile opens
* Run PowerShell 7 from the start menu
  --> A tab with the PowerShell 7 profile opens
* Create a symlink for PowerShell 7 and launch `pwsh.exe` from there
  --> A tab with the PowerShell 7 profile opens
2021-10-08 00:40:10 +00:00
..
boost Fix typos found in terminal/oss (#11048) 2021-08-26 16:40:26 -05:00
chromium Fix typos found in terminal/oss (#11048) 2021-08-26 16:40:26 -05:00
dynamic_bitset Fix typos found in terminal/oss (#11048) 2021-08-26 16:40:26 -05:00
fmt Fix typos found in terminal/oss (#11048) 2021-08-26 16:40:26 -05:00
interval_tree Fix typos found in terminal/oss (#11048) 2021-08-26 16:40:26 -05:00
libpopcnt Fix typos found in terminal/oss (#11048) 2021-08-26 16:40:26 -05:00
pcg Implement basic profile matching (#11390) 2021-10-08 00:40:10 +00:00
xorg_apps_rgb Fix typos found in terminal/oss (#11048) 2021-08-26 16:40:26 -05:00
README.md build: move oss required to build conhost out of dep/ (#5451) 2020-04-21 14:43:09 -07:00

README.md

Component-Governance-tracked OSS dependencies

This directory contains mirrored open-source projects that are used by the console host and Windows Terminal. Code in this directory will be replicated into the Windows OS repository.

All projects in this directory must bear Component Governance Manifests (cgmanifest.json files) indicating their provenance.