- 02 Apr, 2013 14 commits
-
-
Brad Fitzpatrick authored
For all the Content-Type & Content-Length cases. R=golang-dev, pabuhr CC=golang-dev https://golang.org/cl/8280046
-
David Symonds authored
A package file may begin as either "package foo" or "package foo safe". The latter is relevant when using -u. https://golang.org/cl/6903059 resulted in the distinction being dropped when a package was read for the second or later time. This CL records whether that "safe" tag was present, and includes it in the dummy statement generated for the lexer. R=golang-dev, r, minux.ma, daniel.morsing, iant CC=golang-dev https://golang.org/cl/8255044
-
Carl Shapiro authored
The expected precision setting for the x87 on Win32 is 53-bit but MinGW resets the floating point unit to 64-bit. Win32 object code generally expects values to be rounded to double, not double extended, precision. R=golang-dev, khr CC=golang-dev https://golang.org/cl/8175044
-
Brad Fitzpatrick authored
Per discussions on golang-nuts and golang-dev: "Some concerns with DialOpt" https://groups.google.com/d/msg/golang-nuts/Hfh9aqhXyUw/W3uYi8lOdKcJ https://groups.google.com/d/msg/golang-dev/37omSQeWv4Y/KASGIfPpXh0J R=golang-dev, google, r CC=golang-dev https://golang.org/cl/8274043
-
Robert Griesemer authored
Fixes #5059. R=golang-dev, r CC=golang-dev https://golang.org/cl/8284043
-
Shenghou Ma authored
Fixes #5181. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8277043
-
Brad Fitzpatrick authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/8276043
-
Robert Griesemer authored
Fixes #5186. R=bradfitz CC=golang-dev https://golang.org/cl/8267044
-
Rob Pike authored
s/ordering/less/g R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8267043
-
Rob Pike authored
Demonstrates one way to sort a slice of structs according to different sort criteria, done in sequence. One possible answer to a question that comes up often. R=golang-dev, gri, bradfitz, adg, adg, rogpeppe CC=golang-dev https://golang.org/cl/8182044
-
Brad Fitzpatrick authored
From a discussion on golang-nuts. R=golang-dev, dsymonds, nigeltao, coocood, adg CC=golang-dev https://golang.org/cl/8251043
-
Nigel Tao authored
(x<<1 | x>>31). Fixes #5084. On the SHA3 benchmark proposals at https://golang.org/cl/7760044/ benchmark old ns/op new ns/op delta BenchmarkPermutationFunction 1288 1191 -7.53% BenchmarkSingleByteWrite 5795 5811 +0.28% BenchmarkBlockWrite512 178 179 +0.56% BenchmarkBlockWrite384 230 233 +1.30% BenchmarkBlockWrite256 282 286 +1.42% BenchmarkBlockWrite224 301 306 +1.66% BenchmarkBulkHashSHA3_512 326885 304548 -6.83% BenchmarkBulkHashSHA3_384 234839 220074 -6.29% BenchmarkBulkHashSHA3_256 186969 175790 -5.98% BenchmarkBulkHashSHA3_224 178133 167489 -5.98% For a function like func g() { x = a[3]<<20 | a[3]>>12 } the asm goes from 0006 (main.go:10) TEXT g+0(SB),$0-0 0007 (main.go:10) MOVL a+12(SB),BP 0008 (main.go:10) LOCALS ,$0 0009 (main.go:11) MOVL BP,BX 0010 (main.go:11) SHLL $20,BX 0011 (main.go:11) SHRL $12,BP 0012 (main.go:11) ORL BP,BX 0013 (main.go:11) MOVL BX,x+0(SB) 0014 (main.go:12) RET , to 0006 (main.go:10) TEXT g+0(SB),$0-0 0007 (main.go:10) LOCALS ,$0 0008 (main.go:11) MOVL a+12(SB),BX 0009 (main.go:11) ROLL $20,BX 0010 (main.go:11) MOVL BX,x+0(SB) 0011 (main.go:12) RET , R=rsc, iant, remyoudompheng CC=golang-dev, jcb https://golang.org/cl/7944043
-
Dave Cheney authored
Mention support for NetBSD, OpenBSD, and cgo for linux/arm. R=golang-dev, dvyukov, r, minux.ma, adg, bradfitz, adg CC=golang-dev https://golang.org/cl/8152043
-
Keith Randall authored
Doing grow work on reads is not multithreaded safe. Changed code to do grow work only on inserts & deletes. This is a short-term fix, eventually we'll want to do grow work in parallel to recover the space of the old table. Fixes #5120. R=bradfitz, khr CC=golang-dev https://golang.org/cl/8242043
-
- 01 Apr, 2013 11 commits
-
-
Rob Pike authored
Fixes #5176. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8118046
-
Rob Pike authored
The text is printed only if the test fails or -test.v is set. Document this behavior in the testing package and 'go help test'. Also put a 'go install' into mkdoc.sh so I don't get tricked by the process of updating the documentation ever again. Fixes #5174. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/8118047
-
Robert Griesemer authored
Fixes #5024. R=golang-dev, r CC=golang-dev https://golang.org/cl/8222045
-
Rémy Oudompheng authored
Fixes #4730. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8229043
-
Shenghou Ma authored
use MOVW.NE instead of BEQ and MOVW. R=golang-dev, dave, rsc, daniel.morsing CC=golang-dev https://golang.org/cl/7718043
-
Lucio De Re authored
Eliminates a format consistency warning. R=gloang-dev, r CC=golang-dev https://golang.org/cl/8217043
-
Ian Lance Taylor authored
Permits specifying the linker to use, and trailing flags to pass to that linker, when linking in external mode. External mode linking is used when building a package that uses cgo, as described in the cgo docs. Also document -linkmode and -tmpdir. R=golang-dev, r CC=golang-dev https://golang.org/cl/8225043
-
Rémy Oudompheng authored
Reusing it when multiple comparisons occurred in the same function call led to bad overwriting. Fixes #5162. R=golang-dev, daniel.morsing CC=golang-dev https://golang.org/cl/8174047
-
Brad Fitzpatrick authored
Currently crashes, so disabled. Update #5179 R=golang-dev, khr CC=golang-dev https://golang.org/cl/8222044
-
Lucio De Re authored
If a package was listed as a dependency from multiple places, it could have been cleaned repeatedly. R=golang-dev, dave, rsc, seed, bradfitz CC=golang-dev, minux.ma https://golang.org/cl/7482043
-
Ewan Chou authored
Fixes #5149. R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/8136043
-
- 31 Mar, 2013 6 commits
-
-
Lucio De Re authored
<stdint.h> does not seem to be needed. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8178044
-
Mikio Hara authored
Closes the API documentation gap between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8063044
-
Mikio Hara authored
Closes the API documentation gap between platforms. Also makes the code textual representation same between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8148043
-
Mikio Hara authored
Closes the API documentation gap between platforms. Also makes the code textual representation same between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8147043
-
Mikio Hara authored
Closes the API documentation gap between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8143044
-
Brad Fitzpatrick authored
Since we can't properly handle anything except 100, treat all 1xx informational responses as sketchy and don't reuse the connection for future requests. The only other 1xx response code currently in use in the wild is WebSockets' use of "101 Switching Protocols", but our code.google.com/p/go.net/websockets doesn't use Client or Transport: it uses ReadResponse directly, so is unaffected by this CL. (and its tests still pass) So this CL is entirely just future-proofing paranoia. Also: the Internet is weird. Update #2184 Update #3665 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/8208043
-
- 30 Mar, 2013 9 commits
-
-
Albert Strasheim authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8201043
-
Brad Fitzpatrick authored
Whoops. I'm surprised it even worked before. (Need two pipes, not one.) Also, remove the whole pipe registration business, since it wasn't even required in the previous version. (I'd later fixed it at the end of send100Response, but forgot to delete it) R=golang-dev, r CC=golang-dev https://golang.org/cl/8191044
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/8198043
-
Brad Fitzpatrick authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/8187045
-
Dominik Honnef authored
Some packages, like popwin.el, change display behaviour based on the buffer's mode, so we should enable compilation-mode before displaying the buffer. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8155043
-
David du Colombier authored
src/cmd/gc/closure.c:133 param declared and not used: nowrap src/cmd/gc/const.c:1139 set and not used: t1 src/cmd/ld/data.c:652 format mismatch #llx INT, arg 7 src/cmd/ld/data.c:652 format mismatch #llx INT, arg 8 src/cmd/ld/data.c:1230 set and not used: datsize R=dave, golang-dev, lucio.dere, remyoudompheng, bradfitz CC=golang-dev https://golang.org/cl/8182043
-
David du Colombier authored
src/cmd/6g/peep.c:471 set and not used: r src/cmd/6g/peep.c:560 overspecified class: regconsttyp GLOBL STATIC src/cmd/6g/peep.c:761 more arguments than format IND STRUCT Prog src/cmd/6g/reg.c:185 set and not used: r1 src/cmd/6g/reg.c:786 format mismatch d VLONG, arg 3 src/cmd/6g/reg.c:1064 format mismatch d VLONG, arg 5 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8197044
-
Albert Strasheim authored
R=golang-dev, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/8193043
-
David du Colombier authored
Add missing getgoextlinkenabled(void) declaration in Plan 9 libc.h. This function was added as part of CL #8183043. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/8191043
-