]>
Cypherpunks repositories - gostls13.git/log
Nigel Tao [Tue, 12 Oct 2010 03:05:50 +0000 (14:05 +1100)]
exp/draw: unbreak build.
R=adg
CC=golang-dev
https://golang.org/cl/
2448041
Nigel Tao [Tue, 12 Oct 2010 02:44:11 +0000 (13:44 +1100)]
image: add image.Tiled type, the Go equivalent of Plan9's repl bit.
Make ColorImage methods' receiver type be a pointer.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
2345043
Eric Clark [Tue, 12 Oct 2010 02:39:37 +0000 (22:39 -0400)]
Make.cmd: remove $(OFILES)
The linker doesn't support multiple object files (maybe it did in the past?)
R=rsc
CC=golang-dev
https://golang.org/cl/
2444041
Russ Cox [Tue, 12 Oct 2010 02:38:42 +0000 (22:38 -0400)]
exp/iterable: delete
Package iterable has outlived its utility.
It is an interesting demonstration, but it encourages
people to use iteration over channels where simple
iteration over array indices or a linked list would be
cheaper, simpler, and have fewer races.
R=dsymonds, r
CC=golang-dev
https://golang.org/cl/
2436041
Andrew Gerrand [Tue, 12 Oct 2010 00:49:05 +0000 (11:49 +1100)]
build: fix darwin/386 build
R=rsc
CC=golang-dev
https://golang.org/cl/
2443041
Russ Cox [Mon, 11 Oct 2010 20:21:03 +0000 (16:21 -0400)]
ld: be less picky about bad line number info
Fixes #1175.
R=lvd
CC=golang-dev
https://golang.org/cl/
2439041
Rob Pike [Mon, 11 Oct 2010 19:40:13 +0000 (12:40 -0700)]
new command gotry.
An exercise in reflection and an unusual tool.
From the usage message:
usage: gotry [packagedirectory] expression ...
Given one expression, gotry attempts to evaluate that expression.
Given multiple expressions, gotry treats them as a list of arguments
and result values and attempts to find a function in the package
that, given the first few expressions as arguments, evaluates to
the remaining expressions as results. If the first expression has
methods, it will also search for applicable methods.
If there are multiple expressions, a package directory must be
specified. If there is a package argument, the expressions are
evaluated in an environment that includes
import . "packagedirectory"
Examples:
gotry 3+4
# evaluates to 7
gotry strings '"abc"' '"c"' 7-5
# finds strings.Index etc.
gotry regexp 'MustCompile("^[0-9]+")' '"12345"' true
# finds Regexp.MatchString
R=rsc, PeterGo, r2
CC=golang-dev
https://golang.org/cl/
2352043
Roger Peppe [Mon, 11 Oct 2010 19:36:16 +0000 (12:36 -0700)]
netchan: zero out request to ensure correct gob decoding.
Gob decoding does not overwrite fields which are zero
in the encoder.
Fixes #1174.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2337044
Jim McGrath [Mon, 11 Oct 2010 18:45:01 +0000 (14:45 -0400)]
6l: correct offset for __nl_symbol_ptr in Mach-O.
Fixes malformed object message from nm etc.
Fixes #1180.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
2390042
Jim McGrath [Mon, 11 Oct 2010 18:39:41 +0000 (14:39 -0400)]
6l: fix Mach-O LC_RPATH
Fixes #1177.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
2387042
Russ Cox [Mon, 11 Oct 2010 18:32:25 +0000 (14:32 -0400)]
A+C: Jim McGrath (individual CLA)
R=r, r2
CC=golang-dev
https://golang.org/cl/
2438041
Sam Thorogood [Mon, 11 Oct 2010 17:14:07 +0000 (13:14 -0400)]
expvar: add (*Int).Set
R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/
2336044
Russ Cox [Mon, 11 Oct 2010 17:13:57 +0000 (13:13 -0400)]
CONTRIBUTORS: link sam.thorogood@gmail.com for code review
R=Sam
CC=golang-dev
https://golang.org/cl/
2437041
Adam Langley [Mon, 11 Oct 2010 14:41:01 +0000 (10:41 -0400)]
crypto/tls: make SetReadTimeout work.
Fixes #1181.
R=rsc, agl1, cw, r2
CC=golang-dev
https://golang.org/cl/
2414041
Adam Langley [Mon, 11 Oct 2010 14:39:56 +0000 (10:39 -0400)]
crypto/tls: better error messages for certificate issues.
Fixes #1146.
R=rsc, agl1
CC=golang-dev
https://golang.org/cl/
2380042
Andrew Gerrand [Mon, 11 Oct 2010 02:45:26 +0000 (13:45 +1100)]
time: add After
Permits one to easily put a timeout in a select:
select {
case <-ch:
// foo
case <-time.After(1e6):
// bar
}
R=r, rog, rsc, sameer1, PeterGo, iant, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/
2321043
Nigel Tao [Sat, 9 Oct 2010 00:22:14 +0000 (11:22 +1100)]
exp/draw/x11: support X11 vendors other than "The X.Org Foundation".
R=adg, ehog.hedge
CC=golang-dev
https://golang.org/cl/
2385041
Ken Thompson [Fri, 8 Oct 2010 23:46:05 +0000 (16:46 -0700)]
bug in stack size in arm.
stack is off by one if calling
through reflect.Call
R=rsc
CC=golang-dev
https://golang.org/cl/
2400041
Andrew Gerrand [Fri, 8 Oct 2010 07:52:28 +0000 (18:52 +1100)]
build: add GOHOSTOS and GOHOSTARCH environment variables.
Auto-detect both if not set, and if GOARCH is not set use GOHOSTARCH.
GOHOSTARCH is used to set the -m32 or -m64 flags for gcc.
This is so that 64-bit can build binaries that run on 32-bit systems.
R=rsc, iant, brainman
CC=golang-dev
https://golang.org/cl/
2342045
Anthony Martin [Thu, 7 Oct 2010 14:10:48 +0000 (16:10 +0200)]
big: fix panic and round correctly in Rat.FloatString
R=gri, rsc
CC=golang-dev
https://golang.org/cl/
2212044
Russ Cox [Thu, 7 Oct 2010 11:51:37 +0000 (07:51 -0400)]
5l, 8l: dregs
R=ken2
CC=golang-dev
https://golang.org/cl/
2390041
Russ Cox [Thu, 7 Oct 2010 10:46:01 +0000 (06:46 -0400)]
runtime: fix tiny build
Reported by Jeff Allen.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2385042
Russ Cox [Thu, 7 Oct 2010 10:45:50 +0000 (06:45 -0400)]
net: allow _ in names
Enables lookup of _jabber._tcp.gmail.com's SRV record.
Fixes #1167.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2353043
Russ Cox [Thu, 7 Oct 2010 10:45:40 +0000 (06:45 -0400)]
runtime: fix argument dump in traceback
Was printing words at SP instead of at FP
after shuffle due to nascent flag.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2316044
Russ Cox [Thu, 7 Oct 2010 10:36:39 +0000 (06:36 -0400)]
gc: maybe the code is only mostly dead
R=ken2
CC=golang-dev
https://golang.org/cl/
2346044
Luuk van Dijk [Thu, 7 Oct 2010 09:13:06 +0000 (11:13 +0200)]
[568]a: precise linenumbers for statements.
R=rsc, ken2, r, rsc1
CC=golang-dev
https://golang.org/cl/
2297042
Graham Miller [Thu, 7 Oct 2010 08:52:13 +0000 (04:52 -0400)]
life: fix for new slice rules
R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/
2341049
Russ Cox [Thu, 7 Oct 2010 08:42:44 +0000 (04:42 -0400)]
gc: better error for method non-call
was
x.go:7: must call (&b).*Buffer·Write
now
x.go:7: method b.Write is not an expression, must be called
Fixes #1171.
R=ken2
CC=golang-dev
https://golang.org/cl/
2384042
Russ Cox [Thu, 7 Oct 2010 08:42:26 +0000 (04:42 -0400)]
gc: elide dead code
R=ken2
CC=golang-dev
https://golang.org/cl/
2365044
Russ Cox [Thu, 7 Oct 2010 07:33:42 +0000 (03:33 -0400)]
gc: fix error for 1 <- "foo"
was
x.go:4: invalid operation: 1 <- "foo" (send to receive-only type int)
now
x.go:4: invalid operation: 1 <- "foo" (send to non-chan type int)
R=ken2
CC=golang-dev
https://golang.org/cl/
2330042
Graham Miller [Thu, 7 Oct 2010 07:13:24 +0000 (03:13 -0400)]
runtime: faster strequal, memequal
Fixes #1161.
R=rsc, cwvh
CC=golang-dev
https://golang.org/cl/
2317044
Russ Cox [Thu, 7 Oct 2010 07:07:35 +0000 (03:07 -0400)]
A+C: Graham Miller (individual CLA)
R=gmiller, adg
CC=golang-dev
https://golang.org/cl/
2362043
Russ Cox [Wed, 6 Oct 2010 22:10:23 +0000 (18:10 -0400)]
codereview: disallow submit of *.[chys] files indented with spaces
R=r
CC=golang-dev
https://golang.org/cl/
2383041
Rob Pike [Wed, 6 Oct 2010 21:56:13 +0000 (23:56 +0200)]
playground.html: filesystem is not a word.
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
2370043
Russ Cox [Wed, 6 Oct 2010 15:54:53 +0000 (11:54 -0400)]
net: comment pedantry
Fixes #1167.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2290044
Russ Cox [Wed, 6 Oct 2010 15:54:41 +0000 (11:54 -0400)]
runtime: correct iteration of large map values
The hash_next_and_deref was a dreg from a
previous large value scheme.
Fixes #1163.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2369043
Russ Cox [Wed, 6 Oct 2010 15:25:40 +0000 (11:25 -0400)]
build: disable archive/zip for nacl (fix build)
TBR=adg
CC=golang-dev
https://golang.org/cl/
2290045
Russ Cox [Wed, 6 Oct 2010 15:12:30 +0000 (11:12 -0400)]
gc: ... bug
Fixes #1165.
R=ken2
CC=golang-dev
https://golang.org/cl/
2339042
Russ Cox [Wed, 6 Oct 2010 13:53:12 +0000 (09:53 -0400)]
gc: O(1) string comparison when lengths differ
R=ken2
CC=golang-dev
https://golang.org/cl/
2331045
Russ Cox [Wed, 6 Oct 2010 13:52:54 +0000 (09:52 -0400)]
ld: share asmlc
R=ken2
CC=golang-dev
https://golang.org/cl/
2373043
Stephen Ma [Wed, 6 Oct 2010 11:04:18 +0000 (22:04 +1100)]
http: return the correct error if a header line is too long.
R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/
2372042
Mikio Hara [Wed, 6 Oct 2010 10:47:25 +0000 (21:47 +1100)]
net: fix comment
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
2358041
Albert Strasheim [Wed, 6 Oct 2010 10:32:31 +0000 (21:32 +1100)]
syscall: add ucred structure for SCM_CREDENTIALS over UNIX sockets.
Working on issue 1101.
R=golang-dev, rsc, adg
CC=golang-dev
https://golang.org/cl/
2338042
Andrew Gerrand [Wed, 6 Oct 2010 10:30:34 +0000 (21:30 +1100)]
A+C: Albert Strasheim
R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/
2336042
Stephen Ma [Wed, 6 Oct 2010 08:39:30 +0000 (19:39 +1100)]
bufio: minor documentation fix.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
2301045
Luuk van Dijk [Tue, 5 Oct 2010 19:17:16 +0000 (21:17 +0200)]
6g: set kind to KindUnsafePointer where appropriate in reflect structures.
R=rsc, ken2, r
CC=golang-dev
https://golang.org/cl/
2355043
Alex Brainman [Tue, 5 Oct 2010 00:02:15 +0000 (11:02 +1100)]
websocket: enable tests on windows
Fixes #1110.
R=golang-dev, adg
CC=Joe Poirier, golang-dev
https://golang.org/cl/
2367041
Rob Pike [Mon, 4 Oct 2010 09:57:48 +0000 (11:57 +0200)]
fmt: allow %d on []byte
Fixes #1159.
R=rsc, adg
CC=golang-dev
https://golang.org/cl/
2305043
Alex Brainman [Mon, 4 Oct 2010 06:31:49 +0000 (17:31 +1100)]
os: make tests work on windows
Fixes #1105.
R=golang-dev, r
CC=Joe Poirier, golang-dev
https://golang.org/cl/
2343043
Alex Brainman [Mon, 4 Oct 2010 03:56:44 +0000 (14:56 +1100)]
add _testmain.go to .hgignore
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
2332042
Russ Cox [Sun, 3 Oct 2010 15:50:44 +0000 (11:50 -0400)]
gc: various bugs
Fixes #1016.
Fixes #1152.
Fixes #1153.
R=ken2
CC=golang-dev
https://golang.org/cl/
2344042
Russ Cox [Fri, 1 Oct 2010 20:02:18 +0000 (16:02 -0400)]
Make.pkg: remove .so before installing new one
On Linux, overwriting an mmap'ed file causes
all the MAP_PRIVATE pages to get refreshed
with the new content, even ones that have been
modified by the process that did the mmap.
One specific instance of this is that after the
dynamic linker has relocated a page from a .so,
overwriting the .so will un-relocate it, making
the next use of one of the no-longer-relocated
addresses incorrect and probably crash the
program.
Linux must go out of its way to break programs
in this way: the pages have already been copied
on write, so they're not shared with the file system
cache, and it trashes them anyway. The manual
says the behavior when the file gets overwritten
is "undefined". Removing before copy avoids the
undefined behavior.
R=iant
CC=golang-dev, msolo
https://golang.org/cl/
2333045
Russ Cox [Fri, 1 Oct 2010 04:18:07 +0000 (00:18 -0400)]
arm: enable 9 more package tests
R=ken2
CC=golang-dev
https://golang.org/cl/
2345041
Andrew Gerrand [Fri, 1 Oct 2010 04:14:18 +0000 (14:14 +1000)]
Use Errorf where appropriate.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2308043
Andrew Gerrand [Fri, 1 Oct 2010 04:04:55 +0000 (14:04 +1000)]
fmt: add Errorf helper function
This crops up in a lot of places.
It's just a one-liner, but doesn't add any dependancies.
Seems worth it.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2344041
Ken Thompson [Fri, 1 Oct 2010 01:02:38 +0000 (18:02 -0700)]
code gen error for
lv += f()
fixes asn1 and maybe more
R=rsc
CC=golang-dev
https://golang.org/cl/
2341042
Russ Cox [Thu, 30 Sep 2010 19:05:01 +0000 (15:05 -0400)]
gc: bug308
confused by using isddd for both ONAME and OCALL
Fixes #1136.
R=ken2
CC=golang-dev
https://golang.org/cl/
2314043
Russ Cox [Thu, 30 Sep 2010 19:02:43 +0000 (15:02 -0400)]
gc: correct buffer size in sprint, add -L to show full paths
R=ken2
CC=golang-dev
https://golang.org/cl/
2338041
Russ Cox [Thu, 30 Sep 2010 18:59:41 +0000 (14:59 -0400)]
gc, spec, tests: no auto-indirect of pointer to interface value
Implies no embedding of pointer to interface value either.
R=gri, iant, ken2, r, r2
CC=golang-dev
https://golang.org/cl/
2289041
Russ Cox [Thu, 30 Sep 2010 18:58:29 +0000 (14:58 -0400)]
libcgo: fix comment
R=r, r2
CC=golang-dev
https://golang.org/cl/
2329042
Russ Cox [Thu, 30 Sep 2010 18:48:33 +0000 (14:48 -0400)]
fix arm build on darwin leopard
TBR=r
CC=golang-dev
https://golang.org/cl/
2333043
Russ Cox [Thu, 30 Sep 2010 18:09:19 +0000 (14:09 -0400)]
runtime: serialize mcache allocation
Fixes racy regex-dna-parallel crashes.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2308042
Andrew Gerrand [Thu, 30 Sep 2010 07:48:16 +0000 (17:48 +1000)]
tag release.2010-09-29
R=nigeltao, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/
2330041
Andrew Gerrand [Thu, 30 Sep 2010 07:33:07 +0000 (17:33 +1000)]
release.2010-09-29
R=golang-dev, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/
2329041
Andrew Gerrand [Thu, 30 Sep 2010 03:43:09 +0000 (13:43 +1000)]
doc: add to and consolidate non-english doc references
R=r, r2
CC=golang-dev
https://golang.org/cl/
2315042
Stephen Ma [Thu, 30 Sep 2010 03:22:28 +0000 (13:22 +1000)]
http: fix http handler signature changes previously missed
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
2303041
Stephen Ma [Thu, 30 Sep 2010 03:19:33 +0000 (13:19 +1000)]
doc: update http handler usage for new signature
R=adg, r2
CC=golang-dev
https://golang.org/cl/
2302041
David Symonds [Thu, 30 Sep 2010 03:17:18 +0000 (20:17 -0700)]
6prof: more accurate usage message.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2323042
Russ Cox [Thu, 30 Sep 2010 03:11:00 +0000 (23:11 -0400)]
build: disable archive/zip on arm
R=adg
TBR=adg
CC=golang-dev
https://golang.org/cl/
2326041
Andrew Gerrand [Thu, 30 Sep 2010 01:59:46 +0000 (11:59 +1000)]
archive/zip: new package for reading ZIP files
R=rsc
CC=golang-dev
https://golang.org/cl/
2125042
Andrew Gerrand [Thu, 30 Sep 2010 01:59:36 +0000 (11:59 +1000)]
misc/dashboard/builder: remove build files after benchmarking
R=r
CC=golang-dev
https://golang.org/cl/
2270041
Andrew Gerrand [Thu, 30 Sep 2010 01:23:39 +0000 (11:23 +1000)]
doc: faq updates part one
R=r, r2
CC=golang-dev
https://golang.org/cl/
2301041
Robert Griesemer [Wed, 29 Sep 2010 19:34:24 +0000 (12:34 -0700)]
install.html: minor sentence fix
R=r, r2
CC=golang-dev
https://golang.org/cl/
2312041
Russ Cox [Wed, 29 Sep 2010 19:10:14 +0000 (15:10 -0400)]
6l, 8l: fix -K implementation
R=ken2
CC=golang-dev
https://golang.org/cl/
2313041
Rob Pike [Wed, 29 Sep 2010 18:12:52 +0000 (11:12 -0700)]
Effective Go: update for new http interface.
R=rsc, stephenm
CC=golang-dev
https://golang.org/cl/
2310041
Andrew Gerrand [Wed, 29 Sep 2010 06:52:22 +0000 (16:52 +1000)]
doc: consolidate FAQs into a single file, go_faq.html
An entirely mechanical change, with these exceptions:
- removed 'stub questions' that reference the other FAQs
- removed "Why doesn't Go run on Windows yet?" - out of date
I will follow this CL with another that updates many of the
answers to make them more current.
R=r
CC=golang-dev
https://golang.org/cl/
2300041
Stephen Ma [Wed, 29 Sep 2010 04:30:12 +0000 (14:30 +1000)]
http: revised http Handler interface
R=rsc
CC=golang-dev
https://golang.org/cl/
1993043
Russ Cox [Wed, 29 Sep 2010 03:51:55 +0000 (23:51 -0400)]
build: clear custom variables like GREP_OPTIONS
Fixes #946.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2137048
Russ Cox [Wed, 29 Sep 2010 03:46:36 +0000 (23:46 -0400)]
arm: 10 more package tests pass
R=ken2
CC=golang-dev
https://golang.org/cl/
2298041
Russ Cox [Wed, 29 Sep 2010 02:59:16 +0000 (22:59 -0400)]
gotest: leave _testmain.go for "make clean" to clean up
R=r, brainman
CC=golang-dev
https://golang.org/cl/
2297041
Russ Cox [Wed, 29 Sep 2010 01:53:06 +0000 (21:53 -0400)]
libcgo: don't build for NaCl
R=nigeltao
CC=golang-dev
https://golang.org/cl/
2290041
Russ Cox [Wed, 29 Sep 2010 01:37:12 +0000 (21:37 -0400)]
runtime: fix freebsd build
TBR=r
CC=golang-dev
https://golang.org/cl/
2296041
Ken Thompson [Wed, 29 Sep 2010 01:12:46 +0000 (18:12 -0700)]
arm code gen error in unsign extend
R=rsc
CC=golang-dev
https://golang.org/cl/
2295041
Russ Cox [Wed, 29 Sep 2010 00:50:00 +0000 (20:50 -0400)]
runtime: fix build
On systems where the mmap succeeds
(e.g., sysctl -w vm.mmap_min_addr=0)
it changes the signal code delivered for a
nil fault from ``page not mapped'' to
``invalid permissions for page.''
TBR=r
CC=golang-dev
https://golang.org/cl/
2294041
Russ Cox [Wed, 29 Sep 2010 00:30:01 +0000 (20:30 -0400)]
runtime: add mmap of null page just in case
R=r, iant, robert.swiecki, rsc1
CC=golang-dev
https://golang.org/cl/
1904044
Russ Cox [Wed, 29 Sep 2010 00:29:20 +0000 (20:29 -0400)]
codereview: fix upload of hg copied file
Fixes #1134.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2264043
Robert Griesemer [Tue, 28 Sep 2010 21:44:19 +0000 (14:44 -0700)]
go spec: clarifications for range clause
R=iant, r, rsc, rog
CC=golang-dev
https://golang.org/cl/
2226047
Russ Cox [Tue, 28 Sep 2010 19:18:02 +0000 (15:18 -0400)]
6l, 8l: elfsetstring is only for .shstrtab
Was also recording for .dynstrtab which made the
table run out of space and would have caused confusion
if the ELF code tried to refer to any of the strings.
R=r
CC=golang-dev
https://golang.org/cl/
2288041
Russ Cox [Tue, 28 Sep 2010 18:40:23 +0000 (14:40 -0400)]
json: do not write to unexported fields
Fixes #977.
Fixes #451.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2246049
Russ Cox [Tue, 28 Sep 2010 17:43:50 +0000 (13:43 -0400)]
gc: fix reflect table method receiver
Fixes #451.
Fixes #770.
R=ken2
CC=golang-dev
https://golang.org/cl/
2207045
Russ Cox [Tue, 28 Sep 2010 17:00:13 +0000 (13:00 -0400)]
various: appease the ubuntu gcc monster
Silence warnings about not checking
return values from read and write system calls.
R=r, r2
CC=golang-dev
https://golang.org/cl/
2258045
Russ Cox [Tue, 28 Sep 2010 14:35:02 +0000 (10:35 -0400)]
gc: insert semicolon at EOF if needed
R=ken2, gri
CC=golang-dev
https://golang.org/cl/
2208053
Charles L. Dorian [Tue, 28 Sep 2010 14:15:21 +0000 (10:15 -0400)]
math: Fix off-by-one error in Ilogb and Logb.
Fixes #1141.
R=rsc
CC=adg, golang-dev
https://golang.org/cl/
2194047
Robert Griesemer [Tue, 28 Sep 2010 01:59:11 +0000 (18:59 -0700)]
go_spec: EOF may insert a semicolon
R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/
2266043
Brad Fitzpatrick [Tue, 28 Sep 2010 01:55:04 +0000 (21:55 -0400)]
http: support HTTP/1.0 Keep-Alive
R=rsc, bradfitz1
CC=golang-dev
https://golang.org/cl/
2261042
Russ Cox [Tue, 28 Sep 2010 01:54:04 +0000 (21:54 -0400)]
http: correct escaping of different parts of URL
Fixes #1076.
R=adg
CC=golang-dev
https://golang.org/cl/
2248045
Robert Griesemer [Mon, 27 Sep 2010 22:03:15 +0000 (15:03 -0700)]
gofmt: stability improvement
There are a variety of token pairs that if printed
without separating blank may combine into a different
token sequence. Most of these (except for INT + .)
don't happen at the moment due to the spacing
introduced between expression operands. However, this
will prevent errors should the expression spacing
change.
R=rsc
CC=golang-dev
https://golang.org/cl/
2207044
Robert Griesemer [Mon, 27 Sep 2010 19:39:55 +0000 (12:39 -0700)]
go/scanner: treat EOF like a newline for purposes of semicolon insertion
R=rsc
CC=golang-dev
https://golang.org/cl/
2216054
Rob Pike [Mon, 27 Sep 2010 19:06:29 +0000 (12:06 -0700)]
utf8.String: provide an Init method to avoid unnecessary allocation
when creating an array of Strings.
R=rsc
CC=golang-dev
https://golang.org/cl/
2267046
Russ Cox [Mon, 27 Sep 2010 18:09:10 +0000 (14:09 -0400)]
gc: eliminate duplicates in method table
Fixes #906.
R=ken2
CC=golang-dev
https://golang.org/cl/
2279042