Commit graph

726 commits

Author SHA1 Message Date
Alex Dima 7a322c44db
Try to fix the build 2020-11-11 08:01:21 +01:00
Sandeep Somavarapu 294406d7a1 Fix #110121 2020-11-09 15:39:13 +01:00
Johannes Rieken 1bd7cf9e41 use gh username for todo-tags, nuke some todo-tags 2020-11-02 14:16:55 +01:00
Martin Aeschlimann a2a0fe56a0 Error: base must be a non-empty string, or null/undefined. 2020-10-26 20:22:34 +01:00
Martin Aeschlimann 975408db6b use uploaded node_modules sourcemaps 2020-10-26 16:19:44 +01:00
Martin Aeschlimann afb0e96b66 build: improve ignores in node_modules 2020-10-25 23:27:20 +01:00
Benjamin Pasero 14cd152991 Offer to open workspace in root even when telemetry has been disabled (fix #108669) 2020-10-21 16:20:33 +02:00
Benjamin Pasero 50ee84f780 debt - btoa/atob is not core 2020-10-15 13:55:18 +02:00
Benjamin Pasero ded9067afa build - fix warnings in TS files
//cc @joaomoreno
2020-10-13 10:48:40 +02:00
Johannes Rieken bb383f2875 support "@types" in treeshaker 2020-10-06 10:12:47 +02:00
Alex Dima dd6bd3ae6a
Reduce the number of folders where we use TS 2020-09-24 17:39:48 +02:00
Alex Dima 57f4c1bf74
Convert build/lib/watch/ to .ts 2020-09-24 17:24:24 +02:00
Alex Dima 2ab5b8bd5f
Convert build/lib/eslint/code-no-unused-expressions.js to .ts 2020-09-24 17:10:39 +02:00
Alex Dima 9f806960d4
Convert build/lib/builtInExtensions.js to .ts 2020-09-24 17:00:44 +02:00
João Moreno 2469bf6832
remove build compilation output 2020-09-22 11:12:55 +02:00
Benjamin Pasero 01472963d7 sandbox - rename electron service => native host service 2020-09-17 16:20:23 +02:00
Benjamin Pasero 82d30d49b2 sandbox - add electron service to layers checker 2020-09-17 15:43:15 +02:00
Johannes Rieken afbaf2cfea missing compile 2020-09-17 14:36:10 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Matt Bierner 51dc3193d3 Move webview editor into own module
This splits the core `webview` element services from the `webview` editor services.
2020-09-14 16:08:29 -07:00
João Moreno e75b1a6dcd
Merge branch 'joao/linux-arm' 2020-09-11 12:45:08 +02:00
Matt Bierner c348165cc0 Adding more explicit typings for promises
This gets us ready for TS 4.1
2020-09-09 09:21:56 -07:00
João Moreno 6ca91db00a
Merge remote-tracking branch 'origin/master' into joao/linux-arm 2020-09-09 08:53:49 +02:00
João Moreno 47d8a25606
build vscode armhf 2020-09-08 09:41:28 +02:00
João Moreno d93e07f5d4
Merge pull request #104339 from amazingcaio/master
associate *.c++ & *.h++ files with c++
2020-09-07 15:05:20 +02:00
Benjamin Pasero 3da939d1d7 Merge branch 'master' into ben/sandbox-environment 2020-09-04 10:45:13 +02:00
Benjamin Pasero b2acd8fa72 sandbox - make layers checker fit to complain about native things definedin common layer 2020-09-04 10:32:00 +02:00
Alex Dima 7396cb1990
Have the Toggle Keyboard Shortcuts Troubleshooting action open the renderer log 2020-09-03 22:46:37 +02:00
Alex Dima 61327846c6
Adopt latest asar 2020-09-02 22:33:15 +02:00
Martin Aeschlimann 1cf826c7f6
Merge branch 'master' into master 2020-08-31 13:32:36 -07:00
Benjamin Pasero 4491427ac7 web - move playground out of sources
We will consume the playground from https://github.com/microsoft/vscode-web-playground going forward.
2020-08-18 09:18:23 +02:00
Caio c45e05e4a6 treat *.c++ and *.h++ files as c++ on macos 2020-08-17 21:40:18 -03:00
Robo e4296330de chore: update to electron 9-x-y (#102011)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-08-11 11:30:23 -07:00
Alex Dima cdde5c3bb1
Also download webBuiltInExtensions when running from source 2020-08-06 21:09:24 +02:00
Alex Dima edf34c7cbc
Allow passing in an exclude list to scanBuiltinExtensions 2020-08-03 23:22:39 +02:00
Alex Dima 49fd2b4f97
Do not inline vscode-web-playground (even if it is packaged) 2020-08-03 21:08:00 +02:00
Alex Dima 34005e2a48
Avoid NPE 2020-08-03 20:24:40 +02:00
João Moreno 2954ffb2fd
build 2020-08-03 16:54:56 +02:00
João Moreno 05bdb6a975
split web extensions 2020-08-03 16:53:08 +02:00
Connor Peet 4d432f80da
launch: fix build script 2020-07-31 11:39:48 -07:00
Connor Peet 262ab802d3
launch: check prerequisites in a pre-launch task
Fixes https://github.com/microsoft/vscode/issues/103708
2020-07-31 10:55:07 -07:00
Eric Amodio c9a2f78283 Adds protection if the folder doesn't exist 2020-07-31 00:38:48 -04:00
Robo 227d533937
Revert "chore: update to electron 9-x-y (#102011)" (#103599)
This reverts commit 3d0d50caf8.
2020-07-30 08:35:43 -07:00
Alex Dima bb09bae007
check in missing compiled file 2020-07-30 11:40:59 +02:00
Eric Amodio ea63321bc6 Removes internal gh browser & adds external 2020-07-29 23:49:17 -04:00
Matt Bierner 17a691882e Check in built file 2020-07-29 15:00:58 -07:00
Matt Bierner bdd3721849 Add custom editor test extension
Adds a simple set of tests for custom editors in a new extension. This is currently not run during CI since we want more testing to make sure it is reliable
2020-07-29 14:05:44 -07:00
Alex Dima 3584cd9325
Builtin extensions: also inline the package.nls.json contents 2020-07-29 11:32:18 +02:00
Alex Dima 9198116ded
Add IOptimizeTaskOpts.fileContentMapper 2020-07-28 17:40:06 +02:00
Alex Dima 547c1c2c61
Add web extensions filder in scanBuiltinExtensions 2020-07-27 14:23:10 +02:00
Alex Dima c3ed1c89cb
Fix problem with missing vscode-web-playground 2020-07-27 14:23:10 +02:00
Alex Dima 5ba8591765
Align build scripts 2020-07-27 13:18:17 +02:00
Alex Dima d42e9162b9
Remove some extension package.json patching 2020-07-24 14:38:10 +02:00
Alex Dima 750baf0af6
Minify extension resources 2020-07-24 13:57:51 +02:00
Robo 3d0d50caf8
chore: update to electron 9-x-y (#102011)
* chore: bump electron@9.0.5

* remove exploration config

* fix compile error

* fix compile error

* crashReporter has to be called only once before app ready

* chore: bump electron@9.1.0

* enable LayoutNG

* fix cron schedule

* allow disabling appcenter crash reporting

* set additional crash reporting parameters

* start crashreporter for child process on linux

* setup crash parameters only once

* remove unused crashReporter.guid

* address review feedback

* reuse argv.json for storing crash reporter id

* remove trailing commas

* update localized name

* update argv based on telemetry optout

* update initial config based on setting

* fix conditional errors

* remove telemetry.enableCrashReporter

* move default crash reporter config to electron-main

* update comment for ext host crash reporting

* set default value for configuration

* some 💄 changes

* address review feedback

* do not use ES7 features in JS yet

* add app.focus({ steal: true }) usage

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-07-21 09:39:34 +02:00
João Moreno 0ff864739b Merge branch 'joao/innosetup6' 2020-07-08 17:17:38 +02:00
João Moreno 8c8db45d5a fix i18n 2020-07-08 16:17:14 +02:00
Alex Dima bb95f3aa40
Adopt loader's amdModulesPattern option 2020-07-07 23:30:27 +02:00
Johannes Rieken 26c6cd5c40 check for totalmem before starting compiling 2020-07-03 09:56:04 +02:00
Martin Aeschlimann c99fe71f85 web: bring back temporary workaround for package.nls 2020-06-29 21:44:42 +02:00
João Moreno 2e0445d5ab
missing compilation cc @sandy081 2020-06-23 15:59:02 +02:00
Sandeep Somavarapu 63e4a9c059 fix typo 2020-06-23 14:27:20 +02:00
Matt Bierner c5e1438a6e Don't report literal errors on null 2020-06-22 15:43:13 -07:00
Sandeep Somavarapu f2a654c782 fix build - add contrib/views to i18n. @alexr00 FYI 2020-06-22 19:18:02 +02:00
Alex Dima 5e6729d9bd
commit generated files 2020-06-22 18:17:04 +02:00
Sandeep Somavarapu f199d5321e check if package json exists 2020-06-22 17:09:02 +02:00
Sandeep Somavarapu 7bfb55ece5 scan builtin extensions 2020-06-22 15:38:07 +02:00
Fedor Nezhivoi 24e0a82229
Move encoding to common for #79275 (#100539)
* move encoding.ts to common for #79275

* load iconv-lite-umd and jschardet in web version for #79275

* move EncodingOracle to the AbstractTextFileService for #79275

* review

* update to new iconv-lite-umd

* add workaround for jschardet types

* fix indentation

* add iconv-lite-umd and jschardet to workbench.html

* fix paths for modules

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-20 10:47:29 +02:00
Fedor Nezhivoi 314b58c8e1
switch to use iconv-lite-umd for #79275 (#100472)
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-18 16:08:17 +02:00
Martin Aeschlimann 1136e2282c marketplace extensions need browser and uiKind 2020-06-16 14:15:15 +02:00
Martin Aeschlimann 5a571dd2e9 marketplace web extensions build 2020-06-16 00:05:44 +02:00
Matt Bierner b3fb87f556
Build VS Code using TS 4.0 (#100033)
* Build VS Code using TS 4.0

Also updates to an eslint alpha build that supports the new TS version

* Fix  hygiene
2020-06-12 14:28:08 -07:00
Benjamin Pasero 61c8144361 fix compile leftover 2020-06-12 10:04:05 +02:00
João Moreno a780a45757
fix unnecessary regex 2020-06-11 17:32:55 +02:00
Martin Aeschlimann 6bcf827d48 package.json filter fix for build/lib/extensions 2020-06-11 10:18:39 +02:00
Martin Aeschlimann 9de8a85408 extensions in web build 2020-06-11 10:18:11 +02:00
Matt Bierner 8ca456495d Revert 5865db6ca8
We are blocked on using TS 4.0 until eslint supports it
2020-06-05 13:57:42 -07:00
Matt Bierner 5865db6ca8 Update to build using TS 4.0-nightly 2020-06-05 13:21:22 -07:00
João Moreno 3de76f6b2c
missing compilation 2020-05-27 15:27:42 +02:00
Rick van Galen 571b747c28
Containerfile support (#93184)
* Apply Dockerfile highlighting to Containerfile

* Recognize Containerfile in Search Editor highlighting

* Register opening Containerfile files on macOS

* Register opening Containerfile files on Windows
2020-05-27 14:47:27 +02:00
Benjamin Pasero 3514e96bf5 sandbox - add rules for new electron-sandbox layer 2020-05-22 12:21:25 +02:00
Robo d5372eb159
Reland "fix: use electron-osx-sign instead of manual code signing (#97582)" (#98145)
This reverts commit f291767f09.
2020-05-20 10:06:15 +02:00
deepak1556 f291767f09 Revert "fix: use electron-osx-sign instead of manual code signing (#97582)"
This reverts commit a1ddfae782.
2020-05-19 00:49:44 -07:00
João Moreno a1ddfae782
fix: use electron-osx-sign instead of manual code signing (#97582)
* fix: use electron-osx-sign instead of manual code signing

* build/gulpfile.vscode.darwin.js -> build/darwin/sign.ts

* fix script call in pipeline

* fix incorrect keychain path

* fix update path to entitlements

* sign children first

* move electron-osx-sign deps to build/

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-05-18 08:43:30 -07:00
Sandeep Somavarapu 82a11a68d5 add views to localization resources 2020-05-18 08:40:31 +02:00
João Moreno 92cf6f4cfd Merge branch 'master' into pr/97266 2020-05-12 11:32:21 +02:00
Ladislau Szomoru d357d0283e Add setting to control the sash size 2020-05-08 16:59:25 +02:00
Alex Dima 4578463f90
Do not tree shake interfaces or classes that extend or inherit from symbols defined in the default library 2020-05-08 14:41:03 +02:00
Johannes Rieken fef9b12da1 fix tree shaker fyi @alexdima 2020-05-06 09:28:32 +02:00
Alex Dima 8032df1228
Do not create a sourcemap for loader.js 2020-04-25 15:33:03 +02:00
rebornix b9eafe5f66 intergration tests. 2020-04-23 11:55:23 -07:00
Matt Bierner 5426f5ff70 Add CustomDocumentContentChangeEvent
For #77131

- Rename `onDidEdit` to `onDidChange`
- Allow custom editors to fire a `CustomDocumentContentChangeEvent` that only marks the editor as dirty but does not enable undo/redo. The only way for editor to get out of this dirty state is to either save or revert the file
2020-04-16 17:40:20 -07:00
João Moreno 54442c1c7b move built-in extensions to product.json 2020-04-06 13:36:07 +02:00
João Moreno 0074066c39 Revert "extensions: allow built-in extensions on different qualities (#89199)"
This reverts commit 7ad58a9bd7.
2020-04-06 12:49:47 +02:00
João Moreno 1ef5d986de upgrade dependencies in build 2020-04-03 07:49:06 +02:00
Matt Bierner 273a4a389d
Convert most ts-ignore-calls to ts-expect-error (#93617)
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments

This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Alex Dima cc46bf5cfd
Remove registerAndGetAmdImageURL and support for it in the build scripts 2020-03-27 19:45:41 +01:00
Benjamin Pasero 3364686d79 quick access - remove actionbar contributor that is no longer needed 2020-03-26 12:11:47 +01:00
Benjamin Pasero df958c974f web - remove "Open in Desktop"
Instead it should move into the new remote picker that is enabled for web.
2020-03-25 08:21:45 +01:00
Rachel Macfarlane 2b86488f03 Add account context menu, #90385 2020-03-20 09:51:35 -07:00