Commit Graph

6364 Commits

Author SHA1 Message Date
Robo
11180de3c0 chore: bump electron@32.2.5 (#234160)
* chore: bump electron@32.2.5

* chore: bump distro
2024-11-19 09:46:07 +01:00
Sandeep Somavarapu
1e1b39df01 update inno updater (#234109) 2024-11-18 07:27:47 -08:00
Robo
33c2ffbd4a chore: bump electron@32.2.3 (#234015)
* chore: bump electron@32.2.3

* chore: bump distro
2024-11-17 21:03:55 +05:30
João Moreno
dfe78a1fb9 use WIF for Codesign (#233908)
* use WIF for Codesign

* fix indentation

* fix tasks
2024-11-15 22:16:31 +01:00
Tyler James Leonhardt
305134296c Adopt the MSAL broker to talk to the OS for Microsoft auth (#233739)
This adopts the `NativeBrokerPlugin` provided by `@azure/msal-node-extensions` to provide the ability to use auth state from the OS, and show native auth dialogs instead of going to the browser.

This has several pieces:
* The adoption of the broker in the microsoft-authentication extension:
  * Adding `NativeBrokerPlugin` to our PCAs
  * Using the proposed handle API to pass the native window handle down to MSAL calls (btw, this API will change in a follow up PR)
  * Adopting an AccountAccess layer to handle:
    * giving the user control of which accounts VS Code uses
    * an eventing layer so that auth state can be updated across multiple windows
* Getting the extension to build properly and only build what it really needs. This required several package.json/webpack hacks:
  * Use a fake keytar since we don't use the feature in `@azure/msal-node-extensions` that uses keytar
  * Use a fake dpapi layer since we don't use the feature in  `@azure/msal-node-extensions` that uses it
  * Ensure the msal runtime `.node` and `.dll` files are included in the bundle
* Get the VS Code build to allow a native node module in an extension: by having a list of native extensions that will be built in the "ci" part of the build - in other words when VS Code is building on the target platform

There are a couple of followups:
* Refactor the `handle` API to handle (heh) Auxiliary Windows https://github.com/microsoft/vscode/issues/233106
* Separate the call to `acquireTokenSilent` and `acquireTokenInteractive` and all the usage of this native node module into a separate process or maybe in Core... we'll see. Something to experiment with after we have something working. NEEDS FOLLOW UP ISSUE

Fixes https://github.com/microsoft/vscode/issues/229431
2024-11-15 20:53:28 +09:00
João Moreno
681164aaaa Move to auth cert for Release service (#233841)
* wip

* move to auto provisioning, only cert based auth

* k

* missing compilation

* remove console logs

* extract get publish auth tokens, wait 5 seconds before polling for release
2024-11-15 11:54:43 +01:00
Don Jayamanne
1b86938a29 Display deleted cells in viewzones (#233740)
* Display deleted cells in viewzones

* Simpler fix

* Revert

* misc
2024-11-13 07:23:30 +01:00
Tyler James Leonhardt
d6688b5ba3 Only rewrite sourcemap urls when js (#233626)
This prevents the build from touching any other kind of file.
2024-11-12 00:45:15 +01:00
João Moreno
0244c5edf7 move to new esrp service connection (#233591) 2024-11-11 12:52:05 -08:00
Raymond Zhao
3bd09b9a4e chore: use direct ref (#233598) 2024-11-11 09:17:11 -08:00
Connor Peet
ec168810ca testing: update error message badge with some feedback (#233447)
- Make the border styleable
- Fix pointer rendering issues with zoom
- Make the width account for scroll contents
2024-11-08 23:17:15 +01:00
Kevin Cui
d0d222dee4 fix: cannot open vscode when use vscode-win32-x64 in Windows (#233285)
When executing `npm run gulp vscode-win32-x64` on the Windows platform, the `bundle-vscode` task is triggered. However, this task does not handle the path issues well, resulting in the contents of the `bootstrap-window.js` file not being injected into `workbench.js` and `processExplorer.js`.

The reason why VSCode does not encounter this issue is that the code compilation (compile-build) is performed on a Linux machine, while the Windows machine only executes the application build (vscode-win32-x64-ci will not trigger `bundle-vscode`).

Signed-off-by: Kevin Cui <bh@bugs.cc>
2024-11-08 13:17:17 +00:00
Raymond Zhao
1aead6e58d chore: remove API Scan variables group (#233359) 2024-11-07 21:48:28 +01:00
João Moreno
f0a0037891 use longer lived access tokens for cosmosdb auth (#233255) 2024-11-07 06:43:11 +01:00
Raymond Zhao
6dd48ce0e4 chore: publish symbols to SymWeb (#233133) 2024-11-06 11:18:35 -08:00
João Moreno
a46559966e move to new service connection, remove deprecated storage account upload (#233191) 2024-11-06 14:57:38 +01:00
Connor Peet
cdd03ef969 testing: try out new 'badges' UI for test failures (#233137)
* badge wip

* badge wip

* testing: try out new 'badges' UI for test failures

I'm exploring some UI to make tests look better in already-busy
scenarios, like Copilot edits. We've long had these big inline message
decorations which get very noisy quickly, especially with word wrap on.
I'm exploring these smaller 'badge' type indicators. These are shown in
at most one place per test and their content length is very limited.
Clicking on them opens the traditional test error peek. Because I feel
like they are easier to see and more inviting to click, I turned off the
default behavior of opening the error peek. Making any edits in the test
case will dismiss the badge.

Closes #233028
2024-11-06 00:35:37 +01:00
Christof Marti
3d41ba214c Proxy support for Node.js fetch (#228697) 2024-11-06 00:22:35 +01:00
João Moreno
1f8fd7adef use oidc (#233126)
* use oidc

* undo dep bump

* use ClientAssertionCredential

* temporarily disable mangle

* adopt oidc
2024-11-05 21:50:01 +01:00
Alex Ross
e6f2cc2f0a Add an easy way to run performance tests for tree-sitter (#233072)
* Add an easy way to run performance tests for tree-sitter
Part os #210475

* Compile build folder
2024-11-05 15:35:58 +01:00
Daniel Imms
a845c87459 Add ligatures working under Electron
Part of #34103
2024-11-01 07:42:40 -07:00
Johannes Rieken
08dbf783fc allow to resize inline chat zone (#232795)
* * make inline chat filter empty in-progress items
* show ellipses progress on request
* make inline zone animate its frame during request

* allow to resize inline chat zone

fixes https://github.com/microsoft/vscode/issues/230784
2024-11-01 02:01:56 -07:00
Christof Marti
bbf4ab6683 Fix layering 2024-11-01 08:59:46 +01:00
João Moreno
56246f3244 force app shutdown on background updated, if necessary (#231390)
* force app shutdown on background updated, if necessary

* fix CloseApplications

* use force anyway
2024-10-30 12:49:03 -07:00
Justin Chen
8f0188c73f removing old issue reporter flow (#232517)
* removing lot's of old issue reporter stuffs

* cleanup
2024-10-30 09:17:48 +01:00
Raymond Zhao
22b0035d32 chore: add guard:cf flags to CLI (#232452) 2024-10-29 11:51:22 -07:00
Daniel Imms
7e688863a8 Move fish SI script out of xdg named dir
Fixes #232408
2024-10-28 06:57:42 -07:00
Robo
d29233066e fix: deb package dependency of libgdk-pixbuf (#232397) 2024-10-28 05:04:00 -07:00
Henning Dieterichs
52f35de63b Uses proper theme colors for the inline edit indicator (#232055) 2024-10-23 07:45:11 -07:00
Robo
804f450ca9 fix: remote folder compilation on macOS with node.js v20.18.0 (#231928)
* fix: remote folder compilation on macOS with node.js v20.18.0

* chore: update debian deps

* chore: update rpm deps
2024-10-22 15:26:13 +02:00
Robo
6c2e9ffde1 chore: bump electron@32.2.1 (#231913)
* chore: bump electron@32.2.1

* chore: bump distro
2024-10-22 01:12:06 -07:00
Raymond Zhao
d5baf34009 Revert "fix: CLI is missing guard:cf flags" (#231874)
Revert "fix: CLI is missing guard:cf flags (#231863)"

This reverts commit 1e580bc97d.
2024-10-21 12:48:49 -07:00
Raymond Zhao
d3bb5dd92f chore: publish symbols internally (#231869) 2024-10-21 20:55:36 +02:00
Raymond Zhao
1e580bc97d fix: CLI is missing guard:cf flags (#231863) 2024-10-21 19:53:34 +02:00
Robo
f84b345a46 ci: cleanup snap publishing step (#231833) 2024-10-21 15:37:26 +02:00
Raymond Zhao
75caed98f2 chore: install make for snap (#231709)
* chore: install make for snap

* Also add g++

* Also list versions

* Again
2024-10-21 14:08:45 +09:00
Benjamin Christopher Simmonds
0de652b7ff Update tree-sitter package-lock.json (#231646)
update tree sitter package-lock.json
2024-10-18 12:52:51 +02:00
Alex Ross
3906f4cacc Make tree-sitter a required dependency for build (#231494) 2024-10-18 10:52:12 +02:00
Raymond Zhao
4428a025b2 chore: add BinSkim for CLI (#231543) 2024-10-17 09:17:44 -07:00
夜坂雅
8addf834f8 fix: Use a proper desktop name in package.json (#231472)
Fixes #154693

Initally, this part is required due to how Electron handles the prorotol
registeration as in https://github.com/microsoft/vscode/pull/56727#issuecomment-420701045 ( I also explained in https://github.com/microsoft/vscode/issues/154693#issuecomment-2409830275 )

However since
986b5532b5
that part is no longer used for protocol registeration on Linux, and
since Electron 18, Electron uses the desktop file name to set the
`app_id` in Wayland, and it was given the wrong one. This change fixes the
problem where running VS Code on Wayland would have the `app_id` of
`code-url-handler` which is unreasonable.
2024-10-17 00:02:59 +00:00
Rob Lourens
8d8f0cd9d4 Improve chat scrolling (#231370)
* Don't auto-scroll while chat response loads
Fix microsoft/vscode-copilot-release#138

* Show button all the time

* Fixes, don't auto-scroll for edit session view

* Keep autoscroll in inline and quick chat
2024-10-14 21:04:35 -07:00
Connor Peet
92e7dc6aae chore: include web bits for smoke tests (#231354)
try
2024-10-14 15:55:15 -07:00
Connor Peet
40206b2534 chore: simplify some moduleignore patterns (#231330) 2024-10-14 19:53:41 +02:00
Benjamin Pasero
c025c19d14 eng - reduce some unused deps (#231221) 2024-10-13 12:38:11 +02:00
Raymond Zhao
39e24a5d98 chore: add TSAUpload step to Custom SDL stage (#231150) 2024-10-11 23:33:50 +02:00
Raymond Zhao
a83b9ead9a chore: restore latest 1ES template (#231136) 2024-10-11 11:11:21 -07:00
Raymond Zhao
7e40fbc3ba chore: fix template to older version (#231056) 2024-10-10 21:56:29 +02:00
Matt Bierner
e2e048ded8 Merge pull request #230345 from microsoft/dev/eslint-9
Eslint 9 migration
2024-10-07 09:15:12 -07:00
Matt Bierner
0deec1d730 Exclude generated codicon.css file from hygiene (#230501)
Fixes #230388
2024-10-07 16:25:03 +02:00
Benjamin Pasero
89f039ff9f esm - fancyLog for bundle messages (#230638) 2024-10-06 09:27:18 -07:00