## golang/go — weekly.2012-02-07…weekly.2012-02-14

_236+ commits._

### Features
- **os/exec: add some examples** (dabf3db)
- **strings: add Bernardo O'Higgins example** (d6a3650)
- **doc: add playground.js** (3509687)
- **doc: add App Engine docs to 'learn' and 'reference' pages** (dd91d83)
- **bytes: add Reader** (977e8d1)
- **cgo: add support for returning errno with gccgo.** (f8f0a2b)
- **doc: update install.html for binary distros, add install-source.html** (e07f089)
- **syscall: update BSD variants to sync with new os/signal** (adc1e0b)
- **net/http: add a Linux-only sendfile test** (b8df361)
- **8a, 8l: add LFENCE, MFENCE, SFENCE** (aaac05a)
- **godoc: new design** (d84de09)
- **misc/dist: add binary distribution packaging script for linux** (159ee8a)
- **strconv: add tests for issue 2917** (f7a3683)
- **effective_go: use new map deletion syntax** (14efdea)
- **gc: add test case for issue 1743** (12fab9d)
- **CONTRIBUTORS: add Bjorn Tipling <bjorn.tipling@gmail.com>** (ec87811)
- **compress: add comments to gzip and zlib.** (18f5183)

### Fixes
- **fix: add fix for bufio, gzip, zlib NewWriterXxx changes.** (da8f037)
- **doc: fix snapshot notes** (eccc22e)
- **reflect: fix panic strings** (cc8e12b)
- **doc: fix codewalk/markov.go** (932cdfb)
- **lib/godoc: fix subdirectories html reference** (b4d32d8)
- **runtime: fix grsec support** (8eee153)
- **gc: fix comment in mkbuiltin** (87a04c0)
- **go1.tmpl: fix merge** (c2e58dc)
- **builder: fix windows environment** (db93edf)
- **runtime: on 386, fix FP control word on all threads, not just initial thread** (1707a99)
- **5g: fix memory corruption** (1c987a3)
- **net: fix windows build** (8c4fecd)
- **runtime/debug: fix build** (0995aba)
- **runtime, syscall, os/signal: fix windows build** (07a2989)
- **net/http: fix client goroutine leak with persistent connections** (d0a7d01)
- **cmd/api: fix typo.** (e8d30eb)
- **fix build for Linux/ARM.** (31ab16f)
- **runtime, syscall: fix freebsd-386 build** (2d53d22)
- **runtime, syscall: fix freebsd build** (7c2607a)
- **fix: add fix for crypto type change** (d3f9f21)
- **exp/norm: fix typo** (c11361e)
- **crypto/...: more fixes for bug 2841** (cdd7e02)
- **gc, 8g, 8l: fix a handful of warnings** (dbec421)
- **cmd/fix: warn about exp, old, deleted packages** (8781536)
- **net/http: fix http_proxy parsing** (fb2caa3)
- **go1: fix old reference to Sys method** (aee1c38)
- **pprof: fix import path in the documentation** (7531e8c)
- **net: fix windows build** (9387d11)
- **gc: fix bug introduced earlier** (2f3d695)
- **gofmt: fix error message in test** (2233942)
- **gc: fix import of struct type in struct literal** (77aaa35)
- **5g: fix out of registers bug** (a7b83f2)
- **8g: fix opt bug** (5340510)
- **6g: fix out of registers bug** (ca5da31)
- **net: fix comment, make use of listenerBacklog** (76a1cb5)
- **fix build: update image/png test** (21a3ace)
- **net/http: fix reference to URL.RawPath in docs** (0846e27)
- **os,syscall: fix windows build** (fbab6d8)

### Backend
- **cmd/dist: xprintf() can't output whole of 'dist env'.** (6fae34d)
- **weekly.2012-02-14** (d2f65a6)
- **A+C: Lai Jiangshan** (4853cb9)
- **bytes,strings: make *Reader implement io.ReaderAt** (7127b6f)
- **net/http: make strace test more robust** (c210ddf)
- **doc: grey out line numbers** (a503153)
- **godoc: make godoc go work** (3a582a7)
- **cmd/go: a raft of fixes** (9f33317)
- **runtime, time: accelerate tests in short mode.** (2a6e699)
- **os: rename SyscallError.Errno to SyscallError.Err** (9f8c2c8)
- **syscall: linux Tgkill takes a Signal too** (33f7596)
- **go/doc: treat predeclared error interface like an exported type** (1076d4e)
- **net: prefer an IPv4 listen if no address given** (6fbe805)
- **cmd/vet: give warning for construct 'Println(os.Stderr, ...)'** (60e4d56)
- **time: use "2006-01-02 15:04:05.999999999 -0700 MST" as String format** (d599acc)
- **go/doc, godoc: regard lone examples as "whole file" examples** (e11632e)
- **net/http: more robust test** (adb1a6c)
- **syscall: regenerate z-files for openbsd** (7959960)
- **net: avoid Shutdown during Close** (5e4e3d8)
- **net: disable multicast test on Alpha GNU/Linux** (b7360b9)
- **cmd/dist: exclude cov and prof from releases** (82568c5)
- **cmd/go: go get scheme detection** (dcf5ca7)
- **A+C: Daniel Krech (individual CLA)** (222e2ee)
- **net: disable TestDialTimeout on Windows** (0603b9e)
- **net/http: re-enable test** (c2a1157)
- **runtime: use startpanic so that only one thread handles an incoming SIGQUIT** (55a5469)
- **net/http: don't spin on temporary accept failure** (913abfe)
- **testing: let runtime catch the panic.** (bf28383)
- **godoc: list examples in index** (5ab935f)
- **go/parser: better error messages for missing commas** (e3f11b3)
- **cmd/dist: cross-compiling fixes** (7b848c6)
- **net/http: disable buggy test** (569ef7d)
- **mime: unexport some internal details** (9df6fdc)
- **doc: color comments** (763716a)
- **archive/zip: hide Write method from *Writer type** (04868b2)
- **cmd/cgo: omit //line in -godefs, -cdefs output** (4228262)
- **gc: delete old unsafe functions** (1f2445d)
- **go/doc: don't lose exported consts/vars with unexported type** (0a2ffb2)
- **text/template: drop reference to os.EPERM in the test** (47424d9)
- **go/printer, gofmt: don't indent line directives** (28ffb38)
- **spec: clarify implementation restrictions on untyped floats** (9126c65)
- **all: update 'gotest' to 'go test'** (9a44874)
- **A+C: Darren Elwood (individual CLA)** (0ae4312)
- **os/signal: selective signal handling** (35586f7)
- **exp/norm: merged charinfo and decomposition tables. As a result only** (a52fb45)
- **spec: strings are more slices than arrays** (7bd6ebb)
- **sync/atomic: disable hammer pointer tests on wrong size system** (c53b734)
- **strconv: disable issue 2917 test** (b440a65)
- **syscall: make linux Dup2 match other systems** (65ba8ee)
- **net/http: use mtime < t+1s to check for unmodified** (c58b6ad)
- **A+C: Hong Ruiqi (individual CLA)** (3760213)
- **testing: use runtime/debug to format panics** (8bcfad2)
- **testing: use runtime/debug to format panics** (f735d2d)
- **runtime: delete Type and implementations (use reflect instead)** (6a75ece)
- **net: avoid TCP self-connect** (cbe7d8d)
- **net/http/pprof: link to blog post** (daa7bd8)
- **cmd/go: respect test -timeout flag** (d318ab2)
- **cmd/dist: encoding/gob is no longer required for cmd/go** (aa87d78)
- **net/http: document use of DetectContentType** (d9da346)
- **go spec: method names must be unique** (b1d9ae9)
- **net: disable wild use of SO_REUSEPORT on BSD variants** (6fa2296)
- **spec: typographical adjustment for ellipsis** (8040f9b)
- **godoc: static ids should be #lowercase** (80e2472)
- **builder: really set $GOBUILDEXIT for Windows** (97235a7)
- **os: clarify docs for link functions** (62fe691)
- **strings: more examples** (71c8b82)
- **html/template: Added more explicit wording about examples and documentation.** (5b66305)
- **go1: update recipe for recovering Stat_t** (46dc76f)
- **unsafe: Alignof and Offsetof now use the same style** (d26c607)
- **gc: diagnose field+method of same name** (7dd9062)
- **gc: print detail for typechecking loop error** (2aafad2)
- **gc: make constant arith errors a little more friendly** (337547d)
- **runtime: put lockorder before pollorder in Select memory block.** (53e139c)
- **gc: optimize interface ==, !=** (f91cc3b)
- **cmd/dist: clear execute bit from source file** (f842dc1)
- **gc: diagnose init loop involving func** (896f0c6)
- **gc: eliminate duplicate ambiguous selector message** (7ae1fe4)
- **text/template/parse: deep Copy method for nodes** (b027a0f)
- **net: enable SO_REUSEADDR, SO_REUSEPORT options on stream, multicast listeners only** (0e3514e)
- **flate: delete WrongValueError type.** (22636be)
- **cmd/dist: reset version during bootstrap** (dbac863)
- **cmd/gc: suspend safemode during typecheck of inlined bodies.** (e0b2ce3)
- **exp/types: Use build.FindTree in GcImporter** (09f6a49)
- **go/printer: test that formatted code is parseable** (a0acdd2)
- **go/printer: implement SourcePos mode** (f8cf82f)
- **compress: make flate, gzip and zlib's NewWriterXxx functions all return** (cc9ed44)
- **builder: set $GOBUILDEXIT for Windows** (0bc6836)
- **regexp/syntax: delete old package comment** (ce63ec9)
- **all.bat: report error code back to the gobuilder** (62b328e)

### Chore
- **build: create the correct $GOTOOLDIR.** (0ab3ea9)
- **build: fix sudo.bash.** (95902d1)
- **build: fix windows build** (11f6f7a)
- **build: set $PATH during make.bash** (982e6c4)
- **build: reject make.bash on Windows** (b5d81e5)
- **build: get rid of deps.bash** (8bd0109)

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