Commit Graph

127026 Commits

Author SHA1 Message Date
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
Daniel Imms 67d03ca2ba Merge pull request #233947 from microsoft/tyriar/227107
Cache up to date lines and don't write them unless invalidated
2024-11-15 12:55:57 -08:00
Tyler James Leonhardt b278635434 predictable keytar resolution (#233948)
In a couple of builds [like this one](https://dev.azure.com/monacotools/Monaco/_build/results?buildId=305323&view=results) we have seen bad comparisons of `extension.js` in the Microsoft Auth extension:

> 2024-11-15T19:16:07.080Z electron-universal SHA for file Contents/Resources/app/extensions/microsoft-authentication/dist/extension.js does not match across builds a4db653e84d42a8cb4681a2274dffd34e0d7729cf14c0c4228b668778aa81c18!=6ff1bd8b8b51db2bff1d5f000625f0efe490a92eb282d0559aa904325d6cad68

Which is odd, considering there is no native dependencies used on macOS. The suspicion is that this is because of `keytar` which we have in the package.json using an odd `file:./path...`syntax to prevent it from installing normally since we don't use it.

The solution: additionally alias keytar in the webpack config so that the resolution is predictable.
2024-11-15 21:47:48 +01:00
Joyce Er 1445d0170d fix: don't re-add suggested entries which were previously removed (#233946)
* fix: don't re-add suggested entries which were previously removed

* fix: don't add related files after first request is submitted
2024-11-15 21:41:35 +01:00
Aaron Munger eaa6d7e555 label the execution item a cell (#233944) 2024-11-15 12:35:58 -08:00
Aaron Munger bf2e6e978d a11y view for last output from REPL input (#233943)
* a11y view for last output from REPL input

* default auto focus to input

* comment
2024-11-15 12:35:37 -08:00
Daniel Imms f8c18693df Cache up to date lines and don't write them unless invalidated
Fixes #227107
2024-11-15 12:24:23 -08:00
Aaron Munger b8ad8f5101 put fix/explain with copilot directly in the status bar (#233927)
* put copilot fix and explain in status bar

* fix up actions

* watch for execution error within the viewmodel

* make observable publicly readonly

* remove unused service

* fix tests

* remove unused import
2024-11-15 11:36:12 -08:00
LitoMore 10c9715567 Remove Microsoft-related logos 2024-11-15 20:09:15 +01:00
Matt Bierner c7baced0af Split stylesheet specific functions out of dom (#233873)
The dom file is getting pretty big. This splits out the parts that are specific to stylesheets as these are intendant of the other parts
2024-11-15 11:27:32 -07:00
Daniel Imms b5f27d84a3 Merge pull request #233932 from microsoft/tyriar/233771
An overlay that indicates GPU-rendered lines
2024-11-15 10:25:52 -08:00
Rob Lourens 36f4516a83 Allow wrapping chat confirm buttons (#233936) 2024-11-15 19:21:14 +01:00
Johannes Rieken 38e92531c2 don't move when there is nothing to move (#233935) 2024-11-15 19:14:11 +01:00
Daniel Imms 6fec530d36 Merge pull request #233934 from microsoft/tyriar/233933
Listen to right event in rectangle renderer
2024-11-15 10:06:21 -08:00
Daniel Imms 5dcfaf4853 Merge pull request #233918 from microsoft/tyriar/233913
Editor GPU: Fix glyphs sometimes missing the final line/column of pixels and negative zoom breaking the slab mechanism
2024-11-15 09:57:09 -08:00
Daniel Imms 9fc7493f47 Listen to right event in rectangle renderer
Fixes #233933
2024-11-15 09:49:25 -08:00
Johannes Rieken 04eff405cf restore history sharing rules for agents (#233930) 2024-11-15 18:48:35 +01:00
Daniel Imms e280ddb293 An overlay that indicates GPU-rendered lines
Always on for now when the experimental setting is on.

Fixes #233771
2024-11-15 09:37:54 -08:00
Joyce Er 34686427c7 fix: don't change editing state for a file that was already accepted or rejected in chat editing on undo (#233925)
fix: don't handle undo for a file that was already accepted or rejected in chat editing
2024-11-15 18:23:00 +01:00
Daniel Imms ab41c45561 Merge pull request #233923 from microsoft/tyriar/233797
Fix roundedSelection when line rendering is mixed
2024-11-15 09:13:22 -08:00
Henning Dieterichs 78742c48db Adds shown command to proposed inline edit API (#233916) 2024-11-15 18:02:25 +01:00
Daniel Imms 6df9a9798c Fix roundedSelection when line rendering is mixed
Fixes #233797
2024-11-15 08:58:01 -08:00
Daniel Imms 99ff85b85d Include missing final row and column of px in atlas upload
Fixes #233913
2024-11-15 08:51:36 -08:00
Ladislau Szomoru 2fc01434d6 DirtyDiff - handle the diff in trigger instead of then (#233914) 2024-11-15 17:34:42 +01:00
Johannes Rieken 434e2d6b5c stuff (#233905)
* align chat history filtering

* tweak styles of hunk menu

* fix tests
2024-11-15 17:32:37 +01:00
Daniel Imms c9e34148a9 Fix scaling of atlas slab size for negative zoom levels
Part of #233913
2024-11-15 08:29:58 -08:00
Henning Dieterichs a57ff4ef85 Renames adaptor to adapter. (#233907) 2024-11-15 07:32:16 -08:00
Johannes Rieken 095a18f6a6 chat overlay and hunk menu work (#233903)
* use primary btn color for all hunk buttons

* add N or M to chat overlay

* use toolbar and primary action
2024-11-15 15:29:53 +01:00
Benjamin Pasero 005b58244b chat setup - tweaks to welcome views (#233901) 2024-11-15 13:58:51 +01:00
Martin Aeschlimann f9653c2f1c persist chat session also for edits (#233900) 2024-11-15 13:20:12 +01:00
Martin Aeschlimann f6d3b6e8ed Merge pull request #233687 from microsoft/aeschli/metropolitan-salmon-496
rename asCSSPropertyValue to asCSSStringValue and use for generated CSS with `font-family` and `content`
2024-11-15 12:55:11 +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
Martin Aeschlimann b46d303f3c update 2024-11-15 11:59:17 +01: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
Martin Aeschlimann c1d0d9aeef Merge branch 'main' into aeschli/metropolitan-salmon-496 2024-11-15 11:25:23 +01:00
Johannes Rieken a57b852e31 Merge pull request #233852 from microsoft/joh/unique-parrotfish
Joh/unique-parrotfish
2024-11-15 11:10:06 +01:00
Johannes a423a66597 fix compile error 2024-11-15 10:45:44 +01:00
Benjamin Pasero a4e9131586 Merge pull request #233885 from microsoft/ben/inner-pony
ben/inner-pony
2024-11-15 10:31:38 +01:00
Don Jayamanne b15a0a7b81 Navigate through cells with changes (#233883)
* Accept/Reject/Next/Previous actions per notebook

* Support Accept/Reject/Next/Prev in notebooks

* Nav through next/previous cells with changes

* revert
2024-11-15 09:06:27 +01:00
Johannes Rieken ca6444cb01 Merge branch 'main' into joh/unique-parrotfish 2024-11-15 09:06:26 +01:00
Benjamin Pasero e6d0ee846d editor watermark - reimplement with random picks 2024-11-15 09:02:09 +01:00
Benjamin Pasero 8a50c5f429 chat - cleanup global chat menu 2024-11-15 08:36:33 +01:00
Benjamin Pasero d5a82dea43 Can't hide "Go Back" and "Go Forward" buttons (fix #204578) 2024-11-15 08:20:34 +01:00
Benjamin Pasero 9891bee43e title - tweak paddings and ensure layout controls are top-right (#232798) 2024-11-15 08:10:57 +01:00
Benjamin Pasero efb046d1a6 Layout Controls: make toggles the default (#232798) 2024-11-15 08:08:54 +01:00
Benjamin Pasero da17c9e740 Remove chat welcome view for moved location (fix #232789) 2024-11-15 08:07:39 +01:00
Joyce Er ff6beb57c0 fix: show Save All in chat editing widget for non-autosave users too (#233879) 2024-11-15 06:33:57 +01:00
Don Jayamanne 28f7008e9b Accept/Reject/Next/Previous actions per notebook (#233874) 2024-11-14 20:08:46 -08:00
Justin Chen 607587140b make sure names match (#233877) 2024-11-14 19:25:08 -08:00
Matt Bierner 4cdfe236ce Use uris when resolving project loading indicator display (#233859)
Fixes #230009
2024-11-14 18:10:33 -08:00