Commit Graph

5006 Commits

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