- 29 Jan, 2013 6 commits
-
-
Francesc Campoy authored
R=adg, minux.ma CC=golang-dev https://golang.org/cl/6976045
-
Carl Shapiro authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7231051
-
Brad Fitzpatrick authored
R=golang-dev, adg, mikioh.mikioh CC=golang-dev https://golang.org/cl/7195049
-
Brad Fitzpatrick authored
Otherwise it's impossible to know how much data from the json.Decoder's underlying Reader was actually consumed. The old fix from golang.org/issue/1955 just added docs. This provides an actual mechanism. Update #1955 R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/7181053
-
https://code.google.com/p/go/source/detail?r=ca5e5de48173Alan Donovan authored
I don't understand why this didn't show up during my testing. R=bradfitz TBR=bradfitz CC=golang-dev https://golang.org/cl/7237047
-
Ian Lance Taylor authored
R=golang-dev, bradfitz, rsc, iant CC=golang-dev https://golang.org/cl/7240043
-
- 28 Jan, 2013 14 commits
-
-
Carl Shapiro authored
The dumping routine incorrectly assumed that all incoming symbols would be non-nil and load through it to retrieve the symbol name. Instead of using the symbol to retrieve a name, use the name provided by the caller. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7224043
-
https://code.google.com/p/go/source/detail?r=ca5e5de48173Alan Donovan authored
Add 'math/big' to blacklist of packages that use shift operations as yet unsupported by go/types. (The failure was masked due to local bugfixes in my client.) R=rsc, bradfitz, bradfitz CC=golang-dev https://golang.org/cl/7220057
-
Alan Donovan authored
R=gri, iant, iant CC=golang-dev https://golang.org/cl/7202051
-
Alan Donovan authored
This CL includes the implementation of Literal, all the Value.String and Instruction.String methods, the sanity checker, and other misc utilities. R=gri, iant, iant CC=golang-dev https://golang.org/cl/7199052
-
Alan Donovan authored
Added tests, using input data from strconv.ParseFloat. Thanks to rsc for most of the test code. math/big could use some good package-level documentation. R=remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6930059
-
Rémy Oudompheng authored
This enables a few tests that were only executed unconditionnally. R=rsc, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7103051
-
Vega Garcia Luis Alfonso authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7235045
-
Sébastien Paolacci authored
Mark candidate spans one GC pass earlier. Move scavenger's code out from mgc0 and constrain it into mheap (where it belongs). R=rsc, dvyukov, minux.ma CC=golang-dev https://golang.org/cl/7002049
-
Russ Cox authored
This broke 'godoc net/http'. TBR=adg CC=golang-dev https://golang.org/cl/7235052
-
Ian Lance Taylor authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7229050
-
Ian Lance Taylor authored
R=golang-dev, bradfitz, mikioh.mikioh, dave, minux.ma CC=golang-dev https://golang.org/cl/7227043
-
Dave Cheney authored
Add race.bash so anyone with suitable hardware can run a race detector build. race.bash can be called from the dashboard builder by passing -cmd="race.bash". Original source for race.bash is here, http://code.google.com/p/go-wiki/wiki/DashboardBuilders TODO: add race.bat for windows/amd64 R=dvyukov, minux.ma, adg, rsc CC=fullung, golang-dev https://golang.org/cl/7179052
-
Vega Garcia Luis Alfonso authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7232045
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7235047
-
- 27 Jan, 2013 1 commit
-
-
Ian Lance Taylor authored
This is for SPARC64, a 64-bit processor that uses all 64-bits of virtual addresses. The idea is to use the low order 3 bits to at least get a small ABA counter. That should work since pointers are aligned. The idea is for SPARC64 to set CNT_MASK == 7, PTR_BITS == 0, PTR_MASK == 0xffffffffffffff8. Also add uintptr casts to avoid GCC warnings. The gccgo runtime code is compiled with GCC, and GCC warns when casting between a pointer and a type of a different size. R=dvyukov CC=golang-dev https://golang.org/cl/7225043
-
- 26 Jan, 2013 3 commits
-
-
Rémy Oudompheng authored
It is now possible to run "go test -cpu=1,2,4 std" successfully. Fixes #3185. R=golang-dev, dave, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7196052
-
Dave Cheney authored
These changes to test.bash were intended to be submitted with CL 6941058, but were accidentally excluded from the original CL. R=golang-dev CC=golang-dev https://golang.org/cl/7232043
-
Shenghou Ma authored
For gccgo runtime and Darwin where -fno-common is the default. R=iant, dave CC=golang-dev https://golang.org/cl/7094061
-
- 25 Jan, 2013 2 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7220046
-
John Graham-Cumming authored
net/http currently assumes that the response to a HEAD request will always have a Content-Length header. This is incorrect. RFC2616 says: "The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request. This method can be used for obtaining metainformation about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification." This means that three cases are possible: a Content-Length header, a Transfer-Encoding header or neither. In the wild the following sites exhibit these behaviours (curl -I): HEAD on http://www.google.co.uk/ has Transfer-Encoding: chunked HEAD on http://www.bbc.co.uk/ has Content-Length: 45247 HEAD on http://edition.cnn.com/ has neither header This patch does not remove the ErrMissingContentLength error for compatibility reasons, but it is no longer used. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7182045
-
- 24 Jan, 2013 9 commits
-
-
Andrew Gerrand authored
This prevents the occasional issue when Mercurial screws up the locking itself, and by moving the locking into this process we can use the goroot for other things (such as automatically updating the builder binary). It also asks all builders to poll for new commits. R=bradfitz, dave, minux.ma, rsc CC=golang-dev https://golang.org/cl/7178046
-
Alan Donovan authored
R=gri, iant, crawshaw, bradfitz, gri, iant CC=golang-dev https://golang.org/cl/7071058
-
Andrew Gerrand authored
R=golang-dev, iant, kamil.kisiel, minux.ma CC=golang-dev https://golang.org/cl/7203049
-
Alan Donovan authored
This function is absolutely critical for clients such as exp/ssa, and too complex for clients to duplicate. As with CL 7200046, gri expressed in the doc below [gophers only] before going on leave that he intended to expose such a predicate, though his wording suggests as an interface method of Type rather than a standalone function. (My preference is for binary methods to be standalone; see "On Binary Methods", Kim Bruce, 1995). In any case if he wishes to move it that's easily accommodated by clients. https://docs.google.com/a/google.com/document/d/1-DQ4fxlMDs9cYtnkKhAAehX6MArjOQyJsRXp-6kiJLA/edit#heading=h.k3bwja7xony9 R=iant, gri, iant CC=golang-dev https://golang.org/cl/7203051
-
Alan Donovan authored
All implementations delegate to typeString. Though I don't wish to exploit gri's absence to change his code, this change is pretty low-risk and he assented to it in the blue ink in the doc below [gophers only]. https://docs.google.com/a/google.com/document/d/1-DQ4fxlMDs9cYtnkKhAAehX6MArjOQyJsRXp-6kiJLA/edit# R=iant, gri, gri CC=golang-dev https://golang.org/cl/7200046
-
Dmitriy Vyukov authored
Otherwise the test is flaky. Fixes #4698. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7133071
-
Oling Cat authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/7198048
-
Dave Cheney authored
Replace various t.Log{,f} ; return checks with t.Skip{,f}. R=golang-dev, n13m3y3r, bradfitz, adg, mikioh.mikioh CC=golang-dev https://golang.org/cl/7193044
-
Rick Arnold authored
Fixes #3539. R=golang-dev, dave, adg CC=golang-dev https://golang.org/cl/7206049
-
- 23 Jan, 2013 5 commits
-
-
Robert Griesemer authored
R=adonovan CC=golang-dev https://golang.org/cl/7103058
-
Mikkel Krautz authored
On Windows, crypto/x509 passes through to Windows's CryptoAPI to verify certificate chains. This method can't produce a SystemRootsError, so make sure we always skip the test on Windows. This is needed because testVerify is called in both TestGoVerify and TestSystemVerify on Windows - one is for testing the Go verifier, the other one is for testing the CryptoAPI verifier. The orignal CL tried to sidestep this issue by setting systemSkip to true, but that only affected TestSystemVerify. R=golang-dev, agl, snaury, minux.ma CC=golang-dev https://golang.org/cl/7185043
-
Marcel van Lohuizen authored
Eliminates the need for the user to fiddle with keys. R=rsc CC=golang-dev https://golang.org/cl/7060051
-
Marcel van Lohuizen authored
further to how (I believe) it will end up being. It is nicer to separate search from sorting functionality. Collation needs tables that are not needed by search and vice-versa. The common functionality is separated out in the Weigher interface. As this interface is very low-level, it will be moved to a sub package (colltab) in a next CL. The types that will move to this package are Weigher, Elem, and Level. The addition of Elem allows for removing some of the duplicate code between collate and collate/build. This CL also introduces some stubs for a higher-level API for options. The default proposed options are quite complex and require the user to have a decent understanding of Unicode collation. The new options hide a lot of the complexity. R=rsc CC=golang-dev https://golang.org/cl/7058051
-
Akshat Kumar authored
Fixes the fork-exec/wait race condition for ForkExec as well, by making it use startProcess. This makes the comment for StartProcess consistent as well. Further, the passing of Waitmsg data in startProcess and WaitProcess is protected against possible forks from outside of ForkExec and StartProcess, which might cause interference with the Await call. R=rsc, rminnich, npe, ality CC=golang-dev https://golang.org/cl/7128059
-