Robert Griesemer
fcb24e8c62
gofmt: add another exception to test cases
...
R=rsc
CC=golang-dev
https://golang.org/cl/2233043
2010-09-16 11:03:28 -07:00
Robert Griesemer
599f758d42
godoc: don't use quadratic algorithm to filter paths
...
R=rsc
CC=golang-dev
https://golang.org/cl/2212042
2010-09-16 10:40:07 -07:00
Eric Clark
b610a78b6e
cgo: show preamble gcc errors
...
Fixes #1081
R=rsc
CC=golang-dev
https://golang.org/cl/2112046
2010-09-16 13:38:23 -04:00
Fazlul Shahriar
dd0dec6290
net/dict: parse response correctly + typo
...
* SHOW DB responds with a
"110 n databases present - text follows" -- parse it.
* Doing a Define() on a non-existing word gives error
"invalid definition count: no", when we really
want "552 no match".
R=rsc
CC=golang-dev
https://golang.org/cl/2211041
2010-09-16 13:37:35 -04:00
Andrew Gerrand
58e739884b
tag release.2010-09-15
...
R=r
CC=golang-dev
https://golang.org/cl/2213042
2010-09-16 14:04:34 +10:00
Andrew Gerrand
4e84006e80
release.2010-09-15
...
R=r
CC=golang-dev
https://golang.org/cl/2227041
2010-09-16 14:02:24 +10:00
Andrew Gerrand
6ab8d24d72
golang.org redesign
...
R=r, rsc, gri
CC=golang-dev, iant, ken2, lvd, nigeltao_golang, stephenm
https://golang.org/cl/2182042
2010-09-16 14:01:02 +10:00
Rob Pike
381ab58e2c
netchan: fix bug for imported send.
...
Also add a bit of debugging and sanitation code.
Fixes #769 .
R=adg
CC=golang-dev
https://golang.org/cl/2206042
2010-09-16 13:59:31 +10:00
Robert Griesemer
5667d82599
fix build
...
R=iant
CC=golang-dev, ken2
https://golang.org/cl/2182043
2010-09-15 17:00:00 -07:00
Robert Griesemer
304d72be8c
os: error in documentation
...
R=r
CC=golang-dev
https://golang.org/cl/2225041
2010-09-15 15:38:16 -07:00
Robert Griesemer
108f5c913c
godoc: only show directories containing true package files
...
(ignore directories containing *.go files that don't
actually start with a package clause)
R=r
CC=golang-dev
https://golang.org/cl/2223041
2010-09-15 15:07:52 -07:00
Ken Thompson
abb73a4a86
fix line number printing
...
with //line directives.
R=rsc
CC=golang-dev
https://golang.org/cl/2224041
2010-09-15 14:32:09 -07:00
Russ Cox
34706ac974
libmach: fix build on arm host
...
Fixes #1079 .
R=r, trufae, fgergo
CC=golang-dev
https://golang.org/cl/2103048
2010-09-15 16:52:11 -04:00
Rob Pike
8d831de685
netchan: make -1 unlimited, as advertised.
...
R=adg
CC=golang-dev
https://golang.org/cl/2198042
2010-09-14 23:41:37 -07:00
Robert Griesemer
7f0ddd682a
godoc: better handling of deep directory trees
...
also: fix a logic error with filter use at startup
R=rsc
CC=golang-dev
https://golang.org/cl/2184044
2010-09-14 18:58:09 -07:00
Robert Griesemer
4398768b84
godoc: atomically update filter file
...
R=rsc
CC=golang-dev
https://golang.org/cl/2206041
2010-09-14 16:54:38 -07:00
Robert Griesemer
bce8f51b2b
godoc: use correct delay time (bug fix)
...
R=rsc
CC=golang-dev
https://golang.org/cl/2201041
2010-09-14 13:59:45 -07:00
Robert Griesemer
b6f294def3
godoc documentation: fixed typo, more precise comment
...
R=iant
CC=golang-dev
https://golang.org/cl/2184042
2010-09-14 12:03:26 -07:00
Robert Griesemer
ec81b1259b
godoc: better support for directory trees for user-defined
...
file systems provided via -path
R=rsc
CC=golang-dev
https://golang.org/cl/2182041
2010-09-14 11:16:36 -07:00
Russ Cox
d64a2bddf0
tabs
...
TBR=lvd
CC=golang-dev
https://golang.org/cl/2194041
2010-09-14 11:16:57 -04:00
Russ Cox
b7e9e9188a
6l, 8l: make etext accurate; introduce rodata, erodata.
...
Makes binaries work with 6cov again.
R=ken2
CC=golang-dev
https://golang.org/cl/2192041
2010-09-14 11:13:04 -04:00
Sebastien Binet
caf3b4a749
Preliminary support for 'copy' builtin function in exp/eval
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/2157042
2010-09-14 17:25:34 +10:00
Rob Pike
18b02f6cf3
CLA for Sebastien Binet
...
R=adg
CC=binet, golang-dev
https://golang.org/cl/2188041
2010-09-14 17:24:29 +10:00
Andrew Gerrand
34fc24f4e5
doc: fix typo in Programming FAQ
...
R=rsc, r2
CC=golang-dev
https://golang.org/cl/2186041
2010-09-14 13:33:27 +10:00
Rob Pike
6ee7997366
fmt.Fscan: use UnreadRune to preserve data across calls.
...
Fixes #1055 .
(About as well as it can be fixed without changing the API.)
R=rsc
CC=golang-dev
https://golang.org/cl/2156047
2010-09-14 11:06:17 +10:00
Russ Cox
23bd214aee
gc: implement new comparison rule
...
The new comparison rule was added to the spec by
changeset: 5605:33abb649cb63
user: Robert Griesemer <gri@golang.org>
date: Thu Jun 03 16:55:50 2010 -0700
files: doc/go_spec.html
description:
go spec: Base comparison compatibility on assignment compatibility.
Specifically:
- Simplified definition of comparison compatibility and folded into
section on comparison operators since it's only used there.
This is a small language change/cleanup. As a consequence:
- An interface value may now be compared against a non-interface value.
- Channels with opposite directions cannot be compared directly anymore
(per discussion with rsc).
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/1462041
but never implemented.
Fixes #1070 .
R=ken2
CC=golang-dev
https://golang.org/cl/2116047
2010-09-13 15:42:47 -04:00
Russ Cox
c3900387db
gc: bug306
...
Fixes #1040 .
R=ken2
CC=golang-dev
https://golang.org/cl/2132047
2010-09-13 15:42:14 -04:00
Russ Cox
dfb895ad97
A+C: Kai Backman (individual CLA)
...
Just AUTHORS; already in CONTRIBUTORS from work at Google.
R=gri
CC=golang-dev
https://golang.org/cl/2098048
2010-09-13 15:41:47 -04:00
Scott Lawrence
c5a51cc90f
json: Add package comment
...
R=golang-dev, r2, r
CC=golang-dev
https://golang.org/cl/2149047
2010-09-13 16:03:27 +10:00
Scott Lawrence
3b9a024d29
go-mode.el: Fix highlighting for 'chan' type
...
Fixes #1038 .
R=aclements, rsc
CC=golang-dev
https://golang.org/cl/2111046
2010-09-13 00:12:18 -04:00
Joe Poirier
479cbd6d34
(windows) disable tests that cause the build to fail
...
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/2171044
2010-09-13 13:36:51 +10:00
Rob Pike
bc55b41cbc
arm tests: disable zerodivide.go: compilation fails.
...
Hope to fix the build.
R=rsc
CC=golang-dev
https://golang.org/cl/2140048
2010-09-13 13:19:25 +10:00
Nigel Tao
86b821f92b
libcgo: fix NaCl build.
...
R=r, rsc, nigeltao
CC=golang-dev
https://golang.org/cl/2110046
2010-09-13 13:12:46 +10:00
Scott Lawrence
25c8d4e932
goinstall: warn when http:// is found at beginning of package name
...
Fixes #860 .
R=golang-dev, adg1, rsc, adg
CC=golang-dev
https://golang.org/cl/2124046
2010-09-13 12:59:59 +10:00
Andrew Gerrand
3e8cc7f114
misc/dashboard/builder: gobuilder, a continuous build client
...
R=rsc
CC=golang-dev
https://golang.org/cl/2126042
2010-09-13 10:46:17 +10:00
Alex Brainman
77a70ddb7b
gc: fix symbol table generation on windows
...
gc records full, '/' delimited, filenames now.
R=rsc
CC=golang-dev
https://golang.org/cl/1962042
2010-09-12 18:07:13 +10:00
Rob Pike
acb695f421
bufio: add UnreadRune.
...
R=rsc
CC=golang-dev
https://golang.org/cl/2103046
2010-09-12 17:40:27 +10:00
Joe Poirier
b155a76a40
exec.LookPath() unix/windows separation
...
R=brainman, rsc, vcc, rsc1
CC=golang-dev
https://golang.org/cl/2068041
2010-09-12 17:38:36 +10:00
Nigel Tao
e181bf6e2f
libmach: fix whitespace.
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/2149046
2010-09-12 16:40:31 +10:00
Ian Lance Taylor
8d4059f9b3
test: Make gccgo believe that the variables can change.
...
This test is supposed to test runtime behaviour. However,
gccgo is smart enough to see that the variables are local to
the package and that they never change. Add a function so
that gccgo thinks that the variables can in fact vary, so that
the test works at runtime as expected.
R=rsc
CC=golang-dev
https://golang.org/cl/2178041
2010-09-11 22:51:05 -07:00
Russ Cox
f47d403cb4
gc: make string x + y + z + ... + w efficient
...
1 malloc per concatenation.
R=ken2
CC=golang-dev
https://golang.org/cl/2124045
2010-09-12 00:53:04 -04:00
Russ Cox
698fb4f192
6g, 6l, 8g, 8l: move read-only data to text segment
...
Changing 5g and 5l too, but it doesn't work yet.
R=ken2
CC=golang-dev
https://golang.org/cl/2136047
2010-09-12 00:17:44 -04:00
Russ Cox
be443ee8bc
5g: register allocation bugs
...
Fixes #1099 .
R=ken2, r
CC=golang-dev
https://golang.org/cl/2147047
2010-09-12 00:06:45 -04:00
Russ Cox
b2a6558811
codereview: convert email address from Rietveld to lower case
...
before looking for it in the CONTRIBUTORS file
R=r
CC=golang-dev
https://golang.org/cl/1883049
2010-09-11 23:42:29 -04:00
Russ Cox
323a116fd0
libmach: fix new thread race with Linux
...
If you look at the sequence of values returned
by waitpid, it simply tells us about the child of
clone before it tells us that the parent called clone.
There's nothing we can do but assume unexpected
tids are newly cloned children.
Tested with 6prof on godoc.
Fixes #251 .
R=r
CC=golang-dev
https://golang.org/cl/2167045
2010-09-11 23:42:04 -04:00
Russ Cox
ca9d3f3463
build: avoid bad environment interactions
...
Specifically, $LIB is set on Windows.
Also diagnose attempt to build GOOS=darwin GOARCH=arm.
Otherwise the build fails mysteriously in package runtime.
Fixes #1065 .
R=r
CC=golang-dev
https://golang.org/cl/2162043
2010-09-11 23:41:40 -04:00
Russ Cox
6e6fc67425
math: make portable Tan(Pi/2) return NaN
...
The panic NaN was a translation error.
The earliest version said panic "return sys.NaN()",
and when sys.NaN came along, it changed
to "panic sys.NaN()" instead of "return sys.NaN()".
R=r
CC=golang-dev
https://golang.org/cl/2106049
2010-09-11 23:41:25 -04:00
Russ Cox
a4514c42dd
http: check https certificate against host name
...
Fixes #1093 .
R=agl, agl1
CC=golang-dev
https://golang.org/cl/2115045
2010-09-11 23:41:12 -04:00
Russ Cox
eddddf042d
arm: make libcgo build during OS X cross-compile
...
The gcc on OS X seems pickier about noticing
symbols that are referred to but not found during
the link of a .so file.
R=r
CC=golang-dev
https://golang.org/cl/2098047
2010-09-11 23:36:06 -04:00
Alex Brainman
e3a0c2f6cf
net: disable tests for functions not available on windows
...
R=r, Joe Poirier, rsc
CC=golang-dev
https://golang.org/cl/2123044
2010-09-12 12:02:29 +10:00