- 04 Mar, 2013 16 commits
-
-
Robert Griesemer authored
The only functional change is the new section on terminating statements. There is a minor syntax rewrite (not change) of function declarations to make it easier to refer to the notion of a function from all places where it is used (function decls, method decls, and function literals). Includes some minor fixes/additions of missing links. Based closely on Russ' proposal. Fixes #65. R=rsc, r, iant, ken, bradfitz CC=golang-dev https://golang.org/cl/7415050
-
Robert Griesemer authored
Fixes #4976. R=r CC=golang-dev https://golang.org/cl/7421050
-
Dominik Honnef authored
R=golang-dev, adonovan, bradfitz, cw, patrick.allen.higgins, sameer, ugorji CC=golang-dev https://golang.org/cl/7373051
-
Shenghou Ma authored
to reduce compile time memory/stack usage. Update #4970 $ go test -c ../test/bench/go1 before: 0.36user 0.07system 0:00.44elapsed 100%CPU (0avgtext+0avgdata 540720maxresident)k 0inputs+19840outputs (0major+56451minor)pagefaults 0swaps after: 0.33user 0.05system 0:00.39elapsed 100%CPU (0avgtext+0avgdata 289936maxresident)k 0inputs+19864outputs (0major+29615minor)pagefaults 0swaps And stack usage is reduced to below 1MiB. R=golang-dev, r, dave CC=golang-dev https://golang.org/cl/7436050
-
Brad Fitzpatrick authored
Fixes #4969 R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7456049
-
Russ Cox authored
Using -import_runtime_cgo would have worked great except that it doesn't get passed to the second invocation of cgo, and that's the one that writes the relevant file. Fixes ARM build on systems with a different dynamic linker than the one 5l assumes (like Gentoo). R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7432048
-
Brad Fitzpatrick authored
Use a 17 MB payload instead of a 1 MB payload, since OS X can apparently buffer up to 16 MB in its pipes. Fixes #4958 maybe R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7453049
-
Daniel Morsing authored
Fixes #4941. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7415051
-
Jan Ziak authored
If the constant CollectStats is non-zero and GOGCTRACE=1 the garbage collector will print basic statistics about executed GC instructions. R=golang-dev, dvyukov CC=golang-dev, rsc https://golang.org/cl/7413049
-
Rémy Oudompheng authored
Fixes #4882. Fixes #4936. Fixes #4937. R=golang-dev, dave, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/7432044
-
Jan Ziak authored
R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/7435053
-
Rémy Oudompheng authored
Fixes #4932. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/7437043
-
Russ Cox authored
R=golang-dev, remyoudompheng, bradfitz CC=golang-dev https://golang.org/cl/7419049
-
Russ Cox authored
Don't check out the repository if we're just going to fail everything. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7453048
-
Stefan Nilsson authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7450052
-
Volker Dobler authored
The old code would decode the palette only for 8-bit images during a DecodeConfig. This CL keeps the behavior for 8-bit images and sets up the decoded palette also for 1, 2 and 4-bit images. Fixes #4279. R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/7421048
-
- 03 Mar, 2013 6 commits
-
-
Andrew Gerrand authored
Fixes the App Engine version of godoc. The other fix is to duplicate this code inside appinit.go. I think initHandlers is the right place to put the strings.Split call, as the notesToShow var is used by docServer, which is what initHandlers sets up. R=dsymonds CC=golang-dev https://golang.org/cl/7434044
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7423050
-
Mikio Hara authored
Fixes build on Plan 9 and Windows. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7454049
-
Mikio Hara authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7429049
-
Mikio Hara authored
Also replaces testing.Errof with testing.Fatalf, make use of ICMP mock. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7308058
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/7433044
-
- 02 Mar, 2013 14 commits
-
-
Shenghou Ma authored
1. when executing a unsupported VFP instruction, the NetBSD kernel somehow doesn't report SIGILL, and instead just spin and spin, we add a alarm(2) to detect this case (albeit this is a kernel bug). 2. NetBSD/ARM's VFP11 support is not complete, so temporarily disable it. 3. The default gcc shipped with NetBSD-current mis-optimizes our code at -O2, so lower the optimization level to -O1 on NetBSD/ARM. R=dave, rsc CC=golang-dev https://golang.org/cl/7286044
-
Andrew Gerrand authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/7422055
-
Rémy Oudompheng authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7420051
-
Rob Pike authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7445050
-
Rob Pike authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7450050
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7419048
-
Rob Pike authored
They are moving to code.google.com/p/go.exp. See also https://golang.org/cl/7463043 R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7456047
-
Dmitriy Vyukov authored
Fixes #4826. R=golang-dev, r CC=golang-dev https://golang.org/cl/7434046
-
Dmitriy Vyukov authored
Fixes #4904. The problem was that when the test runs the heap had grown to ~100MB, so GC allows it to grow to 200MB, and so the test fails. Moving the test to a separate process makes it much more isolated and stable. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7441046
-
Mikio Hara authored
Fixes #4952. R=alex.brainman CC=golang-dev https://golang.org/cl/7445046
-
Robert Griesemer authored
More robustness in case of incorrect programs. Fixes #4962. R=dsymonds CC=golang-dev https://golang.org/cl/7429047
-
Carlos Castillo authored
swig >= 2.0.9 requires the size of int values to be passed via a command line flag. Should swig complain about the -intgosize not being supported, then alert the user to their outdated version of swig. Fixes #4756. R=golang-dev, minux.ma, iant CC=golang-dev https://golang.org/cl/7331048
-
Robert Griesemer authored
Replacement for CL 7370053 which attempted to make fallthrough's syntactically a part of switch statements. Because they may be labeled, fixing that CL completely would require too much spec surgery. Fixes #4923. R=r, iant, rsc, ken CC=golang-dev https://golang.org/cl/7416048
-
Rob Pike authored
Also make the crossover point an architecture-dependent constant, although it's the same everywhere for now. BenchmarkAppendStr1Byte 416 145 -65.14% BenchmarkAppendStr4Bytes 743 217 -70.79% BenchmarkAppendStr8Bytes 421 270 -35.87% BenchmarkAppendStr16Bytes 415 403 -2.89% BenchmarkAppendStr32Bytes 415 391 -5.78% R=golang-dev, iant CC=golang-dev https://golang.org/cl/7459044
-
- 01 Mar, 2013 4 commits
-
-
Rob Pike authored
Update #3679. BenchmarkAppend1Byte 484 199 -58.88% BenchmarkAppend4Bytes 829 286 -65.50% BenchmarkAppend8Bytes 484 365 -24.59% BenchmarkAppend16Bytes 484 498 +2.89% BenchmarkAppend32Bytes 486 484 -0.41% R=iant, dave, rsc CC=golang-dev https://golang.org/cl/7443047
-
Russ Cox authored
Fixes #4961. R=golang-dev, r, minux.ma CC=golang-dev https://golang.org/cl/7443048
-
Rob Pike authored
Fixes #4945. Most examples in this issue now better, but #10 is incomplete and I'm not certain how to reproduce it. It actually looks like a go/types problem, since the type being reported is coming directly from that package. Please reopen the issue if you disagree. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7448046
-
Rémy Oudompheng authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7450049
-