- 07 Mar, 2012 40 commits
-
-
Robert Griesemer authored
This time for sure. Runs all tests. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5752060
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/5758057
-
Mikkel Krautz authored
This moves the various CA root fetchers from crypto/tls into crypto/x509. The move was brought about by issue 2997. Windows doesn't ship with all its root certificates, but will instead download them as-needed when using CryptoAPI for certificate verification. This CL changes crypto/x509 to verify a certificate using the system root CAs when VerifyOptions.RootCAs == nil. On Windows, this verification is now implemented using Windows's CryptoAPI. All other root fetchers are unchanged, and still use Go's own verification code. The CL also fixes the hostname matching logic in crypto/tls/tls.go, in order to be able to test whether hostname mismatches are honored by the Windows verification code. The move to crypto/x509 also allows other packages to use the OS-provided root certificates, instead of hiding them inside the crypto/tls package. Fixes #2997. R=agl, golang-dev, alex.brainman, rsc, mikkel CC=golang-dev https://golang.org/cl/5700087
-
Russ Cox authored
The compiler must be changed with the Set method so that the buildToolchain gets updated too. Fixes #3231. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5768044
-
Russ Cox authored
The old way to find a port was to listen :0 and then look at what port it picked, close the listener, and then immediately try to listen on that port. On some Windows 7 machines that sequence fails at the second listen, because the first one is still lingering in the TCP/IP stack somewhere. (Ironically, most of these are used in tests of a "second listen", which in this case ends up being the third listen.) Instead of this race, just return the listener from the function, replacing usableLocalPort+Listen with usableListenPort. Fixes #3219. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5769045
-
Russ Cox authored
Forgot this half in https://golang.org/cl/5764044 R=gri CC=golang-dev https://golang.org/cl/5770044
-
Russ Cox authored
Fixes #3234. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5756078
-
Russ Cox authored
Fixes #3203. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5769043
-
Russ Cox authored
Goroutines are no longer excluded from init. Fixes #3232. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5764044
-
Russ Cox authored
Fixes #3222. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5761044
-
Russ Cox authored
Fixes #3230. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5753071
-
Ian Lance Taylor authored
The gccgo compiler incorrectly gave an error for this code. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5767043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5752073
-
Russ Cox authored
Does not actually test so files. ««« original CL description misc/cgo: re-enable testso Also enabled it for darwin. R=rsc CC=golang-dev https://golang.org/cl/5754063 »»» R=golang-dev, minux.ma, r, f CC=golang-dev https://golang.org/cl/5756075
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5757060
-
Russ Cox authored
Fixes #3143. R=ken2 CC=golang-dev https://golang.org/cl/5752070
-
Russ Cox authored
Let the outer environment filter down to the commands being run. TBR=r CC=golang-dev https://golang.org/cl/5758066
-
Russ Cox authored
Fixes #3146. R=ken2 CC=golang-dev https://golang.org/cl/5756074
-
Russ Cox authored
Lets us run multifile tests and tests with arguments. R=golang-dev, r CC=golang-dev https://golang.org/cl/5753068
-
Alex Brainman authored
go get code.google.com/p/gowingui R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/5752067
-
Shenghou Ma authored
Fixes #3190. R=rsc, tjyang2001, rsc CC=golang-dev https://golang.org/cl/5759056
-
Shenghou Ma authored
find() returns -1 when not found. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5752068
-
Francisco Souza authored
R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/5757059
-
Mikio Hara authored
Fixes #3226. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5756073
-
Russ Cox authored
I don't know what's out there, but something is answering to 127.0.71.111:80 on our builder, so use a different port. Also insert a check that the dial fails, which would have diagnosed this problem. Fixes #3016. R=golang-dev, mikioh.mikioh, r CC=golang-dev https://golang.org/cl/5754062
-
Francisco Souza authored
Also enabled it for darwin. R=rsc CC=golang-dev https://golang.org/cl/5754063
-
Russ Cox authored
I don't know enough about multicast. Should this be disabled on all systems, not just Windows? R=golang-dev CC=golang-dev https://golang.org/cl/5754060
-
Russ Cox authored
$ go run go run: no go files listed $ go run ../../pkg/math/bits.go go run: cannot run non-main package $ Fixes #3168. R=golang-dev, r CC=golang-dev https://golang.org/cl/5755064
-
Shenghou Ma authored
R=rsc CC=golang-dev https://golang.org/cl/5753054
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5757050
-
Russ Cox authored
The last CL forgot the all-important 'backdoor' package. Cgo-using packages compile .c files with gcc, but we want to compile this one with 6c, so put it in a non-cgo package. TBR=golang-dev CC=golang-dev https://golang.org/cl/5758063
-
Russ Cox authored
By default the all.bash tests must not ever announce on an external address. It's not just an OS X issue. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5753067
-
Rob Pike authored
About 10% for hello, world. Maybe more reductions will come. Also clarify that we're comparing printf against Printf (gcc can optimize aggressively, making this a different sort of comparison). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5756070
-
Russ Cox authored
The testso directory still needs to be enabled. R=golang-dev, r CC=golang-dev https://golang.org/cl/5731048
-
Russ Cox authored
$ go list -f '{{.ImportPath}} {{.Deps}}' fmt log fmt [errors io math os reflect runtime strconv sync sync/atomic syscall time unicode/utf8 unsafe] log [errors fmt io math os reflect runtime strconv sync sync/atomic syscall time unicode/utf8 unsafe] R=bradfitz, rogpeppe, r, r, rsc CC=golang-dev https://golang.org/cl/5753055
-
Rob Pike authored
We can write syslist.go by hand. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5757057
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5752066
-
Rob Pike authored
R=golang-dev, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/5757058
-
Rob Pike authored
There are a few more but these are the easiest ones. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5756067
-
Rob Pike authored
We need a compact, reasonably efficient IsPrint. That adds about 2K of data, plus a modest amount of code, but now strconv is a near-leaf package. R=r, bradfitz, adg, rsc, minux.ma CC=golang-dev https://golang.org/cl/5756050
-