Title: [186090] trunk/Source/WebCore
Revision
186090
Author
timothy_hor...@apple.com
Date
2015-06-29 15:42:01 -0700 (Mon, 29 Jun 2015)

Log Message

Fix the build.

* editing/cocoa/HTMLConverter.mm:
* platform/spi/cocoa/NSAttributedStringSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (186089 => 186090)


--- trunk/Source/WebCore/ChangeLog	2015-06-29 22:35:36 UTC (rev 186089)
+++ trunk/Source/WebCore/ChangeLog	2015-06-29 22:42:01 UTC (rev 186090)
@@ -2,8 +2,21 @@
 
         Fix the build.
 
+        * editing/cocoa/HTMLConverter.mm:
         * platform/spi/cocoa/NSAttributedStringSPI.h:
 
+2015-06-29  Tim Horton  <timothy_hor...@apple.com>
+
+        Fix the build.
+
+        * platform/spi/cocoa/NSAttributedStringSPI.h:
+
+2015-06-29  Tim Horton  <timothy_hor...@apple.com>
+
+        Fix the build.
+
+        * platform/spi/cocoa/NSAttributedStringSPI.h:
+
 2015-06-27  Ryosuke Niwa  <rn...@webkit.org>
 
         Font panel doesn't get updated when bolding text via cmd+b in Mail on OS X

Modified: trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm (186089 => 186090)


--- trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm	2015-06-29 22:35:36 UTC (rev 186089)
+++ trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm	2015-06-29 22:42:01 UTC (rev 186090)
@@ -71,7 +71,6 @@
 SOFT_LINK_FRAMEWORK(UIKit)
 SOFT_LINK_CLASS(UIKit, UIColor)
 
-SOFT_LINK_PRIVATE_FRAMEWORK(UIFoundation)
 SOFT_LINK_CLASS(UIFoundation, UIFont)
 SOFT_LINK_CLASS(UIFoundation, NSColor)
 SOFT_LINK_CLASS(UIFoundation, NSShadow)
@@ -84,65 +83,6 @@
 SOFT_LINK_CLASS(UIFoundation, NSTextTable)
 SOFT_LINK_CLASS(UIFoundation, NSTextTab)
 
-SOFT_LINK_CONSTANT(UIFoundation, NSFontAttributeName, NSString *)
-#define NSFontAttributeName getNSFontAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSForegroundColorAttributeName, NSString *)
-#define NSForegroundColorAttributeName getNSForegroundColorAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSBackgroundColorAttributeName, NSString *)
-#define NSBackgroundColorAttributeName getNSBackgroundColorAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSStrokeColorAttributeName, NSString *)
-#define NSStrokeColorAttributeName getNSStrokeColorAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSStrokeWidthAttributeName, NSString *)
-#define NSStrokeWidthAttributeName getNSStrokeWidthAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSShadowAttributeName, NSString *)
-#define NSShadowAttributeName getNSShadowAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSKernAttributeName, NSString *)
-#define NSKernAttributeName getNSKernAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSLigatureAttributeName, NSString *)
-#define NSLigatureAttributeName getNSLigatureAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSUnderlineStyleAttributeName, NSString *)
-#define NSUnderlineStyleAttributeName getNSUnderlineStyleAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSStrikethroughStyleAttributeName, NSString *)
-#define NSStrikethroughStyleAttributeName getNSStrikethroughStyleAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSBaselineOffsetAttributeName, NSString *)
-#define NSBaselineOffsetAttributeName getNSBaselineOffsetAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSWritingDirectionAttributeName, NSString *)
-#define NSWritingDirectionAttributeName getNSWritingDirectionAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSParagraphStyleAttributeName, NSString *)
-#define NSParagraphStyleAttributeName getNSParagraphStyleAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSAttachmentAttributeName, NSString *)
-#define NSAttachmentAttributeName getNSAttachmentAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSLinkAttributeName, NSString *)
-#define NSLinkAttributeName getNSLinkAttributeName()
-SOFT_LINK_CONSTANT(UIFoundation, NSAuthorDocumentAttribute, NSString *)
-#define NSAuthorDocumentAttribute getNSAuthorDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSEditorDocumentAttribute, NSString *)
-#define NSEditorDocumentAttribute getNSEditorDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSGeneratorDocumentAttribute, NSString *)
-#define NSGeneratorDocumentAttribute getNSGeneratorDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSCompanyDocumentAttribute, NSString *)
-#define NSCompanyDocumentAttribute getNSCompanyDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSDisplayNameDocumentAttribute, NSString *)
-#define NSDisplayNameDocumentAttribute getNSDisplayNameDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSCopyrightDocumentAttribute, NSString *)
-#define NSCopyrightDocumentAttribute getNSCopyrightDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSSubjectDocumentAttribute, NSString *)
-#define NSSubjectDocumentAttribute getNSSubjectDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSCommentDocumentAttribute, NSString *)
-#define NSCommentDocumentAttribute getNSCommentDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSNoIndexDocumentAttribute, NSString *)
-#define NSNoIndexDocumentAttribute getNSNoIndexDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSKeywordsDocumentAttribute, NSString *)
-#define NSKeywordsDocumentAttribute getNSKeywordsDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSCreationTimeDocumentAttribute, NSString *)
-#define NSCreationTimeDocumentAttribute getNSCreationTimeDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSModificationTimeDocumentAttribute, NSString *)
-#define NSModificationTimeDocumentAttribute getNSModificationTimeDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSConvertedDocumentAttribute, NSString *)
-#define NSConvertedDocumentAttribute getNSConvertedDocumentAttribute()
-SOFT_LINK_CONSTANT(UIFoundation, NSCocoaVersionDocumentAttribute, NSString *)
-#define NSCocoaVersionDocumentAttribute getNSCocoaVersionDocumentAttribute()
-
 #define PlatformNSShadow            getNSShadowClass()
 #define PlatformNSTextAttachment    getNSTextAttachmentClass()
 #define PlatformNSParagraphStyle    getNSParagraphStyleClass()
@@ -156,10 +96,6 @@
 #define PlatformFont                UIFont
 #define PlatformFontClass           getUIFontClass()
 
-// We don't softlink NSSuperscriptAttributeName because UIFoundation stopped exporting it.
-// This attribute is being deprecated at the API level, but internally UIFoundation
-// will continue to support it.
-static NSString *const NSSuperscriptAttributeName = @"NSSuperscript";
 #else
 
 #define PlatformNSShadow            NSShadow

Modified: trunk/Source/WebCore/platform/spi/cocoa/NSAttributedStringSPI.h (186089 => 186090)


--- trunk/Source/WebCore/platform/spi/cocoa/NSAttributedStringSPI.h	2015-06-29 22:35:36 UTC (rev 186089)
+++ trunk/Source/WebCore/platform/spi/cocoa/NSAttributedStringSPI.h	2015-06-29 22:42:01 UTC (rev 186090)
@@ -49,11 +49,68 @@
 
 SOFT_LINK_CONSTANT(UIFoundation, NSFontAttributeName, NSString *)
 #define NSFontAttributeName getNSFontAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSForegroundColorAttributeName, NSString *)
+#define NSForegroundColorAttributeName getNSForegroundColorAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSBackgroundColorAttributeName, NSString *)
+#define NSBackgroundColorAttributeName getNSBackgroundColorAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSStrokeColorAttributeName, NSString *)
+#define NSStrokeColorAttributeName getNSStrokeColorAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSStrokeWidthAttributeName, NSString *)
+#define NSStrokeWidthAttributeName getNSStrokeWidthAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSShadowAttributeName, NSString *)
+#define NSShadowAttributeName getNSShadowAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSKernAttributeName, NSString *)
+#define NSKernAttributeName getNSKernAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSLigatureAttributeName, NSString *)
+#define NSLigatureAttributeName getNSLigatureAttributeName()
 SOFT_LINK_CONSTANT(UIFoundation, NSUnderlineStyleAttributeName, NSString *)
 #define NSUnderlineStyleAttributeName getNSUnderlineStyleAttributeName()
 SOFT_LINK_CONSTANT(UIFoundation, NSStrikethroughStyleAttributeName, NSString *)
 #define NSStrikethroughStyleAttributeName getNSStrikethroughStyleAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSBaselineOffsetAttributeName, NSString *)
+#define NSBaselineOffsetAttributeName getNSBaselineOffsetAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSWritingDirectionAttributeName, NSString *)
+#define NSWritingDirectionAttributeName getNSWritingDirectionAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSParagraphStyleAttributeName, NSString *)
+#define NSParagraphStyleAttributeName getNSParagraphStyleAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSAttachmentAttributeName, NSString *)
+#define NSAttachmentAttributeName getNSAttachmentAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSLinkAttributeName, NSString *)
+#define NSLinkAttributeName getNSLinkAttributeName()
+SOFT_LINK_CONSTANT(UIFoundation, NSAuthorDocumentAttribute, NSString *)
+#define NSAuthorDocumentAttribute getNSAuthorDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSEditorDocumentAttribute, NSString *)
+#define NSEditorDocumentAttribute getNSEditorDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSGeneratorDocumentAttribute, NSString *)
+#define NSGeneratorDocumentAttribute getNSGeneratorDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSCompanyDocumentAttribute, NSString *)
+#define NSCompanyDocumentAttribute getNSCompanyDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSDisplayNameDocumentAttribute, NSString *)
+#define NSDisplayNameDocumentAttribute getNSDisplayNameDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSCopyrightDocumentAttribute, NSString *)
+#define NSCopyrightDocumentAttribute getNSCopyrightDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSSubjectDocumentAttribute, NSString *)
+#define NSSubjectDocumentAttribute getNSSubjectDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSCommentDocumentAttribute, NSString *)
+#define NSCommentDocumentAttribute getNSCommentDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSNoIndexDocumentAttribute, NSString *)
+#define NSNoIndexDocumentAttribute getNSNoIndexDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSKeywordsDocumentAttribute, NSString *)
+#define NSKeywordsDocumentAttribute getNSKeywordsDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSCreationTimeDocumentAttribute, NSString *)
+#define NSCreationTimeDocumentAttribute getNSCreationTimeDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSModificationTimeDocumentAttribute, NSString *)
+#define NSModificationTimeDocumentAttribute getNSModificationTimeDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSConvertedDocumentAttribute, NSString *)
+#define NSConvertedDocumentAttribute getNSConvertedDocumentAttribute()
+SOFT_LINK_CONSTANT(UIFoundation, NSCocoaVersionDocumentAttribute, NSString *)
+#define NSCocoaVersionDocumentAttribute getNSCocoaVersionDocumentAttribute()
 
+// We don't softlink NSSuperscriptAttributeName because UIFoundation stopped exporting it.
+// This attribute is being deprecated at the API level, but internally UIFoundation
+// will continue to support it.
+static NSString *const NSSuperscriptAttributeName = @"NSSuperscript";
+
 #endif
 
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to