Russ Cox
7c9ed7946c
8g: out of register bug fix
...
Fixes #868 .
R=ken2
CC=golang-dev
https://golang.org/cl/1695049
2010-06-30 20:45:50 -07:00
Russ Cox
ed39c764b8
gc: do not crash on bad [...]T
...
Fixes #879 .
R=ken2
CC=golang-dev
https://golang.org/cl/1678048
2010-06-30 20:34:31 -07:00
Daniel Fleischman
040f081842
template: fix typo in doc comment
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1665047
2010-06-30 19:57:26 -07:00
Russ Cox
0bf413ab8e
bytes, strings: add Replace
...
This is the Replace I suggested in the review of CL 1114041.
It's true that we already have
regexp.MustCompile(regexp.QuoteMeta(old)).ReplaceAll(s, new)
but because this Replace is doing a simpler job it is
simpler to call and inherently more efficient.
I will add the bytes implementation and tests to the
CL after the strings one has been reviewed.
R=r, cw
CC=golang-dev
https://golang.org/cl/1731048
2010-06-30 18:03:09 -07:00
Adam Langley
269df58270
x509: fix English.
...
(addressing comments from 1741045)
R=r
CC=golang-dev
https://golang.org/cl/1678047
2010-06-30 18:05:38 -04:00
Adam Langley
9c09ed13d2
x509: support non-self-signed certs.
...
For generating non-self-signed certs we need to be able to specify a
public key (for the signee) which is different from the private key (of
the signer).
R=rsc
CC=golang-dev
https://golang.org/cl/1741045
2010-06-30 18:02:31 -04:00
Ivan Krasin
400f7a6ba5
syscall: add socketpair
...
R=rsc
CC=golang-dev
https://golang.org/cl/1319042
2010-06-30 14:58:21 -07:00
Charles L. Dorian
a0117bafa0
math: amd64 versions of exp and fabs
...
Benchmark of exp to 28 ns/op from 64 ns/op,
on 2.53GHz Intel Core 2 Duo.
R=rsc
CC=golang-dev
https://golang.org/cl/1594041
2010-06-30 14:44:27 -07:00
Peter Mundy
0e25775518
io/ioutil.TempFile for Windows
...
Fixes #834 .
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/1686047
2010-06-30 13:52:34 -07:00
Ian Lance Taylor
7c1be45f58
io: Avoid race condition in pipe.
...
One goroutine started up and was waiting in rw. Then another
goroutine decided to close the pipe. The closing goroutine
stalled calling p.io.Lock() in pipeHalf.close. (This happened
in gccgo). If the closing goroutine had been able to set the
ioclosed flag, it would have gone on to tell the runner that
the pipe was closed, which would then send an EINVAL to the
goroutine sleeping in rw. Unlocking p.io before sleeping in
rw avoids the race.
R=rsc, rsc1
CC=golang-dev
https://golang.org/cl/1682048
2010-06-30 13:14:46 -07:00
Andrew Gerrand
d3c3c15b17
http: client_test nil pointer fix
...
Fixes #893 .
R=rsc
CC=golang-dev
https://golang.org/cl/1687045
2010-06-30 18:57:27 +10:00
Andrew Gerrand
4f340f5051
godoc: canonicalize codewalk paths
...
R=rsc
CC=golang-dev
https://golang.org/cl/1729046
2010-06-30 17:56:51 +10:00
Andrew Gerrand
71675c6fa0
doc/codewalk: Share Memory By Communicating
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/1727043
2010-06-30 16:56:30 +10:00
Alex Brainman
9d5f80b0c6
time: implement timezones for windows
...
Fixes #761 .
R=PeterGo, adg, rsc
CC=golang-dev
https://golang.org/cl/1121042
2010-06-29 22:29:09 -07:00
Andrew Gerrand
42852feb56
Contributors: add Kirklin McDonald (a Google employee)
...
R=gri
CC=golang-dev
https://golang.org/cl/1679045
2010-06-30 14:42:58 +10:00
Alex Brainman
bb9261bf3b
net: initial attempt to implement windows version
...
R=rsc, Mateusz Czaplinski
CC=golang-dev
https://golang.org/cl/1600041
2010-06-29 20:23:39 -07:00
Russ Cox
829896168c
ld: fix implementation of -u
...
R=r
CC=golang-dev
https://golang.org/cl/1678046
2010-06-29 18:59:48 -07:00
Kirklin McDonald
0046d51e06
net: add support for DNS SRV requests.
...
Fixes #758 .
R=rsc, adg
CC=golang-dev
https://golang.org/cl/1078041
2010-06-30 10:54:24 +10:00
Russ Cox
774333685e
runtime: fix scheduling bug - world wasn't stopping
...
Fixes #886 .
R=r
CC=golang-dev
https://golang.org/cl/1667051
2010-06-29 17:47:27 -07:00
Rob Pike
64b6a789a1
strconv: fix %.1f, 0.09
...
Fixes #822 .
Credit to https://golang.org/cl/1442041 by danielfleischman
R=rsc
CC=golang-dev
https://golang.org/cl/1738047
2010-06-29 16:51:56 -07:00
Rob Pike
21f8ae8fec
strconv: fix %.2g, 40
...
Fixes #845 .
R=rsc
CC=golang-dev
https://golang.org/cl/1673049
2010-06-29 16:39:17 -07:00
Ken Thompson
1246ad8390
code gen bug in len(nil) and cap(nil)
...
fixes #892
R=rsc
CC=golang-dev
https://golang.org/cl/1745042
2010-06-29 12:48:24 -07:00
Vinu Rajashekhar
00ad47f906
Move the function Run() back into fd.go.
...
R=iant
CC=golang-dev, rsc
https://golang.org/cl/1748041
2010-06-29 12:04:04 -07:00
Rob Pike
da69685ee5
gob: a couple of tiny simplifications using Kind()
...
R=rsc
CC=golang-dev
https://golang.org/cl/1695046
2010-06-29 10:14:32 -07:00
Alex Brainman
059c7ba996
runtime: fix windows build
...
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/1747041
2010-06-29 07:12:14 -07:00
Nigel Tao
715425bf6f
exp/draw/x11: implement the mapping from keycodes to keysyms.
...
R=rsc
CC=golang-dev, rog
https://golang.org/cl/1739042
2010-06-29 10:54:41 +10:00
Ian Lance Taylor
807605d0fc
Only catch all signals if os/signal package imported.
...
Fixes #776 .
R=rsc
CC=golang-dev
https://golang.org/cl/1745041
2010-06-28 17:14:17 -07:00
Rob Pike
d4384ff7f5
netchan: use gob DecodeValue to eliminate the need for a pointer value
...
in Import and Export.
R=rsc
CC=golang-dev
https://golang.org/cl/1707047
2010-06-28 17:12:09 -07:00
Rob Pike
12a4d84371
gob: add DecodeValue and EncodeValue
...
R=rsc
CC=golang-dev
https://golang.org/cl/1698045
2010-06-28 17:11:54 -07:00
Andrew Gerrand
6d61da6350
A+C for Peter Mundy (peterGo)
...
R=rsc
CC=golang-dev
https://golang.org/cl/1737044
2010-06-29 09:48:35 +10:00
Ken Thompson
2795282b50
compiler fatal error in switch.
...
fixes #867 .
R=rsc
CC=golang-dev
https://golang.org/cl/1691045
2010-06-28 16:30:55 -07:00
Peter Mundy
ea88de805e
syscall: Add syscall_bsd.go to zsycall_freebsd_386.go
...
Revision: 5885c9d10f created syscall_bsd.go for code used
by Darwin and other *BSDs, which should have included
FreeBSD. mksyscall.sh to generate new zsyscall_freebsd_386.go.
Fixes #862 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/1701048
2010-06-29 09:11:02 +10:00
Rob Pike
08483defac
rpc: allow non-struct args and reply (they must still be pointers)
...
R=rsc
CC=golang-dev
https://golang.org/cl/1722046
2010-06-28 16:05:54 -07:00
Rob Pike
eb20ba6d01
netchan: allow chan of basic types now that gob can handle such
...
R=rsc
CC=golang-dev
https://golang.org/cl/1741041
2010-06-28 15:59:54 -07:00
Rob Pike
5245ea771d
fmt.Printf: fix bug in handling of %#v.
...
nice side effect: slices now obey their format verb. example:
fmt.Printf("%q\n", []string{"a"})
R=rsc
CC=golang-dev
https://golang.org/cl/1729045
2010-06-28 14:11:38 -07:00
Rob Pike
a26ab29ab8
gob: allow transmission of things other than structs at the top level.
...
also fix a bug handling nil maps: before, would needlessly send empty map
R=rsc
CC=golang-dev
https://golang.org/cl/1739043
2010-06-28 14:09:47 -07:00
Vinu Rajashekhar
e0334ab798
Move the functions, newPollServer and Run, from fd.go
...
to a new source file.
R=iant, rsc
CC=golang-dev
https://golang.org/cl/1670046
2010-06-28 13:58:56 -07:00
Ken Thompson
e5d748a333
8g compiler missing call to splitclean().
...
fixes #887 .
R=rsc
CC=golang-dev
https://golang.org/cl/1675050
2010-06-28 12:19:12 -07:00
Ken Thompson
33da9afc3e
optimization of static initialization
...
R=rsc
CC=golang-dev
https://golang.org/cl/1677049
2010-06-27 17:37:01 -07:00
Rob Pike
56f3c70111
fmt.Scan: fix handling of EOFs.
...
Fixes #876 .
R=rsc
CC=golang-dev
https://golang.org/cl/1675048
2010-06-24 15:24:25 -07:00
Rob Pike
37a6bc838b
gob: add support for complex numbers
...
R=rsc
CC=golang-dev
https://golang.org/cl/1708048
2010-06-24 15:07:28 -07:00
Russ Cox
6d8b8101ea
gc: fix crash for nested complex division
...
R=ken2
CC=golang-dev
https://golang.org/cl/1720043
2010-06-23 10:55:50 -04:00
Andrew Gerrand
6e83100ae5
godashboard: add Projects page
...
R=rsc, r, gri
CC=golang-dev
https://golang.org/cl/1476041
2010-06-23 15:27:51 +01:00
Christopher Wedgwood
57e1888741
Build draw/x11. Skip for test.
...
R=nigeltao_golang
CC=golang-dev, r, rsc
https://golang.org/cl/1690043
2010-06-23 15:08:27 +10:00
Rob Pike
e05c3668d2
regexp: restore accidentally deleted test item.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1714044
2010-06-22 16:11:21 -07:00
Rob Pike
a8cd6c2012
regexp: bug fix: need to track whether match begins with fixed prefix.
...
Fixes #872 .
R=rsc
CC=golang-dev
https://golang.org/cl/1731043
2010-06-22 16:02:14 -07:00
Rob Pike
537e5f4b7e
debug/dwarf: update PDF link.
...
Fixes #881 .
R=iant
CC=golang-dev
https://golang.org/cl/1696044
2010-06-22 14:56:16 -07:00
Andrew Gerrand
00d838b7b5
misc/vim: always override filetype detection for .go files
...
R=adg
CC=golang-dev
https://golang.org/cl/1665043
2010-06-22 15:22:49 +01:00
Russ Cox
e63ae242e6
runtime: split extern.go into debug.go, extern.go, sig.go.
...
move mal next to the other malloc functions.
R=r
CC=golang-dev
https://golang.org/cl/1701045
2010-06-21 20:53:49 -07:00
Russ Cox
44ca04d3d6
big, bytes: move assembly externs to separate file
...
to make it easier to build package without assembly.
R=r, r2
CC=golang-dev
https://golang.org/cl/1680045
2010-06-21 19:53:08 -07:00