Commit Graph

78 Commits

Author SHA1 Message Date
Benjamin Pasero
07eb3487f0 debt - introduce lifecycle phases on electron-main and adopt 2019-06-03 11:17:53 +02:00
Benjamin Pasero
4b3340352f debt - prefer our file service 2019-05-25 07:51:59 +02:00
Martin Aeschlimann
6a956ce219 add locate-extension as command line parameter 2019-04-09 16:23:12 +02:00
Benjamin Pasero
84726e51f4 debt - merge extfs and pfs 2019-04-01 08:45:46 +02:00
Martin Aeschlimann
fa854de2af URI for waitMarkerFilePath 2019-03-22 16:21:10 +01:00
Benjamin Pasero
1e17319bfd fix #69588 2019-03-02 11:00:09 +01:00
Benjamin Pasero
1aee0c194c debt - scaffold a service for package.json/product.json access 2019-02-21 12:55:46 +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
Martin Aeschlimann
efc4d93818 make argv handling reusable 2019-01-22 15:56:28 +01: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
Joao Moreno
f4c2b2021d debt: remove TPromise from cli
related to #62716
2018-11-15 17:58:58 +01:00
Johannes Rieken
b35d879f76 update v8 profiler package 2018-11-12 17:37:10 +01:00
Matt Bierner
5acd78e288 Strict null checks 2018-11-08 18:15:43 -08:00
Matt Bierner
cb05d8fdf3 Strict null checks 2018-11-08 18:04:56 -08:00
Benjamin Pasero
4252e67b35 fix one part of #60192 2018-10-26 11:52:44 +02:00
Johannes Rieken
b65d113c0a prefix names with prof-, #59505 2018-10-08 10:56:42 +02:00
Johannes Rieken
56dd8943ce fix #59216 2018-09-24 13:59:33 +02:00
Johannes Rieken
f6c98dfa5e remove console log, #58929 2018-09-21 15:10:35 +02:00
Johannes Rieken
a2898d57fa implement chooseTab when connecting to the renderer, #58929 2018-09-21 15:10:35 +02:00
Johannes Rieken
e25d7ddbf0 fail more graceful when a process cannot be profiled, #58929 2018-09-21 12:35:15 +02:00
Benjamin Pasero
2466d395af first pass of WinJS.done() usage (for #57695) 2018-09-03 15:19:51 +02:00
Johannes Rieken
1420060f82 correct handshake to end profiling, related to #55675 2018-09-03 14:07:55 +02:00
Johannes Rieken
01ce593e96 improve error message and tell user to quit vscode first, #55675 2018-09-03 14:07:55 +02:00
Johannes Rieken
daf9ca32d9 use random port for profiling ports, #55675 2018-09-03 14:07:55 +02:00
Nikolai Vavilov
aaa778b5e2 Use 'r+' with truncation when saving existing files on Windows (#42899)
* Use 'r+' with truncation when saving existing files on Windows

Opening a file with 'w' flag removes its alternate data streams. To
prevent this, extend the logic used for hidden files to all existing
files.

Fixes: https://github.com/Microsoft/vscode/issues/6363

* adopt truncate for saving as admin
2018-08-20 18:55:12 +02:00
Benjamin Pasero
18b5d32140 fix #52583 2018-07-17 12:14:06 +02:00
Joao Moreno
ba7b1cb0d5 cleanup more promises
related to #53442
2018-07-02 16:49:11 +02:00
Peng Lyu
6729e2b7df --max-memory and fix test failture. 2018-02-13 15:12:07 -08:00
Peng Lyu
50a1deb9f6 Fix #42839. avoid ui freeze when file is larger than heap size limit. 2018-02-13 14:07:01 -08:00
Ramya Achutha Rao
b8b726b4a9 Remove unused net declaration 2018-02-01 16:03:07 -08:00
Matt Bierner
1872949236 Use args based confirmation for log upload instead of using stdin 2018-02-01 15:31:56 -08:00
Matt Bierner
d233df9a12 Use named pipe for stdio in upload logs
Fixes #42635
2018-02-01 14:22:28 -08:00
Matt Bierner
279c4d048a Forward stdin for loguploader
Fixes #42055
2018-01-26 00:08:15 -08:00
Joao Moreno
93d7d51eb7 fixes #42115 2018-01-25 16:40:44 +01:00
Benjamin Pasero
ec31203310 cli - remove stdin argument properly 2017-12-28 11:04:45 +01:00
Benjamin Pasero
549cda29da 💄 2017-12-20 16:57:40 +01:00
Benjamin Pasero
894dcea691 Require to use "-" when reading from stdin (#40424)
* Require to use "-" when reading from stdin

* cli - better help message

* more narrow error handling

* better data listener
2017-12-18 14:56:06 +01:00
Benjamin Pasero
3d9d00ff46 save as admin - handle windows hidden files 2017-12-14 16:17:24 +01:00
Benjamin Pasero
4e9cd88e37 save as admin - handle case for readonly files 2017-12-14 15:50:21 +01:00
Benjamin Pasero
0ef13b6d54 Allow to save files that need user elevation (fixes #1614) (#40107) 2017-12-12 16:03:25 +01:00
Benjamin Pasero
be788e2dc7 fix #39654 2017-12-05 14:43:14 +01:00
Benjamin Pasero
3f9b66c2cd try to detect terminal encoding when reading from stdin (for #6161) 2017-12-04 12:00:25 +01:00
Benjamin Pasero
3eda4250b8 code-ps: rename renderer => window and change cli to "-s, --status" (for #39262) 2017-12-01 12:21:52 +01:00
Benjamin Pasero
307987fe38 Add code --ps (#39302)
* initial commit

* 💄

* get the machine id from the main process

* first cut formatting

* nicer output

* added support for Windows

* refactor to share common code

* simplify regexps

* always use the 'type' argument

* differentiate between node and electron_node

* some polish

* add render id to renderer

* add memory load (macOS, linux)

* 💄
2017-11-29 12:17:26 +01:00
Benjamin Pasero
785a04468a stdin - ignore if a file path is passed in to open 2017-11-28 07:38:56 +01:00
Benjamin Pasero
91b4159c0e stdin - ignore tmp files from recent history 2017-11-27 17:40:32 +01:00
Benjamin Pasero
6d22bb75ee Allow reading from stdin (fixes #6161) (#39177) 2017-11-27 11:46:48 +01:00
Johannes Rieken
7cd6ace4ab remove PII and better filename when profiling a product build 2017-11-23 11:10:06 +01:00