- 10 Jan, 2012 23 commits
-
-
Brad Fitzpatrick authored
Fixes #2624 R=rsc CC=golang-dev https://golang.org/cl/5530068
-
Luuk van Dijk authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5529060
-
Luuk van Dijk authored
flag -l means: inlining on, -ll inline with early typecheck -l lazily typechecks imports on use and re-export, nicer for debugging -lm produces output suitable for errchk tests, repeated -mm... increases inl.c's verbosity export processed constants, instead of originals outparams get ->inlvar too, and initialized to zero fix shared rlist bug, that lead to typecheck messing up the patched tree properly handle non-method calls to methods T.meth(t, a...) removed embryonic code to handle closures in inlined bodies also inline calls inside closures (todo: move from phase 6b to 4) Fixes #2579. R=rsc CC=golang-dev https://golang.org/cl/5489106
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5531062
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5528065
-
Dave Cheney authored
Regenerated under Lion 10.7.2 amd64. Also tested on Snow Leopart 10.6.8 386. R=golang-dev, dsymonds, minux.ma CC=golang-dev https://golang.org/cl/5533058
-
Maxim Pimenov authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5531060
-
Luuk van Dijk authored
This fixes issue 2444. A big cleanup of all 31/32bit size boundaries i'll leave for another cl though. (see also issue 1700). R=rsc CC=golang-dev https://golang.org/cl/5484058
-
Luuk van Dijk authored
Fixes #2231. Declaring main.i in package main in the same way already triggers syntax errors. R=rsc CC=golang-dev https://golang.org/cl/5483078
-
Luuk van Dijk authored
Fixes #2639. R=rsc CC=bradfitz, golang-dev https://golang.org/cl/5489140
-
Luuk van Dijk authored
Fixes #1894. test/closure.go's test for newfunc already covers this. R=rsc, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/5516051
-
Mikio Hara authored
runtime: enable runtime.ncpu on FreeBSD ««« original CL description cmd/go: fix freebsd build R=golang-dev, adg CC=golang-dev https://golang.org/cl/5530063 »»» R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5531059
-
Devon H. O'Dell authored
R=adg, mikioh.mikioh CC=golang-dev https://golang.org/cl/5528062
-
Mikio Hara authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5530063
-
Russ Cox authored
On my MacBookAir4,1: 19.94r go install -a -p 1 std 12.36r go install -a -p 2 std 9.76r go install -a -p 3 std 10.77r go install -a -p 4 std 86.57r go test -p 1 std -short 52.69r go test -p 2 std -short 43.75r go test -p 3 std -short 40.44r go test -p 4 std -short 157.50r go test -p 1 std 99.58r go test -p 2 std 87.24r go test -p 3 std 80.18r go test -p 4 std R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/5531057
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5528061
-
Sameer Ajmani authored
is consistent with what the Go compiler returns when such sequences appear in string literals. Fixes #2658. R=golang-dev, rsc, r, r, nigeltao CC=golang-dev https://golang.org/cl/5530051
-
Robert Griesemer authored
- define "0-sized" - add clarifying sentence to pointer comparison - removed notion "location" which was used only in pointer comparisons and which was never defined Fixes #2620. R=r, rsc, iant CC=golang-dev https://golang.org/cl/5528053
-
Brad Fitzpatrick authored
Fixes #2619 R=r, rsc CC=golang-dev https://golang.org/cl/5528058
-
Russ Cox authored
The -v flag prints the names of packages as they are built/installed. Use -v in make.bash/run.bash to avoid a silent pause during the build while Go code is being compiled. R=golang-dev, r CC=golang-dev https://golang.org/cl/5532055
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5530058
-
Robert Griesemer authored
- separated exported data structures from doc reader by extracting all exported data structures into doc.go and moving the implementation into reader.go - added missing documentation comments - no API or semantic changes (but moved positions of PackageDoc.Doc and TypeDoc.Decl field up for consistency) - runs all tests R=golang-dev, r CC=golang-dev https://golang.org/cl/5527063
-
Nigel Tao authored
shorten the MathML namespace abbreviation from "mathml" to "math". Python's html5lib uses "mathml", but I think that that is an internal implementation detail; the test cases use "math". Pass tests10.dat, test 30: <div><svg><path><foreignObject><math></div>a | <html> | <head> | <body> | <div> | <svg svg> | <svg path> | <svg foreignObject> | <math math> | "a" R=andybalholm CC=golang-dev https://golang.org/cl/5529044
-
- 09 Jan, 2012 17 commits
-
-
Russ Cox authored
This fixes the most annoying bug in the go command, that 'go build' sometimes ignored packages it had just rebuilt in favor of stale installed ones. This part of the code needs more thought, but this small change is an important improvement. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5531053
-
Anthony Martin authored
R=golang-dev, akumar, rsc CC=golang-dev https://golang.org/cl/5534055
-
Russ Cox authored
This should make conversion from Unix mode to os.FileMode and back not lossy. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5531052
-
Adam Langley authored
I didn't believe that OpenPGP allowed > SHA-1 with DSA, but it does and so we need to perform hash truncation. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5510044
-
Rémy Oudompheng authored
The recover code assumes that the panic() argument was an error, but it is usually a simple string. Fixes #2663. R=golang-dev, r, r, gri CC=golang-dev, remy https://golang.org/cl/5527046
-
Alexey Borzenkov authored
Fixes #2662. R=golang-dev, rogpeppe, r, r CC=golang-dev, r, rogpeppe https://golang.org/cl/5515050
-
Luuk van Dijk authored
Fixes #2576. R=rsc CC=golang-dev https://golang.org/cl/5498105
-
Ian Lance Taylor authored
R=rsc, borman CC=golang-dev https://golang.org/cl/5525043
-
Robert Griesemer authored
- use slice ops for convertWords instead of lo/hi boundaries - always compute leading zeroes (simplifies logic significantly), but remove them once, at the end (since leafSize is small, the worst-case scenario is not adding significant overhead) - various comment cleanups (specifically, replaced direct -> iterative, and indirect -> recursive) - slightly faster overall for -bench=String (This CL incorporates the changes re: my comments to CL 5418047 https://golang.org/cl/5418047/ ) benchmark old ns/op new ns/op delta big.BenchmarkString10Base2 519 527 +1.54% big.BenchmarkString100Base2 2279 2158 -5.31% big.BenchmarkString1000Base2 18475 17323 -6.24% big.BenchmarkString10000Base2 178248 166219 -6.75% big.BenchmarkString100000Base2 1548494 1431587 -7.55% big.BenchmarkString10Base8 415 422 +1.69% big.BenchmarkString100Base8 1025 978 -4.59% big.BenchmarkString1000Base8 6822 6428 -5.78% big.BenchmarkString10000Base8 64598 61065 -5.47% big.BenchmarkString100000Base8 593788 549150 -7.52% big.BenchmarkString10Base10 654 645 -1.38% big.BenchmarkString100Base10 1863 1835 -1.50% big.BenchmarkString1000Base10 12099 11981 -0.98% big.BenchmarkString10000Base10 57601 56888 -1.24% big.BenchmarkString100000Base10 20123120 19827890 -1.47% big.BenchmarkString10Base16 358 362 +1.12% big.BenchmarkString100Base16 815 776 -4.79% big.BenchmarkString1000Base16 4710 4421 -6.14% big.BenchmarkString10000Base16 43938 40968 -6.76% big.BenchmarkString100000Base16 406307 373930 -7.97% R=michael.jones, mtj CC=golang-dev https://golang.org/cl/5432090
-
Peter Mundy authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5531048
-
Florian Weimer authored
Instead of syntax-tables, an extended go-mode-cs is used for from a font-lock callback. Cache invalidation must happen in a before-change-function because font-lock runs in an after-change-function, potentially before the cache invalidation takes place. Performance is reasonable, even with src/pkg/html/entity.go and test/fixedbugs/bug257.go. Fixes #2330. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5529045
-
Russ Cox authored
breaks 386 build ««« original CL description gc: put limit on size of exported recursive interface Prevents edge-case recursive types from consuming excessive memory. Fixes #1909. R=golang-dev, lvd, rsc CC=golang-dev https://golang.org/cl/5504108 »»» R=lvd, lvd CC=golang-dev https://golang.org/cl/5534049
-
Lorenzo Stoakes authored
Prevents edge-case recursive types from consuming excessive memory. Fixes #1909. R=golang-dev, lvd, rsc CC=golang-dev https://golang.org/cl/5504108
-
Albert Strasheim authored
As discussed in this thread: https://groups.google.com/group/golang-dev/browse_thread/thread/5b76b7700265a787 I've tried to come up with a solution that is minimally invasive for the platforms that don't support "parent death signal", without splitting up exec_unix.go. See also: http://www.win.tue.nl/~aeb/linux/lk/lk-5.html#ss5.8 R=rsc, dave, borman, iant, mikioh.mikioh CC=golang-dev https://golang.org/cl/5487061
-
Andrew Gerrand authored
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5530048
-
Andrew Gerrand authored
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5519050
-
Andrew Gerrand authored
R=r, dsymonds CC=golang-dev https://golang.org/cl/5530047
-