Commit Graph

754 Commits

Author SHA1 Message Date
Tyler James Leonhardt
8f88009816 Initial support for language detection (#128708)
* initial language detection

* add configuration and extra event on UntitedTextEditorService

* check isWeb, use beter mode API, include model in unpacked

* typo in path
2021-07-16 16:43:23 -07:00
João Moreno
bb5e8374d9 💄 2021-07-16 13:06:51 +02:00
João Moreno
8df547fef3 Merge branch 'main' into pr/117713 2021-07-16 13:03:08 +02:00
Johannes Rieken
ce17560387 fix missing nls entry 2021-07-15 14:51:56 +02:00
Martin Aeschlimann
7ded90e452 Merge branch 'main' into joh/webpack5 2021-07-09 09:50:10 +02:00
Matt Bierner
0762d23ae7 Build VS Code using TS 4.4 (#127823)
* Build VS Code using TS 4.4

* Remove usages of deprecated `ClientRectList`

* Add any casts for missing `caretRangeFromPoint`

* Add temporary any casts for `zoom` css propery

This non-standard css property no longer exists in lib.dom.d.ts

* MouseWheelEvent -> WheelEvent

* Pick up new TS nightly

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2021-07-08 14:27:39 -07:00
Johannes Rieken
a3e07245ee Revert "Revert "Merge pull request #127874 from microsoft/joh/webpack5""
This reverts commit c5f12c7226.
2021-07-08 10:28:33 +02:00
Johannes Rieken
c5f12c7226 Revert "Merge pull request #127874 from microsoft/joh/webpack5"
This reverts commit 1f5b688e9c, reversing
changes made to 6efcb92e34.
2021-07-07 18:04:11 +02:00
Johannes Rieken
6b5129650b adopt webpack stream changes 2021-07-02 16:34:51 +02:00
Johannes Rieken
413b9019a6 configure esbuild with esnext. means no harm since TS already compiles with lower es2020, https://github.com/microsoft/vscode/issues/121144 2021-06-25 16:31:44 +02:00
Robo
92999c339e fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Sandeep Somavarapu
c80fba9f9a clean up 2021-06-22 16:58:33 +02:00
Dirk Bäumer
04c80c94e0 Merge pull request #126462 from microsoft/dbaeumer/126408
Support changes in vscode-nls-dev that allow hint comments in package.nls.json
2021-06-21 10:49:50 +02:00
Dirk Baeumer
9c3a109adf Fixes #126408: Support changes in vscode-nls-dev that allow hint comments in package.nls.json 2021-06-16 11:53:10 +02:00
rebornix
0cfaaa7dad Slim notebook contributions for interactive window 2021-06-15 22:40:04 -07:00
Connor Peet
4355270543 fix: use inline sourcemaps in watch task 2021-06-11 14:20:48 -07:00
dependabot[bot]
48bcb4a831 Bump glob-parent from 5.1.1 to 5.1.2 in /build/lib/watch (#125832)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 04:38:40 -07:00
Matt Bierner
97b5db8dba 'vs code' -> 'the editor' in d.ts
Fixes #124361

Also adds a lint rule for this
2021-06-08 11:35:42 -07:00
Matt Bierner
34f0fcaf52 Rename notebook-markdown-extension to markdown-math
This makes it more clear what this extension is contributing
2021-06-08 09:58:54 -07:00
Matt Bierner
298668ec72 Fix build build 2021-06-07 15:36:24 -07:00
Tyler James Leonhardt
f73f263c6b Needed localization changes for converting xlfs to json (#125442)
* loc extension update changes

* log

* maybe this

* loggin

* use debug

* add language id

* log

* misc updates
2021-06-03 13:44:30 -07:00
Benjamin Pasero
20df87725d fix build again 2021-06-03 07:48:46 +02:00
Benjamin Pasero
15aca96cd5 build - unblock lauching 2021-06-03 07:21:15 +02:00
Tyler Leonhardt
c324c61ad5 add closing tags 2021-06-02 09:25:46 -07:00
Dirk Baeumer
7051f7db88 Sort content of XLF files 2021-06-02 12:55:32 +02:00
Dirk Baeumer
1e57955c79 Remove handling of Default inno setup file 2021-05-31 15:22:01 +02:00
João Moreno
d0d80ec337 fix build 2021-05-27 11:50:04 +02:00
João Moreno
d777991656 move buildExtensionMedia to lib 2021-05-26 20:38:28 +02:00
João Moreno
62e8b545f7 missing build 2021-05-26 20:38:28 +02:00
João Moreno
9cba86888c update node version in optimize 2021-05-26 13:32:50 +02:00
João Moreno
0a7a69f190 fix build compilation 2021-05-26 13:30:43 +02:00
isidor
6101771809 #118731 2021-04-20 16:02:07 +02:00
Benjamin Pasero
acb172752a backups - move tracker and restorer out of contrib into service 2021-04-09 14:13:46 +02:00
Benjamin Pasero
04b6291eed build - push missing compile artifacts 2021-04-07 08:00:38 +02:00
Logan Ramos
d5a670eaeb Switch to deepStrictEqual part of #118667 2021-03-30 12:05:06 -04:00
Benjamin Pasero
19f6f31036 💄 remove extra comment slashes 2021-03-29 11:31:53 +02:00
Tanner Bennett
772f41ff66 Provide more specific file type descriptions
Make use of the changes in the previous commit
2021-03-22 12:01:46 -05:00
Tanner Bennett
f1dd6de4e8 Add darwinBundleDocumentTypes
Split darwinBundleDocumentType into two separate functions. The first function is unchanged.

The second function allows you to specify specific names for different groups of extensions while all sharing the same icon. For example, this would allow you to differentiate between a C header and a C source file while using the same icon for both.

Inherently, the second function will generate multiple file type declarations, so it returns an array instead of a single object. As a result we must use the splat operator on it when passing the result to an array literal.
2021-03-22 12:01:46 -05:00
Tanner Bennett
6182ab92ce Refactor darwinBundleDocumentType
Allow the caller to provide a specific file type description.

The new function will not require source changes to existing calls, but will change how the file type description is generated. An unmodified call to darwinBundleDocumentType will use the given icon name as the file type description. All extensions passed to this function continue to use the same icon as before, and all extensions will have the same file type description as before.
2021-03-22 12:01:46 -05:00
Tanner Bennett
35c20b240c Make darwinBundleDocumentType accept a darwin icon
With this change, to define a document type, you need only pass the name (or relative path) of the darwin icon.

So instead of passing 'resources/darwin/css.icns' you would just pass 'css'
2021-03-22 12:01:46 -05:00
Benjamin Pasero
8f1b7a36de sandbox - allow to reuse environment service in sandbox 2021-03-15 11:27:31 +01:00
Dirk Baeumer
2022aede92 Return early on promise reject. 2021-03-02 14:55:43 +01:00
Dirk Baeumer
ed1118b27b Support empty messages during location import 2021-03-02 14:46:59 +01:00
Benjamin Pasero
00cb6865ab keyboard - document my contextkeys 2021-02-22 08:09:03 +01:00
Ladislau Szomoru
2b230e4b26 Azure DevOps build task to download built-in extension details (#116938) 2021-02-19 18:10:40 +01:00
Logan Ramos
6dad35394f Update copyright year 2021-02-17 17:02:21 -05:00
SteVen Batten
afd102cbd2 Trusted Workspaces Feature Branch Merge (#115961)
* draft trusted workspace service / model

* renaming

* add request model and action

* err fix

* add request handlers with mock actions

* some quick fixes

* adding badge icon to activity bar gear

* Add Statusbar item to indicate trust

* Cleanup code

* Add background color

* Use theme color for the status background color

* adding basic editing experience

* observe trust with startup tasks

* Extension enablement

* Add capability to provide a custom message

* Remove old actions

* explorer: if you can not undo, pass undo to editor

fixes #111630

* Remove plug icon from ports view
Part of https://github.com/microsoft/vscode-internalbacklog/issues/1689

* Fixed compilation error

* Handle extension uninstall

* Handle extension install

* Ability to prompt when state is untrusted

* Do not change state is the modal dialog is dismissed or the Cancel button is pressed

* Refactored enablement code

* Prompt when installing from VSIX

* Prompt when installing from the Gallery

* Move file into the browser folder

* fixes and polish

* restructure workspace contributions

* restructure actions and use confirmations

* Initial draft of the proposed APIs

* Added stubs for the proposed api

* Trusted Workspace proposed API

* Fix a regression introduced by merge

* status bar indicator improvements

* remove helper command as we now have hooks

* verbose messaging for the immediate request

* add indication to global activity icon of pending request

* try personal title

* Add configuration setting

* Add additional extension actions

* Fix contributions

* Removed context key that is not needed

* Fixed issue with the dialog

* Reduce arbitrary event limiter from 16ms down to 4.16666 (support for monitors up-to 240hz) #107016

* Fixes #115221: update emoji tests

* Give a higher priority to language configuration set via API call (#114684)

* debug console menu action polish

* Avoid the CSS general sibling combinator ~ for perf reasons

* more notebook todos

* Use label as tooltip fallback properly
Part of #115337

* Fixes microsoft/monaco-editor#2329: Move `registerThemingParticipant` call to `/editor/`

* Fix port label not always getting set
Part of microsoft/vscode-remote-release#4364

* simplify map creation, fyi @bpasero

* Fix #114432: Multiple save dialogs appearing on Windows if Ctrl+S is pressed multiple times (#114450)

* fix multiple save dialogs appearing on Windows when spamming Ctrl+S

* remove old fix and instead keep track of windows with open dialogs in the dialogMainService

* keep initialisation of activeWindowDialogs in constructor

* remove unused variable

* some changes

* queue dialogs based on hash of options

* simplify structure, fix comment typo

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* remove unnecessary async/await for aquireFileDialogLock method

* don't acquire file dialog lock for message boxes

* use MessageBoxReturnValue | SaveDialogReturnValue | OpenDialogReturnValue instead of any type for getWindowDialogQueue

* Apply suggestions from code review

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>

* 💄 dialog main service locks

* debt - adopt some ? operator

* Better hiding of custom hover in icon label

* Limit to 8ms (120fps)

* more API todos for notebooks

* 💄

* Update grammars

* chore - group notebook specific api proposals together

* added unreleased fixes to endgame notebook

* Add changes back to the modal dialog

* Add back the workspace trust proposed APIs

* Adjust dialog buttons

* Standardize on WorkspaceTrust name across interfaces, classes, variables

* Renamed some of the missing keys

* Add TestWorkspaceTrust stub and fix failing tests

* Add requiresWorkspaceTrust property to fix test failure

* remove notebook change

Co-authored-by: Ladislau Szomoru <lszomoru@microsoft.com>
Co-authored-by: isidor <inikolic@microsoft.com>
Co-authored-by: Alex Ross <alros@microsoft.com>
Co-authored-by: TacticalDan <gorksorf@gmail.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: Cameron <cameron532@gmail.com>
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2021-02-06 00:38:32 -08:00
Benjamin Pasero
384ef20251 🆙 vscode-gulp-watch (fixes high CPU on Apple SI) 2021-01-29 10:31:22 +01:00
Robo
f73c011ae3 fix: disable rosetta option for universal build (#115280) 2021-01-27 20:34:19 -08:00
Martin Aeschlimann
e4f1833d79 Use x64 node for darwin-arm64. Fixes #115009 2021-01-27 16:49:16 +01:00