]>
Cypherpunks repositories - gostls13.git/log
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
Russ Cox [Mon, 27 Sep 2010 16:59:26 +0000 (12:59 -0400)]
gc: fix non-canonical import error message
Fixes #1142.
R=ken2
CC=golang-dev
https://golang.org/cl/
2218046
Russ Cox [Mon, 27 Sep 2010 16:50:01 +0000 (12:50 -0400)]
runtime: correct stats in SysFree
R=r
CC=golang-dev
https://golang.org/cl/
2254047
Russ Cox [Mon, 27 Sep 2010 16:04:21 +0000 (12:04 -0400)]
gc: allow select case expr = <-c
Fixes #1139.
R=ken2
CC=golang-dev
https://golang.org/cl/
2194046
Balazs Lecz [Mon, 27 Sep 2010 15:44:26 +0000 (11:44 -0400)]
syscall: add inotify on Linux
R=rsc
CC=golang-dev
https://golang.org/cl/
2241045
Russ Cox [Mon, 27 Sep 2010 15:43:53 +0000 (11:43 -0400)]
CONTRIBUTORS: add Balazs Lecz (Google CLA)
R=r, r2
CC=golang-dev
https://golang.org/cl/
2216053
Wei Guangjing [Mon, 27 Sep 2010 13:44:56 +0000 (09:44 -0400)]
libcgo: set g, m in thread local storage for windows 386.
R=rsc
CC=golang-dev, vcc
https://golang.org/cl/
2216051
Alex Brainman [Mon, 27 Sep 2010 01:42:58 +0000 (11:42 +1000)]
syscall: fix windows value of IPV6_V6ONLY
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
2213048
Andrew Gerrand [Mon, 27 Sep 2010 01:41:43 +0000 (11:41 +1000)]
bytes: fix typo in AddByte comment
Fixes #1140.
R=golang-dev
CC=golang-dev
https://golang.org/cl/
2240043
Alex Brainman [Sat, 25 Sep 2010 11:24:12 +0000 (21:24 +1000)]
syscall: add IPPROTO_IPV6 and IPV6_V6ONLY const to fix nacl and windows build
R=golang-dev
CC=golang-dev
https://golang.org/cl/
2204050
Ian Lance Taylor [Sat, 25 Sep 2010 00:07:42 +0000 (17:07 -0700)]
test: Add test which causes incorrect error from gccgo.
R=gri
CC=golang-dev
https://golang.org/cl/
2220048
Rob Pike [Fri, 24 Sep 2010 22:52:29 +0000 (08:52 +1000)]
utf8.String: Slice(i,j)
R=rsc
CC=golang-dev
https://golang.org/cl/
2225048
Russ Cox [Fri, 24 Sep 2010 21:09:31 +0000 (17:09 -0400)]
gc: improve error message for x \= 0
was
x.go:2: syntax error: unexpected $undefined
now
x.go:2: syntax error: unexpected \
R=ken2
CC=golang-dev
https://golang.org/cl/
2267044
Robert Griesemer [Fri, 24 Sep 2010 21:08:28 +0000 (14:08 -0700)]
go spec: ... changes
Also: Fixed a bug in the BuiltinCall production.
R=iant, r, rsc
CC=golang-dev
https://golang.org/cl/
2278041
Rob Pike [Fri, 24 Sep 2010 20:58:34 +0000 (06:58 +1000)]
utf8: Add new type String to automate string indexing by code point.
R=rsc, rog
CC=golang-dev
https://golang.org/cl/
2275041
Russ Cox [Fri, 24 Sep 2010 20:52:06 +0000 (16:52 -0400)]
net: enable v4-over-v6 on ip sockets
Not all OS make that the default.
Can finally do this now that the syscall package
has the right definitions.
Fixes #679.
R=r
CC=golang-dev
https://golang.org/cl/
2204048
Russ Cox [Fri, 24 Sep 2010 20:50:50 +0000 (16:50 -0400)]
net: fix crash in DialIP
Reported by jan.newmarch.
Fixes #1130.
R=r
CC=golang-dev
https://golang.org/cl/
2212043
Robert Griesemer [Fri, 24 Sep 2010 19:58:08 +0000 (12:58 -0700)]
gofmt: don't substitute invalid positions with valid ones in rewrites
Fixes rewrite bug: 'f(x) -> f(0)' where functions "picked up" ... arguments.
R=rsc
CC=golang-dev
https://golang.org/cl/
2279041
Russ Cox [Fri, 24 Sep 2010 19:17:20 +0000 (15:17 -0400)]
syscall: rebuild z files
darwin/386
darwin/amd64
freebsd/386
freebsd/amd64
linux/386
linux/amd64
nacl/386
TBR=adg
CC=golang-dev
https://golang.org/cl/
2198047
Russ Cox [Fri, 24 Sep 2010 18:59:34 +0000 (14:59 -0400)]
syscall: fix socketpair in syscall_bsd
THIS WILL BREAK THE BUILD.
The z files have socketpair code in them that was
written by hand; breaking the build with this is the first
step in getting rid of that hand-written code.
R=adg
TBR=adg
CC=golang-dev
https://golang.org/cl/
2197050
Russ Cox [Fri, 24 Sep 2010 18:52:10 +0000 (14:52 -0400)]
syscall: work harder to avoid doing this ever again
TBR=adg
CC=golang-dev
https://golang.org/cl/
2218044
Russ Cox [Fri, 24 Sep 2010 18:38:17 +0000 (14:38 -0400)]
syscall: fix mkall.sh for nacl
TBR=adg
CC=golang-dev
https://golang.org/cl/
2208050
Russ Cox [Fri, 24 Sep 2010 18:03:54 +0000 (11:03 -0700)]
syscall: fix permissions on mksysnum_nacl.sh
TBR=adg
CC=golang-dev
https://golang.org/cl/
2208049
Russ Cox [Fri, 24 Sep 2010 17:37:02 +0000 (13:37 -0400)]
mkall.sh, mkerrors.sh: work more broadly
work on FreeBSD even without /usr/src/sys.
work on systems where gcc -static is broken.
TBR so I can test my semi-automated z builder.
TBR=adg
CC=golang-dev
https://golang.org/cl/
2215046
Russ Cox [Fri, 24 Sep 2010 17:12:50 +0000 (13:12 -0400)]
debug/proc: ... changes (fix build)
TBR=gri
CC=golang-dev
https://golang.org/cl/
2229047
Russ Cox [Fri, 24 Sep 2010 17:08:35 +0000 (13:08 -0400)]
crypto/ocsp: update for asn1 change (fix build)
TBR=gri
CC=golang-dev
https://golang.org/cl/
2221044
Russ Cox [Fri, 24 Sep 2010 16:34:18 +0000 (12:34 -0400)]
asn1: make interface consistent with json
Replace Marshal with MarshalToMemory
(no one was using old Marshal anyway).
Swap arguments to Unmarshal.
Fixes #1133.
R=agl1
CC=golang-dev
https://golang.org/cl/
2249045
Russ Cox [Fri, 24 Sep 2010 16:29:20 +0000 (12:29 -0400)]
gc: printing of ...
R=ken2
CC=golang-dev
https://golang.org/cl/
2218043
Dan Sinclair [Fri, 24 Sep 2010 16:23:01 +0000 (12:23 -0400)]
xml: Allow entities inside CDATA tags
Fixes #1112.
R=rsc
CC=golang-dev
https://golang.org/cl/
2255042
Russ Cox [Fri, 24 Sep 2010 15:55:48 +0000 (11:55 -0400)]
... changes
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
2273042
Russ Cox [Fri, 24 Sep 2010 15:55:30 +0000 (11:55 -0400)]
gc: ... changes
R=ken2, ken3
CC=golang-dev
https://golang.org/cl/
2208047
Russ Cox [Fri, 24 Sep 2010 15:55:16 +0000 (11:55 -0400)]
build: use full path when compiling libraries
Makes gdb display full paths in backtrace.
Dropped during the most recent reorg.
R=r
CC=golang-dev
https://golang.org/cl/
2216047
Russ Cox [Fri, 24 Sep 2010 03:04:32 +0000 (23:04 -0400)]
runtime: fix unwindstack crash
Bug and fix identified by Alexey Gokhberg.
Fixes #1135.
R=r, brainman
CC=golang-dev
https://golang.org/cl/
2198046
Rob Pike [Fri, 24 Sep 2010 02:28:14 +0000 (12:28 +1000)]
bufio.UnreadRune: fix bug at EOF
Fixes #1132.
R=rsc
CC=golang-dev
https://golang.org/cl/
2215045
Nigel Tao [Fri, 24 Sep 2010 02:15:49 +0000 (12:15 +1000)]
exp/draw: remove "this isn't ready yet" comments.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
2248046
Peter Mundy [Fri, 24 Sep 2010 02:06:59 +0000 (22:06 -0400)]
os: check for valid arguments in windows Readdir
Fixes #1129.
R=rsc, brainman
CC=Joe Poirier, golang-dev
https://golang.org/cl/
2211045
Russ Cox [Fri, 24 Sep 2010 02:05:42 +0000 (22:05 -0400)]
html: disable print
Everything is incomplete.
Let's not make noise like this a habit.
R=nigeltao_gnome
CC=golang-dev
https://golang.org/cl/
2272041
Russ Cox [Fri, 24 Sep 2010 02:05:20 +0000 (22:05 -0400)]
nacl: update instructions for new SDK
R=nigeltao_gnome, nigeltao
CC=golang-dev
https://golang.org/cl/
2253042
Rob Pike [Fri, 24 Sep 2010 01:53:26 +0000 (11:53 +1000)]
fmt/Printf: document and tweak error messages produced for bad formats
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
2198044
Nigel Tao [Fri, 24 Sep 2010 01:07:52 +0000 (11:07 +1000)]
exp/spacewar: fix build.
R=rsc
CC=golang-dev
https://golang.org/cl/
2265042
Robert Griesemer [Thu, 23 Sep 2010 21:56:44 +0000 (14:56 -0700)]
gofmt: preserve syntactically relevant blanks between ints and tokens that start with a '.' (2nd attempt)
R=rsc
CC=golang-dev
https://golang.org/cl/
2270042
Robert Griesemer [Thu, 23 Sep 2010 21:20:13 +0000 (14:20 -0700)]
gofmt: don't remove syntactically relevant blank in f(42 ...)
R=rsc
CC=golang-dev
https://golang.org/cl/
2246046
Russ Cox [Thu, 23 Sep 2010 18:31:44 +0000 (14:31 -0400)]
io/ioutil: use _test not _obj in test
Fixes: make clean; make test
R=gri
CC=golang-dev
https://golang.org/cl/
2234044
Roger Peppe [Thu, 23 Sep 2010 10:40:11 +0000 (20:40 +1000)]
bytes, strings: change lastIndexFunc to use DecodeLastRune
R=r
CC=golang-dev, rsc
https://golang.org/cl/
2271041
Roger Peppe [Thu, 23 Sep 2010 10:33:52 +0000 (20:33 +1000)]
utf8: add DecodeLastRune and DecodeLastRuneInString to
enable traversing rune-by-rune backwards in strings
R=r, rsc
CC=golang-dev
https://golang.org/cl/
2192050
Rob Pike [Thu, 23 Sep 2010 03:48:56 +0000 (13:48 +1000)]
tests: fix prints
- delete unnecessary newlines
- make sure formatted prints call the formatting routines
R=adg
CC=golang-dev
https://golang.org/cl/
2225046
Alex Brainman [Thu, 23 Sep 2010 02:36:52 +0000 (12:36 +1000)]
syscall: implement windows version of Utimes()
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/
2215044
Andrew Gerrand [Thu, 23 Sep 2010 01:56:02 +0000 (11:56 +1000)]
tag release.2010-09-22
R=r
CC=golang-dev
https://golang.org/cl/
2244044
Andrew Gerrand [Thu, 23 Sep 2010 01:49:47 +0000 (11:49 +1000)]
release.2010-09-22
R=r
CC=golang-dev
https://golang.org/cl/
2208046
Nigel Tao [Thu, 23 Sep 2010 01:32:11 +0000 (11:32 +1000)]
netchan: fix comment typo.
R=adg
CC=golang-dev
https://golang.org/cl/
2204047
Roger Peppe [Thu, 23 Sep 2010 00:58:59 +0000 (10:58 +1000)]
exp/draw: add Point.Eq, Point.Mul, Point.Div, Rectangle.Size methods
R=nigeltao, nigeltao_golang, rsc
CC=golang-dev, r
https://golang.org/cl/
2192048
Andrew Gerrand [Thu, 23 Sep 2010 00:40:07 +0000 (10:40 +1000)]
http: fix redirect test for international users
R=r
CC=golang-dev
https://golang.org/cl/
2197047
Russ Cox [Wed, 22 Sep 2010 21:21:02 +0000 (17:21 -0400)]
build: add missing files for arm changes
R=adg
TBR=adg
CC=golang-dev
https://golang.org/cl/
2226046
Ian Lance Taylor [Wed, 22 Sep 2010 21:20:15 +0000 (14:20 -0700)]
http: Change redirect test URL, as the old one now fails.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
2267042
Robert Griesemer [Wed, 22 Sep 2010 21:05:14 +0000 (14:05 -0700)]
gofmt: support for ... after actual arguments
Pending acceptance of the proposed language change.
R=rsc
CC=golang-dev
https://golang.org/cl/
2193048
Robert Griesemer [Wed, 22 Sep 2010 18:03:57 +0000 (11:03 -0700)]
suffixarray: cleanup per suggestion from Roger Peppe
R=rsc
CC=golang-dev
https://golang.org/cl/
2213045
Andrew Gerrand [Wed, 22 Sep 2010 06:59:35 +0000 (16:59 +1000)]
http: don't always escape all reserved chars (fix build)
R=nigeltao, nigeltao_golang
CC=golang-dev
https://golang.org/cl/
2206044
Andrew Gerrand [Wed, 22 Sep 2010 06:25:26 +0000 (16:25 +1000)]
http: escape _all_ reserved characters as per the RFC
R=r
CC=golang-dev
https://golang.org/cl/
2199043
Robert Griesemer [Wed, 22 Sep 2010 06:12:57 +0000 (23:12 -0700)]
suffixarray: a package for creating suffixarray-based indexes
This is a replacement for pending CL
2219042 . It only contains
the raw suffixarray functionality with two methods:
- New create a new index from some data
- Lookup lookup occurences of a bytes slice in the data
Any other functionality (dealing with multiple data sets and
the corresponding position lists) is generic and doesn't have
to be part of this package.
Known performance bug: This implementation works fine for data sets
up to several megabytes as long as it doesn't contain very long
contiguous sequences of equal bytes. For instance, index creation for
all .go files under GOROOT (250KLOCs, approx. 9MB) takes ~50s on
2.66 GHz Intel Xeon as long as test/fixedbugs/257.go is excluded.
With that file, index creation times takes several days. 257.go contains
a string of 1M smiley faces.
There are more sophisticated suffixarray creation algorithms which
can handle very long common prefixes. The implementation can be
updated w/o the need to change the interface.
R=rsc, r, PeterGo
CC=golang-dev
https://golang.org/cl/
2265041
Anthony Martin [Wed, 22 Sep 2010 06:10:38 +0000 (16:10 +1000)]
fmt: support '*' for width or precision
R=r
CC=golang-dev
https://golang.org/cl/
2237044
Russ Cox [Wed, 22 Sep 2010 05:30:42 +0000 (15:30 +1000)]
build: make all.bash run on Ubuntu ARM
Sent from my phone.
R=adg
CC=golang-dev
https://golang.org/cl/
2192049
Andrew Gerrand [Wed, 22 Sep 2010 05:18:41 +0000 (15:18 +1000)]
misc/dashboard/builder: -cmd for user-specified build command
R=rsc
CC=golang-dev
https://golang.org/cl/
2248043
Alex Brainman [Wed, 22 Sep 2010 03:12:25 +0000 (13:12 +1000)]
os: make Open() O_APPEND flag work on windows
Fixes #1124.
Implementation is suggested by Skip.
Test is suggested by PeterGo.
R=r, PeterGo, rsc
CC=golang-dev, skip.tavakkolian
https://golang.org/cl/
2256041
Roger Peppe [Wed, 22 Sep 2010 02:58:09 +0000 (22:58 -0400)]
strings: fix minor bug in LastIndexFunc
R=r, rsc
CC=golang-dev
https://golang.org/cl/
2250042
Russ Cox [Wed, 22 Sep 2010 02:41:32 +0000 (22:41 -0400)]
build: fixes for native arm build
R=kaib
CC=golang-dev
https://golang.org/cl/
2254044
Russ Cox [Wed, 22 Sep 2010 02:41:19 +0000 (22:41 -0400)]
cgo: bug fixes
* Add documentation about array arguments. Fixes issue 1125.
* Do not interpret x, y := z, w as special errno form. Fixes issue 952.
* Fix nested Go calls (brainman). Fixes issue 907.
R=r
CC=golang-dev
https://golang.org/cl/
2214044
Nigel Tao [Wed, 22 Sep 2010 02:20:56 +0000 (12:20 +1000)]
exp/4s, exp/nacl/av: sync to recent exp/draw changes.
R=rsc
CC=golang-dev
https://golang.org/cl/
2257042
Andrew Gerrand [Wed, 22 Sep 2010 01:42:40 +0000 (11:42 +1000)]
misc/dashboard/builder: fix bug that caused old revisions to be rebuilt
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
2213044
Andrew Gerrand [Wed, 22 Sep 2010 00:43:01 +0000 (10:43 +1000)]
doc: variable-width layout
The front page remains fixed-width.
All other pages should look good in windows >=500px wide.
Includes additional styles for search result highlighting,
code comments, and general CSS clean-ups.
Tested with Chrome 6, Firefox 3.6, IE 7, and IE 8.
R=gri, r
CC=golang-dev
https://golang.org/cl/
2229041
Ian Lance Taylor [Tue, 21 Sep 2010 13:49:56 +0000 (06:49 -0700)]
syscall: Use vsyscall for syscall.Gettimeofday and .Time on linux amd64.
Regenerate zsyscall_linux_*.go files with recent changes to
mksyscall.sh.
Add socketpair to syscall_linux_amd64.go; for some reason it
was in the generated file but not in the source file.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
2190044
Rob Pike [Tue, 21 Sep 2010 11:21:44 +0000 (21:21 +1000)]
regexp: delete Iter methods
They are unused and not that useful anyway.
R=rsc
CC=golang-dev
https://golang.org/cl/
2225045
Andrew Gerrand [Tue, 21 Sep 2010 10:32:36 +0000 (20:32 +1000)]
misc/dashboard/builder: fixes and improvements
- fix release upload
- add -rev= flag to build specific revision and exit
- added support for all-$GOARCH.bash
R=rsc
CC=golang-dev
https://golang.org/cl/
2247044
Alex Brainman [Tue, 21 Sep 2010 06:43:31 +0000 (16:43 +1000)]
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
Nigel Tao [Tue, 21 Sep 2010 06:13:19 +0000 (16:13 +1000)]
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
Robert Griesemer [Mon, 20 Sep 2010 23:19:17 +0000 (16:19 -0700)]
godoc: default filter file name should be ""
R=rsc
CC=golang-dev
https://golang.org/cl/
2241043
Ken Thompson [Mon, 20 Sep 2010 21:23:25 +0000 (14:23 -0700)]
loader fix
static init redo
R=rsc
CC=golang-dev
https://golang.org/cl/
2254041
Joe Poirier [Mon, 20 Sep 2010 17:51:05 +0000 (10:51 -0700)]
doc: fix typo in go_spec.html
R=rsc
CC=golang-dev
https://golang.org/cl/
2250041
Luuk van Dijk [Mon, 20 Sep 2010 16:44:19 +0000 (18:44 +0200)]
6l/8l: emit DWARF frame info.
R=rsc, ken2, r
CC=golang-dev
https://golang.org/cl/
2151044
Adam Langley [Mon, 20 Sep 2010 16:17:31 +0000 (12:17 -0400)]
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
Adam Langley [Mon, 20 Sep 2010 14:32:08 +0000 (10:32 -0400)]
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
Rob Pike [Mon, 20 Sep 2010 07:24:40 +0000 (17:24 +1000)]
netchan: fix unimportant typo in test error call.
R=adg
CC=golang-dev
https://golang.org/cl/
2211044
Rob Pike [Mon, 20 Sep 2010 05:28:38 +0000 (15:28 +1000)]
netchan: provide a method (Importer.Errors()) to recover protocol errors.
R=rsc
CC=golang-dev
https://golang.org/cl/
2229044
Alex Brainman [Mon, 20 Sep 2010 05:19:13 +0000 (15:19 +1000)]
Make.inc: make GOOS detection work on windows
R=rsc, Joe Poirier, r
CC=golang-dev
https://golang.org/cl/
2248041
Russ Cox [Mon, 20 Sep 2010 03:28:45 +0000 (23:28 -0400)]
syscall: fix NaCl
missing from last CL, sorry
R=r
CC=golang-dev
https://golang.org/cl/
2214043
Russ Cox [Mon, 20 Sep 2010 03:28:32 +0000 (23:28 -0400)]
test: fix NaCl build
Wasn't running the temp binary under $E (emulator).
R=r
CC=golang-dev
https://golang.org/cl/
2237043
Russ Cox [Mon, 20 Sep 2010 03:28:12 +0000 (23:28 -0400)]
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
Russ Cox [Mon, 20 Sep 2010 02:52:30 +0000 (22:52 -0400)]
nacl: fix zero-length writes
NaCl rejects zero-length write using nil pointer.
R=r
CC=golang-dev
https://golang.org/cl/
2237042
Russ Cox [Mon, 20 Sep 2010 02:10:34 +0000 (22:10 -0400)]
6l, 8l: clean up ELF code, fix NaCl
R=r
CC=golang-dev
https://golang.org/cl/
2221042
Nigel Tao [Mon, 20 Sep 2010 00:18:09 +0000 (10:18 +1000)]
exp/draw/x11: mouse location is a signed integer.
R=r
CC=golang-dev
https://golang.org/cl/
2192043
Rob Pike [Mon, 20 Sep 2010 00:14:39 +0000 (10:14 +1000)]
netchan: handle closing of channels.
This also silences some misleading logging.
Also improve logging.
R=rsc
CC=golang-dev
https://golang.org/cl/
2245041
Russ Cox [Sun, 19 Sep 2010 23:44:52 +0000 (19:44 -0400)]
5l: avoid fixed buffers in list
R=ken2
CC=golang-dev
https://golang.org/cl/
2204045
Rob Pike [Sun, 19 Sep 2010 21:37:41 +0000 (07:37 +1000)]
doc/go_mem.html: update location of "once".
Fixes #1118.
R=rsc
CC=golang-dev
https://golang.org/cl/
2225044
Rob Pike [Sun, 19 Sep 2010 21:37:06 +0000 (07:37 +1000)]
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
Rob Pike [Sat, 18 Sep 2010 01:43:10 +0000 (11:43 +1000)]
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