Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 10369004: File system path resolving (Closed)

Created:
April 24, 2013, 2:10 a.m. by Oleksandr
Modified:
May 27, 2013, 9:42 a.m.
Visibility:
Public.

Description

File system path resolving

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments addressed #

Total comments: 11

Patch Set 3 : Addressing comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -30 lines) Patch
M include/AdblockPlus/DefaultFileSystem.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M include/AdblockPlus/FileSystem.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/DefaultFileSystem.cpp View 1 2 2 chunks +19 lines, -7 lines 3 comments Download
M test/BaseJsTest.h View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
M test/FileSystemJsObject.cpp View 1 2 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 14
Oleksandr
April 24, 2013, 2:12 a.m. (2013-04-24 02:12:11 UTC) #1
Wladimir Palant
I already noted the relative paths when Felix implemented FileSystem. His thought was that the ...
April 24, 2013, 6:13 a.m. (2013-04-24 06:13:51 UTC) #2
Oleksandr
On 2013/04/24 06:13:51, Wladimir Palant wrote: > I already noted the relative paths when Felix ...
April 24, 2013, 8:27 a.m. (2013-04-24 08:27:28 UTC) #3
Felix Dahlke
On 2013/04/24 08:27:28, Oleksandr wrote: > On 2013/04/24 06:13:51, Wladimir Palant wrote: > > I ...
April 24, 2013, 8:35 a.m. (2013-04-24 08:35:53 UTC) #4
Wladimir Palant
Altogether I'm fine with this change - this is mostly along the lines of what ...
April 24, 2013, 9:17 a.m. (2013-04-24 09:17:34 UTC) #5
Wladimir Palant
On 2013/04/24 08:35:53, Felix H. Dahlke wrote: > The file system can work with absolute ...
April 24, 2013, 9:18 a.m. (2013-04-24 09:18:58 UTC) #6
Oleksandr
http://codereview.adblockplus.org/10369004/diff/8001/src/DefaultWebRequestWinInet.cpp File src/DefaultWebRequestWinInet.cpp (right): http://codereview.adblockplus.org/10369004/diff/8001/src/DefaultWebRequestWinInet.cpp#newcode184 src/DefaultWebRequestWinInet.cpp:184: std::string headersString = ""; This fixes an issue on ...
April 30, 2013, 8:13 a.m. (2013-04-30 08:13:07 UTC) #7
Felix Dahlke
http://codereview.adblockplus.org/10369004/diff/8001/include/AdblockPlus/FileSystem.h File include/AdblockPlus/FileSystem.h (right): http://codereview.adblockplus.org/10369004/diff/8001/include/AdblockPlus/FileSystem.h#newcode35 include/AdblockPlus/FileSystem.h:35: std::string basePath; I think we should either not declare ...
April 30, 2013, 9:14 a.m. (2013-04-30 09:14:52 UTC) #8
Wladimir Palant
http://codereview.adblockplus.org/10369004/diff/8001/include/AdblockPlus/FileSystem.h File include/AdblockPlus/FileSystem.h (right): http://codereview.adblockplus.org/10369004/diff/8001/include/AdblockPlus/FileSystem.h#newcode33 include/AdblockPlus/FileSystem.h:33: virtual void SetBasePath(const std::string& path) = 0; This shouldn't ...
April 30, 2013, 9:29 a.m. (2013-04-30 09:29:50 UTC) #9
Oleksandr
May 5, 2013, 10:50 p.m. (2013-05-05 22:50:17 UTC) #10
Wladimir Palant
http://codereview.adblockplus.org/10369004/diff/19001/src/DefaultFileSystem.cpp File src/DefaultFileSystem.cpp (right): http://codereview.adblockplus.org/10369004/diff/19001/src/DefaultFileSystem.cpp#newcode101 src/DefaultFileSystem.cpp:101: if (PathIsRelative(Utils::ToUTF16String(path, path.length()).c_str())) This is Windows-specific and won't compile ...
May 6, 2013, 6:18 a.m. (2013-05-06 06:18:30 UTC) #11
Wladimir Palant
http://codereview.adblockplus.org/10369004/diff/19001/src/DefaultFileSystem.cpp File src/DefaultFileSystem.cpp (right): http://codereview.adblockplus.org/10369004/diff/19001/src/DefaultFileSystem.cpp#newcode101 src/DefaultFileSystem.cpp:101: if (PathIsRelative(Utils::ToUTF16String(path, path.length()).c_str())) On 2013/05/06 06:18:30, Wladimir Palant wrote: ...
May 6, 2013, 6:19 a.m. (2013-05-06 06:19:51 UTC) #12
Oleksandr
Looks like Wladimir has already addressed his comments himself. Mind if I close this?
May 17, 2013, 8:32 a.m. (2013-05-17 08:32:16 UTC) #13
Wladimir Palant
May 17, 2013, 9:35 a.m. (2013-05-17 09:35:37 UTC) #14
On 2013/05/17 08:32:16, Oleksandr wrote:
> Looks like Wladimir has already addressed his comments himself.

No, it was actually you (revision 83968838a345). Looks like you fixed the
relative path check being Windows-specific before pushing. The extra parentheses
are still there but I can fix that myself indeed, LGTM.

Powered by Google App Engine
This is Rietveld