Diff
Modified: trunk/Source/WebCore/ChangeLog (179885 => 179886)
--- trunk/Source/WebCore/ChangeLog 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/ChangeLog 2015-02-10 23:07:47 UTC (rev 179886)
@@ -1,3 +1,37 @@
+2015-02-10 Alex Christensen <achristen...@webkit.org>
+
+ Add more WEBCORE_EXPORT macros for iOS.
+ https://bugs.webkit.org/show_bug.cgi?id=141430
+
+ Reviewed by Tim Horton.
+
+ * bindings/objc/WebScriptObject.h:
+ * bindings/scripts/CodeGeneratorObjC.pm:
+ (GenerateHeader):
+ * dom/Event.h:
+ * dom/Node.h:
+ * editing/FrameSelection.h:
+ * html/HTMLFormControlElement.h:
+ * html/HTMLMediaSession.h:
+ * page/Frame.h:
+ * page/FrameView.h:
+ * platform/ScrollView.h:
+ * platform/ios/PasteboardIOS.mm:
+ * platform/ios/wak/WAKAppKitStubs.h:
+ * platform/ios/wak/WAKClipView.h:
+ * platform/ios/wak/WAKScrollView.h:
+ * platform/ios/wak/WAKView.h:
+ * platform/ios/wak/WAKWindow.h:
+ * platform/ios/wak/WAKWindow.mm:
+ * platform/ios/wak/WKContentObservation.h:
+ * platform/ios/wak/WKGraphics.h:
+ * platform/ios/wak/WebCoreThread.h:
+ * platform/ios/wak/WebCoreThread.mm:
+ * platform/ios/wak/WebCoreThreadRun.h:
+ * platform/ios/wak/WebCoreThreadSystemInterface.h:
+ * platform/network/ios/QuickLook.h:
+ * platform/text/TextBreakIterator.h:
+
2015-02-09 David Hyatt <hy...@apple.com>
text-underline-position: under is broken
Modified: trunk/Source/WebCore/bindings/objc/WebScriptObject.h (179885 => 179886)
--- trunk/Source/WebCore/bindings/objc/WebScriptObject.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/bindings/objc/WebScriptObject.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -219,7 +219,7 @@
- (void)setWebScriptValueAtIndex:(unsigned)index value:(id)value;
*/
WEBKIT_CLASS_AVAILABLE_MAC(10_4)
-@interface WebScriptObject : NSObject
+WEBCORE_EXPORT @interface WebScriptObject : NSObject
{
WebScriptObjectPrivate *_private;
}
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm (179885 => 179886)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm 2015-02-10 23:07:47 UTC (rev 179886)
@@ -831,7 +831,7 @@
}
# - Begin @interface or @protocol
- my $interfaceDeclaration = ($isProtocol ? "\@protocol $className" : "\@interface $className : $parentName");
+ my $interfaceDeclaration = ($isProtocol ? "\@protocol $className" : "WEBCORE_EXPORT \@interface $className : $parentName");
$interfaceDeclaration .= " <" . join(", ", @protocolsToImplement) . ">" if @protocolsToImplement > 0;
$interfaceDeclaration .= "\n";
Modified: trunk/Source/WebCore/dom/Event.h (179885 => 179886)
--- trunk/Source/WebCore/dom/Event.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/dom/Event.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -180,7 +180,7 @@
protected:
Event();
- Event(const AtomicString& type, bool canBubble, bool cancelable);
+ WEBCORE_EXPORT Event(const AtomicString& type, bool canBubble, bool cancelable);
Event(const AtomicString& type, bool canBubble, bool cancelable, double timestamp);
Event(const AtomicString& type, const EventInit&);
Modified: trunk/Source/WebCore/dom/Node.h (179885 => 179886)
--- trunk/Source/WebCore/dom/Node.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/dom/Node.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -690,7 +690,7 @@
bool hasTreeSharedParent() const { return !!parentNode(); }
enum EditableLevel { Editable, RichlyEditable };
- bool hasEditableStyle(EditableLevel, UserSelectAllTreatment = UserSelectAllIsAlwaysNonEditable) const;
+ WEBCORE_EXPORT bool hasEditableStyle(EditableLevel, UserSelectAllTreatment = UserSelectAllIsAlwaysNonEditable) const;
WEBCORE_EXPORT bool isEditableToAccessibility(EditableLevel) const;
virtual void refEventTarget() override;
Modified: trunk/Source/WebCore/editing/FrameSelection.h (179885 => 179886)
--- trunk/Source/WebCore/editing/FrameSelection.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/editing/FrameSelection.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -137,7 +137,7 @@
WEBCORE_EXPORT Element* rootEditableElementOrDocumentElement() const;
void moveTo(const Range*);
- void moveTo(const VisiblePosition&, EUserTriggered = NotUserTriggered, CursorAlignOnScroll = AlignCursorOnScrollIfNeeded);
+ WEBCORE_EXPORT void moveTo(const VisiblePosition&, EUserTriggered = NotUserTriggered, CursorAlignOnScroll = AlignCursorOnScrollIfNeeded);
WEBCORE_EXPORT void moveTo(const VisiblePosition&, const VisiblePosition&, EUserTriggered = NotUserTriggered);
void moveTo(const Position&, EAffinity, EUserTriggered = NotUserTriggered);
void moveTo(const Position&, const Position&, EAffinity, EUserTriggered = NotUserTriggered);
Modified: trunk/Source/WebCore/html/HTMLFormControlElement.h (179885 => 179886)
--- trunk/Source/WebCore/html/HTMLFormControlElement.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/html/HTMLFormControlElement.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -90,10 +90,10 @@
virtual void setActivatedSubmit(bool) { }
#if ENABLE(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE)
- bool autocorrect() const;
+ WEBCORE_EXPORT bool autocorrect() const;
void setAutocorrect(bool);
- WebAutocapitalizeType autocapitalizeType() const;
+ WEBCORE_EXPORT WebAutocapitalizeType autocapitalizeType() const;
const AtomicString& autocapitalize() const;
void setAutocapitalize(const AtomicString&);
#endif
Modified: trunk/Source/WebCore/html/HTMLMediaSession.h (179885 => 179886)
--- trunk/Source/WebCore/html/HTMLMediaSession.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/html/HTMLMediaSession.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -61,7 +61,7 @@
void setHasPlaybackTargetAvailabilityListeners(const HTMLMediaElement&, bool);
#endif
bool requiresFullscreenForVideoPlayback(const HTMLMediaElement&) const;
- bool allowsAlternateFullscreen(const HTMLMediaElement&) const;
+ WEBCORE_EXPORT bool allowsAlternateFullscreen(const HTMLMediaElement&) const;
MediaPlayer::Preload effectivePreloadForElement(const HTMLMediaElement&) const;
void applyMediaPlayerRestrictions(const HTMLMediaElement&);
Modified: trunk/Source/WebCore/page/Frame.h (179885 => 179886)
--- trunk/Source/WebCore/page/Frame.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/page/Frame.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -252,7 +252,7 @@
WEBCORE_EXPORT void clearRangedSelectionInitialExtent();
WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionStart();
WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionEnd();
- VisibleSelection rangedSelectionBase() const;
+ WEBCORE_EXPORT VisibleSelection rangedSelectionBase() const;
WEBCORE_EXPORT VisibleSelection rangedSelectionInitialExtent() const;
WEBCORE_EXPORT void recursiveSetUpdateAppearanceEnabled(bool);
WEBCORE_EXPORT NSArray* interpretationsForCurrentRoot() const;
Modified: trunk/Source/WebCore/page/FrameView.h (179885 => 179886)
--- trunk/Source/WebCore/page/FrameView.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/page/FrameView.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -244,7 +244,7 @@
void delayedScrollEventTimerFired();
void viewportContentsChanged();
- void resumeVisibleImageAnimationsIncludingSubframes();
+ WEBCORE_EXPORT void resumeVisibleImageAnimationsIncludingSubframes();
// This is different than visibleContentRect() in that it ignores negative (or overly positive)
// offsets from rubber-banding, and it takes zooming into account.
Modified: trunk/Source/WebCore/platform/ScrollView.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ScrollView.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ScrollView.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -180,7 +180,7 @@
// Parts of the document can be visible through transparent or blured UI widgets of the chrome. Those parts
// contribute to painting but not to the scrollable area.
// The unobscuredContentRect is the area that is not covered by UI elements.
- IntRect unobscuredContentRect(VisibleContentRectIncludesScrollbars = ExcludeScrollbars) const;
+ WEBCORE_EXPORT IntRect unobscuredContentRect(VisibleContentRectIncludesScrollbars = ExcludeScrollbars) const;
#if PLATFORM(IOS)
IntRect unobscuredContentRectIncludingScrollbars() const { return unobscuredContentRect(IncludeScrollbars); }
#else
Modified: trunk/Source/WebCore/platform/ios/PasteboardIOS.mm (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/PasteboardIOS.mm 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/PasteboardIOS.mm 2015-02-10 23:07:47 UTC (rev 179886)
@@ -96,7 +96,7 @@
namespace WebCore {
// FIXME: Does this need to be declared in the header file?
-NSString *WebArchivePboardType = @"Apple Web Archive pasteboard type";
+WEBCORE_EXPORT NSString *WebArchivePboardType = @"Apple Web Archive pasteboard type";
// Making this non-inline so that WebKit 2's decoding doesn't have to include SharedBuffer.h.
PasteboardWebContent::PasteboardWebContent()
Modified: trunk/Source/WebCore/platform/ios/wak/WAKAppKitStubs.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WAKAppKitStubs.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WAKAppKitStubs.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -209,7 +209,7 @@
NSSelectingPrevious
} NSSelectionDirection;
-@interface NSCursor : NSObject
+WEBCORE_EXPORT @interface NSCursor : NSObject
+ (void)setHiddenUntilMouseMoves:(BOOL)flag;
@end
Modified: trunk/Source/WebCore/platform/ios/wak/WAKClipView.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WAKClipView.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WAKClipView.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -30,7 +30,7 @@
#import "WAKView.h"
-@interface WAKClipView : WAKView
+WEBCORE_EXPORT @interface WAKClipView : WAKView
@property (nonatomic, readonly) WAKView *documentView;
@property (nonatomic, assign) BOOL copiesOnScroll;
Modified: trunk/Source/WebCore/platform/ios/wak/WAKScrollView.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WAKScrollView.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WAKScrollView.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -34,7 +34,7 @@
@class WAKClipView;
-@interface WAKScrollView : WAKView <WebCoreFrameScrollView>
+WEBCORE_EXPORT @interface WAKScrollView : WAKView <WebCoreFrameScrollView>
{
WAKView *_documentView; // Only here so the ObjC instance stays around.
WAKClipView *_contentView;
Modified: trunk/Source/WebCore/platform/ios/wak/WAKView.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WAKView.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WAKView.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -38,7 +38,7 @@
@class WAKWindow;
-@interface WAKView : WAKResponder
+WEBCORE_EXPORT @interface WAKView : WAKResponder
+ (WAKView *)focusView;
Modified: trunk/Source/WebCore/platform/ios/wak/WAKWindow.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WAKWindow.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WAKWindow.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -66,7 +66,7 @@
extern NSString * const WAKWindowScreenScaleDidChangeNotification;
extern NSString * const WAKWindowVisibilityDidChangeNotification;
-@interface WAKWindow : WAKResponder
+WEBCORE_EXPORT @interface WAKWindow : WAKResponder
{
CALayer* _hostLayer;
LegacyTileCache* _tileCache;
Modified: trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm 2015-02-10 23:07:47 UTC (rev 179886)
@@ -38,8 +38,8 @@
#import <QuartzCore/QuartzCore.h>
#import <wtf/TCSpinLock.h>
-NSString * const WAKWindowScreenScaleDidChangeNotification = @"WAKWindowScreenScaleDidChangeNotification";
-NSString * const WAKWindowVisibilityDidChangeNotification = @"WAKWindowVisibilityDidChangeNotification";
+WEBCORE_EXPORT NSString * const WAKWindowScreenScaleDidChangeNotification = @"WAKWindowScreenScaleDidChangeNotification";
+WEBCORE_EXPORT NSString * const WAKWindowVisibilityDidChangeNotification = @"WAKWindowVisibilityDidChangeNotification";
using namespace WebCore;
Modified: trunk/Source/WebCore/platform/ios/wak/WKContentObservation.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WKContentObservation.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WKContentObservation.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -44,7 +44,7 @@
WEBCORE_EXPORT void WKStopObservingContentChanges(void);
WEBCORE_EXPORT void WKBeginObservingContentChanges(bool allowsIntedeterminateChanges);
-WKContentChange WKObservedContentChange(void);
+WEBCORE_EXPORT WKContentChange WKObservedContentChange(void);
void WKSetObservedContentChange(WKContentChange aChange);
WEBCORE_EXPORT int WebThreadCountOfObservedContentModifiers(void);
Modified: trunk/Source/WebCore/platform/ios/wak/WKGraphics.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WKGraphics.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WKGraphics.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -37,10 +37,10 @@
extern "C" {
#endif
-CGContextRef WKGetCurrentGraphicsContext(void);
-void WKSetCurrentGraphicsContext(CGContextRef context);
+WEBCORE_EXPORT CGContextRef WKGetCurrentGraphicsContext(void);
+WEBCORE_EXPORT void WKSetCurrentGraphicsContext(CGContextRef);
-void WKRectFill(CGContextRef context, CGRect aRect);
+WEBCORE_EXPORT void WKRectFill(CGContextRef, CGRect aRect);
void WKRectFillUsingOperation(CGContextRef, CGRect, WKCompositeOperation);
CGImageRef WKGraphicsCreateImageFromBundleWithName(const char *image_file);
Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThread.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WebCoreThread.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThread.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -49,7 +49,7 @@
// The lock is automatically freed at the bottom of the runloop. No need to unlock.
// Note that calling this function may hang your UI for several seconds. Don't use
// unless you have to.
-void WebThreadLock(void);
+WEBCORE_EXPORT void WebThreadLock(void);
// This is a no-op for compatibility only. It will go away. Please don't use.
WEBCORE_EXPORT void WebThreadUnlock(void);
Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm 2015-02-10 23:07:47 UTC (rev 179886)
@@ -135,7 +135,7 @@
static unsigned otherThreadLockCount;
static unsigned sMainThreadModalCount;
-volatile bool webThreadShouldYield;
+WEBCORE_EXPORT volatile bool webThreadShouldYield;
static pthread_mutex_t WebCoreReleaseLock;
static void WebCoreObjCDeallocOnWebThreadImpl(id self, SEL _cmd);
Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -45,7 +45,7 @@
// WebThreadRunSync(^{ code; });
// will queue the block and wait for its execution to finish.
-void WebThreadRun(void (^block)());
+WEBCORE_EXPORT void WebThreadRun(void (^block)());
void WebThreadRunSync(void (^block)());
#if defined(__cplusplus)
Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSystemInterface.h (179885 => 179886)
--- trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSystemInterface.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSystemInterface.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -29,7 +29,7 @@
extern "C" {
#endif
-void InitWebCoreThreadSystemInterface(void);
+WEBCORE_EXPORT void InitWebCoreThreadSystemInterface(void);
#ifdef __cplusplus
}
Modified: trunk/Source/WebCore/platform/network/ios/QuickLook.h (179885 => 179886)
--- trunk/Source/WebCore/platform/network/ios/QuickLook.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/network/ios/QuickLook.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -61,7 +61,7 @@
NSString *QLTypeCopyBestMimeTypeForFileNameAndMimeType(NSString *fileName, NSString *mimeType);
NSString *QLTypeCopyBestMimeTypeForURLAndMimeType(NSURL *, NSString *mimeType);
-NSSet *QLPreviewGetSupportedMIMETypesSet();
+WEBCORE_EXPORT NSSet *QLPreviewGetSupportedMIMETypesSet();
// Used for setting the permissions on the saved QL content
NSDictionary *QLFileAttributes();
@@ -95,7 +95,7 @@
WEBCORE_EXPORT ~QuickLookHandle();
WEBCORE_EXPORT bool didReceiveDataArray(CFArrayRef);
- bool didReceiveData(CFDataRef);
+ WEBCORE_EXPORT bool didReceiveData(CFDataRef);
WEBCORE_EXPORT bool didFinishLoading();
WEBCORE_EXPORT void didFail();
Modified: trunk/Source/WebCore/platform/text/TextBreakIterator.h (179885 => 179886)
--- trunk/Source/WebCore/platform/text/TextBreakIterator.h 2015-02-10 23:02:22 UTC (rev 179885)
+++ trunk/Source/WebCore/platform/text/TextBreakIterator.h 2015-02-10 23:07:47 UTC (rev 179886)
@@ -64,7 +64,7 @@
const int TextBreakDone = -1;
-bool isCJKLocale(const AtomicString&);
+WEBCORE_EXPORT bool isCJKLocale(const AtomicString&);
class LazyLineBreakIterator {
public: