Commit graph

5092 commits

Author SHA1 Message Date
Aiday Marlen Kyzy a31f703941
Making sticky scroll scrollable (#189466)
* work in progress make it scrollabel

* adding changes

* adding changes

* cleaning the code

* cleaning the code

* not usnig a vertical scrollbar

* scanning the dom node only on mouse over

* requires tweaking

* now the scrollbar can be used alongside the hovering on the sticky scroll

* setting handle mouse wheel to false in order not to scroll vertically inside of the scrollable element with wheel

* separated the line numbers and the actual line in order to be able to just move one of the scrollbars, the editor one and the line numbers remain the same

* cleanin the code

* we are able to make the full line appear

* the width is correctly updated on the width layout change of the editor

* only rendering when top scroll changed, not when horizontal scroll changed

* using the correct editor layout info, not the one saved in the constructor

* setting the linehtml node style width to 100% so that the whole line is covered, but still not covered after the end of the viewport

* changing the total width after rendering

* placing the color into sticky line number

* removing the direct setting of the colors

* adding the background color inside of sticky line number

* using the view zone in order to increase the scroll width of the editor

* placing the view zone at the very bottom of the file

* limiting the scrollable dom height to the height of the sticky widget lines node inside, so now the sticky widget works as before

* cleaning the code

* cleaning the code

* removing useless variable

* adding 100 pixels in order to see the end of the line

* removing the console logs

* putting back the check to what it was

* using the same string convention

* adding inheritance properties in order for the background color to be propagated

* cleaning the code

* cleaning the code

* using or instead of and in the zone accessos

* cleaning the code

* cleaning the code

* cleaning the CSS

* chaning the order of the CSS properties

* cleaning the code

* Improve rendering

* No need to resize the widget from the outside, the widget resizes itself

* placing the focus method inside of the sticky widget

* céeanig the code

* Minor tweaks

* Also update widget width when the scroll width changes

* Allow overlay widgets to pass in a minimum content width

* Also update the min content width if the position doesn't change

* defining method for mi content width in px

* updating the minimum content width

* adding setting in order to be able to control whether sticky scroll scrolling should be influenced by editor horizontal scrolling

* removing redundant new line

* Fix typo

* Extract code in a function

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2023-08-07 17:35:57 +01:00
Robo ea490e5545
chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Connor Peet 0d22bb7efa
cli: update dependencies for s360 (#189562)
* cli: update dependencies for s360

* update rust
2023-08-03 18:05:46 +01:00
yiliang114 76e25bad23 fix: Close #189556, gulp task do not display task name 2023-08-03 22:58:20 +08:00
Robo 7a606ee393
fix: update rpm dependencies (#189455) 2023-08-02 10:33:18 +02:00
Connor Peet 58abf70a45
build: fix binary not being included when linux archives are made (#189443)
Fixes #189383
2023-08-02 11:06:44 +09:00
Tyler James Leonhardt 1e0b12d1ca
Remove vscode-encrypt from node.js side (#189252)
* Remove vscode-encrypt from node.js side

Now that we've had a version of the product that has done the migration logic, we no longer need vscode-encrypt on the node side.

This removes all references of vscode-encrypt from the node side. I will also remove it from the package.jsons in distro.

* remove machineId
2023-08-01 11:30:48 +10:00
Robo 8147d6bee1
fix: bump node-gyp dependency to v9.4.0 (#189308) 2023-07-31 06:53:30 -07:00
João Moreno f6a5c0ca02
log releaseBuild.ts (#189170) 2023-07-28 15:18:03 +01:00
Benjamin Pasero cbdfe4e0b4
Removal of feedback control (fix #188960) (#189027) 2023-07-28 10:12:52 +02:00
Robo 69ce9dc604
fix: statically define kerberos module dependencies (#189047) 2023-07-28 09:15:48 +09:00
João Moreno dd149c2255
fix npe in build (#189095)
fixes #189070
2023-07-27 21:48:22 +01:00
Robo 6d355a1ed5
chore: update electron@22.3.18 (#189049)
* chore: update electron@22.3.18

* chore: bump distro
2023-07-27 15:22:42 +01:00
Robo 268f34992c
fix: missing condition in createAsset (#189026) 2023-07-27 07:36:08 +01:00
João Moreno 97700a36ca
fix build issue when retrying after one cdn failure (#188939) 2023-07-26 10:20:46 -07:00
Aiday Marlen Kyzy 398e46ca68
Make content hover text use full possible width (#187597)
* combinging the setting of max dimensions on the container and on the contents dom node

* adding the css variable in order to be able to specify the max width of the content inside

* cleaning the code

* changing the name of the variable

* cleaning the code

* placing the hover max width variable into the others category of vscode-known-variables json file

* defining a fall back value of 500 pixels

* inlinging the code

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2023-07-26 08:54:48 +02:00
Benjamin Pasero 82ced13b61
Retry playwright installs (fix #188453) (#188646) 2023-07-24 08:58:11 +02:00
João Moreno ed1de9e0e9
fixes #187885 (#188502) 2023-07-21 17:08:05 +02:00
Robo 4df4f694c3
ci: install qemu for alpine arm64 (#188455) 2023-07-21 09:51:34 +02:00
Robo 7628b550c0
ci: fix oss node_modules cache pipeline (#188448)
* ci: fix oss node_modules cache pipeline

* align all "Install build dependencies" steps

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-07-21 09:40:53 +02:00
Robo 2509b7f504
ci: fix alpine build (#188446) 2023-07-21 08:41:43 +02:00
Robo 00039b0fcf
refactor: linux pipeline to use containers only for yarn step (#188383)
* ci: use container only in yarn step

* chore: invalidate cache

* chore: install missing deps for packaging

* chore: remove duplicate package installations

* fix: oss build

* chore: separate deb and rpm package preparation

* chore: mount out folder when packaging

* ci: switch to official docker image
2023-07-20 21:02:56 -07:00
Michael Lively 28e972e496
initial stickyScroll support for notebooks (#188323)
* stickyscrool wip. dom node + filler static content

* headers rendering. todo: too early, multiple headers

* css file movement + outline rework

* kernel css move

* pop-in fixed // css cleaned // setting added

* fix override

* low hanging fixes

* refactor to remove unnecessary layer

* section transition logic cleanup + other misc fixes

* whoops changed a little too much. todo: linesToRender thinking

* finalized logic

* nits

* def false

* Update zindex

* Fix font size

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2023-07-20 15:50:39 -07:00
João Moreno 16ca37cae9
skip group policy and explorer sparse package in CIBUILD runs (#188346) 2023-07-20 11:52:57 +02:00
Christof Marti 6ae441b56f
Kerberos auth for proxies (#188130) 2023-07-19 20:11:00 +02:00
Robo 53e7651c52
chore: update electron@22.3.17 (#188272)
* chore: update electron@22.3.17

* chore: bump distro
2023-07-19 08:30:17 -07:00
weartist 2fd4a2523e remove unnecessary code 2023-07-19 09:25:48 +08:00
weartist 75f5fc5073 fix spell 2023-07-18 17:23:58 +08:00
Alex Ross dc142e4cd1
BUILD: Exclude third party notices from indentation filter (#187913) 2023-07-14 11:52:40 +02:00
João Moreno 4221074653
fix windows servers, add top level folders (#187906) 2023-07-14 10:14:19 +02:00
Connor Peet 22bb4b95cc
build: exclude the cli third party notices from hygenie (#187843)
This might get moved later on, but for now exclude them
2023-07-13 16:50:43 +02:00
Connor Peet cbb47129d3
cli: stop tunnel processes during update (#187738)
* untested wip

* make it work
2023-07-12 20:58:09 +02:00
João Moreno 6bad769697
make sure publishing is the last thing in each pipeline (#187708)
this fixes a rare issue in which the second Generate SBOM
task will fail, so a second attempt at running the pipeline will
fail when publishing the first Publish SBOM task, since it
would already have been published
2023-07-12 14:36:51 +02:00
Aiday Marlen Kyzy e1becd2eb8
cleaning the code, it works now 2023-07-12 12:49:48 +02:00
João Moreno d568855b2a
build: prevent re-upload of builds (#187680)
would've prevented what #187575 fixed
2023-07-12 11:39:27 +02:00
Raymond Zhao 5be539a588
Bump semver (#187654) 2023-07-12 01:49:45 +02:00
Connor Peet ef8b1483fc
build: use new cli patch method (#187629) 2023-07-11 13:47:08 -07:00
João Moreno f8782370c9
fix windows archive packages (#187585) 2023-07-11 15:52:32 +02:00
João Moreno cac438f1bf
fix windows build (#187575) 2023-07-11 14:58:06 +02:00
João Moreno a044e57b07
still run tests on win32-ia32, but make them optional to pass (#187474)
* still run tests on win32-ia32, but make them optional to pass

* hm

* ok

* try this
2023-07-11 14:29:02 +02:00
dependabot[bot] b457942f6e
Bump semver from 5.7.1 to 5.7.2 in /build (#187548)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 11:35:24 +02:00
João Moreno ef4206956a
always roll processed artifacts forward (#187465) 2023-07-10 17:12:32 +02:00
João Moreno 6d1066875e
isolate artifacts from attempted runs (#187437)
* isolate artifacts from attempted runs

* set ARTIFACT_PREFIX to empty string first

* cleaner
2023-07-10 16:15:29 +02:00
João Moreno 5150ef0ce7
disable tests on win32-ia32 (#187313) 2023-07-07 15:47:05 -07:00
João Moreno 0917209e9a
Always publish build artifacts, if built (#187134)
* always publish build artifacts, if built

fixes #187122

* fix windows build

* fix builds

* fix

* more fixes

* further debug

* fix yarn

* remove debug

* remove 7zip dependency

* fix snap
2023-07-07 11:45:35 -07:00
Raymond Zhao c067a3bf81
chore: bump semver 7 dependencies (#187171) 2023-07-06 20:18:02 +02:00
dependabot[bot] 9618e4fa2a
Bump semver from 7.3.8 to 7.5.3 in /build/npm/gyp (#186809)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.3)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 16:29:55 -07:00
João Moreno 0bebe30b75
update inno_updater (#187073) 2023-07-05 20:33:05 +02:00
Henning Dieterichs 6bbb128304
Merge pull request #178112 from mwerschy/rainbow-indent
Implement indent guide colorization options.
2023-07-05 18:20:29 +02:00
Johannes eeae481e47
set emit-target and libs to ES2022, avoid static-blocks, fix Error#cause conflict
https://github.com/microsoft/vscode/issues/185991
2023-06-30 11:43:19 +02:00
João Moreno 9f6b76bdb5
schedule a non-releasing 7pm build (#186548) 2023-06-28 21:08:44 +02:00
isidor d47a27cfe6 still register workbench.enableExperiments 2023-06-27 15:01:06 +02:00
Isidor Nikolic 4b5db322fd
Merge branch 'main' into isidor/courageous-yak 2023-06-27 10:32:23 +02:00
Tyler James Leonhardt 8245737e93
Use setUsePlainTextEncryption properly and allow control of password-store via argv.json (#186207) 2023-06-26 14:23:30 -07:00
João Moreno 998951e5ed
propagate gh token (#186197) 2023-06-26 20:30:03 +02:00
Robo 9cdd289db0
chore: update node checksums (#186181)
* chore: update node checksums

* chore: bump distro
2023-06-26 18:20:59 +02:00
Jacek Kopecký b97d99f428
Add tabSizingFixedMinWidth setting (#185766) (#186058)
* Add tabSizingFixedMinWidth setting (#185766)

* Add forgotten case for wrapping tabs

* address feedback

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-06-26 14:58:37 +00:00
Isidor Nikolic 6c24374696
Merge branch 'main' into isidor/courageous-yak 2023-06-26 15:46:13 +02:00
Robo 6067bb4ebe
chore: bump electron@22.3.14 (#185983)
* chore: bump electron@22.3.14

* chore: bump distro
2023-06-23 15:43:02 +02:00
ChaseKnowlden b603fcf963
chore: update minimum installable version in inno setup (#175818)
* Drop support for windows versions prior to windows
10

* Prepare for windows 8 eol

* fix typo

* Revert "Prepare for windows 8 eol"

This reverts commit f65a7107280da4328014d4964ba432f3d7462de0.
2023-06-23 22:15:49 +09:00
Johannes 56c917debf
update SWC config to disable useDefineForClassFields 2023-06-23 12:55:32 +02:00
Max Schmitt 9e0f5fb2dd
chore(monaco): make createTrustedTypesPolicy optional (#185454) 2023-06-22 07:23:20 +00:00
Rob Lourens 7f5de39970
Delete old settings search config uploader (#185818) 2023-06-21 17:15:31 -07:00
Benjamin Pasero 7190530d35
readonly - adopt readOnlyMessage for readonly mode (#185756) 2023-06-21 14:40:17 +02:00
João Moreno 636dbcff55
Revert "cli: fix error starting remote tunnels (#185701)" (#185731)
This reverts commit ffe64dab3c.
2023-06-21 09:30:30 +02:00
Connor Peet 2138622b04
build: add watch/compile tasks for CLI (#182344)
* build: add watch/compile tasks for CLI

I spent time this morning working on the 'developer experience' of the
CLI in vscode, mainly getting the CLI to cross-compile chasing our
initial idea of having it auto-build in a devcontainer.

After some effort and disabling tunnels connections (to avoid having to
pull in OpenSSL which is a huge pain to cross compile), I was able to
get it to cross-compile from Linux to Windows, using the mingw linker.
I could probably figure out how to get macOS working as well with more
effort. However, I'm not a big fan of this, effectively it's one more
'platform' of build we need to support and test.

I think a better approach is downloading the latest compiled CLI from
the update server instead, as needed. That's what this PR does. It just
places the CLI where it _would_ normally get compiled to by cargo; so
far we don't need to do anything special outside of that.
A notice is shown to users if this fallback happens.

* update from review
2023-06-20 14:34:11 -07:00
Connor Peet ffe64dab3c
cli: fix error starting remote tunnels (#185701)
* untested wip

* cli: fix error starting remote tunnels

Fixes #185585

Output was prefixed which prevented the lines from being split to detect the tunnel status.
2023-06-20 14:30:07 -07:00
Robo 4dac9b530d
chore: bump electron@22.3.13 (#185687)
* chore: bump electron@22.3.13

* chore: bump distro
2023-06-20 18:55:16 +02:00
isidor 6af591662a remove workbench/contrib/experiments 2023-06-20 14:36:56 +02:00
Henning Dieterichs 085399feff
Merge pull request #185592 from microsoft/hediet/b/horizontal-ladybug
Diff Editor v2 Improvements
2023-06-19 18:53:59 +02:00
Henning Dieterichs 60b19b3dd8
Unchanged collapsed code improvements 2023-06-19 17:25:27 +02:00
Robo 4df3657b4e
chore: add checksum for electron assets (#185568)
* chore: add checksum for electron assets

* chore: bump distro

* chore: add pdb checksums
2023-06-19 23:46:41 +09:00
Henning Dieterichs b975405819
Diff Editor v2: Iterates on collapsed unchanged code feature. (#185499) 2023-06-19 12:41:17 +02:00
Robo 8fb5ea0142
feat: use custom tag instead of custom version for MS electron releases (#181309)
* feat: use custom tag instead of custom version for MS electron releases

* chore: bump @vscode/gulp-electron

* chore: move build id to .yarnrc

* chore: rename enableUNCAccessChecks => restrictUNCAccess

* chore: update electron@22.3.11

* chore: add build info to about dialog

* chore: simplify helper function

* chore: remove unused node.js checksums

* chore: bump nodejs internal version

* chore: bump distro

* fix: revert changes to sign.ts

* chore: bump distro
2023-06-17 03:03:35 +02:00
Johannes Rieken 72e2af69c9
joh/high loon (#185337)
* allow session creation to be cancelled

* define background colors, make sure to reshow after session is ready, reset selection style on hide
2023-06-16 16:45:44 +02:00
Benjamin Pasero 518a183762
eng - add build version of node.js to .yarnrc (#185302)
* eng - add build version of node.js to `.yarnrc`

* 🆙 distro
2023-06-16 09:10:24 +02:00
Matt Bierner aa82bd59b2
Limit worker pool size (#185164)
Fixes #185079

Should fix OOM issues on build machines
2023-06-14 23:57:22 +02:00
Benjamin Pasero 8afb685c9b
eng - add checksum validation support to nodejs and extensions (#184877)
* eng - add `checksum` validation support to `remote`

* eng - wire in more `checksum` support

* eng - renames for remote fetching

* eng - renames for remote fetching

* eng - disable verbose

* eng - always fetch verbose in CI

* eng - 💄

* eng - add checksums for node

* eng - report checksum matches

* eng - fix build

* eng - warn when not being able to check sum

* eng - support checksums for built in extensions

* eng - clear todo

* eng - add nodejs metadata to product.json

* 🆙 version

* 🆙 distro

* update distro

* eng - switch to checksum file

* cleanup alpine

* fix alpine

* fix bug

* eng - fetch all from remote

* eng - 💄

* eng - print checksums

* eng - fix missing import

* 🆙 distro

* undo version change
2023-06-14 16:57:06 +02:00
Benjamin Pasero 4b939d0a0e
unc - fix path traversal bypass (#185048) 2023-06-13 19:56:46 +02:00
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 46132523d0
Merge branch 'main' into rainbow-indent 2023-05-26 17:57:21 +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
Rob Lourens 2156969dcf
Rename files 2023-05-15 15:54:11 -07:00
Daniel Imms e7a3127217
Integrate xterm-addon-image 2023-05-14 08:09:17 -07:00
Connor Peet d3d9f86116
cli: store cli in user data dir, separate per quality (#182102)
* cli: store cli in user data dir, separate per quality

Fixes #181017

On first run, the `~/.vscode-cli` will be migrated inside the user data dir of the currently running quality.

* use create_dir_all instead

* clippy fixes
2023-05-10 13:09:23 -07:00
Benjamin Pasero 83e7b4dcec
🆙 electron@22.5.2 (#182043) 2023-05-10 13:19:45 +02:00
Benjamin Pasero cc1555625d
debt - stop referring to patched node (#181933) 2023-05-09 20:55:05 +02:00
Sandeep Somavarapu d4632bb740
unc - adopt setting and handling of allow list (#181916)
* unc - adopt setting and handling of allow list (#5)

* unc - adopt setting and handling of allow list

* unc - set allow list on server too

* unc - pick our patched node.js for now

* bump electron

* unc - ignore sync is not needed with machine scope

* unc - use process set directly

* 🆙 22.5.1

* fix compile

---------

Co-authored-by: Benjamin Pasero <Benjamin.Pasero@microsoft.com>
2023-05-09 19:52:08 +02:00
Rob Lourens 27f30a3a5d
Remove items from vscode-known-variables (#181561)
Remove items from vscode
2023-05-04 20:02:21 +02:00
Rob Lourens 2b470d47ee
Fix chat list styles (#181543) 2023-05-04 18:51:57 +02:00
SteVen Batten 92cc596fce
tsaoptions for codeql (#181459) 2023-05-04 08:42:45 -07:00
SteVen Batten baf7119fd7
enable tsa for sdl scan (#181269) 2023-05-01 21:10:44 +02:00
Robo 86b1962b0e
fix: chromium license packaging (#181142)
* Revert "Revert "chore: use chromium license file downloaded from Electron package (#181106)" (#181113)"

This reverts commit 25fc56b4de.

* chore: bump @vscode/gulp-electron

* chore: update distro
2023-04-28 15:14:31 -07:00
Robo 25fc56b4de
Revert "chore: use chromium license file downloaded from Electron package (#181106)" (#181113)
This reverts commit d7da8fc2c9.
2023-04-28 12:52:08 +02:00
Robo d7da8fc2c9
chore: use chromium license file downloaded from Electron package (#181106) 2023-04-28 11:45:00 +02:00
Henning Dieterichs b816a3ffaf Fixes CI 2023-04-26 23:31:20 +02:00
Megan Rogge 4d9332c5bc
Merge pull request #180719 from microsoft/merogge/option
add accessibility verbosity settings, use editor options
2023-04-25 07:03:00 -07:00
João Moreno 14ea89e7ca
build: quieter node module cache logging (#180709) 2023-04-25 08:26:56 +02:00
Matt Bierner 03540d605f
Pick up latest TS for building VS code (#180706) 2023-04-24 20:14:30 +02:00
meganrogge 7c905c6ba0
use editor options 2023-04-24 09:44:08 -07:00
Robo 039fd8980d
chore: update electron@22.4.8 (#180526) 2023-04-21 17:59:30 +02:00
Martin Aeschlimann dad6ca32fc
adopt tunnel mutex name change (#180524) 2023-04-21 17:49:10 +02:00
Alexandru Dima c29e4b0fdb
Revert "add accessibility verbosity settings for terminal and diff editor aria hints" (#180477) 2023-04-21 09:26:33 +02:00
Raymond Zhao ee76f103e1
Use custom node-gyp for SDL pipeline (#179723)
* Use custom node-gyp
* Avoid using relative cd
* Remove ia32 for Linux
* Bump gulp-atom-electron; unblocks downloading PDBs
* Add native-is-elevated to the scan
2023-04-21 09:15:05 +09:00
meganrogge 612c4f17e8
fix issues 2023-04-19 14:19:35 -07:00
Robo d57d7ff4dc
chore: update electron@22.4.7 (#180276) 2023-04-19 04:34:34 +02:00
Robo a24f964ea1
Revert "chore: update electron@22.4.6 (#179947)" (#179991)
This reverts commit 316995c8b6.
2023-04-14 18:37:17 +01:00
Robo 316995c8b6
chore: update electron@22.4.6 (#179947) 2023-04-14 09:45:30 +01:00
Raymond Zhao 6f0421755f
Use custom node-gyp in product build (#179612)
Co-authored-by: Robo <hop2deep@gmail.com>
2023-04-13 08:04:41 -07:00
Robo 1307c7afbe
chore: update electron@22.4.5 (#179857)
* chore: update electron@22.4.5

* chore: avoid replacing ffmpeg
2023-04-13 21:32:24 +09:00
Connor Peet ca9404bd2f
cli: read tunnel lock from product.json (#179800)
Fixes #179265
2023-04-12 18:52:37 +01:00
Raymond Zhao 22ed59eb3d
Bump windows-process-tree with workaround for typings (#179649) 2023-04-11 10:05:56 -07:00
Raymond Zhao 07aec54e2e
Bump spdlog (#179642) 2023-04-11 08:00:57 -07:00
Connor Peet b547b58db6
cli: use win32 app mutex to detect running tunnels and tunnel sevices (#179622)
* cli: fix distro mixin

* cli: use win32 app mutex to detect running tunnels and tunnel sevices

Fixes #179265

* cli: fix distro mixin more

* fix

* fix build
2023-04-10 20:25:14 +01:00
Raymond Zhao 84ac780186
Revert "Bump windows-process-tree" (#179508)
Revert "Bump windows-process-tree (#179176)"

This reverts commit 15cb6b36f8.
2023-04-08 00:47:57 +01:00
Robo 34c8b46830
chore: bump electron@22.3.5 (#179357) 2023-04-06 09:16:54 +02:00
Raymond Zhao 15cb6b36f8
Bump windows-process-tree (#179176)
* Bump windows-process-tree

* Fix compile error

* Add explanation to source

* Add that the types package has been deprecated
2023-04-05 20:51:26 +02:00
Robo 47426871d7
ci: fix symbol download for SDL pipeline (#179030) 2023-04-05 20:43:18 +02:00
Martin Aeschlimann 899cdd5ace
remove request dependency (#179149)
* remove request dependency

* replace gulp-remote-retry-src in build scripts

* fix retry delay & polish
2023-04-05 16:05:16 +02:00
Benjamin Pasero 34d69db22c
server - introduce support for nodejsRepository (#179105)
* server - introduce support for `nodejsRepository`

* fix path

* add auth

* proper download

* extract to utility function

* reuse

* fix compile
2023-04-05 14:36:25 +02:00
João Moreno 19f5801470
fix CI by always installing prebuilt extensions (#179247)
fix CI by installing prebuilt extensions
2023-04-05 14:24:51 +02:00
Ladislau Szomoru d6dae3a640
Engineering - update build agents (#179244)
* Engineering - update build agents

* Update ARM64 agent pool name

* Switch to windows 2019 agents
2023-04-05 12:54:37 +02:00
Martin Aeschlimann e5c82ebdde
update azure dependencies (#179141) 2023-04-05 10:59:59 +02:00
Ladislau Szomoru 59ec5734f1
Engineering - fix job name casing (#179236) 2023-04-05 09:31:29 +02:00
Connor Peet 6b0d9d79e1
build: properly install built-in extensions for tests (#179216)
Uses a cache and GH token to avoid hitting rate limits.

Fixes #179181
2023-04-05 01:53:46 +02:00
Raymond Zhao a1694a8628
Bump windows-mutex (#179196) 2023-04-04 23:36:05 +02:00
Ladislau Szomoru 9d486269f1
Engineering - update agent pool (#179190) 2023-04-04 23:32:22 +02:00
Matt Bierner 3104a4e68c
Remove uses of X-UA-Compatible meta tag (#177739)
* Remove uses of `X-UA-Compatible` meta tag

We no longer support IE

Mainly removing this from the webview html but  figured we should remove the other references to it as well

* Update tests

* Fix test
2023-04-04 13:02:01 -07:00
Benjamin Pasero f481836a89
🆙 esbuild@0.17.14 (#178664) 2023-04-04 12:43:16 +02:00
Robo d317fbf297
chore: revert @vscode/spdlog bump (#179103)
* Revert "chore: update spdlog@0.13.9 (#179087)"

This reverts commit 9eba21c20f.

* Revert "Bump spdlog (#179035)"

This reverts commit 4cc7f76f60.
2023-04-04 10:49:54 +02:00
Ladislau Szomoru 48d3110be1
Engineering - update OSS build agents (#179099)
Update build agents
2023-04-04 10:24:50 +02:00
João Moreno 887b24796e
fix build (#179093) 2023-04-04 09:29:40 +02:00
Raymond Zhao 90089562cc
Bump proxy-agent (#179033) 2023-04-03 15:23:31 -07:00
Raymond Zhao 4cc7f76f60
Bump spdlog (#179035) 2023-04-03 11:18:47 -07:00
João Moreno accffe11a5
automate private build detection (#179011)
* automate private build detection

* debug

* debug

* fixup
2023-04-03 17:10:13 +02:00
Martin Aeschlimann 59608d3aee
Update webpack, css/file & style loaders (#179008) 2023-04-03 16:10:40 +02:00
João Moreno 1ee72c4854
fix vscode scan pipeline (#178997) 2023-04-03 15:31:51 +02:00
Robo e5f61433b5
chore: update to Electron 22 (#177600)
* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* sandbox - cleanup from electron 22 update (#178919)

* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* temp: update distro

* sandbox - cleanup from electron 22 update

* missing comile

* more changes

* fix build

* restore

* 💄

* compile

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
João Moreno 1cbef3e6ce
Fix CI (#178944)
* fixed CI

* to revert: fake VSCODE_CIBUILD

* fix darwin build

* Revert "to revert: fake VSCODE_CIBUILD"

This reverts commit f9d5378c8b.

* why devops

* devops and variables are weird

* fix pr build

* fix macos
2023-04-03 15:14:08 +09:00
João Moreno 2da5a0024f
don't run windows CLI build in ci (#178921) 2023-04-02 10:56:15 +02:00
João Moreno aac80c3f0a
Adopt new distro format (#178689)
* Simplify distro

Also a ton of drive-by fixing around builds:
- simplified many oneliners
- fixed missing custom npm registry call setups
- remove unnecessary and duplicate work during builds
- many many fixes
2023-04-02 09:35:39 +02:00
Benjamin Pasero 95917c1376
eng - throw if minified output contains non-ascii characters (#178590) 2023-03-30 09:26:11 +02:00
Raymond Zhao a442d6a7cb
fix: refresh dependencies lists (#178606)
Reflects node-pty updates
2023-03-29 13:58:08 -07:00
Johannes Rieken 2cce9893ef
Merge pull request #178572 from microsoft/joh/bottom-parrot
joh/bottom parrot
2023-03-29 15:07:05 +02:00
Daniel Imms 278e7e7750
Add hover to i18n.resources 2023-03-28 15:35:44 -07:00
Benjamin Pasero b0b69338e8
debt - further reduce electron-browser layer (#178504)
* debt - move more tests out of `electron-browser`

* move more tests

* move preload script as well

* fix
2023-03-28 10:35:58 -07:00
Johannes 94ce8894c0
remove the box, use background instead, make input part have the shadow 2023-03-28 18:10:52 +02:00
Tyler James Leonhardt 0d5e948d86
Ensure external extensions are in the extensions project (#178283) 2023-03-26 16:55:04 +02:00
Benjamin Pasero 0e530c3e07
debt - do not ship *-dev.html (#178315)
do not ship `-dev.html`
2023-03-25 20:13:59 +01:00
Pouya Kary ✨ e367f30db6
Fixes #177580 (#177581)
fixed the spelling in commentGlyphForground to commentGlyphForeground

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-03-24 05:05:14 +00:00
David Dossett c89324c0b9
Reverse background colors on interactive session (#178165)
* Reverse background colors on interactive session

* Only apply borders to requests
2023-03-23 16:28:24 -07:00
João Moreno 6fe3014566
Workaround code signing issues (#178071)
* use dot net 6 for codesigning

* make esrpclienttool use continueOnError

* another one

* fix path

* argh
2023-03-23 10:52:34 +01:00