Oling Cat
6f53c4136b
doc/contrib.html: fix some tags
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/14516057
2013-10-15 18:41:23 +11:00
Alex Brainman
9a420b79d7
runtime/pprof: disable flaky TestGoroutineSwitch on windows
...
Update #6417
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/14604043
2013-10-15 13:00:06 +11:00
Keith Randall
2acb80b5e5
cmd/gc: fix comment about performing indexing at compile time.
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14441070
2013-10-14 14:26:52 -07:00
Michael Piatek
21e6b90d36
net/http: skip content-type sniffing if the header is explicitly unset.
...
Fixes #5953
R=dsymonds, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/14434044
2013-10-15 08:22:04 +11:00
David Symonds
51c0d7c0a7
C: add Michael Piatek (Google CLA).
...
R=golang-dev, r
CC=golang-dev, piatek
https://golang.org/cl/14681043
2013-10-15 08:21:30 +11:00
Ian Lance Taylor
c78d67fb86
debug/dwarf: report the value of an unrecognized attribute format
...
R=golang-dev, r, minux.ma
CC=golang-dev
https://golang.org/cl/14669045
2013-10-14 10:53:55 -07:00
Shenghou Ma
89ebc28b58
cmd/api: make it work even when cgo is disabled
...
make use of $USER or %USERNAME% to determine the current user.
Fixes #6578 .
R=golang-dev, bradfitz, alex.brainman
CC=golang-dev
https://golang.org/cl/14649043
2013-10-14 00:18:46 -04:00
Shenghou Ma
26f43a089e
doc: fix small HTML problems
...
R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/14629043
2013-10-12 18:40:41 -04:00
Rob Pike
7f168f9ccf
doc/effective_go.html: fix unescaped less-than character
...
Why doesn't tidy complain about these?
Found by manlio.perillo.
Fixes #6571
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/14608044
2013-10-11 16:39:40 -07:00
Ian Lance Taylor
5b2f626159
go/build: add GOOS and GOARCH to name of gccgo pkg directory
...
This matches the behaviour of builder.includeArgs in
cmd/go/build.go.
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/14535048
2013-10-11 16:17:45 -07:00
Ian Lance Taylor
96648e0195
go/build: fix test if built with CGO_ENABLED=0
...
Fixes #6567 .
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/14502060
2013-10-11 15:55:50 -07:00
Ian Lance Taylor
cd61565ffc
misc/cgo/test: fix C panic test to work with gccgo
...
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/14611043
2013-10-11 11:24:54 -07:00
Ian Lance Taylor
db3374e24d
doc/progs: don't try building cgo tests if CGO_ENABLED=0
...
R=golang-dev, jsing, r
CC=golang-dev
https://golang.org/cl/14523056
2013-10-11 08:55:13 -07:00
Shenghou Ma
7dba510c7b
cmd/gc: re-word some error messages
...
Fixes #6557 .
R=golang-dev, rsc, tracey.brendan
CC=golang-dev
https://golang.org/cl/14432053
2013-10-10 22:43:34 -04:00
Andrew Gerrand
5f3a7aa217
go.tools/misc/dist: copy doc.go from go.tools to go root
...
This will allow "godoc godoc", "godoc vet", "godoc cover" to work.
Fixes #6527 .
R=r, dsymonds
CC=golang-dev
https://golang.org/cl/14566049
2013-10-11 10:37:32 +09:00
Yasuhiro Matsumoto
5516349fe7
misc/vim: complete packages in src directory
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/14454059
2013-10-11 11:30:03 +11:00
Rob Pike
beca0e124d
doc/effective_go.html: fix a couple of cosmetic issues
...
At the moment, godoc expands the example in the link, but in
the past it has not. Add a waffle word to allow either possibility.
Also change the order of cases in the switch in Compare to
be consistent with the other switch in the function.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14439055
2013-10-10 17:26:03 -07:00
Francesc Campoy
b6c0c4228d
lib/codereview: return an empty list when CONTRIBUTORS is not found instead of None.
...
R=adg, campoy, r
CC=golang-dev
https://golang.org/cl/14419059
2013-10-10 17:16:17 -07:00
Dominik Honnef
50d4dae80b
codereview: fix hg sync closing of CLs for subrepositories
...
The regexp for closing CLs that were sent by you but committed by
someone else only matched messages for the main repository,
because of the added &repo=... for subrepositories.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14512045
2013-10-10 16:30:47 -07:00
Dominik Honnef
950c284b11
misc/emacs: send correct content-length to the playground
...
R=adonovan
CC=golang-dev
https://golang.org/cl/14548049
2013-10-10 16:49:19 -04:00
Dominik Honnef
47bb44fd5b
misc/emacs: don't treat (foo)(bar) as a function call when preceded by a word character.
...
Fixes #6531 .
R=adonovan
CC=golang-dev
https://golang.org/cl/14523043
2013-10-10 16:30:20 -04:00
Ian Lance Taylor
649fc255a9
net: fix TestDialFailPDLeak to work when GOMAXPROCS is large
...
Fixes #6553 .
R=golang-dev, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/14526048
2013-10-09 13:52:29 -07:00
Keith Randall
139cc96a57
runtime: markfreed's error reports should be prefixed with "markfreed", not "markallocated".
...
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14441055
2013-10-09 13:28:47 -07:00
Ian Lance Taylor
c774e90208
cmd/go: add any .c/.cc files to the SWIG shared library
...
Also add the action's object directory to the list of
directories we use to find SWIG shared libraries.
Fixes #6521 .
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/14369043
2013-10-09 10:35:46 -07:00
Ian Lance Taylor
cb30917387
runtime/cgo: mark callback functions as NOSPLIT
...
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/14448044
2013-10-09 08:44:47 -07:00
Russ Cox
0965459bd9
debug/dwarf: handle surprising clang encoding
...
Fixes a bug in cgo on OS X using clang.
See golang.org/issue/6472 for details.
Fixes #6472 .
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14575043
2013-10-09 11:08:22 -04:00
Ian Lance Taylor
7bbe0163c7
net: fix typo in failure message in test
...
R=golang-dev, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/14582043
2013-10-09 06:44:11 -07:00
Russ Cox
8ba6deb1ec
compress/flate: fix infinite loop on malformed data
...
Test using compress/gzip, because that's how the
data arrived.
Fixes #6550 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14441051
2013-10-09 08:37:06 -04:00
Rob Pike
158c56ef8a
lib/time: update time zone files to version 2013g
...
This dataset is current as of Sep 30, 2013.
Fixes #6524
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/14570044
2013-10-08 16:16:24 -07:00
Rob Pike
daa61d1eb3
encoding/gob: add examples
...
Also tweak the package document, putting in section headings and
adding a sentence about intended use.
Fixes #4925 .
R=golang-dev, iant, adg, ugorji
CC=golang-dev
https://golang.org/cl/14519044
2013-10-08 13:13:40 -07:00
Andrew Gerrand
cf694aac34
doc: fix a few broken links
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14494044
2013-10-09 07:05:43 +11:00
Alan Donovan
bab2a5416c
test: revert changes made for Go SSA interpreter test.
...
R=r, gri
CC=golang-dev
https://golang.org/cl/14552044
2013-10-08 14:36:20 -04:00
Carl Shapiro
254dc5fdbe
cmd/go, runtime: express armv5t architecture constraint differently
...
Instead of adding an -march=armv5t flag to the gcc command
line, the same effect is obtained with an ".arch armv5t"
pseudo op in the assembly file that uses armv5t instructions.
R=golang-dev, iant, dave
CC=golang-dev
https://golang.org/cl/14511044
2013-10-08 10:40:51 -07:00
Andrew Gerrand
fa9fad4b69
A+C: Tw (individual CLA)
...
Generated by addca.
R=gobot
CC=golang-dev
https://golang.org/cl/14502047
2013-10-08 16:53:56 +11:00
Andrew Gerrand
0d676f3d1e
doc/articles/wiki: fix path handling and clean up test process
...
Fixes #6525 .
R=r
CC=golang-dev
https://golang.org/cl/14383043
2013-10-08 11:14:35 +11:00
Rob Pike
9795882704
math: the trig functions work in radians; document that
...
Fixes #6543
6543 is also a fine NGC object.
R=golang-dev, dsymonds, kamil.kisiel, minux.ma
CC=golang-dev
https://golang.org/cl/14515044
2013-10-07 16:32:47 -07:00
Robert Griesemer
e121de2f01
spec: unsafe.Pointers are pointers
...
But they cannot be dereferenced.
See also issue 6116.
Fixes #6358 .
R=r, rsc, iant, ken
CC=golang-dev
https://golang.org/cl/14374046
2013-10-07 10:43:28 -07:00
Dominik Honnef
989a63eb0b
misc/emacs: find unused imports where path and package name differ
...
The Go compiler emits extra information for this case:
imported and not used: "sandbox/foo_bar" as bar
R=adonovan
CC=golang-dev
https://golang.org/cl/14111043
2013-10-07 13:08:26 -04:00
Joel Sing
fc1bea321d
os/user: fix user lookups on dragonfly
...
Like FreeBSD, DragonFly does not provide a sysconf value for
_SC_GETPW_R_SIZE_MAX.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14469043
2013-10-07 09:21:33 -07:00
Joel Sing
fba015ecb4
os/user: enable tests on all supported platforms
...
All of the currently supported platforms have a working user
implementation and do not use stubs. As a result, enable the tests
on all platforms rather than whitelisting.
R=golang-dev, dave, iant
CC=golang-dev
https://golang.org/cl/14454044
2013-10-07 09:12:17 -07:00
Joel Sing
932428a1ed
os/signal: make test logs reflect reality
...
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14470043
2013-10-07 09:04:20 -07:00
Jeff Sickel
e67b0e6885
codereview: move dotfiles out of user home director to something sane.
...
See Rob Pike's lesson on shortcuts, https://plus.google.com/101960720994009339267/posts/R58WgWwN9jp
R=golang-dev, r, rsc
CC=aram.h, golang-dev
https://golang.org/cl/14374045
2013-10-07 11:41:27 -04:00
Russ Cox
13afa62764
A+C: Jeff Sickel (individual CLA)
...
Generated by addca.
R=gobot
CC=golang-dev
https://golang.org/cl/14467045
2013-10-07 11:40:59 -04:00
David Symonds
faad40c745
A+C: add Marko Juhani Silokunnas (individual CLA).
...
R=golang-dev, adg
CC=golang-dev, mikioh.mikioh
https://golang.org/cl/14417043
2013-10-05 14:15:02 +10:00
Keith Randall
869368a528
runtime: fix bug in maps at the intersection of iterators, growing, and NaN keys
...
If an iterator is started while a map is in the middle of a grow,
and the map has NaN keys, then those keys might get returned by
the iterator more than once. This fix makes the evacuation decision
deterministic and repeatable for NaN keys so each one gets returned
only once.
R=golang-dev, r, khr, iant
CC=golang-dev
https://golang.org/cl/14367043
2013-10-04 13:54:03 -07:00
Keith Randall
15baf6b4ac
runtime: remove 3 unused declarations.
...
R=golang-dev, cshapiro, iant
CC=golang-dev
https://golang.org/cl/14405043
2013-10-04 13:22:20 -07:00
Ian Lance Taylor
ef4e12a4ba
reflect: test using a MakeFunc value in a couple of different ways
...
The gccgo implementation mishandled calling Interface on a
value created by MakeFunc.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14401043
2013-10-04 13:12:50 -07:00
Mikio Hara
eb002c50f5
doc/go1.2.html: update a minor change to syscall
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14379043
2013-10-04 13:13:56 +09:00
Alex Brainman
4207897dcc
runtime: collect profiles even while on g0 stack
...
Fixes #6417
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/14231047
2013-10-04 13:53:34 +10:00
Andrew Gerrand
8e5866e60d
A+C: Matt Reiferson (individual CLA)
...
Generated by addca.
R=gobot
CC=golang-dev
https://golang.org/cl/14375043
2013-10-04 11:46:32 +10:00