Alex Dima
2abf8d3779
Introduce addMatchMediaChangeListener with support for Safari 13.x
2021-05-12 15:55:52 +02:00
Matt Bierner
e1f0f8f513
Add override keyword in codebase ( #120755 )
...
For #120675
This uses a script to add the override keyword to places that need it in the codebase
Note that we can't enable the --noImplicitOverride setting yet since there are still around 200 errors that require further attention
2021-04-08 10:05:20 -07:00
Alexandru Dima
f1d92e7896
Remove Edge Legacy workarounds
2021-02-22 16:57:41 +01:00
Matt Bierner
094777f392
Fix alt for menus inside of webviews ( #116830 )
...
Fixes #104329
This fixes two things:
- Keyup events from webviews were not dispatched back to the main window. We usually listen on keydown but the menubar listeners needs both keydown and keyup
- Instead of listening on document.body for keypress events, we need to listen on window
2021-02-18 19:05:47 -08:00
SteVen Batten
ae0cfa4ec4
fixes #115810
2021-02-05 10:54:47 -08:00
Martin Aeschlimann
684f61b456
Allow to contribute to icon registry from icon contribution point. Fixes #114942
2021-02-04 15:16:57 +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
SteVen Batten
20f8e59d69
fixes #112347
2021-01-27 11:26:49 -08:00
TacticalDan
601161f8dd
Reduce arbitrary event limiter from 16ms down to 4.16666 (support for monitors up-to 240hz) #107016
2021-01-25 14:43:58 -07:00
Alex Dima
de11a7dec6
Rename isEdge to isEdgeLegacy (see https://support.microsoft.com/en-us/help/4533505/what-is-microsoft-edge-legacy )
2021-01-22 17:49:49 +01:00
Benjamin Pasero
d7ddcd1e08
debt - cleanup WebFileSystemAccess#supported
2021-01-22 14:28:20 +01:00
Johannes Rieken
51ea16966b
💄 remove appendChildren infavor of append, fyi @bpasero
2021-01-05 16:43:52 +01:00
Johannes Rieken
c46eca1dd3
Merge pull request #113518 from nrayburn-tech/update-dom
...
update dom to use newer methods
2021-01-05 16:20:59 +01:00
Benjamin Pasero
c4ea0b5590
fix some spelling mistakes
2021-01-05 10:36:10 +01:00
Alexandru Dima
a1760b1a6c
Merge branch 'master' into update-dom
2021-01-05 09:27:23 +01:00
Alexandru Dima
d746f2d277
Fixes microsoft/monaco-editor#2220
2020-12-29 11:14:50 +01:00
Nick Rayburn
0439aef7b3
update dom to use newer methods
2020-12-28 20:35:17 -06:00
Benjamin Pasero
039f15a0f9
💄
2020-12-10 09:17:02 +01:00
Johannes Rieken
a0cbecb188
Merge pull request #112069 from engelsdamien/master
...
Updates tsec and rewrites sinks assignement
2020-12-09 11:35:58 +01:00
Rachel Macfarlane
c643c433e8
Remove extra whitespace in dom.ts
2020-12-08 11:49:53 -08:00
YtCsj
3a47fc387a
bug fix, see #112013 ( #112015 )
...
* bug fix, see #112013
* Update dom.ts
fix 1.51.0 new multibyteAwareBtoa function, see # #112013
* Update dom.ts
format document
2020-12-08 08:52:40 -08:00
Benjamin Pasero
affd21e65a
tabs - partially take changes from PR 106448 to reduce diff
2020-12-08 17:20:24 +01:00
Damien Engels
5865aeaa7b
Rewrites Trusted Types sink assignements
...
Moves the casts to the sink assignement expression so that tsec can
recognize it.
2020-12-08 08:40:05 +01:00
Jackson Kearl
0921f711c3
Add GettingStartedService/Registry and initial getting started UI ( #111175 )
...
* WIP -Getting Started Registry
* Initial idea of how registry/service will work
* Getting started with Getting Started
* Add telemetry and touch up enablement flag
* Add contrib as startup editor
* Move to allowing static Getting Start blob
* No newline
* Remove unused enum
2020-11-25 14:05:49 -08:00
Matt Bierner
f23e47b9a2
Extract getParentFlowToElement
2020-11-10 17:50:11 -08:00
Matt Bierner
3338ff4e18
Fixes navigation commands for webviews
...
Fixes #100536
These commands currently do not work because:
- The use the `hasFocus` check in layout.ts
- This looks at the active element and checks if the active element has a parent in the editor dom
- However webviews are outside of the normal dom flow (since they cannot be reparented without being destroyred)
To fix this, this PR adds allows dom node to point to their explicit parent using `setParentFlowTo`. Instead of a normal ancestor check, we then check ancestors while observing the flow to parents of node
The webview element is then update to have a parent flow to that points at its editor node
2020-11-06 13:35:59 -08:00
Johannes Rieken
1a130d2c17
remove unused code, https://github.com/microsoft/vscode/issues/103454
2020-10-27 18:09:54 +01:00
Daniel Imms
cece809137
Remove deprecated methods and refs in terminal
...
Fixes #103454
2020-10-27 09:54:32 -07:00
Benjamin Pasero
58050c8c53
web - adopt modifier key emitter for shutdown prevention
2020-10-23 13:52:21 +02:00
isidor
ff805b3a35
Consolidate ModifierKeyEmitter and AlternativeKeyEmitter
...
fixes #109062
2020-10-23 12:13:44 +02:00
SteVen Batten
9eaeb4db68
move menubars modifier key emitter to dom.ts
...
refs #109062
2020-10-22 10:33:49 -07:00
Johannes Rieken
114b969136
fix https://github.com/microsoft/vscode/issues/109149
2020-10-22 17:56:23 +02:00
Johannes Rieken
2fdbf69523
allow ol-tags in saferInnerHtml, https://github.com/microsoft/vscode/issues/109149
2020-10-22 11:59:14 +02:00
Johannes Rieken
296b20afba
Merge branch 'master' into joh/resizeSuggest
2020-10-21 16:56:02 +02:00
Martin Aeschlimann
05c579b7ba
Remove some deprecated code in ./src/vs/base. For #103454
2020-10-20 18:04:18 +02:00
Johannes Rieken
9521e6b42a
better presisting of sizes, simplify layout, fix issues with status bar
2020-10-20 12:35:36 +02:00
Johannes Rieken
591c49a74b
add dom.Dimension#with more modification, adopt class-vs-interface usage
2020-10-19 21:38:44 +02:00
Benjamin Pasero
cd2a92ae13
web - allow to download folders ( fix #83579 )
2020-10-19 10:48:40 +02:00
Benjamin Pasero
8d7ad831e5
Improve window.withProgress in status bar to use a static spin icon ( fix #108657 )
2020-10-19 08:07:52 +02:00
Johannes Rieken
caf096c408
💄 insane options creation
2020-10-15 17:49:21 +02:00
Benjamin Pasero
50ee84f780
debt - btoa/atob is not core
2020-10-15 13:55:18 +02:00
Jackson Kearl
0a3a0fa9eb
Allow command as a scheme for href's/etc.
...
Fixes #108577
2020-10-14 11:42:24 -07:00
Johannes Rieken
e3dcfe77bc
some 💄 and reuse, https://github.com/microsoft/vscode/issues/106395
2020-10-09 11:22:29 +02:00
Johannes Rieken
c0f4a57e22
use trusted html in issue reporter, fyi @RMacfarlane, https://github.com/microsoft/vscode/issues/106395
2020-10-09 11:22:29 +02:00
Johannes Rieken
f5ccc129cc
cell renderer tweak wrt to tt policy
2020-10-08 11:34:31 +02:00
Johannes Rieken
40cd3b8bdd
update search file, remove unused functions, https://github.com/microsoft/vscode/issues/103454
2020-10-06 10:25:37 +02:00
Johannes Rieken
5d9b22c4fa
add and adopt trusted types apply util, https://github.com/microsoft/vscode/issues/106396
2020-10-05 13:59:43 +02:00
Benjamin Pasero
e443e37531
fix #107893
2020-10-01 19:34:58 +02:00
Benjamin Pasero
ee8378e806
file access - merge asDomUri into
2020-09-25 18:04:38 +02:00