Commit Graph

58 Commits

Author SHA1 Message Date
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
Josh Spicer
b118b3054e bump copyright (#274806)
* bump copyright

* compile build folder
2025-11-03 11:29:36 -08:00
João Moreno
9d43b0751c remove svgz from default file types (#239180)
* remove svgz from default file types

fixes #231021

* push missing compilation
2025-01-31 10:49:12 +01:00
Aman Karmani
e76c50f20e build: switch build/tsconfig.json to module: nodenext (#238426)
* build/tsconfig: switch to module: nodenext for bun compat

* build: rewrite imports for nodenext compat

* build: re-generate
2025-01-22 20:12:39 +01:00
Matt Bierner
51fa4d0172 Fix more type assertions (#230156)
* Fix more type assertions

For #211878

* Fix type error
2024-09-30 14:17:06 -07:00
João Moreno
bfb7af52e5 fix darwin icons (#216492) 2024-06-18 16:36:32 +02:00
Paul Köck
bb866cd345 Oh, it's already 2024 (#202344)
chore: update copyright year

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2024-01-13 00:38:29 +00:00
João Moreno
a5d71aad39 Cleanup dependencies (#195026)
* move build dependencies to devDependencies

* build: bump tree-sitter

* dependencies cleanup

* remove leftover file
2023-10-09 09:34:15 +02: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
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
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
Benjamin Pasero
4b939d0a0e unc - fix path traversal bypass (#185048) 2023-06-13 19:56:46 +02:00
Robo
0c1e34fa4e chore: update electron@22.5.5 (#184115) 2023-06-01 21:38:57 -07:00
Robo
c26003f37a chore: update electron@22.5.4 (#183716) 2023-05-29 16:09:35 +02:00
Robo
ced29a4346 chore: update electron@22.3.10 (#183116) 2023-05-22 16:34:36 +02:00
Benjamin Pasero
83e7b4dcec 🆙 electron@22.5.2 (#182043) 2023-05-10 13:19:45 +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
Robo
039fd8980d chore: update electron@22.4.8 (#180526) 2023-04-21 17:59:30 +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
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
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
Robo
34c8b46830 chore: bump electron@22.3.5 (#179357) 2023-04-06 09:16:54 +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
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
Paul Köck
aa1052b3d8 Oh, it's already 2023 (#172649) 2023-03-23 10:33:54 +01:00
Robo
3a11b47eee chore: revert to Electron 19 (#175851)
* Revert "Update to min supported version of node (#175723)"

This reverts commit f749e6be2d.

* Revert "chore: update min node version for development (#175663)"

This reverts commit f2a822fbe9.

* Revert "electron 22 sandbox - enable for OSS (#175659)"

This reverts commit 2551af21f8.

* Revert "chore: update to Electron 22 (#166430)"

This reverts commit 6e85d2b51e.
2023-03-02 02:58:46 -08:00
Robo
6e85d2b51e chore: update to Electron 22 (#166430)
* chore: bump electron@22.0.0-beta.5

* chore: bump electron@22.0.0-beta.7

* chore: update libc++ flags

* chore: switch to c++17

* chore: bump electron@22.0.0

* chore: bump electron@22.0.2

* chore: cleanup build config for linux

* chore: update debian dependencies

* chore: update rpm dependencies

* chore: update electron@22.0.3

* chore: bump electron@22.2.0

* chore: remove deprecated utility process invoker

* chore: bump electron@22.2.1

* chore: remove unused methods

* chore: update internal electron version

* chore: bump electron@22.3.0

* temp: update electron with default PGO

* chore: bump electron@22.3.1

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-02-28 07:04:00 -08:00
Robo
a22b77d5e1 chore: bump electron@19.1.11 (#175531)
* chore: bump electron@19.1.11

* chore: update chromium version for security patches
2023-02-27 13:57:52 +01:00
Robo
20c4065239 chore: bump electron@19.1.10 (#174808) 2023-02-20 08:07:18 +01:00
Connor Peet
18f743d534 address pr comments 2022-10-05 12:56:07 -07:00
Alex Burgel
c27c1638ec Add swift to supported darwin document types (#159002)
* Add swift to supported darwin document types

* add compilation output

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-08-24 13:06:19 +00:00
Matt Bierner
2a84b0fb6d Enable alwaysStrict for build scripts (#152778)
Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
2022-06-21 19:00:43 +00:00
Benjamin Pasero
9ce2a653c8 macOS: declare folder support (#147686)
* wip

* add utis
2022-04-19 12:56:55 +02:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Paul Köck
a06afb22ce chore: update copyright year (#139988)
* Oh, it's already 2022

* Updated copyright to 2022
2022-01-09 19:03:44 -08:00
Harald Kirschner
dd95be5247 Remove rhtml as deprecated type 2021-08-17 18:00:32 -07:00
Harald Kirschner
2a59986e99 Adding most frequently used file assocations 2021-08-17 17:57:54 -07:00
João Moreno
bb5e8374d9 💄 2021-07-16 13:06:51 +02:00
Tanner Bennett
772f41ff66 Provide more specific file type descriptions
Make use of the changes in the previous commit
2021-03-22 12:01:46 -05:00
Tanner Bennett
f1dd6de4e8 Add darwinBundleDocumentTypes
Split darwinBundleDocumentType into two separate functions. The first function is unchanged.

The second function allows you to specify specific names for different groups of extensions while all sharing the same icon. For example, this would allow you to differentiate between a C header and a C source file while using the same icon for both.

Inherently, the second function will generate multiple file type declarations, so it returns an array instead of a single object. As a result we must use the splat operator on it when passing the result to an array literal.
2021-03-22 12:01:46 -05:00
Tanner Bennett
6182ab92ce Refactor darwinBundleDocumentType
Allow the caller to provide a specific file type description.

The new function will not require source changes to existing calls, but will change how the file type description is generated. An unmodified call to darwinBundleDocumentType will use the given icon name as the file type description. All extensions passed to this function continue to use the same icon as before, and all extensions will have the same file type description as before.
2021-03-22 12:01:46 -05:00
Tanner Bennett
35c20b240c Make darwinBundleDocumentType accept a darwin icon
With this change, to define a document type, you need only pass the name (or relative path) of the darwin icon.

So instead of passing 'resources/darwin/css.icns' you would just pass 'css'
2021-03-22 12:01:46 -05:00
Logan Ramos
6dad35394f Update copyright year 2021-02-17 17:02:21 -05:00
João Moreno
fc4b40b633 fix type casts 2021-01-04 15:54:59 +01:00
Alexandru Dima
c1eb24b027 Load expensive node modules lazily 2020-12-22 19:55:56 +01:00
Benjamin Pasero
ded9067afa build - fix warnings in TS files
//cc @joaomoreno
2020-10-13 10:48:40 +02:00
João Moreno
6ca91db00a Merge remote-tracking branch 'origin/master' into joao/linux-arm 2020-09-09 08:53:49 +02:00
João Moreno
47d8a25606 build vscode armhf 2020-09-08 09:41:28 +02:00