Commit Graph

77 Commits

Author SHA1 Message Date
Sandeep Somavarapu
b38186b046 Fix #126953 2021-07-06 11:57:34 +02:00
Benjamin Pasero
949f60498a Merge pull request #124346 from microsoft/ben/pfs-promises
fs - favor non promise based methods (fix #124176)
2021-05-21 11:36:20 +02:00
Raymond Zhao
49187c4e78 Replace flush with setFlushOn with loglevel info, fixes #123856 2021-05-19 10:06:11 -07:00
Raymond Zhao
a3fe790a45 Explicitly flush OutputAppender #123856 2021-05-17 10:29:33 -07:00
Raymond Zhao
a0ce27feda Update spdlog, use lazy initialization in extension host (#123033)
* Update spdlog, affects #121513

* Upgrade spdlog, use lazy initialization

* Bump remote spdlog version

* Update dependency again

* Upgrade for lodash vuln

* make sure the appender exists

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2021-05-11 06:33:01 -07:00
Raymond Zhao
ad576d73db Revert "Update spdlog, affects #121513"
This reverts commit 2d2de1920b.
2021-05-05 14:12:04 -07:00
Raymond Zhao
2d2de1920b Update spdlog, affects #121513 2021-05-05 13:49:25 -07:00
Matt Bierner
e1f0f8f513 Add override keyword in codebase (#120755)
For #120675

This uses a script to add the override keyword to places that need it in the codebase

Note that we can't enable the --noImplicitOverride setting yet since there are still around 200 errors that require further attention
2021-04-08 10:05:20 -07:00
Sandeep Somavarapu
2baf63ad00 use logger service for output appenders 2021-02-07 13:10:15 +01:00
Benjamin Pasero
aca5d3ea2e fs - merge readdir functions into one 2021-02-03 12:07:48 +01:00
Benjamin Pasero
0677d5e6f6 fs - sort pfs and introduce SymlinkSupport namespace 2021-02-02 17:33:41 +01:00
Benjamin Pasero
a0d76bb983 fs - drop pfs.mkdirp in favor of node.js 2021-02-02 15:04:36 +01:00
Sandeep Somavarapu
382f9e52e6 #105047 simplify 2020-09-23 09:01:22 +02:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Sandeep Somavarapu
f4fa2da7ae #84283 use log service to log 2019-12-10 15:04:13 +01:00
Sandeep Somavarapu
a7c2a5a5bc Fix #79431 2019-08-28 16:44:44 +02:00
Johannes Rieken
7a6f22b3af rename rpcService to extHostRpcService 2019-08-09 09:51:22 +02:00
Johannes Rieken
2420d4c505 separate rpc and init data into separate services 2019-08-07 19:51:28 +02:00
Johannes Rieken
ebd96071d1 make extHost-things services, setup injector 2019-08-07 16:11:00 +02:00
Sandeep Somavarapu
7b3d95e57e fix #73441 2019-05-24 13:05:48 +02:00
Johannes Rieken
e9a9f9912a debt - split extHostOutputService 2019-04-10 11:45:05 +02:00
Sandeep Somavarapu
704af9ddec remove type assertion 2019-04-09 16:07:40 +02:00
Sandeep Somavarapu
54e2124f1c Fix #71947 2019-04-09 15:38:09 +02:00
Benjamin Pasero
f5554346aa debt - get rid of flow 2019-04-01 08:35:28 +02:00
Sandeep Somavarapu
1fc282fe17 #70998 Create output directoru before creating logger 2019-03-27 14:27:01 +01:00
Johannes Rieken
c92ce4014f move extHost.protocol to common, #70319 2019-03-19 15:46:01 +01:00
Sandeep Somavarapu
a4b49166d0 Fix #69110 2019-03-06 22:18:01 +01:00
Benjamin Pasero
a99b64ae8e paths - avoid posix usages 2019-02-13 11:25:10 +01:00
Benjamin Pasero
622b3d62dd paths - paths.node.ts => path.ts 2019-02-12 20:36:23 +01:00
SteVen Batten
5ebd625b40 use new path implementation (#68538)
* adopt paths.node over path

* fix strict null

* remove hacky typing inlabel.test.ts
2019-02-12 20:14:50 +01:00
Benjamin Pasero
31e7084fe9 debt - move outputAppender to where it is used 2019-02-09 16:56:59 +01:00
Matt Bierner
ea577a79e4 Strict null check more mainThread and extHost files 2019-02-06 18:22:33 -08:00
Johannes Rieken
653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Matt Bierner
8087b0a8d8 Remove use strict directives in main vs code ts files (part 2)
We compile using the alwaysStrict flag so these directives are not needed

This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Benjamin Pasero
3aecfeef15 use "readonly" 2018-09-27 07:55:24 +02:00
Sandeep Somavarapu
5de0fbbb1d Fix #59210 2018-09-26 16:20:40 +02:00
Benjamin Pasero
0e0fde98d8 changes to visible channel (code review) 2018-09-26 15:30:59 +02:00
Sandeep Somavarapu
f78b7b2746 #59209 Update output channel when visible 2018-09-26 15:04:29 +02:00
Sandeep Somavarapu
010bc0d086 #59209 Flush the content before revealing the channel 2018-09-25 21:50:39 +02:00
Sandeep Somavarapu
a5580c3d51 #59322 Remove the options 2018-09-25 17:02:20 +02:00
Sandeep Somavarapu
f0fd4a1cab Fix #59210 2018-09-24 12:09:22 +02:00
Sandeep Somavarapu
3f9707e650 Merge branch 'master' into sandy081/outputChannel 2018-09-21 10:15:35 +02:00
Sandeep Somavarapu
d617ede266 Change to options with force parameter 2018-09-20 15:45:09 +02:00
Sandeep Somavarapu
c1a6295edf Ability to create log file channels from extension host 2018-09-07 11:53:13 +02:00
Sandeep Somavarapu
dc4c763127 Use backup channels when spdlog fails and log telemetry 2018-09-07 11:53:13 +02:00
Sandeep Somavarapu
39cc093a9b 💄 2018-09-06 22:17:39 +02:00
Sandeep Somavarapu
8c26e721ee add push/pull option for output channels 2018-09-06 21:07:13 +02:00
Sandeep Somavarapu
6cb2531d45 Exthost Output channels: generate id on the renderer side 2018-09-05 11:55:11 +02:00
Alex Dima
591e83f8a4 Reduce usage of TPromise in extHost.protocol 2018-09-04 16:04:53 +02:00
Sandeep Somavarapu
e5a1664d74 #57618 Enable logging output channels 2018-09-04 15:27:05 +02:00