OLD | NEW |
1 <!-- Weekly Snapshot History --> | 1 <!-- Weekly Snapshot History --> |
2 | 2 |
3 <p>This page summarizes the changes between tagged weekly snapshots of Go. | 3 <p>This page summarizes the changes between tagged weekly snapshots of Go. |
4 For full details, see the <a href="http://code.google.com/p/go/source/list">Merc
urial change log</a>.</p> | 4 For full details, see the <a href="http://code.google.com/p/go/source/list">Merc
urial change log</a>.</p> |
5 | 5 |
6 <p>Weekly snapshots occur often and may not be stable. | 6 <p>Weekly snapshots occur often and may not be stable. |
7 If stability of API and code is more important than having the | 7 If stability of API and code is more important than having the |
8 latest features, use the <a href="release.html">official releases</a> instead.</
p> | 8 latest features, use the <a href="release.html">official releases</a> instead.</
p> |
9 | 9 |
10 <p>To update to a specific snapshot, use:</p> | 10 <p>To update to a specific snapshot, use:</p> |
11 | 11 |
12 <pre> | 12 <pre> |
13 hg pull | 13 hg pull |
14 hg update weekly.<i>YYYY-MM-DD</i> | 14 hg update weekly.<i>YYYY-MM-DD</i> |
15 </pre> | 15 </pre> |
16 | 16 |
| 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 Duper
ray). |
| 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 (than
ks 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 Oudom
pheng), |
| 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 Stoake
s), |
| 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 s
upport. |
| 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 S
amuel). |
| 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 Volke
r 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 M
a). |
| 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 Oud
ompheng), |
| 121 implement fast path for rounding already short numbers (thanks Rémy Oudo
mpheng), |
| 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 |
17 <h2 id="2011-12-22">2011-12-22</h2> | 134 <h2 id="2011-12-22">2011-12-22</h2> |
18 | 135 |
19 <pre> | 136 <pre> |
20 This snapshot includes changes to the images/ycbcr and testing packages, and | 137 This snapshot includes changes to the images/ycbcr and testing packages, and |
21 changes to the build system. | 138 changes to the build system. |
22 | 139 |
23 The types for managing Y'CbCr images in the image/ycbcr have been moved to the | 140 The types for managing Y'CbCr images in the image/ycbcr have been moved to the |
24 image and image/color packages. A gofix module will rewrite affected code. | 141 image and image/color packages. A gofix module will rewrite affected code. |
25 | 142 |
26 The testing package's B type (used when running benchmarks) now has the same | 143 The testing package's B type (used when running benchmarks) now has the same |
(...skipping 4981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5008 global channel lock is gone.· | 5125 global channel lock is gone.· |
5009 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 5126 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
5010 * template: can use maps as data (thanks James Meneghello)· | 5127 * template: can use maps as data (thanks James Meneghello)· |
5011 * unicode: updated to Unicode 5.2.· | 5128 * unicode: updated to Unicode 5.2.· |
5012 * websocket: new package (thanks Fumitoshi Ukai)· | 5129 * websocket: new package (thanks Fumitoshi Ukai)· |
5013 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 5130 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
5014 * xml: fixed crash (thanks Vish Subramanian)· | 5131 * xml: fixed crash (thanks Vish Subramanian)· |
5015 * misc: bbedit config (thanks Anthony Starks),· | 5132 * misc: bbedit config (thanks Anthony Starks),· |
5016 kate config (thanks Evan Shaw)· | 5133 kate config (thanks Evan Shaw)· |
5017 </pre> | 5134 </pre> |
OLD | NEW |