Commit Graph

638 Commits

Author SHA1 Message Date
Benjamin Pasero f434f853aa pfs - workaround broken reparse points on windows (fix #115113) 2021-01-27 08:28:02 +01:00
Benjamin Pasero bf93e45b9c files - document file modes we use 2021-01-25 17:16:32 +01:00
Benjamin Pasero e60e0eab35 Cleanup some file related unit tests (#114895)
* wip

* clean up

* more test cleanup

* cleanup more

* more cleanup
2021-01-25 11:40:37 +01:00
Benjamin Pasero da0a04fffb Copy function fails over dangling symbolic links (fix #111621) 2021-01-25 08:14:47 +01:00
Tyler James Leonhardt 2d892ae9c7 Fix arch check for PowerShell enumeration (#114292) 2021-01-13 09:53:40 -08:00
Tyler James Leonhardt 732d4ff89e Make PowerShell 7 default if available and show in choose shell menu (#112768)
* make PowerShell 7 default if available and show in choose shell menu

* misc feedback

* better handle ARM and use pfs everywhere also update pfs to handle AppExecLinks

* fix test

* move to async

* add logging

* powershell global tool is in the image apparently

* have path test be the same

* try/catch the readlink

* await exists

* fix test

* check what arch node is

* fix indexes

* address daniel's feedback

* have getProgramFilesPath return null instead
2021-01-11 15:38:03 -08:00
Benjamin Pasero 64eb716d57 env - fully qualify our own variables 2021-01-04 11:08:36 +01:00
Rob Lourens 8fca5328ac Merge branch 'roblou/shellEnvVar' 2020-12-14 09:37:57 -08:00
Rob Lourens dce22cf74b Fall back on node API when $SHELL is not set, for
user shell and shell environment discovery
See github/codespaces#1639
2020-12-14 09:36:00 -08:00
Johannes Rieken c87c95a1a0 prefix our performance marks with code/, e.g code/didStartRenderer etc 2020-12-14 15:49:58 +01:00
Benjamin Pasero f5da8e346f :lipsticky: async 2020-12-07 11:37:17 +01:00
Johannes Rieken 97a896091d remove startupPerf experiement, https://github.com/microsoft/vscode-internalbacklog/issues/1620 2020-11-25 14:00:25 +01:00
Johannes Rieken fed34f982e startup util fixes 2020-11-24 14:14:21 +01:00
Johannes Rieken 4563ba1f94 add start function to explicitly start performance observer 2020-11-24 12:49:41 +01:00
Johannes Rieken 9a657db088 add tiny util to allow performance mark collection (via perf_hooks) independent of amd or commonjs usage 2020-11-24 11:44:13 +01:00
Benjamin Pasero eb8c718e81 debt - fix compile errors in bootstrap files 2020-11-09 09:03:14 +01:00
Alex Dima 35368d6c01 Introduce Remote Terminals
Co-authored-by: Rob Lourens <roblourens@gmail.com>
2020-10-14 22:39:28 +02:00
Sandeep Somavarapu eb0a0e04b5 use startsWith 2020-10-08 09:33:21 +02:00
Benjamin Pasero 38a3d69caf code 💄 2020-10-05 08:06:13 +02:00
Benjamin Pasero 7f035b4be7 debt - introduce and adopt FileAccess
deprecate amd.ts and require.toUrl methods
2020-09-25 14:11:05 +02:00
SteVen Batten 6e5fda4c75 switch to node libs (#107040)
* switch to node libs

* remove family check, its irrelevant
2020-09-18 14:40:50 -07:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Benjamin Pasero c6cada990b crypto - asyncify checkum method and add tests 2020-09-16 11:04:46 +02:00
Dirk Baeumer 533ca9bf07 Adress #106358: Fix TS 4.1 errors in codebase 2020-09-10 11:36:22 +02:00
Benjamin Pasero 76e7cbb0da fix some TS 4.1 errors (#106358) 2020-09-10 08:53:24 +02:00
Rachel Macfarlane cceaf14323 #106358 2020-09-09 15:37:31 -07:00
Matt Bierner 5cdf679c44 Add explicit undefined parameters / types
These errors come from the new stricter types for Promises in TS 4.1
2020-09-09 10:57:05 -07:00
Aditya Thakral f6f8735825 Silently ignore the screen size is bogus error in the Process Explorer, fixes ##98590 2020-08-11 10:38:06 -07:00
Benjamin Pasero 2f7e5d9841 stdin - log raw output from running chcp command for diag 2020-07-20 13:52:48 +02:00
Alex Ross 52daded0fc Fix findExecutable
Part of #101073
2020-07-14 14:49:04 +02:00
Benjamin Pasero 7f132c907b debt - use platform over node.js OS 2020-06-22 09:04:56 +02:00
Fedor Nezhivoi 24e0a82229 Move encoding to common for #79275 (#100539)
* move encoding.ts to common for #79275

* load iconv-lite-umd and jschardet in web version for #79275

* move EncodingOracle to the AbstractTextFileService for #79275

* review

* update to new iconv-lite-umd

* add workaround for jschardet types

* fix indentation

* add iconv-lite-umd and jschardet to workbench.html

* fix paths for modules

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-20 10:47:29 +02:00
Benjamin Pasero 694abe219e 💄 stdin polish 2020-06-18 16:09:18 +02:00
Fedor Nezhivoi 314b58c8e1 switch to use iconv-lite-umd for #79275 (#100472)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-18 16:08:17 +02:00
Benjamin Pasero 7642394038 streams - delete node/stream and inline it to only consumer 2020-06-17 12:00:45 +02:00
Benjamin Pasero 498325ced8 Load iconv-lite module async (fix #40147) 2020-06-17 11:53:21 +02:00
Benjamin Pasero 56b40ee873 encoding - less Buffer use 2020-06-17 11:32:41 +02:00
Benjamin Pasero 789a757de6 encoding - adjust toDecodeStream() 2020-06-17 10:55:49 +02:00
Benjamin Pasero 3675f28129 Revert "Revert "decouple vs/base/node/encoding.ts from node streams for #79275 (#99413)""
This reverts commit 495112ded5.
2020-06-17 10:45:58 +02:00
Benjamin Pasero 495112ded5 Revert "decouple vs/base/node/encoding.ts from node streams for #79275 (#99413)"
This reverts commit 1dbfecd37f.
2020-06-17 09:09:59 +02:00
Fedor Nezhivoi 1dbfecd37f decouple vs/base/node/encoding.ts from node streams for #79275 (#99413) 2020-06-17 09:09:12 +02:00
Benjamin Pasero d6c36fa74f debt - remove unused encoding method 2020-04-10 13:41:17 +02:00
Johannes Rieken 80acfa923a make TenarySearchTree have generic key and value, implement for URI, touches on https://github.com/microsoft/vscode/issues/93368 2020-04-06 16:43:24 +02:00
Benjamin Pasero 3f0e5b4ab0 debt - adopt more ES6 things 2020-03-30 14:04:52 +02:00
Alvaro Videla 98ae8652aa fixes #92860 2020-03-17 16:26:54 +01:00
Benjamin Pasero a949694b25 debt - reduce usage of explicit any 2020-02-28 11:33:55 +01:00
Benjamin Pasero 3cf529d506 remove unused code 2020-02-22 19:02:55 +01:00
Johannes Rieken 6ffa7d5887 CancellationToken#onCancellationRequested is a once-event by definition, helps with #81574 2020-02-12 11:10:06 +01:00
Sandeep Somavarapu 5608bb8185 Fix #90440 2020-02-11 13:14:38 +01:00
Johannes Rieken 402a1cb949 some strict function fixes, #81574 2020-02-11 09:35:48 +01:00