|
14 | 14 | hg update weekly.<i>YYYY-MM-DD</i> |
15 | 15 | </pre> |
16 | 16 |
|
| 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 | + |
17 | 67 | <h2 id="2011-12-02">2011-12-02</h2> |
18 | 68 |
|
19 | 69 | <pre> |
|
0 commit comments