Skip to content

Commit 0367eeb

Browse files
committed
weekly.2011-12-06
R=golang-dev, r CC=golang-dev https://golang.org/cl/5453070
1 parent 130e294 commit 0367eeb

2 files changed

Lines changed: 50 additions & 1 deletion

File tree

.hgtags

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,3 @@ f4397ad6e87c7ce5feac9b01686f1ebd6cbaac4e weekly.2011-11-08
9797
b4a91b6933748db1a7150c06a1b55ad506e52906 weekly.2011-11-18
9898
80db2da6495a20ddff8305c236825811db8c8665 weekly.2011-12-01
9999
0beb796b4ef8747af601ed5ea6766d5b1340086b weekly.2011-12-02
100-
0beb796b4ef8747af601ed5ea6766d5b1340086b weekly

doc/devel/weekly.html

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,56 @@
1414
hg update weekly.<i>YYYY-MM-DD</i>
1515
</pre>
1616

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

1969
<pre>

0 commit comments

Comments
 (0)