Mikael Tillenius
ca0d483014
image/png: support for more formats
...
Added support for reading images with grayscale + alpha and
for images with depth 1, 2 or 4.
R=nigeltao
CC=golang-dev
https://golang.org/cl/4174053
2011-02-22 10:04:32 +11:00
Nigel Tao
c015dd21b8
A+C: Mikael Tillenius (individual CLA)
...
R=dsymonds
CC=golang-dev
https://golang.org/cl/4179063
2011-02-21 15:04:13 +11:00
Luuk van Dijk
db22e236fd
runtime-gdb.py: gdb pretty printer for go strings properly handles length.
...
R=rsc, r2
CC=golang-dev
https://golang.org/cl/4183060
2011-02-20 18:53:23 +01:00
Rob Pike
e041b9980c
spec: delete incorrect obsolete mention of selector working on
...
pointer to interface type.
R=golang-dev, niemeyer, gri
CC=golang-dev
https://golang.org/cl/4173067
2011-02-19 15:04:56 -08:00
Adam Langley
7b166cd73c
crypto/openpgp/packet: comment typo fix.
...
R=rsc
CC=golang-dev
https://golang.org/cl/4178065
2011-02-19 10:41:57 -05:00
Dave Cheney
8a8ecda54a
build: reduce the use of subshells in recursive make
...
Using make -C $* rather than (cd $* ; make) results in a small,
but measurable improvement in build times where compilation is
not the major component. eg.
before - ~/go/src/pkg$ time make
real 0m1.176s
user 0m0.639s
sys 0m0.399s
after - ~/go/src/pkg$ time make
real 0m0.916s
user 0m0.571s
sys 0m0.243s
There are other places in the distribution src/make.common for example
that could also benefit from this change.
R=adg
CC=golang-dev, rsc
https://golang.org/cl/4174055
2011-02-19 10:49:46 +11:00
Andrew Gerrand
79ba1ce076
misc/dashboard: tweak build fail notification email
...
R=rsc
CC=golang-dev
https://golang.org/cl/4170063
2011-02-19 07:37:24 +11:00
Dave Cheney
90847a8577
net: fix multicast tests
...
R=rsc, mikioh, rsc1, dho
CC=golang-dev
https://golang.org/cl/4174056
2011-02-18 13:48:13 -05:00
Rob Pike
7e6488f9ad
crypto/openpgp/packet: fix testing print (missing arg)
...
R=agl
CC=golang-dev
https://golang.org/cl/4173062
2011-02-18 10:47:38 -08:00
Andrew Gerrand
06a923ada0
godoc: serve robots.txt raw
...
R=gri, niemeyer, rsc, r2, r
CC=golang-dev
https://golang.org/cl/4188063
2011-02-19 05:46:20 +11:00
Gustavo Niemeyer
3173821a8c
.hgignore: add doc/codelab/wiki/*.bin
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4173063
2011-02-19 05:44:53 +11:00
Russ Cox
7081e67565
runtime: handle non-standard call sequences in arm traceback
...
R=r
CC=golang-dev
https://golang.org/cl/4191048
2011-02-18 13:30:29 -05:00
Russ Cox
f07a45f23d
fix build
...
pieces of an upcoming CL leaked into CL 4168056
TBR=r
CC=golang-dev
https://golang.org/cl/4180057
2011-02-18 12:37:16 -05:00
Russ Cox
d3ac545f80
runtime: record $GOROOT_FINAL for runtime.GOROOT
...
Update #1527 .
R=adg, oerdnj
CC=golang-dev
https://golang.org/cl/4171060
2011-02-18 11:35:43 -05:00
Russ Cox
afac1c2654
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
2011-02-18 11:35:36 -05:00
Adam Langley
193709736f
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
2011-02-18 11:31:10 -05:00
Robert Griesemer
547918e363
go/scanner: update comment
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4184053
2011-02-17 17:22:16 -08:00
Gustavo Niemeyer
6d9db54be5
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
2011-02-17 16:17:33 -08:00
Wei Guangjing
8ba4df2e9a
6l: pe fixes
...
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/4182061
2011-02-18 10:58:47 +11:00
Nigel Tao
42ed1ad4a6
html: small documentation fix.
...
R=rsc
CC=golang-dev
https://golang.org/cl/4169058
2011-02-18 10:35:49 +11:00
Russ Cox
063125dfcf
http: send full URL in proxy requests
...
Fixes #53 . (again)
R=agl1
CC=golang-dev
https://golang.org/cl/4167054
2011-02-17 17:14:50 -05:00
Russ Cox
f80d002438
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
2011-02-17 17:14:19 -05:00
Russ Cox
6e03ed32c7
gc: interface error message fixes
...
Fixes #1526 .
R=ken2
CC=golang-dev
https://golang.org/cl/4190051
2011-02-17 16:33:26 -05:00
Russ Cox
dd7403b1b8
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
2011-02-17 16:32:50 -05:00
Russ Cox
f2852ba618
runtime: descriptive panics for use of nil map
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4173060
2011-02-17 16:08:52 -05:00
Albert Strasheim
712888910b
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
2011-02-17 15:14:41 -05:00
Andrew Gerrand
00d8d0052a
misc/dashboard: notify golang-dev on build failure
...
Fixes #1229 .
R=rsc
CC=golang-dev
https://golang.org/cl/4178048
2011-02-18 03:34:22 +11:00
Rob Pike
6095ff3864
Effective Go: stress that comments are uninterpreted text
...
that should look in godoc.
R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/4192041
2011-02-16 22:35:31 -08:00
Rob Pike
eb8688154b
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
2011-02-16 22:01:57 -08:00
Andrew Gerrand
6ccc96eea9
doc/devel/release: discuss StartProcess in release notes
...
R=rsc
CC=golang-dev
https://golang.org/cl/4172051
2011-02-16 21:20:50 -05:00
Alex Brainman
946cdf82bc
syscall: fix windows SetFileAttributes
...
R=golang-dev, rsc, hector
CC=golang-dev, mattn
https://golang.org/cl/4180052
2011-02-17 12:09:12 +11:00
Alex Brainman
6cf98a4553
net: fix windows build
...
R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/4184051
2011-02-17 12:00:02 +11:00
Nigel Tao
a5ff8ad9db
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
2011-02-17 10:45:30 +11:00
Jeff R. Allen
3a2d64789b
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
2011-02-16 17:57:15 -05:00
Dave Cheney
0856731daa
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
2011-02-16 15:07:13 -05:00
Mikio Hara
9b66129fe3
net: more accurate IPv4-in-IPv6 API test
...
R=rsc
CC=golang-dev
https://golang.org/cl/4172045
2011-02-16 15:05:48 -05:00
Olivier Antoine
df4b22fcff
net: reject invalid net:proto network names
...
R=rsc
CC=golang-dev
https://golang.org/cl/4129042
2011-02-16 15:03:47 -05:00
Russ Cox
acad4e0cf9
A+C: Olivier Antoine (individual CLA)
...
Also sort name lists.
R=r, r2
CC=golang-dev
https://golang.org/cl/4191044
2011-02-16 15:02:08 -05:00
Gustavo Niemeyer
05b1dbd0a6
sync: add Cond
...
R=rsc, rog, r
CC=golang-dev
https://golang.org/cl/3775048
2011-02-16 14:11:07 -05:00
Russ Cox
52ffb6af00
os: remove ENODATA (fixes freebsd build)
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4175053
2011-02-16 14:10:52 -05:00
Yasuhiro Matsumoto
f04b5a3bac
http: add proxy support
...
Fixes #53 .
R=agl1, jacek.masiulaniec, adg, rsc, agl
CC=golang-dev
https://golang.org/cl/3794041
2011-02-16 14:06:50 -05:00
Rob Pike
be560e0401
reflect: add a couple of sentences explaining how Methods operate.
...
R=rsc, gri, rsc1, bsiegert
CC=golang-dev
https://golang.org/cl/4183053
2011-02-16 11:01:21 -08:00
Rob Pike
65ece70812
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
2011-02-16 10:46:29 -08:00
Russ Cox
250977690b
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
2011-02-16 13:21:20 -05:00
Russ Cox
6779350349
runtime: minor cleanup
...
implement runtime.casp on amd64.
keep simultaneous panic messages separate.
R=r
CC=golang-dev
https://golang.org/cl/4188053
2011-02-16 13:21:13 -05:00
Albert Strasheim
e881d42f87
os: add ENODATA and ENOTCONN
...
syscall: add MCL_* flags for mlockall
R=rsc
CC=golang-dev
https://golang.org/cl/4177044
2011-02-16 13:19:31 -05:00
Roger Peppe
1a96391971
netchan: allow use of arbitrary connections.
...
R=r, r2, rsc
CC=golang-dev
https://golang.org/cl/4119055
2011-02-16 08:14:41 -08:00
Yasuhiro Matsumoto
a54cbcec88
syscall: implement chmod() for win32.
...
R=golang-dev, rsc, brainman
CC=golang-dev
https://golang.org/cl/4175049
2011-02-16 16:24:59 +11:00
Alex Brainman
074354c2ea
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
2011-02-16 16:08:42 +11:00
Yasuhiro Matsumoto
186b07afff
syscall: fix inverse checking of result code on windows.
...
R=golang-dev, brainman, rsc
CC=golang-dev
https://golang.org/cl/4179049
2011-02-16 16:07:04 +11:00