Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Issue 244008: Beginnings of our own FTP LIST parsing code. (Closed)

Created:
11 years, 3 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
eroman, wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

First parts of new FTP LIST response parsing code. Added parser for "ls" listing style, and tests. This is not yet used by the browser (will do that in a following CL). TEST=Covered by net_unittests. BUG=25520 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30354

Patch Set 1 #

Patch Set 2 : another preview #

Patch Set 3 : updates #

Patch Set 4 : working #

Total comments: 28

Patch Set 5 : fixes #

Total comments: 9

Patch Set 6 : test more #

Patch Set 7 : test even more (slightly) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+739 lines, -0 lines) Patch
M base/string_util.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/base/net_error_list.h View 5 1 chunk +6 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-ls-1 View 1 chunk +6 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-ls-1.expected View 1 chunk +42 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-ls-2 View 1 chunk +7 lines, -0 lines 0 comments Download
A net/data/ftp/dir-listing-ls-2.expected View 1 chunk +49 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_buffer.h View 1 2 3 4 1 chunk +77 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_buffer.cc View 1 2 3 4 1 chunk +134 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_buffer_unittest.cc View 4 5 6 1 chunk +101 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_parsers.h View 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_parsers.cc View 2 3 4 5 1 chunk +153 lines, -0 lines 0 comments Download
A net/ftp/ftp_directory_listing_parsers_unittest.cc View 2 3 4 5 1 chunk +93 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Paweł Hajdan Jr.
This is a very, very early preview of my FTP LIST parsing code idea. It ...
11 years, 2 months ago (2009-10-19 17:43:37 UTC) #1
wtc
Pawel, I'm attending a conference on Monday - Wednesday. I won't be able to review ...
11 years, 2 months ago (2009-10-20 03:00:19 UTC) #2
Paweł Hajdan Jr.
eroman: ping wtc: no problem, this is still work in progress.
11 years, 2 months ago (2009-10-20 16:12:32 UTC) #3
eroman
The general design looks good. > - The buffer handles encoding detection and splitting the ...
11 years, 2 months ago (2009-10-20 17:50:47 UTC) #4
Paweł Hajdan Jr.
Thanks for the review. On 2009/10/20 17:50:47, eroman wrote: > As an aside, I recommend ...
11 years, 2 months ago (2009-10-20 17:56:05 UTC) #5
Paweł Hajdan Jr.
Please do a full review.
11 years, 2 months ago (2009-10-22 18:02:08 UTC) #6
eroman
Overall this is looking good, here are some comments. http://codereview.chromium.org/244008/diff/9001/9005 File net/ftp/ftp_directory_listing_buffer.cc (right): http://codereview.chromium.org/244008/diff/9001/9005#newcode42 Line ...
11 years, 2 months ago (2009-10-23 04:03:25 UTC) #7
Paweł Hajdan Jr.
eroman, thanks for review. This patchset should be much better. > http://codereview.chromium.org/244008/diff/9001/9005#newcode102 > Line 102: ...
11 years, 2 months ago (2009-10-23 19:11:10 UTC) #8
Paweł Hajdan Jr.
ping
11 years, 1 month ago (2009-10-26 21:18:59 UTC) #9
eroman
LGTM http://codereview.chromium.org/244008/diff/12004/11004 File base/string_util.h (right): http://codereview.chromium.org/244008/diff/12004/11004#newcode177 Line 177: string16 CollapseWhitespace(const string16& text, Is this going ...
11 years, 1 month ago (2009-10-27 08:28:05 UTC) #10
Paweł Hajdan Jr.
> http://codereview.chromium.org/244008/diff/12004/11004 > File base/string_util.h (right): > > http://codereview.chromium.org/244008/diff/12004/11004#newcode177 > Line 177: string16 CollapseWhitespace(const string16& ...
11 years, 1 month ago (2009-10-27 18:34:37 UTC) #11
eroman
lgtm. minor suggestion: the expected results file might be easier to read if it had ...
11 years, 1 month ago (2009-10-27 19:31:37 UTC) #12
Paweł Hajdan Jr.
11 years, 1 month ago (2009-10-28 17:02:22 UTC) #13
On 2009/10/27 19:31:37, eroman wrote:
> lgtm.
> 
> minor suggestion: the expected results file might be easier to read if it had
an
> extra newline separating entries.

Good idea. Done and committed (no changes to code were required).

Powered by Google App Engine
This is Rietveld 408576698