- 06 Mar, 2012 9 commits
-
-
Russ Cox authored
These appear to have been left out of the CL I submitted earlier. R=golang-dev, r CC=golang-dev https://golang.org/cl/5759043
-
Russ Cox authored
Also, tweak run.go to use no more than 2x the number of CPUs, and only one on ARM. 53.85u 13.33s 53.69r ./run 50.68u 12.13s 18.85r go run run.go Fixes #2833. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5754047
-
Russ Cox authored
R=iant, r, gri CC=golang-dev https://golang.org/cl/5720073
-
Russ Cox authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5752048
-
Andrew Gerrand authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5753047
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5755045
-
Mikio Hara authored
* Splits into three server tests. - TestStreamConnServer for tcp, tcp4, tcp6 and unix networks - TestSeqpacketConnServer for unixpacket networks - TestDatagramPacketConnServer for udp, udp4, udp6 and unixgram networks * Adds both PacketConn and Conn test clients to datagram packet conn tests. * Fixes wildcard listen test cases on dual IP stack platform. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5701066
-
Ian Lance Taylor authored
As runtime.UintType is no longer defined, the gccgo error messages have changed. bug388.go:12:10: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:12:10: error: invalid named/anonymous mix bug388.go:13:21: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:17:10: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:18:18: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:22:9: error: non-name on left side of ‘:=’ bug388.go:27:10: error: expected type bug388.go:32:9: error: expected type bug388.go:23:14: error: reference to field ‘i’ in object which has no fields or methods R=golang-dev, gri CC=golang-dev https://golang.org/cl/5755044
-
Rob Pike authored
The dependency was there only to pull in two constants. Now we define them locally and verify equality in the test. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5754046
-
- 05 Mar, 2012 31 commits
-
-
Ian Lance Taylor authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5757043
-
Robert Griesemer authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5756043
-
Emil Hessman authored
go.xclangspec is identical to the one in misc/xcode/3/, except for the heading. Partial workaround for issue 2401. R=gri CC=golang-dev https://golang.org/cl/5732051
-
Robert Griesemer authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5754044
-
David Symonds authored
R=bradfitz CC=golang-dev https://golang.org/cl/5754043
-
Andrew Gerrand authored
R=golang-dev, bsiegert, jdpoirier CC=golang-dev https://golang.org/cl/5727059
-
Rémy Oudompheng authored
Fixes #3182. R=golang-dev, dvyukov, rsc CC=golang-dev, remy https://golang.org/cl/5732057
-
Brad Fitzpatrick authored
Once dnsMsg stops using reflect, we lose even more indirect dependencies. R=rsc CC=golang-dev https://golang.org/cl/5751043
-
Russ Cox authored
GOROOT_FINAL is a build parameter that means "eventually the Go tree will be installed here". Make the file name information match that eventual location. Fixes #3180. R=ken, ken CC=golang-dev https://golang.org/cl/5742043
-
Russ Cox authored
This happens with GOROOT_FINAL=/somewhere/else R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5727069
-
Ugorji Nwoke authored
If I click on links which should send you to source code (e.g. type, function, etc), the link is to //src/... (instead of /src/...). This causes a DNS resolution failure on the browser. Quick fix is to remove the leading / from package.html (since godoc.go src links automatically add a leading / as necessary). Fixes #3193. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5730059
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5746043
-
Brad Fitzpatrick authored
Also add a TODO for the broken *dnsMsg String method. R=golang-dev, rsc, borman CC=golang-dev https://golang.org/cl/5720075
-
Sameer Ajmani authored
in emacs go mode. Thanks Alex Shinn for the patch. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5728063
-
Brad Fitzpatrick authored
Also add some more MAC tests. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5728065
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5730061
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5727068
-
Shenghou Ma authored
CL 3075041 says ARM is not little-endian, but my test suggests otherwise. My test program is: package main import ("fmt"; "syscall"; "os") func main() { err := syscall.Fallocate(1, 1/*FALLOC_FL_KEEP_SIZE*/, 0, int64(40960)); fmt.Fprintln(os.Stderr, err) } Without this CL, ./test > testfile will show: file too large; and strace shows: fallocate(1, 01, 0, 175921860444160) = -1 EFBIG (File too large) With this CL, ./test > testfile will show: <nil>; and strace shows: fallocate(1, 01, 0, 40960) = 0 Quoting rsc: "[It turns out that] ARM syscall ABI requires 64-bit arguments to use an (even, odd) register pair, not an (odd, even) pair. Switching to "big-endian" worked because it ended up using the high 32-bits (always zero in the tests we had) as the padding word, because the 64-bit argument was the last one, and because we fill in zeros for the rest of the system call arguments, up to six. So it happened to work." I updated mksyscall_linux.pl to accommodate the register pair ABI requirement, and removed all hand-tweaked syscall routines in favor of the auto-generated ones. These including: Ftruncate, Truncate, Pread and Pwrite. Some recent Linux/ARM distributions do not bundle kernel asm headers, so instead we always get latest asm/unistd.h from git.kernel.org (just like what we do for FreeBSD). R=ken, r, rsc, r, dave, iant CC=golang-dev https://golang.org/cl/5726051
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5726062
-
Rémy Oudompheng authored
Fixes #3196. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5725044
-
Russ Cox authored
R=lvd, gri CC=golang-dev https://golang.org/cl/5731061
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5728064
-
Paul Borman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5729068
-
Russ Cox authored
Fixes #3189. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5730058
-
Russ Cox authored
Fixes #3191. Sorry. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5726059
-
Adam Langley authored
An X.509 path length constrains the number of certificate that may follow in the chain. This is a little simplistic for a first pass as it doesn't check self-signed certificates (which don't count towards the length), but it's conservatively simplistic. R=golang-dev, r CC=golang-dev https://golang.org/cl/5727057
-
Adam Langley authored
asn1 didn't have an omitempty tag, so the list of additional primes in an RSA private key was serialised as an empty SEQUENCE, even for version 1 structures. This tripped up external code that didn't handle v2. R=golang-dev, r CC=golang-dev https://golang.org/cl/5729062
-
Adam Langley authored
UTCTime only has a two digit date field and year values from 50 should be 1950, not 2050. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5729063
-
Shenghou Ma authored
R=rsc, golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5732053
-
Mikio Hara authored
This CL changes the behavior of Dial and Listen API family. Previous Dial and Listen allow a combo of "tcp6" and IPv4 or IPv6 IPv4-mapped address as its argument, but it also makes slightly different behaviors between Linux and other platforms. This CL fixes such differences across over platforms by tweaking IP-level socket option IPV6_V6ONLY. Consequently new Dial and Listen API family will reject arguments consists of "tcp6" and IPv4 or IPv6 IPv4-mapped address. This CL also adds a bit clarified unicast listener tests. Fixes #2581. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/5677086
-
Russ Cox authored
The motivation for this CL is to support $GOPATH well. Since we already have a FileSystem interface, implement a Plan 9-style name space. Bind each of the $GOPATH src directories onto the $GOROOT src/pkg directory: now everything is laid out exactly like a normal $GOROOT and needs very little special case code. The filter files are no longer used (by us), so I think they can just be deleted. Similarly, the Mapping code and the FileSystem interface were two different ways to accomplish the same end, so delete the Mapping code. Within the implementation, since FileSystem is defined to be slash-separated, use package path consistently, leaving path/filepath only for manipulating operating system paths. I kept the -path flag, but I think it can be deleted too. Fixes #2234. Fixes #3046. R=gri, r, r, rsc CC=golang-dev https://golang.org/cl/5711058
-