Commit graph

3835 commits

Author SHA1 Message Date
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
Matt Bierner 3bf817f0f8
Revert "Update to build with latest TS version"
This reverts commit e53be27652.
2021-08-02 17:25:14 -07:00
Matt Bierner e53be27652
Update to build with latest TS version 2021-08-02 15:33:27 -07:00
Logan Ramos e97a825a09
Reset timeout 2021-08-02 09:28:38 -04:00
Logan Ramos c617bfa26c
Try longer timeout 2021-07-29 12:22:27 -04:00
Alex Ross 5bd829ab7c
Revert "Comment out smoke tests on windows"
This reverts commit dbd291c716.
2021-07-27 17:41:17 +02:00
Alex Ross dbd291c716
Comment out smoke tests on windows 2021-07-27 13:30:07 +02:00
Logan Ramos c8e6d08e3a
Update to the latest extension module 2021-07-26 13:44:43 -04:00
Rob Lourens 5793ae026a Rename serializer extension and set up build scripts 2021-07-21 15:03:24 -07:00
Tyler Leonhardt e2b2cf2050
include model in web package 2021-07-19 14:26:16 -07:00
Matt Bierner 9c7eeafb1d
Pick up latest TS nightly for building VS Code 2021-07-19 10:56:30 -07:00
Tyler James Leonhardt 8f88009816
Initial support for language detection (#128708)
* initial language detection

* add configuration and extra event on UntitedTextEditorService

* check isWeb, use beter mode API, include model in unpacked

* typo in path
2021-07-16 16:43:23 -07:00
João Moreno bb5e8374d9
💄 2021-07-16 13:06:51 +02:00
João Moreno 8df547fef3
Merge branch 'main' into pr/117713 2021-07-16 13:03:08 +02:00
Johannes Rieken ce17560387
fix missing nls entry 2021-07-15 14:51:56 +02:00
Matt Bierner 1ac570edce
Update to build using latest TS nightly 2021-07-14 14:42:43 -07:00
Martin Aeschlimann 7927075f89
Merge pull request #128545 from microsoft/joh/webpack5
Adopt webpack 5
2021-07-14 22:32:54 +02:00
Robo 9520f0a515
chore: update to electron 13 (#124666)
* chore: bump electron@13.0.1

* chore: update cache for native modules

* chore: bump electron@13.1.2

* chore: bump electron@13.1.4

* chore: fix user data dir length for validateIPCHandleLength check

* chore: always disable uploadToServer on OSS

* chore: use process.contextIsolated property

* chore: bump electron@13.1.6

* fix: getUserDataPath helper
2021-07-13 20:01:10 -07:00
Martin Aeschlimann d38279ba73
Merge branch 'main' into joh/webpack5 2021-07-13 09:27:13 +02:00
João Moreno af7e67f8e4
use esrpcli.dll 2021-07-09 15:34:36 +02:00
Martin Aeschlimann 7ded90e452
Merge branch 'main' into joh/webpack5 2021-07-09 09:50:10 +02:00
Matt Bierner 0762d23ae7
Build VS Code using TS 4.4 (#127823)
* Build VS Code using TS 4.4

* Remove usages of deprecated `ClientRectList`

* Add any casts for missing `caretRangeFromPoint`

* Add temporary any casts for `zoom` css propery

This non-standard css property no longer exists in lib.dom.d.ts

* MouseWheelEvent -> WheelEvent

* Pick up new TS nightly

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2021-07-08 14:27:39 -07:00
Martin Aeschlimann 7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
João Moreno a28d028d2d
Enable automated smoketests on Windows (#128224) 2021-07-08 19:10:25 +02:00
Johannes Rieken a3e07245ee
Revert "Revert "Merge pull request #127874 from microsoft/joh/webpack5""
This reverts commit c5f12c7226.
2021-07-08 10:28:33 +02:00
Connor Peet 6cc4e560f7
testing: remove unused testing-editor-contributions
Fixes #127691
2021-07-07 15:38:27 -07:00
Matt Bierner f0ac3ce6fa
Remove webview publish build stage
We now pull in the webview html/js from our a different cdn instead of from this endpoint. We will keep the endpoint around for older VS Code builds but no longer publish content to it
2021-07-07 09:35:25 -07:00
Benjamin Pasero d0df79be50
webview - remove more traces (#128128)
* webview - remove more traces

* more removal
2021-07-07 18:28:53 +02:00
Johannes Rieken c5f12c7226
Revert "Merge pull request #127874 from microsoft/joh/webpack5"
This reverts commit 1f5b688e9c, reversing
changes made to 6efcb92e34.
2021-07-07 18:04:11 +02:00
Matt Bierner 2222f3cc1d
Switch entirely to iframe based webviews on desktop
Fixes #83188
Part of #92164

Removes our usage of the electron `<webview>` tag
2021-07-06 12:40:51 -07:00
João Moreno 7c1e41b091
introduce git-blame-ignore 2021-07-06 20:30:21 +02:00
Johannes Rieken 81e4075936
maxModules has been removed 2021-07-02 17:40:24 +02:00
Johannes Rieken 6b5129650b
adopt webpack stream changes 2021-07-02 16:34:51 +02:00
Johannes Rieken aacda89007
remove extensionHostWorkerMain and use workerMain bootstrapping, https://github.com/microsoft/vscode/issues/127760 2021-07-02 16:04:55 +02:00
Tyler James Leonhardt 0199aa4af2 always publish arifacts_prcessed artifact fixes https://github.com/microsoft/vscode-internalbacklog/issues/2250 2021-07-01 10:38:12 -07:00
Johannes Rieken 0e9f3aa50a
update nodejs requirement, https://github.com/microsoft/vscode/issues/121144 2021-06-25 16:32:33 +02:00
Johannes Rieken 413b9019a6
configure esbuild with esnext. means no harm since TS already compiles with lower es2020, https://github.com/microsoft/vscode/issues/121144 2021-06-25 16:31:44 +02:00
João Moreno 820300ce2b
hmmm 2021-06-24 18:01:35 +02:00
João Moreno aa6e7ffdf4
snap: create it even when stepping on it
related to #127039
2021-06-24 16:53:44 +02:00
João Moreno b9c18d0404
gotcha 2021-06-24 16:09:17 +02:00
João Moreno d1be29f1ab
hmm 2021-06-24 15:47:54 +02:00
João Moreno ce659a738f
fix #127039 2021-06-24 15:31:15 +02:00
João Moreno 6fed85aaf9
pull.rebase merges 2021-06-22 19:55:13 +02:00