## golang/go — weekly.2012-03-04…weekly.2012-03-13

_245+ commits._

### Features
- **doc: add Go's declaration syntax article** (6033a48)
- **godoc: change link styles, add 'pop out' button** (e8636a6)
- **doc: add C? Go? Cgo! article** (60b98d6)
- **cmd/go: make go get new.code/... work** (4e18bfb)
- **A+C: add Ingo Oeser (individual CLA)** (b23b001)
- **misc/dist: use archive/zip, seek out windows deps, add --upload flag** (2ae8605)
- **A+C: Add Gwenael Treguier (Individual CLA)** (3492f32)
- **go/build: add NoGoError** (6a19ae7)
- **database/sql{,driver}: add ErrBadConn** (9fb68a9)
- **cmd/godoc: add support for serving templates** (a40065a)
- **doc: add go command notes to the Go 1 doc** (70db237)
- **go/build, cmd/go: add support for .syso files** (b099633)
- **crypto/x509: new home for root fetchers; build chains using Windows API** (a324a5a)

### Fixes
- **go spec: fix inaccuracy in type identity definition** (82fc28c)
- **runtime: fix windows/amd64 exception handler** (16ade99)
- **cmd/go: fix typo** (4809ad6)
- **os, syscall: windows really isn't posix compliant, fix os.IsExist()** (0238cec)
- **godoc: fix codewalk handler** (bb6e685)
- **os/exec: fix typo in documentation** (c7cca27)
- **runtime: fix windows/amd64** (2d3cc97)
- **log: fix doc comment for Ldate** (0af08d8)
- **cmd/fix: add rules for net/http -> net/http/httputil renames** (a7c9f24)
- **codereview: fix for Mercurial 2.1** (bd71072)
- **cmd/godoc: fix directory read** (da8efae)
- **doc: fix typo in contribute.html** (959d0c7)
- **database/sql: fix double connection free on Stmt.Query error** (3297fc6)
- **net/mail: close minor TODO that was waiting on a 6g bug fix.** (81a38fb)
- **net/http: fix crash with Transport.CloseIdleConnections** (b2e9f42)
- **archive/zip: write data descriptor signature for OS X; fix bugs reading it** (3cea413)
- **cmd/vet: fix typo in documentation** (1e37450)
- **net: fix typo** (26fa1c8)
- **runtime: fix windows build** (8a1b3d5)
- **cmd/go: add env command, use to fix misc/cgo/testso** (2c46569)
- **cmd/gofmt: fix race in long test** (dfb1af4)
- **doc: fix metadata in go_mem.html** (5ca13f6)
- **doc: fix freebsd build** (d56e0e7)
- **cmd/go: support -compiler for go list, fix isStale for gccgo.** (5c4d6eb)
- **encoding/gob: fix memory corruption** (c8b1f85)
- **runtime: fix freebsd crash** (b0beeb1)
- **cmd/go: fix go test -compiler** (807aadc)
- **make.bash: fix old builds** (318465b)
- **test/run: fix builders** (7124736)

### Backend
- **weekly.2012-03-13** (9ef03fd)
- **doc: update weekly notes, untag weekly** (f4bf4c3)
- **gc: allow ~ in import paths** (d0a4c9b)
- **misc/dist: better archive/tar Headers** (c405b58)
- **gc: include full text of import path in error message** (daacba5)
- **misc/dist: trim space from version string** (677caf7)
- **tag weekly.2012-03-12** (51db4bb)
- **weekly.2012-03-12** (f0aeac1)
- **doc: increase h3 size** (c9f1f56)
- **doc: windows zip archive installation instructions** (cf46040)
- **doc: update reference gopher** (8819077)
- **godoc: added alt and title attributes to the "pop out" button** (170301d)
- **doc/progs: skip cgo1 and cgo2 on freebsd** (d2d7de9)
- **godoc: use elastic layout for most pages** (2b8bc93)
- **cmd/godoc: remove sync code** (d46438c)
- **undo CL 5754088 / cae9a7c0db06** (bf09a8c)
- **cmd/go: respect $GOBIN always** (bccafa7)
- **cmd/go: make net/... match net too** (b70925d)
- **os: document FileInfo.Size as system-dependent for irregular files** (4edd53e)
- **runtime: print error on receipt of signal on non-Go thread** (b236911)
- **gc: correct comment in runtime.go** (d3191f5)
- **cmd/go: allow ssh tunnelled bzr, git and svn** (d13b245)
- **html/template: doc nit** (4084f08)
- **net/http: return appropriate errors from ReadRequest** (e8deb3f)
- **cmd/go: stop using $GOROOT and $GOBIN in script output** (376fc74)
- **archive/tar: catch short writes.** (d75abb7)
- **misc/dist: use archive/tar to generate tarballs** (ac0789c)
- **cmd/godoc: always include /doc files in union filesystems** (92d4af3)
- **crypto/tls, fmt: print fixes** (663a771)
- **cmd/vet: little tweak to tagged literal script to get it closer to drop-in format.** (2e1bc9e)
- **misc/dist: minimum target requirement is 10.6 for Darwin** (0c74d86)
- **cmd/api: work on Windows again, and make gccgo files work a bit more** (e31fa68)
- **cmd/api: set compiler for all build contexts.** (764880e)
- **cmd/go: local import fixes** (cd7ae05)
- **database/sql: ensure Stmts are correctly closed.** (c3954dd)
- **archive/zip: verify CRC32s in non-streamed files** (98cfe67)
- **crypto/x509: do not forget to free cert context** (9fffe45)
- **go/printer: example for Fprint** (ece0d0e)
- **cmd/gc: import path cannot start with slash on Windows** (29199aa)
- **cmd/dist, cmd/go: move CGO_ENABLED from 'go tool dist env' to 'go env'** (6d4da06)
- **C+A: added Jeremy Jackins (Individual CLA)** (0d92614)
- **go/printer, gofmt: nicer formatting of multi-line returns** (49d2d98)
- **runtime: move runtime.write back to C** (c9e5600)
- **misc/dist: produce a zip file under windows** (08a5d73)
- **cmd/go: document import path meta tag discovery in go help remote** (312ff5b)
- **runtime: inline calls to notok** (36aa7d4)
- **all: gofmt -w -s src misc** (56cae1c)
- **hgignore: ignoring misc/cgo/testso/main instead of /misc/cgo/testso/testso** (b492bbe)
- **doc: various update to command documents** (736ff44)
- **misc/cgo: re-enable testso** (dc57ed8)
- **cgo, runtime: diagnose callback on non-Go thread** (9b73238)
- **go/parser: use test harness for short tests** (9b7b574)
- **crypto/x509: allow server gated crypto in windows systemVerify** (3133b14)
- **net: document ReadMsgUnix, WriteMsgUnix** (e38c5fb)
- **time: mention receiver in Unix, UnixNano docs** (2ee538b)
- **cmd/go: rebuild external test package dependencies** (2b64e00)
- **undo CL 5699082 / 6223c9fe432b** (52db02b)
- **fmt: minor tweak of package doc to show headings in godoc** (d7d1b18)
- **misc/dashboard: remove obsolete package builder code** (8a146e7)
- **doc: drop google +1 button from the home page** (b6618c1)
- **go_spec: no known implementation differences anymore** (11d8b15)
- **doc/go1: template packages have changed since r60** (1cd272d)
- **go/build: do not parse .syso files** (2b8a7ad)
- **go/parser: avoid endless loop in case of internal error** (f3c39d8)
- **doc: link to go1 and go1compat from docs index** (c9836be)
- **cmd/gc: implement len(array) / cap(array) rule** (d4fb568)
- **cmd/cgo: silence const warnings** (43d71e7)
- **doc: pngcrush and remove old, unused images** (94f2335)
- **cmd/gc: delete old map delete in walk** (9069721)
- **doc: link to sub-repositories from reference page** (cfe007e)
- **io: minor change in io.WriteAt docs.** (686d699)
- **go/scanner: better panic diagnostic** (5827dd0)
- **windows: make background of gopher icon transparent** (a2f0397)
- **doc/go1.tmpl: small change left behind from abf39116ffac** (a93047a)
- **path/filepath: retrieve real file name in windows EvalSymlinks** (0029b0d)
- **go/parser: better error synchronization** (c8981c7)
- **doc/go_mem: init-created goroutine behavior changes for Go 1** (6b770f0)
- **net, net/rpc, reflect, time: document concurrency guarantees** (babbf94)
- **testing: do not print 'no tests' when there are examples** (291636b)
- **runtime: try extending arena size in 32-bit allocator.** (3dcedb6)
- **doc: give up on OS X Leopard** (a6ce691)
- **io: more docs on WriterAt** (0210f41)
- **deps: allow crypto/x509 to use syscall** (4aab880)
- **go/parser: better error sync. if commas are missing** (9e8e4a9)
- **godoc: update documentation** (3a065c5)
- **net: delete usableLocalPort from test** (a385f38)
- **doc: update effective_go.tmpl** (562bccf)
- **runtime/pprof: disable test on Leopard 64-bit** (b37841c)
- **cmd/cgo: document CGO_LDFLAGS and CGO_CFLAGS** (f4b40d9)
- **doc: update Effective Go init section** (e8d1852)
- **doc: delete faq question about 6g** (4080728)
- **undo CL 5754063 / e23b66fcfc94** (afb1b0e)
- **net: use IANA reserved port to test dial timeout** (ae7a843)
- **cmd/gc: unnamed struct types can have methods** (4267974)
- **cmd/gc: do not confuse unexported methods of same name** (987a580)
- **exp/wingui: getting relocated to** (5aee1f3)
- **cmd/go: always provide .exe suffix on windows** (6a42616)

### Tests
- **test: actually run them on windows** (7c12849)
- **test: skip . files in directory** (c978a5a)
- **test: enable method expression tests in ddd.go** (b514f0b)
- **test: fix testlib to not pass an empty argument to 6g** (72faa03)
- **test: add inherited interface test to ddd.go** (e54ad64)
- **test: fix typo** (08854b0)
- **test: invoke go command in run.go** (105c5fa)

### Chore
- **build: update comment about GO_LDFLAGS.** (fa6d3ab)
- **build: build correct cmd/dist matching GOHOSTARCH** (7280129)
- **build: update Makefile to track source code dependencies better** (0359621)
- **build: re-enable some broken tests in run.bash** (90010f8)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/golang/go?utm_source=github-action)._