Initial directory structure.

git-svn-id: http://google-url.googlecode.com/svn/trunk@1 8873c55e-713a-0410-88f8-23d9c3d90b1b
Initial checkin


git-svn-id: http://google-url.googlecode.com/svn/trunk@2 8873c55e-713a-0410-88f8-23d9c3d90b1b
Fix a lot of problems with file URLs, support replacing URL component with
UTF-16 strings, remove base/string_util.*



git-svn-id: http://google-url.googlecode.com/svn/trunk@6 8873c55e-713a-0410-88f8-23d9c3d90b1b
Fix Linux compilation, change wchar_t to a 16-bit type so it works on systems
that define wchar_t = 32 bits. Fix a lot of compiler warnings from gcc.



git-svn-id: http://google-url.googlecode.com/svn/trunk@7 8873c55e-713a-0410-88f8-23d9c3d90b1b
Add an output stream operator to GURL so it can be used with Gunit and DCHECK.

TBR=darin


git-svn-id: http://google-url.googlecode.com/svn/trunk@9 8873c55e-713a-0410-88f8-23d9c3d90b1b
Make GURL initialization assertions only fire for valid URLs. When
initialized with an invalid URL, these would sometimes fire because
re-canonicalizing an invalid URL isn't guaranteed to give you the
same thing back.


git-svn-id: http://google-url.googlecode.com/svn/trunk@11 8873c55e-713a-0410-88f8-23d9c3d90b1b
Fixes the VS2005 projects.
Move icu36 reference a directory higher. It should reside beside googleurl/ in third_part/icu36.
Remove WholeProgramOptimization=1 from the projects and move this setting in release.vsprops.


git-svn-id: http://google-url.googlecode.com/svn/trunk@12 8873c55e-713a-0410-88f8-23d9c3d90b1b
Add the ability to strip certail kinds of whitespace in a URL.


git-svn-id: http://google-url.googlecode.com/svn/trunk@14 8873c55e-713a-0410-88f8-23d9c3d90b1b
Fix bug with dot unescaping in filenames. Patch by Eric Roman.


git-svn-id: http://google-url.googlecode.com/svn/trunk@17 8873c55e-713a-0410-88f8-23d9c3d90b1b
Make # in the path not be escaped. This makes
http://www.google.com/##1
should be unchanged during canonicalization, which matches what most
applications do (even if it's stupid).


git-svn-id: http://google-url.googlecode.com/svn/trunk@19 8873c55e-713a-0410-88f8-23d9c3d90b1b
Use the first # for finding references instead of the last. Escape any #s that
happen to make their way into paths.


git-svn-id: http://google-url.googlecode.com/svn/trunk@21 8873c55e-713a-0410-88f8-23d9c3d90b1b
Allow %7f in URL paths. For some reason, I thought this wasn't allowed when I
tested before, but it seems all browsers allow it. I also noticed that browsers
(or at least IE7) doesn't unescape '=', so this now does the same.


git-svn-id: http://google-url.googlecode.com/svn/trunk@25 8873c55e-713a-0410-88f8-23d9c3d90b1b
Make handling of '@' signs match IE7. We were escaping this, whereas IE7 will
always unescape it.


git-svn-id: http://google-url.googlecode.com/svn/trunk@29 8873c55e-713a-0410-88f8-23d9c3d90b1b
Add default port handling for standard URLs (no longer hardcoded to port 80).


git-svn-id: http://google-url.googlecode.com/svn/trunk@30 8873c55e-713a-0410-88f8-23d9c3d90b1b
Clarify the comment above TrimURL, which confused me.



git-svn-id: http://google-url.googlecode.com/svn/trunk@33 8873c55e-713a-0410-88f8-23d9c3d90b1b
Move query finding out of the GURL object since it ends up not being generally
useful the way it's done (it also doesn't handle cases where the query names
are duplicated).

I did a bunch of mailto stuff that I abandoned, but some of the changes I liked,
so I kept thme.


git-svn-id: http://google-url.googlecode.com/svn/trunk@35 8873c55e-713a-0410-88f8-23d9c3d90b1b
Treat URLs containing "://" as "standard." Now if you have a URL like
"foobar://something/hello?world" we'll separate the hostname, path, query, etc.
like for http URLs, and not like path URLs like we do now.


git-svn-id: http://google-url.googlecode.com/svn/trunk@37 8873c55e-713a-0410-88f8-23d9c3d90b1b
Update to use ICU 3.8


git-svn-id: http://google-url.googlecode.com/svn/trunk@38 8873c55e-713a-0410-88f8-23d9c3d90b1b
Add Swap like STL containers for efficient swapping.


git-svn-id: http://google-url.googlecode.com/svn/trunk@40 8873c55e-713a-0410-88f8-23d9c3d90b1b
Fix an uninitialized memory read. If the length of a path replacement is 0, then
the pointer will be dereferenced, even though it is not guaranteed to be
anything in particular in this case.


git-svn-id: http://google-url.googlecode.com/svn/trunk@41 8873c55e-713a-0410-88f8-23d9c3d90b1b