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="2011-10-06">2011-10-06</h2> |
| 18 |
| 19 <pre> |
| 20 This weekly snapshot includes changes to the io, image, and math packages that |
| 21 may require changes to client code. |
| 22 |
| 23 The io package's Copyn function has been renamed to CopyN. |
| 24 |
| 25 The math package's Fabs, Fdim, Fmax, Fmin and Fmod functions |
| 26 have been renamed to Abs, Dim, Max, Min, and Mod. |
| 27 |
| 28 Parts of the image package have been moved to the new image/color package. |
| 29 The spin-off renames some types. The new names are simply better: |
| 30 image.Color -> color.Color |
| 31 image.ColorModel -> color.Model |
| 32 image.ColorModelFunc -> color.ModelFunc |
| 33 image.PalettedColorModel -> color.Palette |
| 34 image.RGBAColor -> color.RGBA |
| 35 image.RGBAColorModel -> color.RGBAModel |
| 36 image.RGBA64Color -> color.RGBA64 |
| 37 image.RGBA64ColorModel -> color.RGBA64Model |
| 38 (similarly for NRGBAColor, GrayColorModel, etc) |
| 39 The image.ColorImage type stays in the image package, but is renamed: |
| 40 image.ColorImage -> image.Uniform |
| 41 The image.Image implementations (image.RGBA, image.RGBA64, image.NRGBA, |
| 42 image.Alpha, etc) do not change their name, and gain a nice symmetry: |
| 43 an image.RGBA is an image of color.RGBA, etc. |
| 44 The image.Black, image.Opaque uniform images remain unchanged (although their |
| 45 type is renamed from image.ColorImage to image.Uniform). |
| 46 The corresponding color types (color.Black, color.Opaque, etc) are new. |
| 47 Nothing in the image/ycbcr is renamed yet. The ycbcr.YCbCrColor and |
| 48 ycbcr.YCbCrImage types will eventually migrate to color.YCbCr and image.YCbCr, |
| 49 at a later date. |
| 50 |
| 51 * 5g/6g/8g: fix loop finding bug, fix -f(), registerize variables again. |
| 52 * 5l/6l/8l: add a DT_DEBUG dynamic tag to a dynamic ELF binary. |
| 53 * archive/zip: read and write unix file modes (thanks Gustavo Niemeyer). |
| 54 * build: clear execute bit from source files (thanks Mikio Hara). |
| 55 * bytes: add EqualFold. |
| 56 * cgo: allow Windows path characters in flag directives (thanks Joe Poirier), |
| 57 support for mingw-w64 4.5.1 and newer (thanks Wei Guangjing). |
| 58 * codereview: extra repo sanity check, |
| 59 fix for Mercurial 1.9.2, |
| 60 fix hg change in Windows console (thanks Yasuhiro Matsumoto). |
| 61 * crypto/elliptic: use %x consistently in error print. |
| 62 * doc/spec: remove notes about gccgo limitations, now fixed. |
| 63 * doc: add 'Debugging Go code with GDB' tutorial, |
| 64 fix memory model read visibility bug. |
| 65 * encoding/binary: PutX functions require buffer of sufficient size, |
| 66 added benchmarks, support for varint encoding. |
| 67 * exec: add Command.ExtraFiles. |
| 68 * exp/sql{,/driver}: new database packages. |
| 69 * exp/ssh: move common code to common.go (thanks Dave Cheney). |
| 70 * exp/template/html: work continues. |
| 71 * fmt: replace channel cache with slice. |
| 72 * gc: limit helper threads based on ncpu. |
| 73 * go/doc, godoc, gotest: support for reading example documentation. |
| 74 * go: documentation and skeleton implementation of new command. |
| 75 * gob: protect against invalid message length, |
| 76 allow sequential decoders on the same input stream. |
| 77 * hgpatch: do not use hg exit status (thanks Yasuhiro Matsumoto). |
| 78 * http: add Location method to Response, |
| 79 don't send a 400 Bad Request after a client shutdown. |
| 80 * index/suffixarray: 4.5x faster index serialization (to memory). |
| 81 * io/ioutil: add a comment on why devNull is a ReaderFrom. |
| 82 * json: use strings.EqualFold instead of strings.ToLower. |
| 83 * misc/emacs: fix indent bug. |
| 84 * net: add shutdown: TCPConn.CloseWrite and CloseRead. |
| 85 * net: use AF_UNSPEC instead of individual address family (thanks Mikio Hara). |
| 86 * path/filepath: added Rel as the complement of Abs (thanks Gustavo Niemeyer). |
| 87 * pkg/syscall: add Mkfifo for linux platforms. |
| 88 * regexp: move to old/regexp, replace with exp/regexp, speedups. |
| 89 * runtime/gdb: fix pretty printing of channels, |
| 90 gracefully handle not being able to find types. |
| 91 * runtime: check for nil value pointer in select syncsend case, |
| 92 faster finalizers, |
| 93 fix malloc sampling bug, |
| 94 fix map memory leak, |
| 95 fix spurious deadlock reporting, |
| 96 fix usleep on linux/386 and re-enable parallel gc (thanks Hector Chu), |
| 97 parallelize garbage collector mark + sweep. |
| 98 * strconv: faster Unquote in common case. |
| 99 * strings: add EqualFold, Replacer, NewReplacer. |
| 100 * suffixarray: add benchmarks for construction (thanks Eric Eisner). |
| 101 * syscall: add GetsockoptByte, SetsockoptByte for openbsd (thanks Mikio Hara), |
| 102 add IPv4 ancillary data for linux (thanks Mikio Hara), |
| 103 mark stdin, stdout, stderr non-inheritable by child processes (thanks Al
ex Brainman), |
| 104 mksyscall_windows.pl creates non-syscall packages (thanks Jaroslavas Poč
epko), |
| 105 update multicast socket options (thanks Mikio Hara). |
| 106 * testing: support for running tests in parallel (thanks Miki Tebeka). |
| 107 * time: make month/day name comparisons case insenstive. |
| 108 * unicode: fix make tables. |
| 109 * vim: Send GoFmt errors to a location list (thanks Paul Sbarra). |
| 110 * websocket: add hybi-13 support, add mutex to make websocket full-duplex. |
| 111 </pre> |
| 112 |
17 <h2 id="2011-09-21">2011-09-21</h2> | 113 <h2 id="2011-09-21">2011-09-21</h2> |
18 | 114 |
19 <pre> | 115 <pre> |
20 This weekly contains several improvements, bug fixes, and new packages. | 116 This weekly contains several improvements, bug fixes, and new packages. |
21 | 117 |
22 * archive/tar: document Header fields and Type flags (thanks Mike Rosset). | 118 * archive/tar: document Header fields and Type flags (thanks Mike Rosset). |
23 * bytes: fix Replace so it actually copies (thanks Gustavo Niemeyer). | 119 * bytes: fix Replace so it actually copies (thanks Gustavo Niemeyer). |
24 * cgo: use GOARCH from the environment (thanks Jaroslavas Počepko). | 120 * cgo: use GOARCH from the environment (thanks Jaroslavas Počepko). |
25 * codereview: save CL messages in $(hg root)/last-change. | 121 * codereview: save CL messages in $(hg root)/last-change. |
26 * crypto/bcrypt: new package (thanks Jeff Hodges). | 122 * crypto/bcrypt: new package (thanks Jeff Hodges). |
(...skipping 4040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4067 global channel lock is gone.· | 4163 global channel lock is gone.· |
4068 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· | 4164 * sync: RWMutex now allows concurrent readers (thanks Péter Szabó)· |
4069 * template: can use maps as data (thanks James Meneghello)· | 4165 * template: can use maps as data (thanks James Meneghello)· |
4070 * unicode: updated to Unicode 5.2.· | 4166 * unicode: updated to Unicode 5.2.· |
4071 * websocket: new package (thanks Fumitoshi Ukai)· | 4167 * websocket: new package (thanks Fumitoshi Ukai)· |
4072 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· | 4168 * xgb: preliminary X Go Bindings (thanks Tor Andersson)· |
4073 * xml: fixed crash (thanks Vish Subramanian)· | 4169 * xml: fixed crash (thanks Vish Subramanian)· |
4074 * misc: bbedit config (thanks Anthony Starks),· | 4170 * misc: bbedit config (thanks Anthony Starks),· |
4075 kate config (thanks Evan Shaw)· | 4171 kate config (thanks Evan Shaw)· |
4076 </pre> | 4172 </pre> |
OLD | NEW |