Commit Graph

939 Commits

Author SHA1 Message Date
Benjamin Pasero b9cdcecf33 polish from feedback 2018-01-23 12:35:32 +01:00
Benjamin Pasero 5974501606 Merge branch 'master' into ben/fix-35491 2018-01-23 12:25:26 +01:00
Benjamin Pasero 36cafba0ac ext dev - delete untitled workspace on close 2018-01-23 12:20:31 +01:00
Matt Bierner 65064fd524 Make sure log body is properly encoded 2018-01-22 18:31:20 -08:00
Matt Bierner 3877f2a950 Fix parsing of result message in uploadlogs 2018-01-22 17:47:35 -08:00
Matt Bierner f73e7bddfa Dont load loguploader using import expression 2018-01-22 17:47:35 -08:00
Joao Moreno 8f58711d82 Merge branch 'joao/win32-update'
fixes #41676
2018-01-22 20:08:59 +01:00
Benjamin Pasero 1bcfe5b5c7 fix #41989 2018-01-22 19:00:47 +01:00
Joao Moreno a43926a61e document update state machine 2018-01-20 15:24:23 +01:00
Joao Moreno 0192c680eb linux: state should be idle after download 2018-01-19 22:13:29 +01:00
Joao Moreno c902f478a2 Merge remote-tracking branch 'origin/master' into joao/win32-update 2018-01-19 19:32:55 +01:00
Joao Moreno 16306c893a unify update services across platforms 2018-01-19 19:25:43 +01:00
Benjamin Pasero f796928a8e some menu polish for issue reporter 2018-01-19 15:38:05 +01:00
Benjamin Pasero 76cbab0a2f some polish and fixes 2018-01-19 12:02:44 +01:00
Joao Moreno 178f9a95b6 wip: windows fast updates 2018-01-19 11:31:36 +01:00
Rachel Macfarlane 69c2797641 Fix test and rename css file 2018-01-17 12:47:41 -08:00
Rachel Macfarlane 90a6e533dd Some more styling tweaks and bit of code cleanup 2018-01-17 12:47:41 -08:00
Rachel Macfarlane 104dbb9e0a Fix merge conflict from rebase 2018-01-17 12:47:41 -08:00
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
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
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 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 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 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