Skip to content

Conversation

@alexeykuzmin
Copy link
Contributor

@alexeykuzmin alexeykuzmin commented Jun 15, 2017

Related to #9679.
Here are mostly fixes of trivial compilation errors. There are still plenty of errors left, I'm working on it.
Keep it mind that a PR with changes to libcc hasn't been merged yet.

/cc @tonyganch @kevinsawicki @zcbenz @setpixel @dezmathio

Almost all commits have a corresponding CL title as a first line of their commit message.
Link(s) to the CL(s) can be also found in the commit message.

Incomplete list of the compilation errors left:

@alexeykuzmin alexeykuzmin force-pushed the upgrade-to-chromium-59 branch 3 times, most recently from a37045f to b0ff3ca Compare June 17, 2017 22:03
@alexeykuzmin
Copy link
Contributor Author

Would it make sense to create a feature branch in the electron/electron repo, push all the changes there and re-create a pr?

@alexeykuzmin alexeykuzmin force-pushed the upgrade-to-chromium-59 branch from b0ff3ca to 35f727a Compare June 20, 2017 01:04
@zcbenz
Copy link
Contributor

zcbenz commented Jun 20, 2017

Would it make sense to create a feature branch in the electron/electron repo, push all the changes there and re-create a pr?

It is not needed on Electron's side, the third party CI workers can work fine.

A thing to notice is that the CI servers normally only build Debug versions, so it is necessary to manually test the Release build. I usually test by running ./script/bump-version.py and then push the changes to a temporary brach, it would trigger CI servers to build Release versions.

@tonyganch tonyganch force-pushed the upgrade-to-chromium-59 branch from fb56019 to 2f5fe0d Compare June 20, 2017 18:39
@tonyganch
Copy link
Contributor

PR currently should be in a state with OSR disabled, compilation passing on mac and 18 tests failing.
We're working on win build and looking into tests.

@alexeykuzmin
Copy link
Contributor Author

@kevinsawicki @zcbenz
Is there anyone who can look at OSR related compilation errors?
I have disabled OSR for now, at least compilation-wise, but is has to be fixed before a new Electron version can be released.

@brenca
Copy link
Contributor

brenca commented Jun 27, 2017

I might be able to take a look at the OSR code on Windows this week.

@alexeykuzmin
Copy link
Contributor Author

alexeykuzmin commented Jun 30, 2017

I'm going to tidy things up a little bit here and make a force push.
If someone is working on the tests or anything else right now please let me now or simply just push all what you have. I expect to finish everything on June 30th at 9pm UTC (~in three hours).

/cc @tonyganch @kevinsawicki

@alexeykuzmin alexeykuzmin force-pushed the upgrade-to-chromium-59 branch from 3ed87bf to 20d039f Compare June 30, 2017 20:36
@kevinsawicki
Copy link
Contributor

I'm going to tidy things up a little bit here and make a force push.

Sounds good, I pushed up a commit to fix the failing devtools specs.

@alexeykuzmin
Copy link
Contributor Author

alexeykuzmin commented Jul 3, 2017

On my Windows machine Electron builds successfully but crashes when started.
Can anyone look into it please?

views::LayoutProvider::Get(...) returned nullptr.
exception

/cc @zcbenz @kevinsawicki @tonyganch

@kevinsawicki
Copy link
Contributor

Can anyone look into it please?

Yup, taking a look now.

@kevinsawicki
Copy link
Contributor

On my Windows machine Electron builds successfully but crashes when started.

I added a default layout provider to fix the crash which was introduced in https://chromium.googlesource.com/chromium/src/+/4e8cac4101f13be9f86b455f06ec7b46fc707e93

Now it launches for me without crashing but the menus don't appear when clicked, investigating further.

@kevinsawicki
Copy link
Contributor

Now it launches for me without crashing but the menus don't appear when clicked, investigating further

Fixed this issue, menus now appear on Windows.

Looks like the async menu support was removed in Chrome 59 https://chromium.googlesource.com/chromium/src/+/b31c887a2d14761b078f329629f1d3469106b891%5E%21/ so the stack-allocated MenuDelegate was getting deleted too soon since RunMenu no returns immediately.

@alexeykuzmin
Copy link
Contributor Author

I might be able to take a look at the OSR code on Windows this week.

@brenca Is there a chance you would have time to do that anytime soon?

@brenca
Copy link
Contributor

brenca commented Jul 4, 2017

@alexeykuzmin Sorry, I sadly can't. Maybe @gerhardberger could.

@gerhardberger
Copy link
Contributor

@alexeykuzmin @brenca I will try and fix the OSR errors during the week, but I can only test on macOS though.

@alper-teke
Copy link

What is the plan for this PR? When ready, will it be merged to 1.7.x?
Or will you soon "release" 1.7.x and then this is a candidate for 1.8?

@brenca
Copy link
Contributor

brenca commented Jul 5, 2017

AFAIK minor versions are bumped with Chromium and node version bumps, so it would be 1.8.x

@kevinsawicki
Copy link
Contributor

@alexeykuzmin can you re-open this pull request from a branch within this repository (instead of your fork) so we can get the CI builds going? They only trigger for branches inside this repository.

@alexeykuzmin
Copy link
Contributor Author

@alexeykuzmin can you re-open this pull request from a branch within this repository (instead of your fork) so we can get the CI builds going? They only trigger for branches inside this repository.

@kevinsawicki, sure. The only reason why I left the branch in my fork was this reply by @zcbenz:

Would it make sense to create a feature branch in the electron/electron repo, push all the changes there and re-create a pr?

It is not needed on Electron's side, the third party CI workers can work fine.

@alexeykuzmin alexeykuzmin mentioned this pull request Jul 6, 2017
2 tasks
@alexeykuzmin
Copy link
Contributor Author

@alexeykuzmin can you re-open this pull request from a branch within this repository

@kevinsawicki #9946

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants