RESOLVED FIXED 62966
SharedBufferCRLFLineReader should be made more generic.
https://bugs.webkit.org/show_bug.cgi?id=62966
Summary SharedBufferCRLFLineReader should be made more generic.
Jay Civelli
Reported 2011-06-19 23:08:38 PDT
The SharedBufferCRLFLineReader class is used by the MHTML parser code. It should be made more generic so any separator (not only CRLFs) can be used. That is needed for adding binary part support to MHTML.
Attachments
Patch (18.43 KB, patch)
2011-06-19 23:17 PDT, Jay Civelli
no flags
Manually created patch (30.09 KB, patch)
2011-06-19 23:21 PDT, Jay Civelli
no flags
Another try at uploading a manual patch (29.38 KB, patch)
2011-06-20 15:36 PDT, Jay Civelli
no flags
Jay Civelli
Comment 1 2011-06-19 23:17:17 PDT
Jay Civelli
Comment 2 2011-06-19 23:21:28 PDT
Created attachment 97752 [details] Manually created patch Created this patch manually as webkit-patch upload does not include the change to the moved files for some reason. I have an extensive set of unit-tests for this code that I'll ad to TestWebKitAPI once I figured out how to add a dependency to WebCore in the TestWebKitAPI project.
Jay Civelli
Comment 3 2011-06-20 15:36:48 PDT
Created attachment 97870 [details] Another try at uploading a manual patch
WebKit Review Bot
Comment 4 2011-06-20 17:36:43 PDT
Comment on attachment 97870 [details] Another try at uploading a manual patch Clearing flags on attachment: 97870 Committed r89321: <http://trac.webkit.org/changeset/89321>
WebKit Review Bot
Comment 5 2011-06-20 17:36:48 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 6 2011-06-20 17:56:23 PDT
This may have caused a build failure for mac. http://build.webkit.org/builders/Leopard%20Intel%20Debug%20%28Build%29/builds/36276/steps/compile-webkit/logs/stdio Undefined symbols: "__ZN7WebCore23SharedBufferChunkReader9nextChunkEb", referenced from: __ZN7WebCoreL21retrieveKeyValuePairsEPNS_23SharedBufferChunkReaderE in MIMEHeader.o ld: symbol(s) not found You may just need to add that symbol to the appropriate place in Source/WebCore/WebCore.exp.in.
Adam Barth
Comment 7 2011-06-20 18:02:23 PDT
> You may just need to add that symbol to the appropriate place in Source/WebCore/WebCore.exp.in. Will fix.
Adam Barth
Comment 8 2011-06-20 18:07:33 PDT
/me wonders how this patch got the green light from the mac-ews...
Adam Barth
Comment 9 2011-06-20 18:07:43 PDT
Note You need to log in before you can comment on or make changes to this bug.