Commit Graph

225 Commits

Author SHA1 Message Date
Robo
5216c04428 chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Matt Bierner
52d39c1fa7 Fix high contrast light md images (#205888)
Fixes #203686
2024-02-21 18:00:14 +01:00
Matt Bierner
64cd658cac Disable some share context menus in editor playground (#204566) 2024-02-07 09:05:51 +01:00
Lucas Towers
8182fd55db Fix markdown light and dark mode when using high contrast themes (#203690) 2024-02-01 00:54:32 +00:00
Logan Ramos
9bea1fc96a Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
dependabot[bot]
56c3d4cd50 Bump graphql from 16.6.0 to 16.8.1 in /extensions/github (#193721)
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 07:59:12 -07:00
Logan Ramos
cc98e55794 Fix slow telemetry module (#193607) 2023-09-20 20:14:12 +01:00
Logan Ramos
ecb0c80fc1 Bump extension telemetry module (#191237)
* Bump extension telemetry module

* Fix webpack
2023-08-24 12:53:41 -07: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
Joyce Er
1d96980398 Don't prompt to publish branch after it was pushed (#188166) 2023-07-18 17:22:35 +02:00
Ladislau Szomoru
ad395686d2 Git - add support for type changed (#187714)
* Initial implementation

* Add icons
2023-07-12 16:18:38 +02:00
Raymond Zhao
5be539a588 Bump semver (#187654) 2023-07-12 01:49:45 +02:00
Ladislau Szomoru
0af4ba0b54 GitHub - add branch protection telemetry (#187589) 2023-07-11 16:51:09 -04:00
Ladislau Szomoru
dca0fc0fd7 GitHub - do not clear branch protection if the user is not signed in (#187588) 2023-07-11 16:18:06 +02:00
Ladislau Szomoru
4a7a02ab9f GitHub - update branchProtection setting default (#187583) 2023-07-11 15:42:07 +02:00
Joyce Er
52b72a22f9 Share > Copy vscode.dev Link polish (#186576)
* Prompt when copying link and behind remote

* Make dialog actions explicit re: copy behavior
2023-06-28 16:43:18 -07:00
Joyce Er
0078c4965d Allow Continue On to vscode.dev with no active editor (#186459) 2023-06-27 18:58:37 -07:00
Joyce Er
b114662b7a Don't validate publish state for Continue On (#186410) 2023-06-27 11:50:52 -07:00
Joyce Er
31478cefc5 Ask user to commit/push changes when copying links (#185802)
* Ask user to commit/push changes when copying links

* Don't show an error message for cancellation errors
2023-06-22 00:28:32 +02:00
Ladislau Szomoru
8f8848433b GitHub - add push error handler telemetry to understand usage (#185573)
* GitHub - add push error handler telemetry to understand usage

* Add yarn.lock file

* Pull request feedback
2023-06-19 10:09:45 -07:00
Ladislau Szomoru
4a395962a6 GitHub - basic handling of push errors due to GHAS push protection (#185344) 2023-06-16 17:10:57 +02:00
Ladislau Szomoru
9979f9cc3c Git - close repository improvements (#184708)
* Initial implementation

* Move ObservableSet into a separate file

* Add quick pick for reopening closed repositories

* Fix issue with initializing the context key

* Add welcome views
2023-06-09 13:19:57 +02:00
Ladislau Szomoru
908b24de44 GitHub - branch protection uses silent auth (#184609) 2023-06-08 17:59:26 +02:00
Joyce Er
0876c19e0a Support language selector and passing selection to share providers (#184196)
* Allow selecting share provider by language

* Pass selections to extension providers
2023-06-02 20:19:32 +02:00
Ladislau Szomoru
e7e97f8ea8 Git - handle --intent-to-add on a renamed resource (#183307) 2023-05-24 13:11:57 +02:00
Joyce Er
9f081fd11a Open branches on vscode.dev from ref picker (#181549) 2023-05-24 11:23:40 +02:00
Ladislau Szomoru
edcad3ab53 GitHub - use GitHub default branch name when publishing to GitHub (#183207) 2023-05-24 11:15:17 +02:00
Joyce Er
bc1090cc10 Initial share provider API and UI (#182999)
* Formalize share provider API

* i18n.resources.json

* Don't introduce a generic Success dialog severity
2023-05-22 15:32:43 -07:00
Joyce Er
0880f76765 Improvements to canonical URI API (#182667)
* Improve API names

* Allow requesting a specific scheme

* Implement ile uri support
2023-05-18 09:23:27 -07:00
Joyce Er
2c5dcb3b81 Allow Continue On between repos with HTTPS and SSH remotes (#182352)
* Deduplicate HTTPS and SSH remote URLs

* Improve doc
2023-05-15 11:37:38 -07:00
Ladislau Szomoru
4182ec739b GitHub - clear branch protection when signing out (#182053) 2023-05-10 06:16:56 -07:00
Ladislau Szomoru
3dd678d2b0 GitHub - update authentication flow for branch protection (#181924)
* GitHub - tweak authentication request

* Add tracing messages
2023-05-09 20:10:00 +02:00
Ladislau Szomoru
a54b497150 GitHub - refactor branch protection (#181880)
* GitHub - rewrite to use GraphQL instead of REST

* Add paging
2023-05-09 13:14:54 +02:00
Ladislau Szomoru
1c59c16f20 GitHub - avoid double prompting when github.branchProtection setting is enabled (#181137) 2023-04-28 08:40:25 -07:00
Joyce Er
180f909fac Avoid double encoding vscode.dev links (#181002) 2023-04-27 08:48:29 +02:00
Ladislau Szomoru
5ea57c3b48 GitHub - leveral repository rules for branch protection (#180416)
* WIP - switching to use repository ruleset information

* Handle includes

* Refactor to add support for exclusion

* Fix exclude condition

* Fix request string

* Add logging

* Update setting description
2023-04-20 16:43:42 +02:00
Ladislau Szomoru
2c7cc4ddea GitHub - do not get branch protection if the user does not have push permission (#179879) 2023-04-13 07:42:12 -07:00
Ladislau Szomoru
f972a31938 GitHub - restore/save branch protection to global state (#179855) 2023-04-13 14:43:12 +02:00
Ladislau Szomoru
45a44d1786 Git/GitHub - Branch protection refactoring (#179848)
Branch protection refactoring
2023-04-13 10:14:33 +01:00
Joyce Er
3cf3ef8897 Encode slash-delimited branch and file segments in links (#179801) 2023-04-12 21:14:24 +02:00
Ladislau Szomoru
bb7570f4f8 GitHub - branch protection provider (#179789)
* Initial implementation

* Update default setting state
2023-04-12 17:42:51 +02:00
Joyce Er
1db062d188 Finalize editor/lineNumber/context menu (#179168) 2023-04-04 23:27:51 +02:00
Joyce Er
602c01b268 Encode filepaths with whitespace in links (#179167) 2023-04-04 23:27:40 +02:00
Joyce Er
eb57ab314b vscode.dev links should be head links (#179074) 2023-04-03 19:48:02 -07:00
Johannes Rieken
1db217a0e2 Revert "Introduce share links in more places via a contrib" (#177328)
Revert "Introduce share links in more places via a contrib (#177311)"

This reverts commit e9ff97aa0f.
2023-03-16 11:27:25 +01:00
Joyce Er
e9ff97aa0f Introduce share links in more places via a contrib (#177311)
* Introduce share links in more places via a contrib

* Update `build/lib/i18n.resources.json`
2023-03-16 09:15:15 +01:00
Joyce Er
9b12df8aaa Always show Copy vscode.dev link in notebook gutter (#176553) 2023-03-08 20:46:19 +01:00
Joyce Er
9c7113f6ae Observe lineNumber if there is no active selection or if the active selection does not contain the specified line number (#176432)
* Observe `lineNumber` if there is no active selection or if the active selection does not contain the specified line number

* Explicit undefined check

* Extract condition into function
2023-03-07 23:23:04 +01:00
Joyce Er
93ac6e0c80 Don't show vscode.dev links on Codespaces (#176287) 2023-03-06 20:38:54 +01:00
Joyce Er
5271145f3f Only show Copy vscode.dev link when line numbers are enabled (#176153)
* Only show `Copy vscode.dev link` when line numbers are enabled

* Fix line endings
2023-03-04 18:58:31 -08:00