- 26 Aug, 2011 15 commits
-
-
Wei Guangjing authored
R=rsc CC=golang-dev https://golang.org/cl/4826041
-
Joel Sing authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4972043
-
Albert Strasheim authored
R=mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/4954047
-
Joel Sing authored
Doing a socket/listen on an unspecified address with an unspecified address family is likely to result in an AF_INET6 socket on an IPv6 capable system, which under OpenBSD means IPv6 only - not IPv4 *and* IPv6. In this case trying to connect to this socket from an IPv4 loopback address is not going to end well. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4807057
-
Russ Cox authored
Factor out sleep interrupt. Fixes #1109. R=alex.brainman, go.peter.90, mattn.jp CC=golang-dev https://golang.org/cl/4968041
-
Ross Light authored
Fixes #2119 R=m.n.summerfield, adg, kevlar, rsc, gustavo, n13m3y3r CC=golang-dev https://golang.org/cl/4941042
-
Brad Fitzpatrick authored
When the encoder was updated to respect the ",omitempty" struct tag options, the decoder half was never updated to know about the new struct tag format. (the format is now an optional name, followed by zero or more ",option" strings) This only affected people who used ",omitempty" along with a field name. In that case, the serialized JSON wouldn't decode to the original value. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/4965049
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4964043
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4965048
-
Fumitoshi Ukai authored
This introduces new APIs. - DialConfig can open client connection using Config, so user can specify protocol version, tls.Config if necessary. - Message can be used to send/receive text/binary data in a frame. - JSON can be used to send/receive JSON data in a frame. R=golang-dev, adg, rsc, m, tarmigan, raul.san, yohcop CC=golang-dev https://golang.org/cl/4635084
-
Yasuhiro Matsumoto authored
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/4955042
-
Benny Siegert authored
Write to image.*.Pix directly in the case of RGB, RGBA and NRGBA images. For the latter two, the file format matches the memory layout so a simple copy can be used. RGB image before/after: tiff.BenchmarkDecoder 748137 ns/op (62.39 MB/s) 251256 ns/op (185.76 MB/s) x3.0 NRGBA image before/after: tiff.BenchmarkDecoder 775540 ns/op (80.12 MB/s) 116721 ns/op (532.34 MB/s) x6.6 R=nigeltao CC=golang-dev https://golang.org/cl/4929046
-
Benny Siegert authored
R=nigeltao CC=golang-dev https://golang.org/cl/4917049
-
Robert Griesemer authored
- implemented stand-alone Throttle mechanism - added new flag -index_throttle to godoc - index throttling enables index creation when running godoc on app engine as it keeps godoc responsive R=rsc, dsymonds, adg CC=golang-dev https://golang.org/cl/4963043
-
Gustavo Niemeyer authored
This fixes goinstall so it doesn't try to install unneeded packages or get confused with non-existent loops. R=golang-dev, adg, gustavo CC=golang-dev https://golang.org/cl/4958046
-
- 25 Aug, 2011 15 commits
-
-
Mikio Hara authored
R=rsc CC=golang-dev https://golang.org/cl/4968044
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4957043
-
Gustavo Niemeyer authored
Fixes #2175. R=alex.brainman, rsc, gustavo, adg CC=golang-dev https://golang.org/cl/4929047
-
Russ Cox authored
This makes decimal a good test case for the escape analysis. With escape analysis: benchmark old ns/op new ns/op delta BenchmarkAtof64Decimal 1954 243 -87.56% BenchmarkAtof64Float 2008 293 -85.41% BenchmarkAtof64FloatExp 10106 8814 -12.78% BenchmarkAtof64Big 5113 3486 -31.82% R=golang-dev, gri CC=golang-dev https://golang.org/cl/4861042
-
Russ Cox authored
Also update $GOARM description. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4972041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4971042
-
Russ Cox authored
#include "go.h" (or "gg.h") becomes #include <u.h> #include <libc.h> #include "go.h" so that go.y can #include <stdio.h> after <u.h> but before "go.h". This is necessary on Plan 9. R=ken2 CC=golang-dev https://golang.org/cl/4971041
-
Russ Cox authored
Found with gcc 4.6 -Wunused -Wextra but should be applicable to Plan 9 too. R=ken2 CC=golang-dev https://golang.org/cl/4958044
-
Bill Neubauer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4944043
-
Russ Cox authored
Probably will spark some discussion.
☺ R=lvd CC=golang-dev https://golang.org/cl/4948041 -
Dave Cheney authored
RFC2616 says servers should return this status code when rejecting requests that are too large. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.14 R=bradfitz CC=golang-dev https://golang.org/cl/4962041
-
Nigel Tao authored
R=mikesamuel CC=golang-dev https://golang.org/cl/4956042
-
Mike Samuel authored
The following testcases now pass: `<a href=x` tests that we do not error on partial unquoted attrs. `<a href=x ` tests that spaces do end unquoted attrs on spaces. `<a href=''` tests that we recognize the end of single quoted attrs. `<a href=""` tests that we recognize the end of double quoted attrs. R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4932051
-
Gustavo Niemeyer authored
R=rsc CC=golang-dev https://golang.org/cl/4941047
-
Rob Pike authored
Fixes #2182 R=golang-dev, gri CC=golang-dev https://golang.org/cl/4952041
-
- 24 Aug, 2011 10 commits
-
-
Andrew Gerrand authored
Fixes #2164. R=r, rsc CC=golang-dev https://golang.org/cl/4927043
-
Evan Shaw authored
Scanning "0" with detected base did not actually set the nat to 0. R=gri CC=golang-dev https://golang.org/cl/4923050
-
Russ Cox authored
Merge escassign(N, x), escassign(x, N), escexpr(n), and escstmt(n) into esc(n). 1. Renaming https://golang.org/cl/4917050/diff2/1:2001/src/cmd/gc/esc.c 2. Merging. https://golang.org/cl/4917050/diff2/2001:4001/src/cmd/gc/esc.c 3. Simplify esccall. https://golang.org/cl/4917050/diff2/4001:5002/src/cmd/gc/esc.c R=lvd CC=golang-dev https://golang.org/cl/4917050
-
Russ Cox authored
Based on idea in http://patch-tracker.debian.org/patch/series/view/golang/1:59-1/008-emacs-mode-key-literal-indent.patch Fixes #2174. R=amdragon, ajmani, amdragon CC=golang-dev https://golang.org/cl/4922049
-
Volker Dobler authored
Pow10 failed for MinInt32 (endless loop until out of memory). Fix by returning 0 and +Inf for all arguments where the result is not representable in a float64. Fixes #2159. R=rsc CC=golang-dev https://golang.org/cl/4930041
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4926046
-
Lucio De Re authored
R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4941048
-
Luuk van Dijk authored
For now it's switch-on-and-offable with -s, and the effects can be inspected with -m. Defaults are the old codepaths. R=rsc CC=golang-dev https://golang.org/cl/4634073
-
Robert Griesemer authored
Fix for godoc on app engine. R=dsymonds CC=golang-dev https://golang.org/cl/4922050
-
Luuk van Dijk authored
If you installed a 6g in /usr/bin it interferes with test/run otherwise. R=rsc CC=golang-dev https://golang.org/cl/4944046
-