- 19 Jan, 2015 9 commits
-
-
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 6 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>
-
Austin Clements authored
This test requires external linking, but we don't yet implement external linking on ppc64 (tracked in issue #8912). Disable the test on ppc64 until external linking is implemented. This makes all.bash pass on ppc64le. Change-Id: I741498d4d9321607e7a65792a33faf8187bd18e4 Reviewed-on: https://go-review.googlesource.com/2908Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Keith Randall authored
The comment says to use (y-1), but then we did add(y.abs, natOne). We meant sub. Fixes #9609 Change-Id: I4fe4783326ca082c05588310a0af7895a48fc779 Reviewed-on: https://go-review.googlesource.com/2961Reviewed-by: Robert Griesemer <gri@golang.org>
-
David Crawshaw authored
Generated with a modified version of go vet and tested on android. Change-Id: I1ff20135c5ab9de5a6dbf76ea2991167271ee70d Reviewed-on: https://go-review.googlesource.com/2815Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Andrew Gerrand authored
Change-Id: Iec19d6152b95ba67daac366b32d42f69e1dba9a4 Reviewed-on: https://go-review.googlesource.com/2951Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 15 Jan, 2015 14 commits
-
-
Keith Randall authored
We were failing ^uint16(0xffff) == 0, as we computed 0xffff0000 instead. I could only trigger a failure for the above case, the other two tests ^uint16(0xfffe) == 1 and -uint16(0xffff) == 1 didn't seem to fail previously. Somehow they get MOVHUs inserted for other reasons (used by CMP instead of TST?). I fixed OMINUS anyway, better safe than sorry. Fixes #9604 Change-Id: I4c2d5bdc667742873ac029fdbe3db0cf12893c27 Reviewed-on: https://go-review.googlesource.com/2940Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
-
Ian Lance Taylor authored
Change-Id: I1bf1ab930a5c258f5fcc85ca3037692c71bf3cb2 Reviewed-on: https://go-review.googlesource.com/2870Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com> Reviewed-by: Minux Ma <minux@golang.org>
-
Andrew Gerrand authored
Git marks some of its files read only, so os.RemoveAll isn't sufficient to remove them from the ".git" directory. Change-Id: I3150596931d1c77e7cf9fb8da1a999d2c6730121 Reviewed-on: https://go-review.googlesource.com/2930Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Alan Donovan authored
The implementation is the same assembly (or Go) routine. Change-Id: Ib937c461c24ad2d5be9b692b4eed40d9eb031412 Reviewed-on: https://go-review.googlesource.com/2828Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Change-Id: Ibf05e55ffe3bb454809cd3450b790e44061511c7 Reviewed-on: https://go-review.googlesource.com/2890Reviewed-by: Alan Donovan <adonovan@google.com>
-
Hyang-Ah Hana Kim authored
androidtest.bash copies some go source to the android device where the tests are going to run. It's necessary because some tests require files and resources to be present. The copy is done through adb sync. The script hoped faking the directory using symlinks to work, but it doesn't. (adb sync doesn't follow the symlinks) We need proper copy. Change-Id: If55abca4958f159859e58512b0045f23654167e3 Reviewed-on: https://go-review.googlesource.com/2827Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Dmitry Vyukov authored
benchmark old ns/op new ns/op delta BenchmarkUnmarshal 75256 72626 -3.49% benchmark old allocs new allocs delta BenchmarkUnmarshal 259 219 -15.44% Change-Id: I7fd30739b045e35b95e6ef6a8ef2f15b0dd6839c Reviewed-on: https://go-review.googlesource.com/2758Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Paul Nasrat authored
runtime.rtype was a copy of reflect.rtype - update script to use that directly. Introduces a basic test which will skip on systems without appropriate GDB. Fixes #9326 Change-Id: I6ec74e947bd2e1295492ca34b3a8c1b49315a8cb Reviewed-on: https://go-review.googlesource.com/2821Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Andrew Gerrand authored
Change-Id: I4e9737497f4995657c46e52e0722d921499f8d17 Reviewed-on: https://go-review.googlesource.com/2854Reviewed-by: Rob Pike <r@golang.org>
-
Burcu Dogan authored
Change-Id: Idd72e095ad64e1a398058982422c2c5497a23ce5 Reviewed-on: https://go-review.googlesource.com/2739Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Adam Langley authored
The encoded value of the certificate KeyUsage did contain additonal padding that was not present with other certificate generators. According to ITU-T X.690 the BitLength value should have no padding in a DER encoding. See discussion: https://groups.google.com/forum/#!topic/golang-nuts/dzaJ3hMpDcs This CL has been discussed at: http://golang.org/cl/168990043 Change-Id: I1eff3f441b0566966a2d279631901ad9287c917d Reviewed-on: https://go-review.googlesource.com/2255Reviewed-by: Adam Langley <agl@golang.org>
-
Russ Cox authored
Change-Id: I068d617175776c2f5df00b17ff0d404a584ab570
-
Martin Möhrmann authored
Do not lose precision for durations specified without fractions that can be represented by an int64 such as 1<<53+1 nanoseconds. Previously there was some precision lost in floating point conversion. Handle overflow for durations above 1<<63-1 nanoseconds but not earlier. Add tests to cover the above cases. Change-Id: I4bcda93cee1673e501ecb6a9eef3914ee29aecd2 Reviewed-on: https://go-review.googlesource.com/2461Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
-
Rob Pike authored
The various files are confusingly named and their operation not easy to see. Add a comment to cmplxdivide.c, one of the few C files that will endure in the repository, to explain how to build and run the test. Change-Id: I1fd5c564a14217e1b9815b09bc24cc43c54c096f Reviewed-on: https://go-review.googlesource.com/2850Reviewed-by: Russ Cox <rsc@golang.org>
-
- 14 Jan, 2015 6 commits
-
-
Matthew Dempsky authored
6g does not implement dead code elimination for const switches like it does for const if statements, so the undefined raiseproc() function was resulting in a link-time failure. Change-Id: Ie4fcb3716cb4fe6e618033071df9de545ab3e0af Reviewed-on: https://go-review.googlesource.com/2830Reviewed-by: Russ Cox <rsc@golang.org>
-
Andrew Gerrand authored
Change-Id: I072cf2b9149a05901cc19e7aeb0e9d0936a8dbe3 Reviewed-on: https://go-review.googlesource.com/2793Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Russ Cox authored
printf, vprintf, snprintf, gc_m_ptr, gc_g_ptr, gc_itab_ptr, gc_unixnanotime. These were called from C. There is no more C. Now that vprintf is gone, delete roundup, which is unsafe (see CL 2814). Change-Id: If8a7b727d497ffa13165c0d3a1ed62abc18f008c Reviewed-on: https://go-review.googlesource.com/2824Reviewed-by: Austin Clements <austin@google.com>
-
Russ Cox authored
Moving the "don't really preempt" check up earlier in the function introduced a race where gp.stackguard0 might change between the early check and the later one. Since the later one is missing the "don't really preempt" logic, it could decide to preempt incorrectly. Pull the result of the check into a local variable and use an atomic to access stackguard0, to eliminate the race. I believe this will fix the broken OS X and Solaris builders. Change-Id: I238350dd76560282b0c15a3306549cbcf390dbff Reviewed-on: https://go-review.googlesource.com/2823Reviewed-by: Austin Clements <austin@google.com>
-
David du Colombier authored
Since CL 2750, the build is broken on Plan 9, because a new function netpollinited was added and called from findrunnable in proc1.go. However, netpoll is not implemented on Plan 9. Thus, we define netpollinited in netpoll_stub.go. Fixes #9590 Change-Id: I0895607b86cbc7e94c1bfb2def2b1a368a8efbe6 Reviewed-on: https://go-review.googlesource.com/2759Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Russ Cox authored
These were fixed in my local commit, but I forgot that the web Submit button can't see that. Change-Id: Iec3a70ce3ccd9db2a5394ae2da0b293e45ac2fb5 Reviewed-on: https://go-review.googlesource.com/2822Reviewed-by: Russ Cox <rsc@golang.org>
-