- 21 Jan, 2015 9 commits
-
-
David Crawshaw authored
Generated from a modified go vet. Change-Id: Ibe82941283da9bd4dbc7fa624a33ffb12424daa2 Reviewed-on: https://go-review.googlesource.com/2817Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
David Crawshaw authored
Generated from go vet. Change-Id: I8fee4095e43034b868bfd2b07e21ac13d5beabbb Reviewed-on: https://go-review.googlesource.com/2816Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Austin Clements authored
This reverts commit 44529d93. Change-Id: I7671e2cd6f6a476efffa16e8110500a98258c0c1 Reviewed-on: https://go-review.googlesource.com/3130Reviewed-by: Austin Clements <austin@google.com>
-
Rick Hudson authored
Adujst triggergc so that we trigger when we have used 7/8 of the available memory. Change-Id: I7ca02546d3084e6a04d60b09479e04a9a9837ae2 Reviewed-on: https://go-review.googlesource.com/3061Reviewed-by: Russ Cox <rsc@golang.org>
-
Shenghou Ma authored
Change-Id: I04c1b8f2a9ac4efba227d6c0a20459420cd3dc05 Reviewed-on: https://go-review.googlesource.com/3014Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Andrew Gerrand authored
Fixes #9651 Change-Id: I987833b6263482a402e58fcd9eeb0e42401599b5 Reviewed-on: https://go-review.googlesource.com/3073Reviewed-by: Robert Griesemer <gri@golang.org>
-
Robert Griesemer authored
Change-Id: Ida20bf95e8f0fdadb459c2daa6d22edae9c3ad16 Reviewed-on: https://go-review.googlesource.com/3091Reviewed-by: Alan Donovan <adonovan@google.com>
-
Russ Cox authored
For Austin's framepointer experiment. Change-Id: I81b6f414943b3578924f853300b9193684f79bf4 Reviewed-on: https://go-review.googlesource.com/2994Reviewed-by: Austin Clements <austin@google.com>
-
Adam Langley authored
This reverts commit cef15faa. Change-Id: I6df3e9ea48cd58893892587dd5cd28c1eb759c48 Reviewed-on: https://go-review.googlesource.com/3090Reviewed-by: Adam Langley <agl@golang.org>
-
- 20 Jan, 2015 9 commits
-
-
Paul van Brouwershaven authored
According to RFC5280 the authority key identifier extension MUST included in all CRLs issued. This patch includes the authority key identifier extension when the Subject Key Identifier is present in the signing certificate. RFC5280 states: "The authority key identifier extension provides a means of identifying the public key corresponding to the private key used to sign a CRL. The identification can be based on either the key identifier (the subject key identifier in the CRL signer's certificate) or the issuer name and serial number. This extension is especially useful where an issuer has more than one signing key, either due to multiple concurrent key pairs or due to changeover." Conforming CRL issuers MUST use the key identifier method, and MUST include this extension in all CRLs issued." This CL has been discussed at: http://golang.org/cl/177760043 Change-Id: I9bf50521908bfe777ea2398f154c13e8c90d14ad Reviewed-on: https://go-review.googlesource.com/2258Reviewed-by: Adam Langley <agl@golang.org>
-
Paul van Brouwershaven authored
Signer is an interface to support opaque private keys. These keys typically result from being kept in special hardware (i.e. a TPM) although sometimes operating systems provide a similar interface using process isolation for security rather than hardware boundaries. This changes provides updates implements crypto.Signer in CreateCRL and CreateCertificate so that they can be used with opaque keys. This CL has been discussed at: http://golang.org/cl/145910043 Change-Id: Ie4a4a583fb120ff484a5ccf267ecd2a9c5a3902b Reviewed-on: https://go-review.googlesource.com/2254Reviewed-by: Adam Langley <agl@golang.org>
-
Emil Hessman authored
Unless the first element is a Universal Naming Convention (UNC)[0] path, Join shouldn't create a UNC path on Windows. For example, Join inadvertently creates a UNC path on Windows when told to join at least three non-empty path elements, where the first element is `\` or `/`. This CL prevents creation of a UNC path prefix when the first path element isn't a UNC path. Since this introduces some amount of Windows-specific logic, Join is moved to a per GOOS implementation. Fixes #9167. [0]: http://msdn.microsoft.com/en-us/library/gg465305.aspx Change-Id: Ib6eda597106cb025137673b33c4828df1367f75b Reviewed-on: https://go-review.googlesource.com/2211Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
Robert Griesemer authored
This will simplify parsing of rational and (eventually) floating point numbers. Also streamlined inner loop. As a result, scan runs faster for all but short (<= 10 digit) numbers. For short numbers it is < 10% slower (cause is known and could be addressed in a future CL). Minor unrelated cleanups. Added additional tests. benchmark old ns/op new ns/op delta BenchmarkScanPi 134465 125122 -6.95% BenchmarkScan10Base2 493 540 +9.53% BenchmarkScan100Base2 3608 3244 -10.09% BenchmarkScan1000Base2 35376 32377 -8.48% BenchmarkScan10000Base2 481504 450028 -6.54% BenchmarkScan100000Base2 17936774 17648080 -1.61% BenchmarkScan10Base8 258 280 +8.53% BenchmarkScan100Base8 1389 1323 -4.75% BenchmarkScan1000Base8 14221 13036 -8.33% BenchmarkScan10000Base8 271298 258993 -4.54% BenchmarkScan100000Base8 15715465 15672580 -0.27% BenchmarkScan10Base10 249 268 +7.63% BenchmarkScan100Base10 1324 1220 -7.85% BenchmarkScan1000Base10 13398 12234 -8.69% BenchmarkScan10000Base10 259157 249342 -3.79% BenchmarkScan100000Base10 15670613 15582409 -0.56% BenchmarkScan10Base16 231 251 +8.66% BenchmarkScan100Base16 1093 1065 -2.56% BenchmarkScan1000Base16 12687 12196 -3.87% BenchmarkScan10000Base16 282349 271443 -3.86% BenchmarkScan100000Base16 16742669 16552917 -1.13% Change-Id: I4b9b078792788aef872b307399f00ffd34903127 Reviewed-on: https://go-review.googlesource.com/2960Reviewed-by: Alan Donovan <adonovan@google.com>
-
Chris Manghane authored
Fixes #9634. Change-Id: I7b18f26c2fb812978fc7adc5bfd39ebfffe48701 Reviewed-on: https://go-review.googlesource.com/3080Reviewed-by: Minux Ma <minux@golang.org>
-
Rick Hudson authored
Print out the object holding the reference to the object that checkmark detects as not being properly marked. Change-Id: Ieedbb6fddfaa65714504af9e7230bd9424cd0ae0 Reviewed-on: https://go-review.googlesource.com/2744Reviewed-by: Austin Clements <austin@google.com>
-
Robert Griesemer authored
Change-Id: I4ce5cee63093d917095bf90f4e11123f7ec0f93c Reviewed-on: https://go-review.googlesource.com/2964Reviewed-by: Alan Donovan <adonovan@google.com>
-
Burcu Dogan authored
Fixes #9605 Change-Id: Iafafa4c1362bbd1940f8e4fb979f72feae3ec3ad Reviewed-on: https://go-review.googlesource.com/3000Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Andrew Gerrand authored
Change-Id: I1a1ed1e23067268a2bac08fc4c99c594fb723837 Reviewed-on: https://go-review.googlesource.com/3050Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 19 Jan, 2015 15 commits
-
-
Evan Kroske authored
Close the pipe for the body of a request when it is aborted and close all pipes when child.serve terminates. Fixes #6934 Change-Id: I1c5e7d2116e1ff106f11a1ef8e99bf70cf04162a Reviewed-on: https://go-review.googlesource.com/1923Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Mikio Hara authored
Reported via unsupported Github pull request: #9299 Change-Id: I0e98dd68cbc68fcc6bcec15c5b33f20b6a861ec6 Reviewed-on: https://go-review.googlesource.com/3025Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Andrew Gerrand authored
This dashboard is no longer in use, and doesn't work with Gerrit. Change-Id: Ib7c367dcad97322566610157b15e23db5bec58ff Reviewed-on: https://go-review.googlesource.com/3028Reviewed-by: David Symonds <dsymonds@golang.org>
-
Russ Cox authored
Can't use bgwait, both because it can only be used from one goroutine at a time and because it ends up queued behind all the other pending commands. Use a separate signaling mechanism so that we can notice we're dying sooner. Change-Id: I8652bfa2f9bb5725fa5968d2dd6a745869d01c01 Reviewed-on: https://go-review.googlesource.com/3010Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Russ Cox authored
The code in mfinal.go is moved from malloc*.go and mgc*.go and substantially unchanged. The code in mbitmap.go is also moved from those files, but cleaned up so that it can be called from those files (in most cases the code being moved was not already a standalone function). I also renamed the constants and wrote comments describing the format. The result is a significant cleanup and isolation of the bitmap code, but, roughly speaking, it should be treated and reviewed as new code. The other files changed only as much as necessary to support this code movement. This CL does NOT change the semantics of the heap or type bitmaps at all, although there are now some obvious opportunities to do so in followup CLs. Change-Id: I41b8d5de87ad1d3cd322709931ab25e659dbb21d Reviewed-on: https://go-review.googlesource.com/2991Reviewed-by: Keith Randall <khr@golang.org>
-
Jongmin Kim authored
Change-Id: Ia8d4459a39425583027f00410fe17b9686b768db Reviewed-on: https://go-review.googlesource.com/3026Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Russ Cox authored
I also added new comments at the top of mbarrier.go, but the rest of the code is just copy-and-paste. Change-Id: Iaeb2b12f8b1eaa33dbff5c2de676ca902bfddf2e Reviewed-on: https://go-review.googlesource.com/2990Reviewed-by: Austin Clements <austin@google.com>
-
Russ Cox authored
Otherwise, if you mistakenly refer to an undeclared 'shift' variable, you get 52. Change-Id: I845fb29f23baee1d8e17b37bde0239872eb54316 Reviewed-on: https://go-review.googlesource.com/2909Reviewed-by: Austin Clements <austin@google.com>
-
Shenghou Ma authored
Fixes #9632. Change-Id: Ic4d7cad8ff62023c1beecd2d62e48eb9258f5306 Reviewed-on: https://go-review.googlesource.com/3013Reviewed-by: Rob Pike <r@golang.org>
-
Mikio Hara authored
As shown in #9395, inaccurate implementation would be a cause of parsing IPv4 header twice and corrupted upper-layer message issues. Change-Id: Ia1a042e7ca58ee4fcb38fe9ec753c2ab100592ca Reviewed-on: https://go-review.googlesource.com/3001Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Russ Cox authored
The function is here ONLY for symmetry with package bytes. This function should be used ONLY if it makes code clearer. It is not here for performance. Remove any performance benefit. If performance becomes an issue, the compiler should be fixed to recognize the three-way compare (for all comparable types) rather than encourage people to micro-optimize by using this function. Change-Id: I71f4130bce853f7aef724c6044d15def7987b457 Reviewed-on: https://go-review.googlesource.com/3012Reviewed-by: Rob Pike <r@golang.org>
-
Russ Cox authored
cmd/dist now requires $GOROOT to be set explicitly. Set it when invoking via 'go tool dist' so that users are unaffected. Also, change go tool -n to drop trailing space in output for 'go tool -n <anything>'. Change-Id: I9b2c020e0a2f3fa7c9c339fadcc22cc5b6cb7cac Reviewed-on: https://go-review.googlesource.com/3011Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Shenghou Ma authored
Change-Id: I3f6ba5591130b2c4762d33bd4553220765ad9fc5 Reviewed-on: https://go-review.googlesource.com/2996Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Michael Matloob authored
gofmt inserts a blank line line between const and var declarations Change-Id: I3f2ddbd9e66a74eb3f37a2fe641b93820b02229e Reviewed-on: https://go-review.googlesource.com/3022Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Change-Id: I58d66a7fc25b172baf0df6b634e9e2cc792967d5 Reviewed-on: https://go-review.googlesource.com/3021Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 18 Jan, 2015 3 commits
-
-
Bill Thiede authored
This manually reverts 555da73c from #6372 which implies a minimum FreeBSD version of 8-STABLE. Updates docs to mention new minimum requirement. Fixes #9627 Change-Id: I40ae64be3682d79dd55024e32581e3e5e2be8aa7 Reviewed-on: https://go-review.googlesource.com/3020Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Shenghou Ma authored
Fixes #9619. Change-Id: I71931b0d546163e5451d7d72e552b08540e3c2a7 Reviewed-on: https://go-review.googlesource.com/2995Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Brad Fitzpatrick authored
Since the move to Github, we've started to receive lots of introductory questions to the bug tracker. I posit this is because most projects on Github don't have mailing lists, so the culture on Github is to use the Issue Tracker as a discussion forum. The Go project doesn't use the Issue Tracker as our first point of communication. This CL updates CONTRIBUTING.md (which is linked when you file a bug or send a pull request), to mention that we have a mailing list. It certainly won't stop all the errant bug reports, but it should help. Change-Id: Id8fbfd35b73f5117617dff53b1e72d5b5276388b Reviewed-on: https://go-review.googlesource.com/3002Reviewed-by: Rob Pike <r@golang.org>
-
- 17 Jan, 2015 2 commits
-
-
Martin Möhrmann authored
Cygwin perl uses unix pathnames in windows. Include cygwin perl in the list of special cases for unix pathname handling in test.cgi. Change-Id: I30445a9cc79d62d022ecc232c35aa5015b7418dc Reviewed-on: https://go-review.googlesource.com/2973Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
Keith Randall authored
Fixes #9607 Related to #9604 Inadvertently found #9609 Change-Id: I8a8ddf84ac72d3e18986fd8e9288734459f3f174 Reviewed-on: https://go-review.googlesource.com/2962Reviewed-by: Minux Ma <minux@golang.org>
-
- 16 Jan, 2015 2 commits
-
-
Russ Cox authored
This brings in cmd/dist written in Go, which is working on the primary builders. If this breaks your build, you need to get Go 1.4 and put it in $HOME/go1.4 (or, if you want to use some other directory, set $GOROOT_BOOTSTRAP to that directory). To build Go 1.4 from source: git clone -b release-branch.go1.4 $GOROOT $HOME/go1.4 cd $HOME/go1.4/src ./make.bash Or use a binary release: https://golang.org/dl/. See https://golang.org/s/go15bootstrap for more information. Change-Id: Ie4ae834c76ea35e39cc54e9878819a9e51b284d9
-
Hyang-Ah Hana Kim authored
This change includes the cleanup of temporary files created during the binary execution as well. Change-Id: Ic01a0a537d1daafcaa3acda1ec344aff5dcddfc2 Reviewed-on: https://go-review.googlesource.com/2903Reviewed-by: David Crawshaw <crawshaw@golang.org>
-