Skip to content

Commit db40d97

Browse files
Remove "All Rights Reserved" from copyright notices (#3322)
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 304a21e commit db40d97

Some content is hidden

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

43 files changed

+95
-125
lines changed

examples/SampleModule.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Author = '<name>'
4141
CompanyName = 'Unknown'
4242

4343
# Copyright statement for this module
44-
Copyright = '(c) 2016 <name>. All rights reserved.'
44+
Copyright = '(c) 2021 <name>.'
4545

4646
# Description of the functionality provided by this module
4747
Description = 'Some description. This is required by the PowerShell Gallery'

src/controls/animatedStatusBar.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import {
65
Disposable,

src/controls/checkboxQuickPick.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65

src/debugAdapter.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import { connect, Socket } from "net";
65
import { DebugAdapter, Event, DebugProtocolMessage, EventEmitter } from "vscode";

src/features/CodeActions.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65
import Window = vscode.window;

src/features/Console.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65
import { NotificationType, RequestType } from "vscode-languageclient";

src/features/CustomViews.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as path from "path";
65
import * as vscode from "vscode";

src/features/DebugSession.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65
import { CancellationToken, DebugConfiguration, DebugConfigurationProvider,

src/features/Examples.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import path = require("path");
65
import vscode = require("vscode");

src/features/ExpandAlias.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65
import Window = vscode.window;

src/features/ExtensionCommands.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as fs from "fs";
65
import * as os from "os";

src/features/ExternalApi.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
44
import * as vscode from "vscode";
55
import { v4 as uuidv4 } from 'uuid';
66
import { LanguageClientConsumer } from "../languageClientConsumer";

src/features/FindModule.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65
import { RequestType } from "vscode-languageclient";

src/features/GenerateBugReport.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import os = require("os");
65
import vscode = require("vscode");

src/features/GetCommands.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
44
import * as vscode from "vscode";
55
import { RequestType0 } from "vscode-languageclient";
66
import { LanguageClient } from "vscode-languageclient/node";

src/features/HelpCompletion.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import { Disposable, EndOfLine, Position, Range, SnippetString,
65
TextDocument, TextDocumentChangeEvent, window, workspace } from "vscode";

src/features/ISECompatibility.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
44
import * as vscode from "vscode";
55
import * as Settings from "../settings";
66

src/features/NewFileOrProject.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65
import { RequestType } from "vscode-languageclient";

src/features/OpenInISE.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import ChildProcess = require("child_process");
65
import vscode = require("vscode");

src/features/PesterTests.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as path from "path";
65
import vscode = require("vscode");

src/features/RemoteFiles.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import os = require("os");
65
import path = require("path");

src/features/RunCode.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as path from "path";
65
import vscode = require("vscode");

src/features/ShowHelp.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import vscode = require("vscode");
65
import { NotificationType } from "vscode-languageclient";

src/features/UpdatePowerShell.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import { spawn } from "child_process";
65
import * as fs from "fs";

src/languageClientConsumer.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import { window } from "vscode";
65
import { LanguageClient } from "vscode-languageclient/node";

src/logging.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import fs = require("fs");
65
import os = require("os");

src/main.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
"use strict";
65

src/platform.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as child_process from "child_process";
65
import * as fs from "fs";

src/process.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import cp = require("child_process");
65
import fs = require("fs");

src/session.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import fs = require("fs");
65
import net = require("net");

src/settings.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
"use strict";
65

src/utils.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
"use strict";
65

test/features/CustomViews.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as assert from "assert";
65
import fs = require("fs");

test/features/ExternalApi.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
44
import * as assert from "assert";
55
import * as vscode from "vscode";
66
import { before, beforeEach, afterEach } from "mocha";

test/features/ISECompatibility.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
44
import * as assert from "assert";
55
import * as vscode from "vscode";
66
import { ISECompatibilityFeature } from "../../src/features/ISECompatibility";

test/features/RunCode.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as assert from "assert";
65
import rewire = require("rewire");

test/features/UpdatePowerShell.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as assert from "assert";
65
import { GitHubReleaseInformation } from "../../src/features/UpdatePowerShell";

test/platform.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as assert from "assert";
65
import mockFS = require("mock-fs");

test/runTests.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as path from "path";
65

test/settings.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as assert from "assert";
65
import * as vscode from "vscode";

test/testRunner.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import * as glob from "glob";
65
import * as Mocha from "mocha";

test/test_utils.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
43

54
import { ILogger } from "../src/logging";
65

tslint.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@
88
"indent": [true, "spaces", 4],
99
"max-classes-per-file": false,
1010
"object-literal-sort-keys": false,
11-
"file-header": [true, "Copyright \\(C\\) Microsoft Corporation. All rights reserved."]
11+
"file-header": [
12+
true,
13+
{
14+
"allow-single-line-comments": true,
15+
"match": "Copyright \\(c\\) Microsoft Corporation."
16+
}
17+
]
1218
},
1319
"rulesDirectory": []
1420
}

0 commit comments

Comments
 (0)