Alex Brainman
a33ad247a6
env.bash: fix building in directory with spaces in the path.
...
Fixes #1122 .
Thanks to BigBoss1964 for the solution.
R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/2246042
2010-09-21 16:43:31 +10:00
Nigel Tao
bd77a889e6
exp/nacl/av: update color to max out at 1<<16-1 instead of 1<<32-1.
...
Fix missing return in Set(x, y, color).
R=r
CC=golang-dev
https://golang.org/cl/2256042
2010-09-21 16:13:19 +10:00
Robert Griesemer
c20e024df3
godoc: default filter file name should be ""
...
R=rsc
CC=golang-dev
https://golang.org/cl/2241043
2010-09-20 16:19:17 -07:00
Ken Thompson
103d756663
loader fix
...
static init redo
R=rsc
CC=golang-dev
https://golang.org/cl/2254041
2010-09-20 14:23:25 -07:00
Joe Poirier
d4c8a54579
doc: fix typo in go_spec.html
...
R=rsc
CC=golang-dev
https://golang.org/cl/2250041
2010-09-20 10:51:05 -07:00
Luuk van Dijk
eb572e0174
6l/8l: emit DWARF frame info.
...
R=rsc, ken2, r
CC=golang-dev
https://golang.org/cl/2151044
2010-09-20 18:44:19 +02:00
Adam Langley
8e5f673dac
crypto/x509, crypto/tls: improve root matching and observe CA flag.
...
The key/value format of X.500 names means that it's possible to encode
a name with multiple values for, say, organisation. RFC5280
doesn't seem to consider this, but there are Verisign root
certificates which do this and, in order to find the correct
root certificate in some cases, we need to handle it.
Also, CA certificates should set the CA flag and we now check
this. After looking at the other X.509 extensions it appears
that they are universally ignored/bit rotted away so we ignore
them.
R=rsc
CC=golang-dev
https://golang.org/cl/2249042
2010-09-20 12:17:31 -04:00
Adam Langley
6989f6e312
Fix certificate validation.
...
asn1: add support for T61String because this is the string type which
several www.google.com certificates are now using for fields like
CommonName
tls: force a handshake in Dial so that certificates are ready
afterwards.
Fixes #1114 .
R=rsc
CC=golang-dev
https://golang.org/cl/2216043
2010-09-20 10:32:08 -04:00
Rob Pike
724886b0c0
netchan: fix unimportant typo in test error call.
...
R=adg
CC=golang-dev
https://golang.org/cl/2211044
2010-09-20 17:24:40 +10:00
Rob Pike
da705c6212
netchan: provide a method (Importer.Errors()) to recover protocol errors.
...
R=rsc
CC=golang-dev
https://golang.org/cl/2229044
2010-09-20 15:28:38 +10:00
Alex Brainman
8a313e201a
Make.inc: make GOOS detection work on windows
...
R=rsc, Joe Poirier, r
CC=golang-dev
https://golang.org/cl/2248041
2010-09-20 15:19:13 +10:00
Russ Cox
950ee18366
syscall: fix NaCl
...
missing from last CL, sorry
R=r
CC=golang-dev
https://golang.org/cl/2214043
2010-09-19 23:28:45 -04:00
Russ Cox
33c4ff0669
test: fix NaCl build
...
Wasn't running the temp binary under $E (emulator).
R=r
CC=golang-dev
https://golang.org/cl/2237043
2010-09-19 23:28:32 -04:00
Russ Cox
d4baf3ccb7
runtime: better panic for send to nil channel
...
*Much* better on NaCl, where memory faults are deadly.
R=r
CC=golang-dev
https://golang.org/cl/2249041
2010-09-19 23:28:12 -04:00
Russ Cox
e769342614
nacl: fix zero-length writes
...
NaCl rejects zero-length write using nil pointer.
R=r
CC=golang-dev
https://golang.org/cl/2237042
2010-09-19 22:52:30 -04:00
Russ Cox
af12feb8d5
6l, 8l: clean up ELF code, fix NaCl
...
R=r
CC=golang-dev
https://golang.org/cl/2221042
2010-09-19 22:10:34 -04:00
Nigel Tao
afbee9d87d
exp/draw/x11: mouse location is a signed integer.
...
R=r
CC=golang-dev
https://golang.org/cl/2192043
2010-09-20 10:18:09 +10:00
Rob Pike
1e4b1f9337
netchan: handle closing of channels.
...
This also silences some misleading logging.
Also improve logging.
R=rsc
CC=golang-dev
https://golang.org/cl/2245041
2010-09-20 10:14:39 +10:00
Russ Cox
63623ba2d8
5l: avoid fixed buffers in list
...
R=ken2
CC=golang-dev
https://golang.org/cl/2204045
2010-09-19 19:44:52 -04:00
Rob Pike
b6ad32b183
doc/go_mem.html: update location of "once".
...
Fixes #1118 .
R=rsc
CC=golang-dev
https://golang.org/cl/2225044
2010-09-20 07:37:41 +10:00
Rob Pike
c8b3d02939
gob: make robust when decoding a struct with non-struct data.
...
The decoder was crashing when handling an rpc that expected
a struct but was delivered something else. This diagnoses the
problem. The other direction (expecting non-struct but getting
one) was already handled.
R=rsc
CC=golang-dev
https://golang.org/cl/2246041
2010-09-20 07:37:06 +10:00
Rob Pike
42a61b920e
windows: fix netchan test by using 127.0.0.1.
...
Re-enable the test on Windows.
R=brainman, alex.brainman
CC=golang-dev
https://golang.org/cl/2244041
2010-09-18 11:43:10 +10:00
Alex Brainman
289432daff
pkg/Makefile: disable netchan test to fix windows build
...
R=r
CC=golang-dev
https://golang.org/cl/2225042
2010-09-18 11:09:08 +10:00
Andrew Gerrand
7757fcc17a
doc: fix typo in go_for_cpp_programmers.html
...
R=rsc, gri
CC=golang-dev
https://golang.org/cl/2191043
2010-09-17 12:39:01 +10:00
Alex Brainman
9997dae7a3
os: make RemoveAll() work on windows
...
R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/2212041
2010-09-17 12:35:34 +10:00
Robert Griesemer
7534d40f64
fix various comments
...
(os package comments were duplicates)
R=rsc
CC=golang-dev
https://golang.org/cl/2205042
2010-09-16 18:21:01 -07:00
Ken Thompson
d348971103
add readonly flag to static initialization
...
R=rsc
CC=golang-dev
https://golang.org/cl/2187042
2010-09-16 16:42:38 -07:00
Rob Pike
19075ea609
netchan: add a cross-connect test.
...
Suggested in a bug report (since addressed) by Axel Schreiner.
R=rsc
CC=golang-dev
https://golang.org/cl/2228041
2010-09-17 07:12:54 +10:00
Robert Griesemer
b410be31b6
godoc: show "Last update" info for directory listings.
...
Use -timestamps=false flag to disable.
(This used to be shown on the front-page below the
build information with the old godoc. However, the
time stamps are directory-specific and should be
shown with the directory.)
R=rsc
CC=golang-dev
https://golang.org/cl/2233044
2010-09-16 13:45:40 -07:00
Russ Cox
d19fcd0784
gc: spell debug['u'] correctly
...
R=ken2
CC=golang-dev
https://golang.org/cl/2214042
2010-09-16 15:50:46 -04:00
Russ Cox
555f5b6b24
gc: make sure path names are canonical
...
R=ken2
CC=golang-dev
https://golang.org/cl/2209042
2010-09-16 15:37:57 -04:00
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