Skip to content

Commit a198707

Browse files
committed
weekly.2012-01-15
R=golang-dev, dsymonds, r, n13m3y3r CC=golang-dev https://golang.org/cl/5543049
1 parent 1019eda commit a198707

2 files changed

Lines changed: 117 additions & 1 deletion

File tree

.hgtags

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,3 @@ b4a91b6933748db1a7150c06a1b55ad506e52906 weekly.2011-11-18
100100
0c39eee85b0d1606b79c8ebcdeb3b67ed5849e39 weekly.2011-12-06
101101
82fdc445f2ff2c85043446eb84a19cc999dfcb95 weekly.2011-12-14
102102
4a82689277582a2a60f006e3f158985f2f8d1da3 weekly.2011-12-22
103-
4a82689277582a2a60f006e3f158985f2f8d1da3 weekly

doc/devel/weekly.html

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

17+
<h2 id="2012-01-14">2012-01-15</h2>
18+
19+
<pre>
20+
This weekly snapshot includes two package changes that may require changes to
21+
client code.
22+
23+
The image package's Tiled type has been renamed to Repeated.
24+
25+
The encoding/xml package has been changed to make more idiomatic use of struct
26+
tags, among other things. If you use the xml package please read the change
27+
description to see if your code is affected:
28+
http://code.google.com/p/go/source/detail?r=70e914beb409
29+
30+
Function inlining is now enabled by default in the gc compiler.
31+
32+
Other changes:
33+
* bytes: Buffer read of 0 bytes at EOF shouldn't be an EOF.
34+
* cgo: if value for constant did not parse, get it from DWARF info,
35+
write _cgo_export.h to object directory, not source dir.
36+
* cmd/go: add -p flag for parallelism (like make -j),
37+
add -v flag to build and install,
38+
add ... patterns in import path arguments,
39+
fix data race during build,
40+
fix import directory list for compilation,
41+
fix linker arguments,
42+
handle cgo pkg-config pragmas,
43+
handle path to cmd directory,
44+
include test files in fmt, vet, and fix (thanks Sanjay Menakuru),
45+
kill test processes after 10 minutes,
46+
pass arguments to command for run (thanks Eric Eisner),
47+
rely on exit code to tell if test passed,
48+
use relative paths in go fix, go fmt, go vet output.
49+
* cmd/gofmt: fix simplify.go by running gofmt on cmd/gofmt (thanks Olivier Duperray).
50+
* crypto/openpgp: assorted cleanups,
51+
truncate hashes before checking DSA signatures.
52+
* crypto/tls: improve TLS Client Authentication (thanks Jeff R. Allen),
53+
update generate_cert.go for new time package.
54+
* dashboard: better caching, bug fixes.
55+
* doc: update "How to Write Go Code" to use the go tool.
56+
fix broken function codewalk examples.
57+
* encoding/asn1: document support for *big.Int (thanks Florian Weimer).
58+
* encoding/gob: fix panic when decoding []byte to incompatible slice types (thanks Alexey Borzenkov).
59+
* encoding/json: don't marshal special float values (thanks Evan Shaw).
60+
* encoding/xml: major Go 1 fixup (thanks Gustavo Niemeyer).
61+
* exp/proxy: new package.
62+
* exp/sql: add time.Time support,
63+
close Rows on EOF,
64+
fix potential corruption in QueryRow.Scan into a *[]byte.
65+
* exp/ssh: various small fixes (thanks Dave Cheney).
66+
* exp/terminal: add SetPrompt and handle large pastes,
67+
add to level Makefile for the (non-Linux?) systems that need it.
68+
* flag: add Duration flag type,
69+
change Set method Value interface to return error instead of bool.
70+
* gc: better errors messages,
71+
avoid false positives when using scalar struct fields (thanks Rémy Oudompheng),
72+
closure code gen improvements,
73+
disallow declaration of variables outside package,
74+
fix switch on interface values (thanks Rémy Oudompheng),
75+
inlining bug fixes,
76+
improve unsafe.Pointer type-check error messages (thanks Ryan Hitchman),
77+
put limit on size of exported recursive interface (thanks Lorenzo Stoakes),
78+
* go-mode.el: fix syntax highlighting of backticks (thanks Florian Weimer).
79+
* go/ast: remove unnecessary result value from ast.Fprint/Print.
80+
* go/build: allow colon in #cgo flags,
81+
pass CgoLDFLAGS at end of link command.
82+
* go/doc: new API, don't ignore anonymous non-exported fields, initial testing support.
83+
* go/parser: remove unused Parse* functions. Simplified ParseExpr signature.
84+
* go/printer: don't crash if AST contains BadXXX nodes.
85+
* go/scanner: 17% faster scanning, remove InsertSemis mode.
86+
* goinstall: use correct checkout URL for Google Code svn repos.
87+
* gotest: make _testmain.go conform to gofmt rules (thanks Benny Siegert).
88+
* goyacc: fix units.y build breakage (thanks Shenghou Ma).
89+
* html/template: reenable testcases and fix mis-escaped sequences (thanks Mike Samuel).
90+
* html: "in select in table" insertion mode (thanks Andrew Balholm),
91+
adjust foreign attributes,
92+
foreign element HTML integration points, tag name adjustment,
93+
parse <frameset> inside body (thanks Andrew Balholm),
94+
propagate foreign namespaces only when adding foreign content.
95+
* json: better error messages when the ,string option is misused.
96+
* ld: parse but do not implement -X flag.
97+
* log/syslog: add Alert method (thanks Vadim Vygonets).
98+
* make.bash: remove old dregs (thanks Alex Brainman).
99+
* math/big: simplify fast string conversion.
100+
* math: fix typo in all_test.go (thanks Charles L. Dorian).
101+
* misc/windows: add src/pkg/runtime/z* files to installation script (thanks Alex Brainman).
102+
* net/http: don't ignore Request.Write's Flush error,
103+
allow cookies with negative Max-Age attribute as these are (thanks Volker Dobler).
104+
* net/textproto: avoid corruption when reading a single header.
105+
* net: add IP-level socket option helpers for Unix variants (thanks Mikio Hara),
106+
fix incorrect mode on ListenIP, ListenUDP (thanks Mikio Hara),
107+
make use of the kernel state to listen on TCP, Unix (thanks Mikio Hara),
108+
platform-dependent default socket options (thanks Mikio Hara).
109+
* os: add ModeCharDevice.
110+
* runtime: add NumCPU,
111+
delete duplicate implementation of pcln walker,
112+
distinct panic message for call of nil func value,
113+
enable runtime.ncpu on FreeBSD (thanks Devon H. O'Dell),
114+
make garbage collector faster by deleting code,
115+
regenerate defs_darwin_{386,amd64}.h (thanks Dave Cheney),
116+
runtime.usleep() bugfix on darwin/amd64 and linux/arm (thanks Shenghou Ma).
117+
* spec: pointer comparison for pointers to 0-sized variables,
118+
change the wording regarding select statement choice.
119+
* strconv: fix round up corner case,
120+
faster FormatFloat(x, *, -1, 64) using Grisu3 algorithm (thanks Rémy Oudompheng),
121+
implement fast path for rounding already short numbers (thanks Rémy Oudompheng),
122+
return ErrSyntax when unquoting illegal octal sequences.
123+
* syscall: linux-only support for parent death signal (thanks Albert Strasheim),
124+
make Environ return original order.
125+
* testing: fix defer race,
126+
use flag.Duration for -timeout flag.
127+
* text/template: handle panic values that are not errors (thanks Rémy Oudompheng),
128+
for range on a map, sort the keys if feasible.
129+
* time: add ParseDuration,
130+
fix docs for After and NewTicker.
131+
* windows: use ArbitraryUserPointer as TLS slot (thanks Wei Guangjing).
132+
</pre>
133+
17134
<h2 id="2011-12-22">2011-12-22</h2>
18135

19136
<pre>

0 commit comments

Comments
 (0)