- 12 Mar, 2013 33 commits
-
-
Russ Cox authored
Many thanks to Elias Naur for finding this with Valgrind on Linux. Perhaps this is what is breaking the windows/amd64 builder. R=golang-dev, r CC=golang-dev https://golang.org/cl/7595044
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7663045
-
Robert Figueiredo authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6727046
-
Benny Siegert authored
R=golang-dev, dave, iant CC=golang-dev https://golang.org/cl/7765043
-
Rob Pike authored
The old description was misleading and inaccurate. Fixes #4774. R=iant, rsc, gri CC=golang-dev https://golang.org/cl/7761044
-
Jan Ziak authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7762046
-
Rob Pike authored
See also https://golang.org/cl/7656044 R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/7625048
-
Russ Cox authored
Fixes #5033. R=golang-dev, r CC=golang-dev https://golang.org/cl/7764044
-
Robert Griesemer authored
The parameter list layout function was incorrectly computing the end of the previous line in cases where a parameter type spanned multiple lines. As a result, an extra (valid, but not needed) comma was introduced before the paremeter list's closing parenthesis. Fixes #4533. R=rsc CC=golang-dev https://golang.org/cl/7674044
-
Robert Griesemer authored
This was a bug that didn't manifest itself before CL 7674044; but with that CL and without this fix, the go/doc tests fail. (The bug fixed by 7674044 and the bug fixed here cancelled each other out w/ respect to the go/doc tests). R=rsc CC=golang-dev https://golang.org/cl/7628045
-
Dmitriy Vyukov authored
Introduce pollDesc struct, to split netFD struct into fd-related and poller-related parts. R=golang-dev, bradfitz, iant CC=golang-dev https://golang.org/cl/7762044
-
Shenghou Ma authored
Fixes #5035. R=golang-dev, r CC=golang-dev https://golang.org/cl/7519045
-
Keith Randall authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7593045
-
Rob Pike authored
It didn't work properly according to the Go memory model. Fixes #5023. R=golang-dev, dvyukov, adg CC=golang-dev https://golang.org/cl/7698045
-
Keith Randall authored
Uses AES hardware instructions on 386/amd64 to implement a fast hash function. Incorporates a random key to thwart hash collision DOS attacks. Depends on CL#7548043 for new assembly instructions. Update #3885 Helps some by making hashing faster. Go time drops from 0.65s to 0.51s. R=rsc, r, bradfitz, remyoudompheng, khr, dsymonds, minux.ma, elias.naur CC=golang-dev https://golang.org/cl/7543043
-
Dmitriy Vyukov authored
R=golang-dev CC=golang-dev https://golang.org/cl/7760043
-
Dmitriy Vyukov authored
This is a part of the bigger change that moves network poller into runtime: https://golang.org/cl/7326051/ R=golang-dev, bradfitz, mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/7448048
-
Russ Cox authored
If two fields have the same name but different explicit name spaces, treat as non-conflicting. This allows parsing common XML formats that have ns1:tag and ns2:tag in the same XML element. Fixes #4691. Allow setting the default name space for unadorned tags, by writing to Decoder.DefaultSpace. This allows turned the job of parsing common XML formats that have tag and ns2:tag in the same XML element into the first case by setting DefaultSpace="ns1". Fixes #3703. Use name space attributes when decoding. Attach name space to attributes when encoding. Could be done with fewer annotations, but semantically correct as is. Fixes #3526. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7227056
-
Adrian Nos authored
Fixes #5006. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7691045
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7526046
-
Dmitriy Vyukov authored
The issue was that scvg is assigned *after* the scavenger goroutine is started, so when the scavenger calls entersyscall() the g==scvg check can fail. Fixes #5025. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7629045
-
Dmitriy Vyukov authored
The problem is that there are lots of dead G's from previous tests, each dead G consumes 1 stack segment. Fixes #5034. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7749043
-
Dmitriy Vyukov authored
Update #5005. R=golang-dev, fullung, bradfitz CC=golang-dev https://golang.org/cl/7651045
-
Philip K. Warren authored
Adds a new reader to filter newlines, which fixes errors seen in the decoder chunking code. Found additional issues with whitespace handling after the first padding character. Fixes #4779. R=minux.ma, rsc, bradfitz CC=golang-dev https://golang.org/cl/7311069
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7592044
-
Russ Cox authored
The system call takes an int, but the kernel stores it in a uint16. At least one Linux system sets /proc/sys/net/core/somaxconn to 262144, which ends up being 0 in the uint16. Avoid being tricked. FreeBSD sources also store the backlog in a uint16. Assume the problem is systemic and fix it everywhere. Fixes #5030. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7480046
-
Russ Cox authored
Noticed while doing other XML investigations. R=golang-dev, r CC=golang-dev https://golang.org/cl/7550045
-
Russ Cox authored
The old code just assumed that the only thing you can embed is a struct. Not true. Fixes #3803. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7743043
-
Brad Fitzpatrick authored
This isn't as bad as it used to be, but add a bit more detail to close the issue. Fixes #3359 R=golang-dev, adg CC=golang-dev https://golang.org/cl/7606044
-
Nigel Tao authored
R=dsymonds, dave CC=golang-dev https://golang.org/cl/7568045
-
Dave Cheney authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7739043
-
Rob Pike authored
Also rename the go parser test to GoParse so it doesn't grab the globally useful Parse name. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7732044
-
Nigel Tao authored
Edit encoding/base64's internals and tests to match encoding/base32. Properly handling line breaks in padding is left for another CL. R=dsymonds CC=golang-dev https://golang.org/cl/7693044
-
- 11 Mar, 2013 7 commits
-
-
Rob Pike authored
Mention the syntax is defined by the regexp/syntax package. Fixes #3953. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7702044
-
Robert Griesemer authored
Fixes #4519. R=rsc CC=golang-dev https://golang.org/cl/7733044
-
Russ Cox authored
The copy of c++filt shipped on OS X is six years old, and in our case it does far more mangling than it does demangling. People on non-OS X systems will have a working nm --demangle, so this won't affect them. $ sw_vers ProductName: Mac OS X ProductVersion: 10.8.2 BuildVersion: 12C2034 $ c++filt --version GNU c++filt 070207 20070207 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. $ $ go tool nm -n revcomp | grep quoteWith 4f560 T strconv.quoteWith $ go tool nm -n revcomp | grep quoteWith | c++filt f560 T strconv.quoteWith $ $ nm -n revcomp | grep quoteWith 000000000004f560 t _strconv.quoteWith $ nm -n revcomp | grep quoteWith | c++filt 000000000004f560 unsigned short _strconv.quoteWith $ Fixes #4818. R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/7729043
-
Russ Cox authored
This is what pprof expects, or else it won't use the program. And if it doesn't use the program, it gets very bad results. Fixes #4818. R=golang-dev, r CC=golang-dev https://golang.org/cl/7728043
-
Rémy Oudompheng authored
The specification says "the two arguments must be of the same floating-point type." R=rsc, gri CC=golang-dev https://golang.org/cl/7671045
-
Brad Fitzpatrick authored
Take advantage of the new terminating statement rule. R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/7712044
-
Rob Pike authored
Fixes #5003. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7476047
-