Commit graph

100965 commits

Author SHA1 Message Date
Connor Peet 07453efc00
cli: implement better self-updating
- Start separating a "standalone" CLI. This is a little awkward with clap-
  derive, but I got it working. Detection of whether the CLI _is_
  standalone is still todo.
- Remove the old ad-hoc update code for code-server, and use the update
  service instead.
- Fix some of the "permission denied" errors people got while updating
  before. We need to rename the old running binary, not just overwrite it.
2022-09-23 17:47:39 -07:00
Connor Peet a9bcb15b75
cli: run ci on pr 2022-09-23 14:31:37 -07:00
Connor Peet b784bcdd32
cli: use hard tabs to align with vscode style 2022-09-23 14:17:01 -07:00
Connor Peet 665eb030a6
Merge remote-tracking branch 'origin/main' into build-integrated-cli 2022-09-23 13:33:35 -07:00
Connor Peet 9bcc88eafe
cli: get builds in order 2022-09-23 13:28:26 -07:00
Andrea Mah 223e24c9ef
Tree Element Not Found error in search tree (#161626)
Fixes #161617
2022-09-23 13:08:49 -07:00
Daniel Imms af23c12208
Merge pull request #161592 from microsoft/tyriar/fix_eslint
Fix eslint warning by removing unused getter
2022-09-23 13:07:26 -07:00
Daniel Imms 0512d4c319
Merge pull request #161597 from microsoft/tyriar/161593
Match quick fix on exit status instead of code
2022-09-23 13:04:45 -07:00
Matt Bierner 99912d138c
Allow video attributes on rendered markdown (#161631)
This adds:

- `loop`
- `muted`
- `poster`
- `playsinline`
- `controls`

To the list of allowed tags
2022-09-23 15:02:47 -04:00
Daniel Imms 7245303fb7
Merge pull request #161620 from microsoft/tyriar/lazy_find
Create terminal find widget lazily
2022-09-23 11:18:03 -07:00
Ping e42b88df06
Expose data-vscode-theme-id attribute in webviews, fix #149661 (#154635)
* Expose data-vscode-theme-id and data-vscode-theme-label in webviews, deprecate data-vscode-theme-name.

Fixes https://github.com/microsoft/vscode/issues/149661

* fix: remove useless id in test

* Use settingId and remove theme-label

Co-authored-by: Matt Bierner <matb@microsoft.com>
2022-09-23 11:00:10 -07:00
Matt Bierner f8f228db6c
Fix some potential causes of #161520 (#161550)
- initializeMarkup should always fire `initializedMarkup`, even if an exception is thrown while initializing

- `MarkupCell` should always resolve its `ready` property, even if an exception is thrown during rendering

Unclear if either of these were the causes of #161520, but still good to fix them
2022-09-23 10:58:49 -07:00
Benjamin Pasero 3b29b43074
web - only export types not interfaces (#161609)
* web - only export types not interfaces

* fix compile
2022-09-23 19:23:39 +02:00
Daniel Imms 430f212a16
Create terminal find widget lazily 2022-09-23 09:33:46 -07:00
Daniel Imms 52e10c381c
Adjust tests to work with exitStatus 2022-09-23 09:25:37 -07:00
Daniel Imms 06081f9346
Merge pull request #161615 from microsoft/tyriar/160914
Ensure terminal view is open before calling setVisible
2022-09-23 08:51:20 -07:00
Daniel Imms b12608a851
Merge pull request #161601 from microsoft/tyriar/xterm_idle_warmup
Update xterm
2022-09-23 08:35:03 -07:00
Daniel Imms 74939428f2
Ensure terminal view is open before calling setVisible
This is a speculative fix.

Fixes #160914
2022-09-23 08:32:21 -07:00
Sandeep Somavarapu 43676d69e0
keep syncing profile behind a settings flag (#161608) 2022-09-23 07:45:58 -07:00
João Moreno 2ed2705afc
fix #161239 (#161600) 2022-09-23 16:29:38 +02:00
Henning Dieterichs d7c5c6d230
Merge Editor: Alignment & code lens improvements (#161603)
* Merge Editor: Alignment & code lens improvements

* fixes CI
2022-09-23 07:00:20 -07:00
João Moreno 1f1bb68899
fixes #161528 (#161605) 2022-09-23 06:54:16 -07:00
Daniel Imms 6815c43e78
Update xterm
Main change is warm up of char atlas is performed on an idle frame
2022-09-23 06:15:23 -07:00
Daniel Imms 3c3556140e
Match quick fix on exit status instead of code
Fixes #161593
2022-09-23 05:57:53 -07:00
Daniel Imms 7872b085ca
Fix eslint warning by removing unused getter 2022-09-23 05:42:07 -07:00
Henning Dieterichs a6278ba688
Merge pull request #161589 from microsoft/revert-159997-main
Revert "Bracket support for #if and #endif in cpp"
2022-09-23 14:17:23 +02:00
Henning Dieterichs d7ad82454e
Revert "Bracket support for #if and #endif in cpp" 2022-09-23 13:59:23 +02:00
Johannes Rieken 4b3835a284
pin active editor when comparing with base (#161583)
fixes https://github.com/microsoft/vscode/issues/158958
2022-09-23 02:45:10 -07:00
Henning Dieterichs 377341351d
Merge pull request #161581 from microsoft/hediet/far-kite
Fixes #161572
2022-09-23 11:22:35 +02:00
Ladislau Szomoru 0fb9eb6904
Engingeering - Lazy initialization for ISCMService, ISCMViewService (#161578)
Lazy initialization for ISCMService, ISCMViewService
2022-09-23 02:17:46 -07:00
Johannes Rieken cb5cce6fe2
Merge pull request #161489 from microsoft/joh/ancient-pinniped
Action and menu service improvements
2022-09-23 11:10:09 +02:00
Sandeep Somavarapu 63cc650bc0
improve doc (#161575) 2022-09-23 02:10:03 -07:00
Henning Dieterichs f8096841e1
Fixes #161572 2022-09-23 10:54:21 +02:00
Sandeep Somavarapu 6d62e3b80b
fix showing profile icon (#161569) 2022-09-23 01:36:45 -07:00
Henning Dieterichs 300fb6564b
Adds hidden settings (#161568)
mergeEditor.showCheckboxes (default true) and
mergeEditor.showCodeLenses (default false)
2022-09-23 01:26:12 -07:00
Sandeep Somavarapu 2a49010c99
sync api to access extensions (#161519)
- sync api to access extensions
- enhance extensions change event to contain delta
- remove async getExtensions
- adopt all callers
2022-09-23 10:24:09 +02:00
Benjamin Pasero 6d7beb43a0
merge editor - address some issues around save / revert (#161557) 2022-09-23 09:54:20 +02:00
Alexandru Dima b9f7f85e90
Only do top/bottom drag scrolling when the mouse is outside the editor to the top (#161562)
Fixes #161485: Only do top/bottom drag scrolling when the mouse is outside the editor to the top
2022-09-23 00:48:39 -07:00
Sandeep Somavarapu a8cb6baddf
temporary profiles (#161553)
- fix short name
- do not support rename/delete
2022-09-22 23:34:24 -07:00
John Murray 39b6c3712a
Display warning banner when workspace lies within appRoot (#138815) (#161534)
* Display warning banner when workspace lies within appRoot (#138815)

* move code into window

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-09-22 23:05:33 -07:00
Peng Lyu 1f148906f1
Disable test for ContextualActionAddon (#161549) 2022-09-22 20:34:15 -07:00
Andrea Mah b7683eff09
Search Tree (#161022)
Basic Search Tree Implementation
2022-09-22 18:49:32 -07:00
Connor Peet c3ae579592
Merge pull request #161268 from microsoft/connor4312/import-cli
Initial import of code-tunnel code
2022-09-22 18:28:04 -07:00
Matt Bierner 2a4fb40a6e
Align list of supported tags in rendered markdown (#161544)
This expands the list of html tags we allow in markdown. To get this list, I've copied the list of tags from `markdownDocumentRenderer` into `dom` after  reviewing them

For #134514, I've also added `video` to the list of allowed tags
2022-09-22 18:25:48 -07:00
Matt Bierner 93836c720c
Rename codeActionMenu to codeActionWidget (#161540) 2022-09-22 16:42:12 -07:00
Matt Bierner 82c1bf86bf
Show better error when rename fails in md (#161525)
* Show better error when rename fails in md

* Pick up latest MDLanguage service
2022-09-22 16:27:25 -07:00
Matt Bierner e531b8e963
Fix undo redo stops when copy paste / drop creates a new file (#161536) 2022-09-22 15:59:37 -07:00
Peng Lyu 1122e6da43
Single primary kernel action should be executed automatically (#161535) 2022-09-22 15:54:35 -07:00
Matt Bierner 7d51f071f2
Add more clear message about webviews not being supported in non-secure contexts (#161531)
For #161292
2022-09-22 15:51:50 -07:00
Matt Bierner 53b8905c15
Reset visibility instead of explicitly making output elements visible (#161529)
Fixes #161443

Instead of explicitly marking elements as `visible`, which seems to cause them to show even if a parent is hidden, we should just clear  `visibility: hidden`
2022-09-22 15:46:42 -07:00