- 30 Sep, 2013 1 commit
-
-
Carl Shapiro authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/14154043
-
- 29 Sep, 2013 1 commit
-
-
Dave Cheney authored
Fixes #5537. To avoid `go install -v race std` replacing cmd/cgo with a race enabled version and another package trying to build a cgo enabled package, always build cmd/cgo race enabled before doing the rest of the build. R=remyoudompheng, rsc, dvyukov, minux.ma CC=golang-dev https://golang.org/cl/14071044
-
- 28 Sep, 2013 3 commits
-
-
Ian Lance Taylor authored
blank1.go:10:9: error: invalid package name _ blank1.go:17:2: error: cannot use _ as value blank1.go:18:7: error: cannot use _ as value blank1.go:20:8: error: invalid use of ‘_’ R=golang-dev, r CC=golang-dev https://golang.org/cl/14088044
-
Ian Lance Taylor authored
When a floating point constant is used as an array/slice index, gccgo prints "error: index must be integer"; gc prints "constant 2.1 truncated to integer". R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/14044044
-
Robin Eklind authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/14038044
-
- 27 Sep, 2013 5 commits
-
-
Kamil Kisiel authored
The documentation for the Encoder type calls it a stream, not a connection. R=golang-dev, adg CC=golang-dev https://golang.org/cl/14015044
-
Carl Shapiro authored
The argument slice was kept hidden from the garbage collector by destroying its referent in an unsafe.Pointer to uintptr conversion. This change preserves the unsafe.Pointer referent and only performs an unsafe.Pointer to uintptr conversions within expressions that construct new unsafe.Pointer values. R=golang-dev, khr, rsc CC=golang-dev https://golang.org/cl/14008043
-
Yasuhiro Matsumoto authored
R=golang-dev, r, dsymonds CC=golang-dev https://golang.org/cl/14018043
-
Yasuhiro Matsumoto authored
R=golang-dev, r, dsymonds CC=golang-dev https://golang.org/cl/14017043
-
Rob Pike authored
R=golang-dev, iant, adg CC=golang-dev https://golang.org/cl/14000043
-
- 26 Sep, 2013 3 commits
-
-
Andrew Gerrand authored
Fixes #6488. R=golang-dev, r CC=golang-dev https://golang.org/cl/14004043
-
Adam Langley authored
AES-GCM cipher suites are only defined for TLS 1.2, although there's nothing really version specific about them. However, development versions of NSS (meaning Firefox and Chrome) have an issue where they'll advertise TLS 1.2-only cipher suites in a TLS 1.1 ClientHello but then balk when the server selects one. This change causes Go clients not to advertise TLS 1.2 cipher suites unless TLS 1.2 is being used, and prevents servers from selecting them unless TLS 1.2 has been negotiated. https://code.google.com/p/chromium/issues/detail?id=297151 https://bugzilla.mozilla.org/show_bug.cgi?id=919677 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13573047
-
Dave Cheney authored
Fixes #6451. There is still some breakages unrelated to the syscall change. [root@beaglebone ~/go/src]# /root/go/pkg/tool/freebsd_arm/go_bootstrap version go version devel freebsd/arm a std@beaglebone ~/go/src]# /root/go/pkg/tool/freebsd_arm/go_bootstrap install - fatal error: mark - finalizer inconsistency runtime stack: runtime.throw(0x3e80ac) /root/go/src/pkg/runtime/panic.c:464 +0x5c addfinroots(0x2) /root/go/src/pkg/runtime/mgc0.c:1501 +0x74 runtime.walkfintab(0x6c200) /root/go/src/pkg/runtime/mfinal.c:216 +0xa0 addroots() /root/go/src/pkg/runtime/mgc0.c:1561 +0x188 gc(0x50632f78) /root/go/src/pkg/runtime/mgc0.c:2098 +0x19c mgc(0x306170a0) /root/go/src/pkg/runtime/mgc0.c:2049 +0x30 runtime.mcall(0x3e97b0) /root/go/src/pkg/runtime/asm_arm.s:165 +0x3c goroutine 1 [garbage collection]: runtime.gc(0x0) /root/go/src/pkg/runtime/mgc0.c:2020 +0x1a0 fp=0x50632f80 runtime.mallocgc(0x680, 0x1b1971, 0x1) /root/go/src/pkg/runtime/malloc.goc:143 +0x210 fp=0x50632fbc ----- stack segment boundary ----- cnew(0x1b1970, 0x640, 0x1) /root/go/src/pkg/runtime/malloc.goc:718 +0xc4 fp=0x50626110 runtime.cnewarray(0x1b1970, 0x640) /root/go/src/pkg/runtime/malloc.goc:731 +0x3c fp=0x50626120 makeslice1(0x1ac6d0, 0x500, 0x640, 0x50626190) /root/go/src/pkg/runtime/slice.c:57 +0x50 fp=0x5062612c growslice1(0x1ac6d0, 0x30714a00, 0x500, 0x500, 0x501, ...) /root/go/src/pkg/runtime/slice.c:113 +0x8c fp=0x50626144 runtime.growslice(0x1ac6d0, 0x30714a00, 0x500, 0x500, 0x1, ...) /root/go/src/pkg/runtime/slice.c:80 +0x19c fp=0x50626174 go/build.(*importReader).readByte(0x3070d1b0, 0xb384e) /root/go/src/pkg/go/build/read.go:43 +0xbc fp=0x506261b4 go/build.(*importReader).peekByte(0x3070d1b0, 0x3070d101, 0x3070d180) /root/go/src/pkg/go/build/read.go:89 +0x210 fp=0x506261d0 go/build.readComments(0x203e2560, 0x306f79a8, 0x306f79a8, 0x203e2560, 0x306f79a8, ...) /root/go/src/pkg/go/build/read.go:194 +0x84 fp=0x506261f4 go/build.(*Context).matchFile(0x3e9730, 0x306209c0, 0x13, 0x306c42b4, 0x5, ...) /root/go/src/pkg/go/build/build.go:812 +0x74c fp=0x5062629c go/build.(*Context).Import(0x3e9730, 0x1f95c8, 0x1, 0x30620960, 0x13, ...) /root/go/src/pkg/go/build/build.go:580 +0xd64 fp=0x506268dc go/build.(*Context).ImportDir(0x3e9730, 0x30620960, 0x13, 0x0, 0x24d901, ...) /root/go/src/pkg/go/build/build.go:397 +0x5c fp=0x50626904 main.func·021(0x30620960, 0x13, 0x203e2200, 0x30680330, 0x0, ...) /root/go/src/cmd/go/main.go:521 +0x2cc fp=0x5062696c path/filepath.walk(0x30620960, 0x13, 0x203e2200, 0x30680330, 0x50626ae8, ...) /root/go/src/pkg/path/filepath/path.go:341 +0x5c fp=0x506269d8 path/filepath.walk(0x3067e720, 0x11, 0x203e2200, 0x30680210, 0x50626ae8, ...) /root/go/src/pkg/path/filepath/path.go:359 +0x308 fp=0x50626a44 path/filepath.Walk(0x3067e720, 0x11, 0x50626ae8, 0x1f9728, 0x1) /root/go/src/pkg/path/filepath/path.go:380 +0xb4 fp=0x50626a68 main.matchPackages(0xbfffedea, 0x3, 0x1b1190, 0x3067e600, 0x10) /root/go/src/cmd/go/main.go:530 +0x2c0 fp=0x50626b1c main.allPackages(0xbfffedea, 0x3, 0x1fadc8, 0x3, 0x1) /root/go/src/cmd/go/main.go:474 +0x34 fp=0x50626b70 main.importPathsNoDotExpansion(0x30620018, 0x1, 0x1, 0x0, 0xffffffff, ...) /root/go/src/cmd/go/main.go:305 +0x2f8 fp=0x50626c04 main.importPaths(0x30620018, 0x1, 0x1, 0x3, 0x0, ...) /root/go/src/cmd/go/main.go:315 +0x44 fp=0x50626c88 main.packagesAndErrors(0x30620018, 0x1, 0x1, 0x50626d60, 0x90f44, ...) /root/go/src/cmd/go/pkg.go:798 +0x1bc fp=0x50626d1c main.packagesForBuild(0x30620018, 0x1, 0x1, 0x53490, 0x0, ...) /root/go/src/cmd/go/pkg.go:818 +0x44 fp=0x50626dac main.runInstall(0x3e46e0, 0x30620018, 0x1, 0x1) /root/go/src/cmd/go/build.go:311 +0x48 fp=0x50626e60 main.main() /root/go/src/cmd/go/main.go:161 +0x518 fp=0x50626f8c runtime.main() /root/go/src/pkg/runtime/proc.c:222 +0x100 fp=0x50626fc0 runtime.goexit() /root/go/src/pkg/runtime/proc.c:1396 fp=0x50626fc0 goroutine 3 [syscall]: os/signal.loop() /root/go/src/pkg/os/signal/signal_unix.go:21 +0x24 created by os/signal.init·1 /root/go/src/pkg/os/signal/signal_unix.go:27 +0x48 R=minux.ma, rsc CC=golang-dev https://golang.org/cl/13824044
-
- 25 Sep, 2013 7 commits
-
-
Shenghou Ma authored
Fixes #6480. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13925043
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/13893043
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/13877044
-
Andrew Gerrand authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/13892043
-
Andrew Gerrand authored
Fixes #5663. R=golang-dev, r CC=golang-dev https://golang.org/cl/13891043
-
Ian Lance Taylor authored
Use the symbol prefixes with the prologue functions when using gccgo. Use an & when referring to a function declared as a variable. Fix the malloc prologue function. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13878043
-
Rob Pike authored
After text/template.Parse, all the templates may have changed, so we need to set them all back to their unescaped state. The code did this but (mea culpa) forgot to set the Tree field of the html/template struct. Since the Tree is reset during escaping, this only matters if an error arises during escaping and we want to print a message. Fixes #6459. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13877043
-
- 24 Sep, 2013 10 commits
-
-
Robert Griesemer authored
If Slice3 is set, the expression is a 3-index slice expression (2 colons). Required for type-checking. Backward-compatible API extension. R=r, rsc CC=golang-dev https://golang.org/cl/13826050
-
Kamil Kisiel authored
R=golang-dev, iant, gri CC=golang-dev https://golang.org/cl/13869043
-
Russ Cox authored
R=golang-dev, minux.ma, josharian CC=golang-dev https://golang.org/cl/13859043
-
Russ Cox authored
Fixes #6397. R=golang-dev, bradfitz, iant CC=golang-dev https://golang.org/cl/13858043
-
Shenghou Ma authored
Fixes #6426. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/13704044
-
Alex Brainman authored
Since CL 38bf89161a72 raw socket tests are not executed on windows builders. This change re-enable them again. It will attempt to run raw socket tests only if user is permitted to create raw socket by OS. Fixes #6392 R=golang-dev CC=golang-dev, mikioh.mikioh, rsc https://golang.org/cl/13422044
-
Brad Fitzpatrick authored
newTypeEncoder (called once per type and then cached) was looking at the first value seen of that type's addressability and caching the encoder decision. If the first value seen was addressable and a future one wasn't, it would panic. Instead, introduce a new wrapper encoder type that checks CanAddr at runtime. Fixes #6458 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13839045
-
Russ Cox authored
And same for UDP. Fixes #6465. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13740048
-
Albert Strasheim authored
Fixes #6455. R=mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/13457058
-
Andrew Gerrand authored
Fixes #6460. R=golang-dev, r CC=golang-dev https://golang.org/cl/13761046
-
- 23 Sep, 2013 10 commits
-
-
Russ Cox authored
Fixes a bug reported privately. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13846043
-
Dmitriy Vyukov authored
Fixes #6347. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13845044
-
Brad Fitzpatrick authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/13820046
-
Russ Cox authored
The syntax accepted is full build constraints, not just GOOS, GOARCH, and GOOS/GOARCH. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13504048
-
Russ Cox authored
Fixes #6417. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13843043
-
Russ Cox authored
Fixes #6456. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13740047
-
Russ Cox authored
Makes build unnecessarily slower. Will fix the parser instead. ««« original CL description runtime/pprof: run TestGoroutineSwitch for longer Short test now takes about 0.5 second here. Fixes #6417. The failure was also seen on our builders. R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/13321048 »»» R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/13720048
-
Kamil Kisiel authored
Fix a few minor vet quibbles while I'm here. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13235059
-
Shenghou Ma authored
Fixes #6431. Change suggested by kin.wilson.za. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13314048
-
Péter Surányi authored
Fixes #6449. R=golang-dev, adg CC=golang-dev https://golang.org/cl/13829044
-