Russ Cox
492e13e3cd
prepare for take 2 on release.2010-01-27
...
R=r
CC=golang-dev
https://golang.org/cl/194120
2010-01-27 18:28:21 -08:00
Russ Cox
d72f2de9a2
go/parser: disable scoping code always
...
Seems to be enabled spuriously during godoc (can't see why),
producing errors like:
parser.parseDir: src/pkg/http/server.go:159:16: 'Write' declared already at src/pkg/http/request.go:140:21 (and 4 more errors)
R=r
CC=golang-dev
https://golang.org/cl/194119
2010-01-27 18:28:13 -08:00
Russ Cox
2ee36c180c
release.2010-01-27
...
R=r
CC=golang-dev
https://golang.org/cl/195081
2010-01-27 16:23:15 -08:00
Russ Cox
cb4fff0bc6
prepare for release.2010-01-27
...
R=r
CC=golang-dev
https://golang.org/cl/195080
2010-01-27 16:18:33 -08:00
Russ Cox
84b044e8fb
codereview: correct handling of files created with hg cp
...
R=r
CC=golang-dev
https://golang.org/cl/194118
2010-01-27 16:14:11 -08:00
Russ Cox
9f48f7e67d
ucsd cns talk, focused on networking
...
R=r
CC=golang-dev
https://golang.org/cl/186230
2010-01-27 15:50:29 -08:00
Russ Cox
2ce13ba4b0
dashboard: builder tweaks
...
R=agl1
CC=golang-dev
https://golang.org/cl/194116
2010-01-27 15:42:37 -08:00
Ken Thompson
424f9ca6ab
change print print buffer size
...
to go with the full path names
R=rsc
CC=golang-dev
https://golang.org/cl/195079
2010-01-27 15:37:46 -08:00
Russ Cox
a186b77b03
gc: implement defer print/println/panic/panicln
...
Fixes #219 .
R=ken2, r
CC=golang-dev
https://golang.org/cl/194097
2010-01-27 15:37:08 -08:00
Rob Pike
22a4952bd2
note that ...T is not yet implemented.
...
R=rsc
CC=golang-dev
https://golang.org/cl/194114
2010-01-27 13:45:16 -08:00
Russ Cox
c40c974d33
dashboard: look for key in $GOROOT before $HOME
...
TBR=agl1
CC=golang-dev
https://golang.org/cl/195076
2010-01-27 13:27:10 -08:00
Rob Pike
b81065d07f
add definition of new parameter style
...
... T
for trailing arguments of type T.
R=rsc, gri, ken2, iant
CC=golang-dev
https://golang.org/cl/194100
2010-01-27 13:14:40 -08:00
Russ Cox
e0afb0c38b
godashboard: fiddling
...
* some tweaks to dashboard html/css layout
* use hmac to generate per-builder subkeys
R=agl1
CC=golang-dev
https://golang.org/cl/194092
2010-01-27 13:09:58 -08:00
Robert Griesemer
f39dc9fff2
More steps towards tracking of identifier scopes.
...
- provide scope to parse functions; if non-nil, parser uses the scope
to declare and lookup identifiers
- resolve forward references where possible
R=rsc
CC=golang-dev
https://golang.org/cl/194098
2010-01-27 09:44:28 -08:00
Robert Griesemer
1c369bd55f
Clarify parsing of channel types.
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/194091
2010-01-27 09:35:39 -08:00
Russ Cox
2a01d72878
gc: improved syntax errors
...
* example-based syntax errors (go.errors)
* enable bison's more specific errors
and translate grammar token names into
tokens like ++
* test cases
R=ken2, r, ken3
CC=golang-dev
https://golang.org/cl/194085
2010-01-26 23:13:22 -08:00
Kai Backman
9f5264f299
small embedded target for arm.
...
R=rsc
CC=golang-dev
https://golang.org/cl/193104
2010-01-26 20:22:59 -08:00
Russ Cox
cb58ed75d2
cgo: update for package global name space
...
Fixes #560 .
R=r
CC=golang-dev
https://golang.org/cl/195051
2010-01-26 18:20:15 -08:00
Russ Cox
3e0ee6b594
patch: handle text diffs from git
...
R=r
CC=golang-dev
https://golang.org/cl/194094
2010-01-26 17:49:33 -08:00
Michael Hoisie
dd97923d82
net: fix segfault if /etc/hosts fails to open or doesn't exist
...
R=rsc
CC=golang-dev, r
https://golang.org/cl/194043
2010-01-26 16:18:29 -08:00
Russ Cox
5f4c052e2d
gc: do not treat .6 different from .a anymore
...
R=ken2
CC=golang-dev
https://golang.org/cl/195050
2010-01-26 16:12:50 -08:00
Icarus Sparry
090e71e7fd
os: in test, allow Hostname to return FQDN even if /bin/hostname does not
...
Hostname reads the file /proc/sys/kernel/hostname to determine
the value it returns. Some people set this to a Fully Qualified
Doamin Name. At least one implementation of /bin/hostname
truncates the name it gets (often from the "uname" system call)
at the first dot unless it is given a "-f" flag. This change makes
the unit test also truncate at the first dot and checks if the strings
then match. This seems more portable than adding an extra flag
to the called /bin/hostname program.
R=rsc
CC=golang-dev
https://golang.org/cl/181097
2010-01-26 13:16:03 -08:00
Icarus Sparry
7c1841fb2a
gotest still assumes that gopack is in your PATH
...
If your $PATH does not include $GOBIN then
the build fails at the first *.a file, which
is probably when running the tests for tar
R=rsc
CC=golang-dev
https://golang.org/cl/193066
2010-01-26 13:15:59 -08:00
Russ Cox
2e688e1ba0
A+C: add Icarus Sparry (individual CLA)
...
R=gri
CC=golang-dev, icarus
https://golang.org/cl/194090
2010-01-26 13:15:53 -08:00
Adam Langley
062fee0536
dashboard: add benchmarking support.
...
This has actually been running for a while and gathering benchmark
data. I haven't had a chance to add a UI for it yet however.
R=rsc
CC=golang-dev
https://golang.org/cl/194082
2010-01-26 12:56:29 -08:00
Charles L. Dorian
d4ca006334
math: 386 FPU hypot
...
Added 386 FPU version of Hypot; modified all_test.go to test
Hypot with large arguments. Also edited sqrt.go to remove
Sqrt(0) as a special case.
R=rsc
CC=golang-dev
https://golang.org/cl/186180
2010-01-26 12:53:02 -08:00
Robert Griesemer
2dd3622bc7
Allow func() func().
...
Update gofmt test script.
R=rsc
CC=golang-dev
https://golang.org/cl/195044
2010-01-26 11:49:49 -08:00
Robert Griesemer
70b92ddad3
Bug in go/parser when coverting identifier lists.
...
Fixes #567 .
R=rsc
CC=golang-dev
https://golang.org/cl/195041
2010-01-26 11:41:38 -08:00
Russ Cox
7abb4b3a96
gc: fix chan <- chan precedence.
...
also allow func() func().
R=ken2
CC=golang-dev
https://golang.org/cl/194078
2010-01-26 10:40:28 -08:00
Russ Cox
46871692c2
spec: allow func() func().
...
no longer ambiguous at top level, thanks to new semicolon rules.
use gofmt layout for function types.
Fixes #528 .
R=gri
CC=golang-dev
https://golang.org/cl/194077
2010-01-26 10:25:56 -08:00
Robert Griesemer
f4dfbd1cf0
channel types parsed not according to spec by 6g
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/193101
2010-01-25 22:10:35 -08:00
Kai Backman
3884f7321f
salvaging 183105 from dead client
...
a number of fixes for arm elf generation in 5l. -T now works as
advertised, -D now works properly.
R=rsc
CC=golang-dev
https://golang.org/cl/194076
2010-01-25 21:38:27 -08:00
Russ Cox
718be3215f
in C and asm, replace pkg·name with ·name
...
(eliminate assumption of package global name space,
make code easier to move between packages).
R=r
CC=golang-dev
https://golang.org/cl/194072
2010-01-25 18:52:55 -08:00
Stephen Weinberg
c90b05bf7d
xml: add Escape, copied from template.HTMLEscape.
...
R=rsc
CC=golang-dev
https://golang.org/cl/186282
2010-01-25 18:50:51 -08:00
Russ Cox
9f3738a4eb
A+C: add Stephen Weinberg (individual CLA)
...
R=r
CC=golang-dev
https://golang.org/cl/194064
2010-01-25 18:50:46 -08:00
Petar Maymounkov
8814555534
http: make Request.Body an io.ReadCloser, matching Response.Body.
...
R=rsc, rsc1
CC=golang-dev
https://golang.org/cl/194046
2010-01-25 18:49:08 -08:00
Russ Cox
60a6ec1c93
ld: typo
...
R=ken2
CC=golang-dev
https://golang.org/cl/194073
2010-01-25 18:48:18 -08:00
Russ Cox
7263bfc73b
cc: correct handling of leading ·
...
R=ken2
CC=golang-dev
https://golang.org/cl/193081
2010-01-25 18:31:44 -08:00
Russ Cox
531e6b77c8
eliminate package global name space
...
R=ken2
CC=golang-dev
https://golang.org/cl/194071
2010-01-25 18:31:35 -08:00
Russ Cox
1912632019
runtime, type switch: eliminate package global name space assumption
...
bonus: type switch now detects multiple uses of identical interface types.
bonus: interface types are now order-independent, following the spec.
R=ken2
CC=golang-dev
https://golang.org/cl/194053
2010-01-25 18:23:20 -08:00
Russ Cox
3b1a0355b6
5l, 6l, 8l: accept only one object file
...
(package main; others are pulled in automatically)
R=ken2
CC=golang-dev
https://golang.org/cl/194069
2010-01-25 17:53:43 -08:00
Robert Griesemer
dc061ffcbe
steps towards a simplified parser interface
...
minor cleanups (which I did at home before
but missed this morning at work)
R=rsc
CC=golang-dev
https://golang.org/cl/193095
2010-01-25 17:24:50 -08:00
Ian Lance Taylor
a17929090f
Add an explicit patent grant to the Go license.
...
R=rsc
CC=golang-dev
https://golang.org/cl/194066
2010-01-25 15:39:32 -08:00
Andrey Mirtchovski
3fc41d5e65
net: parse aliases in /etc/hosts correctly
...
Previous behaviour only picked the first entry (official hostname) but not the aliases.
R=rsc
CC=golang-dev
https://golang.org/cl/193092
2010-01-25 14:57:04 -08:00
Robert Griesemer
6d8829e931
A <- token in an expression may introduce a channel type.
...
Fixes #530 .
R=rsc
CC=golang-dev
https://golang.org/cl/193091
2010-01-25 12:03:53 -08:00
Robert Griesemer
fcf4517423
Scoping snapshot.
...
- separate parsing from declaration
- setup of correct scopes
R=rsc
CC=golang-dev
https://golang.org/cl/189098
2010-01-25 10:06:18 -08:00
Russ Cox
69e244a104
ld: do not load the same object file multiple times.
...
eliminates spurious multiple initialization errors.
give more information in the multiple init errors that remain.
Fixes #87 .
R=r
CC=golang-dev
https://golang.org/cl/194052
2010-01-25 08:53:27 -08:00
Christopher Wedgwood
34191d943b
Remove top-level (src/) Makefile.
...
R=rsc, dho, r
CC=golang-dev
https://golang.org/cl/194045
2010-01-25 00:09:46 -08:00
Russ Cox
1cecac8134
gc: record full package paths in runtime type data
...
detect compilation of special package runtime with
compiler flag instead of package name.
R=ken2
CC=golang-dev
https://golang.org/cl/193080
2010-01-24 23:33:59 -08:00
Russ Cox
d1b14a6fb0
gc: bug247, reported by rob
...
R=ken2
CC=golang-dev
https://golang.org/cl/194051
2010-01-24 22:42:18 -08:00