aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-15weekly.2011-12-14weekly.2011-12-14Andrew Gerrand
R=golang-dev, r CC=golang-dev https://golang.org/cl/5494045
2011-12-14spec: skip carriage returns in raw literalsRob Pike
This change guarantees that whether the line ending convention when the source is created includes carriage returns is irrelevant to the value of the string. See issue 680. The compilers do not yet implement this. R=golang-dev, adg, r, gri, rsc, iant CC=golang-dev https://golang.org/cl/5491043
2011-12-14go: implement build, install, runRuss Cox
clean is gone; all the intermediate files are created in a temporary tree that is wiped when the command ends. Not using go/build's Script because it is not well aligned with this API. The various builder methods are copied from go/build and adapted. Probably once we delete goinstall we can delete the Script API too. R=rogpeppe, adg, adg CC=golang-dev https://golang.org/cl/5483069
2011-12-14fmt: don't recur if String method (etc.) misbehavesRob Pike
Fixes #2555. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5486076
2011-12-15html: don't leave "in column group" mode when ignoring a tokenAndrew Balholm
Pass tests6.dat, test 26: foo<col> | <col> Also pass tests through test 35: <table><tr><div><td> R=nigeltao CC=golang-dev https://golang.org/cl/5482074
2011-12-14cgo: add basic gccgo support.Rémy Oudompheng
R=rsc, iant CC=golang-dev, remy https://golang.org/cl/5485070
2011-12-145c, 6c, 8c: support 64-bit switch valueAnthony Martin
For real this time. :-) R=rsc, ken CC=golang-dev https://golang.org/cl/5486061
2011-12-14gzip: Convert between Latin-1 and UnicodeVadim Vygonets
I realize I didn't send the tests in last time. Anyway, I added a test that knows too much about the package's internal structure, and I'm not sure whether it's the right thing to do. Vadik. R=bradfitz, rsc, go.peter.90 CC=golang-dev https://golang.org/cl/5450073
2011-12-14net/smtp: add CRAM-MD5 authenticationVadim Vygonets
R=golang-dev, edsrzf, bradfitz, rsc CC=golang-dev https://golang.org/cl/5451087
2011-12-14A+C: Vadim Vygonets (individual CLA)Russ Cox
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5482073
2011-12-14misc/osx: Rename profile.go to profile_go to avoid confusing scriptsScott Lawrence
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5472043
2011-12-14html/template: define the FuncMap type locallyRob Pike
This redefinition means that the public signature of html/template does not refer to text/template. Fixes #2546. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5487083
2011-12-14gotest: use build.DefaultContext.GOARCHRobert Hencke
Fixes https://golang.org/cl/5480060/#msg4 R=golang-dev, r CC=golang-dev https://golang.org/cl/5485051
2011-12-14http: fix failing Transport HEAD request with gzip-looking responseBrad Fitzpatrick
We only want to attempt to un-gzip if there's a body (not in response to a HEAD) This was accidentally passing before, but revealed to be broken when c3c6e72d7cc went in. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5477093
2011-12-14strconv: slightly faster int conversion for GOARCH=386Robert Griesemer
benchmark old ns/op new ns/op delta strconv_test.BenchmarkFormatInt 12198 12031 -1.37% strconv_test.BenchmarkAppendInt 9268 9153 -1.24% strconv_test.BenchmarkFormatUint 3538 3429 -3.08% strconv_test.BenchmarkAppendUint 3133 3062 -2.27% No performance difference for GOARCH=amd64. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5488089
2011-12-14json: treat renamed byte slices the same as []byteRob Pike
Fixes #2163. R=rsc CC=golang-dev https://golang.org/cl/5488068
2011-12-14strconv: even faster int conversionRobert Griesemer
benchmark old ns/op new ns/op delta strconv_test.BenchmarkFormatInt 10038 8217 -18.14% strconv_test.BenchmarkAppendInt 6822 4969 -27.16% strconv_test.BenchmarkFormatUint 2811 1814 -35.47% strconv_test.BenchmarkAppendUint 2349 1360 -42.10% R=rsc CC=golang-dev https://golang.org/cl/5488083
2011-12-14undo CL 5477092 / c3c6e72d7cc5Robert Griesemer
The obvious fix is breaking the build in non-obvious ways. Reverting while waiting for the correct fix, if any is needed. ««« original CL description net/http: fix bug in error checking Thanks to josef86@gmail.com for pointing this out. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5477092 »»» R=iant CC=golang-dev https://golang.org/cl/5488085
2011-12-14net/http: fix bug in error checkingRobert Griesemer
Thanks to josef86@gmail.com for pointing this out. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5477092
2011-12-14gc: use inferred type rather than original one when reporting non-assignability.Luuk van Dijk
Fixes #2451 R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5372105
2011-12-14crypto/tls: make compatible with go/buildRuss Cox
R=golang-dev, r CC=golang-dev https://golang.org/cl/5484073
2011-12-14hash/crc32: make compatible with go/buildRuss Cox
R=golang-dev, r CC=golang-dev https://golang.org/cl/5486060
2011-12-14go/build: make compatible with go/buildRuss Cox
The irony! R=golang-dev, r CC=golang-dev https://golang.org/cl/5482062
2011-12-14gc: add forgotten typecheck in a lonely corner of sinitLuuk van Dijk
Fixes #2549 R=rsc CC=golang-dev https://golang.org/cl/5484060
2011-12-14gc: inlining (disabled without -l)Luuk van Dijk
Cross- and intra package inlining of single assignments or return <expression>. Minus some hairy cases, currently including other calls, expressions with closures and ... arguments. R=rsc, rogpeppe, adg, gri CC=golang-dev https://golang.org/cl/5400043
2011-12-14html: close <button> element before opening a new oneAndrew Balholm
Pass tests6.dat, test 13: <button><button> | <html> | <head> | <body> | <button> | <button> Also pass tests through test 25: <table><colgroup>foo R=nigeltao CC=golang-dev https://golang.org/cl/5487072
2011-12-14gc: Use %#F in error messages instead of %F.Luuk van Dijk
Fixes #2520 R=rsc CC=golang-dev https://golang.org/cl/5482056
2011-12-14gc: suppress non-root cause message for bad receivers.Luuk van Dijk
Fixed issue 2500 R=rsc CC=golang-dev https://golang.org/cl/5485053
2011-12-14undo CL 5485063 / 21595dc0395aRuss Cox
breaks 64-bit build ««« original CL description 8c: handle 64-bit switch value Cases must still be 32-bit values, but one thing at a time. R=ality, ken2, ken CC=golang-dev https://golang.org/cl/5485063 »»» R=ken2 CC=golang-dev https://golang.org/cl/5488075
2011-12-13runtime: bump gc 'extra bytes' checkChristopher Wedgwood
(needed for non-zero GOMAXPROCS) R=iant, rsc CC=go.peter.90, golang-dev https://golang.org/cl/5486059
2011-12-148c: handle 64-bit switch valueRuss Cox
Cases must still be 32-bit values, but one thing at a time. R=ality, ken2, ken CC=golang-dev https://golang.org/cl/5485063
2011-12-13encoding/gob: better error messages when types mismatchRob Pike
The transmitter must encode an interface value if it is to be decoded into an interface value, but it's a common and confusing error to encode a concrete value and attempt to decode it into an interface, particularly *interface{}. This CL attempts to explain things better. Fixes #2367. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5485072
2011-12-14exp/winfsnotify: fix build.Yasuhiro Matsumoto
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5483057
2011-12-13spec: values of underlying type uintptr can be converted to unsafe.PointerRobert Griesemer
Not a language change, just stating the facts. Fixes #1793. R=golang-dev, r CC=golang-dev https://golang.org/cl/5488071
2011-12-14syscall: regenerate z-files for openbsdJoel Sing
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5414053
2011-12-13runtime: Make gc_test test extra allocated space, not total space.Ian Lance Taylor
Testing total space fails for gccgo when not using split stacks, because then each goroutine has a large stack, and so the total memory usage is large. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5487068
2011-12-13bufio: make the minimum read buffer size 16 bytes.Rob Pike
R=gri, rsc CC=golang-dev https://golang.org/cl/5485067
2011-12-13test/garbage: move to test/bench/garbageRuss Cox
(These are benchmarks for the garbage collector, not tests.) R=golang-dev, adg CC=golang-dev https://golang.org/cl/5484070
2011-12-13fix build, sorryRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/5488066
2011-12-13strconv: some allocation testsBrad Fitzpatrick
R=rsc, r CC=golang-dev https://golang.org/cl/5477084
2011-12-13test/bench: move to test/bench/shootoutRuss Cox
R=golang-dev, r, gri, bradfitz CC=golang-dev https://golang.org/cl/5487067
2011-12-13contribute.html: do not fill in the reviewer fieldFlorian Weimer
The golang-dev mailing list is added automatically. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5482060
2011-12-13A+C: Florian Weimer (individual CLA)Russ Cox
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5486056
2011-12-13math: delete non-Sqrt-based HypotRuss Cox
I was confused by the existence of two portable Hypot routines in the tree when I cleaned things up, and I made ARM use the wrong (imprecise) one. Use the right one, and delete the wrong one. Fixes arm build. R=golang-dev, r CC=golang-dev https://golang.org/cl/5485065
2011-12-13undo CL 5414048 / f6b994f33cf4Russ Cox
breaks build ««« original CL description http: close connection after printing panic stack trace In a testing situation, it's possible for a local http server to panic and the test exit without the stack trace ever being printed. Fixes #2480. R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5414048 »»» R=bradfitz CC=golang-dev https://golang.org/cl/5482061
2011-12-13go/printer, godoc: print comments in example codeRobert Griesemer
- go/printer: support for printing CommentedNodes - go/doc: collect comments from examples Fixes #2429. R=adg, rsc CC=golang-dev https://golang.org/cl/5482052
2011-12-13gofmt: simplify flagsRobert Griesemer
-tabs replaces -tabindent -spaces has been removed R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/5487066
2011-12-14gofix: add googlecode module for rewriting Google Code importsAndrew Gerrand
goinstall: disallow googlecode.com import paths R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5421049
2011-12-13http: close connection after printing panic stack traceRoger Peppe
In a testing situation, it's possible for a local http server to panic and the test exit without the stack trace ever being printed. Fixes #2480. R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5414048
2011-12-13gofix: add fix httputilYasuhiro Matsumoto
R=r, rsc, adg CC=golang-dev https://golang.org/cl/5364056