Commit Graph

5928 Commits

Author SHA1 Message Date
João Moreno
714dc6d804 fix concurrency in publish stage (#235411)
* 💄

* use blob leases to prevent artifact overwriting

* more logs

* 💄
2024-12-06 09:09:00 +01:00
Johannes Rieken
8439692139 make edits highlight more smooth and animated when "stuck" (#235376) 2024-12-05 11:33:16 +01:00
Henning Dieterichs
90e852884b Inline edits ui tweaks (#235018) 2024-12-02 18:19:53 +00:00
Sandeep Somavarapu
f59439b9a0 revert to text type for object policies (#234985) 2024-12-02 15:46:52 +01:00
João Moreno
b4f2157f05 log when asset already exists in DB (#234885) 2024-11-29 11:07:41 +01:00
Robo
be48d6333b chore: bump electron@32.2.6 (#234816)
* chore: bump electron@32.2.6

* chore: remove exit code workaround for utility process

Refs c90509c2bc

* chore: update node.js build

* chore: bump distro
2024-11-28 16:04:02 +01:00
Sandeep Somavarapu
6c6eb1e166 Support object type policy (#234428)
* #84756 Support object type policy

* add new policy object for array and object

* add new policy object type

* checkin policies.js file

* review

* fix warning

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-11-25 14:23:30 +00:00
Ladislau Szomoru
8a0d6ef1ad Engineering - update variable group name (#234561) 2024-11-25 13:02:13 +01:00
Johannes Rieken
a43f284857 tweak inline chat hint (#234544) 2024-11-25 11:15:03 +01:00
Ladislau Szomoru
c87b76b8e0 Engineering - switch to variable group (#234537)
* Engineering - switch to variable group

* Fix typo
2024-11-25 09:22:02 +01:00
Megan Rogge
8eb7fac565 add tests for terminal suggest widget, fix some bugs (#234445) 2024-11-24 10:38:19 -05:00
João Moreno
dcd24d94a9 💄 (#234417) 2024-11-22 14:16:40 +01:00
João Moreno
9086857624 update esrp params (#234407) 2024-11-22 10:49:51 +01:00
João Moreno
3175b54dd4 update sign codes (#234183) 2024-11-19 14:37:05 +01:00
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