Bug 42380 - Add WebCore/bindings/generic/RuntimeEnabledFeatures.cpp to build files
Summary: Add WebCore/bindings/generic/RuntimeEnabledFeatures.cpp to build files
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 42265
  Show dependency treegraph
 
Reported: 2010-07-15 09:14 PDT by Hans Wennborg
Modified: 2010-07-20 02:14 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.67 KB, patch)
2010-07-15 09:29 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (10.81 KB, patch)
2010-07-15 10:59 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (11.59 KB, patch)
2010-07-16 01:59 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (11.59 KB, patch)
2010-07-16 06:43 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (11.59 KB, patch)
2010-07-17 09:20 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (11.58 KB, patch)
2010-07-19 00:59 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (11.78 KB, patch)
2010-07-19 03:22 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (10.92 KB, patch)
2010-07-19 08:51 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (10.92 KB, patch)
2010-07-19 10:13 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff
Patch (11.16 KB, patch)
2010-07-20 01:32 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Wennborg 2010-07-15 09:14:42 PDT
Add WebCore/bindings/generic/RunTimeEnabledFeatures.cpp to build files
Comment 1 Hans Wennborg 2010-07-15 09:28:40 PDT
Uploading patch to see what the EWS bots say.
Comment 2 Hans Wennborg 2010-07-15 09:29:13 PDT
Created attachment 61671 [details]
Patch
Comment 3 Hans Wennborg 2010-07-15 10:58:38 PDT
Uploading new patch that updates the XCode project, Android makefiles, and adds an #include in Page.cpp to make the EWS bots actually fail if it can't be found.
Comment 4 Hans Wennborg 2010-07-15 10:59:50 PDT
Created attachment 61688 [details]
Patch
Comment 5 WebKit Review Bot 2010-07-15 14:57:35 PDT
Attachment 61688 [details] did not build on win:
Build output: http://webkit-commit-queue.appspot.com/results/3349699
Comment 6 Hans Wennborg 2010-07-16 01:59:47 PDT
Created attachment 61784 [details]
Patch
Comment 7 Hans Wennborg 2010-07-16 06:42:48 PDT
Rebasing, hoping the win bot will be able to apply the patch this time.
Comment 8 Hans Wennborg 2010-07-16 06:43:08 PDT
Created attachment 61802 [details]
Patch
Comment 9 Hans Wennborg 2010-07-17 09:20:52 PDT
Created attachment 61883 [details]
Patch
Comment 10 Hans Wennborg 2010-07-19 00:59:12 PDT
Created attachment 61931 [details]
Patch
Comment 11 Steve Block 2010-07-19 02:47:48 PDT
Comment on attachment 61931 [details]
Patch

It would be good to describe the motivation for this patch in the bug.

> bindings/generic a while a go (in r54593), but needs to
needs -> need

> be added to the build in order to be used.
Add a tests line, saying that there are no new tests because this patch introduces no change in functionality

> WebCore/WebCore.vcproj/WebCore.vcproj
Did you make the change by hand, or with VisualStudio?

> WebCore/page/Page.cpp
Did you intend this change to be submitted, or is just for testing on the bots?

I'll help you land the patch manually if the Win EWS bot continues to give problems.
Comment 12 Hans Wennborg 2010-07-19 03:22:00 PDT
(In reply to comment #11)
> (From update of attachment 61931 [details])
> It would be good to describe the motivation for this patch in the bug.
The motivation is to make the functions in RuntimeEnabledFeatures.h available in WebCore so that the device orientation code can add an use an enable-switch here. I'd love to add this to the description of the bug, but I don't think it can be edited?

> 
> > bindings/generic a while a go (in r54593), but needs to
> needs -> need
Done.

> 
> > be added to the build in order to be used.
> Add a tests line, saying that there are no new tests because this patch introduces no change in functionality
Done.

> 
> > WebCore/WebCore.vcproj/WebCore.vcproj
> Did you make the change by hand, or with VisualStudio?
By hand, as I don't have access to the supported Visual Studio version. This is why I'm anxious to have a Win bot test it.

> 
> > WebCore/page/Page.cpp
> Did you intend this change to be submitted, or is just for testing on the bots?
It's just to make sure the bots fail if the .h file fails to be included.

I was planning to take it out when all the EWS bots were green, but if we can't get the Win EWS bot to run this patch, perhaps we should leave it in so it gets tested by the real bots?

> 
> I'll help you land the patch manually if the Win EWS bot continues to give problems.
Thanks. Much appreciated.
Comment 13 Hans Wennborg 2010-07-19 03:22:25 PDT
Created attachment 61937 [details]
Patch
Comment 14 Hans Wennborg 2010-07-19 08:51:05 PDT
Created attachment 61960 [details]
Patch

Rebased and removed dos line endings from the part that touches the .vcproj file.
Comment 15 Hans Wennborg 2010-07-19 10:13:22 PDT
Created attachment 61966 [details]
Patch

Same patch again. Will hopefully apply on the Windows bot even though it fails on all the rest.
Comment 16 Steve Block 2010-07-19 13:27:03 PDT
> Same patch again. Will hopefully apply on the Windows bot even though it fails on all the rest.
It did indeed apply and build OK on Windows.

What's strange is that recent patches which touch the VS project file have applied successfully on all EWS bots. In Bug 41518, Bug 41607 and Bug 42104, although the patches didn't build on the Windows EWS bot, they did get as far as failing to build, which presumably means that the patch was successfully applied. CC'ing Eric to see if he has any ideas.

I think we've wasted enough time on this, so tomorrow let's land the version with the DOS line endings (and without the change to Page.cpp) and watch the build bots.
Comment 17 Hans Wennborg 2010-07-20 01:31:35 PDT
Since the patch has now built successfully on all bots, I'm uploading again with untampered line endings and without the change to Page.cpp. This should land fine with the commit queue.
Comment 18 Hans Wennborg 2010-07-20 01:32:03 PDT
Created attachment 62041 [details]
Patch
Comment 19 Steve Block 2010-07-20 01:59:07 PDT
Comment on attachment 62041 [details]
Patch

r=me

Please watch the build bots!
Comment 20 WebKit Commit Bot 2010-07-20 02:14:52 PDT
Comment on attachment 62041 [details]
Patch

Clearing flags on attachment: 62041

Committed r63735: <http://trac.webkit.org/changeset/63735>
Comment 21 WebKit Commit Bot 2010-07-20 02:14:57 PDT
All reviewed patches have been landed.  Closing bug.