Commit Graph

6364 Commits

Author SHA1 Message Date
Benjamin Pasero
27c10fba46 [chore] bump @types/mocha to match mocha (#260034) 2025-08-06 11:54:24 +00:00
Robo
53fa43adfa ci: fix build (#259996) 2025-08-06 10:44:45 +02:00
Robo
e3231fea7f ci: generate and upload cpu profile for win32 codesign steps (#259808) 2025-08-05 16:38:18 -07:00
Robo
bcf2f5ba2b chore: update to @electron/osx-sign@2.0.0 (#259758) 2025-08-05 04:30:58 -07:00
Matt Bierner
e51d57aa5c Update target for build and test scripts 2025-08-04 17:28:08 -07:00
Raymond Zhao
70639634f3 fix: customize postinst by architecture (#259280)
Fixes #258886
2025-08-04 17:03:54 +00:00
Remco Haszing
c2f435a9bb Fix global access of MonacoEnvironment (#248075)
Fix global access of MonacoEnvironment

There are 3 ways to declare global variables in TypeScript.

1. A global `declare let`.
2. A global `declare var`.
3. Augmenting the global `Window`.

There are 4 ways to access global variables in the browser.

1. Using a global identifier.
2. Using the `globalThis` object.
3. Using the `window` object.
4. Using the `self` object.

Not all 3 types of global declarations work for all methods to access a
global.

|              | `let` | `var` | `Window` |
| ------------ | ----- | ----- | -------- |
| global       |   ✓   |   ✓   |          |
| `globalThis` |       |   ✓   |          |
| `window`     |       |   ✓   |    ✓     |
| `self`       |       |   ✓   |    ✓     |

So the proper way to declare the global `MonacoEnvironment`, is:

```ts
declare global var MonacoEnvironment: Environment | undefined
```

https://www.typescriptlang.org/play/?#code/PQgEB4CcFMDNpgOwMbVAGwJYCMC8AiAEwHsBbfUYAPgFgAoew6ZdAQxlAHN1jtX1QAb3qhRGaABdQAGUkAuUAGcJkTIk4ixAN3agAauwXLV6+ptFqJCWK1SgA6mpIB3IebGjHiIyrUa6HgC+9MEMdGDcvPygtqiKivSyEvQGkPReZuHAoM5OxK6ckvS5iC4AdEnFec5lqVWl+WUZYWAlLkpFdG2NSaC4oADkA-XlqX2Dw13VTWrjQ5kRPHzoACoAFpiKXJ2Ry+ubFTtL-PuKtez0uycbZ830i1GrNx3JdFdPB73982-HH2djb6Td6nGaIOaTe7ZRTQdCwbavGFww6I2Gwc5pOhI9F3LIdOEvejYlEQolojGkrHkryU+jQAAeAAdiJApIJAkA

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2025-08-04 13:23:01 +00:00
Osvaldo Ortega
bb387118e9 Missing colors (#259113) 2025-08-01 00:56:40 +00:00
Robo
73f08941a3 fix: remove unused appx package (#258741)
* fix: remove unused appx package

* fix: inno compilation

* chore: reduce the number of remove and add commands
2025-07-30 14:13:27 +02:00
Robo
c9118f6388 ci: log diagnostics for deemon failures on windows (#258422) 2025-07-29 06:23:26 -07:00
Robo
c48e24145d fix: disable appx identity for system setup (#258275)
* fix: external location for appx package installation

* chore: revert external location
2025-07-28 17:33:51 +00:00
Aman Karmani
5e5fabe435 [engineering] parallelize unzip in product-build-darwin-universal.yml (#257775) 2025-07-28 04:48:36 +00:00
Robo
b59f40f060 ci: specify keychain when logging identity (#258013) 2025-07-26 20:37:12 -07:00
Robo
f5e06c148d feat: support device permissions via package identity (#257741)
* feat: support device permissions via package identity

* chore: update explorer dll checksums

* chore: cleanup appx preparation

* chore: avoid cross-device link error

* chore: remove appx installation gate

* chore: rm duplicate appx installation checks

* chore: extract package full name from Get-AppxPackage

* chore: fix remove-appxpackage command
2025-07-25 12:57:36 -07:00
Raymond Zhao
8d2cd62b62 chore: add include.gypi for parcel-bundler/watcher BinSkim results (#257514) 2025-07-24 07:59:58 -07:00
Justin Chen
c10aee1fec checkpoints + edits fix: selecting in code block and checkpoint color (#257567)
checkpoints + edits fix: selecting in code block and checkpoint highlight
2025-07-24 03:25:06 +02:00
Robo
10575e19aa (partial revert) ci: remove install build dependencies step on linux (#257064) 2025-07-21 11:25:26 +00:00
Robo
8c19263c57 (reland) chore: update to Electron 37 (#256905)
* chore: update to Electron 37 (#256287)

* chore: update electron@36.5.0

* chore: update node.js builds

* chore: update electron@37.0.0

* chore: update rpm deps

* chore: bump electron@37.2.0

* chore: bump nodejs@22.17.0

* temp: update distro

* chore: bump .nvmrc

* chore: bump distro

* chore: bump electron@37.2.3

* chore: bump distro

* chore: update electron build
2025-07-21 12:37:44 +02:00
Robo
b37c013d08 ci: remove install build dependencies step on linux (#257050) 2025-07-21 09:38:54 +00:00
Robo
2305e3bbcd ci: fix linux node_modules publish pipeline (#256781)
* ci: fix linux node_modules publish pipeline

* fix: build
2025-07-21 18:09:57 +09:00
Robo
df5b80fc08 fix: check for appx package before (un)install (#256766) 2025-07-18 19:21:01 +00:00
Matt Bierner
3059a176b1 Revert "chore: update to Electron 37 (#256287)"
This reverts commit 9f4784d4bb.
2025-07-17 16:27:56 -07:00
Robo
9f4784d4bb chore: update to Electron 37 (#256287)
* chore: update electron@36.5.0

* chore: update node.js builds

* chore: update electron@37.0.0

* chore: update rpm deps

* chore: bump electron@37.2.0

* chore: bump nodejs@22.17.0

* temp: update distro

* chore: bump .nvmrc

* chore: bump distro
2025-07-17 18:10:54 +00:00
João Moreno
5f9c70aa64 Separate what we test from what we sign, because esrp needs to replace the files as they come back signed (#255748)
* separate what we test from what we sign, because esrp needs to replace the files as they come back signed

fixes #248116

Co-authored-by: @lszomoru

* 💄
2025-07-15 12:03:24 +02:00
Robo
421f2dcd32 chore: log keychain details when signing fails (#255799)
* chore: log available identities when signing fails

* chore: dump keychain used for signing
2025-07-14 16:42:15 +02:00
Robo
0072e9c876 chore: enable verbose logs for windows electron smoketests (#255794) 2025-07-14 15:39:09 +02:00
João Moreno
ff529acdac fixes #255743 (#255746) 2025-07-14 09:14:16 +00:00
Ladislau Szomoru
a0d2afee33 Engineering - do not run the PR check for the main branch (#255309) 2025-07-11 08:28:32 +00:00
Matt Bierner
5890e0a51d Merge branch 'main' into current-swordtail 2025-07-08 10:17:09 -07:00
Aman Karmani
bcd950d6be [engineering] add label to packageTask (#253779)
previously appeared as "(anonymous)" in the logs
2025-07-08 09:41:53 +02:00
Matt Bierner
2b3fe79f88 Revert service-worker js -> ts rewrite
This is causing build issues by pulling in the webworker typings
2025-07-07 16:53:13 -07:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Ladislau Szomoru
9f88ccaac4 Engineering - disable pipeline (#253650) 2025-07-03 10:24:20 +00:00
Ladislau Szomoru
4b9018cbef Engineering - Add pipeline to test the new agent pool (#253253)
Add pipeline to test the new agent pool
2025-07-01 13:29:16 +02:00
Robo
eee3294912 build: update preinstall check for node@22.15.1 (#253248) 2025-07-01 13:13:53 +02:00
Raymond Zhao
202f02381b chore: bump ripgrep + npm audit fix (#252674) 2025-06-27 12:26:19 -07:00
Robo
d643cc7dac chore: bump electron@35.6.0 (#252670)
* chore: bump electron@35.6.0

* chore: bump distro
2025-06-27 20:06:46 +02:00
hyrious
7dd2343e5b fix: missing translations of remote built-in extensions (#249430) 2025-06-27 13:23:23 +00:00
Aman Karmani
e539ff9ae1 [engineering] remove dead references to Swc transpile (#252375) 2025-06-25 10:40:10 +02:00
Benjamin Pasero
94956d0b0b 🆙 esbuild@0.25.5 (#252382) 2025-06-25 10:35:13 +02:00
Justin Chen
c6e8ac1778 feature: edit previous requests (#251732)
* edit previous requests

* some small cleanup

* second pass with some moderate cleanup, all working

* another pass, more cleanup

* some cleanup and gated behind chat.editRequests setting

* some more cleanup

* add custom hover colors

* simplify some logic

* actually use helper function i added

* address some comments, cleanup

* fix flickering on click

* remove unused import

* fix context key, keybindings, layouts, and cleanup
2025-06-23 19:05:21 -07:00
Daniel Imms
b55c94c0c6 Revert "Merge pull request #251303 from microsoft/tyriar/250000"
This reverts commit dd48c7f264, reversing
changes made to 80f28ae4ed.
2025-06-18 05:10:58 -07:00
Robo
0f5ce4a087 chore: reland windows 2022 agent for product builds (#251560)
* chore: bump gulp-electron@1.37.0

* chore: update package-lock.json

* Reland "Fix extraction of tab title name" (#251379)"

This reverts commit 5d1bd8f13d.

Reason for revert:

Icon issue was side affect of the windows agent change that affected
the rcedit binary which has now been addressed.

* chore: bump gulp-electron@1.37.1
2025-06-18 12:00:44 +02:00
Daniel Imms
dd48c7f264 Merge pull request #251303 from microsoft/tyriar/250000
Move shell integration ps1 into module
2025-06-14 10:37:50 -07:00
Daniel Imms
3962d9ca2b Compile build folder 2025-06-14 09:50:12 -07:00
Daniel Imms
7761fdf5bc Codesign pwsh modules 2025-06-14 09:32:25 -07:00
Benjamin Pasero
5d1bd8f13d Revert "Fix extraction of tab title name" (#251379)
* Revert "Fix extraction of tab title name (#250621)"

This reverts commit ab6d98e599.

* skip test
2025-06-13 15:38:51 +02:00
Daniel Imms
af72ade6fa Ensure psm1 is included in packages 2025-06-12 11:40:07 -07:00
Raymond Zhao
8def6db21b chore: bump vscode/ripgrep (#251213)
* chore: bump vscode/ripgrep

* Update error message
2025-06-11 20:12:10 +02:00
Johannes
35911fd6bc Merge branch 'main' into joh/systematic-mockingbird 2025-06-11 08:35:51 +02:00