mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Initial VS Code 1.19 source merge (#571)
* Initial 1.19 xcopy * Fix yarn build * Fix numerous build breaks * Next batch of build break fixes * More build break fixes * Runtime breaks * Additional post merge fixes * Fix windows setup file * Fix test failures. * Update license header blocks to refer to source eula
This commit is contained in:
6
src/typings/node.d.ts
vendored
6
src/typings/node.d.ts
vendored
@@ -2718,9 +2718,9 @@ declare module "fs" {
|
||||
export function writeFile(filename: string | number, data: any, encoding: string, callback: (err: NodeJS.ErrnoException) => void): void;
|
||||
export function writeFile(filename: string | number, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
|
||||
export function writeFile(filename: string | number, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
|
||||
export function writeFileSync(filename: string, data: any, encoding: string): void;
|
||||
export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void;
|
||||
export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void;
|
||||
export function writeFileSync(filename: string | number, data: any, encoding: string): void;
|
||||
export function writeFileSync(filename: string | number, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void;
|
||||
export function writeFileSync(filename: string | number, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void;
|
||||
export function appendFile(filename: string, data: any, encoding: string, callback: (err: NodeJS.ErrnoException) => void): void;
|
||||
export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
|
||||
export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void;
|
||||
|
||||
34
src/typings/spdlog.d.ts
vendored
Normal file
34
src/typings/spdlog.d.ts
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
declare module 'spdlog' {
|
||||
|
||||
export const version: string;
|
||||
export function setAsyncMode(bufferSize: number, flushInterval: number);
|
||||
|
||||
export enum LogLevel {
|
||||
CRITICAL,
|
||||
ERROR,
|
||||
WARN,
|
||||
INFO,
|
||||
DEBUG,
|
||||
TRACE,
|
||||
OFF
|
||||
}
|
||||
|
||||
export class RotatingLogger {
|
||||
constructor(name: string, filename: string, filesize: number, filecount: number);
|
||||
|
||||
trace(message: string);
|
||||
debug(message: string);
|
||||
info(message: string);
|
||||
warn(message: string);
|
||||
error(message: string);
|
||||
critical(message: string);
|
||||
setLevel(level: number);
|
||||
flush(): void;
|
||||
drop(): void;
|
||||
}
|
||||
}
|
||||
37
src/typings/v8-inspect-profiler.d.ts
vendored
Normal file
37
src/typings/v8-inspect-profiler.d.ts
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
declare module 'v8-inspect-profiler' {
|
||||
|
||||
export interface ProfileResult {
|
||||
profile: Profile;
|
||||
}
|
||||
|
||||
export interface Profile {
|
||||
nodes: ProfileNode[];
|
||||
samples?: number[];
|
||||
timeDeltas?: number[];
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
}
|
||||
|
||||
export interface ProfileNode {
|
||||
id: number;
|
||||
hitCount?: number;
|
||||
children?: number[];
|
||||
callFrame: {
|
||||
url: string;
|
||||
scriptId: string;
|
||||
functionName: string;
|
||||
lineNumber: number;
|
||||
columnNumber: number;
|
||||
};
|
||||
deoptReason?: string;
|
||||
positionTicks?: { line: number; ticks: number }[];
|
||||
}
|
||||
|
||||
export interface ProfilingSession {
|
||||
stop(afterDelay?: number): PromiseLike<ProfileResult>;
|
||||
}
|
||||
|
||||
export function startProfiling(options: { port: number, tries?: number, retyWait?: number }): PromiseLike<ProfilingSession>;
|
||||
export function writeProfile(profile: ProfileResult, name?: string): PromiseLike<void>;
|
||||
export function rewriteAbsolutePaths(profile, replaceWith?);
|
||||
}
|
||||
2
src/typings/xterm.d.ts
vendored
2
src/typings/xterm.d.ts
vendored
@@ -364,7 +364,7 @@ declare module 'xterm' {
|
||||
* Scroll the display of the terminal
|
||||
* @param amount The number of lines to scroll down (negative scroll up).
|
||||
*/
|
||||
scrollDisp(amount: number): void;
|
||||
scrollLines(amount: number): void;
|
||||
|
||||
/**
|
||||
* Scroll the display of the terminal by a number of pages.
|
||||
|
||||
Reference in New Issue
Block a user