Commit Graph

5928 Commits

Author SHA1 Message Date
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