]> Cypherpunks repositories - gostls13.git/commitdiff
weekly.2011-09-16 weekly.2011-09-16
authorAndrew Gerrand <adg@golang.org>
Fri, 16 Sep 2011 07:18:36 +0000 (17:18 +1000)
committerAndrew Gerrand <adg@golang.org>
Fri, 16 Sep 2011 07:18:36 +0000 (17:18 +1000)
R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/5040042

.hgtags
doc/devel/weekly.html

diff --git a/.hgtags b/.hgtags
index 269ed264b33fc3c79de8221cd88fb0983fcf80b2..005318d0392abf38014f9caa621690771670ad9f 100644 (file)
--- a/.hgtags
+++ b/.hgtags
@@ -78,6 +78,5 @@ c17ce5ec06b4bd5cf6e7ff2ceb0a60c2e40e0b17 weekly.2011-08-10
 6eb2b9dbe489acb57a2bfc1de31ec2239ed94326 weekly.2011-08-17
 c934f6f5fe8b30b4b3210ee3f13669e6e4670c32 weekly.2011-09-01
 c77997547d546c36c7b969586a36de7ceda74e33 weekly.2011-09-07
-c77997547d546c36c7b969586a36de7ceda74e33 weekly
 b0819469a6df6029a27192fe7b19a73d97404c63 release.r60
 b0819469a6df6029a27192fe7b19a73d97404c63 release
index d984d3b1ba56b07b0c2a8a00c9a99cd25d81773b..d5f59cadcdfdd2882e1221c6ff9f898d12cdd452 100644 (file)
@@ -14,6 +14,73 @@ hg pull
 hg update weekly.<i>YYYY-MM-DD</i>
 </pre>
 
+<h2 id="2011-09-16">2011-09-16</h2>
+
+<pre>
+This weekly snapshot includes changes to the image, path/filepath, and time
+packages. Code that uses these packages may need to be updated.
+
+The image package's NewX functions (NewRGBA, NewNRGBA, etc) have been changed
+to take a Rectangle argument instead of a width and height.
+Gofix can make these changes automatically.
+
+The path/filepath package's Walk function has been changed to take a WalkFunc
+function value instead of a Visitor interface value. WalkFunc is like the
+Visitor's VisitDir and VisitFile methods except it handles both files and
+directories:
+       func(path string, info *os.FileInfo, err os.Error) os.Error
+To skip walking a directory (like returning false from VisitDir) the WalkFunc
+must return SkipDir.
+
+The time package's Time struct's Weekday field has been changed to a method.
+The value is calculated on demand, avoiding the need to re-parse
+programmatically-constructed Time values to find the correct weekday.
+
+There are no gofixes for the filepath or time API changes, but instances of the
+old APIs will be caught by the compiler. The Weekday one is easy to update by
+hand. The Walk one may take more consideration, but will have fewer instances
+to fix.
+
+* build: add build comments to core packages.
+* codereview: Mercurial 1.9 fix for hg diff @nnn.
+* crypto/tls: handle non-TLS more robustly,
+       support SSLv3.
+* debug/elf: permit another case of SHT_NOBITS section overlap in test.
+* exm/template/html: more work on this auto-escaping HTML template package.
+* exp/norm: added regression test tool for the standard Unicode test set.
+* exp/regexp/syntax: fix invalid input parser crash,
+       import all RE2 parse tests + fix bugs.
+* exp/regexp: add MustCompilePOSIX, CompilePOSIX, leftmost-longest matching.
+* flag: make zero FlagSet useful.
+* gc: clean up if grammar.
+* go/build: handle cgo, // +build comments.
+* go/printer: use panic/defer instead of goroutine for handling errors.
+* go/token: support to serialize file sets.
+* godoc, suffixarray: switch to exp/regexp.
+* godoc: show packages matching a query at the top,
+       support for complete index serialization,
+       use go/build to find files in a package.
+* gofmt: accept program fragments on standard input, add else test.
+* http/cgi: add openbsd environment configuration.
+* http: document that Response.Body is non-nil.
+* image/png: don't use a goroutine to decode, to permit decode during init.
+* json: if a field's tag is "-", ignore the field for encoding and decoding.
+* ld: grow dwarf includestack on demand.
+* net, syscall: implement SetsockoptIPMReq(), and
+       move to winsock v2.2 for multicast support (thanks Paul Lalonde).
+* net: add a LookupTXT function.
+* os: os.RemoveAll to check for wboth error codes on Windows (thanks Jaroslavas Počepko).
+* path/filepath: fix Visitor doc (thanks Gustavo Niemeyer),
+       make UNC file names work (thanks Yasuhiro Matsumoto).
+* runtime: optimizations to channels on Windows (thanks Hector Chu),
+       syscall to return both AX and DX for windows/386 (thanks Alex Brainman).
+* sync/atomic: add 64-bit Load and Store.
+* syscall: add route flags for linux (thanks Mikio Hara).
+* test: add test for inheriting private method from anonymous field.
+* websocket: fix infinite recursion in Addr.String() (thanks Tarmigan Casebolt),
+       rename websocket.WebSocketAddr to *websocket.Addr.
+</pre>
+
 <h2 id="2011-09-07">2011-09-07</h2>
 
 <pre>