Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1782)

Issue 4964073: code review 4964073: image: change the NewXxx functions to take a Rectangle ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by nigeltao
Modified:
12 years, 8 months ago
Reviewers:
CC:
rsc, bsiegert, r, golang-dev
Visibility:
Public.

Description

image: change the NewXxx functions to take a Rectangle instead of taking (w, h int).

Patch Set 1 #

Patch Set 2 : diff -r 2892d1e242e6 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 2892d1e242e6 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 2892d1e242e6 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r b539ac52c3fd https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -56 lines) Patch
M src/cmd/gofix/Makefile View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/cmd/gofix/imagenew.go View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
A src/cmd/gofix/imagenew_test.go View 1 1 chunk +53 lines, -0 lines 0 comments Download
M src/pkg/exp/gui/x11/conn.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/image/bmp/reader.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/image/gif/reader.go View 1 1 chunk +1 line, -4 lines 0 comments Download
M src/pkg/image/image.go View 1 9 chunks +27 lines, -18 lines 0 comments Download
M src/pkg/image/image_test.go View 1 2 chunks +13 lines, -13 lines 0 comments Download
M src/pkg/image/jpeg/reader.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/image/png/reader.go View 1 2 3 4 1 chunk +9 lines, -9 lines 0 comments Download
M src/pkg/image/png/writer_test.go View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/image/tiff/reader.go View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 6
nigeltao
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 8 months ago (2011-09-09 23:42:46 UTC) #1
nigeltao
On 10 September 2011 09:42, <nigeltao@golang.org> wrote: > Description: > image: change the NewXxx functions ...
12 years, 8 months ago (2011-09-09 23:45:24 UTC) #2
bsiegert
Very nice! LGTM from my side, although I m not competent to comment on the ...
12 years, 8 months ago (2011-09-12 09:56:32 UTC) #3
rsc
LGTM But I haven't heard anything from r about the API change. Please wait for ...
12 years, 8 months ago (2011-09-12 17:03:31 UTC) #4
r
LGTM the noise is unfortunate but necessary
12 years, 8 months ago (2011-09-12 18:21:10 UTC) #5
nigeltao
12 years, 8 months ago (2011-09-14 11:39:59 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=f0707298f4f4 ***

image: change the NewXxx functions to take a Rectangle instead of
taking (w, h int).

R=rsc, bsiegert, r
CC=golang-dev
http://codereview.appspot.com/4964073
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b