Bug 155331

Summary: Expose additional WKDataDetectorTypes
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: WebKit2Assignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, ryanhaddad, sam, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
thorton: review-
Patch2 thorton: review+

Description Enrica Casucci 2016-03-10 15:22:02 PST
Adding support for flight, tracking numbers and spotlight suggestions.

rdar://problem/24175813
Comment 1 Enrica Casucci 2016-03-10 15:27:00 PST
Created attachment 273635 [details]
Patch
Comment 2 WebKit Commit Bot 2016-03-10 15:28:32 PST
Attachment 273635 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h:36:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2016-03-10 16:07:46 PST
Comment on attachment 273635 [details]
Patch

I think we need some naming changes here. Will discuss offline.
Comment 4 Enrica Casucci 2016-03-10 16:47:30 PST
Created attachment 273653 [details]
Patch2
Comment 5 WebKit Commit Bot 2016-03-10 16:50:17 PST
Attachment 273653 [details] did not pass style-queue:


ERROR: Source/WebCore/editing/cocoa/DataDetection.mm:47:  *SoftLink.h header should be included after all other headers.  [build/include_order] [4]
ERROR: Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h:36:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 2 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Enrica Casucci 2016-03-10 17:06:55 PST
Committed revision 197976.
Comment 8 David Kilzer (:ddkilzer) 2016-03-10 21:01:51 PST
(In reply to comment #7)
> This change broke Mac and iOS builds
> 
> <https://build.webkit.org/builders/
> Apple%20El%20Capitan%20Release%20%28Build%29/builds/4426>
> <https://build.webkit.org/builders/
> Apple%20iOS%209%20Simulator%20Release%20%28Build%29/builds/4356>

Committed r197977:  <http://trac.webkit.org/r197977>

Additional fix for internal iOS 9.x SDK builds:

Committed r197992:  <http://trac.webkit.org/r197992>
Comment 9 Tim Horton 2016-03-10 21:09:32 PST
(In reply to comment #8)
> (In reply to comment #7)
> > This change broke Mac and iOS builds
> > 
> > <https://build.webkit.org/builders/
> > Apple%20El%20Capitan%20Release%20%28Build%29/builds/4426>
> > <https://build.webkit.org/builders/
> > Apple%20iOS%209%20Simulator%20Release%20%28Build%29/builds/4356>
> 
> Committed r197977:  <http://trac.webkit.org/r197977>
> 
> Additional fix for internal iOS 9.x SDK builds:
> 
> Committed r197992:  <http://trac.webkit.org/r197992>

I don't think that will fix anything by itself; I landed 197993 on top of it which should actually fix.
Comment 10 David Kilzer (:ddkilzer) 2016-03-10 21:45:02 PST
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > This change broke Mac and iOS builds
> > > 
> > > <https://build.webkit.org/builders/
> > > Apple%20El%20Capitan%20Release%20%28Build%29/builds/4426>
> > > <https://build.webkit.org/builders/
> > > Apple%20iOS%209%20Simulator%20Release%20%28Build%29/builds/4356>
> > 
> > Committed r197977:  <http://trac.webkit.org/r197977>
> > 
> > Additional fix for internal iOS 9.x SDK builds:
> > 
> > Committed r197992:  <http://trac.webkit.org/r197992>
> 
> I don't think that will fix anything by itself; I landed 197993 on top of it
> which should actually fix.

Yes, it wasn't a complete fix in hindsight; only addressed the missing DDOptionalSource.h header error.

Thanks Tim!