Skip to content

Commit ba4561c

Browse files
authored
Merge pull request #1 from microsoft/master
Merge master
2 parents ed18c1e + 3d35e39 commit ba4561c

299 files changed

Lines changed: 14893 additions & 7838 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/Bug_Report.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ This bug tracker is monitored by Windows Terminal development team and other tec
2626
**Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**.
2727
Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue.
2828
29+
If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link.
30+
2931
Please use this form and describe your issue, concisely but precisely, with as much detail as possible.
3032
3133
-->
3234

3335
# Environment
3436

3537
```none
36-
Windows build number: [run "ver" at a command prompt]
38+
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
3739
Windows Terminal version (if applicable):
3840
3941
Any other software?

OpenConsole.sln

Lines changed: 39 additions & 141 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
## Installation
1414

15+
_(Note: in order to run the Windows Terminal, you'll need to be running at least Windows build 18362 or higher.)_
16+
1517
### Microsoft Store
1618

1719
Download the Microsoft Terminal free from the Microsoft Store and it'll be continuously updated. Or, feel free to side-load [releases](https://github.com/microsoft/terminal/releases) from GitHub, but note they won't auto-update.

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.2 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [many more](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [definition](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)) of a security vulnerability, please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
14+
15+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

build/pipelines/ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,20 @@ pr:
1313
branches:
1414
include:
1515
- master
16+
paths:
17+
exclude:
18+
- doc/*
19+
- samples/*
20+
- tools/*
1621

1722
# 0.0.yyMM.dd##
1823
# 0.0.1904.0900
1924
name: 0.0.$(Date:yyMM).$(Date:dd)$(Rev:rr)
2025

2126
jobs:
22-
# This is disabled because the build agents were running out of disk space.
23-
# We're pursuing that in the background, but the spice must flow in the meantime.
24-
# - template: ./templates/build-console-audit-job.yml
25-
# parameters:
26-
# platform: x64
27+
- template: ./templates/build-console-audit-job.yml
28+
parameters:
29+
platform: x64
2730

2831
- template: ./templates/build-console-ci.yml
2932
parameters:

build/scripts/Test-WindowsTerminalPackage.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ Try {
7474
If ($null -eq $AppXbf) {
7575
Throw "Failed to find App.xbf (TerminalApp project) in resources.pri"
7676
}
77+
78+
If ($Manifest.Package.Identity.ProcessorArchitecture -Ne "arm64") {
79+
### ARM64 doesn't package cpprest_2_10.
80+
If (($null -eq (Get-Item "$AppxPackageRootPath\cpprest_2_10.dll" -EA:Ignore)) -And
81+
($null -eq (Get-Item "$AppxPackageRootPath\cpprest_2_10d.dll" -EA:Ignore))) {
82+
Throw "Failed to find cpprest_2_10.dll -- check the WAP packaging project"
83+
}
84+
}
7785
} Finally {
7886
Remove-Item -Recurse -Force $AppxPackageRootPath
7987
}

consolegit2gitfilters.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"/.vs/",
1515
"/build/",
1616
"/src/cascadia/",
17+
"/src/winconpty/",
1718
"/.nuget/",
1819
"/.github/",
1920
"/samples/"

dep/gsl

doc/ConsoleHostSettings.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Settings in the Windows Console Host can be a bit tricky to understand. This is
88
|---------------------------|-----------------------|--------------------------------------|
99
|`FontSize` |Coordinate (REG_DWORD) |Size of font in pixels |
1010
|`FontFamily` |REG_DWORD |GDI Font family |
11-
|`ScreenBufferSize` |Coordinate (REG_DWORD) |Size of the screen buffer in WxH characters |
11+
|`ScreenBufferSize` |Coordinate (REG_DWORD) |Size of the screen buffer in WxH characters\*\* |
1212
|`CursorSize` |REG_DWORD |Cursor height as percentage of a single character |
13-
|`WindowSize` |Coordinate (REG_DWORD) |Initial size of the window in WxH characters |
13+
|`WindowSize` |Coordinate (REG_DWORD) |Initial size of the window in WxH characters\*\* |
1414
|`WindowPosition` |Coordinate (REG_DWORD) |Initial position of the window in WxH pixels (if not set, use auto-positioning) |
1515
|`WindowAlpha` |REG_DWORD |Opacity of the window (valid range: 0x4D-0xFF) |
1616
|`ScreenColors` |REG_DWORD |Default foreground and background colors |
@@ -39,6 +39,10 @@ Settings in the Windows Console Host can be a bit tricky to understand. This is
3939

4040
*: Only applies to the improved version of the Windows Console Host
4141

42+
**: WxH stands for Width by Height, it's the fact that things like a Window size
43+
store the Width and Height values in the high and low word in the registry's
44+
double word values.
45+
4246
## The Settings Hierarchy
4347

4448
Settings are persisted to a variety of locations depending on how they are modified and how the Windows Console Host was invoked:

0 commit comments

Comments
 (0)