Commit graph

38 commits

Author SHA1 Message Date
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
yiliang114 ef3dbb5e11 fix: typos 2023-03-10 20:02:01 +08:00
Johannes Rieken 7e69465303
don't use underscore for native JS things (#173282) 2023-02-03 03:47:51 -08:00
Sandeep Somavarapu fac2283bf3
fix string.replace (#168169)
fix string.replace #167239
2022-12-06 14:50:23 +01:00
Benjamin Pasero aa961ec5da
String.replace will substitute special patterns (#167239) (#167250) 2022-11-25 14:03:49 +00:00
Johannes Rieken fec87f38cb
Analyse profiles in worker thread (#164468)
- profile renderer returns profile data
- analyse profiles in separate worker thread
- adjust renderer and extension host profiling
- adjust build scripts to build worker file
2022-10-24 17:42:54 +02:00
Connor Peet 18f743d534
address pr comments 2022-10-05 12:56:07 -07: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
isidor f1143ac3d6
make sure to include mp3 files in our build 2022-08-22 12:48:59 +02:00
Connor Peet ca48c64699
build: cache built-in extensions to avoid rate limiting (#156918) 2022-08-03 00:27:16 +02:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Henning Dieterichs 856e0ae9cb
Include opus files for web build 2022-04-19 14:48:46 +02:00
Connor Peet 5e86e40fab
extensions: pull from github in OSS build (#146863)
* extensions: pull from github in OSS build

* fixup! address pr comment
2022-04-10 22:36:12 -07:00
Johannes Rieken e6b63f39c4
debt - remove all of extensionAllowedProposedApi 2022-03-01 11:44:11 +01:00
Matt Bierner f71bd27ec9
Adding type annotations 2022-02-28 14:32:12 -08:00
Benjamin Pasero 6defcb5efe
web - remove legacy main build file 2022-02-15 16:22:06 +01:00
Alex Dima 1b429e7432
Strip webEndpointUrlTemplate from reh-web builds 2022-02-03 19:28:09 +01:00
Alex Dima 9fb5c8e094
Split up the two web content patchers 2022-02-03 19:28:08 +01:00
Benjamin Pasero 0f89762b4b
Rename workbench.web.api.* to workbench.web.main.* (#141263)
* web - rename entry file

* web - rename entry file also for server

* rename main entry in copy
2022-01-24 12:45:49 +01:00
Benjamin Pasero 13461f8c61
Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
Alex Dima 0a81bd1bbf
Use an identical CSP for both https and http (enabled by using 'self') 2021-12-07 14:40:56 +01:00
Alex Dima 42a0825e8e
Allow building to continue despite a missing remote/LICENSE file 2021-10-21 15:28:47 +02:00
Alex Dima 822f995357
Add server folder 2021-10-20 18:42:13 +02:00
Benjamin Pasero ecc8571a79 web - get product config through build and not via API 2019-09-11 13:49:06 +02:00
Benjamin Pasero 93b7ad02df web - add proper callback landing page 2019-09-10 15:56:50 +02:00
Benjamin Pasero d0481dca92 web - move selfhost pieces out of workbench 2019-09-10 11:06:54 +02:00
Johannes Rieken f6daf19f9a debt - remove unused service workr 2019-09-06 11:54:13 +02:00
Benjamin Pasero 8755b78acf web - add pwa icons 2019-09-04 07:33:39 +02:00
Benjamin Pasero 42a5afd6e8 build - catch up with distro 2019-08-27 16:03:40 +02:00
Benjamin Pasero f90b40fdae
debt - clean up buildfiles (#79914) 2019-08-27 14:59:31 +02:00
Johannes Rieken de881573e7 fix path 2019-08-19 12:22:20 +02:00
Johannes Rieken 3e25e2688f build - have different worker extension host entrypoint, copy worker bootstrap file 2019-08-19 11:38:13 +02:00
Johannes Rieken a42484093f add extensionHostWorker entry point, fixes https://github.com/microsoft/vscode-internalbacklog/issues/738 2019-08-14 18:07:10 +02:00
Benjamin Pasero 5e2425faa1 web - add more excludes 2019-07-14 17:57:44 +02:00
Benjamin Pasero 53446af07d web - add build script 2019-07-14 13:26:53 +02:00
Benjamin Pasero 1648e1dcf8 web - add build 2019-07-14 13:12:54 +02:00