Skip to content

Commit d3f8f0c

Browse files
committed
weekly.2012-02-07
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5615056
1 parent 0a6e246 commit d3f8f0c

2 files changed

Lines changed: 190 additions & 1 deletion

File tree

.hgtags

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,3 @@ b4a91b6933748db1a7150c06a1b55ad506e52906 weekly.2011-11-18
103103
354b17404643c0f1a710bdc48927dff02f203ae3 weekly.2012-01-15
104104
9f2be4fbbf690b9562c6e98b91daa0003f0913c7 weekly.2012-01-20
105105
1107a7d3cb075836387adfab5ce56d1b3e56637d weekly.2012-01-27
106-
1107a7d3cb075836387adfab5ce56d1b3e56637d weekly

doc/devel/weekly.html

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

17+
<h2 id="2012-02-07">2012-02-07</h2>
18+
19+
<pre>
20+
This weekly snapshot includes a re-organization of the Go tools.
21+
22+
Only the go, godoc, and gofmt tools are installed to $GOROOT/bin (or $GOBIN).
23+
The remainder are installed to $GOROOT/bin/tool.
24+
This puts the lesser-used tools (6g, cgo, govet, etc.) outside the user PATH.
25+
Instead these tools may be called through the go tool with 'go tool command'.
26+
For example, to vet hello.go you would type 'go tool vet hello.go'.
27+
Type 'go tool' see the list of available tools.
28+
29+
With the move, some tools were given simpler names:
30+
6cov -&gt; cov
31+
6nm -&gt; nm
32+
goapi -&gt; api
33+
gofix -&gt; fix
34+
gopack -&gt; pack
35+
gopprof -&gt; pprof
36+
govet -&gt; vet
37+
goyacc -&gt; yacc
38+
39+
The os/signal package has been moved to exp/signal.
40+
41+
A new tool named 'dist' has been introduced to handle building the gc tool
42+
chain and to bootstrap the go tool. The old build scripts and make files
43+
have been removed.
44+
45+
Other changes:
46+
* 5a, 6a, 8a, cc: check in y.tab.[ch].
47+
* 5l, 6l, 8l, ld: remove memory leaks (thanks Shenghou Ma).
48+
* 5l, 6l, 8l: implement -X flag.
49+
* 5l: make -v option output less nonessential clutter (thanks Shenghou Ma),
50+
optimize the common case in patch() (thanks Shenghou Ma).
51+
* 8a, 8l: implement support for RDTSC instruction (thanks Shenghou Ma).
52+
* 8g: use uintptr for local pc.
53+
* archive/zip: support full range of FileMode flags (thanks Gustavo Niemeyer).
54+
* bufio: remove special error type, update docs.
55+
* build: move the "-c" flag into HOST_CFLAGS (thanks Anthony Martin),
56+
remove unnecessary pragmas (thanks Anthony Martin).
57+
* builder: drop recover blocks.
58+
* bytes: API tweaks.
59+
* cgo: accept null pointers in gccgo flavour of C.GoString (thanks Rémy Oudompheng),
60+
print line numbers in fatal errors when relevant (thanks Rémy Oudompheng).
61+
* cmd/dist: add GOBIN to env's output (thanks Gustavo Niemeyer),
62+
fix bug in bsubst (thanks Alex Brainman),
63+
fix build on openbsd (thanks Mikio Hara),
64+
generate files for package runtime,
65+
ignore file names beginning with . or _,
66+
prevent race on VERSION creation (thanks Gustavo Niemeyer).
67+
* cmd/gc: another special (%hhS) case for method names,
68+
describe debugging flags (thanks Anthony Martin),
69+
diagnose \ in import path,
70+
disallow switch _ := v.(type),
71+
don't print implicit type on struct literal in export,
72+
fix codegen reordering for expressions involving && and ||,
73+
use octal escapes in mkopnames (thanks Anthony Martin).
74+
use original constant expression in error messages (thanks Rémy Oudompheng).
75+
* cmd/go: add support for release tags via git branches (thanks Gustavo Niemeyer),
76+
build: print import errors when invoked on files (thanks Kyle Lemons),
77+
clean test directories as they complete,
78+
fix error message on non-existing tools (thanks Rémy Oudompheng),
79+
fix handling of gccgo standard library (thanks Rémy Oudompheng),
80+
fixed panic on `go clean -n` and `go clean -x` (thanks Sanjay Menakuru),
81+
introduce support for "go build" with gccgo (thanks Rémy Oudompheng),
82+
make vcs command actually gather output (thanks Roger Peppe),
83+
pass env CGO_CFLAGS to cgo (thanks Jeff Hodges),
84+
record location of failed imports for error reporting (thanks Rémy Oudompheng).
85+
* cmd/goapi: expand embedded interfaces.
86+
* cmd/goinstall: remove now that 'go get' works (thanks Gustavo Niemeyer).
87+
* cmd/ld: fix gdbscript (thanks Wei Guangjing).
88+
* cmd/pack: change gopack to pack in error messages.
89+
* codereview: miscellaneous fixes and improvements.
90+
* crypto/elliptic: p224Contract could produce a non-minimal representation.
91+
* crypto/tls: better error message when connecting to SSLv3 servers.
92+
* crypto/x509: use case-insensitive hostname matching.
93+
* dashboard: support for sub-repositories, update to go1beta.
94+
* database/sql: permit scanning into interface{}.
95+
* doc: update go1.html for recent changes.
96+
* encoding/base32: add DecodeString and EncodeToString helper methods,
97+
ignore new line characters during decode.
98+
* encoding/base64: ignore new line characters during decode.
99+
* encoding/gob: document CommonType.
100+
* encoding/hex: canonicalize error type names.
101+
* encoding/json: call (*T).MarshalJSON for addressable T values.
102+
* encoding/xml: fix decoding of xml.Name with sub-elements (thanks Gustavo Niemeyer),
103+
fix documentation for Decoder.Skip.
104+
* exp/norm: Added some benchmarks for form-specific performance measurements,
105+
a few minor changes in prepration for a table format change.
106+
* expvar: revise API.
107+
* fix: add image/{bmp,tiff} to go1pkgrename.
108+
* flag: allow a FlagSet to not write to os.Stderr,
109+
describe valid input for Duration flags.
110+
* fmt: add test of NaN map keys,
111+
fix caching bug in Scan.
112+
* go/build: put a space between 'generated by make' and package statement,
113+
update syslist.go package comment.
114+
* go/doc: fix URL linking in ToHTML (thanks Gary Burd),
115+
added error, rune to list of predeclared types,
116+
don't lose factory functions of non-exported types,
117+
don't show methods of exported anonymous fields,
118+
enable AllMethods flag (and fix logic).
119+
* go/printer: don't print incorrect programs.
120+
* go/scanner: idiomatic receiver names.
121+
* go/spec: update language on map types.
122+
* go/token: remove dependency on encoding/gob.
123+
* gob: fuzz testing, plus a fix for very large type names.
124+
* gobuilder: use go tool to build and test sub-repositories.
125+
* godoc: add URL mode m=methods,
126+
diagnostic for empty FS tree,
127+
fix identifier search,
128+
fix redirect loop for URL "/",
129+
provide link to subdirectories, if any,
130+
sort list of "other packages",
131+
update metadata in appinit.go.
132+
* gophertool: fix link to the build status dashboard (thanks Jongmin Kim).
133+
* hgignore: add VERSION.cache (thanks Gustavo Niemeyer),
134+
delete dregs, ignore tmpltohtml.
135+
* html: add package doc.
136+
* image: add package docs, rename s/UnknownFormatError/ErrFormat/ and,
137+
delete the image.Repeated type,
138+
remove image/bmp and image/tiff from std.
139+
* io/ioutil: document EOF behavior in ReadFile and ReadAll.
140+
* io: API tweaks.
141+
* libmach: add stubs for Plan 9 (thanks Anthony Martin).
142+
* make.bash: don't remove hgpatch.
143+
* math/big: add raw access to Int bits,
144+
API and documentation cleanup.
145+
* misc/goplay: use go tool "run" (thanks Olivier Duperray).
146+
* misc/osx: don't set GOROOT or modify profile files,
147+
update for dist tool, drop image.bash, update readme.
148+
* net, syscall: add IPv4 multicast helpers for windows (thanks Mikio Hara).
149+
* net/http/httputil: fix race in DumpRequestOut,
150+
preserve query params in reverse proxy.
151+
* net/http: don't set Content-Type header for HEAD requests by default (thanks Patrick Mylund Nielsen),
152+
fix nil pointer dereference in error case (thanks Volker Dobler),
153+
close client fd sooner on response read error,
154+
set cookies in client jar on POST requests (thanks Volker Dobler).
155+
* net/rpc: fix data race on Call.Error.
156+
* net: ListenMulticastUDP to listen concurrently across multiple listeners (thanks Mikio Hara),
157+
disable normal multicast testing on linux/arm (thanks Mikio Hara),
158+
fix Plan 9 build (thanks Anthony Martin),
159+
fix windows build (thanks Alex Brainman),
160+
move DNSConfigError to a portable file,
161+
remove types InvalidConnError and UnknownSocketError,
162+
replace error variable name e, errno with err (thanks Mikio Hara),
163+
run TestDialTimeout on windows (thanks Alex Brainman),
164+
update comments to remove redundant "net" prefix (thanks Mikio Hara).
165+
* os/exec: TestExtraFiles - close any leaked file descriptors,
166+
make sure file is not closed early in leaked fd test.
167+
* os/signal: move to exp/signal.
168+
* os/user: windows implementation (thanks Alex Brainman).
169+
* os: Process.handle use syscall.Handle (thanks Wei Guangjing),
170+
file windows use syscall.InvalidHandle instead of -1 (thanks Wei Guangjing),
171+
remove SIGXXX signals variables,
172+
turn FileStat.Sys into a method on FileInfo (thanks Gustavo Niemeyer).
173+
* path/filepath: repair and simplify the symlink test.
174+
* reflect: add comment about Type.Field allocation,
175+
test that PtrTo returns types that match program types.
176+
* runtime: add runtime.cputicks() and seed fastrand with it (thanks Damian Gryski),
177+
delete UpdateMemStats, replace with ReadMemStats(&stats) (thanks Rémy Oudompheng),
178+
fix float64 hash,
179+
use GOTRACEBACK to decide whether to show runtime frames,
180+
use per-map hash seeds (thanks Damian Gryski).
181+
* spec: add number to the fibonacci sequence.
182+
* std: add struct field tags to untagged literals.
183+
* strings: add Fields example.
184+
* syscall: add Timeval.Nano, Timespec.Nano, for conversion to Duration,
185+
cache environment variables on Plan 9 (thanks Anthony Martin),
186+
fix // +build comments in types_*.go,
187+
fix build directive in types_linux.go,
188+
update bootstrap scripts to sync with new go command (thanks Mikio Hara).
189+
* test: add import test that caused an incorrect gccgo error,
190+
add test for receiver named _,
191+
add test of NaN in map,
192+
add test which crashed gccgo compiler,
193+
don't use package main for files without a main function,
194+
fix bug headers,
195+
float to integer test case,
196+
make map nan timing test more robust,
197+
match gccgo error messages,
198+
test append with two different named types with same element type,
199+
test method expressions with parameters, and with import,
200+
test slice beyond len,
201+
test that x := &lt;-c accepts a general expression.
202+
* testing: capture panics, present them, and mark the test as a failure.
203+
* unicode: document large var blocks and the SpecialCase vars.
204+
* vet: add a check for untagged struct literals.
205+
</pre>
206+
17207
<h2 id="2012-01-27">2012-01-27</h2>
18208

19209
<pre>

0 commit comments

Comments
 (0)