Bug 102670 - Remove 'module' from IDL parser
Summary: Remove 'module' from IDL parser
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kentaro Hara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 03:45 PST by Kentaro Hara
Modified: 2012-11-22 15:13 PST (History)
10 users (show)

See Also:


Attachments
Patch (3.25 KB, patch)
2012-11-19 03:49 PST, Kentaro Hara
no flags Details | Formatted Diff | Diff
patch for landing (3.25 KB, patch)
2012-11-21 16:57 PST, Kentaro Hara
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kentaro Hara 2012-11-19 03:45:29 PST
The Web IDL spec no longer supports 'module'. We already removed 'module's from WebKit IDL files. So we'd like to remove 'module' from the IDL parser.

That being said, it looks like Apple's internal builds are still using 'module's. Once they're removed, I'm happy to make a change to the IDL parser.
Comment 1 Kentaro Hara 2012-11-19 03:49:25 PST
Created attachment 174941 [details]
Patch
Comment 2 Timothy Hatcher 2012-11-19 07:12:21 PST
Safari uses this script for some internal IDLs that have module in them. I'm fine with this change, but can we wait to land it until next week? That way we have some time to fix our IDLs first. Thanks!
Comment 3 Adam Barth 2012-11-19 12:12:43 PST
Please coordinate with Timothy to avoid breaking the Safari build.
Comment 4 Kentaro Hara 2012-11-19 16:35:37 PST
(In reply to comment #2)
> Safari uses this script for some internal IDLs that have module in them. I'm fine with this change, but can we wait to land it until next week? That way we have some time to fix our IDLs first. Thanks!

Sure, thanks for the help! You just need to remove

  module xxx {
    ...;
  };

from your IDL files.
Comment 5 Kentaro Hara 2012-11-19 17:52:00 PST
timothy: Thanks for commenting here and there! We've already almost removed deprecated IDL syntaxes from WebKit IDL files. However, the IDL parser and code generators still support old syntaxes. We want to eventually remove them. I would appreciate your collaboration.
Comment 6 Timothy Hatcher 2012-11-19 17:56:39 PST
I'll comment in here once I remove module from our files. Let use know if there is any other syntax that i being removed. Thanks!
Comment 7 Kentaro Hara 2012-11-19 18:06:54 PST
Thanks. Bug 98980 is a meta bug. Let's discuss the overall working plan there.
Comment 8 Timothy Hatcher 2012-11-21 16:42:08 PST
This is safe to land now. I've updated all of our internal IDL files.
Comment 9 Kentaro Hara 2012-11-21 16:57:35 PST
Created attachment 175547 [details]
patch for landing
Comment 10 Kentaro Hara 2012-11-21 16:58:34 PST
(In reply to comment #8)
> This is safe to land now. I've updated all of our internal IDL files.

I'd appreciate your support!
Comment 11 WebKit Review Bot 2012-11-21 19:12:39 PST
Comment on attachment 175547 [details]
patch for landing

Rejecting attachment 175547 [details] from commit-queue.

New failing tests:
platform/chromium-linux/fast/text/international/complex-joining-using-gpos.html
Full output: http://queues.webkit.org/results/14961199
Comment 12 WebKit Review Bot 2012-11-22 02:28:32 PST
Comment on attachment 175547 [details]
patch for landing

Rejecting attachment 175547 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
 Merge conflict in Tools/ChangeLog
Failed to merge in the changes.
Patch failed at 0001 Coordinated Graphics: Remove an invisible TiledBackingStore of CoordinatedGraphicsLayer.

When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".

rebase refs/remotes/origin/master: command returned error: 1

Died at Tools/Scripts/update-webkit line 154.

Full output: http://queues.webkit.org/results/14963287
Comment 13 WebKit Review Bot 2012-11-22 10:26:55 PST
Comment on attachment 175547 [details]
patch for landing

Rejecting attachment 175547 [details] from commit-queue.

New failing tests:
platform/chromium-linux/fast/text/international/complex-joining-using-gpos.html
Full output: http://queues.webkit.org/results/14960412
Comment 14 WebKit Review Bot 2012-11-22 15:12:56 PST
Comment on attachment 175547 [details]
patch for landing

Clearing flags on attachment: 175547

Committed r135547: <http://trac.webkit.org/changeset/135547>
Comment 15 WebKit Review Bot 2012-11-22 15:13:00 PST
All reviewed patches have been landed.  Closing bug.