Matt Bierner
474d4951d8
Switch to dompurify for sanitizing markdown content ( #131950 )
...
* Switch to dompurify for sanitizing markdown content
Switches us from using `insane` to instead use `dompurify`, which seems to be better maintained and also has some nice features, such as built-in trusted types support
I've tried to port over our existing sanitizer settings as best as possible, but there's not always a 1:1 mapping between how insane works and how dompurify does. I'd like to get this change in early in the iteration to catch potential regressions
* Remove logging and renaming param
* Move dompurify to browser layer
* Fixing tests and how we check valid attributes
* Allow innerhtml in specific files
* Use isEqualNode instead of checking innerHTML directly
innerHTML can return different results on different browsers. Use `isEqualNode` instead
* Reapply fix for trusted types
* Enable ALLOW_UNKNOWN_PROTOCOLS
I beleive this is required since we allow links to commands and loading images over remote
* in -> of
* Fix check of protocol
* Enable two more safe tags
2021-09-03 12:17:02 -07:00
Matt Bierner
44c4e57f13
Pick up new TS version
2021-09-02 10:09:25 -07:00
Alexandru Dima
e5613976de
Update to latest playwright
2021-09-01 18:18:03 +02:00
Alexandru Dima
0afa4cd1eb
push compilation output
2021-09-01 11:41:17 +02:00
Alexandru Dima
67d35ad418
Use relevant sections from package.json in the cache key computation
2021-09-01 11:38:10 +02:00
Benjamin Pasero
0b6b4b3d85
Enable screenshot option properly for smoke tests ( #131982 )
...
* smoke test
* undo failure
2021-08-31 17:35:22 +02:00
Logan Ramos
d2a8f91fb5
Update build scripts
2021-08-31 10:21:19 -04:00
Johannes Rieken
55f80e57a9
add missing compile file
2021-08-31 16:09:10 +02:00
Johannes Rieken
7e2452498f
fix https://github.com/microsoft/vscode/issues/130073
2021-08-31 14:44:42 +02:00
Matt Bierner
4c08ca59db
Go back to older TS version to work around formatting inconsistency
...
Reverting to older TS nightly to avoid https://github.com/microsoft/TypeScript/issues/45645
2021-08-30 13:54:40 -07:00
Matt Bierner
e03f5d4e27
Bump TS version
2021-08-30 13:54:39 -07:00
Johannes Rieken
e0c5f66bb5
Merge branch 'main' into joh/langStatus
2021-08-30 10:34:44 +02:00
Matt Bierner
c2d5e394c3
Pick up new TS version for building VS Code
2021-08-27 16:09:16 -07:00
Johannes Rieken
e6bec389fb
Merge branch 'main' into joh/langStatus
2021-08-27 14:51:28 +02:00
Ladislau Szomoru
25f89666dc
Bring back Windows smoke tests
2021-08-26 11:52:34 +02:00
Johannes Rieken
4baebf9ea0
Merge branch 'main' into joh/langStatus
2021-08-25 14:24:44 +02:00
Ladislau Szomoru
00ce3879c3
Comment out Windows smoke tests
2021-08-25 11:24:24 +02:00
Johannes Rieken
bdbcd48316
Merge branch 'main' into joh/langStatus
2021-08-23 18:37:45 +02:00
deepak1556
89bbd372f4
ci: update node modules cache
2021-08-20 10:19:59 -07:00
Johannes Rieken
2a79e2997c
Merge branch 'main' into joh/langStatus
2021-08-20 12:34:23 +02:00
Isidor Nikolic
b3579dc545
Merge pull request #131048 from microsoft/digitarald/more-filetypes
...
Adding most frequently used file associations
2021-08-20 11:28:36 +02:00
Johannes Rieken
47c2a4983c
Merge branch 'main' into joh/langStatus
2021-08-20 11:10:00 +02:00
Alex Dima
8ef3beee63
Move extra monaco.d.ts content to the recipe file
2021-08-20 10:21:29 +02:00
Alex Dima
5fd40b7782
Merge remote-tracking branch 'origin/main' into define-window-monaco-environment
2021-08-20 10:13:26 +02:00
Harald Kirschner
35742e91cc
Adding compiled version of the electron.ts
2021-08-18 14:08:28 -07:00
isidor
1bcb2b3768
Merge branch 'main' into digitarald/more-filetypes
2021-08-18 14:52:06 +02:00
Johannes Rieken
6d49535b2a
Merge branch 'main' into joh/langStatus
2021-08-18 09:24:37 +02:00
Harald Kirschner
dd95be5247
Remove rhtml as deprecated type
2021-08-17 18:00:32 -07:00
Harald Kirschner
2a59986e99
Adding most frequently used file assocations
2021-08-17 17:57:54 -07:00
Matt Bierner
acdb2d3cc3
Update TS version for building VS Code
2021-08-17 12:59:55 -07:00
Johannes Rieken
4222c512c2
add fly-out UI for language status items, tweak API proposal
2021-08-17 16:58:36 +02:00
Martin Aeschlimann
51c39d0df3
update isWebExtension check in built script ( fixes microsoft/vscode-internalbacklog#2295 )
2021-08-16 15:57:36 +02:00
isidor
a796c8e749
Register Code as an editor for supported file types default ON
2021-08-13 15:56:25 +02:00
Robo
ab311cf5be
fix: build native modules with CFG ( #130529 )
...
* fix: build native modules with CFG and /W4
* chore: bump spdlog@0.13 .6
* chore: remove unused env vars
Co-authored-by: SteVen Batten <stbatt@microsoft.com >
2021-08-12 09:59:53 -07:00
Benjamin Pasero
b794b9223c
:chore: sqlite3 module ( #130654 )
2021-08-12 09:37:55 +02:00
Logan Ramos
279c4d8fcb
Use the new loader format for web selfhost ( #130592 )
...
* Update workbench html and bump distro
* Bump distro
* Add web node paths to the build task too
* Split task for reuse
* Bump distro
2021-08-11 11:59:14 -04:00
Matt Bierner
08b1c2e68c
Pick up newest TS for building VS Code
2021-08-10 20:34:20 -07:00
Logan Ramos
8079e0b721
Move webNodePaths to run on compile since we rimraf out
2021-08-10 16:56:23 -04:00
Logan Ramos
6533d46465
Fix case where out/vs doesn't exist
2021-08-10 15:13:27 -04:00
Logan Ramos
82e4bc85cd
Dynamically generate web package paths
2021-08-10 14:44:58 -04:00
Matt Bierner
813c0b2178
Pick up newest TS versions
2021-08-09 11:24:34 -07:00
SteVen Batten
c0f739ea25
add compliance pipeline ( #130289 )
...
Adding SDL compliance pipeline
2021-08-09 07:37:21 -07:00
Tyler James Leonhardt
cfcda1c048
Improve performance of language detection ( #130006 )
...
* initial move to worker
* move event handling to the untitledTextEditorModel
* reuse simpleWorker interfaces and classes
* use correct path to languageDetection
* have vscode-languagedetection be outside of the asar
* add telemetry
* don't unpackage anything from languagedetection because it's not needed
* add an integration test
* some of Ben's feedback
* rework worker code to avoid duplication
* add isDisposed check
* fix test
* Isi and Ben feedback part 2
* use RunOnceScheduler instead and try to fix the test using events
* Ben feedback part 3
* bump distro
2021-08-06 11:56:14 -07:00
Robo
4fee848f2f
fix: CXXABI requirements for older distros ( #129360 )
...
* fix: use clang and libcxx from chromium
* chore: add flags for Link-Time Optimization
libcxx builds from upstream are built with LTO, avoiding these
flags will cause miscompiles
* chore: add lto flags to compilation units
2021-08-06 08:48:45 -07:00
deepak1556
d49d7e7fe1
chore: harder checks around universal build creation
2021-08-05 23:55:06 -07:00
deepak1556
49af1cbe00
fix: native module bundling in universal builds
...
Fixes https://github.com/microsoft/vscode/issues/130222
2021-08-05 23:02:58 -07:00
Matt Bierner
ab598a53ab
Only include prod node_modules from extensions
...
Fixes #130158
2021-08-05 13:39:04 -07:00
Benjamin Pasero
4178ea04ec
smoke - enable screenshot option for failing smoke tests
2021-08-05 12:35:42 +02:00
Matt Bierner
6838cc17b5
Revert "Revert "Update to build with latest TS version""
...
This reverts commit 3bf817f0f8 .
2021-08-03 12:01:56 -07:00
deepak1556
934d280a9f
chore: bump vscode-universal-bundler
...
Fixes https://github.com/microsoft/vscode/issues/115262
2021-08-02 22:14:02 -07:00