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

Issue 6697021: FTP: use ICU to parse month abbreviations. (Closed)

Created:
9 years, 9 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

FTP: use ICU to parse month abbreviations. In theory we should be able to parse localized listings in more languages now. This also allows us to get rid of hardcoded special cases for German. BUG=65917 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78826

Patch Set 1 #

Patch Set 2 : removed unneeded header #

Total comments: 2

Patch Set 3 : fixed the comments #

Total comments: 8

Patch Set 4 : DateFormat::getAvailableLocales #

Patch Set 5 : copyright years #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -47 lines) Patch
M net/ftp/ftp_directory_listing_parser_vms.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M net/ftp/ftp_util.h View 1 2 3 4 3 chunks +12 lines, -11 lines 0 comments Download
M net/ftp/ftp_util.cc View 1 2 3 4 4 chunks +35 lines, -34 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Paweł Hajdan Jr.
9 years, 9 months ago (2011-03-15 18:28:35 UTC) #1
eroman
lgtm http://codereview.chromium.org/6697021/diff/1001/net/ftp/ftp_util.h File net/ftp/ftp_util.h (right): http://codereview.chromium.org/6697021/diff/1001/net/ftp/ftp_util.h#newcode30 net/ftp/ftp_util.h:30: // Convert abbreviated month (like Nov) to its ...
9 years, 9 months ago (2011-03-16 00:46:44 UTC) #2
Paweł Hajdan Jr.
jungshik: ping http://codereview.chromium.org/6697021/diff/1001/net/ftp/ftp_util.h File net/ftp/ftp_util.h (right): http://codereview.chromium.org/6697021/diff/1001/net/ftp/ftp_util.h#newcode30 net/ftp/ftp_util.h:30: // Convert abbreviated month (like Nov) to ...
9 years, 9 months ago (2011-03-16 20:17:27 UTC) #3
jungshik at Google
9 years, 9 months ago (2011-03-17 22:55:09 UTC) #4
jungshik at Google
Hmm.. codereview is behaving in a strange manner. My inline comments are not automatically included. ...
9 years, 9 months ago (2011-03-17 22:59:08 UTC) #5
Paweł Hajdan Jr.
Thank you for review, please take another look. http://codereview.chromium.org/6697021/diff/5001/net/ftp/ftp_util.cc File net/ftp/ftp_util.cc (right): http://codereview.chromium.org/6697021/diff/5001/net/ftp/ftp_util.cc#newcode116 net/ftp/ftp_util.cc:116: const ...
9 years, 9 months ago (2011-03-18 09:04:41 UTC) #6
jungshik at Google
After writing my comment, it also occurred to me that displaying file names is not ...
9 years, 9 months ago (2011-03-19 01:11:20 UTC) #7
Paweł Hajdan Jr.
9 years, 9 months ago (2011-03-19 09:30:10 UTC) #8
On 2011/03/19 01:11:20, Jungshik Shin wrote:
> BTW, have you uploaded a new patch that uses DateFormat::getAvailableLocale?

Oh, indeed I forgot to upload. Done that now.

> With that change added, LGTM

Thank you.

Powered by Google App Engine
This is Rietveld 408576698