4861 Commits

Author SHA1 Message Date
Matt Bierner
debcf16fcd
Mangle exported symbols (#182935)
* Mangle exported functions

For #180461

This prototype tries to mangle exported functions, saving a further 440kb from the bundle size

* Fix missing call

* Also try mangling top level exported consts too

* Fixing errors

* Don't run on build files

* Skip a few more manglings and revert change to namespace

* Skip a few more monaco files

* Also mangle consts that shadow types

This increases savings up to 3325

* Also mangle exported classes

* Skip mangling more localization functions for now

* Opt out pfs

* Update build script

* Run find locations task in parallel

This should speed up compile

* Cleanup before close

* Limit workers to avoid hitting memory limit

* Limit pool size

* Skip one more mangling

* Exclude entrypoints from mangling

* Try to fix web build and clean up code

* Exempt a few more projects

* Exempt another file

* Also exempt html

* Skip mangling ext entrypoints

* Use prefix that can't be confused with rpc calls

* Fix max call stack error

* Switch prefixes

* Don't mangle ambient declarations

* Use correct way of checking modifier flags

* Workaround getCombinedModifierFlags not doing what I'd expect

Maybe needs the checker to be enabled too? Just check parent chain instead for now

* Clean up code and add logic showing how enum mangling could work

* Remove a few more skipMangles

Use entrypoints instead

* Fix entrypoint name
2023-06-13 08:18:05 +02:00
Raymond Zhao
13e7d80fcd
Bump windows-process-tree (#184759)
Fixes https://github.com/microsoft/vscode/issues/179697
2023-06-12 11:36:56 -07:00
Robo
b4dd4d51fa
ci: switch to bionic agents for arm64 and armhf clients (#184906)
* ci: switch to bionic agents for arm64 and armhf clients

* ci: invalidate cache

* ci: fix docker client installation

* chore: update debian dependencies

* chore: update rpm dependencies
2023-06-13 00:50:36 +09:00
Sandeep Somavarapu
46041c9f0e
Implement troubleshoot issue (#184901)
* implement troubleshoot issue action

* move issue troubleshooting to a service

* feedback

* fix stable check
2023-06-12 13:37:50 +02:00
Raymond Zhao
d81ca6dfca
Bump windows-registry to 1.1.0 (#184741) 2023-06-09 13:02:58 -07:00
Raymond Zhao
06ae4b61c2
Bump windows-mutex to 0.4.4 (#184366)
Also adds OS-specific .moduleignore files
2023-06-09 09:40:10 -07:00
Benjamin Pasero
eac16e9b63
eng - make fetchWithRetry more robust (#184716) 2023-06-09 14:05:38 +02:00
Connor Peet
49535d6a04
build: fix missing param for build (#184660) 2023-06-09 01:10:08 +02:00
Aiday Marlen Kyzy
7dafe5df1d
renaming the CSS variable names and the labels from interactive editor to inline chat 2023-06-08 14:41:41 +02:00
Ladislau Szomoru
cad3a1c656
Engineering - skip property mangling in PR builds (#184584) 2023-06-08 12:42:40 +02:00
Johannes Rieken
d8dcdb924a
Merge pull request #184575 from microsoft/joh/protective-cicada
joh/protective cicada
2023-06-08 12:15:04 +02:00
Connor Peet
e686621e2e
cli: avoid running prepare a second time in ci (#184558) 2023-06-08 02:22:44 +02:00
Connor Peet
9de813729c
build: install clippy when building cli in ci (#184554) 2023-06-07 16:40:30 -07:00
Connor Peet
43742d891d
Run a lint build of the CLI in CI (#184545)
* cli: adopt sccache for speedier cli compilations

* only cache common linux x64 build

* instead, only dev compile/clippy lint in ci
2023-06-07 15:48:55 -07:00
Johannes
978bb08619
add extensions-ci-pr task which does a full build without mangling 2023-06-07 16:36:02 +02:00
Aiday Marlen Kyzy
c529638000
renaming the content inside of inlineChat folder from IE to IC 2023-06-07 16:02:34 +02:00
Johannes
ac7789cbab
add core-ci-pr task which does a full build without mangling 2023-06-07 15:51:48 +02:00
Benjamin Pasero
e615a31faf
eng - increase remote download retries (#184431) 2023-06-06 19:22:56 +02:00
Aaron Munger
693604f7fd
Merge branch 'main' into aamunger/testRenderer 2023-06-06 09:21:12 -07:00
Johannes Rieken
f70686c39e
chore - rename interactiveEditor to inlineChat (#184422) 2023-06-06 16:34:55 +02:00
Aaron Munger
5c7b2b89fe add project to build, add integration tests into shell script 2023-06-05 14:19:51 -07:00
Henning Dieterichs
aa88e727da
Implements initial version of moved code detection. (#184336)
* Implements initial version of moved code detection.

* Fixes monaco.d.ts

* Fixes tests.
2023-06-05 08:50:55 -07:00
Johannes
946cdaa03c
stub out cropped/expanded as CSS variables 2023-06-05 14:58:04 +02:00
Ladislau Szomoru
15dc0b5af3
Engineering - fix CLI build for Alpine ARM64 (#184309)
* Add task to install yarn

* Move task

* Add condition
2023-06-05 12:05:51 +02:00
Connor Peet
eb44b5ef6c
build: don't apply cli 'patches' for merge check (#184210)
* build: don't apply cli 'patches' for merge check

This also needed modules installed. But with the new toml patches, the 'merge' will never fail outright, so there's no need to do a separate merge check for it imo

* reduce duplication in pipelines, cache node_modules
2023-06-02 22:29:48 +02:00
Connor Peet
be433ac136
build: install packages for distro mixin (#184207) 2023-06-02 21:44:18 +02:00
Connor Peet
42015fe01c
build: support structured toml patches to reduce build breakage (#184201)
Currently the Cargo.toml patches are git patches, but these can break
easily when surrounding lines are changed. Instead this lets us make
"Cargo.patch.toml" which gets a structured merge.
2023-06-02 12:09:16 -07:00
Connor Peet
ccc5e48e92
fix: breakpoints in extension subdirs on windows not working (#184195)
It did not normalize to forward slashes, so the empty sourcemap was
created with a source called `foo\\bar.js`. Then the build process was
adding a new source `foo/bar.js` since it didn't see it already in the
sourcemap, but `foo\\bar.js` was later normalized. This normalized
version came first in the mapping, but didn't have any mapped locations,
so breakpoints never got set.
2023-06-02 20:15:04 +02:00
Alex Dima
1331522372
Avoid using types defined in @types/trusted-types 2023-06-02 12:32:46 +02:00
Robo
0c1e34fa4e
chore: update electron@22.5.5 (#184115) 2023-06-01 21:38:57 -07:00
Alexandru Dima
828118d55e
Allow embedders to intercept trustedTypes.createPolicy calls (#184093) 2023-06-01 15:20:10 -07:00
Martin Aeschlimann
3f5def1cdc
Add logging to node download (#184070)
Add logging to node download. For #182951
2023-06-01 16:42:36 +02:00
Connor Peet
78643b05d5
cli: bump to openssl 1.1.1u (#183828) 2023-05-30 20:44:56 +02:00
Martin Aeschlimann
c2a9a86afa
Delete --compatibility=1.63 code from the server (#183738) 2023-05-29 15:24:14 -07:00
Robo
c26003f37a
chore: update electron@22.5.4 (#183716) 2023-05-29 16:09:35 +02:00
Henning Dieterichs
397f2e7c34
First draft of diff editor v2. 2023-05-26 15:26:31 +02:00
Bhavya U
049ee36265
Initial welcome widget commit (#183446)
* Initial welcome widget commit

* Update i18n.resource.json for welcomeDialog

* Clean up code
2023-05-26 00:03:23 +02:00
Joyce Er
bc1090cc10
Initial share provider API and UI (#182999)
* Formalize share provider API

* i18n.resources.json

* Don't introduce a generic Success dialog severity
2023-05-22 15:32:43 -07:00
Jacek Kopecký
cbbd9220c2
Add settings for fixed-width tabs (#181729)
* Add settings for fixed-width tabs

This is meant at least partially to address #40290 and
is a continuation of the unfinished work from #40750.

* Only apply fixed width when the setting is on

* Implement chrome-like tab width behavior

Tabs shrink uniformly (down to a limit) but stay fixed-width
when the mouse is over the tab bar.

* Rename width setting to max width

* Make the ifs more readable

* Have event handlers only if the option is set

* 🎨

* Handle sizing artifacts present with wrapping tabs

To achieve this, it's best to remove the transition delay.

* Rename setting to apply only for fixed-sized tabs

* Set default fixed max tab width to 160px

* Minor code tweaks from review comments

* formatting

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

* Use disposable listeners

* Remove redundant check for last-in-row

* Apply fade gradient from shrink tabSizing to fixed

* Trying to make the code cleaner and understandable

* Remove transition

On advice of @bpasero, removed transition because
the editor doesn't really use transition that much.

* some cleanup

* fix typo

* Simplify workaround for the overflow issue

* 💄

* 💄

* Let the tabs fix their width before closing the editor

* 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-05-22 15:32:52 +00:00
Robo
ced29a4346
chore: update electron@22.3.10 (#183116) 2023-05-22 16:34:36 +02:00
Benjamin Pasero
487a08afe5
Investigate detecting slow network connections (#178553) (#182653) 2023-05-22 14:38:13 +02:00
Daniel Imms
adbcbfa5d0
Merge pull request #183005 from microsoft/tyriar/139400
Support fish SI automatic injection
2023-05-19 18:28:39 -07:00
Rob Lourens
d052d3190f
More "chat" renames (#182990)
* More "chat" renames

* More renames
2023-05-19 16:14:43 -07:00
Daniel Imms
9d1a210778
Support fish SI automatic injection
Fixes #139400
2023-05-19 15:45:28 -07:00
Martin Aeschlimann
42fcfb8bfc
innosetup to start/stop tunnel service (#180527)
* innosetup to start/stop tunnel service

* better messages for tunnel still running

* fix error

* more logs

* add '/log'

* update

* fix

* update

* add kill & timeout wait

* stop service in PrepareToInstall

* non-background: check for tunnel mutex when wizard starts

* polish tunnel mutex names, prompt if tunnel is still running
2023-05-19 11:07:43 +02:00
Connor Peet
0c94abc4a5
implement sign service for web (#182815)
* signing: implement signing service on the web

* update distro
2023-05-17 16:52:56 -07:00
João Moreno
0f833f26f9
ignore SECURITY.md from vsda (#182780) 2023-05-17 19:00:49 +02:00
Robo
75e38cd91d
chore: remove library entitlements from main helper executable (#182731) 2023-05-17 10:35:11 +02:00
Martin Aeschlimann
f1258a5fbe
replace 'got' with 'node-fetch' (#182629)
replace 'got' with 'node-fetch' (for #182624)
2023-05-17 06:20:31 +02:00
SteVen Batten
51b8bdc782
updating tsa options (#182651)
* updating tsa options

* add template
2023-05-16 18:49:25 +02:00