RESOLVED FIXED 136146
more WEBCORE_EXPORT macros
https://bugs.webkit.org/show_bug.cgi?id=136146
Summary more WEBCORE_EXPORT macros
Alex Christensen
Reported 2014-08-21 20:54:04 PDT
I'm almost done after this. Just some fine tuning and probably some things I've forgotten.
Attachments
Patch (282.92 KB, patch)
2014-08-21 20:56 PDT, Alex Christensen
benjamin: review+
benjamin: commit-queue-
Alex Christensen
Comment 1 2014-08-21 20:56:05 PDT
WebKit Commit Bot
Comment 2 2014-08-21 20:58:08 PDT
Attachment 236960 [details] did not pass style-queue: ERROR: Source/WebCore/platform/graphics/Color.h:59: The parameter name "a" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/cf/RunLoopObserver.h:41: The parameter name "callback" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:75: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:77: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:78: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:79: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:80: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:81: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:82: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:83: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:86: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:90: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:91: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:92: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/replay/UserInputBridge.h:93: The parameter name "source" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/editing/VisibleSelection.h:90: The parameter name "granularity" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/Scrollbar.h:48: The parameter name "orientation" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/Scrollbar.h:48: The parameter name "size" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/page/scrolling/ScrollingThread.h:49: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.h:53: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/network/ResourceResponseBase.h:59: The parameter name "url" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/ResourceResponseBase.h:62: The parameter name "mimeType" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/ResourceResponseBase.h:65: The parameter name "expectedContentLength" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/ResourceResponseBase.h:68: The parameter name "name" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/editing/VisibleUnits.h:105: The parameter name "position" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/editing/VisibleUnits.h:106: The parameter name "position" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/ResourceRequestBase.h:66: The parameter name "url" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/ResourceRequestBase.h:71: The parameter name "cachePolicy" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/ResourceRequestBase.h:80: The parameter name "httpMethod" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/ResourceRequestBase.h:122: The parameter name "httpBody" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/network/cf/ResourceError.h:59: The parameter name "error" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/editing/SmartReplace.h:36: The parameter name "c" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/Widget.h:144: The parameter name "view" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/SharedBuffer.h:61: The parameter name "vector" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/SharedBuffer.h:67: The parameter name "data" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 35 in 183 files If any of these errors are false positives, please file a bug against check-webkit-style.
Benjamin Poulain
Comment 3 2014-08-21 21:02:50 PDT
Comment on attachment 236960 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236960&action=review > Source/WebCore/page/UserMessageHandlerDescriptor.h:61 > + Noooooo > Source/WebCore/platform/text/TextStream.h:85 > + Noooooooo
Alex Christensen
Comment 4 2014-08-21 21:40:34 PDT
http://trac.webkit.org/changeset/172849 broke the Windows build. I'll commit a fix, too.
Brent Fulgham
Comment 5 2014-08-21 22:16:41 PDT
(In reply to comment #4) > http://trac.webkit.org/changeset/172849 broke the Windows build. I'll commit a fix, too. It looks like you need to define WEBCORE_EXPORT in the WebKit build, or else the WebCore headers it imports will be unusable.
Alex Christensen
Comment 6 2014-08-21 22:28:54 PDT
https://trac.webkit.org/r172852 fixed my windows build.
Alex Christensen
Comment 7 2014-08-21 23:51:37 PDT
Note You need to log in before you can comment on or make changes to this bug.