]>
Cypherpunks repositories - gostls13.git/log
Shenghou Ma [Fri, 24 Feb 2012 17:16:17 +0000 (01:16 +0800)]
cmd/vet: don't give error for Printf("%+5.2e", x)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5696048
Shenghou Ma [Fri, 24 Feb 2012 17:09:05 +0000 (01:09 +0800)]
doc: update codelab/wiki to Go 1.
R=golang-dev, r, adg
CC=golang-dev
https://golang.org/cl/
5683076
Sanjay Menakuru [Fri, 24 Feb 2012 11:42:16 +0000 (22:42 +1100)]
os: fix minor typo
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5697051
Rob Pike [Fri, 24 Feb 2012 05:59:09 +0000 (16:59 +1100)]
test/bench/shootout: update post-Makefile
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5696054
Rob Pike [Fri, 24 Feb 2012 05:25:39 +0000 (16:25 +1100)]
reflect.DeepEqual: don't panic comparing functions
Functions are equal iff they are both nil.
Fixes #3122.
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/
5693057
Rob Pike [Fri, 24 Feb 2012 05:24:24 +0000 (16:24 +1100)]
test: document ken/*.go
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5694065
Russ Cox [Fri, 24 Feb 2012 04:10:38 +0000 (23:10 -0500)]
runtime: fix arm
signal.test binary passes on my phone; should fix builder
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5694064
Russ Cox [Fri, 24 Feb 2012 04:09:53 +0000 (23:09 -0500)]
gc: fix escape analysis + inlining + closure bug
R=ken2
CC=golang-dev, lvd
https://golang.org/cl/
5693056
Rob Pike [Fri, 24 Feb 2012 04:06:32 +0000 (15:06 +1100)]
test: fix the fix of the rename tests.
Now they actually test again instead of just setting iota to zero.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5700058
Russ Cox [Fri, 24 Feb 2012 04:01:36 +0000 (23:01 -0500)]
ld: fix alignment of rodata section
We were not aligning the code size,
so read-only data, which follows in the same
segment, could be arbitrarily misaligned.
Fixes #2506.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/
5693055
Russ Cox [Fri, 24 Feb 2012 03:46:04 +0000 (22:46 -0500)]
spec: allow disallow of \uFFFD in import path
Turns out U+FFFD is a graphic character too.
http://play.golang.org/p/YblCfKAfko
R=gri
CC=golang-dev
https://golang.org/cl/
5699052
Russ Cox [Fri, 24 Feb 2012 03:45:55 +0000 (22:45 -0500)]
cmd/cc: grow some global arrays
Avoids global array buffer overflows if they are
indexed using some of the values between NTYPE
and NALLTYPE. It is entirely likely that not all of these
are necessary, but this is the C compiler and not worth
worrying much about. This change takes up only a
few more bytes of memory and makes the behavior
deterministic.
Fixes #3078.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5693052
Russ Cox [Fri, 24 Feb 2012 03:45:44 +0000 (22:45 -0500)]
net/rpc: silence read error on closing connection
Fixes #3113.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5698056
Mikio Hara [Fri, 24 Feb 2012 02:58:30 +0000 (11:58 +0900)]
net: reorganize test files
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5694063
Brad Fitzpatrick [Fri, 24 Feb 2012 02:17:26 +0000 (13:17 +1100)]
test: add cmpout to testlib
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5699060
Rob Pike [Fri, 24 Feb 2012 02:08:11 +0000 (13:08 +1100)]
doc/go1: document ProcessState
Also reformat the "go fix" references to make them look better by using the non-CW space.
Fixes #3087.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5695057
Brad Fitzpatrick [Fri, 24 Feb 2012 01:52:15 +0000 (12:52 +1100)]
test: add temporary show_skips flag.
To find test files with legacy headers.
We can remove this flag once everything is converted.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5694060
Robert Griesemer [Fri, 24 Feb 2012 01:42:14 +0000 (17:42 -0800)]
godoc: fine-tuning .css
R=adg
CC=golang-dev
https://golang.org/cl/
5699057
David Symonds [Fri, 24 Feb 2012 00:55:31 +0000 (11:55 +1100)]
net/http: add overlooked 418 status code, per RFC 2324.
R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/
5688067
Rob Pike [Fri, 24 Feb 2012 00:48:19 +0000 (11:48 +1100)]
test/[n-z]*.go: add documentation
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/
5700056
Scott Lawrence [Fri, 24 Feb 2012 00:32:33 +0000 (11:32 +1100)]
html/template: make doctype check case-insensitive
Fixes #3094.
R=golang-dev, rsc, nigeltao
CC=golang-dev
https://golang.org/cl/
5687065
Rob Pike [Thu, 23 Feb 2012 23:30:39 +0000 (10:30 +1100)]
test/[n-r]*.go: add documentation
The rename ones needed redoing.
R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/
5698054
Robert Griesemer [Thu, 23 Feb 2012 22:54:10 +0000 (14:54 -0800)]
godoc: bring back highlighting, selections, and alerts
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
5695054
Robert Griesemer [Thu, 23 Feb 2012 20:44:11 +0000 (12:44 -0800)]
godoc: consistent placement of documentation sections
Fixes #1226.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5694052
Shenghou Ma [Thu, 23 Feb 2012 20:43:14 +0000 (15:43 -0500)]
runtime: check for ARM syscall failures
While we are at it, also update some comments.
Tested on Linux/ARM builder.
R=rsc, golang-dev
CC=golang-dev
https://golang.org/cl/
5696047
Scott Lawrence [Thu, 23 Feb 2012 20:38:07 +0000 (15:38 -0500)]
dist: treat CC as one unit
Fixes #3112.
R=golang-dev, 0xe2.0x9a.0x9b, ality, rsc, rsc
CC=golang-dev
https://golang.org/cl/
5700044
Stefan Nilsson [Thu, 23 Feb 2012 20:29:17 +0000 (15:29 -0500)]
binary: remove unnecessary dummy type.
R=rsc
CC=golang-dev
https://golang.org/cl/
5698052
Robert Griesemer [Thu, 23 Feb 2012 20:23:17 +0000 (12:23 -0800)]
godoc: don't show testdata directories
R=golang-dev, bradfitz, dsymonds, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/
5700043
Russ Cox [Thu, 23 Feb 2012 19:44:53 +0000 (14:44 -0500)]
go/parser: expand test cases for bad import
R=gri
CC=golang-dev
https://golang.org/cl/
5697047
Russ Cox [Thu, 23 Feb 2012 19:44:06 +0000 (14:44 -0500)]
runtime: darwin signal masking
Fixes #3101 (darwin).
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5693044
Russ Cox [Thu, 23 Feb 2012 19:43:58 +0000 (14:43 -0500)]
runtime: linux signal masking
Fixes #3101 (Linux).
R=golang-dev, bradfitz, minux.ma
CC=golang-dev
https://golang.org/cl/
5696043
Anthony Martin [Thu, 23 Feb 2012 19:28:16 +0000 (14:28 -0500)]
cc: fix an out of bounds array access
Alternatively, we could expand the ewidth array
in [568]c/txt.c to have NALLTYPES elements and
give all types above NTYPE a width of -1.
I don't think it's worth it since TDOT and TOLD
are the only two type values above NTYPE that
are passed to typ:
$ /tmp/cctypes
cc/dcl.c:683: t->down = typ(TOLD, T);
cc/dcl.c:919: return typ(TDOT, T);
$
Fixes #3063.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5694047
Robert Griesemer [Thu, 23 Feb 2012 18:17:24 +0000 (10:17 -0800)]
math: slightly more readable comments
Replaced /*-style comments with line comments;
there are two many *'s already in those lines.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5699051
Adam Langley [Thu, 23 Feb 2012 15:51:04 +0000 (10:51 -0500)]
6a/6l: add IMUL3Q and SHLDL
Although Intel considers the three-argument form of IMUL to be a
variant of IMUL, I couldn't make 6l able to differentiate it without
huge changes, so I called it IMUL3.
R=rsc
CC=golang-dev
https://golang.org/cl/
5686055
Robert Griesemer [Thu, 23 Feb 2012 07:51:25 +0000 (23:51 -0800)]
go spec: import path implementation restriction
R=rsc, r, r, adg
CC=golang-dev
https://golang.org/cl/
5688074
Rob Pike [Thu, 23 Feb 2012 07:47:26 +0000 (18:47 +1100)]
test: commentary for [h-m]*.go
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
5674112
Robert Griesemer [Thu, 23 Feb 2012 07:40:28 +0000 (23:40 -0800)]
exp/types: fix package comment
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5695046
Robert Griesemer [Thu, 23 Feb 2012 07:38:18 +0000 (23:38 -0800)]
godoc: remove dead code
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5698044
Robert Griesemer [Thu, 23 Feb 2012 07:21:56 +0000 (23:21 -0800)]
go/parser: check import path restrictions
Replaces pending CL
5674097 .
Thanks to ality@pbrane.org for spearheading
the effort.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
5683077
Robert Griesemer [Thu, 23 Feb 2012 06:33:45 +0000 (22:33 -0800)]
go cmd: print more than one error when running go test
Fixes #3055.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
5683079
Andrew Gerrand [Thu, 23 Feb 2012 05:59:11 +0000 (16:59 +1100)]
tag weekly.2012-02-22
R=golang-dev
CC=golang-dev
https://golang.org/cl/
5699044
Andrew Gerrand [Thu, 23 Feb 2012 05:40:13 +0000 (16:40 +1100)]
weekly.2012-02-22
R=golang-dev, r, bradfitz
CC=golang-dev
https://golang.org/cl/
5698043
Brad Fitzpatrick [Thu, 23 Feb 2012 04:51:53 +0000 (15:51 +1100)]
net/http: some more cookie tests
Including a commented-out test we might
tackle later, after seeing what browsers do.
R=dsymonds, rsc
CC=golang-dev
https://golang.org/cl/
5694045
Gustavo Niemeyer [Thu, 23 Feb 2012 03:35:50 +0000 (01:35 -0200)]
encoding/xml: add example and docs for anon fields
Anonymous pointer fields is not yet supported.
The problem is documented in issue 3108.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5694043
Mikio Hara [Thu, 23 Feb 2012 03:16:43 +0000 (12:16 +0900)]
net: add a bit clarified multicast listener tests
Also adds -external flag to allow use of external networks on tests.
R=rsc
CC=golang-dev
https://golang.org/cl/
5693043
Russ Cox [Thu, 23 Feb 2012 02:46:12 +0000 (21:46 -0500)]
pprof: add Profile type
Makes it possible for client code to maintain its own profiles,
and also reduces the API surface by giving us a type that
models built-in profiles.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5684056
Russ Cox [Thu, 23 Feb 2012 02:45:01 +0000 (21:45 -0500)]
runtime: goroutine profile, stack dumps
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/
5687076
Gustavo Niemeyer [Thu, 23 Feb 2012 01:37:57 +0000 (23:37 -0200)]
encoding/xml: move Unmarshal example to function
This also fixes MarshalIndent's example after the
recent formatting convention changes.
Fixes #2831.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5671062
Alex Brainman [Thu, 23 Feb 2012 01:07:59 +0000 (12:07 +1100)]
time: run full TestTicker test even during short tests
R=golang-dev, r, bradfitz, r
CC=golang-dev
https://golang.org/cl/
5689076
Russ Cox [Wed, 22 Feb 2012 22:36:25 +0000 (17:36 -0500)]
5a: fix same arm bug
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/
5689073
Russ Cox [Wed, 22 Feb 2012 21:29:14 +0000 (16:29 -0500)]
5c, 5g, 5l: fix arm bug
Using reg as the flag word was unfortunate, since the
default value is not 0 but NREG (==16), which happens
to be the bit NOPTR now. Clear it.
If I say this will fix the build, it won't.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5690072
Russ Cox [Wed, 22 Feb 2012 21:29:05 +0000 (16:29 -0500)]
cmd/dist: fix install cmd/5g on non-arm system
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5689072
Mikio Hara [Wed, 22 Feb 2012 21:27:05 +0000 (06:27 +0900)]
net: make raw IP tests robust
Make it rely on underlying socket's address family.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5673091
Mikio Hara [Wed, 22 Feb 2012 21:26:31 +0000 (06:26 +0900)]
net: make parseProcNetIGMP more robust
Suggested by Paul Borman.
Fixes #2826.
R=rsc, borman
CC=golang-dev
https://golang.org/cl/
5689048
Rob Pike [Wed, 22 Feb 2012 20:51:49 +0000 (07:51 +1100)]
os: make the system info a value not a pointer on unix
fix a couple of other minor related details.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5690071
Shenghou Ma [Wed, 22 Feb 2012 20:39:53 +0000 (15:39 -0500)]
builder: reuse existing workspace if possible
R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/
5690069
Russ Cox [Wed, 22 Feb 2012 20:35:41 +0000 (15:35 -0500)]
net: delete debugging print
Fixes #3030.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5689071
Brad Fitzpatrick [Wed, 22 Feb 2012 19:48:41 +0000 (11:48 -0800)]
builder: update for os.Wait changes.
This compiles again.
R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/
5687078
Robert Griesemer [Wed, 22 Feb 2012 19:27:45 +0000 (11:27 -0800)]
go/printer, gofmt: improved comma placement
Not a Go 1 issue, but appeared to be fairly easy to fix.
- Note that a few existing test cases look slightly worse but
those cases were not representative for real code. All real
code looks better now.
- Manual move of the comment in go/scanner/example_test.go
before applying gofmt.
- gofmt -w $GOROOT/src $GOROOT/misc
Fixes #3062.
R=rsc
CC=golang-dev
https://golang.org/cl/
5674093
Robert Griesemer [Wed, 22 Feb 2012 19:25:21 +0000 (11:25 -0800)]
godoc: proper index range checking when extracting example code
Fixes #3092.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5683075
Gustavo Niemeyer [Wed, 22 Feb 2012 19:10:25 +0000 (17:10 -0200)]
cgo: fix definition of opaque types
Fixes #3082.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5683074
Robert Griesemer [Wed, 22 Feb 2012 18:49:37 +0000 (10:49 -0800)]
go/doc: move firstSentence into go/doc
- renamed firstSentence -> Synopsis
- also deal with common abbreviations
R=rsc
CC=golang-dev
https://golang.org/cl/
5676088
Mikio Hara [Wed, 22 Feb 2012 10:08:19 +0000 (19:08 +0900)]
net: replace error variable name oserr with err
This CL replaces the last two in source tree.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5685080
Robert Griesemer [Wed, 22 Feb 2012 06:50:00 +0000 (22:50 -0800)]
godoc: fix potential index out-of-bounds error
R=golang-dev, bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/
5683072
Russ Cox [Wed, 22 Feb 2012 06:30:04 +0000 (01:30 -0500)]
ld: get symbol table letters right
Have to assign them before we create the symbol table.
ARM debugging.
TBR=r
CC=golang-dev
https://golang.org/cl/
5689067
Russ Cox [Wed, 22 Feb 2012 05:29:37 +0000 (00:29 -0500)]
gc: new, less strict bool rules
R=ken2
CC=golang-dev
https://golang.org/cl/
5688064
Russ Cox [Wed, 22 Feb 2012 05:29:23 +0000 (00:29 -0500)]
gc: never crash during a debugging print
TBR=lvd
CC=golang-dev
https://golang.org/cl/
5686063
Rob Pike [Wed, 22 Feb 2012 05:25:55 +0000 (16:25 +1100)]
spec: refine the wording about variables in type switches
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5686064
Russ Cox [Wed, 22 Feb 2012 05:06:50 +0000 (00:06 -0500)]
cmd/go: add tool -n flag
As in gdb $(go tool -n 6g).
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5689066
David Symonds [Wed, 22 Feb 2012 04:46:31 +0000 (15:46 +1100)]
cmd/fix: remove os.Wait gofix.
The os.Wait function has been removed entirely, so there's no point in fixing code that called it.
R=r
CC=golang-dev
https://golang.org/cl/
5685078
Devon H. O'Dell [Wed, 22 Feb 2012 04:44:09 +0000 (15:44 +1100)]
runtime: fix FreeBSD signal handling around thread creation
Ignore signals while we are spawning a new thread. Previously, a
signal arriving just before runtime.minit setting up the signal
handler triggers a "double fault" in signal trampolining.
Fixes #3017.
R=rsc, mikioh.mikioh, minux.ma, adg
CC=golang-dev
https://golang.org/cl/
5684060
Joe Poirier [Wed, 22 Feb 2012 04:15:03 +0000 (22:15 -0600)]
misc/dist/windows: fix broken icon, other misc
fix, and shrink, the gopher icon, txt extensions
for license and readme files, minor format changes
in the wxs file
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5683054
Russ Cox [Wed, 22 Feb 2012 04:04:38 +0000 (23:04 -0500)]
ld: only set SNOPTRBSS during load
dodata will convert to SNOPTRDATA if appropriate.
Should fix arm build (hope springs eternal).
TBR=golang-dev
CC=golang-dev
https://golang.org/cl/
5687074
Andrew Gerrand [Wed, 22 Feb 2012 04:02:31 +0000 (15:02 +1100)]
doc: move styles to style.css
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5685075
Russ Cox [Wed, 22 Feb 2012 03:54:07 +0000 (22:54 -0500)]
gc: return of ideal bool
This is a manual undo of CL
5674098 .
It does not implement the even less strict spec
that we just agreed on, but it gets us back where
we were at the last weekly.
R=ken2
CC=golang-dev
https://golang.org/cl/
5683069
Russ Cox [Wed, 22 Feb 2012 03:08:42 +0000 (22:08 -0500)]
ld: add NOPTRBSS for large, pointer-free uninitialized data
cc: add #pragma textflag to set it
runtime: mark mheap to go into noptr-bss.
remove special case in garbage collector
Remove the ARM from.flag field created by CL
5687044 .
The DUPOK flag was already in p->reg, so keep using that.
Otherwise test/nilptr.go creates a very large binary.
Should fix the arm build.
Diagnosed by minux.ma; replacement for CL
5690044 .
R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/
5686060
Russ Cox [Wed, 22 Feb 2012 03:04:30 +0000 (22:04 -0500)]
spec: make all comparison results untyped bool
Or, depending on your point of view, make the
comparisons satisfy any surrounding boolean type.
Also, fix a few foo_bar -> fooBar in code fragments.
Fixes #2561.
R=golang-dev, r, bradfitz, gri, iant, kevlar
CC=golang-dev
https://golang.org/cl/
5671096
Robert Griesemer [Wed, 22 Feb 2012 02:12:37 +0000 (18:12 -0800)]
godoc: fix absolute->relative mapping
Fixes #3096.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5690063
Devon H. O'Dell [Wed, 22 Feb 2012 02:04:25 +0000 (11:04 +0900)]
runtime: use SYSCALL instead of INT 0x80 in FreeBSD's runtime.osyield on amd64
R=mikioh.mikioh, rsc
CC=golang-dev
https://golang.org/cl/
5690062
Andrew Gerrand [Wed, 22 Feb 2012 01:45:01 +0000 (12:45 +1100)]
godoc: adjust line height in pre blocks
R=gri, dsymonds
CC=golang-dev
https://golang.org/cl/
5687071
Brad Fitzpatrick [Wed, 22 Feb 2012 00:22:09 +0000 (11:22 +1100)]
net/http: update test to use time.Duration better
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5688063
Brad Fitzpatrick [Wed, 22 Feb 2012 00:13:59 +0000 (11:13 +1100)]
net/textproto: accept bad MIME headers as browsers do
Accept certain non-compliant response headers
(in particular, when spaces preceed the colon).
All major browser and curl seem to support this,
and at least one webserver seems to send these.
*shrug*
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
5690059
Rémy Oudompheng [Tue, 21 Feb 2012 23:19:59 +0000 (00:19 +0100)]
test: use testlib in a few more cases.
R=golang-dev, rsc
CC=golang-dev, remy
https://golang.org/cl/
5688057
Andrew Gerrand [Tue, 21 Feb 2012 23:09:34 +0000 (10:09 +1100)]
godoc: fix playground url
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
5685070
Robert Griesemer [Tue, 21 Feb 2012 22:48:17 +0000 (14:48 -0800)]
text/tabwriter: fix documentation by adding an example.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
5685069
Andrew Gerrand [Tue, 21 Feb 2012 22:37:38 +0000 (09:37 +1100)]
misc/goplay: remove redundant chdir
R=ajstarks, r
CC=golang-dev
https://golang.org/cl/
5687070
Andrew Gerrand [Tue, 21 Feb 2012 22:25:56 +0000 (09:25 +1100)]
godoc: support flat directory view again
R=bradfitz
CC=golang-dev
https://golang.org/cl/
5690058
Andrew Gerrand [Tue, 21 Feb 2012 22:16:54 +0000 (09:16 +1100)]
doc: support redirect-on-share
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5689056
Bobby Powers [Tue, 21 Feb 2012 21:49:30 +0000 (16:49 -0500)]
cmd/dist: fix pprof permissions
When installing pprof into the tools directory, it needs to
have execute permissions on unix-like systems.
Fixes issues 3077.
R=golang-dev, rsc, minux.ma
CC=golang-dev
https://golang.org/cl/
5675095
Russ Cox [Tue, 21 Feb 2012 21:39:02 +0000 (16:39 -0500)]
net/smtp: use EHLO then HELO
Before we were using "ESMTP" in the banner as a clue,
but that is not required by the RFC and breaks mailing
to smtp.yandex.ru.
Fixes #3045.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5687066
Russ Cox [Tue, 21 Feb 2012 21:36:15 +0000 (16:36 -0500)]
runtime: avoid malloc during malloc
A fault during malloc might lead to the program's
first call to findfunc, which would in turn call malloc.
Don't do that.
Fixes #1777.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
5689047
Shenghou Ma [Tue, 21 Feb 2012 21:10:48 +0000 (16:10 -0500)]
codereview: add submit message support for newer clone URL and subrepos
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5689063
Mike Rosset [Tue, 21 Feb 2012 20:42:03 +0000 (15:42 -0500)]
cmd/go: pass 2, remove reference to incomplete -file flag
R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/
5686058
Mike Rosset [Tue, 21 Feb 2012 18:23:33 +0000 (13:23 -0500)]
cmd/go: 'go help test' remove documentation for incomplete -file flag
R=golang-dev, rsc, r, r
CC=golang-dev
https://golang.org/cl/
5673093
Adam Langley [Tue, 21 Feb 2012 15:50:58 +0000 (10:50 -0500)]
cmd/*: add -d option to bison.
Without -d, bison doesn't generate y.tab.h.
R=rsc
CC=golang-dev
https://golang.org/cl/
5685065
Marcel van Lohuizen [Tue, 21 Feb 2012 12:13:21 +0000 (13:13 +0100)]
exp/norm: Added Iter type for iterating on segment boundaries. This type is mainly to be used
by other low-level libraries, like collate. Extra care has been given to optimize the performance
of normalizing to NFD, as this is what will be used by the collator. The overhead of checking
whether a string is normalized vs simply decomposing a string is neglible. Assuming that most
strings are in the FCD form, this iterator can be used to decompose strings and normalize with
minimal overhead.
R=r
CC=golang-dev
https://golang.org/cl/
5676057
Rémy Oudompheng [Tue, 21 Feb 2012 06:50:10 +0000 (07:50 +0100)]
test: fix bug423.go to actually fail with older releases.
The supposedly overflowing variable was registerized.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5687061
Rémy Oudompheng [Tue, 21 Feb 2012 06:37:25 +0000 (07:37 +0100)]
cmd/api: record return type of functions for variable typecheck.
Also cleanup the resolveName method.
Fixes failure on go/build declaration:
var ToolDir = filepath.Join(...)
R=golang-dev, bradfitz
CC=golang-dev, remy
https://golang.org/cl/
5681043
Andrew Gerrand [Tue, 21 Feb 2012 06:13:14 +0000 (17:13 +1100)]
dashboard: rename buttons to satisfy pedantic souls
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5686053
Rob Pike [Tue, 21 Feb 2012 05:48:05 +0000 (16:48 +1100)]
net: extend the workaround to DialTCP to try to get arm building again.
Awfulness by the bucket that we hope
Fixes #3057.
R=golang-dev, mikioh.mikioh, dsymonds, r, rsc
CC=golang-dev
https://golang.org/cl/
5687060