- 10 Sep, 2013 10 commits
-
-
Alexis Imperial-Legrand authored
If using other gdb python scripts loaded before Go's gdb-runtime.py and that have a different init prototype: Traceback (most recent call last): File "/usr/lib/go/src/pkg/runtime/runtime-gdb.py", line 446, in <module> k() TypeError: __init__() takes exactly 3 arguments (1 given) The problem is that gdb keeps all python scripts in the same namespace, so vars() contains them. To avoid that, load helpers one by one. R=iant, rsc CC=gobot, golang-dev https://golang.org/cl/9752044
-
Russ Cox authored
R=golang-dev, bradfitz CC=ail, golang-dev https://golang.org/cl/13441050
-
Russ Cox authored
$INTBITS will not be defined, of course, but that's the best we can do. Fixes #5978. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13253048
-
Russ Cox authored
Fixes #5676. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13250047
-
Russ Cox authored
Fixes #6038. R=iant CC=golang-dev https://golang.org/cl/13649043
-
Russ Cox authored
Various compilers complain about the macro expansion not being used. I fixed a few yesterday. More today. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13643044
-
Keith Randall authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/13336046
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/13396051
-
Rob Pike authored
R=golang-dev, remyoudompheng, dominik.honnef, adg CC=golang-dev https://golang.org/cl/13341049
-
Alex Brainman authored
Fixes #6224 R=golang-dev, hcwfrichter, bradfitz CC=golang-dev https://golang.org/cl/13410045
-
- 09 Sep, 2013 20 commits
-
-
Russ Cox authored
Fixes #4900. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13400044
-
Richard Eric Gavaletz authored
Before CL 7065067 calling Next on an element returned either the next/prev element or nil was returned. After the CL if an element was not part of a list e.Next() and e.Prev() will panic. This CL returns to the documented behavior, that Next/Prev returns the next/prev list element or nil. Fixes #6349. R=golang-dev, gri CC=golang-dev https://golang.org/cl/13234051
-
Russ Cox authored
Bug3486 tried to walk the entire file tree, but other tests might be creating and removing files in that tree. In particular, package os creates and removes files in the os directory, and issue 5863 reports failures due to seeing those files appear and then disappear. Change the test to walk just the test tree, which should not be changing. Fixes #5863. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13467045
-
Russ Cox authored
Fixes #6341. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13512048
-
Russ Cox authored
Fixes #5894. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13303051
-
Russ Cox authored
Fixes #5803. Is it correct behavior? Who knows. R=golang-dev, bradfitz, jgc CC=golang-dev, jgc https://golang.org/cl/13248048
-
Ian Lance Taylor authored
This will bring in the C++ standard library without requiring any special #cgo LDFLAGS options. When using gccgo, just add -lstdc++ to link line; this should do no harm if it is not needed. No tests, since we don't want to assume a C++ compiler. Update #5629 R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/13394045
-
Russ Cox authored
If you thought gcc -ansi -pedantic was pedantic, just wait until you meet clang -fsanitize=undefined. I think this addresses all the reported "errors", but we'll need another run to be sure. all.bash still passes. Update #5764 Dave, can you please try again? R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13334049
-
Russ Cox authored
The code in question is trying to print a nice error message when a Go EABI binary runs on an OABI machine. Unfortunately, the only way to do that is to use ARM Thumb instructions, which we otherwise don't use. There exist ARM EABI machines that do not support Thumb. We could run on them if not for this OABI check, so disable it. Fixes #5685. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/13234050
-
Rémy Oudompheng authored
Fixes #6036. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/12992043
-
Russ Cox authored
Fixes #5578. R=ken2 CC=golang-dev https://golang.org/cl/13417044
-
Russ Cox authored
Fixes #5122. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13395046
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/13512047
-
Russ Cox authored
Fixes #6004. R=ken2 CC=golang-dev https://golang.org/cl/13616044
-
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 6 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
-