Commit Graph

129 Commits

Author SHA1 Message Date
Johannes Rieken 4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Raymond Zhao ced2441e20 Add a delay, mitigates #141053 2022-01-24 09:51:50 -08:00
Benjamin Pasero b03fe7a97c watcher - implement and adopt universal file watcher 2022-01-14 08:03:15 +01:00
Benjamin Pasero 31dfab2f7c files - add more tests and fix promisify issue with fs.read and fs.write 2022-01-12 11:32:41 +01:00
Johannes Rieken 5a042ad34f adopt latest v8-inspect-profiler, use own utils and just write file, https://github.com/microsoft/vscode/issues/111211 2022-01-04 09:35:16 +01:00
Benjamin Pasero b8d6d8667a Reimplement node.js watcher and add tests (#140073)
* files - use `fs.promises.rename` for `rimraf` to skip `graceful-fs`

We do not really want the move operation to hang for a long time when the folder is locked on Windows.

* watcher - rewrite non-recursive watcher and add tests

* fixes

* fix tests
2022-01-04 09:11:44 +01:00
Benjamin Pasero b9a2191563 files - add a method to generate a random path name (#139364) 2021-12-17 11:08:17 +01:00
Raymond Zhao 5b7208ac08 Add -g flag for the open command (#135517)
Fixes #135291
2021-10-21 08:37:04 -07:00
Raymond Zhao 049691cf79 Fix env passing with open cmd (#135039)
Pass process.env using env flags

Fixes #134696
2021-10-19 08:32:57 -07:00
Raymond Zhao 2aa340816f Pass process.env using env flags
Also remove redundant env in options
Fixes #134696
2021-10-13 16:25:23 -07:00
Benjamin Pasero 0e11dc34f4 CLI on macOS with -w does not exit when running multiple times (fix #134030) 2021-09-29 09:57:36 +02:00
Raymond Zhao 04c5aa46b4 Support only Big Sur, fixes #134023 (#134071) 2021-09-28 18:54:41 -07:00
Raymond Zhao 254c5c7c86 Add prototype of mac open command (#131213)
Co-authored-by: Benjamin Pasero
2021-09-14 10:03:46 -07:00
Benjamin Pasero 94c829afd6 macOS: application hangs when --wait is used with --verbose (fix #132611) 2021-09-08 17:26:52 +02:00
Akat 77905c850e fix some typo in comments, renaming few methods (#130470) 2021-08-11 17:57:48 -07:00
Matt Bierner a3cb14be7f Organize imports in vs/code 2021-08-04 17:05:16 -07:00
Benjamin Pasero 802648f2a1 electron - adopt some newer APIs and 💄 main code 2021-06-04 09:22:38 +02:00
Benjamin Pasero 81ef603d0d sandbox - move some files to electron-sandbox that are ready 2021-05-06 09:10:35 +02:00
Benjamin Pasero e2954beb4b Remove --no-sandbox (#122909)
* linux - remove `--no-sandbox` flag

We should not disable sandbox on Linux.
We only added this to support running on Kernel <= 3.8 where setuid sandbox is used.

* fix ci

* add some docs
2021-05-04 11:18:19 +02:00
Benjamin Pasero 1968bda7e6 platform#IProcessEnvironment is badly typed (fix #119046) 2021-03-30 19:05:44 +02:00
Benjamin Pasero 3a2a24e452 cli - set VSCODE_CLI earlier (#119660) 2021-03-29 14:20:45 +02:00
Sandeep Somavarapu d96f34c867 Fix #38607 2021-03-19 09:46:55 +01:00
Benjamin Pasero 5a8936ae63 Lift native text file service to electron-sandbox (#118815)
* sandbox - lift native text file service to electron-sandbox

* polish docs and ensure tests actually run

* add write unlock capability

* do not use fs constants (fix tests)
2021-03-12 13:52:00 +01:00
Benjamin Pasero f0d62c6ec2 💄 more main.ts cleanup 2021-02-12 08:30:21 +01:00
Benjamin Pasero bf93e45b9c files - document file modes we use 2021-01-25 17:16:32 +01:00
Benjamin Pasero 9deba1b10a code catchup 2021-01-20 10:35:19 +01:00
Benjamin Pasero 6fdc79d81a env - set timeout back to 10s but show warning when it takes long 2020-11-20 09:59:29 +01:00
Benjamin Pasero b25867b709 Support --diff parameter with reading from stdin (fix #110426) 2020-11-17 08:27:31 +01:00
Sandeep Somavarapu b813399093 - use --install-builtin-extension arg instaed of --builtin flag to install builtin extension
- speed up installing extensions in cli
2020-10-22 22:31:52 +02:00
Benjamin Pasero 38a3d69caf code 💄 2020-10-05 08:06:13 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Matt Bierner c348165cc0 Adding more explicit typings for promises
This gets us ready for TS 4.1
2020-09-09 09:21:56 -07:00
Benjamin Pasero ae942354ab sandbox - move native environment service to common layer 2020-09-03 11:30:08 +02:00
Benjamin Pasero 9b50b84c4c use import-type for modules we load async (#105594) 2020-08-31 10:58:16 +02:00
Benjamin Pasero 7f132c907b debt - use platform over node.js OS 2020-06-22 09:04:56 +02:00
Benjamin Pasero 9f1aa3c9fe debt - remove node pieces from environment (#82598) 2020-04-06 09:12:41 +02:00
Benjamin Pasero a949694b25 debt - reduce usage of explicit any 2020-02-28 11:33:55 +01:00
Martin Aeschlimann 5db448e37b refactor stdin code 2019-12-30 16:57:22 +01:00
Benjamin Pasero 06aadb28a7 debt - prepare for node 12 2019-10-28 09:54:19 +01:00
Martin Aeschlimann b8bb5e71b1 Cleanup src/vs/platform/environment/node/argv.ts. Fixes #76239 2019-10-24 10:15:21 +02:00
Benjamin Pasero 23956cc5e2 update to electron 6.0.x (#81644)
* update to electron 6.0.x

* chore: bump electron@6.0.12
2019-10-10 12:26:28 -07:00
Benjamin Pasero da76f05e7a electron - revert to Electron 4 2019-09-30 14:55:17 +02:00
Benjamin Pasero 304693f37e debt - async import for cli 2019-09-30 11:30:07 +02:00
Benjamin Pasero afde7913eb build - set no-sandbox everywhere (#81096) 2019-09-18 13:55:03 +02:00
Benjamin Pasero 93bb67d7ef debt - use common/product over node/product 2019-09-16 11:35:11 +02:00
Benjamin Pasero 5e1179f0b8 web - move help actions to browser 2019-09-16 10:37:58 +02:00
João Moreno ab10e26096 Fixes #80702 (#80705) 2019-09-11 13:31:42 +02:00
Martin Aeschlimann 9d4b47dbed optionDescriptions as parameter of parseArgs 2019-09-09 14:43:13 +02:00
Martin Aeschlimann 6cee0791bf Remove suppressImplicitAnyIndexErrors For. #76442 2019-07-03 12:00:22 +02:00
Logan Ramos 4a69a71065 Telemetry Command (#76029)
* Added telemetry command

* Initial Build support

* Added build logic for telemetry

* Linux Builds

* Windows builds sort of work

* Remove arm telemetry extraction

* Remove alpine telemetry extraction

* Remove accidental s

* More try catch
2019-06-24 18:47:12 -07:00