- 08 Feb, 2011 5 commits
-
-
Joe Poirier authored
R=rsc, brainman CC=golang-dev https://golang.org/cl/4146041
-
Graham Miller authored
Currently, when an importer closes the connection, the exporter gives an error message 'netchan export: error decoding client header:EOF'. This change causes the exporter to look for an EOF during the parse of the header, and silences the log message in that case. R=r CC=golang-dev, rog https://golang.org/cl/4132044
-
Gustavo Niemeyer authored
The logic introduced to avoid running cgo when introducing _cgo_flags is faulty. My goal was to handle it with the following statement: -include _cgo_flags The dash tells make to ignore errors if it can't include the file. What I missed, though, was the fact that it *will* attempt to build the file if it knows how. This change will introduce the originally intended semantics of not attempting to build the file before necessary. R=rsc CC=golang-dev https://golang.org/cl/4023069
-
Adam Langley authored
This was split from CL 4124054 R=bradfitzgo CC=golang-dev https://golang.org/cl/4126057
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/4105058
-
- 07 Feb, 2011 6 commits
-
-
Ken Thompson authored
reg: enable peep optimizer. cgen64: better int64 code. R=r CC=golang-dev https://golang.org/cl/3989065
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4105057
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4023071
-
Rob Pike authored
Fixes the build for 5l, and also removes an inconsequential bug in 8l. R=rsc CC=golang-dev https://golang.org/cl/4127051
-
Andrey Mirtchovski authored
Missing closing bracket renders the next code snippet unreadable. R=adg, gri CC=golang-dev https://golang.org/cl/4119060
-
Andrey Mirtchovski authored
A couple of post-closure function definitions were introduced too early, making the resulting code fail compilation. Also, the TitleValidator regexp was missing. R=adg CC=golang-dev https://golang.org/cl/4105054
-
- 05 Feb, 2011 6 commits
-
-
Adam Langley authored
Previously, the outer loop would continue until we selected the client's least preferable ciphersuite. R=golang-dev, r2 CC=golang-dev https://golang.org/cl/4029056
-
Adam Langley authored
OS X, at least, appears to test |byte == 255|, not |byte != 0| to establish if a bool is true or false. R=golang-dev, r CC=golang-dev https://golang.org/cl/4128064
-
Adam Langley authored
Many recently issued certificates are chained: there's one or more intermediate certificates between the host certificate and the root CA certificate. This change causes the code to load any number of certificates from the certificate file. This matches the behaviour of common webservers, and the output of OpenSSL's command line tools. R=golang-dev, r2 CC=golang-dev https://golang.org/cl/4119057
-
Adam Langley authored
R=bradfitzgo, r CC=golang-dev https://golang.org/cl/4124054
-
Robert Griesemer authored
If a multi-line raw string is the first token on a line, it should not be indented because the following lines (belonging to the raw string) are not indented either. Adjusted src of ebnf/ebnf_test.go manually as it now is formatted as expected. gofmt -w src misc Fixes #1072. R=r CC=golang-dev https://golang.org/cl/4119056
-
Kyle Consalus authored
Fixes #676. R=r, rsc, r2 CC=golang-dev https://golang.org/cl/4127043
-
- 04 Feb, 2011 13 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/4130046
-
Rob Pike authored
indirect through a pointer. Fixes #1478. R=rsc, r2 CC=golang-dev https://golang.org/cl/4131045
-
Rob Pike authored
signed or unsigned integers using %v or the formatless scanner. That is, Sscan("0x11", &i) or Sscanf("0x11", "%v", &i) will now set i to 17. If a format other than %v is presented, the behavior is as before. Fixes #1469. R=rsc CC=golang-dev https://golang.org/cl/4131042
-
Yuval Pavel Zholkover authored
Was crashing with GOOS=plan9 unless -s was passed. Add symbols and line numbers to Plan 9 a.out. R=rsc CC=golang-dev https://golang.org/cl/4080050
-
Russ Cox authored
Must be invoked as ./clean.bash --gomake make (or --gomake gmake, depending on the name of GNU make). R=niemeyer CC=golang-dev https://golang.org/cl/4023065
-
Russ Cox authored
Thanks to mhantsch@gmail.com. R=adg, brainman CC=golang-dev https://golang.org/cl/4092048
-
Gustavo Niemeyer authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4121058
-
Robert Griesemer authored
Removed most of the detailed examples about handing panics from the go spec since it's now covered by Effective Go. R=r, rsc, iant, ken2 CC=golang-dev https://golang.org/cl/4128058
-
Adam Langley authored
Note that DSA public key support is nascent and the verification functions clearly don't support it yet. I'm intending to get RSA keys working first. R=bradfitzgo CC=golang-dev https://golang.org/cl/3973054
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/4079063
-
Alex Brainman authored
Fixes #1004. Fixes #1460. R=mattn, r, niemeyer, rog, rsc CC=golang-dev https://golang.org/cl/4029053
-
Yasuhiro Matsumoto authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4121057
-
Robert Griesemer authored
The value of the internal flag includeNonGoFile really is the value of the fulltextIndex flag. R=rsc CC=golang-dev https://golang.org/cl/4044052
-
- 03 Feb, 2011 10 commits
-
-
Rob Pike authored
ReadRune. (If you have a Reader but not a RuneReader, use bufio.) The matching code is a few percent slower but significantly cleaner. R=rsc CC=golang-dev https://golang.org/cl/4125046
-
Gustavo Niemeyer authored
As discussed in the mailing list, this adds a simple barrier implementation to the sync package which enables one or more goroutines to wait for a counter to go down to zero. R=rsc, rog, r CC=golang-dev https://golang.org/cl/3770045
-
Robert Griesemer authored
R=r, r2 CC=golang-dev https://golang.org/cl/4128055
-
Rob Pike authored
R=rsc, gri CC=golang-dev https://golang.org/cl/4130044
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4001056
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4128054
-
Dave Cheney authored
notes: * due to Issue 1466 the Msghdr struct for src/pkg/syscall/ztypes_darwin_386.go src/pkg/syscall/ztypes_darwin_amd64.go had to be edited after the godefs generation. * ztypes_*.go files for linux, freebsd and darwin have been prepared on the correct host OS and ARCH. While the total increase is a dozen lines per file the diff is larger due to a change to godefs, http://code.google.com/p/go/source/detail?r=c79e30afe9c8 while has altered the names of Pad members which causes gofmt to realign the affected structs R=rsc, mikioh CC=golang-dev https://golang.org/cl/4119053
-
Russ Cox authored
R=adg, gri CC=golang-dev https://golang.org/cl/4126055
-
Robert Griesemer authored
This change makes it legal to pass a struct value as receiver outside the package declaring the struct even if the respective struct type has non-exported fields. This is a backwards-compatible language change motivated by the fact that it is already possible to circumvent the assignment restriction when calling methods through interfaces (see issue 1402). R=r, rsc, iant, ken2 CC=golang-dev https://golang.org/cl/3926044
-
Gustavo Niemeyer authored
This enables #cgo directives to contain a os/arch specification which restricts the definition of the given option to matching systems. For example: #cgo amd64 CFLAGS: -DAMD64=1 #cgo linux CFLAGS: -DLINUX=1 #cgo linux/amd64 CFLAGS: -DLINUX_ON_AMD64=1 R=rsc CC=golang-dev https://golang.org/cl/4121048
-