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
Nigel Tao
1c5ed263ae
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
2011-02-16 11:41:29 +11:00
Andrew Gerrand
cf994def95
doc: fix release notes anchor tag
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4178055
2011-02-16 09:41:34 +11:00
Adam Langley
a0c3b96065
crypto/tls: make protocol negotiation failure fatal
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4178054
2011-02-15 16:38:45 -05:00
Robert Griesemer
f14c29a311
go spec: minor clarification on channel types
...
No language change.
R=r, rsc, iant, ken2, r2
CC=golang-dev
https://golang.org/cl/4168050
2011-02-15 11:33:12 -08:00
Andrew Gerrand
ec487e3d75
tag release.2011-02-15
...
R=rsc
CC=golang-dev
https://golang.org/cl/4184046
2011-02-16 03:02:55 +11:00
Andrew Gerrand
d8ba9a440c
release.2011-02-15
...
R=rsc
CC=golang-dev
https://golang.org/cl/4191041
2011-02-16 02:58:08 +11:00
Adam Langley
5311d915f4
encoding/line: fix line returned after EOF
...
Fixes #1509 .
R=r
CC=golang-dev
https://golang.org/cl/4167045
2011-02-15 09:52:20 -05:00
Robert Griesemer
e6ee0d2492
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
2011-02-14 17:41:47 -08:00
Roger Peppe
34dd450fb8
rpc: properly discard values.
...
R=r, rsc, r2
CC=golang-dev
https://golang.org/cl/4171050
2011-02-14 14:51:08 -08:00
Alex Brainman
ff7d7b271f
runtime: detect failed thread creation on Windows
...
Fixes #1495 .
R=rsc
CC=golang-dev
https://golang.org/cl/4182047
2011-02-15 09:42:25 +11:00
Rob Pike
29ae8e9a98
makehtml: use append
...
The program is old and missed its opportunity.
R=gri, adg
CC=golang-dev
https://golang.org/cl/4178050
2011-02-14 11:47:19 -08:00
Rob Pike
7115eef6be
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
2011-02-14 11:25:00 -08:00
Andrew Gerrand
858972c3f9
archive/zip: handle files with data descriptors
...
Fixes #1471 .
R=rsc
CC=golang-dev
https://golang.org/cl/4183048
2011-02-15 05:42:16 +11:00
Rob Pike
1778f50da3
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
2011-02-14 10:17:30 -08:00
Hector Chu
1723fbe13e
windows: runtime: implemented console ctrl handler (SIGINT).
...
R=rsc, brainman, iant2
CC=golang-dev
https://golang.org/cl/4129049
2011-02-14 12:15:13 -05:00
Russ Cox
b9f94768f9
build: run test/ directory first
...
R=adg, r
CC=golang-dev
https://golang.org/cl/4183047
2011-02-14 09:27:02 -05:00
Robert Griesemer
6b526eb300
go/printer: line comments must always end in a newline
...
Fixes #1503 .
R=rsc
CC=golang-dev
https://golang.org/cl/4170045
2011-02-13 19:27:02 -08:00
Rob Pike
ea46bda72b
gob: allow Decode(nil) and have it just discard the next value.
...
Fixes #1489 .
R=rsc
CC=golang-dev
https://golang.org/cl/4187046
2011-02-12 18:03:54 -08:00
Rob Pike
bab5536af6
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
2011-02-12 18:03:16 -08:00
Ken Thompson
888ab02228
5ld: part of 64bit eor - forgot to check in.
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/4176046
2011-02-11 20:13:57 -08:00
Robert Griesemer
7e3d98bc9c
gofmt: exclude testcase with incorrect syntax
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4160047
2011-02-11 16:24:35 -08:00
Rob Pike
a67292f20f
strconv/ftoa: avoid a double shift. (shifts by variables are expensive.)
...
R=rsc, gri, r2
CC=golang-dev
https://golang.org/cl/4169048
2011-02-11 16:06:04 -08:00
Russ Cox
a93c994bcf
testing: include elapsed time in output
...
R=r
CC=golang-dev
https://golang.org/cl/4180045
2011-02-11 18:00:58 -05:00
Lorenzo Stoakes
b57ac97c27
gc: correct receiver in method missing error
...
Fixes #1324 .
R=rsc1, r, rsc
CC=golang-dev
https://golang.org/cl/3435042
2011-02-11 17:47:58 -05:00
Russ Cox
26880d7e03
sync: check Unlock of unlocked Mutex
...
R=r, adg
CC=golang-dev
https://golang.org/cl/4180044
2011-02-11 17:47:17 -05:00
Ken Thompson
ca5179d3f6
5ld: stoped generating 64-bit eor
...
R=rsc
CC=golang-dev
https://golang.org/cl/4182049
2011-02-11 13:22:35 -08:00
Mikio Hara
9b85d499af
syscall: remove obsolete socket IO control
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4183046
2011-02-11 16:20:31 -05:00
Petar Maymounkov
3de98466c8
http: add pipelining to ClientConn, ServerConn
...
R=rsc, bradfitzwork
CC=golang-dev
https://golang.org/cl/4082044
2011-02-11 15:05:47 -05:00
Mikio Hara
9c97af99bc
syscall: add sockaddr_dl, sysctl with routing message support for darwin, freebsd
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4171043
2011-02-11 14:34:00 -05:00