Bug 116062 - Upstream iOS Clipboard and Pasteboard changes
Summary: Upstream iOS Clipboard and Pasteboard changes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-13 14:43 PDT by David Kilzer (:ddkilzer)
Modified: 2013-05-14 09:29 PDT (History)
6 users (show)

See Also:


Attachments
Patch v1 (47.23 KB, patch)
2013-05-13 14:46 PDT, David Kilzer (:ddkilzer)
darin: review+
ddkilzer: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2013-05-13 14:43:24 PDT
Upstream the iOS-specific implementation files for Clipboard and Pasteboard.
Comment 1 David Kilzer (:ddkilzer) 2013-05-13 14:46:47 PDT
Created attachment 201635 [details]
Patch v1
Comment 2 Darin Adler 2013-05-13 15:58:38 PDT
Comment on attachment 201635 [details]
Patch v1

View in context: https://bugs.webkit.org/attachment.cgi?id=201635&action=review

> Source/WebCore/ChangeLog:11
> +        (WebCore):

Normally better to remove lines like this when prepare-ChangeLog adds them.

> Source/WebCore/ChangeLog:16
> +        (WebCore):
> +        (ClipboardIOS):
> +        (WebCore::ClipboardIOS::create):

I don’t think we need to list the functions for added files. I usually delete them.

> Source/WebCore/ChangeLog:38
> +        (WebCore):
> +        (WebCore::Clipboard::create):
> +        (WebCore::ClipboardIOS::ClipboardIOS):
> +        (WebCore::ClipboardIOS::~ClipboardIOS):
> +        (WebCore::ClipboardIOS::hasData):
> +        (WebCore::utiTypeFromCocoaType):
> +        (WebCore::cocoaTypeFromHTMLClipboardType):
> +        (WebCore::addHTMLClipboardTypesForCocoaType):
> +        (WebCore::ClipboardIOS::clearData):
> +        (WebCore::ClipboardIOS::clearAllData):
> +        (WebCore::ClipboardIOS::getData):
> +        (WebCore::ClipboardIOS::setData):
> +        (WebCore::ClipboardIOS::types):
> +        (WebCore::ClipboardIOS::files):
> +        (WebCore::ClipboardIOS::writeRange):
> +        (WebCore::ClipboardIOS::writePlainText):
> +        (WebCore::ClipboardIOS::writeURL):
> +        (WebCore::ClipboardIOS::declareAndWriteDragImage):
> +        (WebCore::ClipboardIOS::createDragImage):
> +        (WebCore::ClipboardIOS::setDragImage):
> +        (WebCore::ClipboardIOS::setDragImageElement):

Ditto.

> Source/WebCore/ChangeLog:58
> +        (WebCore):
> +        (WebCore::Pasteboard::generalPasteboard):
> +        (WebCore::Pasteboard::Pasteboard):
> +        (WebCore::Pasteboard::clear):
> +        (WebCore::Pasteboard::getStringSelection):
> +        (WebCore::Pasteboard::writeSelection):
> +        (WebCore::Pasteboard::writePlainText):
> +        (WebCore::Pasteboard::writeImage):
> +        (WebCore::Pasteboard::writeClipboard):
> +        (WebCore::Pasteboard::canSmartReplace):
> +        (WebCore::Pasteboard::plainText):
> +        (WebCore::supportedImageTypes):
> +        (WebCore::Pasteboard::supportedPasteboardTypes):
> +        (WebCore::uniqueURLWithRelativePart):
> +        (WebCore::documentFragmentWithImageResource):
> +        (WebCore::documentFragmentWithLink):
> +        (WebCore::documentFragmentWithRTF):
> +        (WebCore::Pasteboard::documentFragmentForPasteboardItemAtIndex):
> +        (WebCore::Pasteboard::documentFragment):

Ditto.
Comment 3 David Kilzer (:ddkilzer) 2013-05-13 19:16:04 PDT
Comment on attachment 201635 [details]
Patch v1

View in context: https://bugs.webkit.org/attachment.cgi?id=201635&action=review

>> Source/WebCore/ChangeLog:16
>> +        (WebCore::ClipboardIOS::create):
> 
> I don’t think we need to list the functions for added files. I usually delete them.

I actually find this very useful when I'm searching the ChangeLog (or commit log) by function name, but I will delete them.
Comment 4 David Kilzer (:ddkilzer) 2013-05-13 19:21:18 PDT
Committed r150049: <http://trac.webkit.org/changeset/150049>
Comment 5 David Kilzer (:ddkilzer) 2013-05-13 21:09:26 PDT
(In reply to comment #4)
> Committed r150049: <http://trac.webkit.org/changeset/150049>

Follow-up fix in r150054:  <http://trac.webkit.org/changeset/150054>
Comment 6 Darin Adler 2013-05-14 09:29:26 PDT
(In reply to comment #3)
> I actually find this very useful when I'm searching the ChangeLog (or commit log) by function name, but I will delete them.

Really? I also search change log by function name a *lot*, but do you really find it useful to see the check-in where an entire file was added? I haven’t noticed that I do.