Jukka-Pekka Kekkonen
ba5b09f786
crypto/hmac: make Sum idempotent
...
Fixes #978 .
R=rsc
CC=golang-dev
https://golang.org/cl/1967045
2010-08-26 13:32:29 -04:00
Evan Shaw
33cb46903e
net/textproto: Handle multi-line responses
...
This is required for FTP and SMTP; maybe others.
R=rsc
CC=golang-dev
https://golang.org/cl/1892052
2010-08-26 13:32:23 -04:00
Scott Lawrence
6752ce9331
http: obscure passwords in return value of URL.String
...
Fixes #974 .
R=rsc
CC=golang-dev
https://golang.org/cl/1742057
2010-08-26 13:32:16 -04:00
Russ Cox
25410fc57d
A+C: Corey Thomasson (individual CLA)
...
R=iant
CC=golang-dev
https://golang.org/cl/1952047
2010-08-26 13:21:06 -04:00
Ian Lance Taylor
bbaef5f4dc
runtime: Correct commonType.kind values to match compiler.
...
The copy of these values in the reflect package is already
correct.
R=rsc
CC=golang-dev
https://golang.org/cl/2009044
2010-08-26 08:08:57 -07:00
Christian Himpel
2585888118
.hgignore: ignore src/cmd/cc/y.output
...
R=golang-dev, adg1, adg
CC=golang-dev
https://golang.org/cl/2023044
2010-08-26 16:50:17 +10:00
Andrew Gerrand
f34e191691
doc/go_learning: add links to more German docs
...
R=r
CC=golang-dev
https://golang.org/cl/1933045
2010-08-26 10:17:14 +10:00
Russ Cox
dbc6d75315
goinstall: use https for Google Code checkouts
...
This way, if you later want to check things in,
you can (with appropriate authorization).
Using plain http leads to the cryptic error
abort: HTTP Method Not Allowed.
R=r
CC=golang-dev
https://golang.org/cl/1983050
2010-08-25 18:08:16 -04:00
Russ Cox
423e410258
gotest: allow make test of cgo packages (without make install)
...
R=r
CC=golang-dev, stevvooe
https://golang.org/cl/1995051
2010-08-25 18:00:42 -04:00
Russ Cox
15f336b675
build: let pkg/Makefile coordinate building of Go commands
...
Commands written in Go depend on Go packages, so they
cannot be built by src/cmd/make.bash. They have been
built by src/make.bash after all the packages are done, but
we want to be able to use cgo (written in Go) during the build
of package net. To make this possible, build the commands
from src/pkg/Makefile instead of src/make.bash, so that they
are included in the package dependency analysis.
R=r
CC=golang-dev
https://golang.org/cl/1972046
2010-08-25 17:54:10 -04:00
Russ Cox
5008927c5c
libcgo: update Makefile to use Make.inc
...
Fix printf format string.
R=r
CC=golang-dev
https://golang.org/cl/1959044
2010-08-25 17:53:24 -04:00
Russ Cox
e63086548b
codereview: really disable codereview when not available
...
$ hg p
codereview disabled: cannot open /Users/rsc/g/go/src/pkg/goplan9.googlecode.com/hg/lib/codereview/codereview.cfg
$
R=dsymonds, r
CC=golang-dev
https://golang.org/cl/1998046
2010-08-25 17:52:25 -04:00
Russ Cox
216f5fff36
build: delete Make.386 Make.amd64 Make.arm
...
obsoleted by Make.inc.
R=r
CC=golang-dev
https://golang.org/cl/2009041
2010-08-25 17:51:48 -04:00
Jukka-Pekka Kekkonen
9401e3d1e4
websocket: fix missing Sec-WebSocket-Protocol on server response.
...
Due to header key normalization/typo, the server never responds with
the protocol header in place. This breaks all (draft76) applications
that are using the protocol-header.
R=ukai, rsc
CC=golang-dev
https://golang.org/cl/1969046
2010-08-25 12:52:04 -04:00
Russ Cox
3fc7f776d3
A+C: Jukka-Pekka Kekkonen (individual CLA)
...
R=adg, madari
CC=golang-dev
https://golang.org/cl/2025042
2010-08-25 12:51:36 -04:00
Martin Neubauer
9a04cba807
src/pkg/Makefile: delete use of QUOTED_GOBIN
...
R=rsc
CC=golang-dev
https://golang.org/cl/1997044
2010-08-25 12:44:13 -04:00
Andrew Gerrand
0c65748e6d
A+C: Martin Neubauer
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/1999044
2010-08-25 12:34:30 -04:00
Russ Cox
b0729cdfe5
go/doc: use correct escaper for URL
...
Despite the name, URL escaping is for a small subpiece of the URL only.
This particular URL is being emitted in an <a href=""> tag and in that
context it should be HTML escaped, not URL escaped.
In addition to fixing a bug, this change cuts a dependency chain
from go/doc to net, clearing the way for use of cgo
(which imports go/doc) during the compilation of package net.
R=gri
CC=golang-dev
https://golang.org/cl/1960050
2010-08-25 11:00:38 -04:00
Russ Cox
218afb8fbd
syscall: change BUG(brainman) to NOTE(brainman)
...
Avoids the comment appearing in godoc syscall BUGS section.
R=brainman
CC=golang-dev
https://golang.org/cl/1966048
2010-08-25 01:26:35 -04:00
Andrew Gerrand
dd202c1a6b
tag release.2010-08-25
...
R=rsc
CC=golang-dev
https://golang.org/cl/2023042
2010-08-25 15:01:43 +10:00
Andrew Gerrand
deb00ac3f4
release.2010-08-25
...
R=rsc
CC=golang-dev
https://golang.org/cl/2009043
2010-08-25 14:58:29 +10:00
Rob Pike
d7736413a6
scanner: change package comment to be clearer about its functionality.
...
No semantic changes.
R=gri, rsc1
CC=golang-dev
https://golang.org/cl/1998045
2010-08-25 13:07:08 +10:00
Russ Cox
2aa77c6b93
gotest: remove lingering references to $GOBIN
...
(Assumed to be in $PATH. all.bash ensures that
during the main build and the user must ensure it
when running commands like gotest or gomake
by hand. This belonged in the earlier CL but I missed it.)
R=r
CC=golang-dev
https://golang.org/cl/1967048
2010-08-24 21:56:32 -04:00
Russ Cox
e3034adfc2
build: fix build again - not sure where the " went. sigh.
...
R=r
CC=golang-dev
https://golang.org/cl/2024043
2010-08-24 20:43:31 -04:00
Ian Lance Taylor
2b73ad592c
time: Remove unused zoneinfo.go (replaced by zoneinfo_unix.go).
...
R=r, rsc
CC=brainman, golang-dev
https://golang.org/cl/2020043
2010-08-24 17:24:40 -07:00
Russ Cox
8b718b9a37
build: fix build - last CL missed Make.clib
...
R=r
CC=golang-dev
https://golang.org/cl/1981047
2010-08-24 20:15:52 -04:00
Russ Cox
86920ad81d
build: update, streamline documentation for new $GOBIN
...
R=adg, r
CC=golang-dev
https://golang.org/cl/2025041
2010-08-24 20:00:50 -04:00
Russ Cox
aafe474ec9
build: $GOBIN defaults to $GOROOT/bin
...
R=r
CC=golang-dev
https://golang.org/cl/1982049
2010-08-24 20:00:33 -04:00
Jan H. Hosang
2100f57e0f
time.Parse should not require minutes for time zone
...
Fixes #1026 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/1962048
2010-08-25 07:41:26 +10:00
Ian Lance Taylor
58a25c6de7
test: Add testcase which crashes gccgo.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1995050
2010-08-24 13:08:05 -07:00
Russ Cox
e1e829b786
runtime: fix freebsd/386 mmap
...
The runtime only passes 32 bits of file offset,
but the kernel wants 64 bits, so have to add
zeros explicitly in a copy of the arguments.
R=adg, Martin Neubauer
CC=golang-dev
https://golang.org/cl/1933044
2010-08-24 13:04:02 -04:00
Russ Cox
b1311cbc93
gc: fix parenthesization check
...
Cannot use paren field in Node because all
instances of a given symbol name use the same Node.
Fixes #1022 .
R=ken2
CC=golang-dev
https://golang.org/cl/2015043
2010-08-23 23:10:25 -04:00
Rob Pike
7ddbe79842
effective go: fix errors caught by HaWe
...
R=rsc
CC=golang-dev
https://golang.org/cl/1959043
2010-08-24 12:37:51 +10:00
Ian Lance Taylor
659966a988
doc: Update gccgo information for recent changes.
...
R=r
CC=golang-dev
https://golang.org/cl/1941052
2010-08-23 17:50:30 -07:00
Scott Lawrence
668f05aaf1
os: make return type of FileInfo.Permission() consistent with related functions
...
(uint32 rather than int)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/1958048
2010-08-24 10:38:52 +10:00
Russ Cox
d0459447fa
http: doc nit
...
R=r
CC=golang-dev
https://golang.org/cl/2013043
2010-08-23 18:06:28 -04:00
Ken Thompson
96cbdd62b6
better job on 2007043
...
better registerization
R=rsc
CC=golang-dev
https://golang.org/cl/1955049
2010-08-23 12:38:15 -07:00
Kai Backman
534dbc738f
arm: fix build, regenerate syscall files
...
R=r
CC=golang-dev
https://golang.org/cl/1952046
2010-08-23 13:25:14 +03:00
Andrew Gerrand
4642708984
io: prevent ReadAtLeast spinloop if min > len(buf)
...
R=r, heresy.mc
CC=golang-dev
https://golang.org/cl/2017042
2010-08-23 12:04:15 +10:00
Scott Lawrence
d125faeed0
net/ipsock.go: fix error checking bug
...
Check oserr, not err for non-nil (err is never changed)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/1965042
2010-08-22 22:12:56 +10:00
Scott Lawrence
e5518feaf8
http: fix typo in http.Request documentation
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/2004044
2010-08-22 14:44:00 +10:00
Russ Cox
c560c8a9c3
libmach: implement register fetch for 32-bit x86 kernel
...
Also use memmove to silence some gcc warnings.
Fixes #1036 .
R=r, EtherealMachine
CC=golang-dev
https://golang.org/cl/1943049
2010-08-20 20:49:47 -04:00
Robert Griesemer
dbbe32ee53
fix build
...
Also: Copyright notices only need the year the file was created.
R=rsc
CC=golang-dev, krasin
https://golang.org/cl/2021041
2010-08-20 11:20:12 -07:00
Ivan Krasin
5a0274399a
syscall: regenerate syscall/z* files for linux/386, linux/amd64
...
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
Use <sys/user.h> instead of <linux/user.h>
See http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00834.html for more details.
R=imkrasin, rsc
CC=golang-dev
https://golang.org/cl/1957041
2010-08-20 09:12:21 -04:00
Ken Thompson
3dc3ef4cf7
attempt to gete better registeration
...
from the builtin structures (strings,
slices, interfaces)
R=rsc
CC=golang-dev
https://golang.org/cl/2007043
2010-08-19 18:18:51 -07:00
Robert Griesemer
1a667f52d8
go/ast Fprint: handle cycles in AST
...
Augmented ASTs may contain cycles. Keep
track of already printed objects and refer
to them with a line number instead of
printing them again.
R=rsc
CC=golang-dev
https://golang.org/cl/1998042
2010-08-19 16:03:02 -07:00
Rob Pike
9d3eb29a29
mime: delete unnecessary constant conversions.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1984043
2010-08-20 07:42:02 +10:00
Adam Langley
4abfc4fff0
crypto/ocsp: add missing Makefile
...
R=rsc
CC=golang-dev
https://golang.org/cl/2018041
2010-08-19 16:33:58 -04:00
Robert Griesemer
3112bb0727
go/ast, gofmt: facility for printing AST nodes
...
go/ast: implement Fprint and print functions to
print AST nodes
gofmt: print AST nodes by setting -ast flag
R=rsc, r
CC=golang-dev
https://golang.org/cl/1981044
2010-08-19 09:39:35 -07:00
Christopher Wedgwood
bdeebf4907
clean.bash: fix standalone runs
...
R=rsc
CC=golang-dev
https://golang.org/cl/1933043
2010-08-19 00:09:11 -04:00