- 06 Mar, 2012 18 commits
-
-
Andrew Gerrand authored
R=r, r CC=golang-dev https://golang.org/cl/5759045
-
Russ Cox authored
go/build: add Context.Compiler Fixes #3157. R=golang-dev, r CC=golang-dev https://golang.org/cl/5756047
-
Russ Cox authored
Not used yet for simpler merge. R=golang-dev, r CC=golang-dev https://golang.org/cl/5756048
-
Brad Fitzpatrick authored
Bit of a band-aid fix. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5757045
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5759044
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5754048
-
Andrew Gerrand authored
R=golang-dev, bradfitz, r, rsc CC=golang-dev https://golang.org/cl/5758044
-
Russ Cox authored
This exercises the Import function but more importantly gives us a place to write down the policy for dependencies within the Go tree. It also forces us to look at the dependencies, which may lead to adjustments. Surprises: - go/doc imports text/template, for HTMLEscape (could fix) - it is impossible to use math/big without fmt (unfixable) - it is impossible to use crypto/rand without math/big (unfixable) R=golang-dev, bradfitz, gri, r CC=golang-dev https://golang.org/cl/5732062
-
Rob Pike authored
In the test, verify the copied constants are correct. Also put the test into package utf16 rather than utf16_test; the old location was probably due creating the test from utf8, but the separation is not needed here. R=golang-dev, bradfitz, rsc, rsc, r CC=golang-dev https://golang.org/cl/5752047
-
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 22 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
-