RESOLVED FIXED176575
Move LineEnding.{h,cpp} from WebCore/platform/text to wtf/text
https://bugs.webkit.org/show_bug.cgi?id=176575
Summary Move LineEnding.{h,cpp} from WebCore/platform/text to wtf/text
Myles C. Maxfield
Reported 2017-09-07 17:58:45 PDT
Move LineEnding.{h,cpp} from WebCore/platform/text to wtf/text
Attachments
Patch (29.25 KB, patch)
2017-09-07 18:00 PDT, Myles C. Maxfield
no flags
Patch (30.43 KB, patch)
2017-09-07 18:38 PDT, Myles C. Maxfield
achristensen: review+
commit-queue: commit-queue-
Patch for committing (31.94 KB, patch)
2017-09-15 18:31 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2017-09-07 18:00:58 PDT
Myles C. Maxfield
Comment 2 2017-09-07 18:38:28 PDT
WebKit Commit Bot
Comment 3 2017-09-12 17:13:35 PDT
Comment on attachment 320221 [details] Patch Rejecting attachment 320221 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 320221, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: ebCore/html/FormDataList.cpp (working copy) -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file Source/WebCore/platform/text/LineEnding.cpp rm 'Source/WebCore/platform/text/LineEnding.cpp' patching file Source/WebCore/platform/text/LineEnding.h rm 'Source/WebCore/platform/text/LineEnding.h' Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Alex Christensen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/4528504
Myles C. Maxfield
Comment 4 2017-09-15 18:31:07 PDT
Created attachment 320983 [details] Patch for committing
Darin Adler
Comment 5 2017-10-01 19:58:50 PDT
Comment on attachment 320221 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320221&action=review > Source/WTF/wtf/text/LineEnding.h:44 > +// Normalize all line-endings in the given string to the native line-endings and append the result to the given buffer. > +// (Normalize to CRLF on Windows and normalize to LF on all other platforms.) > +WTF_EXPORT void normalizeLineEndingsToNative(const CString& from, Vector<uint8_t>& result); Function should have the word "append" in its name. Unless it always is used on an empty buffer, in which case it should be changed to return the Vector.
Myles C. Maxfield
Comment 6 2017-10-02 23:42:32 PDT
Radar WebKit Bug Importer
Comment 7 2017-10-02 23:43:27 PDT
Note You need to log in before you can comment on or make changes to this bug.