Commit Graph

55640 Commits

Author SHA1 Message Date
Jakob Fahr 9f2ca57b05 Fix #82199, numbers hard to read in light theme markdown preview (#82450) 2019-10-14 11:47:53 -07:00
SteVen Batten 2c535a36e9 focus first item on submenu mnemonic
fixes #82470
2019-10-14 11:47:15 -07:00
Daniel Imms 8447937abb Merge pull request #82380 from solomatov/change-new-terminal-title
Open New Terminal -> Open New External Terminal
2019-10-14 10:55:24 -07:00
Connor Peet 5767f6f21b minimap - allow variable scaling (#82265)
* minimap - allow variable scaling

This PR allows the minimap to be scaled to several constant values. Most of the
work in this PR is adjusting the the font renderer to render character at
variable sizes. It turns out most generic image scaling algorithms are not
built to scale down to one or two pixels (the default minimap font size has
1px by 2px characters), so some work was needed to make this possible and look
good.

Generating fonts at runtime does incur a small performance penalty, taking
about 0.6m at 1x scale and 0.9ms at 4x scale on my machine to create the font
the first time we render a minimap. If we want to avoid this, we could consider
shipping pre-rendered font for the first few scale settings.

At this moment this only supports scaling to a constant integer--effectively,
scaling the character width, since we start at 1x2px. More granular scaling
would be interesting, but will come at a runtime cost as we'll need to do
linear interpolation for each character we draw at a non-integral coordinate.

Draw speed is comparable to the previous version, the profiler reported in
the range of 8-11ms to render my test file in both the previous and new code.

I've tested this on my high DPI Macbook display and it appears to work well
there too.

Talking to Alex, something we may need to look into is matching the user font
and render settings. Previously, and continuing in this PR, we use the default
monospace font on the system with a restricted set of character codes.
Previously the sidebar's font was too small to be visible, but now its content
can be seen under large settings. We may need to look and reworking how this
data is rendered. Perhaps we generate the characters we need on the fly into
their own buffers? Open to ideas.

Fixes https://github.com/microsoft/vscode/issues/21773

* fixup! not caching created factory

* fix common/browser component layering

* fixup! use a constant upscale for hDPI

* small tweaks

* fixup! pr comments

* fixup! reduce max minimap scale
2019-10-14 10:53:34 -07:00
Miguel Solorio aad1e68331 Merge pull request #82395 from microsoft/misolori/monokai-theme
Improve readability of comments in diff view for Monokai theme
2019-10-14 10:48:27 -07:00
Miguel Solorio 12625aaffd Merge branch 'master' into misolori/monokai-theme 2019-10-14 10:48:09 -07:00
Miguel Solorio c534a1cea9 Fix #64684 2019-10-14 10:42:30 -07:00
Benjamin Pasero 55aa1de95c Revert "🆙 graceful-fs@4.2.2 (#82058)"
This reverts commit 3c70da4c8c.
2019-10-14 19:09:32 +02:00
Miguel Solorio cbf7642083 Map 'stop' Octicon to 'error' Codicon 2019-10-14 10:03:19 -07:00
Benjamin Pasero a65701ec2e strict null 2019-10-14 18:24:08 +02:00
Miguel Solorio 774a6b0b6b Update Codicon icon mapping for Octicons 2019-10-14 09:16:40 -07:00
isidor 3cc2460c3b debug: more async await 2019-10-14 17:51:00 +02:00
isidor 460ef3a4a6 debug session: more async await 2019-10-14 16:43:14 +02:00
Erich Gamma 7485ffde50 Some polish for 'Run NPM Script in Folder' 2019-10-14 16:13:06 +02:00
Erich Gamma aa9a4820e6 Merge branch 'helen3141-runNpmFromContextMenu' 2019-10-14 16:13:06 +02:00
Johannes Rieken 8ddfe42838 fix #78202 2019-10-14 16:01:37 +02:00
Johannes Rieken 68bf7d7297 💄 2019-10-14 16:01:25 +02:00
Johannes Rieken 563d56cbd2 fix #69637 2019-10-14 15:37:23 +02:00
Benjamin Pasero ce720bbbb0 web - fix spelling mistake 2019-10-14 15:34:55 +02:00
Benjamin Pasero b2157cbe2e Revert "Revert "debt - adopt new fs.readdir with stat info""
This reverts commit 956208bb05.
2019-10-14 15:32:35 +02:00
Benjamin Pasero 21cda4e0f0 chokidar - ignore *.asar by default 2019-10-14 15:28:24 +02:00
Joao Moreno e06de411d2 fixes #82359 2019-10-14 15:19:44 +02:00
Benjamin Pasero 40aed75986 fix #56651 2019-10-14 15:14:34 +02:00
Benjamin Pasero b9438bb3a6 fix #41691 2019-10-14 15:11:01 +02:00
isidor 2e5e00128c extHostDebugService: Enable strictPropertyInitialization
#78168
2019-10-14 14:43:34 +02:00
Johannes Rieken 9fe70996f7 fix #65561 2019-10-14 14:39:44 +02:00
Johannes Rieken 7b1cedcfe4 fix #82491 2019-10-14 14:39:44 +02:00
isidor ba82bddd89 remove unused 2019-10-14 14:39:44 +02:00
isidor 9c7f7d60e7 debug: do not report errors from configurationDone
fixes #82354
2019-10-14 14:39:44 +02:00
Martin Aeschlimann 26225a3f4c partsSlash: latest theme colors not persisted on color change 2019-10-14 14:39:44 +02:00
Martin Aeschlimann cc49f34f42 workbenchThemeService: Strict property initialization (#78168) 2019-10-14 14:39:44 +02:00
Alex Dima 617ca966a7 Remove bad test assertion 2019-10-14 14:39:44 +02:00
Alex Dima 081ba54144 Strict property initialization (#78168) 2019-10-14 14:39:44 +02:00
Martin Aeschlimann 03dd464b47 Command line error - "Option 'proxy-server' is unknown. Ignoring.". Fixes #82253 2019-10-14 14:39:44 +02:00
Daniel Imms a6511f9955 Revert "Fix strictFunctionTypes errors in terminal proxy"
This reverts commit 7f5a4a3f5b.
2019-10-14 14:39:44 +02:00
Martin Aeschlimann 5e61bbd54f Recent Workspaces list broken with UNC paths and root of a drive. Fixes #74362 2019-10-14 14:39:44 +02:00
Matt Bierner 5a24d13624 Update highlight js and md versions 2019-10-14 14:39:44 +02:00
Matt Bierner 664fe8f910 Show preferred action info in lightbulb hover
Fixes #69976
2019-10-14 14:39:44 +02:00
Matt Bierner 592e0ca271 Remove more duplicated types 2019-10-14 14:39:44 +02:00
Matt Bierner 9a8be02e5d Use normalized path for loading remote webvie resources
With the new asWebviewUri function, the raw uri is in a format the the remote file system will not be able to understand. Make sure we use the normalized path which is in the correct format
2019-10-14 14:39:43 +02:00
Alex Dima 3d716c20e2 Fixes #45131: Render a floating click widget when the diff editor has whitespace only changes and whitespace is ignored 2019-10-14 14:39:43 +02:00
Alex Dima f9a37b406a Avoid excessive Promise.resolve 2019-10-14 14:39:43 +02:00
Alex Dima e85b326d5c Add DiffEditor contributions 2019-10-14 14:39:43 +02:00
Alex Dima 7b9364af5d Improve labels (#45131) 2019-10-14 14:39:43 +02:00
Rachel Macfarlane d783f9ec2d strictPropertyInitialization in comments, #78168 2019-10-14 14:39:43 +02:00
Johannes Rieken e27cc21299 fix #65561 2019-10-14 13:02:00 +02:00
Johannes Rieken ceeb587991 fix #82491 2019-10-14 11:53:02 +02:00
isidor 9b52e74045 remove unused 2019-10-14 11:34:09 +02:00
isidor d17d837007 debug: do not report errors from configurationDone
fixes #82354
2019-10-14 11:07:50 +02:00
Martin Aeschlimann 826a5ca408 partsSlash: latest theme colors not persisted on color change 2019-10-14 11:04:51 +02:00