Russ Cox
4bbe9d87d7
all-qemu.bash: cannot test go/build
...
R=adg, r
CC=golang-dev
https://golang.org/cl/4633054
2011-06-20 17:44:36 -04:00
Brad Fitzpatrick
9ee83f546f
http: write Header keys with empty values
...
R=golang-dev, rsc, r
CC=golang-dev
https://golang.org/cl/4630052
2011-06-20 14:36:03 -07:00
Brad Fitzpatrick
922ceaddd2
http: permit handlers to explicitly remove the Date header
...
We'll do the right thing by default, but people wanting minimal
response sizes can explicitly remove the Date header.
(empty fields aren't written out)
R=rsc
CC=golang-dev
https://golang.org/cl/4634048
2011-06-20 13:39:03 -07:00
Graham Miller
cf201ed6a0
os: change Waitmsg String method to use pointer receiver
...
Fixes #1851 .
R=rsc
CC=golang-dev
https://golang.org/cl/4628045
2011-06-20 15:42:17 -04:00
Brad Fitzpatrick
c2784340a7
http: add Server.ListenAndServeTLS
...
Fixes #1964
R=rsc
CC=golang-dev
https://golang.org/cl/4630045
2011-06-20 12:19:26 -07:00
Mikio Hara
10f1436bad
syscall: add LSF support for linux
...
R=rsc
CC=golang-dev
https://golang.org/cl/4626041
2011-06-20 14:51:34 -04:00
Robert Hencke
58ff8c1dfd
codereview.py: note that hg change -d abandons a change list
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4644043
2011-06-20 14:50:00 -04:00
Anthony Martin
028f74f827
5g, 6g, 8g: fix comments in method call generation
...
R=golang-dev
CC=golang-dev
https://golang.org/cl/4652042
2011-06-20 14:49:29 -04:00
Anthony Martin
12b2269860
5g, 5l: fix more set but not used warnings
...
These are present when building with gcc 4.6.
R=golang-dev, dave
CC=golang-dev, lvd
https://golang.org/cl/4636047
2011-06-20 14:18:04 -04:00
Russ Cox
e0a617496e
test: test of goto restrictions
...
R=gri, iant, bradfitz, fvbommel, r
CC=golang-dev
https://golang.org/cl/4652041
2011-06-20 14:06:00 -04:00
Brad Fitzpatrick
da7b96f714
http: fix req.Cookie(name) with cookies in one header
...
Fixes #1974
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4654042
2011-06-20 10:33:07 -07:00
Pascal S. de Kloe
67ec47d1c0
mime: fix RFC references
...
R=golang-dev, bradfitz
CC=brad fitzpatrick <bradfitz, golang-dev
https://golang.org/cl/4634063
2011-06-20 07:41:18 -07:00
Anthony Martin
f7d754fcce
build: exclude packages that fail on Plan 9 (for now)
...
All but two packages depend on net:
debug/proc
os/signal
With this change, we can produce
a working build with GOOS=plan9.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4639053
2011-06-20 22:23:43 +10:00
Andrew Gerrand
f22e5cfc6d
goinstall: update doc.go
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4645048
2011-06-20 16:39:16 +10:00
Yasuhiro Matsumoto
b7b8f2b086
misc/godashboard: Accept sub-directories for goinstall's report.
...
Fixed issue 1155.
R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/4592059
2011-06-20 14:46:32 +10:00
Andrew Gerrand
f3a7dad654
goinstall: s/vlogf/printf/
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4628050
2011-06-20 14:44:14 +10:00
Andrew Gerrand
e068b85bea
goinstall: wait for all commands to finish instead of timeout
...
goinstall: make ".git" repo suffix optional
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/4643048
2011-06-20 14:12:23 +10:00
Anthony Martin
20943baed3
exec: add support for Plan 9
...
R=paulzhol, mirtchovski, fshahriar, alex.brainman, r
CC=golang-dev
https://golang.org/cl/4386041
2011-06-20 13:34:10 +10:00
Julian Phillips
c319fb07bc
goinstall: Add support for arbitary code repositories
...
Extend goinstall to support downloading from any hg/git/svn/bzr hosting
site, not just the standard ones. The type of hosting is automatically
checked by trying all the tools, so the import statement looks like:
import "example.com/mything"
Which will work for Mercurial (http), Subversion (http, svn), Git (http,
git) and Bazaar (http, bzr) hosting.
All the existing package imports will work through this new mechanism,
but the existing hard-coded host support is left in place to ensure
there is no change in behaviour.
R=golang-dev, bradfitz, fvbommel, go.peter.90, n13m3y3r, adg, duperray.olivier
CC=golang-dev
https://golang.org/cl/4650043
2011-06-20 13:00:43 +10:00
Rob Pike
5e77b9d334
doc/GoCourseDay1: shrink the PDF by rewriting it using ps2pdf.
...
No difference in content or appearance.
Forgot to do this when I updated this file a few days ago.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4626056
2011-06-20 12:36:14 +10:00
Robert Hencke
a5b5e2b79e
godefs: rudimentary tests
...
currently only defined for darwin
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4528123
2011-06-20 11:54:07 +10:00
Rob Pike
783c46b197
8a: delete dreg l.s
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4631053
2011-06-20 11:53:41 +10:00
Anthony Martin
d119e3bc0f
time: add support for Plan 9
...
R=paulzhol, mirtchovski, r, r, rsc
CC=golang-dev
https://golang.org/cl/4362041
2011-06-19 16:36:33 +10:00
Andrew Gerrand
bbddcc14c6
A+C: add Julian Phillips
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4628048
2011-06-19 16:09:28 +10:00
Rob Pike
f22f40532e
Make.ccmd: another build fix.
...
It's sad to think there are environments where compiling against a library
isn't enough information for the the linker to decide that you need that
library.
TBR=jdpoirier
R=jdpoirier
CC=golang-dev
https://golang.org/cl/4646047
2011-06-19 15:30:54 +10:00
Rob Pike
3890ce0ed5
Make.ccmd: fix build - libraries in wrong order.
...
TBR=jdpoirier
R=jdpoirier
CC=golang-dev
https://golang.org/cl/4648045
2011-06-19 14:56:25 +10:00
Dave Cheney
cbb2d8e20e
cc: nit: silence comment warnings
...
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/4648043
2011-06-19 13:58:08 +10:00
Joe Poirier
26b6a97c15
Make.ccmd: link with mach lib,
...
remove explicit linking in make files
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4629051
2011-06-19 13:57:22 +10:00
Andrew Gerrand
df02e65d54
doc/faq: remove misleading FAQ entry
...
R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/4638046
2011-06-19 13:53:07 +10:00
Andrew Gerrand
c967ba0210
goinstall: always rebuild a package after its dependencies are built
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4627047
2011-06-19 09:36:45 +10:00
Scott Lawrence
3c06518405
http: fix documentation typo
...
(Variable is referred to alternately as 'r' and 'req')
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4648042
2011-06-18 21:53:18 +10:00
Andrew Gerrand
17805ddb6f
doc/faq: add question about converting from []T to []interface{}
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4639046
2011-06-18 20:31:38 +10:00
Russ Cox
61f4ec132b
syscall: fix build for Sizeof change
...
R=ken2
CC=golang-dev
https://golang.org/cl/4635051
2011-06-17 17:07:21 -04:00
Russ Cox
cf9f380499
gc: unsafe.Alignof, unsafe.Offsetof, unsafe.Sizeof now return uintptr
...
R=ken2
CC=golang-dev
https://golang.org/cl/4640045
2011-06-17 16:12:14 -04:00
Russ Cox
b96ff8458c
5g, 8g: fix build
...
R=ken2
CC=golang-dev
https://golang.org/cl/4627045
2011-06-17 16:05:00 -04:00
Russ Cox
7f4c5ea7d8
gc: implement goto restriction
...
Remove now-unnecessary zeroing of stack frames.
R=ken2
CC=golang-dev
https://golang.org/cl/4641044
2011-06-17 15:25:05 -04:00
Russ Cox
e852202f37
gc: descriptive panic for nil pointer -> value method call
...
R=ken2
CC=golang-dev
https://golang.org/cl/4646042
2011-06-17 15:23:27 -04:00
Russ Cox
f4c7db0ed9
spec: disallow goto into blocks
...
R=gri, r, r
CC=golang-dev
https://golang.org/cl/4631045
2011-06-17 12:49:04 -04:00
Russ Cox
21e75da486
respect goto restrictions
...
R=gri
CC=golang-dev
https://golang.org/cl/4625044
2011-06-17 06:07:13 -04:00
Alex Brainman
8155ff5452
go/build: use back quotes for regular expression
...
R=adg
CC=golang-dev
https://golang.org/cl/4643045
2011-06-17 16:41:59 +10:00
Alex Brainman
eaa082f691
8l: minor fix discovered by lucio
...
R=lucio.dere, vcc.163, bradfitz
CC=golang-dev
https://golang.org/cl/4645044
2011-06-17 15:55:54 +10:00
Andrew Gerrand
e5105f55dc
tag weekly.2011-06-16
...
R=dsymonds
CC=golang-dev
https://golang.org/cl/4648041
2011-06-17 11:35:57 +10:00
Andrew Gerrand
d6b9dd8b81
weekly.2011-06-16
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4643044
2011-06-17 11:31:40 +10:00
Andrew Gerrand
4340b57d88
goinstall, go/build: support building cgo packages
...
Fixes #1962 .
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4636044
2011-06-17 11:15:54 +10:00
Nigel Tao
ca91ce2d85
doc/effective_go: add a note about prefixing error strings with their
...
package name.
R=r, rsc
CC=golang-dev
https://golang.org/cl/4630042
2011-06-17 10:51:10 +10:00
Nigel Tao
278952c393
regexp: add a package prefix to error strings.
...
R=r, r
CC=golang-dev
https://golang.org/cl/4630041
2011-06-17 10:50:38 +10:00
Alex Brainman
c562fbc44e
cgo: make file path work for windows
...
R=golang-dev, mattn.jp, adg
CC=golang-dev
https://golang.org/cl/4634043
2011-06-17 10:17:33 +10:00
Brad Fitzpatrick
380e5a3709
http: document http client/transport thread safety
...
Fixes #1961
R=golang-dev, rsc, r
CC=golang-dev
https://golang.org/cl/4633045
2011-06-16 15:02:47 -07:00
Russ Cox
fc77e82617
unicode: add case folding tables
...
R=r, r
CC=golang-dev
https://golang.org/cl/4571074
2011-06-16 17:56:25 -04:00
Brad Fitzpatrick
6e9b1a78ff
http: make Headers be source of truth
...
Previously Request and Response had redundant fields for
Referer, UserAgent, and cookies which caused confusion and
bugs. It also didn't allow us to expand the package over
time, since the way to access fields would be in the Headers
one day and promoted to a field the next day. That would be
hard to gofix, especially with code ranging over Headers.
After a discussion on the mail package's design with a similar
problem, we've designed to make the Headers be the source of
truth and add accessors instead.
Request:
change: Referer -> Referer()
change: UserAgent -> UserAgent()
change: Cookie -> Cookies()
new: Cookie(name) *Cookie
new: AddCookie(*Cookie)
Response:
change: Cookie -> Cookies()
Cookie:
new: String() string
R=rsc
CC=golang-dev
https://golang.org/cl/4620049
2011-06-16 13:02:28 -07:00