aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-07release.2010-09-06weekly.2010-09-06Andrew Gerrand
R=r CC=golang-dev https://golang.org/cl/2141043
2010-09-06exp/draw: unify a draw.Context's keyboard, mouse, etc. channels into aNigel Tao
single event channel. A quit event is now represented by closing that channel. R=r, rsc, nigeltao CC=golang-dev https://golang.org/cl/2114042
2010-09-06fmt.Scan: fix integer overflow on 32-bit machinesAnthony Martin
R=r, rsc CC=golang-dev https://golang.org/cl/2144043
2010-09-04netchan: use acknowledgements on export send.Rob Pike
Also add exporter.Drain() to wait for completion. This makes it possible for an Exporter to fire off a message and wait (by calling Drain) for the message to be received, even if a client has yet to call to retrieve it. Once this design is settled, I'll do the same for import send. Testing strategies welcome. I have some working stand-alone tests. R=rsc CC=golang-dev https://golang.org/cl/2137041
2010-09-04fmt: delete erroneous sentence about return value for Sprint*.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/2160041
2010-09-04test/turing: refactorRob Pike
R=gri CC=golang-dev https://golang.org/cl/2116043
2010-09-04test: remove semiocolons.Rob Pike
The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev https://golang.org/cl/2157041
2010-09-04tutorial: regenerate HTML to pick up change to progs/file.go.Rob Pike
Fixes #1075. R=gri CC=golang-dev https://golang.org/cl/2104048
2010-09-03build: implement NOINSTALL=1 for Make.ccmdRuss Cox
The makefiles for prof and cov use it already. (It's also in Make.clib.) R=adg CC=golang-dev https://golang.org/cl/2036045
2010-09-03goinstall: assume go binaries are in pathRuss Cox
(Following new convention.) Fixes #1063. R=adg CC=golang-dev https://golang.org/cl/2115042
2010-09-03solitaire: an exercise in backtracking and string conversionsRobert Griesemer
Solves the (English) peg solitaire game. The board is represented by a 1-dimensional array for easy representation of directions with a single integer. The board's contents are chosen such that it can be printed with a direct string() conversion. R=r CC=adg, golang-dev https://golang.org/cl/2066042
2010-09-03revert accidental submit of builder.goAndrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/2121042
2010-09-03image: introduce Config type and DecodeConfig function, to decode anNigel Tao
image's color model and dimensions without allocating and decoding its actual pixels. Fixes #695. R=r CC=golang-dev https://golang.org/cl/2151042
2010-09-03misc/dashboard/builder: Go implementation of continuous build clientAndrew Gerrand
R=rsc, r CC=golang-dev https://golang.org/cl/2112042
2010-09-03list: update comment to state that the zero value is ready to use.Rob Pike
R=gri CC=golang-dev https://golang.org/cl/2147042
2010-09-02gc: appease bison version running on FreeBSD builderRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2141042
2010-09-02exp/iterables: fix typoRobert Griesemer
Fixes #1069. R=rsc CC=golang-dev https://golang.org/cl/2143041
2010-09-02time: do not crash in String on nil TimeRuss Cox
R=r CC=golang-dev https://golang.org/cl/2052041
2010-09-02http: add Date to server, Last-Modified and If-Modified-Since to file serverRuss Cox
R=r CC=golang-dev https://golang.org/cl/2051041
2010-09-02build: create bin and pkg directories as needed; drop from hgRuss Cox
R=dsymonds, r CC=golang-dev https://golang.org/cl/2050043
2010-09-02runtime: add GOOS, GOARCH; fix FuncLineRuss Cox
Changes to FuncLine sync it with symtab.c's funcline. R=r CC=girard.m1, golang-dev https://golang.org/cl/2083041
2010-09-02gc: fix spurious syntax errorRuss Cox
Fixes #1071. R=ken2 CC=golang-dev https://golang.org/cl/2136043
2010-09-02goinstall: added -a flag to mean "all remote packages"Scott Lawrence
Fixes #897. goinstall -a can be used to reinstall all packages after an upgrade goinstall -a -u can be used to update all package A history of remote package installs is stored in $GOROOT/goinstall.log R=rsc, adg CC=golang-dev https://golang.org/cl/1947041
2010-09-02go spec clarification: arrays must be addressable to be sliceableRobert Griesemer
R=rsc CC=golang-dev, r https://golang.org/cl/2141041
2010-09-028l: suppress emitting DWARF in Windows PE.Alex Brainman
Fixes #1064. R=rsc, lvd, vcc CC=golang-dev https://golang.org/cl/2104042
2010-09-01test: Match gccgo error messages.Ian Lance Taylor
bug284.go:33: error: invalid type conversion bug284.go:36: error: invalid type conversion (cannot use type A2 as type A1) bug284.go:37: error: invalid type conversion bug284.go:38: error: invalid type conversion (cannot use type A1 as type A2) bug284.go:56: error: invalid type conversion bug284.go:59: error: invalid type conversion (cannot use type S2 as type S1) bug284.go:60: error: invalid type conversion bug284.go:61: error: invalid type conversion (cannot use type S1 as type S2) bug284.go:71: error: invalid type conversion bug284.go:74: error: invalid type conversion (cannot use type P2 as type P1) bug284.go:75: error: invalid type conversion bug284.go:76: error: invalid type conversion (cannot use type P1 as type P2) bug284.go:96: error: invalid type conversion bug284.go:99: error: invalid type conversion (cannot use type Q2 as type Q1) bug284.go:101: error: invalid type conversion (cannot use type Q1 as type Q2) bug284.go:111: error: invalid type conversion (different parameter types) bug284.go:114: error: invalid type conversion (different parameter types) bug284.go:115: error: invalid type conversion (different parameter types) bug284.go:116: error: invalid type conversion (different parameter types) bug284.go:134: error: invalid type conversion (incompatible type for method 'f' (different result types)) bug284.go:137: error: invalid type conversion (incompatible type for method 'f' (different result types)) bug284.go:138: error: invalid type conversion (incompatible type for method 'f' (different result types)) bug284.go:139: error: invalid type conversion (incompatible type for method 'f' (different result types)) bug284.go:149: error: invalid type conversion bug284.go:152: error: invalid type conversion (cannot use type L2 as type L1) bug284.go:153: error: invalid type conversion bug284.go:154: error: invalid type conversion (cannot use type L1 as type L2) bug284.go:164: error: invalid type conversion bug284.go:167: error: invalid type conversion (cannot use type L2 as type L1) bug284.go:168: error: invalid type conversion bug284.go:169: error: invalid type conversion (cannot use type L1 as type L2) bug284.go:179: error: invalid type conversion bug284.go:182: error: invalid type conversion (cannot use type C2 as type C1) bug284.go:183: error: invalid type conversion bug284.go:184: error: invalid type conversion (cannot use type C1 as type C2) R=rsc CC=golang-dev https://golang.org/cl/2136041
2010-09-01test: Recognize gccgo error messages.Ian Lance Taylor
bug278.go:18: error: invalid left hand side of assignment bug278.go:19: error: array is not addressable bug278.go:21: error: invalid left hand side of assignment bug278.go:22: error: invalid left hand side of assignment R=rsc CC=golang-dev https://golang.org/cl/2122042
2010-09-02http: add PostForm function to post url-encoded key/value data.Andrew Gerrand
This is a common task, so it makes sense to have a helper to do it. (App Engine doesn't like "Transfer-Encoding: chunked" for POST bodies, which is the default for regular Post.) R=rsc CC=golang-dev https://golang.org/cl/2113041
2010-09-01Fix incorrect reporting of error in Scanner.next() when Read reads > 0 bytes ↵Kyle Consalus
but returns os.EOF. R=golang-dev, gri1, gri CC=golang-dev https://golang.org/cl/2083042
2010-09-02netchan: rather than 0, make -1 mean infinite, by analogy with strings.Split ↵Rob Pike
etc. It's unlikely to affect any extant code, but I wanted to make this API change before digging in for a rewrite. R=rsc CC=golang-dev https://golang.org/cl/2112041
2010-09-01test: Use global variables to defeat gccgo optimizer.Ian Lance Taylor
The gccgo compiler is smart enough to not make something which is not used. Use global variables to defeat this optimization. R=rsc CC=golang-dev https://golang.org/cl/2129041
2010-09-016l/8l: emit DWARF in macho.Luuk van Dijk
R=rsc, r, ken2 CC=golang-dev https://golang.org/cl/2128041
2010-09-01fmt: fix typo in package comment.Rob Pike
No semantic change. R=rsc CC=golang-dev https://golang.org/cl/2121041
2010-08-31template: fixed documentation formattingScott Lawrence
What was meant to be a list appeared as a paragraph with dashes. R=golang-dev, gri1, gri CC=golang-dev https://golang.org/cl/2100041
2010-09-01spec: delete spurious space (missed fix from previous review)Rob Pike
No semantic change. R=rsc CC=golang-dev https://golang.org/cl/2099041
2010-09-01spec: fix a couple of tiny glitchesRob Pike
R=gri, rsc CC=golang-dev https://golang.org/cl/2078041
2010-08-31test: Recognize gccgo error messages.Ian Lance Taylor
bug255.go:11: error: array bound truncated to integer bug255.go:12: error: array bound is not numeric bug255.go:13: error: array bound is not numeric bug255.go:14: error: array bound is not constant bug255.go:15: error: array bound overflows R=rsc CC=golang-dev https://golang.org/cl/2091042
2010-08-31test: Match gccgo error messages.Ian Lance Taylor
Another case where gccgo and gc report similar but not identical errors for a recursive interface. bug251.go:11: error: invalid recursive interface R=rsc CC=golang-dev https://golang.org/cl/2094041
2010-08-31big: added RatString, some simplificationsRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2095041
2010-08-31strconv: fix comment for godocRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2029042
2010-08-31test: gccgo and gc print the error on different lines.Ian Lance Taylor
This introduces GC_ERROR to mark an error only issued by the gc compiler. GCCGO_ERROR already exists to mark errors only issued by the gccgo compiler. Obviously these should be used sparingly. bug195.go:9: error: interface contains embedded non-interface bug195.go:12: error: interface contains embedded non-interface bug195.go:15: error: interface contains embedded non-interface bug195.go:18: error: invalid recursive interface bug195.go:22: error: invalid recursive interface R=rsc CC=golang-dev https://golang.org/cl/2040043
2010-08-31test: Match gccgo error messages.Ian Lance Taylor
gcc conventionally does not upper case in error messages. char_lit1.go:13: error: invalid unicode code point 0xd800 char_lit1.go:14: error: invalid unicode code point 0xd999 char_lit1.go:15: error: invalid unicode code point 0xdc01 char_lit1.go:16: error: invalid unicode code point 0xdddd char_lit1.go:17: error: invalid unicode code point 0xdfff char_lit1.go:20: error: invalid unicode code point 0x110000 char_lit1.go:22: error: invalid unicode code point 0x110000 char_lit1.go:23: error: invalid unicode code point 0xffffffff R=rsc CC=golang-dev https://golang.org/cl/2040042
2010-08-31test: don't assign address of array to slice.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/2084042
2010-08-30misc/bash: add *.go completion for gofmtScott Lawrence
R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/2039044
2010-08-30misc: add zsh completion (using compctl)Scott Lawrence
R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/2061042
2010-08-31doc: add round-robin flag to io2010 balance example.Nigel Tao
R=r CC=golang-dev https://golang.org/cl/2050042
2010-08-30proc, eval: Don't assign address of an array to a slice.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/2084041
2010-08-308l: emit DWARF in ELF.Luuk van Dijk
R=rsc, r, ken2 CC=golang-dev https://golang.org/cl/2004046
2010-08-30build: remove unnecessary references to GOBIN and GOROOTChristian Himpel
All scripts and makefiles assume that GOBIN is correctly set in PATH. R=rsc CC=golang-dev https://golang.org/cl/2043041
2010-08-30misc/fraise: syntax highlighting for Fraise.app (OS X)Vincent Ambo
R=golang-dev, adg1, adg CC=golang-dev https://golang.org/cl/2075041