- 25 Jun, 2012 16 commits
-
-
Russ Cox authored
This is my last one for today, I hope! R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6339052
-
Michael Stapelberg authored
Fixes #3762. R=rsc CC=golang-dev https://golang.org/cl/6303106
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6325058
-
Pieter Droogendijk authored
go/build section "Build Constraints", first paragraph said: "... they must be appear near the top of the file ..." fixed to: "... they must appear near the top of the file ..." R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6329060
-
Amir Mohammad Saied authored
Manifest version 1 was deprecated in Chrome 18, and support will be phased out according to the schedule available at: http://code.google.com/chrome/extensions/manifestVersion.html R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6332053
-
Thomas Alan Copeland authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6305086
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6330059
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/6294076
-
Micah Stetson authored
Removes an incorrect code comment and some superfluous variables. The comment I removed says that struct fields which implement Unmarshaler must be pointers, even if they're in an addressable struct. That's not the case, and there's already a test in decode_test.go that demonstrates as much. Encoding/json has quite a few assignments of reflect.Values to extra variables – things like "iv := v" when there's no need to make a copy. I think these are left over from a previous version of the reflect API. If they aren't wanted, I wouldn't mind going through the package and getting rid of the rest of them. R=rsc CC=golang-dev https://golang.org/cl/6318047
-
Jan Ziak authored
Fixes #3773. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/6327053
-
Robert Griesemer authored
- receiving from a closed channel returns immediately - in the ,ok form, the 2nd result is of type bool, not just boolean (gc and ggcgo agree). Per dsymonds' suggestion. R=r, rsc, ken, iant, dsymonds CC=golang-dev https://golang.org/cl/6333057
-
Robert Griesemer authored
This is a new, not yet committed API. - Changed NewCommentMap to be independent of *File nodes and more symmetric with the Filter and Comments methods. - Implemented Update method for use in AST modifications. - Implemented String method for debugging R=rsc CC=golang-dev https://golang.org/cl/6303086
-
Jan Ziak authored
Fixes #3713. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/6331055
-
Brad Fitzpatrick authored
A few performance improvements, but without the stack sorting change to avoid allocating, which is instead waiting on better escape analysis. R=rsc CC=golang-dev https://golang.org/cl/6265047
-
Dave Cheney authored
This CL resolves https://golang.org/cl/6300043/#msg3 by renaming memset_arm.s to memclr_arm.s and merging the function of the same name from asm_arm.s. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/6336054
-
Dmitriy Vyukov authored
The issue seems to not be triggered right now, but I've seen the deadlock after some other legal modifications to runtime. So I think we are safer this way. R=rsc, r CC=golang-dev https://golang.org/cl/6339051
-
- 24 Jun, 2012 10 commits
-
-
Russ Cox authored
This can only happen if the hash function we're using is getting far more than it's fair share of collisions, but that has happened to us repeatedly as we've expanded the allowed use cases for hash tables (issue 1544, issue 2609, issue 2630, issue 2883, issue 3695). Maybe this will help the next time we try something new. R=golang-dev, r CC=golang-dev https://golang.org/cl/6306083
-
Charles L. Dorian authored
pkg/math/all_test.go tests Atan (and therefore Asin and Acos) to a relative accuracy of 4e-16, but the test vector misses values where the old algorithm was in error by more than that. For example: x newError oldError 0.414215746 1.41e-16 -4.24e-16 0.414216076 1.41e-16 -4.24e-16 0.414217632 1.41e-16 -4.24e-16 0.414218770 1.41e-16 -4.24e-16 0.414225466 0 -5.65e-16 0.414226244 1.41e-16 -4.24e-16 0.414228756 0 -5.65e-16 0.414235089 0 -5.65e-16 0.414237070 0 -5.65e-16 R=rsc, golang-dev CC=golang-dev https://golang.org/cl/6302093
-
Han-Wen Nienhuys authored
Skip directory check in startProcess in the presence of SysProcAttr. Fixes #3649. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6297083
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6327054
-
Jan Ziak authored
Fixes #3732. R=golang-dev CC=golang-dev https://golang.org/cl/6335053
-
Jan Ziak authored
Fixes #3714. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6341047
-
Dave Cheney authored
Fixes #3718. Requires CL 6300043. R=rsc, minux.ma, extraterrestrial.neighbour CC=golang-dev https://golang.org/cl/6305100
-
Dave Cheney authored
Partially fixes issue 3718. R=golang-dev, rsc, minux.ma CC=golang-dev https://golang.org/cl/6300043
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6341046
-
Brad Fitzpatrick authored
Note url.Error wrapping, and s/issue/issuing/. Fixes #3724 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6294093
-
- 23 Jun, 2012 1 commit
-
-
Shenghou Ma authored
We need to use kernel headers to generate defs_linux_$GOARCH.h R=golang-dev, dave, alex.brainman, iant CC=golang-dev https://golang.org/cl/6296091
-
- 22 Jun, 2012 3 commits
-
-
David G. Andersen authored
Several of my students were confused by trying to use both the error return and a reply return, so I figured it was worth explicitly clarifying that returning an error overrides the reply. R=golang-dev, r CC=golang-dev https://golang.org/cl/6327051
-
David G. Andersen authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6325053
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6337047
-
- 21 Jun, 2012 1 commit
-
-
Mats Lidell authored
Use code to be used in lisp programs as suggested in the doc strings for replace-{string|regexp}. Bonus: This code works for XEmacs. R=golang-dev, sameer, jmeurin CC=golang-dev https://golang.org/cl/6296073
-
- 20 Jun, 2012 1 commit
-
-
Adam Langley authored
Flame motivated me to get around to adding extended key usage support so that code signing certificates can't be used for TLS server authentication and vice versa. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6304065
-
- 19 Jun, 2012 7 commits
-
-
Marcel van Lohuizen authored
based on UCA test files. R=r CC=golang-dev https://golang.org/cl/6216056
-
Shenghou Ma authored
Fixes #3753. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6304097
-
Shenghou Ma authored
if we were to use sizeof(sa.sa_mask) instead of 8 as the last argument to rt_sigaction, we would have already fixed this bug, so also updated Linux/386 and Linux/amd64 files to use that; also test the return value of rt_sigaction. R=dave, rsc CC=golang-dev https://golang.org/cl/6297087
-
Brad Fitzpatrick authored
If the server replies with an HTTP response before we're done writing our body (for instance "401 Unauthorized" response), we were previously ignoring that, since we returned our write error ("broken pipe", etc) before ever reading the response. Now we read and write at the same time. Fixes #3595 R=rsc, adg CC=golang-dev https://golang.org/cl/6238043
-
Brad Fitzpatrick authored
Also, fixes one violation found during testing where both response and error could be non-nil when a CheckRedirect test failed. This is arguably a minor API (behavior, not signature) change, but it wasn't documented either way and was inconsistent & non-Go like. Any code depending on the old behavior was wrong anyway. R=adg, rsc CC=golang-dev https://golang.org/cl/6307088
-
Robert Griesemer authored
R=rsc, dsymonds CC=golang-dev https://golang.org/cl/6303099
-
Marcel van Lohuizen authored
R=r CC=golang-dev https://golang.org/cl/6301096
-
- 18 Jun, 2012 1 commit
-
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6303098
-