Commit graph

76111 commits

Author SHA1 Message Date
Matt Bierner
925d9234b8 Pick up latest TypeScript 4.2 nightly
This also migrates us to use our normal TS install for the serverless version
2021-02-01 14:15:27 -08:00
Matt Bierner
833bae4fd9 Add more explicit implementations of ICustomEditorInputFactory
Fixes #115516
2021-02-01 14:02:14 -08:00
Sandeep Somavarapu
0f9ff35c82 Fix #115289 2021-02-01 22:48:20 +01:00
Martin Aeschlimann
61decba033 fix extension categories sort order 2021-02-01 22:40:54 +01:00
Martin Aeschlimann
efaceb5f68 Enable 'Install Additional Product Icon Themes' 2021-02-01 22:36:10 +01:00
Matt Bierner
82af67ebce
Plumb etags through rest of the webview resource pipeline (#115360)
This follows up on 1f8643ef76 to:

- Use etags to prevent file reads if the file has not changed
- Use etags inside the service worker based resource loading flow (web)
2021-02-01 11:55:28 -08:00
Connor Peet
80ba07df03
notebooks: add generic colors for renderers (#109412) 2021-02-01 10:18:07 -08:00
Jackson Kearl
d5685965c5 Fix keybinding for Search view missing from view and sidebar
#115556
2021-02-01 09:56:30 -08:00
Connor Peet
0eaf57957f
typeahead: line wrap improvements
Some time ago we made it so that predictions would not start for a line
until the first character was successfully predicted, in order to not
accidentally predict passwords.

This was good, except when it came to wrapping. When predicting a
character, we check the cursor position to check to see whether we
should insert a boundary. However if no predictions are made (or if
there's any boundary in the way) the cursor would be behind the
position for prediction purposes. Namely caused wrapping issues when
pasting long commands in the terminal.

In this commit I separate the physicalCursor from the tentativeCursor,
the latter now always tracks the position of the cursor after _all_
currently-queued predictions have been validated.

This also changed how cursors are dealt with in boundaries -- I still
push the tentative prediction, but this now only moves the tentative
cursor, not the physical one.

This existed before, so I don't think this is candidate-worthy.

Fixes #115164
2021-02-01 09:37:38 -08:00
SteVen Batten
7583817a12 added unreleased fixes to endgame notebook 2021-02-01 09:27:26 -08:00
Johannes Rieken
a5a33501be chore - group notebook specific api proposals together 2021-02-01 18:22:04 +01:00
Alex Ross
b37252c182 Update grammars 2021-02-01 17:48:44 +01:00
Benjamin Pasero
02d28757e8 💄 2021-02-01 17:14:08 +01:00
Johannes Rieken
abbc2e305d more API todos for notebooks 2021-02-01 16:53:56 +01:00
Alexandru Dima
750888c496
Merge pull request #114957 from TacticalDan/tacticaldan/scrollingPerformance
Reduce arbitrary event limiter from 16ms down to 4.16666 (#107016)
2021-02-01 15:46:41 +01:00
Alexandru Dima
b82933a1d2
Limit to 8ms (120fps) 2021-02-01 15:46:09 +01:00
Alexandru Dima
0ac7f0ee83
Merge branch 'master' into tacticaldan/scrollingPerformance 2021-02-01 15:37:38 +01:00
Alex Ross
3ec92ad8ad Better hiding of custom hover in icon label 2021-02-01 15:20:36 +01:00
Benjamin Pasero
a5b078b551 debt - adopt some ? operator 2021-02-01 15:16:27 +01:00
Benjamin Pasero
bc837b7162 💄 dialog main service locks 2021-02-01 14:55:34 +01:00
Cameron
38ca4695d1
Fix #114432: Multiple save dialogs appearing on Windows if Ctrl+S is pressed multiple times (#114450)
* fix multiple save dialogs appearing on Windows when spamming Ctrl+S

* remove old fix and instead keep track of windows with open dialogs in the dialogMainService

* keep initialisation of activeWindowDialogs in constructor

* remove unused variable

* some changes

* queue dialogs based on hash of options

* simplify structure, fix comment typo

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* remove unnecessary async/await for aquireFileDialogLock method

* don't acquire file dialog lock for message boxes

* use MessageBoxReturnValue | SaveDialogReturnValue | OpenDialogReturnValue instead of any type for getWindowDialogQueue

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2021-02-01 14:41:44 +01:00
Johannes Rieken
178e7034bc simplify map creation, fyi @bpasero 2021-02-01 14:36:47 +01:00
Alex Ross
a0cb5c5a46 Fix port label not always getting set
Part of microsoft/vscode-remote-release#4364
2021-02-01 14:34:07 +01:00
Alexandru Dima
ad8f7e1872
Fixes microsoft/monaco-editor#2329: Move registerThemingParticipant call to /editor/ 2021-02-01 14:31:47 +01:00
Alex Ross
b24036eaa2 Use label as tooltip fallback properly
Part of #115337
2021-02-01 14:16:23 +01:00
Johannes Rieken
2681e07db4 more notebook todos 2021-02-01 14:11:29 +01:00
Alexandru Dima
53ae79d62d
Avoid the CSS general sibling combinator ~ for perf reasons 2021-02-01 14:11:12 +01:00
isidor
ddd678ab29 debug console menu action polish 2021-02-01 14:02:42 +01:00
Alexandru Dima
f37f96bbec
Merge pull request #115261 from microsoft/alex/language-config-priority
Give a higher priority to language configuration set via API call
2021-02-01 13:47:52 +01:00
Alexandru Dima
47390dbe1b
Fixes #115221: update emoji tests 2021-02-01 13:42:14 +01:00
Johannes Rieken
300effb0c8 add some notebook API todos 2021-02-01 12:45:27 +01:00
isidor
01e92bdc93 debug: do not render checkmark in view menu for the debug console 2021-02-01 12:00:12 +01:00
Daniel Imms
b08c1eb5bc
Merge pull request #115345 from shskwmt/fix/115154
Fixes 115154: Add "overflow: hidden" style to split-view-view
2021-02-01 02:44:51 -08:00
Benjamin Pasero
1f4506183c for now remove isSaving() implementation from custom editors (#115526) 2021-02-01 11:44:30 +01:00
João Moreno
34ca121102 adopt Promises.settled 2021-02-01 11:39:27 +01:00
Daniel Imms
00a199daf7
Merge branch 'master' into fix/115154 2021-02-01 02:38:37 -08:00
Daniel Imms
8b510618c8
Merge pull request #115401 from microsoft/tyriar/115390
Make term config tests await config
2021-02-01 02:34:20 -08:00
Benjamin Pasero
0627cf0a2d event - adopt Promises.settled in async emitter (#115522) 2021-02-01 11:33:09 +01:00
Benjamin Pasero
769ad06e7c Promise.allSettled - use native variant if it exists 2021-02-01 11:18:56 +01:00
Benjamin Pasero
71bd9c5032 Revert "event - adopt Promises.settled in async emitter (#115522)"
This reverts commit 126959896f.
2021-02-01 11:12:21 +01:00
Alexandru Dima
643cbb2aaa
Fixes microsoft/monaco-editor#2328: In some webpack configurations, process can be defined, while process.nextTick is not 2021-02-01 11:11:34 +01:00
Benjamin Pasero
126959896f event - adopt Promises.settled in async emitter (#115522) 2021-02-01 11:07:08 +01:00
Alexandru Dima
5c7fc5da28
Fixes #112382: Use replacement characters when doing dom based line break computin 2021-02-01 11:03:14 +01:00
Benjamin Pasero
c2759462f8 backups - catch errors on shutdown and don't show modal dialogs in extension development (#115028) 2021-02-01 10:37:35 +01:00
Benjamin Pasero
0ca20779b5 Promise.all() does not await all promises when one throws (#115522) 2021-02-01 10:34:43 +01:00
Benjamin Pasero
08c73d7b6e history - make sure to track file renames properly (#113277) 2021-02-01 10:34:42 +01:00
Benjamin Pasero
8d6164f25d 🆙 chokidar@3.5.1 2021-02-01 10:34:42 +01:00
Benjamin Pasero
d30c12dc6b debt - fix some types in bootstrap JS files 2021-02-01 10:34:42 +01:00
Guilherme Herzog
a9b9890488
Improving performance of tree traversal getViewState function (#115387)
Co-authored-by: Gui Herzog <guiherzog@google.com>
2021-02-01 09:59:50 +01:00
Benjamin Pasero
f5bb67e37a
Unit tests cleanup (#115377)
* Tests: avoid creating real editors (fix #115230)

* tests - bring back file editor input factory test

* tests cleanup

* more cleanup
2021-02-01 08:45:42 +01:00