Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Update Electron to 0.36.11 - #10983

Closed
drewmnoel wants to merge 3 commits into
atom:masterfrom
drewmnoel:patch-1
Closed

drewmnoel wants to merge 3 commits into
atom:masterfrom
drewmnoel:patch-1

Conversation

@drewmnoel

Copy link
Copy Markdown
Contributor

Pulls in a fix for freetype2 on some systems

@drewmnoel

Copy link
Copy Markdown
Contributor Author

Build errors ENOENT for shell.js and a build timeout. Maybe restart?

@winstliu

Copy link
Copy Markdown
Contributor

The ENOENT failures for remote.js and shell.js are because they got moved around in 0.36.11. remote.js is now at lib/renderer/api/remote.js, and shell.js is at lib/common/api/shell.js. It looks like the two specs in question got missed during the 0.35.0 deprecation cleanup (my fault). Can you try changing this line to require('electron').remote.require('auto-updater') instead? Something similar for this line, except it would be {shell} = require 'electron'. The last failure looks like a flaky timeout spec that's unrelated to this PR.

As for the timeout when running package specs, I restarted the build but it looks like it timed out again.

@winstliu

Copy link
Copy Markdown
Contributor

I believe the reason Tree View is timing out is because it's also relying on the deprecated require syntax for shell, as is clear when you try starting Atom running 0.36.11. I'll go fix that now~

In addition:
@steelbrain, @Arcanemagus: linter is using the same deprecated syntax for clipboard, which means it fails to activate using Electron 0.36.11.
@tombell: Something very similar with travis-ci-status and shell.
You'll need a try/catch though since Atom versions < 1.7.0 don't recognize the new syntax.

winstliu pushed a commit to atom/tree-view that referenced this pull request Mar 13, 2016
winstliu pushed a commit that referenced this pull request Mar 13, 2016
@winstliu

Copy link
Copy Markdown
Contributor

@drewmnoel Can you please rebase this on master to get the tree-view fix?

@drewmnoel

Copy link
Copy Markdown
Contributor Author

Just did, let's see how this goes.

@steelbrain

Copy link
Copy Markdown
Contributor

@50Wliu It has already been fixed in master, we'll be releasing soon

@winstliu

Copy link
Copy Markdown
Contributor

The four remaining failures for package specs should be fixed now as well on master. I'll be filing an issue on atom/electron soon regarding the lack of deprecation messages for shell as well as the break in compatibility for those still using the deprecated syntax.

@drewmnoel

Copy link
Copy Markdown
Contributor Author

Two timeout failures (blinking cursor in core, general timeout error in packages). A restart should fix the core test at least, probably the package one too.

@winstliu

Copy link
Copy Markdown
Contributor

@drewmnoel Turns out I missed a require('remote') in settings-view which caused those specs to hang. Mind pulling in the latest changes again?

@drewmnoel

Copy link
Copy Markdown
Contributor Author

Checks are all good now, thanks @50Wliu!

@winstliu

Copy link
Copy Markdown
Contributor

💚

@drewmnoel

Copy link
Copy Markdown
Contributor Author

What are the next steps to get this merged in? I'm excited to be able to update my freetype2 finally 😃

@joshaber joshaber added the atom label Mar 14, 2016
@joshaber

Copy link
Copy Markdown
Contributor

@drewmnoel We'll spend some time testing it and then merge if it seems stable. Thanks for all your work on it!

@joshaber

Copy link
Copy Markdown
Contributor

Hmm, looks like this needs a merge in from master to get #11153.

@winstliu

Copy link
Copy Markdown
Contributor

In addition, in order to prevent any community packages from breaking because of the bump to 0.36.11, it looks like these lines will need to be updated to correspond to the new file locations.

@drewmnoel

Copy link
Copy Markdown
Contributor Author

Okay, sure just let me know if I need to fast-forward my branch or anything

@joshaber

Copy link
Copy Markdown
Contributor

@drewmnoel Are you interested making the changes @50Wliu outlined?

@winstliu winstliu changed the title ⬆️ electron Update Electron to 0.36.11 Mar 16, 2016
@steelbrain

Copy link
Copy Markdown
Contributor

@50Wliu released a linter update that's compatible with the latest electron

@winstliu

Copy link
Copy Markdown
Contributor

Closes #11198.

@fusion809

Copy link
Copy Markdown
Contributor

If it helps with the "needs-testing" property I just built it and it seems to be working fine with freetype2 2.6.3.

@Nikki1993

Copy link
Copy Markdown

I second @fusion809, everything works as expected.

@winstliu

Copy link
Copy Markdown
Contributor

@drewmnoel are you still interested in finishing this pull request?

@awnumar

awnumar commented Mar 31, 2016

Copy link
Copy Markdown

Locally made changes and compiled. Fixed the crashes due to freetype and seems to be working perfectly.

@a-metta

a-metta commented Apr 1, 2016

Copy link
Copy Markdown

hi, just checked out pull request locally and tested, atom editor is no longer crashing, freetype version 2.6.3-1

@Nikki1993

Copy link
Copy Markdown

So can we get this merged asap to return things to working order? :)

@winstliu

winstliu commented Apr 1, 2016

Copy link
Copy Markdown
Contributor

So can we get this merged asap to return things to working order? :)

This PR still requires changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants