deepak1556
79a429d92d
chore: bump electron@12.0.2
2021-04-09 03:20:20 -07:00
Benjamin Pasero
5bf85d71d8
perf - warm up canvas in idle callback ( #120916 )
...
* perf - warm up canvas in idle callback
* also warmup for sandbox
2021-04-09 12:15:03 +02:00
isidor
c82eb7d498
bring back accessibilityPageSize from deprecation, it is still needed due to upstream issues
...
#41423
2021-04-09 11:51:31 +02:00
Benjamin Pasero
b0733b55b9
layout code 💄
2021-04-09 11:46:33 +02:00
isidor
845efe5d8e
debug: Variable do not override ExpressionContainer type
2021-04-09 10:46:09 +02:00
isidor
239bc433cb
Debugger: Add option to allow disconnect and stop/terminate UI elements
...
fixes #116731
2021-04-09 10:32:34 +02:00
Alex Ross
fb5cc92c38
Update no commandline message in ports view
2021-04-09 10:23:31 +02:00
João Moreno
ac4f97790f
fix quick input title
2021-04-09 10:20:04 +02:00
Christof Marti
3af3fe66aa
Improve logging ( #4813 )
2021-04-09 10:17:34 +02:00
Christof Marti
41985fd83b
Update distro commit
2021-04-09 10:17:34 +02:00
João Moreno
53746f5cae
fixes #120905
2021-04-09 10:06:59 +02:00
João Moreno
fb10227835
fixes #120871
2021-04-09 10:04:31 +02:00
Benjamin Pasero
9f9f73d704
perf - more fine grained window counters
2021-04-09 10:00:51 +02:00
Johannes Rieken
65a8d0905e
update ref viewlet
2021-04-09 09:13:21 +02:00
Benjamin Pasero
f8c7dd64a4
tests - ensure preload promises are all resolved
2021-04-09 08:28:21 +02:00
Benjamin Pasero
ec972e8acc
ts - fix some override errors ( #120675 )
2021-04-09 08:02:04 +02:00
Matt Bierner
479d3fcbed
Remove log
2021-04-08 22:06:22 -07:00
Matt Bierner
13944bac07
Pick up new katex version
2021-04-08 22:06:22 -07:00
Tyler James Leonhardt
062e89fa19
Don't scroll to top when removing entries from recently opened ( #120404 )
...
Fixes #76193
2021-04-08 22:00:27 -07:00
Miguel Solorio
08c3c088ba
Polish getting started layout
2021-04-08 21:47:15 -07:00
Matt Bierner
d5e4bdc814
Remove unused import
2021-04-08 21:29:45 -07:00
Matt Bierner
3c89afbbc4
Pull in newer markdown-it katex version
2021-04-08 21:27:45 -07:00
Matt Bierner
9708fb15ff
Fix markdown cells being re-rendered twice on edit
...
After editing a cell, we were incorrectly rendering a cell twice. This is caused by `this.textModel` becoming undefined in `MarkdownCellViewModel`
2021-04-08 21:27:45 -07:00
Matt Bierner
989c39e178
Remove commented code
2021-04-08 21:27:45 -07:00
Matt Bierner
ecb45f5207
Move shared webview focus implementation into base class
2021-04-08 21:27:45 -07:00
Rob Lourens
ed655c2d2e
Fix split json editor underline
...
Fix #120876
2021-04-08 19:56:52 -07:00
Matt Bierner
4b5ef68872
Use cloneNode to inject default styles
2021-04-08 19:35:04 -07:00
Matt Bierner
02e5ed5280
Avoid calling applyStyle
again if the style has not changed
2021-04-08 19:24:35 -07:00
Matt Bierner
6b5122bb06
Add typings
2021-04-08 19:20:05 -07:00
Matt Bierner
3fc15fb34a
Remove unused function
2021-04-08 18:53:42 -07:00
Matt Bierner
923fbc8c2a
Cancel resource load when the webview is disposed of
2021-04-08 18:49:49 -07:00
Matt Bierner
d5b46d6e56
Use transfer for sending resource buffer from webview to service worker
2021-04-08 18:48:26 -07:00
Matt Bierner
595c14a8d3
Inline rewriteUri
into loadLocalResource
...
We now have a single caller to `loadLocalResource` so it makes sense to inline the uri rewriting logic
2021-04-08 17:46:50 -07:00
Matt Bierner
2d7ddf5a38
Remove extra indirection around loadLocalResource
...
`loadLocalResource` is now only used from a single calling path, so it does not need to allow passing in a custom file service implementation
2021-04-08 17:33:14 -07:00
Matt Bierner
8a91839989
Move webview resource loading from platform
to workbench
...
These functions are now only needed on the renderer side, not on the main process
2021-04-08 17:24:00 -07:00
Matt Bierner
de9887d9e0
Remove vscode-webview-resource path normalization logic
...
We should now handle normalization before `loadLocalResource` is invoked and should never see a `vscode-webview-resource` uri being passed in
2021-04-08 17:10:43 -07:00
Matt Bierner
9c9e188aa0
Don't use 'self' for image editor csp
...
On desktop, we now serve webview resources from a different origin than the webview itself. This means we no longer can use `'self'` in our CSP as shorthand and instead should always use the provided `cspSource`
2021-04-08 17:08:08 -07:00
Matt Bierner
044a99585c
Make sure we use the webviewResourceRoot on for computing cspSource
...
Fixes #120879
2021-04-08 16:59:59 -07:00
Matt Bierner
84391165c3
Pass in correct project root for notebook cells
2021-04-08 16:49:04 -07:00
rebornix
f5ea03079a
turn off logging for notebook.
2021-04-08 16:35:39 -07:00
Eric Amodio
3622dafdc0
Adds new proposed api for scm input validation
2021-04-08 19:24:53 -04:00
Matt Bierner
852375649c
Remove extra whitespace
...
Mistakenly added as part of #120654
Doesn't seem to cause issues in the current builds but breaks our electron 12 build
2021-04-08 13:59:56 -07:00
Connor Peet
614dd5174f
testing: fix explorer view
2021-04-08 13:58:15 -07:00
rebornix
618705cc57
Merge branch 'notebook/dev' into main
2021-04-08 13:51:40 -07:00
rebornix
93934cacd0
precalcuate cell editor height: guess if the editor will render scrollbar.
2021-04-08 13:51:10 -07:00
Matt Bierner
bc506127ab
Temporarily restore vscode-webview-resource constant
...
Mistakenly checked in removal while Looking into removing this constant entirely
2021-04-08 13:46:32 -07:00
Matt Bierner
1c27a28517
Fix rewriting old-school vscode-resource uris
...
Fixes #120863
This centralizes the rewriting into `baseWebviewElement`, which lets us share more code between desktop and web (and hoepfully makes the behavior of the two consistent)
2021-04-08 13:34:45 -07:00
Sandeep Somavarapu
7c26f27d90
#120860 Implement trusted workspace settings
2021-04-08 22:26:54 +02:00
Raymond Zhao
f689971195
Mark Emmet trusted
2021-04-08 13:07:25 -07:00
Matt Bierner
bd815e462d
Don't warmup markdown preview when input is collapsed
...
Fixes #120845
2021-04-08 12:53:05 -07:00