Date:2010-08-27 09:52:26 (9 years 3 months ago)
Author:Werner Almesberger
Commit:1774ae268e96c8eac82e548c2337c58a98fcfd8c
Message:Fixed two small bugs in schhist2web.

- scripts/schhist2web: second file argument was missing when invoking
pngdiff for file addition or removal
- scripts/schhist2web: keep track of columns also after a file is gone
Files: scripts/schhist2web (1 diff)

Change Details

scripts/schhist2web
131131        pngdiff shrink "$thumb" -f $THUMB_OPTS "$fat_a" "$fat_b" || exit
132132    elif [ -f "$a" ]; then
133133        s="$s<TD>"
134        pngdiff cat "$diff" -f -c 1,0,0 "$a" || exit
135        pngdiff shrink "$thumb" -f -c 1,0,0 $THUMB_OPTS "$fat_a" || exit
134        pngdiff cat "$diff" -f -c 1,0,0 "$a" "$a" || exit
135        pngdiff shrink "$thumb" -f -c 1,0,0 $THUMB_OPTS "$fat_a" "$fat_a" \
136          || exit
136137    elif [ -f "$out/$next/$m.ppm" ]; then
137138        s="$s<TD>"
138        pngdiff cat "$diff" -f -c 0,1,0 "$b" || exit
139        pngdiff shrink "$thumb" -f -c 0,1,0 $THUMB_OPTS "$fat_b" || exit
139        pngdiff cat "$diff" -f -c 0,1,0 "$b" "$b" || exit
140        pngdiff shrink "$thumb" -f -c 0,1,0 $THUMB_OPTS "$fat_b" "$fat_b" \
141          || exit
140142    else
143        s="$s<TD>"
141144        continue
142145    fi
143146    echo "$s" >>"$out/index.html"

Archive Download the corresponding diff file



interactive