- 02 Jul, 2010 3 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1712048
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1734046
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1741047
-
- 01 Jul, 2010 15 commits
-
-
Rob Pike authored
panic if base is invalid. R=rsc CC=golang-dev https://golang.org/cl/1702050
-
Rob Pike authored
Use a count of -1 for infinity. Ditto for Replace. R=rsc CC=golang-dev https://golang.org/cl/1704044
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1693047
-
Russ Cox authored
libmach: disassemble CMPPD as 6a expects R=ken2 CC=Charlie Dorian, golang-dev https://golang.org/cl/1704046
-
Russ Cox authored
(Here, quoted strings are the official AMD names.) The amd64 "movsxd" instruction, when invoked with a 64-bit REX prefix, moves and sign extends a 32-bit value from register or memory into a 64-bit register. 6.out.h spells this MOVLQSX. 6.out.h also includes MOVLQZX, the zero extending version, which it implements as "movsxd" without the REX prefix. Without the REX prefix it's only sign extending 32 bits to 32 bits (i.e., not doing anything to the bits) and then storing in a 32-bit register. Any write to a 32-bit register zeros the top half of the corresponding 64-bit register, giving the advertised effect. This particular implementation of the functionality is non-standard, because an ordinary 32-bit "mov" would do the same thing. Because it is non-standard, it is often mishandled or not handled by binary translation tools like valgrind. Switching to the standard "mov" makes the binaries work better with those tools. It's probably useful in 6c and 6g to have an explicit instruction, though, so that the intent of the size change is clear. Thus we leave the concept of MOVLQZX and just implement it by the standard "mov" instead of the non-standard 32-bit "movsxd". Fixes #896. R=ken2 CC=golang-dev https://golang.org/cl/1733046
-
Charles L. Dorian authored
R=rsc CC=golang-dev https://golang.org/cl/1705041
-
Russ Cox authored
R=iant CC=golang-dev https://golang.org/cl/1666048
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1650041
-
Gustavo Niemeyer authored
With these changes, goinstall is now able to use branches maintained with Bazaar located in Launchpad. Project aliases such as /project and /project/series are supported in addition to specific user or team branches such as /~user/project/branch. Temporary branches under the +junk special project are also supported. As a curious side effect, since Launchpad is able to import code from other locations, they can be indirectly accessible too if desired. R=rsc CC=golang-dev https://golang.org/cl/1699050
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/1693046
-
Russ Cox authored
The Makefile and cgo now rewrite / to _ when creating the path. The .so for gosqlite.googlecode.com/hg/sqlite is named cgo_gosqlite.googlecode.com_hg_sqlite.so, and then 6l and 8l both include a default rpath of $GOROOT/pkg/$GOOS_$GOARCH. This should make it easier to move binaries from one system to another. Fixes #857. R=iant, r CC=golang-dev https://golang.org/cl/1700048
-
Russ Cox authored
Fixes #868. R=ken2 CC=golang-dev https://golang.org/cl/1695049
-
Russ Cox authored
Fixes #879. R=ken2 CC=golang-dev https://golang.org/cl/1678048
-
Daniel Fleischman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/1665047
-
Russ Cox authored
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
-
- 30 Jun, 2010 15 commits
-
-
Adam Langley authored
(addressing comments from 1741045) R=r CC=golang-dev https://golang.org/cl/1678047
-
Adam Langley authored
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
-
Ivan Krasin authored
R=rsc CC=golang-dev https://golang.org/cl/1319042
-
Charles L. Dorian authored
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
-
Peter Mundy authored
Fixes #834. R=rsc, brainman CC=golang-dev https://golang.org/cl/1686047
-
Ian Lance Taylor authored
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
-
Andrew Gerrand authored
Fixes #893. R=rsc CC=golang-dev https://golang.org/cl/1687045
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1729046
-
Andrew Gerrand authored
R=r, rsc CC=golang-dev https://golang.org/cl/1727043
-
Alex Brainman authored
Fixes #761. R=PeterGo, adg, rsc CC=golang-dev https://golang.org/cl/1121042
-
Andrew Gerrand authored
R=gri CC=golang-dev https://golang.org/cl/1679045
-
Alex Brainman authored
R=rsc, Mateusz Czaplinski CC=golang-dev https://golang.org/cl/1600041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1678046
-
Kirklin McDonald authored
Fixes #758. R=rsc, adg CC=golang-dev https://golang.org/cl/1078041
-
Russ Cox authored
Fixes #886. R=r CC=golang-dev https://golang.org/cl/1667051
-
- 29 Jun, 2010 7 commits
-
-
Rob Pike authored
Fixes #822. Credit to https://golang.org/cl/1442041 by danielfleischman R=rsc CC=golang-dev https://golang.org/cl/1738047
-
Rob Pike authored
Fixes #845. R=rsc CC=golang-dev https://golang.org/cl/1673049
-
Ken Thompson authored
fixes #892 R=rsc CC=golang-dev https://golang.org/cl/1745042
-
Vinu Rajashekhar authored
R=iant CC=golang-dev, rsc https://golang.org/cl/1748041
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1695046
-
Alex Brainman authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/1747041
-
Nigel Tao authored
R=rsc CC=golang-dev, rog https://golang.org/cl/1739042
-