Shenghou Ma
52cd4c8610
doc: update codelab/wiki to Go 1.
...
R=golang-dev, r, adg
CC=golang-dev
https://golang.org/cl/5683076
2012-02-25 01:09:05 +08:00
Sanjay Menakuru
27e07a2666
os: fix minor typo
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5697051
2012-02-24 22:42:16 +11:00
Rob Pike
832dcecc99
test/bench/shootout: update post-Makefile
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5696054
2012-02-24 16:59:09 +11:00
Rob Pike
3a1c226a38
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
2012-02-24 16:25:39 +11:00
Rob Pike
eb37b5b744
test: document ken/*.go
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5694065
2012-02-24 16:24:24 +11:00
Russ Cox
51a84bbfaa
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
2012-02-23 23:10:38 -05:00
Russ Cox
075eef4018
gc: fix escape analysis + inlining + closure bug
...
R=ken2
CC=golang-dev, lvd
https://golang.org/cl/5693056
2012-02-23 23:09:53 -05:00
Rob Pike
d45ee4cb5f
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
2012-02-24 15:06:32 +11:00
Russ Cox
15d8b05f0c
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
2012-02-23 23:01:36 -05:00
Russ Cox
fad10f9c1c
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
2012-02-23 22:46:04 -05:00
Russ Cox
9984a5bca4
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
2012-02-23 22:45:55 -05:00
Russ Cox
91bdbf591f
net/rpc: silence read error on closing connection
...
Fixes #3113 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5698056
2012-02-23 22:45:44 -05:00
Mikio Hara
705ebf1144
net: reorganize test files
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5694063
2012-02-24 11:58:30 +09:00
Brad Fitzpatrick
e014cf0e54
test: add cmpout to testlib
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5699060
2012-02-24 13:17:26 +11:00
Rob Pike
5cff029993
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
2012-02-24 13:08:11 +11:00
Brad Fitzpatrick
a55a5c8df3
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
2012-02-24 12:52:15 +11:00
Robert Griesemer
54eec3db2c
godoc: fine-tuning .css
...
R=adg
CC=golang-dev
https://golang.org/cl/5699057
2012-02-23 17:42:14 -08:00
David Symonds
5fb82d8cf6
net/http: add overlooked 418 status code, per RFC 2324.
...
R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5688067
2012-02-24 11:55:31 +11:00
Rob Pike
80a9783f84
test/[n-z]*.go: add documentation
...
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5700056
2012-02-24 11:48:19 +11:00
Scott Lawrence
c05c3a9d11
html/template: make doctype check case-insensitive
...
Fixes #3094 .
R=golang-dev, rsc, nigeltao
CC=golang-dev
https://golang.org/cl/5687065
2012-02-24 11:32:33 +11:00
Rob Pike
19bab1dc78
test/[n-r]*.go: add documentation
...
The rename ones needed redoing.
R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5698054
2012-02-24 10:30:39 +11:00
Robert Griesemer
5b30306fa8
godoc: bring back highlighting, selections, and alerts
...
R=adg, rsc
CC=golang-dev
https://golang.org/cl/5695054
2012-02-23 14:54:10 -08:00
Robert Griesemer
c1139549bc
godoc: consistent placement of documentation sections
...
Fixes #1226 .
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5694052
2012-02-23 12:44:11 -08:00
Shenghou Ma
1bddfb5203
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
2012-02-23 15:43:14 -05:00
Scott Lawrence
7ae6872fc0
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
2012-02-23 15:38:07 -05:00
Stefan Nilsson
83b5f067e8
binary: remove unnecessary dummy type.
...
R=rsc
CC=golang-dev
https://golang.org/cl/5698052
2012-02-23 15:29:17 -05:00
Robert Griesemer
999c77d78a
godoc: don't show testdata directories
...
R=golang-dev, bradfitz, dsymonds, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/5700043
2012-02-23 12:23:17 -08:00
Russ Cox
3a6a1f9e7e
go/parser: expand test cases for bad import
...
R=gri
CC=golang-dev
https://golang.org/cl/5697047
2012-02-23 14:44:53 -05:00
Russ Cox
224f05ba88
runtime: darwin signal masking
...
Fixes #3101 (darwin).
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5693044
2012-02-23 14:44:06 -05:00
Russ Cox
240b1d5b44
runtime: linux signal masking
...
Fixes #3101 (Linux).
R=golang-dev, bradfitz, minux.ma
CC=golang-dev
https://golang.org/cl/5696043
2012-02-23 14:43:58 -05:00
Anthony Martin
436f297d1e
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
2012-02-23 14:28:16 -05:00
Robert Griesemer
28e0e18863
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
2012-02-23 10:17:24 -08:00
Adam Langley
36d3707009
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
2012-02-23 10:51:04 -05:00
Robert Griesemer
ac4055b2c5
go spec: import path implementation restriction
...
R=rsc, r, r, adg
CC=golang-dev
https://golang.org/cl/5688074
2012-02-22 23:51:25 -08:00
Rob Pike
501f0b578f
test: commentary for [h-m]*.go
...
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5674112
2012-02-23 18:47:26 +11:00
Robert Griesemer
3391de8df7
exp/types: fix package comment
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5695046
2012-02-22 23:40:28 -08:00
Robert Griesemer
cbaf7ca032
godoc: remove dead code
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5698044
2012-02-22 23:38:18 -08:00
Robert Griesemer
bcc3862565
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
2012-02-22 23:21:56 -08:00
Robert Griesemer
548591b77d
go cmd: print more than one error when running go test
...
Fixes #3055 .
R=rsc, r
CC=golang-dev
https://golang.org/cl/5683079
2012-02-22 22:33:45 -08:00
Andrew Gerrand
b05e3f11b1
tag weekly.2012-02-22
...
R=golang-dev
CC=golang-dev
https://golang.org/cl/5699044
2012-02-23 16:59:11 +11:00
Andrew Gerrand
6419bbbfd3
weekly.2012-02-22
...
R=golang-dev, r, bradfitz
CC=golang-dev
https://golang.org/cl/5698043
2012-02-23 16:40:13 +11:00
Brad Fitzpatrick
a5b5964524
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
2012-02-23 15:51:53 +11:00
Gustavo Niemeyer
6c20f5c013
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
2012-02-23 01:35:50 -02:00
Mikio Hara
adbadf444d
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
2012-02-23 12:16:43 +09:00
Russ Cox
ebae73bb24
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
2012-02-22 21:46:12 -05:00
Russ Cox
e4b02bfdc0
runtime: goroutine profile, stack dumps
...
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5687076
2012-02-22 21:45:01 -05:00
Gustavo Niemeyer
133c6bf77f
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
2012-02-22 23:37:57 -02:00
Alex Brainman
fea7f07e56
time: run full TestTicker test even during short tests
...
R=golang-dev, r, bradfitz, r
CC=golang-dev
https://golang.org/cl/5689076
2012-02-23 12:07:59 +11:00
Russ Cox
123130f789
5a: fix same arm bug
...
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/5689073
2012-02-22 17:36:25 -05:00
Russ Cox
a5bc16d619
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
2012-02-22 16:29:14 -05:00