Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore update to Electron 3 #52629

Closed
Tyriar opened this issue Jun 21, 2018 · 63 comments
Closed

Explore update to Electron 3 #52629

Tyriar opened this issue Jun 21, 2018 · 63 comments
Assignees
Labels
electron Issues and items related to Electron plan-item VS Code - planned item for upcoming

Comments

@Tyriar
Copy link
Member

Tyriar commented Jun 21, 2018

VSCode Exploration Builds with Electron 3.0.x:

@Tyriar Tyriar added the electron Issues and items related to Electron label Jun 21, 2018
@Tyriar
Copy link
Member Author

Tyriar commented Jun 21, 2018

Issues so far:

@Tyriar
Copy link
Member Author

Tyriar commented Jun 25, 2018

@bpasero you'll need to re-release https://github.com/bpasero/fsevents in order to pick up nan@2.10.0

@bpasero
Copy link
Member

bpasero commented Jun 25, 2018

@Tyriar is that a change compatible with older Electron versions or do we need a specific release only for Electron 3.x?

@Tyriar
Copy link
Member Author

Tyriar commented Jun 25, 2018

@bpasero it's compatible, the latest insiders is using nan@2.10 for node-pty.

@bpasero bpasero added this to the On Deck milestone Jun 26, 2018
@bpasero
Copy link
Member

bpasero commented Jun 29, 2018

@Tyriar we might have to fork NSFW, I do not think that project is active anymore...

@bpasero
Copy link
Member

bpasero commented Jun 29, 2018

@Tyriar I published vscode-chokidar@1.6.3 to try with

@Tyriar
Copy link
Member Author

Tyriar commented Jun 29, 2018

We already forked nsfw to vscode-nsfw to release Axosoft/nsfw#47 (repo: https://github.com/Tyriar/nsfw/tree/vscode-release)

@Tyriar Tyriar modified the milestones: On Deck, July 2018 Jul 16, 2018
@bpasero
Copy link
Member

bpasero commented Jul 18, 2018

@Tyriar I pushed https://github.com/Microsoft/vscode/tree/electron-3.0.x that compiles. There are some serious issues I have not looked into, e.g. I cannot save files for some reason.

@bpasero
Copy link
Member

bpasero commented Jul 18, 2018

I believe that one could be due to nodejs/node#2006

@Tyriar
Copy link
Member Author

Tyriar commented Jul 18, 2018

A lot of errors in the terminal running code.sh coming from devtools:

image

@Tyriar
Copy link
Member Author

Tyriar commented Jul 18, 2018

Saving actually does work, the first time at least. It just doesn't lose the circle indicator and then after that lots of things seem to be broken, like I cannot close the window via custom menu bar and ctrl+r doesn't work to reload.

@Tyriar Tyriar modified the milestones: July 2018, August 2018 Jul 30, 2018
@bpasero bpasero added plan-item VS Code - planned item for upcoming electron-3.0.x-update labels Aug 6, 2018
@bpasero
Copy link
Member

bpasero commented Aug 9, 2018

@Tyriar can you make a branch on vscode-nsfw for the NAN update, then I can remove my custom project? I am not even sure which GitHub repo that would be?

Would be cool to get a build with Electron 3 running for next weeks Electron hackathon ⭐️ . I will start with looking into the weird save issue.

@bpasero
Copy link
Member

bpasero commented Aug 9, 2018

@rebornix @alexandrudima is this V8 change something we need to change in our code? I remember we once did changes around this where we assume a certain max string length:

image

(via https://v8project.blogspot.com/2017/09/v8-release-62.html)

@Tyriar
Copy link
Member Author

Tyriar commented Aug 9, 2018

Looks like the xterm.js parser is firing layouts in the scroll bar code in Ch66 (not in 58 or 61):

screen shot 2018-08-09 at 11 48 58 am

@Tyriar
Copy link
Member Author

Tyriar commented Aug 9, 2018

Actually this is happening in 58 and 61, it's just way faster:

screen shot 2018-08-09 at 11 50 50 am

Slow layouts is something we should look out for. I can look into fixing this in xterm.js as this should only be happening when a frame is rendered xtermjs/xterm.js#1606.

@bpasero
Copy link
Member

bpasero commented Aug 10, 2018

Fyi I got NSFW working now, looks like another change for Node 10 compatibility is needed: https://github.com/bpasero/vscode-nsfw/commit/2c0ff39a2f5157fee04e407014026123e4bd3295

@bpasero
Copy link
Member

bpasero commented Aug 10, 2018

We have our first VSCode exploration builds out (see description of the issue for download links).

@danilaml
Copy link

It's almost time to start exploring Electron 4 😄

@loligans
Copy link

Is there somewhere I can get the latest exploration build. I'd like to test out vscode in electron 3.0

@compilenix
Copy link

I don't think so, yet.

But you can build it from source How-to-Contribute#build-and-run.

@dalDevelo
Copy link

For real? There are 3 links in the original post with download links to the exploration build, depending on your OS 😳

@compilenix
Copy link

Sorry @dalDevelo , i assumed that @loligans already saw that and is not running on an OS using dmg, exe or deb packages. I.e. have Fedora which wants a rpm package.

@dalDevelo
Copy link

@compilenix. Thanks for clarifying, your response makes sense now. It's perhaps best if @loligans states his exact requirements in his post, to avoid assumptions and...in my case, confusion.

Ty

@bpasero
Copy link
Member

bpasero commented Nov 18, 2018

It's almost time to start exploring Electron 4 😄

Yes: #61787

@pvh
Copy link

pvh commented Nov 19, 2018

Is Electron 3 expected to be ready for the November release or not until February? I'm trying to decide whether to backport a fix in a module I use (which I will do if Electron 3 is Feb+) or just wait for the next release.

@bpasero
Copy link
Member

bpasero commented Nov 20, 2018

@phv Q1 2019

@pvh
Copy link

pvh commented Nov 20, 2018

Thanks, I'll backport. Not a big deal.

(PS: Improved support for binary dependencies would be welcome and I know you're tracking that elsewhere.)

@bpasero
Copy link
Member

bpasero commented Dec 10, 2018

Merged to master for our release early February 2019. Should be available in insiders end of week.

@akmittal
Copy link

akmittal commented Dec 21, 2018

Electron 4 is released, https://electronjs.org/releases#release-notes-for-v400
It includes Chromium 69.0.3497.106 and Node 10.11.0

@bpasero
Copy link
Member

bpasero commented Dec 21, 2018

Already builds available: #61787

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron plan-item VS Code - planned item for upcoming
Projects
None yet
Development

No branches or pull requests