1
0
mirror of https://github.com/golang/go synced 2024-11-18 02:24:45 -07:00
go/src/image
Ainar Garipov 0efbd10157 all: fix typos
Use the following (suboptimal) script to obtain a list of possible
typos:

  #!/usr/bin/env sh

  set -x

  git ls-files |\
    grep -e '\.\(c\|cc\|go\)$' |\
    xargs -n 1\
    awk\
    '/\/\// { gsub(/.*\/\//, ""); print; } /\/\*/, /\*\// { gsub(/.*\/\*/, ""); gsub(/\*\/.*/, ""); }' |\
    hunspell -d en_US -l |\
    grep '^[[:upper:]]\{0,1\}[[:lower:]]\{1,\}$' |\
    grep -v -e '^.\{1,4\}$' -e '^.\{16,\}$' |\
    sort -f |\
    uniq -c |\
    awk '$1 == 1 { print $2; }'

Then, go through the results manually and fix the most obvious typos in
the non-vendored code.

Change-Id: I3cb5830a176850e1a0584b8a40b47bde7b260eae
Reviewed-on: https://go-review.googlesource.com/c/go/+/193848
Reviewed-by: Robert Griesemer <gri@golang.org>
2019-09-08 17:28:20 +00:00
..
color
draw image/draw: change argument type to be consistent with other args 2019-05-24 15:22:14 +00:00
gif all: fix typos 2019-09-08 17:28:20 +00:00
internal/imageutil
jpeg image/jpeg: reduce bound checks from idct and fdct 2019-04-02 23:18:37 +00:00
png image/png: hoist repetitive pixels per byte out of loop in Encode 2019-08-28 09:02:35 +00:00
testdata image/gif: fix transparency loss when encoding a wrapped *image.Paletted 2019-05-22 20:41:27 +00:00
decode_example_test.go
decode_test.go image: add missing error check in test 2019-05-23 15:51:48 +00:00
format.go
geom_test.go
geom.go image: deprecate ZP and ZR 2019-04-07 03:44:17 +00:00
image_test.go
image.go
names.go
ycbcr_test.go
ycbcr.go