summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1548-45616/+139794
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý107-514/+1823
2012-05-02Imported Upstream version 1.0.1upstream/1.0.1Ondřej Surý55-259/+568
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý2225-128717/+189828
2011-11-28Imported Upstream version 60.3upstream/60.3Ondřej Surý10-1566/+266
2011-10-06Imported Upstream version 60.2upstream/60.2Ondřej Surý6-37/+40
2011-09-19Imported Upstream version 60.1upstream/60.1Ondřej Surý13-43/+211
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý2041-0/+533926
2011-09-13Imported Upstream version 60Ondřej Surý1975-521604/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý562-7089/+22810
2011-07-13Imported Upstream version 58.1upstream/58.1Ondřej Surý8-115/+152
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý536-16183/+35026
2011-06-16Imported Upstream version 57.2upstream/57.2Ondřej Surý7-1/+146
2011-05-16Imported Upstream version 57.1upstream/57.1Ondřej Surý2-3/+33
2011-05-04Imported Upstream version 57upstream/57Ondřej Surý23-415/+564
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý407-3273/+10882
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý627-12646/+49646
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý319-4018/+12915
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý233-2454/+8521
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý407-5458/+12928
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1155-56958/+82891
2010-07-01strconv.Uitob64: allow conversion of 64-bit binaries (buffer was too small).Rob Pike2-1/+6
panic if base is invalid. R=rsc CC=golang-dev http://codereview.appspot.com/1702050
2010-07-01strings and bytes.Split: make count of 0 mean 0, not infinite.Rob Pike24-98/+123
Use a count of -1 for infinity. Ditto for Replace. R=rsc CC=golang-dev http://codereview.appspot.com/1704044 Committer: Rob Pike <r@golang.org>
2010-07-016l: drop confusing commentRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1693047
2010-07-016a: assemble CMPPD as 6l expectsRuss Cox2-4/+11
libmach: disassemble CMPPD as 6a expects R=ken2 CC=Charlie Dorian, golang-dev http://codereview.appspot.com/1704046
2010-07-016l: implement MOVLQZX as "mov", not "movsxd"Russ Cox1-1/+1
(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 issue 896. R=ken2 CC=golang-dev http://codereview.appspot.com/1733046
2010-06-30cmath: correct IsNaN for argument cmplx(Inf, NaN)Charles L. Dorian2-6/+38
R=rsc CC=golang-dev http://codereview.appspot.com/1705041 Committer: Russ Cox <rsc@golang.org>
2010-06-30goinstall: support for Bazaar+LaunchpadGustavo Niemeyer3-43/+88
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 http://codereview.appspot.com/1699050 Committer: Russ Cox <rsc@golang.org>
2010-06-30cgo: use slash-free relative paths for .so referencesRuss Cox6-10/+40
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 issue 857. R=iant, r CC=golang-dev http://codereview.appspot.com/1700048
2010-06-308g: out of register bug fixRuss Cox1-1/+3
Fixes issue 868. R=ken2 CC=golang-dev http://codereview.appspot.com/1695049
2010-06-30gc: do not crash on bad [...]TRuss Cox1-0/+5
Fixes issue 879. R=ken2 CC=golang-dev http://codereview.appspot.com/1678048
2010-06-30template: fix typo in doc commentDaniel Fleischman1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/1665047 Committer: Russ Cox <rsc@golang.org>
2010-06-30bytes, strings: add ReplaceRuss Cox4-0/+153
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 http://codereview.appspot.com/1731048
2010-06-30 x509: fix English.Adam Langley1-2/+2
(addressing comments from 1741045) R=r CC=golang-dev http://codereview.appspot.com/1678047
2010-06-30x509: support non-self-signed certs.Adam Langley2-6/+7
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 http://codereview.appspot.com/1741045
2010-06-30syscall: add socketpairIvan Krasin9-0/+67
R=rsc CC=golang-dev http://codereview.appspot.com/1319042 Committer: Russ Cox <rsc@golang.org>
2010-06-30math: amd64 versions of exp and fabsCharles L. Dorian6-11/+141
Benchmark of exp to 28 ns/op from 64 ns/op, on 2.53GHz Intel Core 2 Duo. R=rsc CC=golang-dev http://codereview.appspot.com/1594041 Committer: Russ Cox <rsc@golang.org>
2010-06-30io/ioutil.TempFile for WindowsPeter Mundy7-12/+79
Fixes issue 834. R=rsc, brainman CC=golang-dev http://codereview.appspot.com/1686047 Committer: Russ Cox <rsc@golang.org>
2010-06-30io: Avoid race condition in pipe.Ian Lance Taylor1-1/+2
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 http://codereview.appspot.com/1682048
2010-06-30http: client_test nil pointer fixAndrew Gerrand1-1/+1
Fixes issue 893. R=rsc CC=golang-dev http://codereview.appspot.com/1687045
2010-06-30godoc: canonicalize codewalk pathsAndrew Gerrand1-0/+5
R=rsc CC=golang-dev http://codereview.appspot.com/1729046
2010-06-29time: implement timezones for windowsAlex Brainman7-19/+517
Fixes issue 761. R=PeterGo, adg, rsc CC=golang-dev http://codereview.appspot.com/1121042 Committer: Russ Cox <rsc@golang.org>
2010-06-29net: initial attempt to implement windows versionAlex Brainman7-48/+861
R=rsc, Mateusz Czaplinski CC=golang-dev http://codereview.appspot.com/1600041 Committer: Russ Cox <rsc@golang.org>
2010-06-29ld: fix implementation of -uRuss Cox3-19/+57
R=r CC=golang-dev http://codereview.appspot.com/1678046
2010-06-30 net: add support for DNS SRV requests.Kirklin McDonald2-23/+82
Fixes issue 758. R=rsc, adg CC=golang-dev http://codereview.appspot.com/1078041 Committer: Andrew Gerrand <adg@golang.org>
2010-06-29runtime: fix scheduling bug - world wasn't stoppingRuss Cox1-1/+1
Fixes issue 886. R=r CC=golang-dev http://codereview.appspot.com/1667051
2010-06-29strconv: fix %.1f, 0.09Rob Pike3-6/+21
Fixes issue 822. Credit to http://codereview.appspot.com/1442041 by danielfleischman R=rsc CC=golang-dev http://codereview.appspot.com/1738047
2010-06-29strconv: fix %.2g, 40Rob Pike2-4/+21
Fixes issue 845. R=rsc CC=golang-dev http://codereview.appspot.com/1673049
2010-06-29code gen bug in len(nil) and cap(nil)Ken Thompson3-0/+12
fixes issue 892 R=rsc CC=golang-dev http://codereview.appspot.com/1745042
2010-06-29Move the function Run() back into fd.go.Vinu Rajashekhar2-46/+44
R=iant CC=golang-dev, rsc http://codereview.appspot.com/1748041 Committer: Ian Lance Taylor <iant@golang.org>