Commit Graph

5536 Commits (ed5fbf5a161587b6614917e12e919e3e69e6278c)

Author SHA1 Message Date
João Moreno 4d0c0a072b
fix pipeline syntax 2024-08-15 11:20:06 +02:00
João Moreno d1fbdccf10
try this 2024-08-15 11:11:46 +02:00
João Moreno 56add2693b
try this 2024-08-15 11:02:50 +02:00
João Moreno 28c286e9b9
run codeql in WindowsSDL only 2024-08-15 10:57:07 +02:00
Benjamin Pasero bea40cdd3d
esm - more diff reduction (#225666) 2024-08-15 10:34:03 +02:00
Robo 9b29e85e0c
fix: install scripts for windows arm64 target (#225629) 2024-08-14 18:17:39 -07:00
Benjamin Pasero 3666f94deb
esm - backport new HTML entry points and use if ESM (#225633) 2024-08-14 20:48:27 +02:00
Benjamin Pasero 0dea4804f4
esm - introduce VSCODE_BUILD_ESM variable (#225586) 2024-08-14 14:49:26 +02:00
João Moreno 8c458c8303
try codeql buildmode: none 2024-08-13 21:47:37 +02:00
João Moreno ef656d3f1d
increase CG timeout (#225373) 2024-08-12 09:31:43 +02:00
Megan Rogge 7c2663f1a7
provide way to adjust table column size via keyboard (#225081) 2024-08-11 08:35:27 -07:00
Robo 00427fda20
chore: update electron@30.3.1 (#225106)
* chore: update electron@30.3.1

* temp: update distro

* chore: update node.js builds

* temp: update distro

* temp: revert node-pty

* Revert "temp: revert node-pty"

This reverts commit e834f75959ffd0078708db764457e05ec0f3b6b6.

* temp: test with oss electron

* chore: update node.js checksums

* Revert "temp: test with oss electron"

This reverts commit 18506aaa82b2cf44e4b5780eac1b929bbf98ac11.

* temp: disable sandbox for smoke tests

* Revert "temp: disable sandbox for smoke tests"

This reverts commit 8596ef5fcc776cc9a14b4546f9e448ccba2acbad.

* test: skip icon validation task smoke tests

* chore: bump distro
2024-08-09 23:44:42 +00:00
Benjamin Pasero 79f7411c88
esm - reduce diff (#225220)
* esm - reduce diff

* restore more

* ok

* undo

* .
2024-08-09 10:52:26 -07:00
Raymond Zhao 25006fe8b1
chore: polish APIScan and BinSkim scans (#222106) 2024-08-09 09:19:36 -07:00
Justin Chen fe018d2f04
custom color theme for action list widget (#223245)
* action list colors

* mvoe to listColors

* dont change imports

* remove whitespace
2024-08-08 13:16:01 -07:00
Robo d288df1a9b
chore: update kerberos@2.1.1 (#225101)
* Revert "Revert "chore: bump kerberos" (#225084)"

This reverts commit 9af3636703.

* build: avoid dlopen kerberos deps on macOS

* ci: update cache

* chore: update rpm and deb dependencies
2024-08-08 07:30:03 +02:00
Raymond Zhao 9af3636703
Revert "chore: bump kerberos" (#225084)
Revert "chore: bump kerberos (#224992)"

This reverts commit 5eb2a65d50.
2024-08-07 13:07:08 -07:00
Raymond Zhao 5eb2a65d50
chore: bump kerberos (#224992)
* chore: bump kerberos

* Bump kerberos in remote as well
2024-08-07 10:39:42 -07:00
Aaron Munger b5300cb68d
fix lint warning (#224996)
* fix lint warning

* fix path
2024-08-07 09:05:38 -07:00
Daniel Imms 72a429654f
Merge pull request #225037 from microsoft/tyriar/conpty_asar
Don't pack conpty binaries into asar
2024-08-07 06:46:03 -07:00
Daniel Imms ed73b9d5f2
Don't pack conpty binaries into asar
Part of microsoft/vscode#224488
2024-08-07 04:05:09 -07:00
Matthias B. cd340e6aa4
Fix: only add apt sources for users that want them (#22145) (#221285)
Signed-off-by: Matthias Breithaupt <m.breithaupt@vogl-electronic.com>
2024-08-06 14:54:05 -07:00
Raymond Zhao 08aeda7824
chore: enable APIScan again (#224648) 2024-08-06 09:04:34 -07:00
Daniel Imms 5275859136
Merge pull request #224854 from microsoft/tyriar/conptydll
Update to node-pty and adopt useConptyDll
2024-08-06 08:10:15 -07:00
Benjamin Pasero 4c1b0e9ff1
esm - reduce diff (#224919)
* esm - reduce diff

* .

* .

* .

* .

* .
2024-08-06 17:32:43 +03:00
Robo 1835a67cb6
ci: publish win32 arm64 server (#224929) 2024-08-06 14:57:22 +02:00
Daniel Imms 1ea3ff215e
Don't ship non-arch binaries 2024-08-06 05:54:41 -07:00
Peng Lyu df447e7ad4
Merge pull request #224547 from microsoft/rebornix/net-boa
Enable notebook smoke test and capture memory leaks
2024-08-05 15:44:22 -07:00
Raymond Zhao 85c100f652
chore: create include.gypi for Windows build again (#224445)
Co-authored-by: Robo <hop2deep@gmail.com>
2024-08-05 11:16:36 -07:00
Peng Lyu 4a8f1db241 compile ipynb for smoke test 2024-08-02 11:55:13 -07:00
Daniel Imms 8bdf399e0b
Add command guide theme key
Fixes #224469
2024-08-02 11:17:48 -07:00
Benjamin Pasero 284a605d61
NLS can get mixed up when `stable` overwrites `insider` metadata (fix #224385) (#224405) 2024-07-31 19:20:45 +02:00
Matt Bierner 84607a2fe2
Fix some always true/false errors in codebase (#223359)
* Fix some always true/false errors in codebase

Testing out latest TS nightly that can identify when an expression is always true/false. This caught a few likely coding mistakes in our codebase

Unsure about the intent in some of these cases but I've tried my best to understand them. Pinging relevant code owners for the confusing cases

* Bump TS version

* Fix unreachable in build scripts

* Bump versions

* restore intent

* Revert package.json change

* Fixing a few new layer checker errors

These are global in node now

* Skip lib check in integration project

* One more skiplibcheck

* More skip lib

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2024-07-30 15:37:27 -07:00
Rob Lourens 57c57f2ffc
Support VS IntPreview in yarn (#224317) 2024-07-30 10:16:44 -07:00
Connor Peet 1acc838297
fix: `yarn run gulp vscode-darwin-arm64` fails when run in the debug terminal (#224245)
>I think that block can just be removed safely since execFile with provide an error if the subprocess has a !=0 exit code

Fixes #221581
2024-07-29 16:30:35 -07:00
Alex Ross eb4633fe7f
Re-merge introduction of tree sitter (#223474)
* Make space for tree sitter

* Add the tree sitter wasm file

* Very naive tree-sitter syntax highlighting for html, with a layer breaker

* Update tree when content changes

* WIP for making abstract tokens class

* Handle theme changes

* Replace entire text model value with parse callback

* Perf improvements

* Add tree-sitter-typescript

* Add typescript + better initial parsing

* Refactor into tree parsing service and fix flaw in parse callback

* Remove things that aren't the parser service

* Add yielding

* Remove changes that aren't required for PR

* Remove more file changes

* Reduce yield to 50 ms

* Fix incremental parsing

* Try update node-abi

* Revert "Try update node-abi"

This reverts commit df28801e31.

* Update text buffer chunk api

* fix build

* Remove tree-sitter dependency

* Adopt new, as yet unpublished, `@vscode/tree-sitter-wasm` package

* Use published `@vscode/tree-sitter-wasm` package

* Break `TreeSitterTree` and `TreeSitterParserService` into better pieces
and:
- document the order of editor changes
- use service injection where `TextModel` is constructed

* Fix tests

* Remove unneeded import

* Fix missing tree-sitter-wasm in web and remote

* Make package.jsons match

* Add @vscode/tree-sitter-wasm to web loader config

* Try using importAMDNodeModule

* PR feedback

* Add race condition test for changing language while loading language

* Use same timeout

* Queue content changes

* Remove override dispose

* Move queue into TreeSitterTree

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2024-07-29 11:31:28 +02:00
Robo 56bfd21a7c
Revert "chore: bump electron@30.2.0 (#222756)" (#223494)
* Revert "chore: bump electron@30.2.0 (#222756)"

This reverts commit 6c199b09f8.

* chore: bump distro
2024-07-24 06:49:38 -07:00
Alex Ross 7ed4cdc56d
Revert "Add telemtry for how long it takes to parse files with tree-sitter" (#223317)
Revert "Add telemtry for how long it takes to parse files with tree-sitter (#…"

This reverts commit 6c15586994.
2024-07-24 08:47:51 +02:00
Alex Ross 6c15586994
Add telemtry for how long it takes to parse files with tree-sitter (#213565)
* Make space for tree sitter

* Add the tree sitter wasm file

* Very naive tree-sitter syntax highlighting for html, with a layer breaker

* Update tree when content changes

* WIP for making abstract tokens class

* Handle theme changes

* Replace entire text model value with parse callback

* Perf improvements

* Add tree-sitter-typescript

* Add typescript + better initial parsing

* Refactor into tree parsing service and fix flaw in parse callback

* Remove things that aren't the parser service

* Add yielding

* Remove changes that aren't required for PR

* Remove more file changes

* Reduce yield to 50 ms

* Fix incremental parsing

* Try update node-abi

* Revert "Try update node-abi"

This reverts commit df28801e31.

* Update text buffer chunk api

* fix build

* Remove tree-sitter dependency

* Adopt new, as yet unpublished, `@vscode/tree-sitter-wasm` package

* Use published `@vscode/tree-sitter-wasm` package

* Break `TreeSitterTree` and `TreeSitterParserService` into better pieces
and:
- document the order of editor changes
- use service injection where `TextModel` is constructed

* Fix tests

* Remove unneeded import

* Fix missing tree-sitter-wasm in web and remote

* Make package.jsons match

* Add @vscode/tree-sitter-wasm to web loader config

* Try using importAMDNodeModule

* PR feedback

* Add race condition test for changing language while loading language

* Use same timeout

* Queue content changes

* Remove override dispose

* Move queue into TreeSitterTree

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2024-07-23 14:59:04 +02:00
Rob Lourens b1077ab765
Clean up leftover file (#223144)
Fix #221142
2024-07-22 15:35:28 -07:00
Daniel Imms e0307bddec
Merge pull request #222420 from microsoft/tyriar/222076__222089__tabExpansion
Terminal suggest git, code and code-insiders tab expansion
2024-07-22 08:42:55 -07:00
Robo 6c199b09f8
chore: bump electron@30.2.0 (#222756)
* chore: bump electron@30.2.0

* chore: update build for node.js v20.15.0

* chore: bump distro
2024-07-22 08:24:55 -07:00
Daniel Imms c61d964558
Bundle psm1 files 2024-07-20 13:02:21 -07:00
Daniel Imms 1416d5bd96
Basic code completions 2024-07-18 11:32:28 -07:00
Sandeep Somavarapu ec07594cb9
profiles editor feedback (#221938)
* profiles editor feedback

* more polish

* fix margin

* fix outline

* fix hc theme styleing

* Show new profile action in open profile menu

* update options on name change
2024-07-17 15:26:44 +02:00
Sandeep Somavarapu 8997deb01e
Enhance Profiles Editor (#221845)
* radio buttons

* fine tune radio buttons

* fix active item coloring in hc theme

* improve text

* use tree for rendering
2024-07-16 11:35:21 -07:00
Matt Bierner 4caa46afc4
Fix font family fallback in parameter hints (#221737)
Fixes #211714
2024-07-15 11:39:33 -07:00
Robo c06242b744
ci: enable nodejsMirror (#221696) 2024-07-15 02:11:34 -07:00
Matt Bierner 7174171947
Move MD server into own package (#212387)
* Move MD server into own package

* Remove a few more refs

* Try glob

* Move glob

* More glob

* Add logging

* Tweak glob again

* Use webpack to copy over files

* Remove a few more refs to server

* Fix debug check
2024-07-12 14:04:42 -07:00
Johannes Rieken c0cdcac061
adjust bundle-util for ESM world reuse (#221372) 2024-07-10 16:50:00 +02:00
Robo cab98a1ca8
fix: bump minimum glibcxx version for armhf remote server (#221259) 2024-07-10 08:04:46 +09:00
Robo 7f17108987
ci: disable nodejsmirror for merge check (#221243) 2024-07-09 10:26:14 +02:00
Johannes Rieken 729b03d8d0
update esbuild (#221241) 2024-07-09 09:43:21 +02:00
Robo 2fe0527205
chore: update to electron 30 (#215406)
* chore: update electron@30.0.9

* chore: update rpm deps

* chore: bump electron@30.1.2

* fix: update kerberos for Node.js 20.x

Refs c1f7acafb2

* fix: use shell when spawning .bat or .cmd files

Refs https://github.com/nodejs/node/commit/6627222409

* fix: update @vscode/test-electron@2.4.0

Refs 3f7a3cc5c5

* fixup! use shell when spawning .bat or .cmd files

* chore: bump nodejs@20.14.0 internal build

* ci: skip nodejsMirror for 20.14.0 due to missing builds

* fixup! use shell when spawning .bat or .cmd files

* chore: update debian deps

* fixup! skip nodejsMirror for 20.14.0 due to missing builds

* fix: universal build

- Updates vscode-universal-bundler to support x64ArchFiles option
- Kerberos starts building universal binaries which should now be
  skipped from lipo step via x64ArchFiles
- Skips bundling *.mk files

* chore: bump distro
2024-07-09 14:33:22 +09:00
Benjamin Pasero b7c13a78e9
Today's Insiders update failed (Windows) (#220999) (#221132) 2024-07-08 16:42:25 +02:00
Benjamin Pasero 7c8097dbbf
build - reuse the same `date` across builds (#220076) 2024-07-05 11:06:43 -07:00
Robo 796dfbb6ea
chore: rm unused dyld entitlement and env variable filtering (#220059) 2024-07-05 13:29:04 +02:00
Dirk Bäumer 20775fd417
Reenable yarn eslint (#220037)
* Reenable yarn eslint

* Fix eslint errors

* Fix compile error

* Fix another compile error

* Disable eslint errors
2024-07-05 12:26:44 +02:00
Robo 63e93de608
fix: use xcode >= 15.1 to address broken builds on macOS <= 12 (#219991) 2024-07-04 19:00:07 +02:00
Benjamin Pasero 58d9d81228
build - use ISO string of date as before (#219961) 2024-07-04 15:47:00 +02:00
Benjamin Pasero 42f6c85556
web - include `nls.messages.js` in standalone build (#219919) 2024-07-04 08:47:46 +02:00
Benjamin Pasero 82c54248fd
perf - inline `package.json` and `product.json` (#219841) 2024-07-04 07:59:10 +02:00
João Moreno e2af3117bf
use unofficial 1espt (#219824) 2024-07-03 09:48:33 +02:00
João Moreno c395df82fb bump node-gyp once again 2024-07-02 14:12:39 +02:00
João Moreno 3ad2eb18b5
bump node-gyp in build/npm/gyp (#219647) 2024-07-02 09:43:59 +02:00
Robo a02f3c923d
cli: restrict pkg config search directory to sysroot (#219572) 2024-07-01 19:59:38 +02:00
Benjamin Pasero af5cf640d8
🆙 `"@playwright/test": "^1.45.0"` (#219324) 2024-07-01 12:23:41 +02:00
Martin Aeschlimann 4c69ceba2f
rename editor.collapsedText to foldPlaceholderForeground (#219338)
rename vscode-editor-collapsedText
2024-07-01 12:13:03 +02:00
Benjamin Pasero d65fd5ba2e
nls follow up debt work (#219265) 2024-07-01 11:44:19 +02:00
Robo d3035ba351
ci: disable cli glibc checks (#219327) 2024-07-01 09:26:45 +02:00
Benjamin Pasero 2014f1ddb2
nls - removal of loader plugin (#219098) 2024-06-28 15:45:52 +02:00
Johannes Rieken d0db6d013f
fix https://github.com/microsoft/vscode/issues/218692 (#219078) 2024-06-28 14:46:05 +02:00
Benjamin Pasero f6f90e0163
Implement NLS without AMD loader (#214588) 2024-06-28 11:55:48 +02:00
Raymond Zhao aea213b7fc
chore: bump braces in build (#219010) 2024-06-27 23:21:14 +02:00
Mohammad Baqer 4580ba51fe
make collapsedText theme-able (#173203)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-06-25 14:28:39 +00:00
David Dossett a3a8dd5b01
a11y: Add opt-in setting to underline links within p elements (#216842) 2024-06-21 12:55:43 -07:00
Raymond Zhao 16fa357a0d
chore: disable APIScan to fix build (#216767) 2024-06-20 16:38:44 -07:00
Henning Dieterichs 309351259c Implements experimental inline edits
Signed-off-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-06-21 00:35:09 +02:00
Raymond Zhao d6ffb9f68a
chore: append SDL scan to main build pipeline (#215598) 2024-06-20 14:16:57 -07:00
Daniel Imms d6dcdf99c0
Fix terminal sticky scroll on HC themes
Fixes #216729
2024-06-20 09:58:13 -07:00
Robo d550ede2c3
chore: update glibc version checker for remote (#215599) 2024-06-20 04:30:41 +02:00
Raymond Zhao a37d32986d
chore: add diagnostics to integration test runs (#216646) 2024-06-20 00:33:14 +02:00
Sandeep Somavarapu a764c2ac80
Support version for proposed APIs (#216608)
Support version for proposed APIs
2024-06-19 18:01:46 +02:00
Benjamin Pasero 83f03bbb7b
debt - enlist most JS files in `tsconfig.json` (#216566) 2024-06-19 08:35:55 +02:00
João Moreno bfb7af52e5
fix darwin icons (#216492) 2024-06-18 16:36:32 +02:00
Johannes Rieken 88d860624c
Inline chat UI overhaul (#215927)
* don't dimiss inline chat content widget when already having typed something

https://github.com/microsoft/vscode-copilot/issues/6067

* extract `TextOnlyMenuEntryActionViewItem` for reuse

* remove unused variables

* * show chat input below request/response pairs
* setting for text-only buttons
* more dynamic buttons
* always show the first request, don't repopulate input with last message
* keep progress bar hidden, rely on "Generating..."
* no more special background color

* add `minimal` renderer style for chat renderings

* tweak font-size for details when render mode is minimal

* stable scroll position for inline chat, don't push down the lines chat is editing but push the inline chat upwards

* more buttons more compact, tweak labels

* * add missing service dependency
* repopulate input for some unit test

* allow output from `InteractiveChatController` suite
2024-06-17 11:26:21 +02:00
dependabot[bot] 4ddcd5d230
Bump @azure/identity from 3.4.1 to 4.2.1 in /build (#214913)
Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js) from 3.4.1 to 4.2.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_3.4.1...@azure/identity_4.2.1)

---
updated-dependencies:
- dependency-name: "@azure/identity"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-06-13 18:26:11 +02:00
Ladislau Szomoru b0a60ae2da
Engineering - bump macOS agent version (#215286)
* Engineering - bump macOS agent version

* Jump to macOS-13
2024-06-12 20:10:57 +02:00
Robo fec18ef7d6
fix: expected checksum for windows remote server (#214751) 2024-06-10 06:53:33 +02:00
Henning Dieterichs f82523eb08
Uses editor option to control editor placeholder. (#214427)
* Uses editor option to control editor placeholder.

Signed-off-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-06-06 18:09:59 +02:00
João Moreno 15bdea120d
remove gulp-shell (#214211)
* remove gulp-shell

* fix tasks
2024-06-06 17:54:06 +02:00
Daniel Imms 5d34092d6d
Merge branch 'main' into tyriar/193508 2024-06-06 07:14:42 -07:00
Megan Rogge d9148b110e
mute terminal hint color (#214173)
fix #213647
2024-06-04 13:55:17 -07:00
Daniel Imms 30e78576e7
Support for OSC52 clipboard access
Fixes #193508
2024-06-04 11:32:59 -07:00
Johannes 9350309831
Merge branch 'main' into joh/intense-heron 2024-06-04 08:21:12 +02:00
Johannes b9b51f0fb0
tweak SWC options to allow module interop 2024-06-03 18:40:56 +02:00
Johannes 5012cb8fb8
adding missing bundle.js compile output 2024-06-03 17:21:09 +02:00
Johannes 09981a84af
configure `esModuleInterop: true`, change some star-imports 2024-06-03 16:50:28 +02:00
João Moreno addd445017
upload sourcemaps to CDN instead of ticino (#214141) 2024-06-03 16:10:01 +02:00
Simon Siefke f7cead6b72
Add editor.findMatchForeground (#213497)
* feature: make find decoration foreground color configurable
2024-05-27 15:48:07 +00:00
João Moreno fb44862cdf
use refs/tags/release for 1espt (#213558) 2024-05-27 15:19:12 +02:00
Robo 56db61ec8a
chore: update remote node.js (#213439)
* chore: update remote node.js to v20.11.1

* chore: remove io_uring workaround

* chore: update checksums

* temp: update distro

* ci: rebuild cache

* chore: bump distro
2024-05-26 07:12:14 +02:00
Justin Chen d05d280364
web reporter refactor and issueFormService (#212951)
* web version working

* change to mainWindow

* PROPER MOVEMENT

* working for web as well

* move issueFormService to workbench/contrib/issue

* cleaning up{

* more cleanup, added setting

* styling

* use mainwindow to open and closee

* css fixes

* fix css again

* fix CSS and wonky applyCSS rules

* change gulpfile

* add and update system info

* address some of the comments

* move files! small changes

* move JS and non window specific back to electron sandbox

* fix on issueReporter.js

* fix build file

* fix gulp file too....

* move everything into contrib

* fix workbench import

* move everything else into contrib, fix import

* change name to web

* applying more feedback fixes :D

* fix command and remove unused import:

* add back issueTroubleshoot

* fix gulpile outputs

* fix out exclusion:
2024-05-24 11:36:46 -07:00
Logan Ramos cd93de1b0c
Rename vsDeviceId (#213261) 2024-05-22 23:13:13 +02:00
Robo 73036af1c9
chore: update deps for linux x64 client (#213221)
chore: update linux client dependencies
2024-05-22 15:57:53 +02:00
Matt Bierner 6743fa305c
Pick up latest ts for building VS Code (#213170) 2024-05-21 12:33:34 -07:00
Connor Peet cb3c3cb125
eng: fix prelaunch task on recent node versions
Closes #212888
2024-05-20 10:16:22 -07:00
Robo 28ebd9176f
chore: bump electron@29.4.0 (#213050)
* chore: bump electron@29.4.0

* chore: remove io_uring workaround

* chore: bump distro

* chore: update dialog result for canceled save dialogs

Refs fe01ed750a

* chore: add back io_uring workaround for remote oss tests

* chore: update nodejs v20.9.0 build

* chore: add back io_uring workaround for remote tests
2024-05-20 08:31:44 -07:00
Robo e65febca09
ci: use sysroots for oss linux pipeline (#212895)
* ci: use sysroots for oss linux pipeline

* ci: update cache

* ci: cleanup conditions
2024-05-16 17:18:57 +02:00
Benjamin Pasero 6af31616a7
macOS/Linux: Allow `\` in file names (fix #212740) (#212810)
* macOS/Linux: Allow `\` in file names (fix #212740)

* fix tests

* bump salt
2024-05-16 22:48:04 +09:00
Benjamin Christopher Simmonds 88bc75f68c
Tabs Multi Select (#211712)
* Tabs Multi Select v1

* Color

* Only rerender selections

* Improve drag and drop and tab border top drawing

* Improved multi select behaviour

* Open With Editor multiple "support"

* 💄

* tests

* Move down to model

* Fix tests

* Sync selection and active in model

* Make unselect async

* async unselect in interface

* Model update event when unselecting with closeEditor

* async fir selectEditor

* Fix tests and 💄
2024-05-13 21:06:02 +02:00
Dirk Baeumer 24d4616d5e
Make VS Code compile on Windows with NodeJS >=20 2024-05-13 11:37:37 +02:00
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
Connor Peet 26120e5bf4
testing: add temporary failure tracker to the selfhost test runner (#212134)
For /fixTestFailures, I want to get more 'real world' tests and test
fixes. This makes a change in the selfhost test provider such that when
a test fails and is then fixed, we record the code changes into a JSON
file in the `.build` directory. In a few days I'll follow up with team
members to collect their test failures and use them as evaluation tests
for copilot. The FailureTracker will be removed when I've gotten enough
data.
2024-05-07 00:54:33 +02:00
Matt Bierner 3f91c9bcd7
Pick up latest TS for building VS Code (#210956)
* Pick up latest TS for building VS Code

* Update

* Update yarn lock
2024-05-06 13:59:56 -07:00
Robo 0114696106
chore: bump tree-sitter-typescript@0.20.5 (#211941) 2024-05-03 15:50:09 +02:00
Matt Bierner d40b1530c7
Replace typescript-formatter (#211810)
The typescript-formatter package isn't being maintained (lots of old PRs) and has broken in the most recent version of TS

Long term we may explore switching to another formatter, but for now I've hook up the basic formatter logic for our hygiene scripts
2024-05-01 23:35:58 +02:00
Daniel Imms 60fc27b715
Merge pull request #211449 from microsoft/tyriar/209276
Remove canvas renderer
2024-04-26 11:45:11 -07:00
Daniel Imms febfca1337
Remove canvas references in build/lint 2024-04-26 10:34:28 -07:00
Raymond Zhao caf118533f
chore: add CodeQL params to improve perf (#211392) 2024-04-26 10:31:54 -07:00
Matt Bierner f86d0f7324
Exclude product.overrides from hygiene (#211396) 2024-04-25 18:18:09 -07:00
Raymond Zhao 52298e4368
chore: specify ESLint ignore file (#210935) 2024-04-22 18:54:43 +02:00
Rob Lourens 629408958c
Merge pull request #210488 from microsoft/roblou/chat-agent-hover
Add a nicer hover for chat participants
2024-04-19 14:11:21 -07:00
Tyler James Leonhardt f861341624
Revert "Use graceful-fs to buffer fs calls (#210696)" (#210786)
This reverts commit 2cc4b3d115.
2024-04-19 22:11:41 +02:00
Rob Lourens 7b22c151b3 Merge remote-tracking branch 'origin/main' into roblou/chat-agent-hover 2024-04-19 11:30:40 -07:00
João Moreno 67464f3239
update inno-updater (#210762) 2024-04-19 09:37:00 -07:00
Tyler James Leonhardt 2cc4b3d115
Use graceful-fs to buffer fs calls (#210696)
Fixes `EMFILE: too many open files` thrown in the localization pipeline

Co-authored-by: Tyler Leonhardt <tyleonha@microsoft.com>
2024-04-18 22:11:48 +02:00
Connor Peet 26cf440912
preserve old codicon rule (#210489)
* Revert "Revert "Revert #210416 (#210425)" (#210442)"

This reverts commit 31fba19dcf.

* preserve old codicon rule
2024-04-16 19:17:54 +02:00
Sandeep Somavarapu 31fba19dcf
Revert "Revert #210416 (#210425)" (#210442)
This reverts commit 714ce79ed9.
2024-04-16 09:49:08 +02:00
Connor Peet 714ce79ed9
Revert #210416 (#210425)
Keeps only the problematic line out
2024-04-16 00:31:14 +02:00
Sandeep Somavarapu 455584024c
Revert "theme: fix unthemable icons in several areas (#209131)" (#210416)
This reverts commit 6b391eba24.
2024-04-15 14:07:33 -07:00
dependabot[bot] 3692dc8729
Bump tar from 6.1.15 to 6.2.1 in /build/npm/gyp (#210142)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 15:29:53 -07:00
Connor Peet 6b391eba24
theme: fix unthemable icons in several areas (#209131)
* theme: fix unthemable icons in several areas

We manually used icon characters in several areas. These are/were entire unthemable. Fixing this required people to manually listen to the theme service and apply rules to their elements when icons change. This PRs adds theme variables that people can use instead.

Fixes #208343

* implement review comments

* fix font-family variable

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-04-11 17:30:49 +02:00
Benjamin Christopher Simmonds 2fa8d0c118
Merge pull request #209604 from microsoft/benibenj/governing-caterpillar
Add customizable colors for tree sticky scroll
2024-04-05 10:44:57 +02:00
BeniBenj ab4e8b5398
Add tree sticky scroll colors based on view location fixes #205441 2024-04-05 09:33:37 +02:00
Connor Peet 6813d7ccbc
chore: update to rust 1.77 (#209563)
* chore: update to rust 1.77

* fix tests
2024-04-04 20:34:01 +02:00
Benjamin Christopher Simmonds 8012a40059
Add color item for sidebar title background (#209528)
fixes #209164
2024-04-04 12:28:52 +02:00
Raymond Zhao 951c1b7d76
chore: increase compile job timeout (#209497) 2024-04-03 16:38:22 -07:00
Raymond Zhao 31c538e41f
chore: add new colours (#209457) 2024-04-03 18:23:54 +02:00
Ladislau Szomoru e773c56fe7
Engineering - update suppression file (#209419) 2024-04-03 11:07:01 +02:00
Raymond Zhao a86f13b8f2
chore: increase timeout of Linux x64 job (#209387) 2024-04-03 00:06:09 +02:00
Raymond Zhao 325e4c747b
docs: categorize chat-list-background as other (#209303) 2024-04-02 17:07:42 +02:00
Connor Peet 87780c04c8
eng: fix CSS tooling crashes watch task (#209278)
Get rid of the gulp-postcss plugin and just implement our own, I couldn't get it to work.

Fixes #207827
2024-04-01 20:15:25 +02:00
Connor Peet e169401ec2
testing: fix testing-coverage-lineHeight being marked as a color (#209273) 2024-04-01 19:22:09 +02:00
Connor Peet d42fad27b2
eng: move selfhost test provider as a workspace extension (#208699)
Testing #208184, closes #207756
2024-03-28 09:08:23 -07:00
Robo 6f287b276e
chore: bump electron@28.2.8 (#208868)
* chore: bump electron@28.2.8

* chore: bump distro
2024-03-27 08:47:13 +01:00
Martin Aeschlimann 57b0c146d0
Use serverDataFolderName in check-requirements-linux.sh (#208074)
* Use serverDataFolderName in check-requirements-linux.sh

* remove the (new) file check
2024-03-23 10:10:17 +09:00
João Moreno b40321263d
fix legacy builds (#208314)
* fix legacy builds

* update regex

* extra ?

* argh
2024-03-21 17:25:26 +01:00
Connor Peet 9202044397
testing: better testing side bar retried color (#207949)
* Add missing css variable in vscode-known-variables.json

* Better highlight color for test explorer retired icon

* Add testingRetiredCorlor for different icon state

* Use derived value from non-retired color variable instead of string literals
2024-03-21 09:22:14 -07:00
João Moreno e5515ac702
Adopt 1ES PT (#207844)
* extend 1es pipeline template

* oops

* fix template references

* argh

* hmm

* hm

* hm

* use outputs for compilation artifact

* this

* use 1ES.PublishPipelineArtifact@1 instead of publish

* more 1ES.PublishPipelineArtifact@1 adoption

* provide windows pool for sdl sources

* sdl

* fix pools

* fix macos

* disable sbom for intermediate artifacts

* use mariner linux

* try inline tsa options

* fix credscan

* hm

* sudo it

* more suppressions

* be explicit with SBOM build drop paths

* fix indentation

* fix file extensions

* fix cli sbom build drop paths

* fix more build

* fix unzip cli

* careful with _manifest in artifacts

* do not close file

* add logging

* debug

* use snapcraft container

* remove size check

* fix macos cli step

* fix snap permissions

* fix macos

* better logs

* fix snap

* more cred scan suppressions

* even more supressiong

* alpine-arm64: try using x64

* Revert "alpine-arm64: try using x64"

This reverts commit bf2003bf60.

* test docker

* I wonder

* logs

* hm

* fix indentation

* hm

* hm

* fix snap finds

* remove auth

* use hostArchitecture

* snap: limit find

* hm

* sudo

* Add validateToolOutput: None to the build pipeline

* bring back sdl-scan

* try all tools: true

* use release

* Update Azure Pipelines YAML file for Linux product build and test

* hm

* hm

* same for win32

* hm

* hm

* Revert "hm"

This reverts commit 1b9dcae85b.

* use branch

* fix template file

* fix template paths
2024-03-21 14:16:32 +01:00
Robo 5e0394c8d1
fix: don't package detection script in legacy server (#208274)
* fix: don't package detection script in legacy server

* chore: address review feedback

* chore: rename download asset name
2024-03-21 14:11:57 +01:00
Robo 92e85248d7
fix: use different package name for legacy servers (#208088) 2024-03-19 13:16:17 +01:00
Robo c45557f69b
chore: update server detection script for legacy server (#208000)
* chore: update server detection script for legacy server

* chore: address review feedback
2024-03-18 16:09:27 +01:00
Robo 7c21685343
fix: legacy server stage dependency for CI builds (#207994) 2024-03-18 12:12:23 +01:00
Robo 1413fc87a7
feat: create and upload legacy remote server (#204139) 2024-03-18 11:09:55 +01:00
BABA 0d7f35cf5b Add missing css variable in vscode-known-variables.json 2024-03-17 22:42:41 +08:00
Sandeep Somavarapu 337f8e4ee2
adopt building extensions (#207731)
* adopt building extensions
- remove the dependency on extensions folder

* fix build

* rename

* minimise changes

* clean up

* use regex
2024-03-15 15:06:28 +01:00
Benjamin Christopher Simmonds 7c49f4f7a8
Added Activity Bar Top Active Background Color (#207808)
Added color activity bar top active background #203036
2024-03-15 09:19:54 +01:00
BeniBenj 5527e6ae64
Rename to scroll locking 2024-03-14 16:33:28 +01:00
Matt Bierner c236fc1a87
Remove old built file (#207509) 2024-03-12 15:32:58 -07:00
Robo 6c1e897687
chore: update electron@28.2.6 (#207388)
* chore: update electron@28.2.6

* chore: update distro
2024-03-12 08:42:05 +01:00
Benjamin Christopher Simmonds 43558b2a2d
Activity bar top theme colors (#207172) 2024-03-08 17:13:15 +01:00
Matt Bierner 6403b4367b
Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
Johannes Rieken 9626fb0cd2
Inline chat widget tweaks (#206954)
* make status menu configurable

https://github.com/microsoft/vscode/issues/206940

* pull inline chat zone widget into its own file

* 💄

* remove expand/crop feature

* make chat message contents scrollable
2024-03-06 12:51:50 +01:00
Robo 069f4d91f3
chore: bump electron@28.2.5 (#206822)
* chore: bump electron@28.2.5

* chore: bump distro
2024-03-04 19:56:04 +01:00
Rob Lourens 19ecb4b833
Use input.foreground for chat input (#206564)
Fix microsoft/vscode-copilot-release#958
2024-02-29 17:23:07 -08:00
Tyler James Leonhardt 4e81df7ea9
Tear down the Authentication monolith (#206495)
* Tear down the Authentication monolith

Major changes:
* Turn the usage functions into a proper service `AuthenticationUsageService`
* Pull out the access data stuff into its own service `AuthenticationAccessService`
* Pull out things that make sense as actions `ManageTrustedExtensionsForAccount` `SignOutOfAccount`
* Pull out random registry stuff into a proper authentication contribution
* Pull out everything else that is extension specific into its own class (and eventually it should be in MainThreadAuthentication)
* Have the new `AuthenticationService` return a provider instead of having specific methods for getting the `label` or `supportsMultipleAccounts`

* fix tests

* fix tests
2024-02-29 05:41:11 -08:00
Justin Chen 490b0caf30
update variables via `test-documentation` script (#206379)
update variables via  script
2024-02-27 21:33:37 +01:00
Matt Bierner 920a3a701e
Pick up latest TS for building VS Code (#206264) 2024-02-26 19:56:20 +01:00
Robo 974c6b3fb9
chore: update to electron 28 (#203956)
* chore: update electron@28.1.4

* ci: use latest Node.js v18 release

18.18.2 has npm version that has removed the node-gyp script
which will cause native modules fail to build that rely on
something like `install: node-gyp rebuild`

Refs c93edb55f5

* chore: update rpm dependencies

* chore: bump electron@28.2.1

* chore: bump nodejs@18.18.2

* chore: bump electron@28.2.2

* chore: bump distro
2024-02-26 12:11:47 +01:00
Raymond Zhao 7a40a10b24
chore: bump proxy-agent and ip (#205903) 2024-02-21 11:21:39 -08:00
Benjamin Christopher Simmonds 43d55cbf88
Localize Inno Updater (#205279)
* without translations

* Update messages.en.isl

* translations, hopefully correct encoding

* inno updater v0.11.0
2024-02-19 16:03:48 +01:00
Sandeep Somavarapu 378b4c969b
use vsce-sign module from npm (#205511)
* update distro

* use vsce-sign module

* update distro

* update distro
2024-02-19 09:17:54 +01:00
Benjamin Pasero fc18e59421
Allow to dictate by voice into the text editor (fix #205263) (#205264) 2024-02-15 13:05:23 +01:00
Hylke Bons 07446f6211 chat: Use alternating request/response color 2024-02-13 23:21:39 +01:00
Megan Rogge d560d78a8d
Merge pull request #205019 from microsoft/merogge/rename
AudioCue, Alert -> Signal (Sound, Notification) renaming
2024-02-12 14:40:49 -06:00
Alex Ross 69fd227084
Set settings directly from the release notes (#204832)
* Set settings directly from the release notes
Fixes #204338

* Fix build
2024-02-12 19:46:00 +01:00
meganrogge 3886cb8c43
Merge branch 'main' into merogge/rename 2024-02-12 12:11:11 -06:00
meganrogge 5ff3ac1084
first pass of renaming 2024-02-12 10:34:25 -06:00
ermin.zem c2df354c9f
chore: update vscode known variables (#204568)
Co-authored-by: ermin.zem <ermin.zem@alibaba-inc.com>
2024-02-12 16:01:52 +00:00
Robo 983a3bc0ae
chore: bump electron@27.3.2 (#204960)
* chore: bump electron@27.3.2

* chore: bump distro
2024-02-12 06:42:48 +01:00
Logan Ramos 5303197950
Update type guard (#204763) 2024-02-08 20:37:39 +01:00
Logan Ramos 2033eae5af
Allow publishing retry (#204758)
* Allow publishing retry

* Update build/azure-pipelines/common/publish.ts

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>

* Update build/azure-pipelines/common/publish.ts

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>

* Compile

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2024-02-08 20:00:44 +01:00
Logan Ramos 884acabd70
When receiving an unexpected status code also add information surrounding the headers and body (#204741)
* When receiving an unexpected status code also add information surrounding the headers and body

* Add compiled file
2024-02-08 18:28:40 +01:00
Connor Peet 06eee91ac7
eng: update CLI and a fix for extension test coverage (#204662) 2024-02-08 00:37:58 +01:00
Robo 926d4e5fd1
chore: update electron@27.3.1 (#204580)
* chore: update electron@27.3.1

* chore: bump distro
2024-02-07 12:08:06 +01:00
Robo 9db1b0571e
fix: sysroot used for client (#204559) 2024-02-07 05:50:23 +01:00
Robo 8a98afa440
chore: legacy server cleanups (#204501)
* fix: revert glibc requirements for tunnel cli

* chore: address feedback on wording

* fix: only store state when user allows the prompt

* chore: update checksums for sysroot

* fix: store connection choice per distro

* update rpm deps-list

---------

Co-authored-by: Connor Peet <connor@peet.io>
2024-02-07 10:14:41 +09:00
Rob Lourens cda51f6ab4
Replace chat "command followups" with command button content (#204512)
* Delete CommandFollowups and make inline chat use its own types for command followups

* Add command button, render it properly

* Manage the lifecycle of commands from chat command buttons

* Handle stale session command in type converter

* Fix
2024-02-06 18:37:22 +01:00
Robo cf7ddbb51d
fix: use legacy server as default with additional warnings (#204377)
* ci: switch to glibc 2.17 remote server

* chore: signal user about unsupported connection

* chore: address review comments

* chore: update nodejs build

* chore: bump distro

* chore: lower the minimum requirements

* fix: glibc version check

* chore: remove explicit connection disposal
2024-02-06 11:25:58 +01:00
Hylke Bons 7513cee97b
multiDiffEditor: Card style + update colors (#203499)
* multiDiffEditor: Card style + update colors

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2024-02-02 17:24:13 +01:00
Benjamin Pasero a54c7531d0
🆙 `esbuild@0.20.0` (#203626) 2024-02-02 11:47:17 +01:00
Johannes Rieken 8ba046adbe
print heap stats instead of memory usage (#203959)
* print heap stats instead of memory usage

* ensure no hanging on to service

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-02-01 11:37:19 +01:00
Alex Ross 442c133fe9
Try to fix build pipeline (#203951) 2024-02-01 09:43:05 +01:00
Benjamin Christopher Simmonds 2c5286826b
Merge pull request #203681 from microsoft/benibenj/ytterbic-rooster
Added Tab Drag and Drop Indicator
2024-02-01 09:01:41 +01:00
Connor Peet 7e2981e8a6
eng: fix missing VSCODE_CHECK_ONLY in CLI publish step (#203926) 2024-01-31 21:25:26 +01:00
Connor Peet 3ad2e082c5
eng: group cli build vs publish steps (#203920)
Fixes #203871
2024-01-31 11:22:50 -08:00
Matt Bierner 0404d17da6
Fix nls build script on line such as `localize2(...) ... localize(...)` (#203851)
For #203842

I believe we need to apply the patches in character order. Otherwise the line ends up corrupted after the patching
2024-01-31 01:40:20 +01:00
BeniBenj a78b270441
💄 2024-01-30 12:49:32 +01:00
Raymond Zhao e284396074
chore: use newest node-gyp for SDL pipeline (#199820)
* chore: use latest upstream node-gyp

* fix: use node-gyp.js file directly

* apply PR feedback

* chore: delete patch file

* Apply PR feedback

* Update cache salt
2024-01-30 12:24:14 +09:00
Connor Peet 0f323440e5
eng: allow css nesting via postcss plugin (#203726)
* eng: allow css nesting via postcss plugin

CSS nesting has landed in most browsers at this point, but we don't want
to break users who are still stuck on old browser (mainly older iOS
devices.) This PR adds a postcss plugin to the build process that
de-nests nested CSS.

The plugin required a newer version of postcss as well, so I have
updated that and a couple other modules to their latest versions.

* update build's package.json versions too
2024-01-29 11:19:37 -08:00
Aiday Marlen Kyzy c75fdbd711
Adding colors from running `scripts/test-documentation.sh` (#203661)
adding colors
2024-01-29 10:59:52 +01:00
Johannes b7d1c336ee
grrrrr 2024-01-26 16:39:19 +01:00
Johannes a6f9e08a42
make language service a local var, dispose when new file contents are computed, terminate worker pool 2024-01-26 16:33:54 +01:00
Johannes 4e231448f8
those JS files... 2024-01-26 16:20:23 +01:00
Johannes 5abe782c37
log memory usage after each mangling step
https://github.com/microsoft/vscode/issues/202720#issuecomment-1912208685
2024-01-26 16:09:47 +01:00
Connor Peet fde80ce4fb
eng: fix missing rustup command in build (#203462)
Only call rustup when explicitly installing
2024-01-25 17:56:24 +01:00
Rob Lourens 0955a9d9d5
Add background color to chat agent icon so it doesn't overlap copilot icon (#203256) 2024-01-23 15:52:56 -08:00
Robo 39fe2dab67
chore: bump electron@27.2.3 (#202771)
* chore: bump electron@27.2.3

* chore: bump distro
2024-01-22 20:25:03 +01:00
Raymond Zhao 80750ef3eb
chore: bump electron/get to 2.0.3 (#203055)
chore: bump electron/get to ^2.0.0
2024-01-22 20:00:31 +01:00
Connor Peet 2a9a0a06f8
end: use a better hash for built-in cache key (#203033)
For CodeQL
2024-01-22 17:17:58 +01:00
Johannes Rieken 236d5dc072
`sha256` over `md5` (#202985)
* `sha256` over `md5`

* add missing JS file
2024-01-22 14:40:18 +01:00
Robo 1396f9c827
ci: fix debian packaging step failing to download sysroot (#202973) 2024-01-22 08:12:40 +01:00
Connor Peet e244acbb17
testing: avoid large hovers in test coverage, show inline counts instead (#202944)
Closes #202600

I still have a hover to make the "toggle line coverage" action visible, not sure a better place to put that...
2024-01-21 05:38:46 +00:00
Johannes 335b2d5fd4
quick voice should wrap when getting too long 2024-01-19 15:29:42 +01:00
Matt Bierner fa989a17f1
Switch to non-deprecated overload for rename (#202755) 2024-01-18 20:48:54 +01:00
Michael Lively 309915ba0c
Nb Sticky Scroll z-index & css fixes (#201837)
* no absolute positioning, scrolltop compute based on sticky lines.

* remove z-index var

* compute re-write, remove init, reduce pop-in

* dispose delayer

* remove debounce

* edge case for cell 0 header, next animation frame instead of debounce

* add delayer back, further improve pop in

* remove unused param, update testing snapshots
2024-01-18 11:05:54 -08:00
Sandeep Somavarapu c005fc38a9
fix #197345 (#202715) 2024-01-18 12:28:40 +01:00
Connor Peet 2e3df8a8b1
testing: coverage decorations in high contrast, better default behavior for position-only exts (#202676)
* testing: coverage decorations in high contrast, better default behavior for position-only exts

* update snapshot
2024-01-17 11:15:21 -08:00
João Moreno 85d3cd0eef
do not create a double semi colon when adding to path (#202583)
* do not create a double semi colon when adding to path

fixes #202268

* parens

* bad signature

* hm
2024-01-17 16:54:23 +01:00
Robo 1339f075b1
fix: add linux library dependency check for remote server (#202210)
* fix: add linux library dependency check for remote server

* chore: add faq link

* chore: move to separate file for reuse

* chore: add option to skip check

* fix: check

* fix: package path

* fix: don't forget to exit main script
2024-01-15 17:43:42 +09:00
Connor Peet 1c0c4726d3
testing: finish up coverage decorations (#202391)
* testing: finish up coverage decorations

- Adds an inline decorator for empty-range branches
- Adds hover information for inline coverage hovers
- Fixes the editor not handling decorations that get after/before
  content in `updateDecorationOptions`
- Adds an option `label` for branches
- A bunch of other misc tweaks to get coverage looking nice
- Keep decorations in sync if a user makes changes in editor

* update tests
2024-01-13 07:35:11 +01: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
Martin Aeschlimann 74f8c5cd89
Make the watermark editor labels themable (#202228) 2024-01-11 10:16:00 +01:00
Henning Dieterichs ad18bb00ce Fixes #199351 2024-01-09 23:40:26 +01:00
Connor Peet 801d79e284
Merge pull request #202048 from microsoft/connor4312/test-coverage-decorations-1
testing: add initial editor decorations
2024-01-09 11:20:46 -08:00
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
Connor Peet 0e743a2d91
testing: add initial editor decorations
This is the first pass at decorations in-editor. This PR doesn't
actually register the contribution, as it's not ready for selfhosting
yet. This PR creates decorations that look like this. The idea is that
coverage decorations in the glyph margin will always be visibile when
there's coverage, and users can get coverage in their code via hover or
shortcut, with the intention of making coverage unobtrusive and easy to
run all the time.

![](https://memes.peet.io/img/24-01-8e61f4db-f115-4732-affe-59dea879a335.png)

The notable thing is that there is now a third glyph margin row. I
reworked some of the editor code to handle this.

![](https://memes.peet.io/img/24-01-f400369f-650c-4303-be65-e65903f8ad17.png)

Some open questions:

- The glyph margin coverage wants doesn't need to be full-width, should
  we add a new 'leftmost' glyph lane instead that's thinner?
- Adding breakpoints in files with coverage is a little annoying since
  the breakpoint hint widget can expand the glyph margin on lines with
	coverage, and jump back over otherwise. Probably we should never
	decrease the number of lanes shown whenever the cursor is over the
	glyph margin.

		![](https://memes.peet.io/img/24-01-79b53dd9-6fca-41dd-87b5-a113f9c25efb.gif)
2024-01-08 16:11:42 -08:00
Alexandru Dima cea4eee18a
Use sha256 (resolves CodeQL warning) (#201978)
* Use sha256 (resolves CodeQL warning)

* check in JS file too
2024-01-08 17:03:22 +01:00
Alexandru Dima deae3ca4b1
Switch to using sha256 for checksums (fixes CodeQL warning) (#201977)
* Switch to using sha256 for checksums (fixes CodeQL warning)

* Fix unit test
2024-01-08 14:11:19 +01:00
João Moreno 6f96811659
stop uploading to legacy CDN (#201792)
* stop uploading to legacy CDN

* add missing compilation
2024-01-05 11:45:57 +01:00
João Moreno 91e69a3383
codeql exemption (#201780)
* codeql exemption

* add missing compilation
2024-01-05 11:24:24 +01:00
Robo cbbef4dc01
chore: address codeql warnings (#201776) 2024-01-05 10:03:05 +01:00
Aiday Marlen Kyzy 16894205b6
Changing from `outputEditor` to `outputView` (#201290)
changing outputEditor to outputView
2023-12-20 17:14:32 +01:00
Jithil P Ponnan 01fc3110be
chore: replace deprecated octal escape sequences with hex (#197518) 2023-12-20 16:30:32 +01:00
Connor Peet 64c8c3fe98
eng: hint if rate limit error is reached on preinstall (#200993)
* eng: hint if rate limit error is reached on preinstall

Fixes #194790

* compile
2023-12-15 18:49:51 +01:00
Aiday Marlen Kyzy d19f384e1a
Merge pull request #200251 from microsoft/aiday/outputViewStickyScroll
Setting a different color for the output view
2023-12-13 16:09:20 +01:00
Robo f87fb292c3
ci: fix missing auth token for cli build (#200714) 2023-12-13 08:27:54 +01:00
Robo e7b5076dd7
refactor: use sysroots on linux prod pipeline (#192513)
* ci: use sysroots on linux prod pipeline to build native modules

* ci: rebuild after electron update
2023-12-12 11:39:00 +01:00
Aiday Marlen Kyzy d3d984d0ca
registering two new colors for outputEditor and outputEditorStickyScroll background colors 2023-12-08 18:04:05 +01:00
Aiday Marlen Kyzy 14d593fb5f
Adding colors `vscode-editorStickyScroll-border` and `vscode-editorStickyScroll-shadow` (#200239)
* adding two more colors

* rewording text and making the border color null
2023-12-08 17:25:59 +01:00
Aiday Marlen Kyzy b5ad415b68
adding new color for sticky scroll inside of the panel 2023-12-08 15:05:20 +01:00
Aiday Marlen Kyzy 797f78fb64
wip 2023-12-07 17:30:32 +01:00
Robo 12fece34ed
chore: update to electron 27 (#197539)
* chore: update electron@27.0.2

* chore: update debian dependencies

* chore: bump electron@27.0.4

* chore: bump electron@27.1.0

* chore: bump electron@27.1.3

* chore: bump distro
2023-12-07 10:48:24 +01:00
易良 1ac14a7f70
fix: console format of fetchUrl (#198909)
* fix: console format of fetchUrl

* compile

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-12-05 07:43:00 +00:00
Robo ef804e738b
chore: update electron@25.9.7 (#199854)
* chore: update electron@25.9.7

* chore: bump distro
2023-12-02 08:17:36 -07:00
Aiday Marlen Kyzy b49fc606c5
definining a new color for the lightbulb ai icon 2023-11-29 16:07:41 +01:00
Daniel Imms 04a693546e
Merge pull request #196204 from microsoft/tyriar/hangul
Support for hangul alt chars
2023-11-27 12:42:30 -08:00
Daniel Imms da16e8c6e0
Make unicode file lint rule more strict 2023-11-27 11:57:32 -08:00
Robo 83ba577c3f
chore: bump electron@25.9.6 (#199179) 2023-11-27 17:45:25 +01:00