]>
Cypherpunks repositories - gostls13.git/log
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
Rob Pike [Tue, 21 Feb 2012 05:47:42 +0000 (16:47 +1100)]
test: fix broken test
TBR=bradfitz
R=golang-dev
CC=golang-dev
https://golang.org/cl/
5684050
Rémy Oudompheng [Tue, 21 Feb 2012 05:38:01 +0000 (16:38 +1100)]
cmd/gc: don't believe that variables mentioned 256 times are unused.
Such variables would be put at 0(SP), leading to serious
corruptions at zero initialization.
Fixes #3084.
R=golang-dev, r
CC=golang-dev, remy
https://golang.org/cl/
5683052
Rob Pike [Tue, 21 Feb 2012 04:49:08 +0000 (15:49 +1100)]
net: more selfConnect debugging: panic if ra == nil in internetSocket
TBR=dsymonds
R=dsymonds
CC=golang-dev
https://golang.org/cl/
5687058
Rob Pike [Tue, 21 Feb 2012 04:21:34 +0000 (15:21 +1100)]
net: panic if sockaddrToTCP returns nil incorrectly
Part of diagnosing the selfConnect bug
TBR=dsymonds
R=golang-dev
CC=golang-dev
https://golang.org/cl/
5687057
Rob Pike [Tue, 21 Feb 2012 03:53:07 +0000 (14:53 +1100)]
net: add diagnostic to try to catch selfConnect bug earlier
TBR=dsymonds
R=golang-dev
CC=golang-dev
https://golang.org/cl/
5683057
Brad Fitzpatrick [Tue, 21 Feb 2012 03:28:49 +0000 (14:28 +1100)]
test: rewrite test/run shell script + errchk (perl) in Go
This doesn't run all ~750 of the tests, but most.
Progress on issue 2833
R=golang-dev, ality, rsc, r, r
CC=golang-dev
https://golang.org/cl/
5625044
Andrew Gerrand [Tue, 21 Feb 2012 03:12:07 +0000 (14:12 +1100)]
doc: fix links in installation instructions
Fixes #3051.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5683056
Rob Pike [Tue, 21 Feb 2012 03:10:34 +0000 (14:10 +1100)]
os: replace non-portable Waitmsg with portable ProcessState
Use methods for key questions.
Provide access to non-portable pieces through portable methods.
Windows and Plan 9 updated.
R=golang-dev, bradfitz, bradfitz, r, dsymonds, rsc, iant, iant
CC=golang-dev
https://golang.org/cl/
5673077
Mikio Hara [Tue, 21 Feb 2012 03:07:38 +0000 (12:07 +0900)]
runtime: remove an obsolete file
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
5686049
Andrew Gerrand [Tue, 21 Feb 2012 02:59:51 +0000 (13:59 +1100)]
doc: link to self-hosted articles from docs.html
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5685061
Andrew Gerrand [Tue, 21 Feb 2012 00:24:29 +0000 (11:24 +1100)]
misc/goplay: remain in work directory, build in temp directory
Fixes #2935.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5684048
Brad Fitzpatrick [Tue, 21 Feb 2012 00:11:18 +0000 (11:11 +1100)]
net: more docs on deadlines
Fixes #2777
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5685060
Brad Fitzpatrick [Mon, 20 Feb 2012 23:24:15 +0000 (10:24 +1100)]
net/http: add optional Server.TLSConfig field
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5688047
Devon H. O'Dell [Mon, 20 Feb 2012 22:32:20 +0000 (07:32 +0900)]
runtime: implement runtime.osyield on FreeBSD 386, amd64
R=rsc, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/
5689046
Mikio Hara [Mon, 20 Feb 2012 22:11:44 +0000 (07:11 +0900)]
net: move hosts testdata to testdata folder
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5687052
Rob Pike [Mon, 20 Feb 2012 21:03:03 +0000 (08:03 +1100)]
doc/go1: delete obsolete reference to FileStat
Fixes #3013.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5683049
Russ Cox [Mon, 20 Feb 2012 18:41:44 +0000 (13:41 -0500)]
5g, 6g, 8g: flush modified globals aggressively
The alternative is to record enough information that the
trap handler know which registers contain cached globals
and can flush the registers back to their original locations.
That's significantly more work.
This only affects globals that have been written to.
Code that reads from a global should continue to registerize
as well as before.
Fixes #1304.
R=ken2
CC=golang-dev
https://golang.org/cl/
5687046
Brad Fitzpatrick [Mon, 20 Feb 2012 10:49:58 +0000 (02:49 -0800)]
build: remove old version*.go files from hgignore
This broke a build on a Linux box I hadn't updated
in awhile. The hgignore files were preventing hg status
from showing and hg purge from cleaning up junk.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5687048
Dmitriy Vyukov [Mon, 20 Feb 2012 09:57:14 +0000 (13:57 +0400)]
cmd/6c: add line feed after an error message
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5685051
Joe Poirier [Mon, 20 Feb 2012 07:00:00 +0000 (01:00 -0600)]
misc/dist/windows: app engine gopher replaced with standard bw version
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5688048
Joe Poirier [Mon, 20 Feb 2012 06:29:57 +0000 (00:29 -0600)]
misc/dist/windows: ongoing dev
Embedded Go images in the installer dialog and
banner boxes, Go tree cloning uses version info
from the Go tool (readme updated), the installer
allows up/down-grading and reparing of the version
that's installed, added two registry values.
R=golang-dev, bradfitz, bradfitz
CC=golang-dev
https://golang.org/cl/
5683048
Rob Pike [Mon, 20 Feb 2012 04:36:08 +0000 (15:36 +1100)]
os: drop the Wait function and the options to Process.Wait
They are portability problems and the options are almost always zero in practice anyway.
R=golang-dev, dsymonds, r, bradfitz
CC=golang-dev
https://golang.org/cl/
5688046
Joe Poirier [Mon, 20 Feb 2012 04:21:41 +0000 (22:21 -0600)]
misc/dist/windows: ongoing dev
Added the (properly formatted) license file back,
the installer adds go\bin to the system PATH now,
the output package names are in line with the linux
and darwin versions, dist.bat extracts GOARCH in a
sane way, readme cleanup.
Tested on Windows 7 only. It would be helpful if
someone else could give it a try. See the readme
for details.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5673099
Brad Fitzpatrick [Mon, 20 Feb 2012 03:25:28 +0000 (14:25 +1100)]
database/sql/driver: API cleanups
-- add driver.Value type and documentation,
convert from interface{} to Value where
appropriate.
-- don't say "subset" anywhere,
-- SubsetValuer -> Valuer
-- SubsetValue -> Value
-- IsParameterSubsetType -> IsValue
-- IsScanSubsetType -> IsScanValue
Fixes #2842
R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/
5674084
Rob Pike [Mon, 20 Feb 2012 03:23:45 +0000 (14:23 +1100)]
html/template: don't indirect past a Stringer
While we're here, get rid of the old names for the escaping functions.
Fixes #3073.
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/
5685049
Russ Cox [Mon, 20 Feb 2012 03:13:04 +0000 (22:13 -0500)]
strconv: run garbage collection before counting allocations in test
My theory is that the call to f() allocates, which triggers
a garbage collection, which itself may do some allocation,
which is being counted. Running a garbage collection
before starting the test should avoid this problem.
Fixes #2894 (I hope).
R=golang-dev, bradfitz, nigeltao
CC=golang-dev
https://golang.org/cl/
5685046
Rob Pike [Mon, 20 Feb 2012 03:06:38 +0000 (14:06 +1100)]
go/doc: update golden file to fix build
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/
5683046
Rob Pike [Mon, 20 Feb 2012 02:42:37 +0000 (13:42 +1100)]
all: rewrite references to old tool names
R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/
5683045
Rob Pike [Mon, 20 Feb 2012 01:42:50 +0000 (12:42 +1100)]
FAQ: many small fixes and adjustments
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5685048
Scott Lawrence [Mon, 20 Feb 2012 01:32:43 +0000 (12:32 +1100)]
godoc: fix tag mismatch validation errors
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5676099
Fazlul Shahriar [Mon, 20 Feb 2012 01:31:24 +0000 (12:31 +1100)]
os,time: fix Plan 9 build
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/
5689043
Alex Brainman [Mon, 20 Feb 2012 01:17:27 +0000 (12:17 +1100)]
build: implement clean.bat
Fixes #2893.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
5685047
David Symonds [Mon, 20 Feb 2012 00:43:34 +0000 (11:43 +1100)]
html/template: minor tweak to docs to improve HTML typography.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
5684046
Shenghou Ma [Sun, 19 Feb 2012 23:11:16 +0000 (18:11 -0500)]
5a, 5c, 5g, 5l: fix build for Linux/ARM.
ARM doesn't have the concept of scale, so I renamed the field
Addr.scale to Addr.flag to better reflect its true meaning.
R=rsc
CC=golang-dev
https://golang.org/cl/
5687044
Russ Cox [Sun, 19 Feb 2012 23:04:38 +0000 (18:04 -0500)]
doc/go1: update for runtime, unsafe API changes
Fixes #2890.
R=golang-dev, r, remyoudompheng
CC=golang-dev
https://golang.org/cl/
5683044
Shenghou Ma [Sun, 19 Feb 2012 22:51:25 +0000 (09:51 +1100)]
syscall: force Windows to always use US English error messages
Fixes #1834.
R=rsc, alex.brainman
CC=golang-dev
https://golang.org/cl/
5673068
Bobby Powers [Sun, 19 Feb 2012 21:33:28 +0000 (08:33 +1100)]
doc: update contrib.html
Fix all the local links, as contrib.html is served as
/project/
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
5656105