From 0367eebb05162efbbbee01c012c195f837c24955 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Wed, 7 Dec 2011 13:15:10 +1100 Subject: [PATCH] weekly.2011-12-06 R=golang-dev, r CC=golang-dev https://golang.org/cl/5453070 --- .hgtags | 1 - doc/devel/weekly.html | 50 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/.hgtags b/.hgtags index b751249ffc3..adccf20ce1c 100644 --- a/.hgtags +++ b/.hgtags @@ -97,4 +97,3 @@ f4397ad6e87c7ce5feac9b01686f1ebd6cbaac4e weekly.2011-11-08 b4a91b6933748db1a7150c06a1b55ad506e52906 weekly.2011-11-18 80db2da6495a20ddff8305c236825811db8c8665 weekly.2011-12-01 0beb796b4ef8747af601ed5ea6766d5b1340086b weekly.2011-12-02 -0beb796b4ef8747af601ed5ea6766d5b1340086b weekly diff --git a/doc/devel/weekly.html b/doc/devel/weekly.html index 90e773c4a50..1847ab9151a 100644 --- a/doc/devel/weekly.html +++ b/doc/devel/weekly.html @@ -14,6 +14,56 @@ hg pull hg update weekly.YYYY-MM-DD +

2011-12-06

+ +
+This snapshot includes a language change and changes to the strconv and go/doc
+packages. The package changes require changes to client code.
+The language change is backwards-compatible.
+
+Type elision in arrays, slices, or maps of composite literals has been
+extended to include pointers to composite literals. Code like this
+	var t = []&T{&T{}, &T{}}
+may now be written as
+	var t = []&T{{}, {}}
+You can use gofmt -s to simplify such code.
+
+The strconv package has been given a more idiomatic and efficient interface.
+Client code can be updated with gofix. See the docs for the details:
+	http://weekly.golang.org/pkg/strconv/
+
+The go/doc package's ToHTML function now takes a []byte argument instead of a
+string.
+
+Other changes:
+* crypto/aes: eliminate some bounds checking and truncation (thanks Rémy Oudompheng).
+* crypto/x509: if a parent cert has a raw subject, use it.
+* encoding/gob: don't send type info for unexported fields.
+* exp/ssh: allow for msgUserAuthBanner during authentication (thanks Gustav Paul).
+* fmt: benchmark floating point,
+	only use Stringer or Error for strings.
+* gc: changes in export format in preparation of inlining,
+	disallow map/func equality via interface comparison,
+	use gofmt spacing when printing map type.
+* go/doc: exclude lines ending in ':' from possible headings.
+* gobuilder: -commit mode for packages,
+	cripple -package mode temporarily,
+	use new dashboard protocol.
+* godoc: improved output of examples in html (thanks Volker Dobler).
+* gofmt: handle &T in composite literal simplify.
+* goinstall: honour -install=false flag when -make=true.
+* hash: rewrite comment on Hash.Sum method.
+* html: more parser improvements (thanks Andrew Balholm).
+* image: avoid func comparison during ColorModel comparison.
+* math: add special-cases comments to Sinh and Tanh (thanks Charles L. Dorian).
+* misc/dashboard: further implementation work.
+* net, syscall: remove BindToDevice from UDPConn, IPConn (thanks Mikio Hara).
+* net/mail: correctly compare parsed times in the test.
+* os/exec: make LookPath always search CWD under Windows (thanks Benny Siegert).
+* runtime: prep for type-specific algorithms.
+* strconv: 34% to 63% faster conversions.
+
+

2011-12-02