Commit Graph

60 Commits

Author SHA1 Message Date
Matt Bierner add759df6f Fix some more simple strict function errors
For #81574
2020-02-10 15:28:12 -08:00
Alex Ross 9bc292a262 Fix findExecutable to check that the path is not a dir
Fixes #83509
2019-10-29 10:59:57 +01:00
Benjamin Pasero 06aadb28a7 debt - prepare for node 12 2019-10-28 09:54:19 +01:00
Dirk Baeumer cb88dfc67f Use execFile for Linux to terminate task 2019-10-16 12:30:57 +02:00
Dirk Baeumer 44811c0969 Fixes #70578: terminateProcess() should not use cp.spawnSync() or cp.execFileSync() 2019-10-16 10:57:35 +02:00
Alex Dima 79fa4f988c Strict property initialization (#78168) 2019-10-14 09:30:57 +02:00
Alex Dima 93cfe48a3f Strict property initialization (#78168) 2019-10-07 09:25:12 +02:00
Alex Ross f3086a6e11 Remove sync fs use in tasks
Fixes #70577
2019-06-05 17:10:13 +02:00
Matt Bierner 608fc2cee2 Auto convert let -> const in base/node 2019-03-05 16:53:41 -08:00
Daniel Imms 437f7f67cb Move TerminalProcessManager, node->browser 2019-03-04 20:10:07 -08:00
Christof Marti 6fad3377f4 Start CLIServer with extension host 2019-03-04 15:01:53 +00:00
MOZGIII eb17fc81bb Fixes useExec promise not returning if there's no work to do 2019-03-03 07:38:40 +03:00
Joao Moreno 6dd6b4417e sanitize SNAP variables 2019-02-21 16:42:46 +01:00
Benjamin Pasero 622b3d62dd paths - paths.node.ts => path.ts 2019-02-12 20:36:23 +01:00
Benjamin Pasero b0acf49b18 paths - move path to extpath 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
Daniel Imms be1ca3cc42 Move env sanitizing to base/node/processes
Part of #64897
2019-01-28 07:43:54 -08:00
Rob Lourens ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Johannes Rieken 653280d133 debt - Thenable -> Promise 2018-12-13 11:31:54 +01:00
Dirk Baeumer 364e1a8505 Convert TPromise -> Promise. 2018-11-07 12:52:33 +01:00
Dirk Baeumer 41c02aa888 Fixes #62594: Resolving process task doesn't take task system into account 2018-11-05 15:10:59 +01:00
Matt Bierner 481e001d0b Strict null checks
#60565
2018-10-17 18:10:27 -07: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
Dirk Baeumer 1341461209 Remove stdfork from processes.ts 2018-08-22 12:11:20 +02:00
Johannes Rieken 3688396576 debt - use getPathFromAmdModule instead of 'URI.parse(require.toUrl(xxx)).fsPath' 2018-08-07 11:55:21 +02:00
Joao Moreno 31bdf0d1c6 remove ppromise usage from task 2018-07-09 16:22:14 +02:00
Alex Dima 3bf2a074fb Reduce usage of winjs promise progress 2018-07-03 13:46:03 +02:00
Dirk Baeumer 0505ae0749 Add events to listen on process start / end for task executions. 2018-05-14 21:56:04 +02:00
Piotr d0ef239499 Update processes.ts
Grammar fix.
2018-04-18 23:14:58 +02:00
Daniel Imms 94f5674695 electron - save some changes that are OK with 1.7.x 2018-04-06 09:47:00 +02:00
Benjamin Pasero 24d87a7eb0 Revert "Update to Electron v2.0.0-beta.6 (#46552)"
This reverts commit 88603b377d.
2018-04-06 09:33:18 +02:00
Daniel Imms 88603b377d Update to Electron v2.0.0-beta.6 (#46552)
* electron@2.0.0-beta-1

* Update distro

* Update electron.d.ts to 2.0.0-beta.1

* Disable asar as it causes a native crash

* Adopt Module._resolveLookupPaths ASAR patch

* electron 2.x - restore inspector URL in extension host

* electron 2.x - adopt context menu callback for onHide

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10442

* electron 2.x - update node.d.ts

* electron 2.x - update node.d.ts to 8.9.x

* electron 2.x - keep node.d.ts changes to a minimum

* electron 2.x - remove workaround for https://github.com/electron/electron/issues/10862

* electron 2.x - bump to 2.0.0-beta2

* bump to 2.0.0-beta.3

* Context menu: selecting "Rename" does not put focs into rename box (fix #45601)

* quality "exploration" for easier testing

* empty commit

* push a workaround for #45700

* Certain themes show UI artifacts over activity bar icons (fixes #45700)

* better fix for #45700

* bump to 2.0.0-beta.4

* another fix to prevent flickering for #45700

* avoid remote access in index.js

* bump distro commit

* electron 2.x - do not use --debug anymore

* bump electron to 2.0.0-beta.5

* electron 2.x - add libgtk-3-dev as build dependency for Linux 64

* electron 2.x - workaround freeze on linux on startup

* bump local storage telemetry key

* electron 2.x - do a one time backup of local storage

* enable ELECTRON_ENABLE_LOGGING on macOS at least

* 2.0.0-beta.6

* Fix ctrl+shift+e not focusing explorer on Linux

* distro - use GH electron builds for now
2018-04-03 12:39:25 +02:00
Matt Bierner ab1669f898 Revert "Revert "Avoid using import x = require('...')""
This reverts commit 27256832f3 which turns out did not break the import of vs/nls
2018-03-15 10:17:18 -07:00
Matt Bierner 27256832f3 Revert "Avoid using import x = require('...')"
This reverts commit 7de696a202.

Seems to have broken loading vs/nls in at least one case in insiders
2018-03-15 00:47:33 -07:00
Matt Bierner 7de696a202 Avoid using import x = require('...')
Don't use this import form in places where it is not needed. This prevents us from correctly detecting duplicate imports
2018-03-14 14:45:59 -07:00
Alex Dima b27a905d2d Make code snapshot-friendly 2018-02-16 11:12:41 +01:00
Matt Bierner d8e926be97 Mark most private static constants as private static readonly 2017-11-20 15:18:52 -08:00
Dirk Baeumer 3211f002ac Clean up code according to 38414 2017-11-16 11:20:54 +01:00
Benjamin Pasero 9486025f8c perf - remove unused code 2017-11-15 09:22:57 +01:00
Johannes Rieken 27e9d4c196 debt - rename clone to deepClone 2017-11-13 17:15:20 +01:00
Benjamin Pasero bef497ff82 avoid more implicit any and some 💄 2017-09-04 11:20:09 +02:00
Johannes Rieken 0bf321ccee 💄 remove usage of Promise in favor TPromise 2017-07-26 16:31:31 +02:00
Felix Becker dbe0f89264 Always reject Promises with Error instances 2017-06-26 15:24:41 +02:00
Joao Moreno c5df2b09b3 update electron.d.ts to 1.4.6 2017-03-03 10:50:31 +01:00
Johannes Rieken e3f33fdf66 Revert "processes.env.addDelayedEnvironment, #16508"
This reverts commit 3e6c59cdaa.
2016-12-20 14:37:01 +01:00
Johannes Rieken 3e6c59cdaa processes.env.addDelayedEnvironment, #16508 2016-12-20 11:08:39 +01:00
Benjamin Pasero 844484aa1a clean up 2016-10-16 09:42:03 +02:00
Benjamin Pasero b3f4d51a49 buffer process.send 2016-10-14 16:17:58 +02:00
Johannes Rieken 6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Dirk Baeumer ecdfedb79e Fixes #10237: 任务终止不了 2016-08-26 12:39:52 +02:00