Skip to content

Commit a094993

Browse files
authored
Merge branch 'main' into aamunger/streamingOutput
2 parents 66ee5c4 + 5ff89fb commit a094993

File tree

33 files changed

+129
-369
lines changed

33 files changed

+129
-369
lines changed

build/azure-pipelines/common/createAsset.js

Lines changed: 11 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/azure-pipelines/common/createAsset.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,15 @@ async function main(): Promise<void> {
227227
}
228228

229229
const promiseResults = await Promise.allSettled(uploadPromises);
230+
const rejectedPromiseResults = promiseResults.filter(result => result.status === 'rejected') as PromiseRejectedResult[];
230231

231-
for (const result of promiseResults) {
232-
if (result.status === 'rejected') {
233-
throw result.reason;
234-
}
232+
if (rejectedPromiseResults.length === 0) {
233+
console.log('All blobs successfully uploaded.');
234+
} if (rejectedPromiseResults[0].reason?.message?.includes('already exists')) {
235+
console.warn(rejectedPromiseResults[0].reason.message);
236+
console.log('Some blobs successfully uploaded.');
237+
} else {
238+
throw rejectedPromiseResults[0].reason;
235239
}
236240

237241
console.log('All blobs successfully uploaded.');

cglicenses.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -530,29 +530,5 @@
530530
"IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN",
531531
"CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
532532
]
533-
},
534-
{
535-
"name": "cacheable-request",
536-
"fullLicenseText": [
537-
"MIT License",
538-
"",
539-
"Permission is hereby granted, free of charge, to any person obtaining a copy",
540-
"of this software and associated documentation files (the \"Software\"), to deal",
541-
"in the Software without restriction, including without limitation the rights",
542-
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell",
543-
"copies of the Software, and to permit persons to whom the Software is",
544-
"furnished to do so, subject to the following conditions:",
545-
"",
546-
"The above copyright notice and this permission notice shall be included in all",
547-
"copies or substantial portions of the Software.",
548-
"",
549-
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR",
550-
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,",
551-
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE",
552-
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER",
553-
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,",
554-
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE",
555-
"SOFTWARE."
556-
]
557533
}
558534
]

extensions/java/cgmanifest.json

Lines changed: 1 addition & 224 deletions
Original file line numberDiff line numberDiff line change
@@ -5,229 +5,6 @@
55
"type": "git",
66
"git": {
77
"name": "redhat-developer/vscode-java",
8-
"fullLicenseText": [
9-
"Version 2.0, or any later versions of that license, including any",
10-
"exceptions or additional permissions as identified by the initial",
11-
"Contributor.",
12-
"",
13-
"2. GRANT OF RIGHTS",
14-
"",
15-
" a) Subject to the terms of this Agreement, each Contributor hereby",
16-
" grants Recipient a non-exclusive, worldwide, royalty-free copyright",
17-
" license to reproduce, prepare Derivative Works of, publicly display,",
18-
" publicly perform, Distribute and sublicense the Contribution of such",
19-
" Contributor, if any, and such Derivative Works.",
20-
"",
21-
" b) Subject to the terms of this Agreement, each Contributor hereby",
22-
" grants Recipient a non-exclusive, worldwide, royalty-free patent",
23-
" license under Licensed Patents to make, use, sell, offer to sell,",
24-
" import and otherwise transfer the Contribution of such Contributor,",
25-
" if any, in Source Code or other form. This patent license shall",
26-
" apply to the combination of the Contribution and the Program if, at",
27-
" the time the Contribution is added by the Contributor, such addition",
28-
" of the Contribution causes such combination to be covered by the",
29-
" Licensed Patents. The patent license shall not apply to any other",
30-
" combinations which include the Contribution. No hardware per se is",
31-
" licensed hereunder.",
32-
"",
33-
" c) Recipient understands that although each Contributor grants the",
34-
" licenses to its Contributions set forth herein, no assurances are",
35-
" provided by any Contributor that the Program does not infringe the",
36-
" patent or other intellectual property rights of any other entity.",
37-
" Each Contributor disclaims any liability to Recipient for claims",
38-
" brought by any other entity based on infringement of intellectual",
39-
" property rights or otherwise. As a condition to exercising the",
40-
" rights and licenses granted hereunder, each Recipient hereby",
41-
" assumes sole responsibility to secure any other intellectual",
42-
" property rights needed, if any. For example, if a third party",
43-
" patent license is required to allow Recipient to Distribute the",
44-
" Program, it is Recipient's responsibility to acquire that license",
45-
" before distributing the Program.",
46-
"",
47-
" d) Each Contributor represents that to its knowledge it has",
48-
" sufficient copyright rights in its Contribution, if any, to grant",
49-
" the copyright license set forth in this Agreement.",
50-
"",
51-
" e) Notwithstanding the terms of any Secondary License, no",
52-
" Contributor makes additional grants to any Recipient (other than",
53-
" those set forth in this Agreement) as a result of such Recipient's",
54-
" receipt of the Program under the terms of a Secondary License",
55-
" (if permitted under the terms of Section 3).",
56-
"",
57-
"3. REQUIREMENTS",
58-
"",
59-
"3.1 If a Contributor Distributes the Program in any form, then:",
60-
"",
61-
" a) the Program must also be made available as Source Code, in",
62-
" accordance with section 3.2, and the Contributor must accompany",
63-
" the Program with a statement that the Source Code for the Program",
64-
" is available under this Agreement, and informs Recipients how to",
65-
" obtain it in a reasonable manner on or through a medium customarily",
66-
" used for software exchange; and",
67-
"",
68-
" b) the Contributor may Distribute the Program under a license",
69-
" different than this Agreement, provided that such license:",
70-
" i) effectively disclaims on behalf of all other Contributors all",
71-
" warranties and conditions, express and implied, including",
72-
" warranties or conditions of title and non-infringement, and",
73-
" implied warranties or conditions of merchantability and fitness",
74-
" for a particular purpose;",
75-
"",
76-
" ii) effectively excludes on behalf of all other Contributors all",
77-
" liability for damages, including direct, indirect, special,",
78-
" incidental and consequential damages, such as lost profits;",
79-
"",
80-
" iii) does not attempt to limit or alter the recipients' rights",
81-
" in the Source Code under section 3.2; and",
82-
"",
83-
" iv) requires any subsequent distribution of the Program by any",
84-
" party to be under a license that satisfies the requirements",
85-
" of this section 3.",
86-
"",
87-
"3.2 When the Program is Distributed as Source Code:",
88-
"",
89-
" a) it must be made available under this Agreement, or if the",
90-
" Program (i) is combined with other material in a separate file or",
91-
" files made available under a Secondary License, and (ii) the initial",
92-
" Contributor attached to the Source Code the notice described in",
93-
" Exhibit A of this Agreement, then the Program may be made available",
94-
" under the terms of such Secondary Licenses, and",
95-
"",
96-
" b) a copy of this Agreement must be included with each copy of",
97-
" the Program.",
98-
"",
99-
"3.3 Contributors may not remove or alter any copyright, patent,",
100-
"trademark, attribution notices, disclaimers of warranty, or limitations",
101-
"of liability (\"notices\") contained within the Program from any copy of",
102-
"the Program which they Distribute, provided that Contributors may add",
103-
"their own appropriate notices.",
104-
"",
105-
"4. COMMERCIAL DISTRIBUTION",
106-
"",
107-
"Commercial distributors of software may accept certain responsibilities",
108-
"with respect to end users, business partners and the like. While this",
109-
"license is intended to facilitate the commercial use of the Program,",
110-
"the Contributor who includes the Program in a commercial product",
111-
"offering should do so in a manner which does not create potential",
112-
"liability for other Contributors. Therefore, if a Contributor includes",
113-
"the Program in a commercial product offering, such Contributor",
114-
"(\"Commercial Contributor\") hereby agrees to defend and indemnify every",
115-
"other Contributor (\"Indemnified Contributor\") against any losses,",
116-
"damages and costs (collectively \"Losses\") arising from claims, lawsuits",
117-
"and other legal actions brought by a third party against the Indemnified",
118-
"Contributor to the extent caused by the acts or omissions of such",
119-
"Commercial Contributor in connection with its distribution of the Program",
120-
"in a commercial product offering. The obligations in this section do not",
121-
"apply to any claims or Losses relating to any actual or alleged",
122-
"intellectual property infringement. In order to qualify, an Indemnified",
123-
"Contributor must: a) promptly notify the Commercial Contributor in",
124-
"writing of such claim, and b) allow the Commercial Contributor to control,",
125-
"and cooperate with the Commercial Contributor in, the defense and any",
126-
"related settlement negotiations. The Indemnified Contributor may",
127-
"participate in any such claim at its own expense.",
128-
"",
129-
"For example, a Contributor might include the Program in a commercial",
130-
"product offering, Product X. That Contributor is then a Commercial",
131-
"Contributor. If that Commercial Contributor then makes performance",
132-
"claims, or offers warranties related to Product X, those performance",
133-
"claims and warranties are such Commercial Contributor's responsibility",
134-
"alone. Under this section, the Commercial Contributor would have to",
135-
"defend claims against the other Contributors related to those performance",
136-
"claims and warranties, and if a court requires any other Contributor to",
137-
"pay any damages as a result, the Commercial Contributor must pay",
138-
"those damages.",
139-
"",
140-
"5. NO WARRANTY",
141-
"",
142-
"EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT",
143-
"PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN \"AS IS\"",
144-
"BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR",
145-
"IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF",
146-
"TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR",
147-
"PURPOSE. Each Recipient is solely responsible for determining the",
148-
"appropriateness of using and distributing the Program and assumes all",
149-
"risks associated with its exercise of rights under this Agreement,",
150-
"including but not limited to the risks and costs of program errors,",
151-
"compliance with applicable laws, damage to or loss of data, programs",
152-
"or equipment, and unavailability or interruption of operations.",
153-
"",
154-
"6. DISCLAIMER OF LIABILITY",
155-
"",
156-
"EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT",
157-
"PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS",
158-
"SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,",
159-
"EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST",
160-
"PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN",
161-
"CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)",
162-
"ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE",
163-
"EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE",
164-
"POSSIBILITY OF SUCH DAMAGES.",
165-
"",
166-
"7. GENERAL",
167-
"",
168-
"If any provision of this Agreement is invalid or unenforceable under",
169-
"applicable law, it shall not affect the validity or enforceability of",
170-
"the remainder of the terms of this Agreement, and without further",
171-
"action by the parties hereto, such provision shall be reformed to the",
172-
"minimum extent necessary to make such provision valid and enforceable.",
173-
"",
174-
"If Recipient institutes patent litigation against any entity",
175-
"(including a cross-claim or counterclaim in a lawsuit) alleging that the",
176-
"Program itself (excluding combinations of the Program with other software",
177-
"or hardware) infringes such Recipient's patent(s), then such Recipient's",
178-
"rights granted under Section 2(b) shall terminate as of the date such",
179-
"litigation is filed.",
180-
"",
181-
"All Recipient's rights under this Agreement shall terminate if it",
182-
"fails to comply with any of the material terms or conditions of this",
183-
"Agreement and does not cure such failure in a reasonable period of",
184-
"time after becoming aware of such noncompliance. If all Recipient's",
185-
"rights under this Agreement terminate, Recipient agrees to cease use",
186-
"and distribution of the Program as soon as reasonably practicable.",
187-
"However, Recipient's obligations under this Agreement and any licenses",
188-
"granted by Recipient relating to the Program shall continue and survive.",
189-
"",
190-
"Everyone is permitted to copy and distribute copies of this Agreement,",
191-
"but in order to avoid inconsistency the Agreement is copyrighted and",
192-
"may only be modified in the following manner. The Agreement Steward",
193-
"reserves the right to publish new versions (including revisions) of",
194-
"this Agreement from time to time. No one other than the Agreement",
195-
"Steward has the right to modify this Agreement. The Eclipse Foundation",
196-
"is the initial Agreement Steward. The Eclipse Foundation may assign the",
197-
"responsibility to serve as the Agreement Steward to a suitable separate",
198-
"entity. Each new version of the Agreement will be given a distinguishing",
199-
"version number. The Program (including Contributions) may always be",
200-
"Distributed subject to the version of the Agreement under which it was",
201-
"received. In addition, after a new version of the Agreement is published,",
202-
"Contributor may elect to Distribute the Program (including its",
203-
"Contributions) under the new version.",
204-
"",
205-
"Except as expressly stated in Sections 2(a) and 2(b) above, Recipient",
206-
"receives no rights or licenses to the intellectual property of any",
207-
"Contributor under this Agreement, whether expressly, by implication,",
208-
"estoppel or otherwise. All rights in the Program not expressly granted",
209-
"under this Agreement are reserved. Nothing in this Agreement is intended",
210-
"to be enforceable by any entity that is not a Contributor or Recipient.",
211-
"No third-party beneficiary rights are created under this Agreement.",
212-
"",
213-
"Exhibit A - Form of Secondary Licenses Notice",
214-
"",
215-
"\"This Source Code may also be made available under the following",
216-
"Secondary Licenses when the conditions for such availability set forth",
217-
"in the Eclipse Public License, v. 2.0 are satisfied: {name license(s)",
218-
"version(s), and exceptions or additional permissions here}.\"",
219-
"",
220-
" Simply including a copy of this Agreement, including this Exhibit A",
221-
" is not sufficient to license the Source Code under Secondary Licenses.",
222-
"",
223-
" If it is not possible or desirable to put the notice in a particular",
224-
" file, then You may include the notice in a location (such as a LICENSE",
225-
" file in a relevant directory) where a recipient would be likely to",
226-
" look for such a notice.",
227-
"",
228-
" You may add additional accurate notices of copyright ownership."
229-
230-
],
2318
"repositoryUrl": "https://github.com/redhat-developer/vscode-java",
2329
"commitHash": "7a770ab6750b4b09173d98de14eb9792e3432b36"
23310
}
@@ -238,4 +15,4 @@
23815
}
23916
],
24017
"version": 1
241-
}
18+
}

extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,7 @@ import { assertNoRpc, poll } from '../utils';
936936
{ value: 'scoped~b2~', type: EnvironmentVariableMutatorType.Append, options: defaultOptions },
937937
{ value: 'scoped~c2~', type: EnvironmentVariableMutatorType.Prepend, options: defaultOptions }
938938
]);
939+
deepStrictEqual(entries.map(v => v[0]), ['A', 'B', 'C']);
939940
});
940941
});
941942
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-oss-dev",
33
"version": "1.81.0",
4-
"distro": "912d48f29160a34a4bfe3ebc36b01e5e47433efd",
4+
"distro": "fe4596cd81d3633694661c9815a10a1bd30dbc3f",
55
"author": {
66
"name": "Microsoft Corporation"
77
},

src/vs/editor/browser/widget/diffEditor.contribution.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
7-
import { ICodeEditor, IDiffEditor } from 'vs/editor/browser/editorBrowser';
8-
import { EditorAction2, ServicesAccessor } from 'vs/editor/browser/editorExtensions';
7+
import { IDiffEditor } from 'vs/editor/browser/editorBrowser';
8+
import { ServicesAccessor } from 'vs/editor/browser/editorExtensions';
99
import { ICodeEditorService } from 'vs/editor/browser/services/codeEditorService';
1010
import { EditorContextKeys } from 'vs/editor/common/editorContextKeys';
1111
import { localize } from 'vs/nls';
1212
import { ILocalizedString } from 'vs/platform/action/common/action';
13-
import { MenuId, MenuRegistry, registerAction2 } from 'vs/platform/actions/common/actions';
13+
import { Action2, MenuId, MenuRegistry, registerAction2 } from 'vs/platform/actions/common/actions';
1414
import { CommandsRegistry } from 'vs/platform/commands/common/commands';
1515
import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
1616
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
@@ -20,7 +20,7 @@ const accessibleDiffViewerCategory: ILocalizedString = {
2020
original: 'Accessible Diff Viewer',
2121
};
2222

23-
export class AccessibleDiffViewerNext extends EditorAction2 {
23+
export class AccessibleDiffViewerNext extends Action2 {
2424
public static id = 'editor.action.accessibleDiffViewer.next';
2525

2626
constructor() {
@@ -37,7 +37,7 @@ export class AccessibleDiffViewerNext extends EditorAction2 {
3737
});
3838
}
3939

40-
public override runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor): void {
40+
public override run(accessor: ServicesAccessor): void {
4141
const diffEditor = findFocusedDiffEditor(accessor);
4242
diffEditor?.accessibleDiffViewerNext();
4343
}
@@ -53,7 +53,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
5353
when: EditorContextKeys.accessibleDiffViewerVisible.negate(),
5454
});
5555

56-
export class AccessibleDiffViewerPrev extends EditorAction2 {
56+
export class AccessibleDiffViewerPrev extends Action2 {
5757
public static id = 'editor.action.accessibleDiffViewer.prev';
5858

5959
constructor() {
@@ -70,7 +70,7 @@ export class AccessibleDiffViewerPrev extends EditorAction2 {
7070
});
7171
}
7272

73-
public override runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor): void {
73+
public override run(accessor: ServicesAccessor): void {
7474
const diffEditor = findFocusedDiffEditor(accessor);
7575
diffEditor?.accessibleDiffViewerPrev();
7676
}

src/vs/platform/telemetry/common/errorTelemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default abstract class BaseErrorTelemetry {
7878

7979
private _onErrorEvent(err: any): void {
8080

81-
if (!err) {
81+
if (!err || err.code) {
8282
return;
8383
}
8484

src/vs/platform/userDataSync/common/userDataSyncStoreService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ export class UserDataSyncStoreClient extends Disposable {
534534
if (isSuccess) {
535535
this.logService.trace('Request succeeded', requestInfo);
536536
} else {
537-
this.logService.info('Request failed', requestInfo);
538537
failureMessage = await asText(context) || '';
538+
this.logService.info('Request failed', requestInfo, failureMessage);
539539
}
540540

541541
if (context.res.statusCode === 401 || context.res.statusCode === 403) {

0 commit comments

Comments
 (0)