Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(984)

Issue 4961060: Add support for real full filesystem URL parsing and canonicalization.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by ericu
Modified:
12 years, 3 months ago
Reviewers:
brettw, abarth
Base URL:
http://google-url.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add support for real full filesystem URL parsing and canonicalization. See also the chromium [http://codereview.chromium.org/7811006/] and webkit [http://codereview.chromium.org/8856006/] changes that will depend on this.

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Total comments: 2

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Patch Set 23 : '' #

Patch Set 24 : '' #

Patch Set 25 : '' #

Patch Set 26 : '' #

Patch Set 27 : '' #

Total comments: 6

Patch Set 28 : '' #

Total comments: 8

Patch Set 29 : '' #

Total comments: 8

Patch Set 30 : '' #

Patch Set 31 : '' #

Patch Set 32 : '' #

Patch Set 33 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+816 lines, -238 lines) Patch
M README.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +13 lines, -8 lines 0 comments Download
M build/googleurl.vcproj View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +4 lines, -0 lines 0 comments Download
M src/gurl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +18 lines, -3 lines 0 comments Download
M src/gurl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 chunks +65 lines, -17 lines 0 comments Download
M src/gurl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 8 chunks +65 lines, -0 lines 0 comments Download
M src/url_canon.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +35 lines, -2 lines 0 comments Download
A src/url_canon_filesystemurl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +158 lines, -0 lines 0 comments Download
M src/url_canon_relative.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +8 lines, -1 line 0 comments Download
M src/url_canon_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 5 chunks +110 lines, -1 line 0 comments Download
M src/url_parse.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 3 chunks +38 lines, -1 line 0 comments Download
M src/url_parse.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 4 chunks +163 lines, -1 line 0 comments Download
M src/url_parse_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +71 lines, -1 line 0 comments Download
M src/url_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 11 chunks +53 lines, -16 lines 0 comments Download
A + src/url_util_internal.h View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -187 lines 0 comments Download

Messages

Total messages: 14
abarth
http://codereview.appspot.com/4961060/diff/28001/src/gurl.h File src/gurl.h (right): http://codereview.appspot.com/4961060/diff/28001/src/gurl.h#newcode382 src/gurl.h:382: GURL* inner_url_; Should this be a scoped_ptr?
12 years, 5 months ago (2011-11-16 22:02:43 UTC) #1
ericu
http://codereview.appspot.com/4961060/diff/28001/src/gurl.h File src/gurl.h (right): http://codereview.appspot.com/4961060/diff/28001/src/gurl.h#newcode382 src/gurl.h:382: GURL* inner_url_; On 2011/11/16 22:02:43, abarth wrote: > Should ...
12 years, 5 months ago (2011-11-16 22:13:36 UTC) #2
abarth
I'll defer to Brett here, but I suspect it's fine.
12 years, 5 months ago (2011-11-17 01:16:37 UTC) #3
ericu
On 2011/11/17 01:16:37, abarth wrote: > I'll defer to Brett here, but I suspect it's ...
12 years, 4 months ago (2011-12-21 21:56:40 UTC) #4
brettw
I just looked at a few parts so far, and I hate this much less ...
12 years, 4 months ago (2011-12-22 19:18:52 UTC) #5
ericu
On Thu, Dec 22, 2011 at 11:18 AM, <brettw@chromium.org> wrote: > I just looked at ...
12 years, 4 months ago (2011-12-22 23:26:11 UTC) #6
ericu
http://codereview.appspot.com/4961060/diff/38007/src/gurl.cc File src/gurl.cc (right): http://codereview.appspot.com/4961060/diff/38007/src/gurl.cc#newcode123 src/gurl.cc:123: if (is_valid_ && SchemeIsFileSystem()) On 2011/12/22 19:18:52, brettw wrote: ...
12 years, 3 months ago (2012-01-03 19:22:30 UTC) #7
brettw
http://codereview.appspot.com/4961060/diff/50002/src/gurl.cc File src/gurl.cc (right): http://codereview.appspot.com/4961060/diff/50002/src/gurl.cc#newcode499 src/gurl.cc:499: void GURL::Swap(GURL* other) { You need to add the ...
12 years, 3 months ago (2012-01-03 21:09:25 UTC) #8
ericu
I've made the small changes; I'm now looking at the larger layering change Brett and ...
12 years, 3 months ago (2012-01-03 21:18:42 UTC) #9
brettw
http://codereview.appspot.com/4961060/diff/49018/src/url_canon_filesystemurl.cc File src/url_canon_filesystemurl.cc (right): http://codereview.appspot.com/4961060/diff/49018/src/url_canon_filesystemurl.cc#newcode107 src/url_canon_filesystemurl.cc:107: } // namespace Two spaces before // http://codereview.appspot.com/4961060/diff/49018/src/url_canon_relative.cc File ...
12 years, 3 months ago (2012-01-04 19:22:17 UTC) #10
ericu
http://codereview.appspot.com/4961060/diff/49018/src/url_canon_filesystemurl.cc File src/url_canon_filesystemurl.cc (right): http://codereview.appspot.com/4961060/diff/49018/src/url_canon_filesystemurl.cc#newcode107 src/url_canon_filesystemurl.cc:107: } // namespace On 2012/01/04 19:22:17, brettw wrote: > ...
12 years, 3 months ago (2012-01-04 21:57:36 UTC) #11
brettw
LGTM
12 years, 3 months ago (2012-01-04 22:22:28 UTC) #12
brettw
Committed as googleurl@166. I did not pull deps. You should submit a change to do ...
12 years, 3 months ago (2012-01-04 22:47:42 UTC) #13
ericu
12 years, 3 months ago (2012-01-04 23:08:29 UTC) #14
Will do; thanks!

On Wed, Jan 4, 2012 at 2:47 PM,  <brettw@chromium.org> wrote:
> Committed as googleurl@166.
>
> I did not pull deps. You should submit a change to do that (you can TBR
> it).
>
> http://codereview.appspot.com/4961060/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b