On 2012/07/30 18:24:57, bsalomon wrote: > I run skdiff d:\src\pre d:\src\post d:\src\comp and it doesn't ...
12 years, 5 months ago
(2012-07-30 18:34:21 UTC)
#2
On 2012/07/30 18:24:57, bsalomon wrote:
> I run skdiff d:\src\pre d:\src\post d:\src\comp and it doesn't work. The html
> has "..\..\d:\" in the file names.
I think this is okay for a temporary fix, but it would be nice to make it handle
absolute paths on all platforms. I'm not sure what the future of skdiff is,
though.
http://codereview.appspot.com/6458046/diff/1/tools/skdiff_main.cpp File tools/skdiff_main.cpp (right): http://codereview.appspot.com/6458046/diff/1/tools/skdiff_main.cpp#newcode1054 tools/skdiff_main.cpp:1054: // Should this check if the path starts with ...
12 years, 5 months ago
(2012-07-30 18:34:44 UTC)
#3
updated http://codereview.appspot.com/6458046/diff/1/tools/skdiff_main.cpp File tools/skdiff_main.cpp (right): http://codereview.appspot.com/6458046/diff/1/tools/skdiff_main.cpp#newcode1054 tools/skdiff_main.cpp:1054: // Should this check if the path starts ...
12 years, 5 months ago
(2012-07-30 19:08:02 UTC)
#4
Landed as r4838. I wonder if there is some smart path handling library that abstracts ...
12 years, 5 months ago
(2012-07-30 19:33:24 UTC)
#7
Landed as r4838. I wonder if there is some smart path handling library that
abstracts the windows / unix differences that we should be using. skdiff path
handling is a collection of hacks.
Followup change out for review as https://codereview.appspot.com/6450106/ ('skdiff: clean up isPathAbsolute check for Windows') I ...
12 years, 4 months ago
(2012-08-07 19:44:52 UTC)
#8
Followup change out for review as https://codereview.appspot.com/6450106/
('skdiff: clean up isPathAbsolute check for Windows')
I think the right long-term direction is to replace much of skdiff with a Python
script, so we can take advantage of Python's much better path handling and
whatnot. Probably still using some native code deep inside, to actually do the
image comparisons...
Issue 6458046: Fix skdiff when using windows path that begins with a drive letter
(Closed)
Created 12 years, 5 months ago by bsalomon
Modified 12 years, 4 months ago
Reviewers: EricB, epoger
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 4