WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203074
Make it possible to not include IPC Messages headers in other headers
https://bugs.webkit.org/show_bug.cgi?id=203074
Summary
Make it possible to not include IPC Messages headers in other headers
Tim Horton
Reported
2019-10-17 00:25:59 PDT
Make it possible to not include IPC Messages headers in other headers
Attachments
Patch
(60.39 KB, patch)
2019-10-17 00:32 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(88.79 KB, patch)
2019-10-21 22:45 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(89.37 KB, patch)
2019-10-22 01:06 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(95.39 KB, patch)
2019-10-22 10:09 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(95.44 KB, patch)
2019-10-22 10:51 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(95.96 KB, patch)
2019-10-22 11:17 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2019-10-17 00:32:46 PDT
Created
attachment 381174
[details]
Patch
Tim Horton
Comment 2
2019-10-17 00:33:38 PDT
Comment on
attachment 381174
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381174&action=review
> Source/WebKit/Scripts/webkit/messages.py:287 > +def forward_declarations_and_headers_for_replies(receiver):
I think we can de-duplicate a bunch of this code. Need to think about how I want to make it look.
Tim Horton
Comment 3
2019-10-17 00:34:04 PDT
I guess I have some CMake fixing to do too.
Alex Christensen
Comment 4
2019-10-17 08:39:35 PDT
Comment on
attachment 381174
[details]
Patch Please also update Source/WebKit/Scripts/Makefile and run it to update the generator tests.
Tim Horton
Comment 5
2019-10-21 22:45:07 PDT
Created
attachment 381510
[details]
Patch
Tim Horton
Comment 6
2019-10-22 01:06:46 PDT
Created
attachment 381522
[details]
Patch
Tim Horton
Comment 7
2019-10-22 01:15:14 PDT
(In reply to Alex Christensen from
comment #4
)
> Comment on
attachment 381174
[details]
> Patch > > Please also update Source/WebKit/Scripts/Makefile and run it to update the > generator tests.
Man, that would have been nice to know about when I was writing this :(
Tim Horton
Comment 8
2019-10-22 01:19:43 PDT
Comment on
attachment 381522
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381522&action=review
> Source/WebKit/DerivedSources.make:212 > + @echo Generating messages receiver for $*...
huh, don’t know why I pluralized that
> Source/WebKit/Scripts/webkit/LegacyMessages-expected.h:364 > + using DelayedReply = GetPluginProcessConnectionDelayedReply; static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&, const IPC::Connection::Handle& connectionHandle);
This is a bug
> Source/WebKit/UIProcess/WebPageProxy.cpp:259 > + String message;
Shouldn’t do this, gotta give it its own file
Alex Christensen
Comment 9
2019-10-22 07:07:40 PDT
Comment on
attachment 381522
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381522&action=review
>> Source/WebKit/Scripts/webkit/LegacyMessages-expected.h:364 >> + using DelayedReply = GetPluginProcessConnectionDelayedReply; static void send(std::unique_ptr<IPC::Encoder>&&, IPC::Connection&, const IPC::Connection::Handle& connectionHandle); > > This is a bug
Hooray tests!
Tim Horton
Comment 10
2019-10-22 10:09:25 PDT
Created
attachment 381557
[details]
Patch
Tim Horton
Comment 11
2019-10-22 10:51:41 PDT
Created
attachment 381564
[details]
Patch
Tim Horton
Comment 12
2019-10-22 11:17:26 PDT
Created
attachment 381568
[details]
Patch
Geoffrey Garen
Comment 13
2019-10-22 11:34:31 PDT
Comment on
attachment 381568
[details]
Patch r=me
WebKit Commit Bot
Comment 14
2019-10-22 13:02:26 PDT
Comment on
attachment 381568
[details]
Patch Clearing flags on attachment: 381568 Committed
r251445
: <
https://trac.webkit.org/changeset/251445
>
WebKit Commit Bot
Comment 15
2019-10-22 13:02:28 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 16
2019-10-22 13:03:27 PDT
<
rdar://problem/56511583
>
Tim Horton
Comment 17
2019-10-22 13:09:14 PDT
Comment on
attachment 381568
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381568&action=review
> Source/WebKit/Scripts/Makefile:2 > + python ./generate-message-receiver.py webkit/test-superclass-messages.in --implementation webkit/MessageReceiverSuperclass-expected.cpp --header webkit/MessagesSuperclass-expected.h --reply-header webkit/MessagesRepliesSuperclassReplies-expected.h
... I typoed the word "Receiver" as "Replies" in the last filename here
Truitt Savell
Comment 18
2019-10-22 14:53:20 PDT
(In reply to Tim Horton from
comment #17
)
> Comment on
attachment 381568
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=381568&action=review
> > > Source/WebKit/Scripts/Makefile:2 > > + python ./generate-message-receiver.py webkit/test-superclass-messages.in --implementation webkit/MessageReceiverSuperclass-expected.cpp --header webkit/MessagesSuperclass-expected.h --reply-header webkit/MessagesRepliesSuperclassReplies-expected.h > > ... I typoed the word "Receiver" as "Replies" in the last filename here
It looks like this change may have caused 4 webkitpy test failures:
https://build.webkit.org/builders/Apple%20Mojave%20Release%20WK2%20%28Tests%29/builds/7595
Tim Horton
Comment 19
2019-10-22 15:37:04 PDT
I'll take a peek!
Tim Horton
Comment 20
2019-10-22 15:59:47 PDT
(In reply to Tim Horton from
comment #19
)
> I'll take a peek!
Fixed in
r251464
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug