aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-13weekly.2012-03-13weekly.2012-03-13Andrew Gerrand
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5754097
2012-03-13doc: update weekly notes, untag weeklyAndrew Gerrand
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5783093
2012-03-13gc: allow ~ in import pathsRob Pike
Windows has paths like C:/Users/ADMIN~1. Also, it so happens that go/parser allows ~ in import paths. So does the spec. Fixes the build too. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5777073
2012-03-12misc/dist: better archive/tar HeadersBrad Fitzpatrick
This should live in archive/tar later (CL 5796073) but we can always do that after Go 1 and stick it here for now. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5754096
2012-03-13gc: include full text of import path in error messageRob Pike
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5783091
2012-03-13misc/dist: trim space from version stringAndrew Gerrand
This prevents us from writing filenames like "weekly.2012-03-12\n.foo.bar.tar.gz". R=bradfitz CC=golang-dev https://golang.org/cl/5783090
2012-03-13tag weekly.2012-03-12Andrew Gerrand
R=golang-dev CC=golang-dev https://golang.org/cl/5796074
2012-03-13weekly.2012-03-12Andrew Gerrand
R=golang-dev, nigeltao, bradfitz CC=golang-dev https://golang.org/cl/5783077
2012-03-13doc: increase h3 sizeAndrew Gerrand
This makes h3 and h4 more distinct, and h2 and h3 the same size. The h2 and h3 styles may be distinguished h2's background styles. This means that almost all text on the site is either 16px, 20px, or 24px. (with a smattering of 14px) R=golang-dev, r CC=golang-dev https://golang.org/cl/5754095
2012-03-13doc: windows zip archive installation instructionsAndrew Gerrand
Fixes #3254. R=golang-dev, r CC=golang-dev https://golang.org/cl/5794071
2012-03-13doc: add Go's declaration syntax articleFrancisco Souza
Originally published on The Go Programming Language Blog, July 7, 2010. I did not put any go file in doc/progs. Shoul I include Go files with those declarations? http://blog.golang.org/2010/07/gos-declaration-syntax.html Update #2547. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5795068
2012-03-12go spec: fix inaccuracy in type identity definitionRobert Griesemer
Pointed out by Steven Blenkinsop (steven099@gmail.com) via golang-nuts. R=r, dsymonds CC=golang-dev https://golang.org/cl/5783087
2012-03-13doc: update reference gopherAndrew Gerrand
R=golang-dev CC=golang-dev https://golang.org/cl/5754094
2012-03-12runtime: fix windows/amd64 exception handlerAlex Brainman
R=golang-dev, rsc CC=golang-dev, hectorchu https://golang.org/cl/5797077
2012-03-12cmd/go: fix typoRobert Hencke
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5777072
2012-03-13godoc: added alt and title attributes to the "pop out" buttonFrancisco Souza
R=adg CC=golang-dev https://golang.org/cl/5777071
2012-03-13build: update comment about GO_LDFLAGS.David Symonds
(5l/6l/8l aren't involved in building packages) R=golang-dev, robert.hencke CC=golang-dev https://golang.org/cl/5798071
2012-03-13test: actually run them on windowsAlex Brainman
R=golang-dev, r, rsc, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/5756065
2012-03-13os, syscall: windows really isn't posix compliant, fix os.IsExist()Shenghou Ma
R=golang-dev, rsc, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/5754083
2012-03-13doc/progs: skip cgo1 and cgo2 on freebsdAndrew Gerrand
FreeBSD's srandom has a different signature to darwin/linux. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5795067
2012-03-13godoc: change link styles, add 'pop out' buttonAndrew Gerrand
Remove underlines from all links, show underline on link hover. Change all non-link headings to h4, a slight visual cue. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5783088
2012-03-13godoc: use elastic layout for most pagesAndrew Gerrand
We use the absence of a Title to detect the front page. I can't find other pages without titles, so this seems reasonable. R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/5797076
2012-03-12cmd/godoc: remove sync codeBrad Fitzpatrick
Fixes #3273 R=gri CC=golang-dev https://golang.org/cl/5795065
2012-03-13godoc: fix codewalk handlerFrancisco Souza
For URLs ending with /, the handler did not work, trying to append ".xml" to the path. For instance, the "Share Memory by Communicating" returned the following error: open /Users/francisco.souza/lib/go/doc/codewalk/sharemem/.xml: no such file or directory R=adg, minux.ma CC=golang-dev https://golang.org/cl/5797065
2012-03-13doc: add C? Go? Cgo! articleFrancisco Souza
Originally published on The Go Programming Language Blog, March 17, 2011. http://blog.golang.org/2011/03/c-go-cgo.html Update #2547. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5777054
2012-03-12os/exec: fix typo in documentationFazlul Shahriar
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5797073
2012-03-12undo CL 5754088 / cae9a7c0db06Russ Cox
broke builders ««« original CL description cmd/go: respect $GOBIN always Before, we only consulted $GOBIN for source code found in $GOROOT, but that's confusing to explain and less useful. The new behavior lets users set GOBIN=$HOME/bin and have all go-compiled binaries installed there. Fixes #3269. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5754088 »»» TBR=bradfitz CC=golang-dev https://golang.org/cl/5794065
2012-03-12cmd/go: respect $GOBIN alwaysRuss Cox
Before, we only consulted $GOBIN for source code found in $GOROOT, but that's confusing to explain and less useful. The new behavior lets users set GOBIN=$HOME/bin and have all go-compiled binaries installed there. Fixes #3269. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5754088
2012-03-12runtime: fix windows/amd64Russ Cox
Maybe. TBR=bradfitz CC=golang-dev https://golang.org/cl/5754091
2012-03-12cmd/go: make go get new.code/... workRuss Cox
Fixes #2909. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5796072
2012-03-12cmd/go: make net/... match net tooRuss Cox
Otherwise there's no good way to get both, and it comes up often. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5794064
2012-03-12log: fix doc comment for LdateRuss Cox
Fixes #3303. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5795062
2012-03-12cmd/fix: add rules for net/http -> net/http/httputil renamesBrad Fitzpatrick
And merge the httputil fix into go1rename. R=golang-dev, r, dsymonds, r, rsc CC=golang-dev https://golang.org/cl/5696084
2012-03-12os: document FileInfo.Size as system-dependent for irregular filesBrad Fitzpatrick
R=rsc, r CC=golang-dev https://golang.org/cl/5795059
2012-03-12runtime: print error on receipt of signal on non-Go threadRuss Cox
It's the best we can do before Go 1. For issue 3250; not a fix but at least less mysterious. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5797068
2012-03-13build: build correct cmd/dist matching GOHOSTARCHShenghou Ma
Fix for issue 3210 comment #1. R=adg, rsc CC=golang-dev https://golang.org/cl/5794057
2012-03-13build: update Makefile to track source code dependencies betterShenghou Ma
Also update .hgignore to ignore y.output. R=rsc CC=golang-dev https://golang.org/cl/5797061
2012-03-13gc: correct comment in runtime.goShenghou Ma
R=rsc, iant CC=golang-dev https://golang.org/cl/5777057
2012-03-12cmd/go: allow ssh tunnelled bzr, git and svnIngo Oeser
This is often used in private hosting and collaborating environments. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5753063
2012-03-12codereview: fix for Mercurial 2.1Russ Cox
Mercurial: the Python of version control systems. Python: the Mercurial of programming languages. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5777066
2012-03-12html/template: doc nitRuss Cox
Execute's data is untrusted regardless of package. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5797062
2012-03-12A+C: add Ingo Oeser (individual CLA)Russ Cox
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5794061
2012-03-12net/http: return appropriate errors from ReadRequestBrad Fitzpatrick
Fixes #3298 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5783080
2012-03-12cmd/godoc: fix directory readRuss Cox
Undo CL 5783076 and apply correct fix. The /doc hack is wrong. The code to handle this case was already there and just needs a simple fix: // We didn't find any directories containing Go files. // If some directory returned successfully, use that. - if len(all) == 0 && first != nil { + if !haveGo { for _, d := range first { haveName[d.Name()] = true all = append(all, d) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5783079
2012-03-12cmd/go: stop using $GOROOT and $GOBIN in script outputRuss Cox
They were necessary to produce a canonical script when we checked in build scripts, but now they're just getting in the way. Fixes #3279. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5796068
2012-03-12archive/tar: catch short writes.David Symonds
Also make error messages consistent throughout. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5777064
2012-03-11misc/dist: use archive/tar to generate tarballsBrad Fitzpatrick
For people untarring with -p or as root, preserving file permissions. This way we don't make tars owned by adg/eng or adg/staff or whatever machine Andrew was on. Instead, we always build tarballs owned by predictable users. Except archive/tar doesn't seem to work. Updates #3209. R=golang-dev, adg CC=dsymonds, golang-dev https://golang.org/cl/5796064
2012-03-12cmd/godoc: always include /doc files in union filesystemsAndrew Gerrand
Makes Path rewrites work, as the metadata was never being scanned. Fixes #3282. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5783076
2012-03-11misc/dist: use archive/zip, seek out windows deps, add --upload flagBrad Fitzpatrick
Use archive/zip instead of 7z on Windows. Look for all Windows deps before starting build, and include looking for them in their common locations instead of making users update their PATHs. Add an --upload flag that, if set to false, doesn't require credential files. R=golang-dev, alex.brainman, adg CC=golang-dev https://golang.org/cl/5794046
2012-03-12crypto/tls, fmt: print fixesRobert Hencke
R=golang-dev, bradfitz, minux.ma, rsc, bradfitz CC=golang-dev https://golang.org/cl/5787069