- 06 Mar, 2012 33 commits
-
-
Shenghou Ma authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5754051
-
Rob Pike authored
SameFile has a bug. R=golang-dev TBR=rsc CC=golang-dev https://golang.org/cl/5754055
-
Shenghou Ma authored
Due to removal of go_tutorial, unused programs are removed. makehtml is unnecessary (it also gives wrong messages when the destination file doesn't exist) progs/run now compiles all remaining programs under doc/progs. Fixes #3076 (again) R=golang-dev, adg CC=golang-dev https://golang.org/cl/5755053
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5759051
-
Andrew Gerrand authored
This is a philosophical document. We can soup it up at a later stage, but for now it's nice to have a URL to point to that isn't a mailing list post. R=golang-dev, r CC=golang-dev https://golang.org/cl/5676061
-
Robert Griesemer authored
R=golang-dev CC=golang-dev https://golang.org/cl/5752059
-
Robert Griesemer authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5756045
-
Adam Langley authored
Fixes #3216. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5755056
-
Shenghou Ma authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5752058
-
Ian Lance Taylor authored
R=golang-dev CC=golang-dev https://golang.org/cl/5756044
-
Maxim Pimenov authored
Either documentation or implementation of go run's flags is wrong currently. This change assumes the documentation to be right. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5752054
-
Rémy Oudompheng authored
Fixes #3201. R=bradfitz, bradfitz, rsc CC=golang-dev, remy https://golang.org/cl/5753045
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5753048
-
Brad Fitzpatrick authored
This CL permits using arbitrary, non-VCS-qualified URLs as aliases for fully VCS-qualified and/or well-known code hosting sites. Example 1) A VCS-qualified URL can now be shorter. Before: $ go get camlistore.org/r/p/camlistore.git/pkg/blobref After: $ go get camlistore.org/pkg/blobref Example 2) A custom domain can be used as the import, referencing a well-known code hosting site. Before: $ go get github.com/bradfitz/sonden After: $ go get bradfitz.com/pkg/sonden The mechanism used is a <meta> tag in the HTML document retrieved from fetching: https://<import>?go-get=1 (preferred) http://<import>?go-get=1 (fallback) The meta tag should look like: <meta name="go-import" content="import-alias-prefix vcs full-repo-root"> The full-repo-root must be a full URL root to a repository containing a scheme and *not* containing a ".vcs" qualifier. The vcs is one of "git", "hg", "svn", etc. The import-alias-prefix must be a prefix or exact match of the package being fetched with "go get". If there are multiple meta tags, only the one with a prefix matching the import path is used. It is an error if multiple go-import values match the import prefix. If the import-alias-prefix is not an exact match for the import, another HTTP fetch is performed, at the declared root (which does *not* need to be the domain's root). For example, assuming that "camlistore.org/pkg/blobref" declares in its HTML head: <meta name="go-import" content="camlistore.org git https://camlistore.org/r/p/camlistore" /> ... then: $ go get camlistore.org/pkg/blobref ... looks at the following URLs: https://camlistore.org/pkg/blobref?go-get=1 http://camlistore.org/pkg/blobref?go-get=1 https://camlistore.org/?go-get=1 http://camlistore.org/?go-get=1 Ultimately it finds, at the root (camlistore.org/), the same go-import: <meta name="go-import" content="camlistore.org git https://camlistore.org/r/p/camlistore" /> ... and proceeds to trust it, checking out git //camlistore.org/r/p/camlistore at the import path of "camlistore.org" on disk. Fixes #3099 R=r, rsc, gary.burd, eikeon, untheoretic, n13m3y3r, rsc CC=golang-dev https://golang.org/cl/5660051
-
Alex Brainman authored
When looking for suitable tag always start from current version, not the tip. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/5731059
-
Andrew Gerrand authored
R=r, r CC=golang-dev https://golang.org/cl/5759045
-
Russ Cox authored
go/build: add Context.Compiler Fixes #3157. R=golang-dev, r CC=golang-dev https://golang.org/cl/5756047
-
Russ Cox authored
Not used yet for simpler merge. R=golang-dev, r CC=golang-dev https://golang.org/cl/5756048
-
Brad Fitzpatrick authored
Bit of a band-aid fix. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5757045
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5759044
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5754048
-
Andrew Gerrand authored
R=golang-dev, bradfitz, r, rsc CC=golang-dev https://golang.org/cl/5758044
-
Russ Cox authored
This exercises the Import function but more importantly gives us a place to write down the policy for dependencies within the Go tree. It also forces us to look at the dependencies, which may lead to adjustments. Surprises: - go/doc imports text/template, for HTMLEscape (could fix) - it is impossible to use math/big without fmt (unfixable) - it is impossible to use crypto/rand without math/big (unfixable) R=golang-dev, bradfitz, gri, r CC=golang-dev https://golang.org/cl/5732062
-
Rob Pike authored
In the test, verify the copied constants are correct. Also put the test into package utf16 rather than utf16_test; the old location was probably due creating the test from utf8, but the separation is not needed here. R=golang-dev, bradfitz, rsc, rsc, r CC=golang-dev https://golang.org/cl/5752047
-
Russ Cox authored
These appear to have been left out of the CL I submitted earlier. R=golang-dev, r CC=golang-dev https://golang.org/cl/5759043
-
Russ Cox authored
Also, tweak run.go to use no more than 2x the number of CPUs, and only one on ARM. 53.85u 13.33s 53.69r ./run 50.68u 12.13s 18.85r go run run.go Fixes #2833. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5754047
-
Russ Cox authored
R=iant, r, gri CC=golang-dev https://golang.org/cl/5720073
-
Russ Cox authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5752048
-
Andrew Gerrand authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5753047
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5755045
-
Mikio Hara authored
* Splits into three server tests. - TestStreamConnServer for tcp, tcp4, tcp6 and unix networks - TestSeqpacketConnServer for unixpacket networks - TestDatagramPacketConnServer for udp, udp4, udp6 and unixgram networks * Adds both PacketConn and Conn test clients to datagram packet conn tests. * Fixes wildcard listen test cases on dual IP stack platform. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5701066
-
Ian Lance Taylor authored
As runtime.UintType is no longer defined, the gccgo error messages have changed. bug388.go:12:10: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:12:10: error: invalid named/anonymous mix bug388.go:13:21: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:17:10: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:18:18: error: reference to undefined identifier ‘runtime.UintType’ bug388.go:22:9: error: non-name on left side of ‘:=’ bug388.go:27:10: error: expected type bug388.go:32:9: error: expected type bug388.go:23:14: error: reference to field ‘i’ in object which has no fields or methods R=golang-dev, gri CC=golang-dev https://golang.org/cl/5755044
-
Rob Pike authored
The dependency was there only to pull in two constants. Now we define them locally and verify equality in the test. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5754046
-
- 05 Mar, 2012 7 commits
-
-
Ian Lance Taylor authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5757043
-
Robert Griesemer authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5756043
-
Emil Hessman authored
go.xclangspec is identical to the one in misc/xcode/3/, except for the heading. Partial workaround for issue 2401. R=gri CC=golang-dev https://golang.org/cl/5732051
-
Robert Griesemer authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5754044
-
David Symonds authored
R=bradfitz CC=golang-dev https://golang.org/cl/5754043
-
Andrew Gerrand authored
R=golang-dev, bsiegert, jdpoirier CC=golang-dev https://golang.org/cl/5727059
-
Rémy Oudompheng authored
Fixes #3182. R=golang-dev, dvyukov, rsc CC=golang-dev, remy https://golang.org/cl/5732057
-