1
0
mirror of https://github.com/golang/go synced 2024-11-23 01:30:02 -07:00
go/src/cmd
Nigel Tao a2846e65dc image: spin off a new color package out of the image package.
The spin-off renames some types. The new names are simply better:
image.Color              -> color.Color
image.ColorModel         -> color.Model
image.ColorModelFunc     -> color.ModelFunc
image.PalettedColorModel -> color.Palette
image.RGBAColor          -> color.RGBA
image.RGBAColorModel     -> color.RGBAModel
image.RGBA64Color        -> color.RGBA64
image.RGBA64ColorModel   -> color.RGBA64Model
(similarly for NRGBAColor, GrayColorModel, etc)

The image.ColorImage type stays in the image package, but is renamed:
image.ColorImage -> image.Uniform

The image.Image implementations (image.RGBA, image.RGBA64, image.NRGBA,
image.Alpha, etc) do not change their name, and gain a nice symmetry:
an image.RGBA is an image of color.RGBA, etc.

The image.Black, image.Opaque uniform images remain unchanged (although
their type is renamed from image.ColorImage to image.Uniform). The
corresponding color types (color.Black, color.Opaque, etc) are new.

Nothing in the image/ycbcr is renamed yet. The ycbcr.YCbCrColor and
ycbcr.YCbCrImage types will eventually migrate to color.YCbCr and
image.YCbCr, but that will be a separate CL.

R=r, bsiegert
CC=golang-dev
https://golang.org/cl/5132048
2011-10-04 11:09:03 +11:00
..
5a 5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths 2011-09-07 15:49:56 -04:00
5c 5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths 2011-09-07 15:49:56 -04:00
5g 5g, 6g, 8g: registerize variables again 2011-10-03 17:46:36 -04:00
5l build: avoid redundant bss declarations 2011-08-23 22:39:14 -04:00
6a 5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths 2011-09-07 15:49:56 -04:00
6c 5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths 2011-09-07 15:49:56 -04:00
6g 5g, 6g, 8g: registerize variables again 2011-10-03 17:46:36 -04:00
6l 6l, 8l: remove JCXZ; add JCXZW, JCXZL, and JCXZQ 2011-08-26 17:45:19 -04:00
8a 5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths 2011-09-07 15:49:56 -04:00
8c 5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths 2011-09-07 15:49:56 -04:00
8g 5g, 6g, 8g: registerize variables again 2011-10-03 17:46:36 -04:00
8l 8l: remove left over debugging 2011-09-19 11:50:45 -04:00
cc cc: fixes for Plan 9 build 2011-07-13 16:01:29 -07:00
cgo cgo: cgo to use GOARCH from the environment, not runtime.GOARCH (otherwise it results in necessity of having 8cgo and 6cgo) 2011-09-19 11:50:59 -04:00
cov build: fix unused parameters 2011-08-25 16:08:13 -04:00
ebnflint go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
gc 5g, 6g, 8g: registerize variables again 2011-10-03 17:46:36 -04:00
go go: skeleton implementation 2011-09-28 20:07:21 -04:00
godefs build: fix unused parameters 2011-08-25 16:08:13 -04:00
godoc regexp: move to old/regexp, replace with exp/regexp 2011-09-26 18:33:13 -04:00
gofix image: spin off a new color package out of the image package. 2011-10-04 11:09:03 +11:00
gofmt gofmt: add else test 2011-09-14 11:29:18 -04:00
goinstall go/build: handle cgo, //build comments 2011-09-15 12:11:41 -04:00
gomake build: no required environment variables 2010-08-18 10:08:49 -04:00
gopack build: fix unused parameters 2011-08-25 16:08:13 -04:00
gotest go/build: handle cgo, //build comments 2011-09-15 12:11:41 -04:00
gotry gotry: add missing $ 2011-08-21 13:17:02 -07:00
gotype go/parser: fix type switch scoping 2011-08-23 09:22:41 -07:00
govet path/filepath: new signature for Walk 2011-09-13 17:47:59 -07:00
goyacc goyacc: cleanups 2011-07-22 17:58:38 +10:00
hgpatch hgpatch: do not use hg exit status 2011-09-28 12:00:17 -04:00
ld runtime: fix map memory leak 2011-10-01 13:00:53 -04:00
nm Make.ccmd: link with mach lib, 2011-06-19 13:57:22 +10:00
prof gopprof: regexp fixes 2011-09-07 13:53:29 -04:00
Makefile gotest: replace the shell script with the compiled program written in go. 2011-03-29 13:29:20 -07:00