Commit graph

5223 commits

Author SHA1 Message Date
Robo e49ea372a1
chore: update electron@25.9.4 (#198142)
* chore: update electron@25.9.4

* chore: bump distro
2023-11-13 20:44:42 +01:00
Dipta Mahardhika 6518c0099c
chore: rename color var for comment input box (#197950)
* chore: rename color var for comment input box

also change the default color to inherit from input.background

* Keep using peekview title background and update editor too

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-11-13 13:25:08 +00:00
Daniel Imms 4c4bfbf558
Merge remote-tracking branch 'origin/main' into tyriar/hangul 2023-11-12 06:32:35 -08:00
Aiday Marlen Kyzy df2dd86b0c
Merge pull request #197817 from microsoft/aiday/sparkleOnHover
Add a setting to make the sparkle appear on hover or always
2023-11-10 09:20:08 +01:00
Henning Dieterichs f85a095fd2
Merge pull request #197652 from microsoft/hediet/b/pregnant-mink
Implements first iteration of multi diff editors.
2023-11-09 19:15:12 +01:00
Aiday Marlen Kyzy c90a53543b
polishing the code 2023-11-09 15:59:03 +01:00
Aiday Marlen Kyzy fba876b51f
adding setting to make the sparkle appear only on hover 2023-11-09 13:09:44 +01:00
Daniel Imms dcdd8555dc
Merge branch 'main' into tyriar/172742_sticky_scroll 2023-11-08 11:36:28 -08:00
Benjamin Pasero f9b5584b73
aux window - reduce direct setInterval uses (#197741) 2023-11-08 16:09:30 +01:00
Alex Ross 43a6f0562f
comment reply box background should have it's own color (#197738)
Fixes #196584
2023-11-08 15:41:03 +01:00
Daniel Imms e2870f6765
Merge branch 'main' into tyriar/172742_sticky_scroll 2023-11-08 06:31:11 -08:00
Henning Dieterichs 3f0f51bde0 Fixes #197552 2023-11-08 10:20:42 +01:00
Henning Dieterichs 0f4505209d
Merge branch 'main' into hediet/b/pregnant-mink 2023-11-08 10:04:46 +01:00
Benjamin Pasero 38db856f35
debt - use globalThis and remove deprecated globals (#197712)
* debt - use `globalThis` and remove deprecated `globals`

* fix build
2023-11-08 09:13:03 +01:00
Henning Dieterichs 090fd2c772
Implements first iteration of multi diff editors.
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-11-07 16:51:38 +01:00
Benjamin Pasero 3453c4f9f0
aux window - avoid/flag more globals (#197614)
* aux window - avoid/flag more globals

* fix access from worker

* allow `queueMicrotask`

* more adoptions

* fix build

* avoid $globalThis
2023-11-07 12:52:20 +01:00
Daniel Imms 3cfbb33383
Fix most sticky scroll bg styles 2023-11-06 12:49:52 -08:00
Benjamin Pasero 912c2d98e3
aux window - ensure native host service is properly typed in all contexts (#197527) 2023-11-06 12:00:24 +01:00
Benjamin Pasero 14678c041f
eng - ensure node for remote smoke tests (#197509)
end - ensure `node` for remote smoke tests
2023-11-06 16:21:36 +09:00
Daniel Imms 524cc5e6d5
Merge remote-tracking branch 'origin/main' into tyriar/hangul 2023-11-04 08:59:49 -07:00
Alexandru Dima 8513a34ce4
Add IEditorAction.metadata (#197442) 2023-11-04 14:26:47 +01:00
Connor Peet 9934a6b4ef
cli: bump openssl (#197404) 2023-11-03 21:32:30 +01:00
Ladislau Szomoru 40cdc5cb1f
Engineering - Add Python setuptools installation (#197341) 2023-11-03 11:44:29 +01:00
Daniel Imms 1532b5aebd
Add xterm scope to moore places 2023-11-02 06:34:09 -07:00
Daniel Imms 3a351bdc29
Move to xterm scoped image addon 2023-11-01 14:47:59 -07:00
Daniel Imms 55e5f527ca
Move Korean alt char handling into new file 2023-10-28 07:22:20 -07:00
Benjamin Pasero 62fdec2def
aux window - cleanup preloads (#196832)
* aux window - cleanup preloads

* 💄

* 💄
2023-10-27 16:42:45 +02:00
Ladislau Szomoru f0fad066a3
Engineering - Rename .git-blame-ignore to .git-blame-ignore-revs (#196816) 2023-10-27 12:34:22 +02:00
David Dossett eb6ffc2378
Fix color name 2023-10-23 17:12:15 -07:00
David Dossett 2423f43195
Update chat avatar styles 2023-10-23 17:10:19 -07:00
João Moreno 2c973350c5
chore: bump electron@25.9.2 (#196249)
* chore: bump electron@25.9.2

* chore: bump distro

* install setuptools

https://github.com/nodejs/node-gyp/issues/2915
2023-10-23 14:43:33 +02:00
ermin.zem bf9068c750
fix: fix editor progress position when enabled pinnedTabsOnSeparateRow (#195314)
* fix: fix editor progress position when enabled pinnedTabsOnSeparateRow

* fix: fix editor progress position

* fix: fix editor progress position

* fix: add commit to editor title progress style

* Revert "fix: add commit to editor title progress style"

This reverts commit 302ec88c9a.

* Revert "fix: fix editor progress position"

This reverts commit ec445b607c.

* Revert "fix: fix editor progress position"

This reverts commit cea64becfa.

* Revert "fix: fix editor progress position when enabled pinnedTabsOnSeparateRow"

This reverts commit 8f2c0e7022.

* feat: add --editor-group-tabs-height css variable to set progress bar position

* update height in lyout

* Remove setting redraws as already done elsewhere

* Remove 2px for progress bit height

---------

Co-authored-by: ermin.zem <ermin.zem@alibaba-inc.com>
Co-authored-by: BeniBenj <besimmonds@microsoft.com>
2023-10-23 12:14:58 +02:00
Bhavya U 3658a3f33b
Initial support for account entitlements (#195750)
* Initial support for accounts entitlements

* Clean up code

* Remove dependency on FIleReader

* Update vi18n.resources.json

* Use IRequestService

* Rename to IGitHubEntitlement
2023-10-20 14:41:21 -07:00
João Moreno 417e17038c
Use NodeJS mirror for more reliable downloads (#196038)
get node from mirror
2023-10-20 09:53:57 +02:00
Benjamin Pasero eb0575e464 aux window - improve popup block situation 2023-10-19 09:47:31 +02:00
Benjamin Pasero 45dda0e1da
debt - remove old style voice transcriber (#195883) 2023-10-18 14:42:02 +02:00
Raymond Zhao 880cb517e1
Add more SBOMs (#195736) 2023-10-17 15:55:55 -07:00
David Dossett 243e6cec50
Tweak text preformat foreground and background (#195821) 2023-10-17 22:18:28 +02:00
Robo c6482f7f4b
chore: bump electron@25.9.1 (#195755)
* chore: bump electron@25.9.1

* chore: bump distro
2023-10-17 08:31:39 +02:00
João Moreno 9905225b1a
Remove win32-ia32 target (#195559)
* remove win32-ia32

* update distro
2023-10-16 13:28:09 +02:00
Benjamin Pasero 90aee6d79c
voice - more tweaks to icon animation (#195681)
* voice - more tweaks to icon animation

* more tweaks
2023-10-16 12:16:59 +02:00
Raymond Zhao e20515c62e
Bump dependencies for debug sub-dependency (#195513) 2023-10-13 09:01:12 -07:00
Benjamin Pasero 7a03774b96
speech - core service and extension API (#195365)
* speech - scaffold a basic core service for registration

* speech - scaffold a basic extension API for speech providers

* cleanup

* speech - improve API to work with events

* simplify

* better api

* cleanup
2023-10-12 14:53:01 +02:00
Rob Lourens 901ac65ea9
Implement chatAgent2 proposal (#194635)
* Add notes on chat agent API

* Add request ID to context

* variables

* Add partial implementation for another option for a chat agent API

* update

* Notes from api sync

* More notes

* Can invoke an agent and get the response

* Provide a real request

* Notes

* add `slashCommandProvider` - not yet hooked up

* add metadata properties inline, some comments

* some more notes

* Put the new API side-by-side with the old one

* Fix agent title in response

* Fix agent display

* Send slashCommand to request

* Hook up variables

* Get rid of package.json registration option

* Start to implement followups provider

* Add comment

* make it `slashCommandProvider` all the way, use updateAgent for updates icon, fullName, description

* update docs

* only ask for slash command completions when completing a slash-word

* use complex completion item label for command/agent completions

* add `promptText` to `IParsedChatRequestPart` so that some parts don't make it into the prompt (like agent and slash commands)

* only allow agent and slash command at the beginning of the prompt

* remove unused method

* some jsdoc, many renames so that stuff starts with `ChatAgent...`

* reduce `createChatAgent` to the minimum, let the rest be set via setters

* in the renderer know if an agent has slash command and follow ups, safes IPC calls

* use `iconPath` to align with other APIs

* more jsdoc and more obvious TODOs

* fix chat parser with "late" command

* handle error so that the request stops. where is the rendering tho?

* Show error message in response properly

* Don't blow up global / list

* Change proposal name

* Inline followup types

* fix type

* Remove brace in error msg

---------

Co-authored-by: Johannes <johannes.rieken@gmail.com>
2023-10-12 05:23:51 +02:00
Raymond Zhao 18a25cd5d6
Clarify pipeline actions (#195197) 2023-10-11 09:05:00 -07:00
Raymond Zhao 32ddc9b714
Add steps to SDL pipeline (#195304)
* Add recommended publish logs task

* Add PS script analyzer
2023-10-10 14:37:56 -07: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
Connor Peet 2e37be2160
Adopt Terrapin / msrustup for the CLI (#188732)
* cli: use terrapin for cli builds

* update rust to 1.70 to allow ado artifacts feed on windows

* apparently manaul cargo login is required

* use msrustup

* rustup is no longer user

* update to 1.73

* add rust oss install
2023-10-08 17:18:22 -07:00
Raymond Zhao 187fa0eff0
Ignore unloadable PDBs (#194731) 2023-10-07 01:39:58 +09:00
Benjamin Pasero 91e59a296e
aux window - better focus and reveal handling for editors (#194828)
* first cut focus handling

* 💄

* implement moveToTop

* cleanup
2023-10-05 09:51:10 +02:00
Rob Lourens 7d4027b62b
Test using nvmrc in CI (#194836)
* Test using nvmrc in CI

* Force run yarn

* fix

* Bump nvmrc to latest

* Revert "Force run yarn"

This reverts commit af741f37d5.

* Make all jobs use node from nvmrc
And install node-gyp where needed
2023-10-04 19:08:50 -07:00
Tyler James Leonhardt a27dc7725c
Introduce localize2 function (#194750)
* Introduce `localize2` function

This is syntax sugar around:
```
{ value localize('id', "Hello"), original: 'Hello' }
```

That will now be returned when you do:
```
localize2('id', "Hello");
```

* fix merge conflic

* new source map due to updated deps
2023-10-04 12:57:38 -07:00
Bhavya U 1d7b8b8a43
Update color-registry (#194756) 2023-10-03 17:53:59 -07:00
Rob Lourens 8ee50f2e21
Fix the rest of the node version references (#194677) 2023-10-03 00:55:32 +01:00
Rob Lourens c9740ad40f
Try with node 18.17 (#194663)
* Try with node 18.17

* And change product compile

* Use 18.15, same as the local version
2023-10-02 15:04:23 -07:00
Matt Bierner 10d94ba0f3
Pick up latest TS nightly for building VS Code (#194631) 2023-10-02 19:40:35 +01:00
Christof Marti a6b9e7c28b
Make sure node-gyp is installed (#194494) 2023-09-29 17:33:44 +01:00
João Moreno 318f421af3
chore: bump electron@25.8.4 (#194488) 2023-09-29 16:48:48 +01:00
Robo a556eb6abb
chore: bump electron@25.8.2 (#193798)
* chore: bump electron@25.8.2

* chore: bump distro
2023-09-22 15:51:59 +01:00
Sandeep Somavarapu 20212f2b7b
overlay gear on profile icon (#193806) 2023-09-22 15:08:24 +01:00
João Moreno e3b46eeda5
fixes #192486 (#193684) 2023-09-21 15:12:20 +01:00
Matt Bierner 70139e827a
Pick up latest TS nightly for building VS Code (#193534)
Required fixing a real typing error
2023-09-19 17:25:11 -07:00
João Moreno ef023da6db
more defense against bad AAD auth (#193447)
add retry to check blob
2023-09-19 13:19:12 +01:00
João Moreno 7c7f7eee86
rewrite blob upload promises (#193434) 2023-09-19 09:18:20 +01:00
Robo 7b0ae6cf9d
chore: bump electron@25.8.1 (#193060)
* chore: bump electron@25.8.1

* chore: bump distro
2023-09-14 04:47:41 +01:00
João Moreno 8ac8b0d6d5
update uninstalling phrasing (#192993) 2023-09-13 11:53:38 +01:00
Connor Peet 17015750a3
cli: update openssl (#192825)
* cli: update openssl

* make multi-threaded

* use mt windows versions
2023-09-12 00:44:14 +02:00
Benjamin Pasero 7d7dfa8f3e
debt - refer to tab height also in code 2023-09-09 13:28:26 +02:00
Benjamin Simmonds 1f6e0ae054
Merge branch 'main' into benibenj/tabHeight 2023-09-06 15:25:34 +02:00
BeniBenj 908d5f155d variable renaming 2023-09-06 15:20:49 +02:00
Robo 1f40d64450
fix: deb and rpm dependency after keytar removal (#192275)
* fix: deb and rpm dependency after keytar removal

* chore: rm libsecret-1-dev from CI

* ci: update cache
2023-09-06 05:24:39 -07:00
BeniBenj 2e33655e9c rename variables title height, added super methods 2023-09-06 10:39:10 +02:00
Benjamin Pasero 7dcecb16f1
Merge branch 'main' into benibenj/tabHeight 2023-09-06 09:06:29 +02:00
Tyler James Leonhardt 5134662139
Remove CredentialsService & keytar (#192224)
* Remove CredentialsService & keytar

ref https://github.com/microsoft/vscode/issues/115215
fixes https://github.com/microsoft/vscode/issues/143395

* compile

* remove imports

* rip the bandaid
2023-09-05 17:47:30 -07:00
Benjamin Simmonds 10bcc3bd5c
Merge branch 'main' into benibenj/tabHeight 2023-09-05 10:32:49 +02:00
Henning Dieterichs e0e970f76b
Removes legacy diff editor. (#191989)
* Removes legacy diff editor.

* Fixes CI

* Fixes CI
2023-09-04 22:45:27 +02:00
Benjamin Simmonds a58ff17bd5
Merge branch 'main' into benibenj/tabHeight 2023-09-04 18:07:55 +02:00
BeniBenj 09a9c0140e Support different tab heights 2023-09-04 18:00:07 +02:00
Henning Dieterichs 65e921c5b8 Removes support to pass in diff algorithm via option in favor of a service.
Fixes https://github.com/microsoft/monaco-editor/issues/3558
2023-09-04 17:52:54 +02:00
Henning Dieterichs fe25a72de8 Fixes CI 2023-09-01 14:43:31 +02:00
Henning Dieterichs 4d53e0a136 Fixes CI 2023-09-01 14:43:31 +02:00
Robo 5f7b620db8
chore: bump electron@25.8.0 (#191905)
* chore: bump electron@25.8.0

* chore: update internal build id

* chore: bump distro
2023-09-01 08:32:05 +02:00
Robo 35be9bf683
chore: update electron@25.7.0 (#191282)
* chore: update electron@25.7.0

* chore: update internal build id

* chore: bump distro
2023-08-30 06:03:40 +02:00
Aiday Marlen Kyzy 07a6890a7b
Merge pull request #191440 from microsoft/aiday/simplifyingCode
Simplifying sticky widget folding icon code
2023-08-29 11:16:54 +02:00
Aiday Marlen Kyzy 14c1d7c061
adding code changes 2023-08-28 15:04:43 +02:00
Aiday Marlen Kyzy 74a11f3d2b
adding some working code, use classes instead 2023-08-28 14:25:26 +02:00
Matt Bierner 45e2e0bfd0
JS/TS package acquisition (#184438)
* Experiment with adding ata using `@types` packages shipped in an extension

* Use own file system instead of `https`

* JS/TS type support on web

* Tsconfig needs esModuleInterop not module:nodenext

We actually want webpack to emit commonjs, but need to write ES default
imports to use node-maintainer

* fix package.json indentation

* Adding setting to disable web type acquisition

* Fix merge of yarn lock

* Fixing merge errors

* Fixing errors

* Pick up package externally

* Fixing conflicts

* Bump version

---------

Co-authored-by: Kat Marchán <kzm@zkat.tech>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-08-28 00:49:40 -07:00
João Moreno 6b74d08f5b
💄 (#191313)
cc @rzhao271
2023-08-25 15:14:07 +02:00
Benjamin Pasero d95102088a
Merge pull request #190139 from microsoft/ben/voice
Implement a service for voice recognition and add to chat views
2023-08-25 10:36:06 +02:00
Raymond Zhao 083fca1325
Codesign Debian package for PMC API (#191140)
* Codesign Debian package for PMC API

* Fix directory name

* polish displayName
2023-08-25 09:29:01 +09:00
Henning Dieterichs 905931a868 Fixes CI 2023-08-24 15:44:33 +02:00
Alpha Romer Coma 7ef754c2f6
Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Benjamin Pasero c21b0e9d56
Merge branch 'main' into ben/voice 2023-08-24 06:21:19 +02:00
Ulugbek Abdullaev e4bfe48d92
Merge pull request #190649 from microsoft/ulugbekna/insert-at-cursor-api
MappedEditsProvider API
2023-08-23 12:28:24 +02:00
Henning Dieterichs e5a07457e4 Improves moved code arrow rendering. 2023-08-22 18:16:39 +02:00
Benjamin Pasero f19d123095
status bar - introduce kind and adopt (fix #184967) (#190947)
* status bar - introduce `kind` and adopt (fix #184967)

* adopt for extensions

* deprecate colors
2023-08-22 12:37:40 +02:00
Benjamin Pasero 9044b53c04
Merge branch 'main' into ben/voice 2023-08-22 06:39:23 +02:00
David Dossett cf4f089eef
Add hover foreground for prominent status bar items (#190925) 2023-08-21 16:35:12 -07:00
Benjamin Pasero c2cd8a1f27
Merge branch 'main' into ben/voice 2023-08-21 20:12:55 +02:00
David Dossett c69eb8f67a
Add status bar item hover foreground color (#190906)
* Add status bar item hover foreground color

* Use status bar item foreground instead
2023-08-21 10:42:37 -07:00
Ulugbek Abdullaev c3a4fbbe8f add vscode.executeMappedEditsProvider command & use it to have integration tests for mapped-edits service 2023-08-21 13:00:50 +02:00
Benjamin Pasero 4947857427 Merge branch 'main' into ben/voice 2023-08-18 12:15:02 +02:00
Benjamin Pasero ce752f607a voice - better ports lifecycle 2023-08-17 14:10:01 +02:00
Benjamin Pasero b96621b58c voice - implement direct MessagePort communcation between audio worklet and shared process 2023-08-17 11:47:14 +02:00
Connor Peet 6a847ba6d1
eng: add support for snapshot tests (#190444)
* eng: add support for snapshot tests

This adds Jest-like support for snapshot testing.
Developers can do something like:

```js
await assertSnapshot(myComplexObject)
```

The first time this is run, the snapshot expectation file is written
to a `__snapshots__` directory beside the test file. Subsequent runs
will compare the object to the snapshot, and fail if it doesn't match.

You can see an example of this in the test for snapshots themselves!

After a successful run, any unused snapshots are cleaned up. On a failed
run, a gitignored `.actual` snapshot file is created beside the
snapshot for easy processing and inspection.

Shortly I will do some integration with the selfhost test extension to
allow developers to easily update snapshots from the vscode UI.

For #189680

cc @ulugbekna @hediet

* fix async stacktraces getting clobbered

* random fixes

* comment out leak detector, for now

* add option to snapshot file extension
2023-08-15 12:03:51 -07:00
Megan Rogge 31a6f1daa2
Merge pull request #189557 from yiliang114/honest-spider
fix: Close #189556, gulp task do not display task name
2023-08-15 10:32:24 -07:00
Alex Ross 7cd34760d1
Add compiled file 2023-08-15 18:54:46 +02:00
Robo 6d939f466e
chore: bump electron@25.5.0 (#190490)
* chore: bump electron@25.5.0

* chore: bump distro
2023-08-15 17:31:11 +01:00
yiliang114 ca333cd5ea chore: remove build output of compilation.js 2023-08-16 00:20:12 +08:00
yiliang114 75303d905e chore: remove build output of compilation.js 2023-08-16 00:19:05 +08:00
易良 036e8d4008
Merge branch 'main' into honest-spider 2023-08-15 23:07:15 +08:00
Henning Dieterichs 04dd69f669 Renders toggle state in action bar. Fixes #186403. 2023-08-14 18:45:24 +02:00
Aiday Marlen Kyzy f7f8fea209
Merge pull request #187698 from microsoft/aiday/limitingWidthOfHover
Limiting the width of the content hover to the content inside
2023-08-14 14:28:14 +02:00
David Dossett 1b8729178c
Remove background color for chat requests (#190297)
Don't use background color for chat requests
2023-08-12 07:58:25 -07:00
Connor Peet 76985ae781
build: fix alpine cli build (#190266) 2023-08-11 17:27:41 +01:00
Alex Dima 684270ac2e
Use consistent names for variables, fall back to defaults when wrapping is on 2023-08-11 17:39:24 +02:00
Alexandru Dima 6e7ea55068
Merge branch 'main' into aiday/limitingWidthOfHover 2023-08-11 17:17:07 +02:00
Connor Peet 52840e3ca5
cli: cleanup build (#190213)
- Remove the `prepare` script entirely
- Variables are now populated from the product.json during build. Most
  variables are mapped automatically, with some special handling in a
	few cases. `build.rs` is now much more self-contained.
- Look for the `product.overrides.json` for vscode developers instead of
  looking for a peer `vscode-distro` folder

Fixes #178691
2023-08-10 20:14:30 -07:00
Benjamin Pasero bb61acf43c Merge branch 'main' into ben/voice 2023-08-10 08:53:24 +02:00
Benjamin Pasero 652e2d069c
voice - update build script includes 2023-08-09 20:28:46 +02:00
Robo 6dd6bdfb00
chore: update Electron v25.4.0 (#189904)
* chore: some cleanups from the Electron v25 update

* chore: update Electron@25.4.0

* chore: update issue reference

* chore: bump distro
2023-08-09 11:30:08 +02:00
Matt Bierner 8f4385d10c
Use unique ident pool per mangling (#189959)
Fixes #189124
2023-08-08 23:26:50 +02:00
Connor Peet 71282c3d52
forwarding: add built-in tunnel forwarding extension (#189874)
* forwarding: add built-in tunnel forwarding extension

- Support public/private ports, which accounts for most of the work in
  the CLI. Previously ports were only privat.
- Make the extension built-in. Ported from the remote-containers
  extension with some tweaks for privacy and durability.
- This also removes the opt-in flag, by not reimplementing it 😛

Fixes https://github.com/microsoft/vscode/issues/189677
Fixes https://github.com/microsoft/vscode/issues/189678

* fixup! comments

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2023-08-08 22:00:03 +01:00
Raymond Zhao 2159f75d4b
Fix node-gyp not found error (#189942) 2023-08-08 13:42:53 -07:00
David Dossett d1c4bf3fcb
Add CSS vars for slash commands and tweak styling (#189965)
Add css vars for slash commands and tweak styling
2023-08-08 13:37:37 -07:00
Benjamin Pasero 707bffbdae
voice - scaffold a basic voice recorder service 2023-08-08 17:08:44 +02:00
Connor Peet 85daa35afb
build: don't fail on Node 16 until images are updated (#189886)
See #189855
2023-08-07 23:05:19 -07:00
yiliang114 818ae5029a fix: Close #189556, gulp task do not display task name 2023-08-08 14:02:41 +08:00
易良 119e89af66
Merge branch 'main' into honest-spider 2023-08-08 13:52:54 +08:00
Raymond Zhao a138e61f7a
Compile debug version of native-keymap (#189588)
* Compile debug version of native-keymap

Ref https://github.com/microsoft/vscode/issues/189019

* cd back to original dir

* Move block

* Move script up
2023-08-08 08:52:06 +09:00
Connor Peet 6004a9f716
debug: put user data dir in home dir, update versions of things (#189855) 2023-08-07 19:46:38 +01:00
Aiday Marlen Kyzy a31f703941
Making sticky scroll scrollable (#189466)
* work in progress make it scrollabel

* adding changes

* adding changes

* cleaning the code

* cleaning the code

* not usnig a vertical scrollbar

* scanning the dom node only on mouse over

* requires tweaking

* now the scrollbar can be used alongside the hovering on the sticky scroll

* setting handle mouse wheel to false in order not to scroll vertically inside of the scrollable element with wheel

* separated the line numbers and the actual line in order to be able to just move one of the scrollbars, the editor one and the line numbers remain the same

* cleanin the code

* we are able to make the full line appear

* the width is correctly updated on the width layout change of the editor

* only rendering when top scroll changed, not when horizontal scroll changed

* using the correct editor layout info, not the one saved in the constructor

* setting the linehtml node style width to 100% so that the whole line is covered, but still not covered after the end of the viewport

* changing the total width after rendering

* placing the color into sticky line number

* removing the direct setting of the colors

* adding the background color inside of sticky line number

* using the view zone in order to increase the scroll width of the editor

* placing the view zone at the very bottom of the file

* limiting the scrollable dom height to the height of the sticky widget lines node inside, so now the sticky widget works as before

* cleaning the code

* cleaning the code

* removing useless variable

* adding 100 pixels in order to see the end of the line

* removing the console logs

* putting back the check to what it was

* using the same string convention

* adding inheritance properties in order for the background color to be propagated

* cleaning the code

* cleaning the code

* using or instead of and in the zone accessos

* cleaning the code

* cleaning the code

* cleaning the CSS

* chaning the order of the CSS properties

* cleaning the code

* Improve rendering

* No need to resize the widget from the outside, the widget resizes itself

* placing the focus method inside of the sticky widget

* céeanig the code

* Minor tweaks

* Also update widget width when the scroll width changes

* Allow overlay widgets to pass in a minimum content width

* Also update the min content width if the position doesn't change

* defining method for mi content width in px

* updating the minimum content width

* adding setting in order to be able to control whether sticky scroll scrolling should be influenced by editor horizontal scrolling

* removing redundant new line

* Fix typo

* Extract code in a function

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2023-08-07 17:35:57 +01: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
Connor Peet 0d22bb7efa
cli: update dependencies for s360 (#189562)
* cli: update dependencies for s360

* update rust
2023-08-03 18:05:46 +01:00
yiliang114 76e25bad23 fix: Close #189556, gulp task do not display task name 2023-08-03 22:58:20 +08:00
Robo 7a606ee393
fix: update rpm dependencies (#189455) 2023-08-02 10:33:18 +02:00
Connor Peet 58abf70a45
build: fix binary not being included when linux archives are made (#189443)
Fixes #189383
2023-08-02 11:06:44 +09:00
Tyler James Leonhardt 1e0b12d1ca
Remove vscode-encrypt from node.js side (#189252)
* Remove vscode-encrypt from node.js side

Now that we've had a version of the product that has done the migration logic, we no longer need vscode-encrypt on the node side.

This removes all references of vscode-encrypt from the node side. I will also remove it from the package.jsons in distro.

* remove machineId
2023-08-01 11:30:48 +10:00
Robo 8147d6bee1
fix: bump node-gyp dependency to v9.4.0 (#189308) 2023-07-31 06:53:30 -07:00
João Moreno f6a5c0ca02
log releaseBuild.ts (#189170) 2023-07-28 15:18:03 +01:00
Benjamin Pasero cbdfe4e0b4
Removal of feedback control (fix #188960) (#189027) 2023-07-28 10:12:52 +02:00
Robo 69ce9dc604
fix: statically define kerberos module dependencies (#189047) 2023-07-28 09:15:48 +09:00
João Moreno dd149c2255
fix npe in build (#189095)
fixes #189070
2023-07-27 21:48:22 +01:00
Robo 6d355a1ed5
chore: update electron@22.3.18 (#189049)
* chore: update electron@22.3.18

* chore: bump distro
2023-07-27 15:22:42 +01:00
Robo 268f34992c
fix: missing condition in createAsset (#189026) 2023-07-27 07:36:08 +01:00
João Moreno 97700a36ca
fix build issue when retrying after one cdn failure (#188939) 2023-07-26 10:20:46 -07:00
Aiday Marlen Kyzy 398e46ca68
Make content hover text use full possible width (#187597)
* combinging the setting of max dimensions on the container and on the contents dom node

* adding the css variable in order to be able to specify the max width of the content inside

* cleaning the code

* changing the name of the variable

* cleaning the code

* placing the hover max width variable into the others category of vscode-known-variables json file

* defining a fall back value of 500 pixels

* inlinging the code

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2023-07-26 08:54:48 +02:00
Benjamin Pasero 82ced13b61
Retry playwright installs (fix #188453) (#188646) 2023-07-24 08:58:11 +02:00
João Moreno ed1de9e0e9
fixes #187885 (#188502) 2023-07-21 17:08:05 +02:00
Robo 4df4f694c3
ci: install qemu for alpine arm64 (#188455) 2023-07-21 09:51:34 +02:00
Robo 7628b550c0
ci: fix oss node_modules cache pipeline (#188448)
* ci: fix oss node_modules cache pipeline

* align all "Install build dependencies" steps

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-07-21 09:40:53 +02:00
Robo 2509b7f504
ci: fix alpine build (#188446) 2023-07-21 08:41:43 +02:00
Robo 00039b0fcf
refactor: linux pipeline to use containers only for yarn step (#188383)
* ci: use container only in yarn step

* chore: invalidate cache

* chore: install missing deps for packaging

* chore: remove duplicate package installations

* fix: oss build

* chore: separate deb and rpm package preparation

* chore: mount out folder when packaging

* ci: switch to official docker image
2023-07-20 21:02:56 -07:00
Michael Lively 28e972e496
initial stickyScroll support for notebooks (#188323)
* stickyscrool wip. dom node + filler static content

* headers rendering. todo: too early, multiple headers

* css file movement + outline rework

* kernel css move

* pop-in fixed // css cleaned // setting added

* fix override

* low hanging fixes

* refactor to remove unnecessary layer

* section transition logic cleanup + other misc fixes

* whoops changed a little too much. todo: linesToRender thinking

* finalized logic

* nits

* def false

* Update zindex

* Fix font size

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2023-07-20 15:50:39 -07:00
João Moreno 16ca37cae9
skip group policy and explorer sparse package in CIBUILD runs (#188346) 2023-07-20 11:52:57 +02:00
Christof Marti 6ae441b56f
Kerberos auth for proxies (#188130) 2023-07-19 20:11:00 +02:00
Robo 53e7651c52
chore: update electron@22.3.17 (#188272)
* chore: update electron@22.3.17

* chore: bump distro
2023-07-19 08:30:17 -07:00
weartist 2fd4a2523e remove unnecessary code 2023-07-19 09:25:48 +08:00
weartist 75f5fc5073 fix spell 2023-07-18 17:23:58 +08:00
Alex Ross dc142e4cd1
BUILD: Exclude third party notices from indentation filter (#187913) 2023-07-14 11:52:40 +02:00
João Moreno 4221074653
fix windows servers, add top level folders (#187906) 2023-07-14 10:14:19 +02:00
Connor Peet 22bb4b95cc
build: exclude the cli third party notices from hygenie (#187843)
This might get moved later on, but for now exclude them
2023-07-13 16:50:43 +02:00
Connor Peet cbb47129d3
cli: stop tunnel processes during update (#187738)
* untested wip

* make it work
2023-07-12 20:58:09 +02:00
João Moreno 6bad769697
make sure publishing is the last thing in each pipeline (#187708)
this fixes a rare issue in which the second Generate SBOM
task will fail, so a second attempt at running the pipeline will
fail when publishing the first Publish SBOM task, since it
would already have been published
2023-07-12 14:36:51 +02:00
Aiday Marlen Kyzy e1becd2eb8
cleaning the code, it works now 2023-07-12 12:49:48 +02:00
João Moreno d568855b2a
build: prevent re-upload of builds (#187680)
would've prevented what #187575 fixed
2023-07-12 11:39:27 +02:00
Raymond Zhao 5be539a588
Bump semver (#187654) 2023-07-12 01:49:45 +02:00
Connor Peet ef8b1483fc
build: use new cli patch method (#187629) 2023-07-11 13:47:08 -07:00
João Moreno f8782370c9
fix windows archive packages (#187585) 2023-07-11 15:52:32 +02:00
João Moreno cac438f1bf
fix windows build (#187575) 2023-07-11 14:58:06 +02:00
João Moreno a044e57b07
still run tests on win32-ia32, but make them optional to pass (#187474)
* still run tests on win32-ia32, but make them optional to pass

* hm

* ok

* try this
2023-07-11 14:29:02 +02:00
dependabot[bot] b457942f6e
Bump semver from 5.7.1 to 5.7.2 in /build (#187548)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 11:35:24 +02:00
João Moreno ef4206956a
always roll processed artifacts forward (#187465) 2023-07-10 17:12:32 +02:00
João Moreno 6d1066875e
isolate artifacts from attempted runs (#187437)
* isolate artifacts from attempted runs

* set ARTIFACT_PREFIX to empty string first

* cleaner
2023-07-10 16:15:29 +02:00
João Moreno 5150ef0ce7
disable tests on win32-ia32 (#187313) 2023-07-07 15:47:05 -07:00
João Moreno 0917209e9a
Always publish build artifacts, if built (#187134)
* always publish build artifacts, if built

fixes #187122

* fix windows build

* fix builds

* fix

* more fixes

* further debug

* fix yarn

* remove debug

* remove 7zip dependency

* fix snap
2023-07-07 11:45:35 -07:00
Raymond Zhao c067a3bf81
chore: bump semver 7 dependencies (#187171) 2023-07-06 20:18:02 +02:00
dependabot[bot] 9618e4fa2a
Bump semver from 7.3.8 to 7.5.3 in /build/npm/gyp (#186809)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 16:29:55 -07:00
João Moreno 0bebe30b75
update inno_updater (#187073) 2023-07-05 20:33:05 +02:00
Henning Dieterichs 6bbb128304
Merge pull request #178112 from mwerschy/rainbow-indent
Implement indent guide colorization options.
2023-07-05 18:20:29 +02:00
Johannes eeae481e47
set emit-target and libs to ES2022, avoid static-blocks, fix Error#cause conflict
https://github.com/microsoft/vscode/issues/185991
2023-06-30 11:43:19 +02:00
João Moreno 9f6b76bdb5
schedule a non-releasing 7pm build (#186548) 2023-06-28 21:08:44 +02:00
isidor d47a27cfe6 still register workbench.enableExperiments 2023-06-27 15:01:06 +02:00
Isidor Nikolic 4b5db322fd
Merge branch 'main' into isidor/courageous-yak 2023-06-27 10:32:23 +02:00
Tyler James Leonhardt 8245737e93
Use setUsePlainTextEncryption properly and allow control of password-store via argv.json (#186207) 2023-06-26 14:23:30 -07:00
João Moreno 998951e5ed
propagate gh token (#186197) 2023-06-26 20:30:03 +02:00
Robo 9cdd289db0
chore: update node checksums (#186181)
* chore: update node checksums

* chore: bump distro
2023-06-26 18:20:59 +02:00
Jacek Kopecký b97d99f428
Add tabSizingFixedMinWidth setting (#185766) (#186058)
* Add tabSizingFixedMinWidth setting (#185766)

* Add forgotten case for wrapping tabs

* address feedback

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2023-06-26 14:58:37 +00:00
Isidor Nikolic 6c24374696
Merge branch 'main' into isidor/courageous-yak 2023-06-26 15:46:13 +02:00
Robo 6067bb4ebe
chore: bump electron@22.3.14 (#185983)
* chore: bump electron@22.3.14

* chore: bump distro
2023-06-23 15:43:02 +02:00
ChaseKnowlden b603fcf963
chore: update minimum installable version in inno setup (#175818)
* Drop support for windows versions prior to windows
10

* Prepare for windows 8 eol

* fix typo

* Revert "Prepare for windows 8 eol"

This reverts commit f65a7107280da4328014d4964ba432f3d7462de0.
2023-06-23 22:15:49 +09:00
Johannes 56c917debf
update SWC config to disable useDefineForClassFields 2023-06-23 12:55:32 +02:00
Max Schmitt 9e0f5fb2dd
chore(monaco): make createTrustedTypesPolicy optional (#185454) 2023-06-22 07:23:20 +00:00
Rob Lourens 7f5de39970
Delete old settings search config uploader (#185818) 2023-06-21 17:15:31 -07:00
Benjamin Pasero 7190530d35
readonly - adopt readOnlyMessage for readonly mode (#185756) 2023-06-21 14:40:17 +02:00
João Moreno 636dbcff55
Revert "cli: fix error starting remote tunnels (#185701)" (#185731)
This reverts commit ffe64dab3c.
2023-06-21 09:30:30 +02:00
Connor Peet 2138622b04
build: add watch/compile tasks for CLI (#182344)
* build: add watch/compile tasks for CLI

I spent time this morning working on the 'developer experience' of the
CLI in vscode, mainly getting the CLI to cross-compile chasing our
initial idea of having it auto-build in a devcontainer.

After some effort and disabling tunnels connections (to avoid having to
pull in OpenSSL which is a huge pain to cross compile), I was able to
get it to cross-compile from Linux to Windows, using the mingw linker.
I could probably figure out how to get macOS working as well with more
effort. However, I'm not a big fan of this, effectively it's one more
'platform' of build we need to support and test.

I think a better approach is downloading the latest compiled CLI from
the update server instead, as needed. That's what this PR does. It just
places the CLI where it _would_ normally get compiled to by cargo; so
far we don't need to do anything special outside of that.
A notice is shown to users if this fallback happens.

* update from review
2023-06-20 14:34:11 -07:00
Connor Peet ffe64dab3c
cli: fix error starting remote tunnels (#185701)
* untested wip

* cli: fix error starting remote tunnels

Fixes #185585

Output was prefixed which prevented the lines from being split to detect the tunnel status.
2023-06-20 14:30:07 -07:00
Robo 4dac9b530d
chore: bump electron@22.3.13 (#185687)
* chore: bump electron@22.3.13

* chore: bump distro
2023-06-20 18:55:16 +02:00
isidor 6af591662a remove workbench/contrib/experiments 2023-06-20 14:36:56 +02:00