- 17 Aug, 2013 1 commit
-
-
Russ Cox authored
When the new call site-specific frame bitmaps are available, we can cut the zeroing to just those values that need it due to scope escaping. R=cshapiro, cshapiro CC=golang-dev https://golang.org/cl/13045043
-
- 16 Aug, 2013 28 commits
-
-
Dmitriy Vyukov authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13067043
-
Dmitriy Vyukov authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13065043
-
Dmitriy Vyukov authored
Fixes #6161. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13059043
-
Dmitriy Vyukov authored
Fixes #6166. Fixes #6168. R=golang-dev, bradfitz, remyoudompheng CC=golang-dev https://golang.org/cl/12927045
-
Dominik Honnef authored
When identifying structs or interfaces we really want to know their makeup, not just their name. R=adonovan CC=golang-dev https://golang.org/cl/13042043
-
Dmitriy Vyukov authored
Fixes #6107. race: output goroutine 1 as main goroutine Fixes #6130. race: option to abort program on first detected error R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/12968044
-
Dmitriy Vyukov authored
Fixes #6165. R=golang-dev, r CC=golang-dev https://golang.org/cl/12984044
-
Robert Dinu authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/12759043
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/12890044
-
Carl Shapiro authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12740046
-
Rob Pike authored
This time we're going for 5! http://goo.gl/3ETYH7 Fixes #3790 Yeah, right. R=golang-dev, adg CC=golang-dev https://golang.org/cl/13002044
-
David Symonds authored
Fixes #6160. ««« original CL description go/doc: permit a package synopsis to end with ":\n". R=gri, r CC=golang-dev https://golang.org/cl/12822043 »»» R=golang-dev, r CC=golang-dev https://golang.org/cl/13040043
-
Dominik Honnef authored
Jumps to the same file will use the original buffer, not the coverage buffer. Making it work for the coverage buffer isn't worth the trouble, especially because it would break as soon as you jump to a different file and back. Use error instead of message so it actually terminates R=adonovan CC=golang-dev https://golang.org/cl/13041043
-
Dominik Honnef authored
R=adonovan CC=golang-dev https://golang.org/cl/12744046
-
Dominik Honnef authored
Fixes #6156. R=adonovan CC=golang-dev https://golang.org/cl/13035043
-
Andrew Gerrand authored
They're baked into the godoc binary now. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/12751047
-
Rob Pike authored
When the packages the tested package depends on don't build, we weren't getting out early. Added a simple check for a successful build to an existing early out. There may be other ways that double compilation arises, but this fixes the one listed in the issue. Fixes #5679 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13036043
-
Rob Pike authored
_ = complex("foo", 0) _ = complex(true, 0) now trigger: x.go:4: invalid operation: complex("foo", 0) (mismatched types untyped string and untyped number) x.go:5: invalid operation: complex(true, 0) (mismatched types untyped bool and untyped number) Fixes #4521 R=golang-dev, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/12973043
-
Dominik Honnef authored
Also fixes color gradient being calculated against the wrong maximum. R=adonovan CC=golang-dev https://golang.org/cl/12968043
-
Russ Cox authored
The goal is to stop only those programs that would keep going and run the machine out of memory, but before they do that. 1 GB on 64-bit, 250 MB on 32-bit. That seems implausibly large, and it can be adjusted. Fixes #2556. Fixes #4494. Fixes #5173. R=khr, r, dvyukov CC=golang-dev https://golang.org/cl/12541052
-
Dimitri Tcaciuc authored
Use more compressed image to reduce source clutter. Fixes #5983. R=nigeltao, adg CC=golang-dev https://golang.org/cl/12513044
-
Nigel Tao authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/13024045
-
Nigel Tao authored
Rows.Close. Previously, callers that followed the example code (but not call rows.Close after "for rows.Next() { ... }") could leak statements if the driver returned an error other than io.EOF. R=bradfitz, alex.brainman CC=golang-dev, rsc https://golang.org/cl/12677050
-
Russ Cox authored
TBR=dvyukov CC=golang-dev https://golang.org/cl/12791044
-
Brad Fitzpatrick authored
Also start of some test helper unification, long overdue. I refrained from cleaning up the rest in this CL. Fixes #6157 R=golang-dev, adg CC=golang-dev https://golang.org/cl/13030043
-
Rob Pike authored
It's nearly useless and for plain 'go doc', 'godoc .' works fine. R=golang-dev, adg CC=golang-dev https://golang.org/cl/13004044
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12931044
-
Rob Pike authored
It's next to useless and confusing as well. Let's make godoc better instead. Fixes #4849. R=golang-dev, dsymonds, adg, rogpeppe, rsc CC=golang-dev https://golang.org/cl/12974043
-
- 15 Aug, 2013 11 commits
-
-
Brad Fitzpatrick authored
One was tiny. One was gigantic. Now one is gone and one is giganticer. No code changes. R=golang-dev, adg CC=golang-dev https://golang.org/cl/13025043
-
Russ Cox authored
See golang.org/s/go12nil. This CL is about getting all the right checks inserted. A followup CL will add an optimization pass to remove redundant checks. R=ken2 CC=golang-dev https://golang.org/cl/12970043
-
Russ Cox authored
See golang.org/s/go12nil for the extended version. R=golang-dev, r, adonovan CC=golang-dev https://golang.org/cl/12964043
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12858044
-
Mikio Hara authored
R=golang-dev, jsing CC=golang-dev https://golang.org/cl/12876044
-
Mikio Hara authored
Fixes #5199. Benchmark results on freebsd/amd64 (virtual machine): benchmark old ns/op new ns/op delta BenchmarkTCP4OneShot-2 184566 187164 +1.41% BenchmarkTCP4OneShotTimeout-2 215558 187722 -12.91% BenchmarkTCP4Persistent-2 59686 41294 -30.81% BenchmarkTCP4PersistentTimeout-2 60692 39974 -34.14% BenchmarkTCP6OneShot-2 226595 223688 -1.28% BenchmarkTCP6OneShotTimeout-2 253144 225161 -11.05% BenchmarkTCP6Persistent-2 69157 55605 -19.60% BenchmarkTCP6PersistentTimeout-2 70426 53805 -23.60% BenchmarkTCP4ConcurrentReadWrite-2 53878 56087 +4.10% BenchmarkTCP6ConcurrentReadWrite-2 66538 68190 +2.48% benchmark old allocs new allocs delta BenchmarkTCP4OneShot-2 39 36 -7.69% BenchmarkTCP4OneShotTimeout-2 42 36 -14.29% BenchmarkTCP4Persistent-2 1 0 -100.00% BenchmarkTCP4PersistentTimeout-2 1 0 -100.00% BenchmarkTCP6OneShot-2 41 36 -12.20% BenchmarkTCP6OneShotTimeout-2 43 36 -16.28% BenchmarkTCP6Persistent-2 1 0 -100.00% BenchmarkTCP6PersistentTimeout-2 1 0 -100.00% BenchmarkTCP4ConcurrentReadWrite-2 0 0 n/a% BenchmarkTCP6ConcurrentReadWrite-2 0 0 n/a% benchmark old bytes new bytes delta BenchmarkTCP4OneShot-2 3084 2544 -17.51% BenchmarkTCP4OneShotTimeout-2 3129 2519 -19.50% BenchmarkTCP4Persistent-2 30 0 -100.00% BenchmarkTCP4PersistentTimeout-2 31 0 -100.00% BenchmarkTCP6OneShot-2 3297 2660 -19.32% BenchmarkTCP6OneShotTimeout-2 3306 2655 -19.69% BenchmarkTCP6Persistent-2 31 0 -100.00% BenchmarkTCP6PersistentTimeout-2 29 0 -100.00% BenchmarkTCP4ConcurrentReadWrite-2 2 0 -100.00% BenchmarkTCP6ConcurrentReadWrite-2 7 0 -100.00% R=dvyukov, minux.ma, dave, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/8264043
-
Dmitriy Vyukov authored
runtime.gcwaiting checks are not needed anymore R=golang-dev, khr CC=golang-dev https://golang.org/cl/12934043
-
Dmitriy Vyukov authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/12986043
-
Rémy Oudompheng authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12960043
-
Mikio Hara authored
This CL rearranges the call order for raw networking primitives like the following; - For dialers that open active connections, pollDesc.Init will be called before syscall.Connect. - For stream listeners that open passive stream connections, pollDesc.Init will be called just after syscall.Listen. - For datagram listeners that open datagram connections, pollDesc.Init will be called just after syscall.Bind. This is in preparation for runtime-integrated network pollster for BSD variants. Update #5199 R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/12730043
-
Rob Pike authored
I tried to make it absolutely correct but there are too many conflicting definitions for the official list of time zones. Since when we're parsing we know when to expect a time zone and we know what they look like if not exactly what the definitive set is, we compromise. We accept any three-character sequence of upper case letters, possibly followed by a capital T (all four-letter zones end in T). There is one crazy special case (ChST) and the possibility of a signed hour offset for GMT. Fixes #3790 I hope forever, but I doubt that very much. R=golang-dev, adg CC=golang-dev https://golang.org/cl/12969043
-