- 21 Apr, 2011 16 commits
-
-
Lucio De Re authored
The solution may be a bit of a sledgehammer, but it looks like a temporary situation anyway. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4400042
-
Albert Strasheim authored
R=rsc CC=golang-dev https://golang.org/cl/4409041
-
Mikio Hara authored
note: due to issue 1466 the Msghdr and BpfProgram struct for src/pkg/syscall/ztypes_darwin_386.go, src/pkg/syscall/ztypes_darwin_amd64.go had to be edited after the godefs generation. R=rsc CC=golang-dev https://golang.org/cl/4403042
-
Brad Fitzpatrick authored
Fixes #1528 R=rsc CC=golang-dev https://golang.org/cl/4425060
-
Quan Yong Zhai authored
R=rsc CC=golang-dev https://golang.org/cl/4433064
-
Dmitriy Vyukov authored
Fixes #1715. R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4434053
-
Russ Cox authored
R=golang-dev, r2 CC=golang-dev https://golang.org/cl/4432055
-
Ian Lance Taylor authored
Avoid getting out of synch when a function, such as main.init, has no associated line number information. Without this the function before main.init can skip the PC all the way to the next function, which will cause the next function's line table to be associated with main.init, and leave subsequent functions with the wrong line numbers. R=rsc CC=golang-dev https://golang.org/cl/4426055
-
Albert Strasheim authored
R=rsc CC=golang-dev https://golang.org/cl/4369047
-
Dmitry Chestnykh authored
On Mac X 10.6 /etc/resolv.conf is changed dynamically, and may not exist at all when all network connections are turned off, thus any lookup, even for "localhost" would fail with "error reading DNS config: open /etc/resolv.conf: no such file or directory". This change avoids the error by trying to lookup addresses in /etc/hosts before loading DNS config. R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4431054
-
Mikio Hara authored
R=rsc CC=golang-dev https://golang.org/cl/4442072
-
Vincent Vanackere authored
The SW_HIDE parameter looks like the only way for a windows GUI application to execute a CLI subcommand without having a shell windows appearing. R=brainman, golang-dev, bradfitzgo, rsc1 CC=golang-dev https://golang.org/cl/4439055
-
Russ Cox authored
R=golang-dev, brainman CC=golang-dev https://golang.org/cl/4437065
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4444056
-
Russ Cox authored
go/types: update for export data format change reflect: require package qualifiers to match during interface check runtime: require package qualifiers to match during interface check test: fixed bug324, adapt to be silent Fixes #1550. Issue 1536 remains open. R=gri, ken2, r CC=golang-dev https://golang.org/cl/4442071
-
Alex Brainman authored
Fixes #1718. R=golang-dev, rsc, peterGo, r CC=golang-dev https://golang.org/cl/4435059
-
- 20 Apr, 2011 13 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4449041
-
Rob Pike authored
to regularize the errors. R=rsc CC=golang-dev https://golang.org/cl/4446055
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/4425059
-
Rob Pike authored
to improve the code and removea TODO. R=rsc CC=golang-dev https://golang.org/cl/4443054
-
Brad Fitzpatrick authored
Fixes #1589 R=rsc CC=golang-dev https://golang.org/cl/4443053
-
Russ Cox authored
Fixes #1571. R=ken2 CC=golang-dev https://golang.org/cl/4443052
-
Russ Cox authored
This CL makes reflect require that values be assignable to the target type in exactly the same places where that is the rule in Go. It also adds the Implements and AssignableTo methods so that callers can check the types themselves so as to avoid a panic. Before this CL, reflect required strict type identity. This CL expands Call to accept and correctly marshal arbitrary argument lists for variadic functions; it introduces CallSlice for use in the case where the slice for the variadic argument is already known. Fixes #327. Fixes #1212. R=r, dsymonds CC=golang-dev https://golang.org/cl/4439058
-
Russ Cox authored
Fixes #1710. R=ken2 CC=golang-dev https://golang.org/cl/4444054
-
Russ Cox authored
This CL makes it possible to resolve DNS names on OS X without offending the Application-Level Firewall. It also means that cross-compiling from one operating system to another is no longer possible when using package net, because cgo needs to be able to sniff around the local C libraries. We could special-case this one use and check in generated files, but it seems more trouble than it's worth. Cross compiling is dead anyway. It is still possible to use either GOARCH=amd64 or GOARCH=386 on typical Linux and OS X x86 systems. It is also still possible to build GOOS=linux GOARCH=arm on any system, because arm is for now excluded from this change (there is no cgo for arm yet). R=iant, r, mikioh CC=golang-dev https://golang.org/cl/4437053
-
Russ Cox authored
CanAddr was wrong, out of date; CanSet was incomplete. R=r CC=golang-dev https://golang.org/cl/4442066
-
Robert Griesemer authored
gofmt: also fix a typo in gofmt.go R=rsc, r CC=golang-dev https://golang.org/cl/4431055
-
David Crawshaw authored
Some code duplication with gofix. R=rsc, gri, bradfitzgo, r2, adg, peterGo, r, brainman CC=golang-dev https://golang.org/cl/4430054
-
Andrew Gerrand authored
This CL gives goinstall the ability to build commands, not just packages. "goinstall foo.googlecode.com/hg/bar" will build the command named "bar" and install it to GOBIN. "goinstall ." will use the name of the local directory as the command name. R=rsc, niemeyer CC=golang-dev https://golang.org/cl/4426045
-
- 19 Apr, 2011 9 commits
-
-
Nigel Tao authored
R=rsc CC=golang-dev https://golang.org/cl/4442064
-
Robert Griesemer authored
Specifically, fix a wrong comment. Fixes #1717. R=r, rsc CC=golang-dev https://golang.org/cl/4445050
-
Rob Pike authored
Forgot to send key/value types. R=rsc CC=golang-dev, hmc2you https://golang.org/cl/4434058
-
Russ Cox authored
R=golang-dev, bradfitzgo CC=golang-dev https://golang.org/cl/4425054
-
Adam Langley authored
* Accept armored private key blocks * If an armored block is missing, return an InvalidArgumentError, rather than ignoring it. * If every key in a block is skipped due to being unsupported, return the last unsupported error. * Include the numeric type of unsupported public keys. * Don't assume that the self-signature comes immediately after the user id packet. R=bradfitzgo CC=golang-dev https://golang.org/cl/4434048
-
Adam Langley authored
This pulls in changes that should have been in 3faf9d0c10c0, but weren't because x509.go was part of another changelist. TBR=bradfitzgo R=bradfitzgo CC=golang-dev https://golang.org/cl/4433056
-
Adam Langley authored
People have a need to verify certificates in situations other than TLS client handshaking. Thus this CL moves certificate verification into x509 and expands its abilities. R=bradfitzgo CC=golang-dev https://golang.org/cl/4407046
-
Nigel Tao authored
It is based on changeset 4186064 by Raph Levien <raph@google.com>. R=r, nigeltao_gnome CC=golang-dev https://golang.org/cl/4435051
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4444049
-
- 18 Apr, 2011 2 commits
-
-
Russ Cox authored
I should have done this a year ago in: changeset: 5137:686b18098944 user: Russ Cox <rsc@golang.org> date: Thu Mar 25 14:05:54 2010 -0700 files: src/cmd/8c/swt.c description: make alignment rules match 8g, just like 6c matches 6g. R=ken2 CC=golang-dev https://golang.org/cl/760042 R=ken2 CC=golang-dev https://golang.org/cl/4437054
-
Russ Cox authored
Don't assume that localhost == 127.0.0.1. It might be ::1. R=bradfitzgo CC=golang-dev https://golang.org/cl/4430055
-