RESOLVED FIXED 191492
Fix a fixme: rename wtfObjcMsgSend to wtfObjCMsgSend
https://bugs.webkit.org/show_bug.cgi?id=191492
Summary Fix a fixme: rename wtfObjcMsgSend to wtfObjCMsgSend
Benjamin Poulain
Reported 2018-11-09 15:46:43 PST
Fix a fixme: rename wtfObjcMsgSend to wtfObjCMsgSend
Attachments
Patch (20.46 KB, patch)
2018-11-09 15:47 PST, Benjamin Poulain
no flags
Patch (41.86 KB, patch)
2018-11-09 16:27 PST, Benjamin Poulain
no flags
Patch (41.83 KB, patch)
2018-11-09 16:59 PST, Benjamin Poulain
no flags
Patch (42.24 KB, patch)
2018-11-09 18:52 PST, Benjamin Poulain
no flags
Patch (42.24 KB, patch)
2018-11-09 18:57 PST, Benjamin Poulain
no flags
Patch (26.94 KB, patch)
2018-11-09 19:01 PST, Benjamin Poulain
no flags
Patch (26.95 KB, patch)
2018-11-10 22:22 PST, Benjamin Poulain
no flags
Patch for landing (26.97 KB, patch)
2018-11-10 23:38 PST, Benjamin Poulain
no flags
Benjamin Poulain
Comment 1 2018-11-09 15:47:22 PST
Saam Barati
Comment 2 2018-11-09 15:56:38 PST
Comment on attachment 354398 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=354398&action=review > Source/WTF/wtf/ObjcRuntimeExtras.h:-28 > -// FIXME: This file's name and function names refer to Objective-C as Objc with a lowercase C, > -// but it should be ObjC with an uppercase C. Maybe still keep the part about the file name?
Benjamin Poulain
Comment 3 2018-11-09 16:27:24 PST
Benjamin Poulain
Comment 4 2018-11-09 16:27:59 PST
(In reply to Saam Barati from comment #2) > > -// FIXME: This file's name and function names refer to Objective-C as Objc with a lowercase C, > > -// but it should be ObjC with an uppercase C. > > Maybe still keep the part about the file name? My bad. Let's fix both :)
Benjamin Poulain
Comment 5 2018-11-09 16:59:36 PST
Benjamin Poulain
Comment 6 2018-11-09 17:00:06 PST
I am not sure what's wrong with the bots. I may have to land it by hand :(
Darin Adler
Comment 7 2018-11-09 18:22:08 PST
Maybe the Windows bots have problems because the two file names are the same on a case folding file system. The same is true on Macs, but maybe on Windows it doesn’t handle it quite right.
Benjamin Poulain
Comment 8 2018-11-09 18:52:23 PST
EWS Watchlist
Comment 9 2018-11-09 18:54:01 PST
Attachment 354425 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/API/JSValue.mm:48: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:33: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebView/WebPDFRepresentation.mm:42: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebView/WebView.mm:234: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/rendering/RenderThemeMac.mm:80: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/Plugins/WebBasePluginPackage.mm:43: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/platform/mac/WebCoreObjCExtras.mm:35: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebView/WebHTMLView.mm:146: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:71: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/DumpRenderTree/mac/DumpRenderTree.mm:96: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:35: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm:54: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKit/Platform/mac/StringUtilities.mm:32: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebCoreSupport/WebCachedFramePlatformData.h:31: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 14 in 36 files If any of these errors are false positives, please file a bug against check-webkit-style.
Benjamin Poulain
Comment 10 2018-11-09 18:57:14 PST
EWS Watchlist
Comment 11 2018-11-09 18:59:13 PST
Attachment 354426 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/API/JSValue.mm:48: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:33: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebView/WebPDFRepresentation.mm:42: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebView/WebView.mm:234: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/rendering/RenderThemeMac.mm:80: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/Plugins/WebBasePluginPackage.mm:43: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/platform/mac/WebCoreObjCExtras.mm:35: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebView/WebHTMLView.mm:146: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:71: Alphabetical sorting problem. [build/include_order] [4] ERROR: Tools/DumpRenderTree/mac/DumpRenderTree.mm:96: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:35: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm:54: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKit/Platform/mac/StringUtilities.mm:32: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKitLegacy/mac/WebCoreSupport/WebCachedFramePlatformData.h:31: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 14 in 36 files If any of these errors are false positives, please file a bug against check-webkit-style.
Benjamin Poulain
Comment 12 2018-11-09 19:01:47 PST
Benjamin Poulain
Comment 13 2018-11-09 19:02:47 PST
Ok, let's not risk breaking Windows. The first patch renames the file to WTFObjCRuntimeExtras.h. Followed by second patch to give the correct name.
WebKit Commit Bot
Comment 14 2018-11-10 22:16:30 PST
Comment on attachment 354426 [details] Patch Clearing flags on attachment: 354426 Committed r238073: <https://trac.webkit.org/changeset/238073>
Benjamin Poulain
Comment 15 2018-11-10 22:22:15 PST
WebKit Commit Bot
Comment 16 2018-11-10 23:17:09 PST
Comment on attachment 354497 [details] Patch Rejecting attachment 354497 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'validate-changelog', '--check-oops', '--non-interactive', 354497, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog is not at the top of the file. Full output: https://webkit-queues.webkit.org/results/9946027
Benjamin Poulain
Comment 17 2018-11-10 23:38:19 PST
Created attachment 354498 [details] Patch for landing
WebKit Commit Bot
Comment 18 2018-11-11 00:26:41 PST
The commit-queue encountered the following flaky tests while processing attachment 354498 [details]: workers/wasm-long-compile.html bug 191513 (author: sbarati@apple.com) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 19 2018-11-11 00:27:39 PST
Comment on attachment 354498 [details] Patch for landing Clearing flags on attachment: 354498 Committed r238074: <https://trac.webkit.org/changeset/238074>
WebKit Commit Bot
Comment 20 2018-11-11 00:27:41 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 21 2018-11-11 00:28:25 PST
Ross Kirsling
Comment 22 2018-11-11 19:21:59 PST
I suppose the same casing fix should be made for JavaScriptCore/API/ObjcRuntimeExtras.h?
Benjamin Poulain
Comment 23 2018-11-11 22:42:34 PST
(In reply to Ross Kirsling from comment #22) > I suppose the same casing fix should be made for > JavaScriptCore/API/ObjcRuntimeExtras.h? Eventually yes. I fixed the WTF one since I'll probably add more features to it soon.
Frédéric Wang (:fredw)
Comment 24 2018-11-13 03:06:58 PST
Just for the record, one has to to delete existing ObjcRuntimeExtras.h copies in the WebKit build directory after this change in order to avoid build failures.
Keith Miller
Comment 25 2018-11-15 18:53:46 PST
Ben! You're killing me with this patch... The rename doesn't work if you rebase over both patches! All my checkouts are broken 😭!
Benjamin Poulain
Comment 26 2018-11-16 00:19:16 PST
(In reply to Keith Miller from comment #25) > Ben! You're killing me with this patch... The rename doesn't work if you > rebase over both patches! All my checkouts are broken 😭! I am sorry. I did not expect this to go so poorly :( I won't do that again.
Note You need to log in before you can comment on or make changes to this bug.