- 09 Sep, 2013 6 commits
-
-
Russ Cox authored
Cannot happen when using the go command, but help people running commands by hand or with other tools. Fixes #5888. R=ken2 CC=golang-dev https://golang.org/cl/13324048
-
Russ Cox authored
Fixes #5957. R=ken2 CC=golang-dev https://golang.org/cl/13250046
-
Russ Cox authored
Fixes #6298. R=ken2 CC=golang-dev https://golang.org/cl/13624043
-
Joel Sing authored
Update dragonfly memory functions to work with new memory statistics. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13615043
-
Alex Brainman authored
Attempting to fix windows gobuilders R=golang-dev, r CC=golang-dev https://golang.org/cl/13507044
-
Rob Pike authored
Lay out the doc and write text for the minor changes. (I left the net ones for someone who understands them better, or for someone to describe them to me better so I can write them.) Much still to do. Delete go1.2.txt so there's only one thing to update. R=golang-dev, adg CC=golang-dev https://golang.org/cl/13597044
-
- 08 Sep, 2013 4 commits
-
-
Dominik Honnef authored
R=golang-dev, adg CC=bradfitz, golang-dev, remyoudompheng https://golang.org/cl/13568045
-
Emil Hessman authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/13383045
-
Robert Daniel Kortschak authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/13426046
-
Andriy Lytvynov authored
Existing example renamed to Example_sortWrapper. Fixes #6335. R=golang-dev, rsc, taj.khattra, r CC=golang-dev https://golang.org/cl/13586043
-
- 06 Sep, 2013 25 commits
-
-
Keith Randall authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13436045
-
Brad Fitzpatrick authored
See https://code.google.com/p/go/issues/detail?id=6339#c3 Fixes #6339 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13553044
-
Ehren Kret authored
The huffmanDecoder struct appears to be intented for reuse by calling init a second time with a second sequence of code lengths. Unfortunately, it can currently panic if the second sequence of code lengths has a minimum value greater than 10 due to failure to reinitialize the links table. This change prevents the panic by resetting the huffmanDecoder struct back to the struct's zero value at the beginning of the init method if the huffmanDecoder is being reused (determined by checking if min has been set to a non-zero value). Fixes #6255. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13230043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/13234049
-
Dmitriy Vyukov authored
Currently lots of sys allocations are not accounted in any of XxxSys, including GC bitmap, spans table, GC roots blocks, GC finalizer blocks, iface table, netpoll descriptors and more. Up to ~20% can unaccounted. This change introduces 2 new stats: GCSys and OtherSys for GC metadata and all other misc allocations, respectively. Also ensures that all XxxSys indeed sum up to Sys. All sys memory allocation functions require the stat for accounting, so that it's impossible to miss something. Also fix updating of mcache_sys/inuse, they were not updated after deallocation. test/bench/garbage/parser before: Sys 670064344 HeapSys 610271232 StackSys 65536 MSpanSys 14204928 MCacheSys 16384 BuckHashSys 1439992 after: Sys 670064344 HeapSys 610271232 StackSys 65536 MSpanSys 14188544 MCacheSys 16384 BuckHashSys 3194304 GCSys 39198688 OtherSys 3129656 Fixes #5799. R=rsc, dave, alex.brainman CC=golang-dev https://golang.org/cl/12946043
-
Alex Brainman authored
Fixes #6179 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12916047
-
Rémy Oudompheng authored
Fixes #6131. R=golang-dev, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/12800045
-
Marco Hennings authored
For some long filenames the USTAR-split code does not work correctly. It is wrongly assumed that the path would not be too long, but it is. The user visible result was that a filename was split, but it still caused an error. The cause was a wrongly calculated nlen. In addition I noticed that at this place it is also seems necessary to check if the prefix will fit in the 155 chars available for the prefix. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/13300046
-
Andriy Lytvynov authored
Old example referenced global var from multiSorter.Sort and ignored it's argument. Changed one of example calls to actually pass slice to sort. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/13551044
-
Russ Cox authored
Lucio De Re reports that the more complex loop miscompiles on Plan 9. R=ken2 CC=golang-dev https://golang.org/cl/13602043
-
Josh Bleecher Snyder authored
* Sort imports by import path, then import name, then comment. Currently, gofmt sorts only by import path. * If two imports have the same import path and import name, and one of them has no comment, remove the import with no comment. (See the discussion at issue 4414.) Based on @rsc's https://golang.org/cl/7231070/ Fixes #4414. R=gri, rsc CC=golang-dev https://golang.org/cl/12837044
-
Russ Cox authored
R=golang-dev CC=golang-dev https://golang.org/cl/13521044
-
Dominik Honnef authored
R=adonovan CC=golang-dev https://golang.org/cl/13476043
-
Anthony Martin authored
Fixes #6186. R=golang-dev, bradfitz, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/13112043
-
Russ Cox authored
This message was helpful for pre-Go 1 users updating to Go 1. That time is past. Now the message is confusing because it depends on knowing what pre-Go 1 looked like. Update #4697. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13335051
-
Anthony Martin authored
Make sure we never pass a timer into timerproc with a negative duration since it will cause other timers to never expire. Fixes #5321. R=golang-dev, minux.ma, remyoudompheng, mikioh.mikioh, r, bradfitz, rsc, dvyukov CC=golang-dev https://golang.org/cl/9035047
-
Brad Fitzpatrick authored
O_SYNC changes only on linux-arm (and linux-arm-cgo), but changes to match O_SYNC on linux-{386,amd64} and what Linux upstream now uses. See discussion and links on https://golang.org/cl/13261050/ R=golang-dev, r CC=golang-dev https://golang.org/cl/13575045
-
Brad Fitzpatrick authored
Update #5935 R=golang-dev, rsc, iant, dave CC=golang-dev https://golang.org/cl/13261050
-
Brad Fitzpatrick authored
But keep their case for ease of searching. They were added recently. We don't want them part of go1.2's API. R=golang-dev, r CC=golang-dev https://golang.org/cl/13569044
-
Brad Fitzpatrick authored
Fixes #6084 R=golang-dev, rsc, dave CC=golang-dev https://golang.org/cl/13523044
-
Kamil Kisiel authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13592043
-
ChaiShushan authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13587043
-
Lucio De Re authored
cmd/cc: bv.c imports libc.h twice When using the Plan 9 compiler, the invocation #include <../ld/textflag.h> works for the toolchain, but not for the MACH library. Module cmd/cc/bv.c includes libc.h and "cc.h", which in turn also includes libc.h. In the Plan 9 context, this causes a number of duplicate definitions. R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/13303047
-
Rob Pike authored
It's not needed to analyze coverage data. Fixes #6120 R=golang-dev, adg CC=golang-dev https://golang.org/cl/13343050
-
Russ Cox authored
These tests were suggested in golang.org/issue/6080. They were fixed as part of the new nil pointer checks that I added a few weeks ago. Recording the tests as part of marking the issue closed. Fixes #6080. R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/13255049
-
- 05 Sep, 2013 5 commits
-
-
Rob Pike authored
Flushing after every token negates the point of buffering. A different approach is required. ««« original CL description encoding/xml: flush buffer after encoding token R=rsc, bradfitz, adg CC=golang-dev https://golang.org/cl/13004046 »»» R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/13515043
-
Ian Lance Taylor authored
This should have been part of revision 16731:cdedb129e020, but I missed it. This fixes printing local variables when doing an external link. No test because we aren't doing any debug info testing yet. Fixes #5719. R=golang-dev, r CC=golang-dev https://golang.org/cl/13464046
-
Rémy Oudompheng authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13171046
-
Rémy Oudompheng authored
DeepEqual caches addresses of compared values each time it visits addressable values. This is more expensive than actually comparing them in the common case of large slices of bytes or integers. Also add a fast path for slices with identical underlying array. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13000044
-
Ian Lance Taylor authored
Fixes #5240. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13546044
-