Commit graph

115 commits

Author SHA1 Message Date
Gleisson Ricardo @mattos 799794ecef main code review (#68245) 2019-02-11 08:15:24 +01:00
Alexandru Dima a3099a85bc
Merge pull request #67947 from Microsoft/alex/gulp4
Upgrade to gulp4
2019-02-07 11:43:01 +01:00
Benjamin Pasero bfa8c3d00b debt - properly disable-color-correct-rendering 2019-02-07 09:13:07 +01:00
Alex Dima f9da04c392 Fix eslint errors 2019-02-05 23:39:23 +01:00
Benjamin Pasero b3e5d256a2 electron 3.0.x: remove window.smoothScrollingWorkaround setting 2019-01-25 17:19:21 +01:00
Johannes Rieken 3a859bd13e perf - add marks for loading the main-process bundle 2019-01-24 11:30:32 -08:00
Johannes Rieken 59d2055502 use createCachedData when possible 2019-01-17 12:00:26 -08:00
Dirk Baeumer b410581538 Fixes #66548: Avoid double async-calls 2019-01-16 11:45:10 +01:00
Rob Lourens ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Benjamin Pasero 3e78e05f79 electron 3.0.x - --no-untrusted-code-mitigations does not seem to do anything 2018-12-19 19:24:45 +01:00
Benjamin Pasero 8e169b600b electron 3.0.x: use the --no-untrusted-code-mitigations flag
Since Electron 3 we use a V8 version that comes with untrusted code mitigations enabled by default (https://v8.dev/docs/untrusted-code-mitigations). This comes at a performance cost according to the blog. Since we do not execute untrusted code, we disable these mitigations.
2018-12-17 17:44:53 +01:00
Benjamin Pasero 0bcf5cff8a
Update to Electron 3.0.10 (#56149)
* update to 3.0.0-beta.3

* update d.ts files; rename NodeBuffer => Buffer

* update to 3.0.0-beta.4

* undo invalid change

* remove some Electron 2.0.x specific workarounds

* pinch zoom is now disabled by default

* update vscode-nsfw

* change vscode-nsfw

* update smoke test electron version

* streams: use destroy() over close()

* workaround broken tests

* bump distro and OSS

* try to bump node version for build

* update macOS build to use node.js 10.8.0

* fix extension tests

* use node.js 10.2.1 for all builds

* remove nsfw from dev dependencies

* back to node 8.x for build

* Revert "back to node 8.x for build"

This reverts commit 90ea2b7af2.

* update distro

* disable test run on macOS prod build for now

* bump distro

* ensure proper nsfw dep

* fix more native dependencies

* temp disable failing test

* fix packages

* update deps

* fix deps

* update deps

* enable macOS unit tests again

* fix deprecated buffer use

* Electron 3.0.0.beta.5

* bump deps

* fix tree accidentally treating auxclick as click

* improve overlay cleanup scheduler (fixes flicker seen with Electron 3.0.x)

* update distro

* remove obsolete disableBlinkFeatures: 'Auxclick'

* update to Electron 3.0 beta 6

* fix compile

* workaround #56994

* do not use backgroundColor to find shared process (causes flicker)

* fix flicker on windows from shared process background color

* webview - bubble up keyboard events (workaround for #56988)

* bump electron to 3.0.0-beta.8

* webview - fix deprecation

* webview - fix another deprecation

* debt - handle SIGPIPE on more processes

* workaround more webview focus issues (for #56988)

* webview - use proper way to focus()

* debt - avoid window-focus/blur and use native focus events instead

* webview - restore previous focus method

* webview - improve focus tracking (do not rely on DOM events)

* bump to electron 3.0.0-beta.9

* update deps

* update electron@3.0.0-beta.10

* webview - do not rely on DOM focus for certain commands (for #56988)

* update to electron@3.0.0-beta.11

* electron@3.0.0-beta.12

* update to beta 13

* update to electron 3.0.0

* update to Electron 3.0.1

* electron@3.0.2

* revert build changes (node.js version)

* try with: enable mojave dark mode support

* fix types

* electron 3.0.3

* electron@3.0.4

* fix deps

* bump electron@3.0.6

* bump electron@3.0.9

* fix strict null issue

* reset format

* bump electron@3.0.10

* fix strict null issue

* webview - print error when revive fails

* electron 3.0.x - try to fix keybindings in webviews (#64417)

* bump @types/node => ^10.12.12

* 💄

* update distro
2018-12-10 12:54:38 +01:00
Benjamin Pasero d38c5b86ce
storage - enable global storage, disable workspace storage migration (#64719) 2018-12-10 12:30:55 +01:00
Benjamin Pasero b9e55b7047 storage - put migration behind flag 2018-11-30 17:16:02 +01:00
Benjamin Pasero 5f6573f109 storage - better check for migration 2018-11-30 16:45:53 +01:00
Benjamin Pasero b638c6bdea storage - add global storage migration 2018-11-30 14:35:05 +01:00
HYEWON HWANG c5c0d68c16 Fix typo in comments 2018-11-02 11:26:25 -07:00
Joshua 21816902db Fixed typo in comment (#61909) 2018-10-26 16:47:50 -07:00
Rob Lourens 49ba5a4b9c Fix #60203 - VSCODE_NODE_CACHED_DATA_DIR can be inherited from the DA process. If --no-cached-data is passed, that var should be cleared 2018-10-18 08:59:20 -07:00
Johannes Rieken 0c2388a008 perf - simplify cached data env var (enabled cached data for the extension host) 2018-10-02 12:14:02 +02:00
Benjamin Pasero 93d2f24394 fix #59018 2018-09-20 09:16:47 +02:00
Benjamin Pasero 1e98303d91 bootstrap - move workbench.js to electron-code 2018-09-10 07:48:52 +02:00
Benjamin Pasero f3b191ab38 @ts-check for bootstrap JS files 2018-09-07 16:05:28 +02:00
Benjamin Pasero 1c92139469 fix ASAR bootstrap issue 2018-09-07 14:49:26 +02:00
Benjamin Pasero a4bf919e59
Cleanup bootstrap files (#58171)
* bootstrap  - first cut

* bootstrap => bootstrap-fork, bootstrap-shared => bootstrap

* bootstrap - extract uriFromPath()

* bootstrap - extract readfile/writefile

* bootstrap - share more code when loading renderers

* boostrap-electron-browser => bootstrap-window

* bootstrap - cleanup main.js

* bootstrap - handle index.js

* bootstrap 💄
2018-09-07 12:23:09 +02:00
Dirk Baeumer 4d49248401 Mark the VSCODE_NLS_CONFIG to have language pack support 2018-08-27 15:55:35 +02:00
Dirk Baeumer 56220afb7d Fixes #54819: Support English locales like en-gb, en-au 2018-08-13 15:26:36 +02:00
Benjamin Pasero 7ce26a4a24
Electron 2.0.7 (#56256)
* update to Electron 2.0.7

* disable ColorCorrectRendering (for #51791)
2018-08-13 13:31:52 +02:00
Johannes Rieken 4944cc2847 debt - remove last usages of globals and any-casts when it comes to perf marks 2018-08-13 13:03:35 +02:00
Daniel Imms 5dc414cbc9 Revert "Merge pull request #54854 from Microsoft/revert-52782-electron-2.0.x"
This reverts commit 90fc7e66e2, reversing
changes made to 3b25417fa2.
2018-07-23 07:34:16 -07:00
Sandeep Somavarapu 1dc23e548e
Revert "Update to Electron 2.0.x" 2018-07-23 10:58:49 +02:00
Benjamin Pasero 50f90e4275 Merge branch 'master' into electron-2.0.x 2018-07-09 17:40:32 +02:00
Benjamin Pasero 1741b575a0 update comment 2018-07-09 17:38:15 +02:00
Joao Moreno efba880587 remove app.getPath('userData') calls
fixes #53706
2018-07-09 15:04:03 +02:00
Dirk Baeumer 3c0abb8d8a Add support to regenerate nsl cache if corrupted. 2018-07-03 12:13:30 +02:00
Benjamin Pasero 59c29b42db Merge branch 'master' into electron-2.0.x 2018-06-29 14:53:43 +02:00
Joao Moreno e087b31199 use data folder for win32 and linux portable mode
fixes #53108
2018-06-27 15:27:32 +02:00
Benjamin Pasero 9459d2aae0 Update to Electron 2.0.x 2018-06-25 09:32:06 +02:00
Benjamin Pasero e47a9c9eef revert electron 2.0.x update 2018-06-25 09:28:34 +02:00
Johannes Rieken 7a42b91d1f make sure jsflags are send asap #52581 2018-06-21 16:03:44 +02:00
Johannes Rieken f5c83d60d9 fix main.js/mkdir #52581 2018-06-21 13:02:06 +02:00
Dirk Baeumer 04cc5794d1 Fixes #51982: Platform.locale doesn't always point to the requested locale as speced. 2018-06-19 10:44:55 +02:00
Joao Moreno e43ab4e4c4 portable mode 2018-06-18 20:04:03 +02:00
Joao Moreno 76f39b2ed1 remove console.log 2018-06-18 20:02:02 +02:00
Benjamin Pasero 2f9f501a3b electron 2.0.x: force srgb color profile 2018-06-18 14:41:31 +02:00
Joao Moreno 3d43c10398 portable: check folder 2018-06-18 10:09:50 +02:00
Joao Moreno 7c8a164902 product.portableTemp 2018-06-14 12:05:39 +02:00
Joao Moreno bd799550fe portable mode 2018-06-13 17:13:55 +02:00
Joao Moreno d631cb8076 main.js cleanup 2018-06-13 15:53:26 +02:00
Benjamin Pasero e7d29e9ccc
Electron v2.0.0 (#48290)
* Update to Electron 2.0-beta.7

* back to exploration build

* fix compile errors

* workaround build issue (go back to 1.24.0)

* bump to 1.25.0

* use electron 2.0.2

* revert custom distro
2018-06-08 18:32:49 +02:00