Commit Graph

1153 Commits

Author SHA1 Message Date
Rachel Macfarlane 94e68b7c46 Correctly pass machineId, some text and styling updates 2018-01-17 12:47:41 -08:00
Rachel Macfarlane f811259af8 Move VSCode version and OS info out of System info, styling updates 2018-01-17 12:47:41 -08:00
Pine Wu 352148a27f Some styling update 2018-01-17 12:47:41 -08:00
Pine Wu f8a6ed6828 Get new diagnostic info and render them 2018-01-17 12:47:41 -08:00
Rachel Macfarlane 8c032915d1 Return diagnostic information as structured objects instead of strings 2018-01-17 12:47:41 -08:00
Pine Wu 4b33f91fe3 Basic Issue Service and renderer 2018-01-17 12:47:40 -08:00
Pine Wu d07a4b9eee Issue Reporetr - CLI flag & platform service 2018-01-17 12:47:40 -08:00
Sandeep Somavarapu 0880691a19 Implement #41751 2018-01-17 17:03:23 +01:00
Matt Bierner cbf9ae23ed Allow loading webview outside of file: origin (#41698)
* Allow loading webview outside of file: origin

**Problem**
Webviews are currently always loaded from a file on the disk. This results in the webview running in the file origin, potentially allowing it to access any file on disk. If a webview fails to sanitize workspace or remote input, untrusted code could potentially access files on the user's system.

**Fix**
Add a new option to serve the webview out of a "data:" uri instead. This prevents access to `file://` resources.

In order to allow webviews to still load resources from disk, add a new protocol called `vscode-core-resource://` that only allows access to resources inside of the vscode directory.

Moves extension pages and our release notes to use this new option. These already are pretty locked down. We cannot move the htmlpreview command to use this option as it would break a huge number of existing extensions, however the new webview API will always have this new option enabled.

* Shorted protocol name
2018-01-16 12:50:14 -08:00
Benjamin Pasero 5b14cbc145 tweak smoke test 2018-01-14 18:35:26 +01:00
Benjamin Pasero 522052931f clean up icon path confusion 2018-01-13 18:23:17 +01:00
Matt Bierner 9a2d1d2017 Add log uploader command line util (#41318)
* Add log uploader command line option

Adds a new --upload-logs command line flag that allows users to upload log files from their current session to a secure endpoint

* Use TPromise

* Better argv description

* Fix var spell

* Use request service
2018-01-10 22:23:37 -08:00
Joao Moreno 57e5c7147b fix opening urls as files 2018-01-10 16:38:12 +01:00
Benjamin Pasero e52a60ba55 improve open url handling 2018-01-10 13:33:57 +01:00
Joao Moreno 325c350aeb fix bad cast 2018-01-10 12:44:54 +01:00
Daniel Imms d4c09a70ad Fixes 2018-01-09 15:30:17 -08:00
Daniel Imms 4fd1a5c3e6 progress 2018-01-09 13:03:58 -08:00
Daniel Imms 9e57f6f0b7 More 2018-01-09 10:38:26 -08:00
Joao Moreno 9914a95ddf buffer spdlog calls in main until singleton
fixes #41218
2018-01-09 15:55:10 +01:00
Andre Weinand 7a8fa121f0 protect '--status' against customized 'ps' command; fixes #40660 2018-01-09 00:06:27 +01:00
Benjamin Pasero 5875aad564 code main - partition windows into subfolders 2017-12-28 13:10:58 +01:00
Benjamin Pasero cc3c0ba924 💄 2017-12-28 12:42:59 +01:00
Benjamin Pasero ec31203310 cli - remove stdin argument properly 2017-12-28 11:04:45 +01:00
Sandeep Somavarapu 6dcd23dcca #40368 Add more logs to uninstall flow 2017-12-20 18:35:38 +01:00
Benjamin Pasero 549cda29da 💄 2017-12-20 16:57:40 +01:00
Benjamin Pasero 7a0a6f4cf4 💄 2017-12-20 11:54:37 +01:00
Benjamin Pasero 95a661725f add todo to remove logging later 2017-12-20 10:54:04 +01:00
Benjamin Pasero 8ebaeee52e dialogs - add logging 2017-12-20 10:53:04 +01:00
Alex Dima 4e3205ff36 Revert "Delay the start-up of the shared process (saves ~40-90ms on startup)"
This reverts commit b71255501d.
2017-12-19 10:42:35 +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 78cc1e902c Use the async version of Electron's dialog API (#40211)
* dialogs - move dialog handling to main side

* dialogs - adopt windows dialogs methods in main

* dialogs - use async dialog API and queue up dialogs on the main side
2017-12-14 12:16:09 +01:00
Benjamin Pasero db4954629c debt - convert our dialog API use to async (for #39536) 2017-12-13 12:52:29 +01:00
Johannes Rieken c219c3f733 debt - remove appReady from timerService, use perf-marks 2017-12-13 11:18:04 +01:00
Benjamin Pasero ef592066d7 Menu: keybinding Cmd+O does not show up in File menu (fixes #40145) 2017-12-13 07:43:53 +01:00
Daniel Imms 9eced630d2 Remove trailing closing paren in --status OS version
Fixes #40092
2017-12-12 10:01:20 -08: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 7639207583 status - add process.argv to output 2017-12-12 10:52:06 +01:00
Kai Maetzel 0af8e38d39 adding pid to --status, implements #40055 (#40058) 2017-12-12 09:51:17 +01:00
Benjamin Pasero e02a1c3507 perf - pass over window ID instead of accessing via remote call on startup 2017-12-11 12:24:50 +01:00
Benjamin Pasero 834ba9b9b0 debt - clean up some todos and migration code 2017-12-11 12:03:28 +01:00
Erich Gamma 1e4baf4492 Fix for #39731 --status crashes for some folders opened in code 2017-12-06 14:06:03 -08:00
Erich Gamma f7d23bcba6 Fix for #39730 always show counts 2017-12-06 14:06:03 -08:00
Joao Moreno 4ecad4714f fixes #39806 2017-12-06 17:34:11 +01:00
Sandeep Somavarapu 6a95d97a55 #38609 Show cancelled message on cancel 2017-12-06 09:38:48 +01:00
Benjamin Pasero ace285a4a3 fix #39722 2017-12-06 07:47:53 +01:00
Sandeep Somavarapu fd1c9a12cc #39659: Fallback to noop log service when spd log service is failed to create 2017-12-05 20:14:13 +01:00
Benjamin Pasero 637d0b2f99 log - do not use colors on windows 2017-12-05 18:22:19 +01:00
Joao Moreno 69fd0ddcbc Merge branch 'master' of github.com:Microsoft/vscode 2017-12-05 17:54:18 +01:00