]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Fri, 18 Feb 2011 16:35:36 +0000 (11:35 -0500)]
ld: drop rpath
Was required by old cgo but we don't
generate stub .so files anymore.
Update #1527.
R=iant
CC=golang-dev
https://golang.org/cl/
4168056
Adam Langley [Fri, 18 Feb 2011 16:31:10 +0000 (11:31 -0500)]
crypto/rsa: left-pad OAEP results when needed.
PKCS#1 v2.1 section 7.1.1 says that the result of an OAEP encryption
is "an octet string of length $k$". Since we didn't left-pad the
result it was previously possible for the result to be smaller when
the most-significant byte was zero.
Fixes #1519.
R=rsc
CC=golang-dev
https://golang.org/cl/
4175059
Robert Griesemer [Fri, 18 Feb 2011 01:22:16 +0000 (17:22 -0800)]
go/scanner: update comment
R=r, r2
CC=golang-dev
https://golang.org/cl/
4184053
Gustavo Niemeyer [Fri, 18 Feb 2011 00:17:33 +0000 (16:17 -0800)]
testing: rename cmdline flags to avoid conflicts
Flags defined in the testing package may conflict
with real flags defined in the main package, or in
any other imported package.
This change makes them less likely to be used for
other purposes.
R=r, rsc, r2
CC=golang-dev
https://golang.org/cl/
4167055
Wei Guangjing [Thu, 17 Feb 2011 23:58:47 +0000 (10:58 +1100)]
6l: pe fixes
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/
4182061
Nigel Tao [Thu, 17 Feb 2011 23:35:49 +0000 (10:35 +1100)]
html: small documentation fix.
R=rsc
CC=golang-dev
https://golang.org/cl/
4169058
Russ Cox [Thu, 17 Feb 2011 22:14:50 +0000 (17:14 -0500)]
http: send full URL in proxy requests
Fixes #53. (again)
R=agl1
CC=golang-dev
https://golang.org/cl/
4167054
Russ Cox [Thu, 17 Feb 2011 22:14:19 +0000 (17:14 -0500)]
json: only use alphanumeric tags
Almost the same definition as Go identifier names.
(Leading digits are allowed.)
Fixes #1520.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4173061
Russ Cox [Thu, 17 Feb 2011 21:33:26 +0000 (16:33 -0500)]
gc: interface error message fixes
Fixes #1526.
R=ken2
CC=golang-dev
https://golang.org/cl/
4190051
Russ Cox [Thu, 17 Feb 2011 21:32:50 +0000 (16:32 -0500)]
net: remove comment fragments
I have no idea how I meant to complete that sentence.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4191046
Russ Cox [Thu, 17 Feb 2011 21:08:52 +0000 (16:08 -0500)]
runtime: descriptive panics for use of nil map
R=r, r2
CC=golang-dev
https://golang.org/cl/
4173060
Albert Strasheim [Thu, 17 Feb 2011 20:14:41 +0000 (15:14 -0500)]
crypto/rand: Added read buffer to speed up requests for small amounts of bytes.
R=agl1, rsc
CC=golang-dev
https://golang.org/cl/
4170056
Andrew Gerrand [Thu, 17 Feb 2011 16:34:22 +0000 (03:34 +1100)]
misc/dashboard: notify golang-dev on build failure
Fixes #1229.
R=rsc
CC=golang-dev
https://golang.org/cl/
4178048
Rob Pike [Thu, 17 Feb 2011 06:35:31 +0000 (22:35 -0800)]
Effective Go: stress that comments are uninterpreted text
that should look in godoc.
R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/
4192041
Rob Pike [Thu, 17 Feb 2011 06:01:57 +0000 (22:01 -0800)]
arm runtime: attempt to fix build by adding casp (same as cas)
untested.
Fixes #1523.
R=rsc
CC=golang-dev
https://golang.org/cl/
4171057
Andrew Gerrand [Thu, 17 Feb 2011 02:20:50 +0000 (21:20 -0500)]
doc/devel/release: discuss StartProcess in release notes
R=rsc
CC=golang-dev
https://golang.org/cl/
4172051
Alex Brainman [Thu, 17 Feb 2011 01:09:12 +0000 (12:09 +1100)]
syscall: fix windows SetFileAttributes
R=golang-dev, rsc, hector
CC=golang-dev, mattn
https://golang.org/cl/
4180052
Alex Brainman [Thu, 17 Feb 2011 01:00:02 +0000 (12:00 +1100)]
net: fix windows build
R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/
4184051
Nigel Tao [Wed, 16 Feb 2011 23:45:30 +0000 (10:45 +1100)]
html: tokenize HTML comments.
I'm not sure if it's 100% correct wrt the HTML5 specification,
but the test suite has plenty of HTML comment test cases, and
we'll shake out any tokenization bugs as the parser improves its
coverage.
R=gri
CC=golang-dev
https://golang.org/cl/
4186055
Jeff R. Allen [Wed, 16 Feb 2011 22:57:15 +0000 (17:57 -0500)]
gc: make string const comparison unsigned
Make compile-time string const comparison match semantics
of runtime.cmpstring.
Fixes #1515.
R=rsc
CC=golang-dev, rog
https://golang.org/cl/
4172049
Dave Cheney [Wed, 16 Feb 2011 20:07:13 +0000 (15:07 -0500)]
net: add IPv4 multicast to UDPConn
notes:
Darwin is very particular about joining a multicast group if the
listneing socket is not created in "udp4" mode, the other supported
OS's are more flexible.
A simple example sets up a socket to listen on the mdns/bonjour
group 224.0.0.251:5353
// ensure the sock is udp4, and the IP is a 4 byte IPv4
socket, err := net.ListenUDP("udp4", &net.UDPAddr {
IP: net.IPv4zero,
// currently darwin will not allow you to bind to
// a port if it is already bound to another process
Port: 5353,
})
if err != nil {
log.Exitf("listen %s", err)
}
defer socket.Close()
err = socket.JoinGroup(net.IPv4(224, 0, 0, 251))
if err != nil {
log.Exitf("join group %s", err)
}
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
4066044
Mikio Hara [Wed, 16 Feb 2011 20:05:48 +0000 (15:05 -0500)]
net: more accurate IPv4-in-IPv6 API test
R=rsc
CC=golang-dev
https://golang.org/cl/
4172045
Olivier Antoine [Wed, 16 Feb 2011 20:03:47 +0000 (15:03 -0500)]
net: reject invalid net:proto network names
R=rsc
CC=golang-dev
https://golang.org/cl/
4129042
Russ Cox [Wed, 16 Feb 2011 20:02:08 +0000 (15:02 -0500)]
A+C: Olivier Antoine (individual CLA)
Also sort name lists.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4191044
Gustavo Niemeyer [Wed, 16 Feb 2011 19:11:07 +0000 (14:11 -0500)]
sync: add Cond
R=rsc, rog, r
CC=golang-dev
https://golang.org/cl/
3775048
Russ Cox [Wed, 16 Feb 2011 19:10:52 +0000 (14:10 -0500)]
os: remove ENODATA (fixes freebsd build)
R=r, r2
CC=golang-dev
https://golang.org/cl/
4175053
Yasuhiro Matsumoto [Wed, 16 Feb 2011 19:06:50 +0000 (14:06 -0500)]
http: add proxy support
Fixes #53.
R=agl1, jacek.masiulaniec, adg, rsc, agl
CC=golang-dev
https://golang.org/cl/
3794041
Rob Pike [Wed, 16 Feb 2011 19:01:21 +0000 (11:01 -0800)]
reflect: add a couple of sentences explaining how Methods operate.
R=rsc, gri, rsc1, bsiegert
CC=golang-dev
https://golang.org/cl/
4183053
Rob Pike [Wed, 16 Feb 2011 18:46:29 +0000 (10:46 -0800)]
test/bench: update timings for new GC
Some significant improvements; e.g. pidigits goes from 8.33 to 6.37
Also add gccgo for regex-dna.
R=rsc
CC=golang-dev
https://golang.org/cl/
4160056
Russ Cox [Wed, 16 Feb 2011 18:21:20 +0000 (13:21 -0500)]
runtime: fix memory allocator for GOMAXPROCS > 1
Bitmaps were not being updated safely.
Depends on
4188053 .
Fixes #1504.
May fix issue 1479.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4184048
Russ Cox [Wed, 16 Feb 2011 18:21:13 +0000 (13:21 -0500)]
runtime: minor cleanup
implement runtime.casp on amd64.
keep simultaneous panic messages separate.
R=r
CC=golang-dev
https://golang.org/cl/
4188053
Albert Strasheim [Wed, 16 Feb 2011 18:19:31 +0000 (13:19 -0500)]
os: add ENODATA and ENOTCONN
syscall: add MCL_* flags for mlockall
R=rsc
CC=golang-dev
https://golang.org/cl/
4177044
Roger Peppe [Wed, 16 Feb 2011 16:14:41 +0000 (08:14 -0800)]
netchan: allow use of arbitrary connections.
R=r, r2, rsc
CC=golang-dev
https://golang.org/cl/
4119055
Yasuhiro Matsumoto [Wed, 16 Feb 2011 05:24:59 +0000 (16:24 +1100)]
syscall: implement chmod() for win32.
R=golang-dev, rsc, brainman
CC=golang-dev
https://golang.org/cl/
4175049
Alex Brainman [Wed, 16 Feb 2011 05:08:42 +0000 (16:08 +1100)]
8l,6l: allow for more os threads to be created on Windows
Program listed http://code.google.com/p/go/issues/detail?id=1495
(with nRequester set to 10000) will crash with
runtime: failed to create new OS thread (have 4526 already; errno=8)
instead of
runtime: failed to create new OS thread (have 618 already; errno=8).
R=golang-dev, rsc, vcc
CC=golang-dev
https://golang.org/cl/
4172046
Yasuhiro Matsumoto [Wed, 16 Feb 2011 05:07:04 +0000 (16:07 +1100)]
syscall: fix inverse checking of result code on windows.
R=golang-dev, brainman, rsc
CC=golang-dev
https://golang.org/cl/
4179049
Nigel Tao [Wed, 16 Feb 2011 00:41:29 +0000 (11:41 +1100)]
compress: move zlib/testdata to testdata so it can be shared by all
compression algorithms.
R=rsc, r2, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/
4188054
Andrew Gerrand [Tue, 15 Feb 2011 22:41:34 +0000 (09:41 +1100)]
doc: fix release notes anchor tag
R=r, r2
CC=golang-dev
https://golang.org/cl/
4178055
Adam Langley [Tue, 15 Feb 2011 21:38:45 +0000 (16:38 -0500)]
crypto/tls: make protocol negotiation failure fatal
R=r, r2
CC=golang-dev
https://golang.org/cl/
4178054
Robert Griesemer [Tue, 15 Feb 2011 19:33:12 +0000 (11:33 -0800)]
go spec: minor clarification on channel types
No language change.
R=r, rsc, iant, ken2, r2
CC=golang-dev
https://golang.org/cl/
4168050
Andrew Gerrand [Tue, 15 Feb 2011 16:02:55 +0000 (03:02 +1100)]
tag release.2011-02-15
R=rsc
CC=golang-dev
https://golang.org/cl/
4184046
Andrew Gerrand [Tue, 15 Feb 2011 15:58:08 +0000 (02:58 +1100)]
release.2011-02-15
R=rsc
CC=golang-dev
https://golang.org/cl/
4191041
Adam Langley [Tue, 15 Feb 2011 14:52:20 +0000 (09:52 -0500)]
encoding/line: fix line returned after EOF
Fixes #1509.
R=r
CC=golang-dev
https://golang.org/cl/
4167045
Robert Griesemer [Tue, 15 Feb 2011 01:41:47 +0000 (17:41 -0800)]
godoc: don't hide package lookup error if there's no command with the same name
Fixes #1514.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4173050
Roger Peppe [Mon, 14 Feb 2011 22:51:08 +0000 (14:51 -0800)]
rpc: properly discard values.
R=r, rsc, r2
CC=golang-dev
https://golang.org/cl/
4171050
Alex Brainman [Mon, 14 Feb 2011 22:42:25 +0000 (09:42 +1100)]
runtime: detect failed thread creation on Windows
Fixes #1495.
R=rsc
CC=golang-dev
https://golang.org/cl/
4182047
Rob Pike [Mon, 14 Feb 2011 19:47:19 +0000 (11:47 -0800)]
makehtml: use append
The program is old and missed its opportunity.
R=gri, adg
CC=golang-dev
https://golang.org/cl/
4178050
Rob Pike [Mon, 14 Feb 2011 19:25:00 +0000 (11:25 -0800)]
tutorial: rework the introduction to give "Effective Go"
prominence and downplay the course notes.
R=golang-dev, gri, rsc
CC=golang-dev
https://golang.org/cl/
4190041
Andrew Gerrand [Mon, 14 Feb 2011 18:42:16 +0000 (05:42 +1100)]
archive/zip: handle files with data descriptors
Fixes #1471.
R=rsc
CC=golang-dev
https://golang.org/cl/
4183048
Rob Pike [Mon, 14 Feb 2011 18:17:30 +0000 (10:17 -0800)]
gob: decode into nil, this time for sure.
Yesterday's change was too simple-minded and failed if an
interface value was being discarded. We need to parse the
data stream and remember any type information that arrives.
Also fix a minor bug when ignoring an interface: toss only what
we know about, not everything.
R=rsc
CC=golang-dev
https://golang.org/cl/
4179045
Hector Chu [Mon, 14 Feb 2011 17:15:13 +0000 (12:15 -0500)]
windows: runtime: implemented console ctrl handler (SIGINT).
R=rsc, brainman, iant2
CC=golang-dev
https://golang.org/cl/
4129049
Russ Cox [Mon, 14 Feb 2011 14:27:02 +0000 (09:27 -0500)]
build: run test/ directory first
R=adg, r
CC=golang-dev
https://golang.org/cl/
4183047
Robert Griesemer [Mon, 14 Feb 2011 03:27:02 +0000 (19:27 -0800)]
go/printer: line comments must always end in a newline
Fixes #1503.
R=rsc
CC=golang-dev
https://golang.org/cl/
4170045
Rob Pike [Sun, 13 Feb 2011 02:03:54 +0000 (18:03 -0800)]
gob: allow Decode(nil) and have it just discard the next value.
Fixes #1489.
R=rsc
CC=golang-dev
https://golang.org/cl/
4187046
Rob Pike [Sun, 13 Feb 2011 02:03:16 +0000 (18:03 -0800)]
code.html: update to reflect that package names need not be unique
Fixes #1507.
R=golang-dev, ehog.hedge, rsc
CC=golang-dev
https://golang.org/cl/
4160049
Ken Thompson [Sat, 12 Feb 2011 04:13:57 +0000 (20:13 -0800)]
5ld: part of 64bit eor - forgot to check in.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
4176046
Robert Griesemer [Sat, 12 Feb 2011 00:24:35 +0000 (16:24 -0800)]
gofmt: exclude testcase with incorrect syntax
R=r, r2
CC=golang-dev
https://golang.org/cl/
4160047
Rob Pike [Sat, 12 Feb 2011 00:06:04 +0000 (16:06 -0800)]
strconv/ftoa: avoid a double shift. (shifts by variables are expensive.)
R=rsc, gri, r2
CC=golang-dev
https://golang.org/cl/
4169048
Russ Cox [Fri, 11 Feb 2011 23:00:58 +0000 (18:00 -0500)]
testing: include elapsed time in output
R=r
CC=golang-dev
https://golang.org/cl/
4180045
Lorenzo Stoakes [Fri, 11 Feb 2011 22:47:58 +0000 (17:47 -0500)]
gc: correct receiver in method missing error
Fixes #1324.
R=rsc1, r, rsc
CC=golang-dev
https://golang.org/cl/
3435042
Russ Cox [Fri, 11 Feb 2011 22:47:17 +0000 (17:47 -0500)]
sync: check Unlock of unlocked Mutex
R=r, adg
CC=golang-dev
https://golang.org/cl/
4180044
Ken Thompson [Fri, 11 Feb 2011 21:22:35 +0000 (13:22 -0800)]
5ld: stoped generating 64-bit eor
R=rsc
CC=golang-dev
https://golang.org/cl/
4182049
Mikio Hara [Fri, 11 Feb 2011 21:20:31 +0000 (16:20 -0500)]
syscall: remove obsolete socket IO control
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
4183046
Petar Maymounkov [Fri, 11 Feb 2011 20:05:47 +0000 (15:05 -0500)]
http: add pipelining to ClientConn, ServerConn
R=rsc, bradfitzwork
CC=golang-dev
https://golang.org/cl/
4082044
Mikio Hara [Fri, 11 Feb 2011 19:34:00 +0000 (14:34 -0500)]
syscall: add sockaddr_dl, sysctl with routing message support for darwin, freebsd
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
4171043
Russ Cox [Fri, 11 Feb 2011 19:32:34 +0000 (14:32 -0500)]
runtime: check that SysReserve returns aligned memory
R=iant, iant2
CC=golang-dev
https://golang.org/cl/
4180043
Yuval Pavel Zholkover [Fri, 11 Feb 2011 18:39:05 +0000 (13:39 -0500)]
8l, runtime: place G and M pointers relative to _tos on Plan 9, instead of hardcoded values for USTKTOP.
This should allow executing both on native Plan 9 and inside 9vx.
R=rsc
CC=golang-dev
https://golang.org/cl/
3993044
Evan Shaw [Fri, 11 Feb 2011 17:39:18 +0000 (12:39 -0500)]
bytes: fix bugs in buffer.ReadBytes
Fixes #1498.
R=golang-dev, mattn, r, rsc
CC=golang-dev
https://golang.org/cl/
4140041
Adam Langley [Fri, 11 Feb 2011 13:34:19 +0000 (08:34 -0500)]
crypto/openpgp: minor updates to subpackages
Now that packet/ is checked in, we can add its Makefile. Also, a couple
of updates to error/ and s2k/ for bugfixes and to use the new crypto
package.
R=bradfitzgo
CC=golang-dev
https://golang.org/cl/
4179043
Mathieu Lonjaret [Fri, 11 Feb 2011 13:30:34 +0000 (08:30 -0500)]
fix example in inotify
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
4174045
Luuk van Dijk [Fri, 11 Feb 2011 11:23:54 +0000 (12:23 +0100)]
flag: allow hexadecimal and octal input for integer flags.
R=r
CC=golang-dev
https://golang.org/cl/
4182043
Adam Langley [Fri, 11 Feb 2011 00:59:12 +0000 (19:59 -0500)]
crypto/openpgp/packet: add remainder of packet types.
(The unittest for Signature may seem a little small, but it's tested by
the higher level code.)
R=bradfitzgo
CC=golang-dev
https://golang.org/cl/
4173043
Robert Griesemer [Fri, 11 Feb 2011 00:32:51 +0000 (16:32 -0800)]
godoc: godoc: Use IsAbs to test for absolute paths (fix for win32).
One more case.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4170044
Yasuhiro Matsumoto [Fri, 11 Feb 2011 00:00:24 +0000 (16:00 -0800)]
godoc: Use IsAbs to test for absolute paths (fix for win32).
R=gri
CC=golang-dev
https://golang.org/cl/
4129046
Alex Brainman [Thu, 10 Feb 2011 23:15:51 +0000 (10:15 +1100)]
syscall: change windows apis with bool return value to return errno instead
This change is to make these apis similar to their unix counterparts.
R=rsc
CC=golang-dev
https://golang.org/cl/
4185042
Brad Fitzpatrick [Thu, 10 Feb 2011 22:36:22 +0000 (14:36 -0800)]
http: add Server type supporting timeouts
R=rsc
CC=golang-dev
https://golang.org/cl/
4172041
Russ Cox [Thu, 10 Feb 2011 20:39:08 +0000 (15:39 -0500)]
runtime: complete windows SysReserve
Should fix windows/386 build.
R=brainman
CC=golang-dev
https://golang.org/cl/
4170041
Andrew Gerrand [Thu, 10 Feb 2011 19:56:31 +0000 (06:56 +1100)]
encoding/binary: update package doc string to be more comprehensive
R=r
CC=golang-dev
https://golang.org/cl/
4128060
Roger Peppe [Thu, 10 Feb 2011 19:01:05 +0000 (11:01 -0800)]
fmt: fix minor typo
R=r, r2
CC=golang-dev
https://golang.org/cl/
4187041
Andrew Gerrand [Thu, 10 Feb 2011 18:48:14 +0000 (13:48 -0500)]
json: correct Marshal documentation
Fixes #1488.
R=r, rsc, rog
CC=golang-dev
https://golang.org/cl/
4168043
Wei Guangjing [Thu, 10 Feb 2011 15:22:32 +0000 (10:22 -0500)]
debug/pe: ImportedSymbols fixes
R=golang-dev, brainman, mattn, rsc
CC=golang-dev
https://golang.org/cl/
4001058
Adam Langley [Thu, 10 Feb 2011 12:56:30 +0000 (07:56 -0500)]
crypto/openpgp/packet: four more packet types.
R=bradfitzgo
CC=golang-dev
https://golang.org/cl/
4156044
Hector Chu [Thu, 10 Feb 2011 12:02:27 +0000 (23:02 +1100)]
runtime: take the callback return value from the stack
R=brainman, lxn, rsc
CC=golang-dev
https://golang.org/cl/
4126056
Rob Pike [Thu, 10 Feb 2011 01:11:01 +0000 (17:11 -0800)]
src/*: fix incorrect prints found by govet
R=gri
CC=golang-dev
https://golang.org/cl/
4169044
Ken Thompson [Thu, 10 Feb 2011 00:03:02 +0000 (16:03 -0800)]
peep: more bugs
R=r
CC=golang-dev
https://golang.org/cl/
4176042
Robert Griesemer [Wed, 9 Feb 2011 23:09:08 +0000 (15:09 -0800)]
buffer.go: minor optimization, expanded comment
R=r
CC=golang-dev
https://golang.org/cl/
4169043
Robert Griesemer [Wed, 9 Feb 2011 23:06:05 +0000 (15:06 -0800)]
godoc: optimizations: don't call Write for 0-length data
- guard some calls to Write that frequently may have 0-length data
- fix an invariant
R=r
CC=golang-dev
https://golang.org/cl/
4179041
Rob Pike [Wed, 9 Feb 2011 22:23:01 +0000 (14:23 -0800)]
template: reverse order of arguments to Execute
In line with other functions such as Fprintf, put the
thing to be written first.
Apologies for the breakages this is sure to cause.
R=rsc, gri, adg, eds, r2, aam
CC=golang-dev
https://golang.org/cl/
4169042
Robert Griesemer [Wed, 9 Feb 2011 22:08:19 +0000 (14:08 -0800)]
srcextract: HTML-escape output if so desired
This functionality was removed with CL
4169041 .
Minor simplifications.
R=r, adg
CC=golang-dev
https://golang.org/cl/
4171042
Ken Thompson [Wed, 9 Feb 2011 21:13:17 +0000 (13:13 -0800)]
peep: bug fix
R=r
CC=golang-dev
https://golang.org/cl/
4173041
Rob Pike [Wed, 9 Feb 2011 20:46:49 +0000 (12:46 -0800)]
run.bash: must make codelab before we can test it.
this will break the build, but it's already silently broken.
R=rsc
CC=golang-dev
https://golang.org/cl/
4168041
Rob Pike [Wed, 9 Feb 2011 20:46:34 +0000 (12:46 -0800)]
codelab: update due to recent changes in go/printer
R=gri, adg
CC=golang-dev
https://golang.org/cl/
4169041
Russ Cox [Wed, 9 Feb 2011 20:08:30 +0000 (15:08 -0500)]
runtime: fix memory allocation on 386
BSD and Darwin require an extra page between
end and the first mapping, and Windows has various
memory in the way too.
Fixes #1464.
R=r, r2
CC=golang-dev
https://golang.org/cl/
4167041
Russ Cox [Wed, 9 Feb 2011 19:38:33 +0000 (14:38 -0500)]
runtime: new allocation strategy for amd64
Do not reserve virtual address space.
Instead, assume it will be there when we need it,
and crash loudly if that assumption is violated.
Reserving the address space gets charged to
ulimit -v, which exceeds commonly set limits.
http://groups.google.com/group/golang-dev/msg/
7c477af5f5a8dd2c
R=r, niemeyer
CC=golang-dev
https://golang.org/cl/
4148045
Russ Cox [Wed, 9 Feb 2011 19:28:47 +0000 (14:28 -0500)]
syscall: do not use NULL for zero-length read, write
Avoids problems running Linux binaries under QEMU.
R=r, gri
CC=golang-dev
https://golang.org/cl/
4151043
Roger Peppe [Wed, 9 Feb 2011 18:57:59 +0000 (10:57 -0800)]
rpc: make more tolerant of errors.
Add Error type to enable clients to distinguish
between local and remote errors.
Also return "connection shut down error" after
the first error return rather than returning the
same error each time.
R=r
CC=golang-dev
https://golang.org/cl/
4080058
Robert Griesemer [Wed, 9 Feb 2011 17:52:32 +0000 (09:52 -0800)]
go/printer: remove notion of "Styler", remove HTML mode
Neither gofmt nor godoc are making use of a Styler (for
token-specific formatting) anymore. Stylers interacted in complicated
ways with HTML-escaping which was why the printer needed an HTML mode
in the first place.
godoc now uses a more powerful and general text formatting
function that does HTML escaping, text selection, and can
handle token-specific formatting if so desired (currently
used only for comments).
As a consequence, cleaned up uses of go/printer in godoc;
simplified the various write utility functions, and also
removed the need for the "html" template format (in favor of
html-esc which now does the same and is used more pervasively).
Applied gofmt -w src misc to verify no changes occured,
and tested godoc manually.
There should be no visible changes except that (type) code
snippets presented for godoc package documentation now
uses the same formatting as for general source code and
thus comments get the comment-specific color here as well
(not the case at the moment).
(TODO: godoc needs a good automatic test suite).
R=rsc
CC=golang-dev
https://golang.org/cl/
4152042
Adam Langley [Wed, 9 Feb 2011 13:39:31 +0000 (08:39 -0500)]
crypto/x509: add name constraints support.
R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/
4130047
Andrew Gerrand [Wed, 9 Feb 2011 05:03:08 +0000 (00:03 -0500)]
misc/dashboard: hide benchmarks link temporarily
R=rsc
CC=golang-dev
https://golang.org/cl/
4128061
Gustavo Niemeyer [Wed, 9 Feb 2011 04:50:23 +0000 (23:50 -0500)]
build: Drop syslog on DISABLE_NET_TESTS=1
Even if local, it requires communication with a daemon
which may not be available. This is creating problems
for getting an Ubuntu package going in Launchpad's PPA.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
3989062