Bug 127991

Summary: Remove ENABLE(SVG) guards
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, allan.jensen, apinheiro, benjamin, bunhere, cdumez, cfleizach, cmarcelo, commit-queue, dbates, dino, dmazzoni, d-r, dstockwell, esprehn+autocc, fmalita, glenn, gyuyoung.kim, japhet, jcraig, jdiggs, kangil.han, kondapallykalyan, macpherson, mario, menard, ossy, pdr, rakuco, samuel_white, schenney, simon.fraser, WebkitBugTracker, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP patch - not yet complete
none
patch for EWS bots
none
patch for EWS bots
none
Patch
none
with Mac buildfix
none
with style fixes
none
Patch
none
Patch
none
patch for landing none

Description Csaba Osztrogonác 2014-01-31 03:42:25 PST
discussion about it on webkit-dev:
https://lists.webkit.org/pipermail/webkit-dev/2014-January/026144.html

I started to prepare a patch for it.
Comment 1 Csaba Osztrogonác 2014-01-31 07:31:03 PST
Created attachment 222812 [details]
WIP patch - not yet complete
Comment 2 Csaba Osztrogonác 2014-02-03 05:54:28 PST
Created attachment 222979 [details]
patch for EWS bots
Comment 3 Csaba Osztrogonác 2014-02-03 06:29:58 PST
Created attachment 222982 [details]
patch for EWS bots
Comment 4 WebKit Commit Bot 2014-02-03 06:32:38 PST
Attachment 222982 [details] did not pass style-queue:


ERROR: Source/WebCore/html/parser/XSSAuditor.cpp:41:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderBlockLineLayout.cpp:42:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/loader/FrameLoader.cpp:108:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp:31:  Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
ERROR: Source/WebCore/loader/cache/CachedImage.cpp:44:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/xml/parser/XMLDocumentParser.cpp:49:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/history/CachedFrame.cpp:50:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderLayer.cpp:109:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderTreeAsText.cpp:66:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/style/RenderStyle.h:67:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DOMImplementation.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DOMImplementation.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/FrameView.cpp:69:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/FrameView.cpp:78:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Document.cpp:140:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/StyleResolver.cpp:34:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/StyleResolver.cpp:121:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/Frame.cpp:92:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Text.cpp:27:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/FilterEffectRenderer.cpp:46:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderObject.cpp:59:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderObject.cpp:62:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Element.cpp:73:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/ScriptElement.cpp:48:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebKit/gtk/webkit/webkitwebframe.cpp:75:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DocumentStyleSheetCollection.cpp:285:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/bindings/js/JSNodeCustom.cpp:70:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/EventHandler.cpp:85:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/CSSFontSelector.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 29 in 160 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Csaba Osztrogonác 2014-02-03 08:06:19 PST
Created attachment 222987 [details]
Patch
Comment 6 WebKit Commit Bot 2014-02-03 08:09:30 PST
Attachment 222987 [details] did not pass style-queue:


ERROR: Source/WebCore/html/parser/XSSAuditor.cpp:41:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderBlockLineLayout.cpp:42:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/loader/FrameLoader.cpp:108:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp:31:  Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
ERROR: Source/WebCore/loader/cache/CachedImage.cpp:44:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/xml/parser/XMLDocumentParser.cpp:49:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/history/CachedFrame.cpp:50:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderLayer.cpp:109:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderTreeAsText.cpp:66:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/style/RenderStyle.h:67:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DOMImplementation.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DOMImplementation.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/FrameView.cpp:69:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/FrameView.cpp:78:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Document.cpp:140:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/StyleResolver.cpp:34:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/StyleResolver.cpp:121:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/Frame.cpp:92:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Text.cpp:27:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/FilterEffectRenderer.cpp:46:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderObject.cpp:59:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderObject.cpp:62:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Element.cpp:73:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/ScriptElement.cpp:48:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebKit/gtk/webkit/webkitwebframe.cpp:75:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DocumentStyleSheetCollection.cpp:285:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/bindings/js/JSNodeCustom.cpp:70:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/EventHandler.cpp:85:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/CSSFontSelector.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 29 in 284 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Csaba Osztrogonác 2014-02-03 09:14:47 PST
Created attachment 222990 [details]
with Mac buildfix
Comment 8 WebKit Commit Bot 2014-02-03 09:18:04 PST
Attachment 222990 [details] did not pass style-queue:


ERROR: Source/WebCore/html/parser/XSSAuditor.cpp:41:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderBlockLineLayout.cpp:42:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/loader/FrameLoader.cpp:108:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp:31:  Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
ERROR: Source/WebCore/loader/cache/CachedImage.cpp:44:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/xml/parser/XMLDocumentParser.cpp:49:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/history/CachedFrame.cpp:50:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderLayer.cpp:109:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderTreeAsText.cpp:66:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/style/RenderStyle.h:67:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DOMImplementation.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DOMImplementation.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/FrameView.cpp:69:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/FrameView.cpp:78:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Document.cpp:140:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/StyleResolver.cpp:34:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/StyleResolver.cpp:121:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/Frame.cpp:92:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Text.cpp:27:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/FilterEffectRenderer.cpp:46:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderObject.cpp:59:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/rendering/RenderObject.cpp:62:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/Element.cpp:73:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/ScriptElement.cpp:48:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebKit/gtk/webkit/webkitwebframe.cpp:75:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/dom/DocumentStyleSheetCollection.cpp:285:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/bindings/js/JSNodeCustom.cpp:70:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/page/EventHandler.cpp:85:  Alphabetical sorting problem.  [build/include_order] [4]
ERROR: Source/WebCore/css/CSSFontSelector.cpp:51:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 29 in 283 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 Csaba Osztrogonác 2014-02-03 09:47:19 PST
Created attachment 222993 [details]
with style fixes
Comment 10 Csaba Osztrogonác 2014-02-04 04:36:24 PST
Created attachment 223098 [details]
Patch

updated to ToT, updated changelogs
Comment 11 Csaba Osztrogonác 2014-02-04 07:28:17 PST
Created attachment 223114 [details]
Patch
Comment 12 Sam Weinig 2014-02-04 14:28:24 PST
Comment on attachment 223114 [details]
Patch

rs=me! Awesome work. I was worrying I was going to have to do it.
Comment 13 Csaba Osztrogonác 2014-02-05 02:12:45 PST
Created attachment 223224 [details]
patch for landing
Comment 14 Csaba Osztrogonác 2014-02-05 03:43:30 PST
Landed in http://trac.webkit.org/changeset/163440