- 10 Jan, 2012 2 commits
-
-
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 19 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
-
Jeff R. Allen authored
R=golang-dev CC=golang-dev https://golang.org/cl/5531046
-
Wei Guangjing authored
R=hectorchu, alex.brainman CC=golang-dev https://golang.org/cl/5519054
-
- 08 Jan, 2012 2 commits
-
-
Florian Weimer authored
Also add basic tests. R=golang-dev CC=golang-dev https://golang.org/cl/5533045
-
Sameer Ajmani authored
R=golang-dev, gri, bradfitz, iant CC=golang-dev, rsc https://golang.org/cl/5523049
-
- 06 Jan, 2012 5 commits
-
-
Ryan Hitchman authored
Fixes #2627. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5498088
-
Sameer Ajmani authored
R=gri CC=golang-dev https://golang.org/cl/5515052
-
Adam Langley authored
R=iant, gri CC=golang-dev https://golang.org/cl/5517056
-
Robert Griesemer authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5521052
-
Robert Hencke authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5516049
-
- 05 Jan, 2012 12 commits
-
-
Andrew Gerrand authored
R=gri CC=golang-dev https://golang.org/cl/5519048
-
Eric Eisner authored
Command arguments are separated from input .go file arguments by a -- separator. R=rsc, golang-dev, adg CC=golang-dev https://golang.org/cl/5514046
-
Andrew Gerrand authored
Originally published on the Go blog on 5 Jan 2011: http://blog.golang.org/2011/01/go-slices-usage-and-internals.html R=golang-dev, gri CC=golang-dev https://golang.org/cl/5516046
-
Andrew Gerrand authored
Fixes #2655. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5510045
-
Andrew Gerrand authored
gofmt likes to put lines like // STOP OMIT two blank lines from a closing brace, creating an ugly space inside <pre> blocks in some of these files. This change resolves this issue. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5520044
-
Roger Peppe authored
If there's a error compiling a _test.go file, the error message tries to print a *Package with %s. There's no String method on *Package, so the error message looks bad. Since the error messages identify the file in question anyway, this CL removes the package from the error message. R=rsc, gri CC=golang-dev https://golang.org/cl/5520045
-
Charles L. Dorian authored
Logb errors were reported as Ilogb errors. R=rsc, golang-dev, gri CC=golang-dev https://golang.org/cl/5517045
-
Mikio Hara authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5523044
-
Jeff R. Allen authored
Fix incorrect marshal/unmarshal of certificateRequest. Add support for configuring client-auth on the server side. Fix the certificate selection in the client side. Update generate_cert.go to new time package Fixes #2521. R=krautz, agl, bradfitz CC=golang-dev, mikkel https://golang.org/cl/5448093
-
Andrew Gerrand authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5517044
-
Andrew Gerrand authored
Fixes #2637. R=golang-dev, mikioh.mikioh, iant CC=golang-dev https://golang.org/cl/5508043
-
Alex Brainman authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5522043
-