Skip to content

Commit 29d21a9

Browse files
committed
Remove "All Rights Reserved" from copyright notices
Per Microsoft policy at: https://docs.opensource.microsoft.com/content/releasing/copyright-headers.html All copyright notices no longer include "All Rights Reserved" and the comment style has been updated to be consistent with policy.
1 parent ffc9c18 commit 29d21a9

File tree

288 files changed

+575
-1133
lines changed

Some content is hidden

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

288 files changed

+575
-1133
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#-------------------------------------------------------------------------------------------------------------
2-
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
4-
#-------------------------------------------------------------------------------------------------------------
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
FROM mcr.microsoft.com/dotnet/core/sdk:2.1.802
75

.vscode/snippets.code-snippets

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@
3030
"Copyright header": {
3131
"prefix": "CopyrightHeader",
3232
"body": [
33-
"//",
34-
"// Copyright (c) Microsoft. All rights reserved.",
35-
"// Licensed under the MIT license. See LICENSE file in the project root for full license information.",
36-
"//"
33+
"// Copyright (c) Microsoft Corporation.",
34+
"// Licensed under the MIT License."
3735
],
3836
"description": "Copyright header"
3937
}

PowerShellEditorServices.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<VersionPrefix>2.4.1</VersionPrefix>
44
<VersionSuffix>preview.1</VersionSuffix>
55
<Company>Microsoft</Company>
6-
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
6+
<Copyright>© Microsoft Corporation.</Copyright>
77
<LangVersion>9.0</LangVersion>
88
<PackageTags>PowerShell;editor;development;language;debugging</PackageTags>
99
<PackageLicenseUrl>https://raw.githubusercontent.com/PowerShell/PowerShellEditorServices/master/LICENSE</PackageLicenseUrl>

PowerShellEditorServices.build.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
param(
75
[ValidateSet("Debug", "Release")]

docs/template/conceptual.html.primary.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
1+
{{!Copyright (c) Microsoft Corporation. Licensed under the MIT License.}}
22
{{!include(/^styles/.*/)}}
33
{{!include(/^fonts/.*/)}}
44
{{!include(favicon.ico)}}

docs/template/partials/class.tmpl.partial

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
1+
{{!Copyright (c) Microsoft Corporation. Licensed under the MIT License.}}
22

33
{{^_disableContribution}}
44
{{#docurl}}<a href="{{docurl}}" class="pull-right mobile-hide"><span class="fa fa-github"></span>{{__global.improveThisDoc}}</a>{{/docurl}}

docs/template/partials/footer.tmpl.partial

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
1+
{{!Copyright (c) Microsoft Corporation. Licensed under the MIT License.}}
22

33
<footer>
44
<div class="inner-footer">

docs/template/partials/head.tmpl.partial

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
1+
{{!Copyright (c) Microsoft Corporation. Licensed under the MIT License.}}
22

33
<head>
44
<meta charset="utf-8">
@@ -25,4 +25,4 @@
2525
ga('send', 'pageview');
2626
</script>
2727
-->
28-
</head>
28+
</head>

docs/template/partials/namespace.tmpl.partial

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
1+
{{!Copyright (c) Microsoft Corporation. Licensed under the MIT License.}}
22

33
{{^_disableContribution}}
44
{{#docurl}}

docs/template/partials/navbar.tmpl.partial

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
1+
{{!Copyright (c) Microsoft Corporation. Licensed under the MIT License.}}
22

33
<nav class="navbar navbar-inverse">
44
<div class="container">

module/PowerShellEditorServices.VSCode/PowerShellEditorServices.VSCode.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Author = 'Microsoft'
2727
CompanyName = 'Microsoft'
2828

2929
# Copyright statement for this module
30-
Copyright = '(c) 2017 Microsoft. All rights reserved.'
30+
Copyright = '(c) 2021 Microsoft Corporation.'
3131

3232
# Description of the functionality provided by this module
3333
Description = 'Provides added functionality to PowerShell Editor Services for the Visual Studio Code editor.'

module/PowerShellEditorServices/Commands/PowerShellEditorServices.Commands.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Author = 'Microsoft'
2424
CompanyName = 'Microsoft'
2525

2626
# Copyright statement for this module
27-
Copyright = '(c) 2017 Microsoft. All rights reserved.'
27+
Copyright = '(c) 2021 Microsoft Corporation.'
2828

2929
# Description of the functionality provided by this module
3030
Description = 'Provides internal commands for PowerShell Editor Services that only work in an editor session.'

module/PowerShellEditorServices/Commands/PowerShellEditorServices.Commands.psm1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
Microsoft.PowerShell.Utility\Import-LocalizedData -BindingVariable Strings -FileName Strings -ErrorAction Ignore
75

module/PowerShellEditorServices/Commands/Public/Clear-Host.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
Microsoft.PowerShell.Management\Get-Item function:Clear-Host | Microsoft.PowerShell.Management\Set-Item function:__clearhost
75

module/PowerShellEditorServices/Commands/Public/CmdletInterface.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
<#
75
.EXTERNALHELP ..\PowerShellEditorServices.Commands-help.xml

module/PowerShellEditorServices/Commands/Public/ConvertFrom-ScriptExtent.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function ConvertFrom-ScriptExtent {
75
<#

module/PowerShellEditorServices/Commands/Public/ConvertTo-ScriptExtent.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function ConvertTo-ScriptExtent {
75
<#

module/PowerShellEditorServices/Commands/Public/Find-Ast.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function Find-Ast {
75
<#

module/PowerShellEditorServices/Commands/Public/Get-Token.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function Get-Token {
75
<#

module/PowerShellEditorServices/Commands/Public/Import-EditorCommand.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function Import-EditorCommand {
75
<#

module/PowerShellEditorServices/Commands/Public/Join-ScriptExtent.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function Join-ScriptExtent {
75
<#

module/PowerShellEditorServices/Commands/Public/Out-CurrentFile.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function Out-CurrentFile {
75
<#

module/PowerShellEditorServices/Commands/Public/Set-ScriptExtent.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function Set-ScriptExtent {
75
<#

module/PowerShellEditorServices/Commands/Public/Test-ScriptExtent.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
function Test-ScriptExtent {
75
<#

scripts/AddCopyrightHeaders.ps1

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
#
2-
# Copyright (c) Microsoft. All rights reserved.
3-
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
#
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
53

64
$copyrightHeaderString =
75
@'
8-
//
9-
// Copyright (c) Microsoft. All rights reserved.
10-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
11-
//
6+
// Copyright (c) Microsoft Corporation.
7+
// Licensed under the MIT License.
128
'@
139

1410
$global:updateCount = 0;

src/PowerShellEditorServices.Hosting/Commands/InvokeReadLineConstructorCommand.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Management.Automation;

src/PowerShellEditorServices.Hosting/Commands/InvokeReadLineForEditorServicesCommand.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Management.Automation;

src/PowerShellEditorServices.Hosting/Commands/StartEditorServicesCommand.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using Microsoft.PowerShell.Commands;
75
using System;

src/PowerShellEditorServices.Hosting/Configuration/EditorServicesConfig.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System.Collections.Generic;
75
using System.Management.Automation;

src/PowerShellEditorServices.Hosting/Configuration/HostInfo.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75

src/PowerShellEditorServices.Hosting/Configuration/HostLogger.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Collections.Concurrent;

src/PowerShellEditorServices.Hosting/Configuration/SessionFileWriter.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Collections.Generic;

src/PowerShellEditorServices.Hosting/Configuration/TransportConfig.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Collections.Generic;

src/PowerShellEditorServices.Hosting/EditorServicesLoader.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.IO;

src/PowerShellEditorServices.Hosting/Internal/EditorServicesRunner.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using Microsoft.PowerShell.EditorServices.Server;
75
using System;

src/PowerShellEditorServices.Hosting/Internal/NamedPipeUtils.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Collections.Generic;

src/PowerShellEditorServices.Hosting/Internal/PsesLoadContext.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.IO;

src/PowerShellEditorServices.VSCode/Cmdlets/VSCodeHtmlContentViewCommands.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Management.Automation;

src/PowerShellEditorServices.VSCode/CustomViews/CustomViewBase.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Threading.Tasks;

src/PowerShellEditorServices.VSCode/CustomViews/CustomViewFeature.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
//
2-
// Copyright (c) Microsoft. All rights reserved.
3-
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4-
//
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
53

64
using System;
75
using System.Collections.Generic;

0 commit comments

Comments
 (0)