]>
Cypherpunks repositories - gostls13.git/log
Rob Pike [Wed, 1 Sep 2010 22:10:53 +0000 (08:10 +1000)]
netchan: rather than 0, make -1 mean infinite, by analogy with strings.Split etc.
It's unlikely to affect any extant code, but I wanted to make this API change
before digging in for a rewrite.
R=rsc
CC=golang-dev
https://golang.org/cl/
2112041
Ian Lance Taylor [Wed, 1 Sep 2010 20:40:20 +0000 (13:40 -0700)]
test: Use global variables to defeat gccgo optimizer.
The gccgo compiler is smart enough to not make something which
is not used. Use global variables to defeat this
optimization.
R=rsc
CC=golang-dev
https://golang.org/cl/
2129041
Luuk van Dijk [Wed, 1 Sep 2010 19:54:28 +0000 (21:54 +0200)]
6l/8l: emit DWARF in macho.
R=rsc, r, ken2
CC=golang-dev
https://golang.org/cl/
2128041
Rob Pike [Wed, 1 Sep 2010 12:59:20 +0000 (22:59 +1000)]
fmt: fix typo in package comment.
No semantic change.
R=rsc
CC=golang-dev
https://golang.org/cl/
2121041
Scott Lawrence [Wed, 1 Sep 2010 02:07:40 +0000 (19:07 -0700)]
template: fixed documentation formatting
What was meant to be a list appeared as a paragraph with dashes.
R=golang-dev, gri1, gri
CC=golang-dev
https://golang.org/cl/
2100041
Rob Pike [Wed, 1 Sep 2010 00:48:45 +0000 (10:48 +1000)]
spec: delete spurious space (missed fix from previous review)
No semantic change.
R=rsc
CC=golang-dev
https://golang.org/cl/
2099041
Rob Pike [Wed, 1 Sep 2010 00:40:50 +0000 (10:40 +1000)]
spec: fix a couple of tiny glitches
R=gri, rsc
CC=golang-dev
https://golang.org/cl/
2078041
Ian Lance Taylor [Wed, 1 Sep 2010 00:38:11 +0000 (17:38 -0700)]
test: Recognize gccgo error messages.
bug255.go:11: error: array bound truncated to integer
bug255.go:12: error: array bound is not numeric
bug255.go:13: error: array bound is not numeric
bug255.go:14: error: array bound is not constant
bug255.go:15: error: array bound overflows
R=rsc
CC=golang-dev
https://golang.org/cl/
2091042
Ian Lance Taylor [Tue, 31 Aug 2010 22:48:04 +0000 (15:48 -0700)]
test: Match gccgo error messages.
Another case where gccgo and gc report similar but not
identical errors for a recursive interface.
bug251.go:11: error: invalid recursive interface
R=rsc
CC=golang-dev
https://golang.org/cl/
2094041
Robert Griesemer [Tue, 31 Aug 2010 22:18:46 +0000 (15:18 -0700)]
big: added RatString, some simplifications
R=rsc
CC=golang-dev
https://golang.org/cl/
2095041
Robert Griesemer [Tue, 31 Aug 2010 21:18:20 +0000 (14:18 -0700)]
strconv: fix comment for godoc
R=rsc
CC=golang-dev
https://golang.org/cl/
2029042
Ian Lance Taylor [Tue, 31 Aug 2010 21:12:23 +0000 (14:12 -0700)]
test: gccgo and gc print the error on different lines.
This introduces GC_ERROR to mark an error only issued by the
gc compiler. GCCGO_ERROR already exists to mark errors only
issued by the gccgo compiler. Obviously these should be used
sparingly.
bug195.go:9: error: interface contains embedded non-interface
bug195.go:12: error: interface contains embedded non-interface
bug195.go:15: error: interface contains embedded non-interface
bug195.go:18: error: invalid recursive interface
bug195.go:22: error: invalid recursive interface
R=rsc
CC=golang-dev
https://golang.org/cl/
2040043
Ian Lance Taylor [Tue, 31 Aug 2010 18:43:52 +0000 (11:43 -0700)]
test: Match gccgo error messages.
gcc conventionally does not upper case in error messages.
char_lit1.go:13: error: invalid unicode code point 0xd800
char_lit1.go:14: error: invalid unicode code point 0xd999
char_lit1.go:15: error: invalid unicode code point 0xdc01
char_lit1.go:16: error: invalid unicode code point 0xdddd
char_lit1.go:17: error: invalid unicode code point 0xdfff
char_lit1.go:20: error: invalid unicode code point 0x110000
char_lit1.go:22: error: invalid unicode code point 0x110000
char_lit1.go:23: error: invalid unicode code point 0xffffffff
R=rsc
CC=golang-dev
https://golang.org/cl/
2040042
Ian Lance Taylor [Tue, 31 Aug 2010 14:34:01 +0000 (07:34 -0700)]
test: don't assign address of array to slice.
R=rsc
CC=golang-dev
https://golang.org/cl/
2084042
Scott Lawrence [Tue, 31 Aug 2010 01:13:11 +0000 (21:13 -0400)]
misc/bash: add *.go completion for gofmt
R=golang-dev, rsc1, rsc
CC=golang-dev
https://golang.org/cl/
2039044
Scott Lawrence [Tue, 31 Aug 2010 01:13:01 +0000 (21:13 -0400)]
misc: add zsh completion (using compctl)
R=golang-dev, rsc1, rsc
CC=golang-dev
https://golang.org/cl/
2061042
Nigel Tao [Tue, 31 Aug 2010 01:00:43 +0000 (11:00 +1000)]
doc: add round-robin flag to io2010 balance example.
R=r
CC=golang-dev
https://golang.org/cl/
2050042
Ian Lance Taylor [Mon, 30 Aug 2010 20:47:40 +0000 (13:47 -0700)]
proc, eval: Don't assign address of an array to a slice.
R=rsc
CC=golang-dev
https://golang.org/cl/
2084041
Luuk van Dijk [Mon, 30 Aug 2010 20:20:38 +0000 (22:20 +0200)]
8l: emit DWARF in ELF.
R=rsc, r, ken2
CC=golang-dev
https://golang.org/cl/
2004046
Christian Himpel [Mon, 30 Aug 2010 19:40:56 +0000 (15:40 -0400)]
build: remove unnecessary references to GOBIN and GOROOT
All scripts and makefiles assume that GOBIN is correctly set
in PATH.
R=rsc
CC=golang-dev
https://golang.org/cl/
2043041
Vincent Ambo [Mon, 30 Aug 2010 05:07:33 +0000 (15:07 +1000)]
misc/fraise: syntax highlighting for Fraise.app (OS X)
R=golang-dev, adg1, adg
CC=golang-dev
https://golang.org/cl/
2075041
Andrew Gerrand [Mon, 30 Aug 2010 04:57:23 +0000 (14:57 +1000)]
A+C: Vincent Ambo
R=r
CC=golang-dev
https://golang.org/cl/
2048043
Rob Pike [Mon, 30 Aug 2010 04:06:59 +0000 (14:06 +1000)]
regexp: interpret all Go characer escapes \a \b \f \n \r \t \v
R=rsc
CC=golang-dev
https://golang.org/cl/
2042044
Evan Shaw [Mon, 30 Aug 2010 03:04:05 +0000 (23:04 -0400)]
codereview: Fix uploading for Mercurial 1.6.3
See:
http://selenic.com/repo/hg/rev/
32b213b9b22c
http://selenic.com/repo/hg/rev/
2096496b40ec
R=rsc, adg
CC=golang-dev
https://golang.org/cl/
2072041
Evan Shaw [Sun, 29 Aug 2010 23:59:59 +0000 (09:59 +1000)]
crypto/tls: Fix doc typo
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
2073041
Scott Lawrence [Sun, 29 Aug 2010 23:58:27 +0000 (09:58 +1000)]
doc: various changes for validating HTML
(Fixes missing tags, extra tags, missing attributes, and such found by tidy -e)
R=golang-dev, adg1, adg
CC=golang-dev
https://golang.org/cl/
2039043
Rob Pike [Sun, 29 Aug 2010 22:03:06 +0000 (08:03 +1000)]
rpc: fix bug that caused private methods to attempt to be registered.
Fixes #1056.
R=golang-dev, adg1
CC=golang-dev
https://golang.org/cl/
2033043
James Fysh [Fri, 27 Aug 2010 21:54:16 +0000 (07:54 +1000)]
Documentation: Fix a bug in the example in Constants subsection
Not a bug per-se, the issue is that the fmt.Sprintf method inside the
ByteSize.String() method ends up calling itself to generate the String
representation of the ByteSize value. Infinite loops are bad.
Updated as per review comments
R=r
CC=golang-dev
https://golang.org/cl/
1974046
Rob Pike [Fri, 27 Aug 2010 21:52:55 +0000 (07:52 +1000)]
template: finally fix space handling around actions.
Rewrite the code to express the intention more clearly.
Fixes #1042.
R=rsc
CC=golang-dev
https://golang.org/cl/
2011046
Rob Pike [Fri, 27 Aug 2010 21:52:22 +0000 (07:52 +1000)]
CLA: Add James Fysh
R=gri
CC=James Fysh, golang-dev
https://golang.org/cl/
2043042
Robert Griesemer [Fri, 27 Aug 2010 21:49:49 +0000 (14:49 -0700)]
gofmt: permit omission of first index in slice expression
R=rsc
CC=golang-dev, r
https://golang.org/cl/
2053041
Russ Cox [Fri, 27 Aug 2010 18:02:00 +0000 (14:02 -0400)]
8g: use FCHS, not FMUL, for minus float
Fixes #1052.
R=ken2
CC=golang-dev
https://golang.org/cl/
2055041
Scott Lawrence [Fri, 27 Aug 2010 05:08:02 +0000 (22:08 -0700)]
go/printer: align ImportPaths in ImportDecls if PackageName is given.
Fixes #1044.
R=gri
CC=golang-dev
https://golang.org/cl/
1958047
Andrew Gerrand [Fri, 27 Aug 2010 04:14:42 +0000 (14:14 +1000)]
doc: fix margins in root.html
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
2041041
Andrew Gerrand [Fri, 27 Aug 2010 03:46:59 +0000 (13:46 +1000)]
doc: remove console.log line from root.html
R=r, rsc1
CC=golang-dev
https://golang.org/cl/
2040041
Andrew Gerrand [Fri, 27 Aug 2010 01:02:54 +0000 (11:02 +1000)]
doc: fix wiki codelab title and srcextract.go
R=r, rsc1
CC=golang-dev
https://golang.org/cl/
1953048
Russ Cox [Fri, 27 Aug 2010 00:21:34 +0000 (20:21 -0400)]
Make.pkg: never use quietgcc
R=iant
CC=golang-dev
https://golang.org/cl/
2033041
Charles L. Dorian [Thu, 26 Aug 2010 23:03:58 +0000 (19:03 -0400)]
math: amd64 version of Sincos
R=rsc
CC=golang-dev
https://golang.org/cl/
1939042
Russ Cox [Thu, 26 Aug 2010 22:56:29 +0000 (18:56 -0400)]
codereview: speed upload
Cuts time to upload trivial 160-file CL by 5x,
from 250 seconds to 50 seconds.
R=r
CC=golang-dev
https://golang.org/cl/
1991047
Russ Cox [Thu, 26 Aug 2010 22:47:34 +0000 (18:47 -0400)]
build: fix cgo with -j2
a b: c expands to multiple rules,
which then run in parallel.
R=r, iant
CC=golang-dev
https://golang.org/cl/
2007047
Kyle Consalus [Thu, 26 Aug 2010 22:46:56 +0000 (18:46 -0400)]
gc: brace nit from last review
R=rsc
CC=golang-dev
https://golang.org/cl/
1997045
Ian Lance Taylor [Thu, 26 Aug 2010 22:42:18 +0000 (15:42 -0700)]
netchan: Fix race condition in test.
Two tests start a goroutine which runs exportSend, and then
the tests run importReceive. exportSend creates an export
channel. importReceive asks to receive values on that
channel. Because exportSend runs in a separate goroutine,
it's possible for the export client to receive the request for
values on the channel, from importReceive, before the
goroutine actually creates the export channel. That causes an
error: "export: no such channel: exportedSend". This patch
avoids the race by creating the export channel before starting
the goroutine.
There does not seem to be a similar race condition in the
tests which send data in the other direction.
R=r
CC=golang-dev
https://golang.org/cl/
2026045
Russ Cox [Thu, 26 Aug 2010 22:24:14 +0000 (18:24 -0400)]
codereview: consistent indent, cut dead code
End the charade (farce?) that we are using upload.py unaltered.
Cut all the unused stuff.
Indent using tabs to match the rest of the file.
Next: rewrite MercurialVCS to use mercurial package,
to avoid overhead of forking off a new hg command
multiple times for every file. And parallelize upload.
R=gri
CC=golang-dev
https://golang.org/cl/
2009046
Robert Griesemer [Thu, 26 Aug 2010 21:36:13 +0000 (14:36 -0700)]
go/typechecker: 2nd step towards augmenting AST with full type information.
- refine/define Scope, Object, and Type structures
(note: scope.go has the addition of types, the rest is only re-organized
for better readability)
- implemented top-level of type checker:
resolve global type declarations (deal with double decls, cycles, etc.)
- temporary hooks for checking of const/var declarations, function/method bodies
- test harness for fine-grained testing (exact error locations)
with initial set of tests
This is a subset of the code for easier review.
R=rsc
CC=golang-dev
https://golang.org/cl/
1967049
Russ Cox [Thu, 26 Aug 2010 21:06:36 +0000 (17:06 -0400)]
codereview: fix hang on standard hg commands
R=gri
CC=golang-dev
https://golang.org/cl/
1950045
Russ Cox [Thu, 26 Aug 2010 20:27:42 +0000 (16:27 -0400)]
codereview: print status when hung
After 30 seconds, start printing status updates,
so that we can see whether hg is making progress.
$ hg upload
1983051
Thu Aug 26 15:06:15 2010 running gofmt
Thu Aug 26 15:06:30 2010 inspecting src/pkg/big/int_test.go
Thu Aug 26 15:06:45 2010 inspecting src/pkg/cmath/conj.go
Thu Aug 26 15:07:00 2010 inspecting src/pkg/expvar/expvar.go
Thu Aug 26 15:07:15 2010 inspecting src/pkg/os/env_unix.go
Thu Aug 26 15:07:30 2010 inspecting src/pkg/os/sys_bsd.go
Thu Aug 26 15:07:45 2010 inspecting src/pkg/rand/rand_test.go
Thu Aug 26 15:08:00 2010 inspecting src/pkg/runtime/sig.go
Thu Aug 26 15:08:15 2010 inspecting src/pkg/time/time_test.go
Thu Aug 26 15:08:30 2010 inspecting src/pkg/websocket/websocket.go
Thu Aug 26 15:08:45 2010 uploading src/pkg/utf8/utf8.go
Thu Aug 26 15:09:00 2010 uploading src/pkg/unicode/letter_test.go
Thu Aug 26 15:09:15 2010 uploading src/pkg/xml/embed_test.go
Thu Aug 26 15:09:30 2010 uploading src/pkg/time/tick.go
Thu Aug 26 15:09:45 2010 uploading src/pkg/big/rat_test.go
Thu Aug 26 15:10:00 2010 uploading src/pkg/time/sleep_test.go
Thu Aug 26 15:10:15 2010 uploading src/pkg/patch/patch_test.go
Thu Aug 26 15:10:30 2010 uploading src/pkg/rand/rand.go
https://golang.org/cl/
1983051
$
R=gri
CC=golang-dev
https://golang.org/cl/
2020045
Scott Lawrence [Thu, 26 Aug 2010 17:32:50 +0000 (13:32 -0400)]
misc/emacs: make _ a word symbol
Fixes #655.
R=rsc, aclements
CC=golang-dev
https://golang.org/cl/
1981041
Corey Thomasson [Thu, 26 Aug 2010 17:32:45 +0000 (13:32 -0400)]
net: add LookupMX
R=rsc
CC=golang-dev
https://golang.org/cl/
1976049
Kyle Consalus [Thu, 26 Aug 2010 17:32:40 +0000 (13:32 -0400)]
runtime: special case copy, equal for one-word interface values
Based on the observation that a great number of the types that
are copied or compared in interfaces, maps, and channels are
word-sized, this uses specialized copy and equality functions
for them that use a word instead of 4 or 8 bytes. Seems to yield
0-6% improvements in performance in the benchmarks I've run.
For example, with the regexp benchmarks:
Before:
regexp.BenchmarkLiteral 500000 3.26 µs/op
regexp.BenchmarkNotLiteral 100000 13.67 µs/op
regexp.BenchmarkMatchClass 100000 18.72 µs/op
regexp.BenchmarkMatchClass_InRange 100000 20.04 µs/op
regexp.BenchmarkReplaceAll 100000 27.85 µs/op
After:
regexp.BenchmarkLiteral 500000 3.11 µs/op
regexp.BenchmarkNotLiteral 200000 13.29 µs/op
regexp.BenchmarkMatchClass 100000 17.65 µs/op
regexp.BenchmarkMatchClass_InRange 100000 18.49 µs/op
regexp.BenchmarkReplaceAll 100000 26.34 µs/op
R=rsc
CC=golang-dev
https://golang.org/cl/
1967047
Jukka-Pekka Kekkonen [Thu, 26 Aug 2010 17:32:29 +0000 (13:32 -0400)]
crypto/hmac: make Sum idempotent
Fixes #978.
R=rsc
CC=golang-dev
https://golang.org/cl/
1967045
Evan Shaw [Thu, 26 Aug 2010 17:32:23 +0000 (13:32 -0400)]
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
Scott Lawrence [Thu, 26 Aug 2010 17:32:16 +0000 (13:32 -0400)]
http: obscure passwords in return value of URL.String
Fixes #974.
R=rsc
CC=golang-dev
https://golang.org/cl/
1742057
Russ Cox [Thu, 26 Aug 2010 17:21:06 +0000 (13:21 -0400)]
A+C: Corey Thomasson (individual CLA)
R=iant
CC=golang-dev
https://golang.org/cl/
1952047
Ian Lance Taylor [Thu, 26 Aug 2010 15:08:57 +0000 (08:08 -0700)]
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
Christian Himpel [Thu, 26 Aug 2010 06:50:17 +0000 (16:50 +1000)]
.hgignore: ignore src/cmd/cc/y.output
R=golang-dev, adg1, adg
CC=golang-dev
https://golang.org/cl/
2023044
Andrew Gerrand [Thu, 26 Aug 2010 00:17:14 +0000 (10:17 +1000)]
doc/go_learning: add links to more German docs
R=r
CC=golang-dev
https://golang.org/cl/
1933045
Russ Cox [Wed, 25 Aug 2010 22:08:16 +0000 (18:08 -0400)]
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
Russ Cox [Wed, 25 Aug 2010 22:00:42 +0000 (18:00 -0400)]
gotest: allow make test of cgo packages (without make install)
R=r
CC=golang-dev, stevvooe
https://golang.org/cl/
1995051
Russ Cox [Wed, 25 Aug 2010 21:54:10 +0000 (17:54 -0400)]
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
Russ Cox [Wed, 25 Aug 2010 21:53:24 +0000 (17:53 -0400)]
libcgo: update Makefile to use Make.inc
Fix printf format string.
R=r
CC=golang-dev
https://golang.org/cl/
1959044
Russ Cox [Wed, 25 Aug 2010 21:52:25 +0000 (17:52 -0400)]
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
Russ Cox [Wed, 25 Aug 2010 21:51:48 +0000 (17:51 -0400)]
build: delete Make.386 Make.amd64 Make.arm
obsoleted by Make.inc.
R=r
CC=golang-dev
https://golang.org/cl/
2009041
Jukka-Pekka Kekkonen [Wed, 25 Aug 2010 16:52:04 +0000 (12:52 -0400)]
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
Russ Cox [Wed, 25 Aug 2010 16:51:36 +0000 (12:51 -0400)]
A+C: Jukka-Pekka Kekkonen (individual CLA)
R=adg, madari
CC=golang-dev
https://golang.org/cl/
2025042
Martin Neubauer [Wed, 25 Aug 2010 16:44:13 +0000 (12:44 -0400)]
src/pkg/Makefile: delete use of QUOTED_GOBIN
R=rsc
CC=golang-dev
https://golang.org/cl/
1997044
Andrew Gerrand [Wed, 25 Aug 2010 16:34:30 +0000 (12:34 -0400)]
A+C: Martin Neubauer
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1999044
Russ Cox [Wed, 25 Aug 2010 15:00:38 +0000 (11:00 -0400)]
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
Russ Cox [Wed, 25 Aug 2010 05:26:35 +0000 (01:26 -0400)]
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
Andrew Gerrand [Wed, 25 Aug 2010 05:01:43 +0000 (15:01 +1000)]
tag release.2010-08-25
R=rsc
CC=golang-dev
https://golang.org/cl/
2023042
Andrew Gerrand [Wed, 25 Aug 2010 04:58:29 +0000 (14:58 +1000)]
release.2010-08-25
R=rsc
CC=golang-dev
https://golang.org/cl/
2009043
Rob Pike [Wed, 25 Aug 2010 03:07:08 +0000 (13:07 +1000)]
scanner: change package comment to be clearer about its functionality.
No semantic changes.
R=gri, rsc1
CC=golang-dev
https://golang.org/cl/
1998045
Russ Cox [Wed, 25 Aug 2010 01:56:32 +0000 (21:56 -0400)]
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
Russ Cox [Wed, 25 Aug 2010 00:43:31 +0000 (20:43 -0400)]
build: fix build again - not sure where the " went. sigh.
R=r
CC=golang-dev
https://golang.org/cl/
2024043
Ian Lance Taylor [Wed, 25 Aug 2010 00:24:40 +0000 (17:24 -0700)]
time: Remove unused zoneinfo.go (replaced by zoneinfo_unix.go).
R=r, rsc
CC=brainman, golang-dev
https://golang.org/cl/
2020043
Russ Cox [Wed, 25 Aug 2010 00:15:52 +0000 (20:15 -0400)]
build: fix build - last CL missed Make.clib
R=r
CC=golang-dev
https://golang.org/cl/
1981047
Russ Cox [Wed, 25 Aug 2010 00:00:50 +0000 (20:00 -0400)]
build: update, streamline documentation for new $GOBIN
R=adg, r
CC=golang-dev
https://golang.org/cl/
2025041
Russ Cox [Wed, 25 Aug 2010 00:00:33 +0000 (20:00 -0400)]
build: $GOBIN defaults to $GOROOT/bin
R=r
CC=golang-dev
https://golang.org/cl/
1982049
Jan H. Hosang [Tue, 24 Aug 2010 21:41:26 +0000 (07:41 +1000)]
time.Parse should not require minutes for time zone
Fixes #1026.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
1962048
Ian Lance Taylor [Tue, 24 Aug 2010 20:08:05 +0000 (13:08 -0700)]
test: Add testcase which crashes gccgo.
R=rsc
CC=golang-dev
https://golang.org/cl/
1995050
Russ Cox [Tue, 24 Aug 2010 17:04:02 +0000 (13:04 -0400)]
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
Russ Cox [Tue, 24 Aug 2010 03:10:25 +0000 (23:10 -0400)]
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
Rob Pike [Tue, 24 Aug 2010 02:37:51 +0000 (12:37 +1000)]
effective go: fix errors caught by HaWe
R=rsc
CC=golang-dev
https://golang.org/cl/
1959043
Ian Lance Taylor [Tue, 24 Aug 2010 00:50:30 +0000 (17:50 -0700)]
doc: Update gccgo information for recent changes.
R=r
CC=golang-dev
https://golang.org/cl/
1941052
Scott Lawrence [Tue, 24 Aug 2010 00:38:52 +0000 (10:38 +1000)]
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
Russ Cox [Mon, 23 Aug 2010 22:06:28 +0000 (18:06 -0400)]
http: doc nit
R=r
CC=golang-dev
https://golang.org/cl/
2013043
Ken Thompson [Mon, 23 Aug 2010 19:38:15 +0000 (12:38 -0700)]
better job on
2007043
better registerization
R=rsc
CC=golang-dev
https://golang.org/cl/
1955049
Kai Backman [Mon, 23 Aug 2010 10:25:14 +0000 (13:25 +0300)]
arm: fix build, regenerate syscall files
R=r
CC=golang-dev
https://golang.org/cl/
1952046
Andrew Gerrand [Mon, 23 Aug 2010 02:04:15 +0000 (12:04 +1000)]
io: prevent ReadAtLeast spinloop if min > len(buf)
R=r, heresy.mc
CC=golang-dev
https://golang.org/cl/
2017042
Scott Lawrence [Sun, 22 Aug 2010 12:12:56 +0000 (22:12 +1000)]
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
Scott Lawrence [Sun, 22 Aug 2010 04:44:00 +0000 (14:44 +1000)]
http: fix typo in http.Request documentation
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
2004044
Russ Cox [Sat, 21 Aug 2010 00:49:47 +0000 (20:49 -0400)]
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
Robert Griesemer [Fri, 20 Aug 2010 18:20:12 +0000 (11:20 -0700)]
fix build
Also: Copyright notices only need the year the file was created.
R=rsc
CC=golang-dev, krasin
https://golang.org/cl/
2021041
Ivan Krasin [Fri, 20 Aug 2010 13:12:21 +0000 (09:12 -0400)]
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
Ken Thompson [Fri, 20 Aug 2010 01:18:51 +0000 (18:18 -0700)]
attempt to gete better registeration
from the builtin structures (strings,
slices, interfaces)
R=rsc
CC=golang-dev
https://golang.org/cl/
2007043
Robert Griesemer [Thu, 19 Aug 2010 23:03:02 +0000 (16:03 -0700)]
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
Rob Pike [Thu, 19 Aug 2010 21:42:02 +0000 (07:42 +1000)]
mime: delete unnecessary constant conversions.
R=rsc
CC=golang-dev
https://golang.org/cl/
1984043
Adam Langley [Thu, 19 Aug 2010 20:33:58 +0000 (16:33 -0400)]
crypto/ocsp: add missing Makefile
R=rsc
CC=golang-dev
https://golang.org/cl/
2018041
Robert Griesemer [Thu, 19 Aug 2010 16:39:35 +0000 (09:39 -0700)]
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
Christopher Wedgwood [Thu, 19 Aug 2010 04:09:11 +0000 (00:09 -0400)]
clean.bash: fix standalone runs
R=rsc
CC=golang-dev
https://golang.org/cl/
1933043
Russ Cox [Thu, 19 Aug 2010 04:07:55 +0000 (00:07 -0400)]
A+C: Eric Clark (individual CLA)
R=ec
CC=golang-dev
https://golang.org/cl/
1982045