- 01 Feb, 2012 16 commits
-
-
Robert Griesemer authored
This is a minimal API extension, it makes it possible to implement missing Int functionality externally w/o compromising efficiency. It is the hope that this will reduce the number of feature requests going directly into the big package. Also: Fixed some naming inconsistencies: The receiver is only called z when it is also the result. R=golang-dev, agl CC=golang-dev https://golang.org/cl/5607055
-
Gustavo Niemeyer authored
This will add the temporary object directory into the lookup path so that cgo-exported function declarations may be included from C files. This was previously applied by CL 5600043, and apparently removed by mistake on CL 5598045. R=golang-dev, r CC=golang-dev https://golang.org/cl/5610054
-
Ian Lance Taylor authored
The gccgo compiler used to fail to parse this. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5610051
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/5484076
-
Sameer Ajmani authored
R=golang-dev, bradfitz, rsc, adg CC=golang-dev https://golang.org/cl/5606045
-
Anthony Martin authored
This can happen on Plan 9 if we we're building with the 32-bit and 64-bit host compilers, one after the other. R=rsc CC=golang-dev https://golang.org/cl/5599053
-
David Symonds authored
Fixes #2541. R=golang-dev, r CC=golang-dev https://golang.org/cl/5610045
-
Mikio Hara authored
Also re-enable simple IPv4 multicast testing on windows. R=alex.brainman, rsc CC=golang-dev https://golang.org/cl/5605048
-
Andrew Gerrand authored
It's no longer generated by make. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5602047
-
Anthony Martin authored
On Plan 9 this flag is used to discover constant expressions in "if" statements. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5601060
-
Anthony Martin authored
Plan 9's tr(1) doesn't accept the C-style escapes for tab and newline characters. I was going to use the \xFF hexadecimal escapes but GNU tr(1) doesn't accept those. It seems octal is the least common denominator. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5576079
-
Anthony Martin authored
Previously, I had made available a tarball of the modified system headers that were necessary to build on Plan 9 but that was only a stopgap. I think this method is much better since no files outside of $GOROOT will have to be added or modified during the build process. Also, this is just the first step. I'll change the build to reference these files in another CL (that also contains a few more Makefile changes). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5552056
-
Anthony Martin authored
This can drastically reduce the number of system calls made by programs that repeatedly query the environment. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5599054
-
Anthony Martin authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5576080
-
Alex Brainman authored
Ignore result of setting SO_BROADCAST. Disable TestSimpleListenMulticastUDP as setIPv4MulticastInterface is not implemented. R=golang-dev, bradfitz, mikioh.mikioh CC=golang-dev https://golang.org/cl/5610044
-
Ian Lance Taylor authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5605046
-
- 31 Jan, 2012 24 commits
-
-
Russ Cox authored
Print all the syntax errors. Fixes issue 2811. Change Windows binary removal strategy. This should keep the temporary files closer to the binaries they are for, which will make it more likely that the rename is not cross-device and also make it easier to clean them up. Fixes #2604 (as much as we can). The standard build does not use the go command to install the go command anymore, so issue 2604 is less of a concern than it originally was. (It uses the go_bootstrap command to install the go command.) Buffer 'go list' output. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5604048
-
Robert Griesemer authored
Don't throw away factory functions returning error or rune. Fixes #2820. R=rsc CC=golang-dev https://golang.org/cl/5604046
-
Russ Cox authored
Black box test is too time-consuming, as the bug does not appear until Scan has processed 2 GB of input in total across multiple calls, so no test. Thanks to Frederick Mayle for the diagnosis and fix. Fixes #2809. R=golang-dev, r CC=golang-dev https://golang.org/cl/5611043
-
Brad Fitzpatrick authored
Both are unused and undocumented. InvalidConnError is also non-idiomatic: a FooError type can typically describe something, else it would be an ErrFoo variable. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5609045
-
Russ Cox authored
Do not treat $GOROOT/src/pkg, $GOROOT/src/cmd, $GOPATH/src as package directories (only subdirectories of those can be package directories). Fixes issue 2602. Accept additional compiler and linker arguments during cgo from $CGO_CFLAGS and $CGO_LDFLAGS, as the Makefiles used to do. Show failed pkg-config output. Fixes issue 2785. Use different (perhaps better) git commands. Fixes issue 2109. R=golang-dev, r CC=golang-dev https://golang.org/cl/5605045
-
Rémy Oudompheng authored
Fixes #2664. R=rsc CC=golang-dev, remy https://golang.org/cl/5593047
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5609044
-
Russ Cox authored
Fixes #2753. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5609043
-
Brad Fitzpatrick authored
The type being unavailable on Windows was the only API signature difference in the net package. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5608043
-
Russ Cox authored
Print build errors to stderr during 'go run'. Stream test output during 'go test' (no args). Fixes issue 2731. Add go test -i to install test dependencies. Fixes issue 2685. Fix data race in exitStatus. Fixes issue 2709. Fix tool paths. Fixes issue 2817. R=golang-dev, bradfitz, n13m3y3r, r CC=golang-dev https://golang.org/cl/5591045
-
Rémy Oudompheng authored
The previous logic was mainly non-working. It only needs to ensure that the go tool doesn't try to build the standard library with gccgo. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5580051
-
Robert Griesemer authored
- enable AllMethods flag (default: not set) - fix logic determining which methods to show - added respective test case in testdata/e.go for AllMethods = false - added test case set for AllMethods = true The critical changes/files to look at are: - testdata/e{0,1,2}.golden: T4.M should only show up as method of T5 in e2.golden - reader.go: always include top-level methods, and negate former logic for embedded methods (rewrote as a switch for better comprehensability) Fixes #2791. R=rsc, rsc CC=golang-dev https://golang.org/cl/5576057
-
Brad Fitzpatrick authored
This fixes some test noise in TestStressSurpriseServerCloses when ulimit -n something low, like 256 on a Mac. Previously, when the server closed on us and we were expecting more responses (like we are in that test), we'd read an "Unexpected EOF" and just forget about the client's net.Conn. Now it's closed, rather than waiting on the finalizer to release the fd. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5602043
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5603043
-
Adam Langley authored
I missed an overflow in contract because I suspected that the prime elimination would take care of it. It didn't, and I forgot to get back to the overflow. Because of this, p224Contract may have produced a non-minimal representation, causing flakey failures ~0.02% of the time. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5592045
-
Mikio Hara authored
This CL introduces new function ListenMulticastUDP to fix multicast UDP listening across multiple listeners issue, to replace old multicast methods JoinGroup and LeaveGroup on UDPConn. This CL also enables multicast testing by default. Fixes #2730. R=rsc, paul.a.lalonde, fullung, devon.odell CC=golang-dev https://golang.org/cl/5562048
-
Adam Langley authored
We support SSLv3 as a server but not as a client (and we don't want to support it as a client). This change fixes the error message when connecting to an SSLv3 server since SSLv3 support on the server side made mutualVersion accept SSLv3. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5545073
-
Russ Cox authored
TBR=mikioh CC=golang-dev https://golang.org/cl/5588048
-
Adam Langley authored
Fixes #2792. R=golang-dev, r CC=golang-dev https://golang.org/cl/5590045
-
Shenghou Ma authored
If p->to.sym->text is non-nil, then no need to search for sym->value. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5601046
-
Shenghou Ma authored
5l -v is for benchmarking various parts of the loader, but this code in obj.c will clutter the output. I only comment them out, because this is on par with 8l/6l. R=golang-dev CC=golang-dev https://golang.org/cl/5600046
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5552054
-
Joel Sing authored
A go build currently generates around 400MB of test output prior to cleaning up. With this change we use a maximum of ~15MB. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5588044
-
Mikio Hara authored
R=rsc, r CC=golang-dev https://golang.org/cl/5593046
-