Commit Graph

262 Commits

Author SHA1 Message Date
Benjamin Pasero
8a652f9380 🚀 sandbox - enable by default and remove setting 🚀 (#181638)
* sandbox - enable by default and remove setting

* remove more

* set flags again

* fix lint

* more cleanup
2023-05-12 13:36:29 +02:00
Benjamin Pasero
2e671b3a29 UNC follow up changes (#181946)
* settings include update

* more cleanup
2023-05-09 22:02:51 +02:00
Benjamin Pasero
6d5b85427d debt - remove unsupported max_old_space_size option (#180183) 2023-04-17 22:32:23 -07:00
Benjamin Pasero
499fb52ae8 💄 (#179367) 2023-04-06 10:03:03 +02:00
meganrogge
2a4b9caed7 revert auto play change 2023-04-05 20:35:05 -07:00
meganrogge
a7aa527e0d fix issue 2023-04-05 10:27:30 -07:00
meganrogge
1759ad36d2 use unifiedAutoPlay 2023-04-05 07:59:48 -07:00
Megan Rogge
e1343af603 Update src/main.js
Co-authored-by: Robo <hop2deep@gmail.com>
2023-04-05 06:44:23 -07:00
Megan Rogge
86f41f836c Update src/main.js 2023-04-05 06:41:17 -07:00
meganrogge
7e7e039a51 add comment, move to better place 2023-04-05 06:37:24 -07:00
Megan Rogge
7c8858bdfb Update src/main.js 2023-04-04 19:40:48 -07:00
Megan Rogge
a7ccc4ebaf Update src/main.js 2023-04-04 19:40:37 -07:00
meganrogge
bf142b24f3 add to app directly 2023-04-04 19:39:42 -07:00
Robo
e5f61433b5 chore: update to Electron 22 (#177600)
* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* sandbox - cleanup from electron 22 update (#178919)

* Revert "chore: revert to Electron 19 (#175851)"

This reverts commit 3a11b47eee.

* chore: bump electron@22.3.3

* build: use custom version for V8 sandbox

* chore: update electron@22.4.1

* chore: enable forceAllocationsToV8Sandbox for extension host

* chore: bump electron@22.4.2

* chore: bump electron@22.4.3

* temp: update distro

* sandbox - cleanup from electron 22 update

* missing comile

* more changes

* fix build

* restore

* 💄

* compile

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-04-03 09:09:31 +02:00
Tyler James Leonhardt
378b0d711f Implement titlebar logic using a new NLS property (#177426)
* Revert "Have English language return default result (#175157)"

This reverts commit 3c9f409888.

* Revert "Fix locale and language handling (#174779)"

This reverts commit 4e32196835.

* Revert "Add en as fallback osLocale (#175039)"

This reverts commit 7b6b6869e8.

* Revert "Ensuring locale is set to the OS locale and language is set to the Application Language (#174733)"

This reverts commit ecf479e662.

* Implement titlebar correctly using platformLocale
2023-03-17 09:32:40 +01:00
Robo
3a11b47eee chore: revert to Electron 19 (#175851)
* Revert "Update to min supported version of node (#175723)"

This reverts commit f749e6be2d.

* Revert "chore: update min node version for development (#175663)"

This reverts commit f2a822fbe9.

* Revert "electron 22 sandbox - enable for OSS (#175659)"

This reverts commit 2551af21f8.

* Revert "chore: update to Electron 22 (#166430)"

This reverts commit 6e85d2b51e.
2023-03-02 02:58:46 -08:00
Robo
6e85d2b51e chore: update to Electron 22 (#166430)
* chore: bump electron@22.0.0-beta.5

* chore: bump electron@22.0.0-beta.7

* chore: update libc++ flags

* chore: switch to c++17

* chore: bump electron@22.0.0

* chore: bump electron@22.0.2

* chore: cleanup build config for linux

* chore: update debian dependencies

* chore: update rpm dependencies

* chore: update electron@22.0.3

* chore: bump electron@22.2.0

* chore: remove deprecated utility process invoker

* chore: bump electron@22.2.1

* chore: remove unused methods

* chore: update internal electron version

* chore: bump electron@22.3.0

* temp: update electron with default PGO

* chore: bump electron@22.3.1

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-02-28 07:04:00 -08:00
Raymond Zhao
7b6b6869e8 Add en as fallback osLocale (#175039) 2023-02-21 17:26:37 -08:00
Tyler James Leonhardt
ecf479e662 Ensuring locale is set to the OS locale and language is set to the Application Language (#174733)
Ref #164397
2023-02-18 01:55:46 +01:00
Raymond Zhao
15311ad783 Add more processing for ZH locales (#173167)
Ref #172240
2023-02-02 09:22:11 -08:00
Sandeep Somavarapu
d37a0797aa fix #173120 (#173156) 2023-02-02 07:15:36 -08:00
Raymond Zhao
1001c879c8 Enable getPreferredSystemLanguages on Linux (#172874) 2023-01-31 10:18:37 -08:00
Raymond Zhao
7b1f598090 Use platform.language more (#171659)
Use platform.language in more places
2023-01-18 20:23:28 +01:00
Robo
44531ffc7b fix: disable AutoDisableAccessibility feature (#169201) 2022-12-15 08:21:38 +01:00
Raymond Zhao
b7717f96cb Fix terminal locale handling (#169068)
Switch back to using app.getLocale()
2022-12-14 09:19:13 -06:00
Raymond Zhao
493a541735 Disable passing in locale to Electron on macOS (#167889)
* Disable passing in locale to Electron on macOS

Fixes #167543

* Update src/main.js

Co-authored-by: Robo <hop2deep@gmail.com>

* Fix comment and apply PR feedback

Co-authored-by: Robo <hop2deep@gmail.com>
2022-12-01 17:02:44 -08:00
Sandeep Somavarapu
9433821f09 remove critical log level (#167820) 2022-12-01 10:55:56 +01:00
Robo
f6f1d64ef9 chore: update electron@19.1.6 (#167095) 2022-11-23 20:55:20 +00:00
Raymond Zhao
4222ce8da4 Enable WCO on all builds (#167060)
Fixes #161218
Fixes #164397
2022-11-23 07:13:59 -08:00
Raymond Zhao
ebb77a7dfd Add more checks, fixes #166771 (#166884) 2022-11-21 11:28:55 -08:00
Johannes
cd0a2721ed move globals-init into bootstrap-amd (which is used by different parties) 2022-11-18 12:03:57 +01:00
Johannes
d555777b1a simplify _VSCODE_NODE_MODULES util 2022-11-18 09:42:32 +01:00
Johannes
8dd8d214d8 don't use __$__nodeRequire to fetch product configuration 2022-11-18 09:41:51 +01:00
Johannes
2d6ad4be88 * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-18 09:41:43 +01:00
Raymond Zhao
9feaed8f51 Revert "joh/representative canidae" (#166641) 2022-11-17 13:53:17 -08:00
Johannes
6dd2726c73 simplify _VSCODE_NODE_MODULES util 2022-11-17 17:58:51 +01:00
Johannes
93c3f3202b don't use __$__nodeRequire to fetch product configuration 2022-11-17 15:41:23 +01:00
Johannes
0824db3bad * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-17 12:09:14 +01:00
Raymond Zhao
5f67407888 Pass display language as a locale to Electron (#159958)
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-11-14 11:55:09 -08:00
Benjamin Pasero
9db57e76e9 Build: bundle / concat entry points (#161161)
* perf - concatenate windows main files

* Revert "Revert "Use `esbuild` to bundle some CommonJS main files (#160957)" (#161118)"

This reverts commit 84c46b71a5.

* build - exclude server main files

* build - make concat a task that runs like the others

* some renames

* Avoid overwriting the nodejs closure require

* Revert "build - exclude server main files"

This reverts commit 736516624e.

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-21 00:38:44 -07:00
Benjamin Pasero
84c46b71a5 Revert "Use esbuild to bundle some CommonJS main files (#160957)" (#161118)
This reverts commit 2179e52fb9.
2022-09-16 09:31:44 -07:00
Benjamin Pasero
2179e52fb9 Use esbuild to bundle some CommonJS main files (#160957)
* ensure node.js `require` is captured

* optimize `main.js` and `cli.js`

* cleanup

* leave out bundled files

* drop package.json from userdata paths

* fix web task

* fix editor distro

* inline version into `product.json`

* also bundle server

* t

* actually do server too

* Keep bundling nls in editor worker

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-16 05:24:23 -07:00
Benjamin Pasero
4745ae67b2 perf - make resolving untitled workspaces async (#16381) 2022-09-11 10:04:20 +02:00
Benjamin Pasero
8231c8ccad debt - remove avoidMonkeyPatchFromAppInsights 2022-09-04 07:43:29 +02:00
Benjamin Pasero
963bd989c4 perf - disable electron from setting a default menu (#159660) 2022-08-31 13:30:13 +02:00
Robo
c3470b5fe1 fix: disable occlusion tracker on windows (#158260) 2022-08-16 12:12:01 +01:00
Benjamin Pasero
c0e9fca625 electron - drop support for disable-color-correct-rendering (#155150) 2022-07-14 17:07:21 +09:00
Benjamin Pasero
1ba0e7b601 smoke - enable crash reporter (#152041)
* smoke - enable crash reporter

* nix da only!
2022-06-14 12:52:29 +00:00
Robo
32d40cf44e chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Robo
df645f1450 chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00