Permalink
Switch branches/tags
weekly.2012-03-27 weekly.2012-03-22 weekly.2012-03-13 weekly.2012-03-04 weekly.2012-02-22 weekly.2012-02-14 weekly.2012-02-07 weekly.2012-01-27 weekly.2012-01-20 weekly.2012-01-15 weekly.2011-12-22 weekly.2011-12-14 weekly.2011-12-06 weekly.2011-12-02 weekly.2011-12-01 weekly.2011-11-18 weekly.2011-11-09 weekly.2011-11-08 weekly.2011-11-02 weekly.2011-11-01 weekly.2011-10-26 weekly.2011-10-25 weekly.2011-10-18 weekly.2011-10-06 weekly.2011-09-21 weekly.2011-09-16 weekly.2011-09-07 weekly.2011-09-01 weekly.2011-08-17 weekly.2011-08-10 weekly.2011-07-29 weekly.2011-07-19 weekly.2011-07-07 weekly.2011-06-23 weekly.2011-06-16 weekly.2011-06-09 weekly.2011-06-02 weekly.2011-05-22 weekly.2011-04-27 weekly.2011-04-13 weekly.2011-04-04 weekly.2011-03-28 weekly.2011-03-15 weekly.2011-03-07.1 weekly.2011-03-07 weekly.2011-02-24 weekly.2011-02-15 weekly.2011-02-01.1 weekly.2011-02-01 weekly.2011-01-20 weekly.2011-01-19 weekly.2011-01-12 weekly.2011-01-06 weekly.2010-12-22 weekly.2010-12-15.1 weekly.2010-12-15 weekly.2010-12-08 weekly.2010-12-02 weekly.2010-11-23 weekly.2010-11-10 weekly.2010-11-02 weekly.2010-10-27 weekly.2010-10-20 weekly.2010-10-13.1 weekly.2010-10-13 weekly.2010-09-29 weekly.2010-09-22 weekly.2010-09-15 weekly.2010-09-06 weekly.2010-08-25 weekly.2010-08-11 weekly.2010-08-04 weekly.2010-07-29 weekly.2010-07-14 weekly.2010-07-01 weekly.2010-06-21 weekly.2010-06-09 weekly.2010-05-27 weekly.2010-05-04 weekly.2010-04-27 weekly.2010-04-13 weekly.2010-03-30 weekly.2010-03-22 weekly.2010-03-15 weekly.2010-03-04 weekly.2010-02-23 weekly.2010-02-17 weekly.2010-02-04 weekly.2010-01-27 weekly.2010-01-13 weekly.2010-01-05 weekly.2009-12-22 weekly.2009-12-09 weekly.2009-12-07 weekly.2009-11-17 weekly.2009-11-12 weekly.2009-11-10.1 weekly.2009-11-10 weekly.2009-11-06 weekly
Nothing to show
Commits on Jan 4, 2018
  1. cmd/go: fix build failure in -x test

    rsc committed Jan 4, 2018
    CL 84735 strengthened the -x test to make sure commands succeed,
    using set -e, but the gcc flag tests can fail. Change them to say || true.
    
    Fixes #23337.
    
    Change-Id: I01e4017cb36ceb147b56935c2636de52ce7bdfdb
    Reviewed-on: https://go-review.googlesource.com/86239
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  2. crypto/tls: optional "certificate_status" with OCSP

    brad-burch committed with agl Jan 4, 2018
    Follows the wording in RFC4366 more precisely which allows a server
    to optionally return a "certificate_status" when responding to a
    client hello containing "status_request" extension.
    
    fixes #8549
    
    Change-Id: Ib02dc9f972da185b25554568fe6f8bc411d9c0b7
    Reviewed-on: https://go-review.googlesource.com/86115
    Reviewed-by: Adam Langley <agl@golang.org>
  3. math/rand: typo fixed in documentation of seedPos

    ppiscuc committed with bradfitz Jan 4, 2018
    In the comment of seedPost, the word: condiiton was changed to: condition
    
    Change-Id: I8967cc0e9f5d37776bada96cc1443c8bf46e1117
    Reviewed-on: https://go-review.googlesource.com/86156
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  4. spec: consistently use "element" rather than "value" for map entry va…

    griesemer committed Jan 3, 2018
    …lues
    
    The spec refers to a map's key and element types; thus the respective
    values are "keys" and "elements". Also, a map value is the value of
    the entire map.
    
    Similar fix for channels, where appropriate.
    
    Fixes #23254.
    
    Change-Id: I6f03ea6d86586c7b0b3e84f0c2e9446b8109fa53
    Reviewed-on: https://go-review.googlesource.com/85999
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Matthew Dempsky <mdempsky@google.com>
    Reviewed-by: Russ Cox <rsc@golang.org>
    Reviewed-by: Rob Pike <r@golang.org>
  5. sync: document when and when not to use Map

    rsc committed Dec 13, 2017
    Fixes #21587.
    
    Change-Id: I47eb181d65da67a3b530c7f8acac9c0c619ea474
    Reviewed-on: https://go-review.googlesource.com/83796
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: Bryan Mills <bcmills@google.com>
    Reviewed-by: Rob Pike <r@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  6. cmd/test2json: fix test log output containing test output

    rsc committed Jan 4, 2018
    If test case framing appears in ordinary test output,
    then test2json can get confused. If the fake framing is being
    saved with t.Logf/t.Errorf/etc then we can already
    distinguish it from real framing, and the code did.
    It just forgot to write that framing as output (1-line fix).
    
    If the fake framing is being generated by printing directly
    to stdout/stderr, then test2json will simply get confused.
    There's not a lot to do at that point (maybe it's even a feature).
    
    Fixes #23036.
    
    Change-Id: I29449c7ace304172b89d8babe23de507c0500455
    Reviewed-on: https://go-review.googlesource.com/86238
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  7. cmd/go: fix caching of test -json outputs

    rsc committed Dec 14, 2017
    go test -json was inadvertently disabling caching. Fix that.
    
    Fixes #22984.
    
    Change-Id: Ic933a8c8ac00ce8253e934766954b1ccc6ac0cec
    Reviewed-on: https://go-review.googlesource.com/84075
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  8. cmd/go: fix coverage rebuild corner case

    rsc committed Jan 4, 2018
    If you have a package p1 with an xtest (package p1_test)
    that imports p2, where p2 itself imports p1, then when
    trying to do coverage for p1 we need to make sure to
    recompile p2. The problem was that the overall package
    import graph looked like:
    
        main -> p1_test -> p2 -> p1
    
    Since we were recompiling p1 with coverage, we correctly
    figured out that because p2 depends on a package being
    recompiled due to coverage, p2 also needs to be split (forked) to
    insert the dependency on the modified p1. But then we used
    the same logic to split p1_test and main, with the effect that
    the changes to p2 and p1_test and main were lost, since the
    caller was still holding on to the original main, not the split version.
    
    Change the code to treat main and p1_test as "already split"
    and just update them in place.
    
    Fixes #23314.
    
    Change-Id: If7edeca6e39cdaeb5b9380d00b0c7d8c5891f086
    Reviewed-on: https://go-review.googlesource.com/86237
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  9. cmd/go: fix compile -p flag for building test of main package

    rsc committed Jan 4, 2018
    Fixes #23180.
    
    Change-Id: I52404ee98dcc60b96972d4242c13db0ec4340d0d
    Reviewed-on: https://go-review.googlesource.com/86235
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: Alessandro Arzilli <alessandro.arzilli@gmail.com>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  10. runtime: avoid race on allp in findrunnable

    aclements committed Jan 4, 2018
    findrunnable loops over allp to check run queues *after* it has
    dropped its own P. This is unsafe because allp can change when nothing
    is blocking safe-points. Hence, procresize could change allp
    concurrently with findrunnable's loop. Beyond generally violating Go's
    memory model, in the best case this could findrunnable to observe a
    nil P pointer if allp has been grown but the new slots not yet
    initialized. In the worst case, the reads of allp could tear, causing
    findrunnable to read a word that isn't even a valid *P pointer.
    
    Fix this by taking a snapshot of the allp slice header (but not the
    backing store) before findrunnable drops its P and iterating over this
    snapshot. The actual contents of allp are immutable up to len(allp),
    so this fixes the race.
    
    Updates #23098 (may fix).
    
    Change-Id: I556ae2dbfffe9fe4a1bf43126e930b9e5c240ea8
    Reviewed-on: https://go-review.googlesource.com/86215
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  11. cmd/go: add -v option in the usage section for get

    agnivade committed with ianlancetaylor Jan 4, 2018
    Updates #23332
    
    Change-Id: I964d36ed751ef1844ab6c40f61047297ff1443a3
    Reviewed-on: https://go-review.googlesource.com/85797
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  12. cmd/buildid: fix rewrite algorithm

    hirochachacha committed with rsc Dec 19, 2017
    Update rewrite algorithm by coping code from
    go/internal/work/buildid:updateBuildID.
    
    Probably, this is not the best option. We could provide high-level API
    in cmd/internal/buildid in the future.
    
    Fixes #23181
    
    Change-Id: I336a7c50426ab39bc9998b55c372af61a4fb21a7
    Reviewed-on: https://go-review.googlesource.com/84735
    Reviewed-by: Russ Cox <rsc@golang.org>
  13. doc/diagnostics: update gc flags recommended for debugging

    hyangah committed Dec 19, 2017
    After 1.10, gcflags apply to only the immediate target.
    
    Change-Id: I3bf331c76041e7b533076cb2f3274e44aafff58a
    Reviewed-on: https://go-review.googlesource.com/84775
    Reviewed-by: Heschi Kreinick <heschi@google.com>
  14. encoding/gob: avoid race on idToType

    ianlancetaylor committed Jan 4, 2018
    Fixes #23328
    
    Change-Id: Ie4864d7f388d363860318fe41431d8a9719e9a75
    Reviewed-on: https://go-review.googlesource.com/86075
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: Rob Pike <r@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  15. cmd/go, testing: test names don't have to be alphanumeric

    ianlancetaylor committed Jan 3, 2018
    In func TestXxxx(*testing.T) the Xxxx can be anything that can appear
    in an identifier, but can't start with a lowercase letter. Clarify the docs.
    
    Fixes #23322
    
    Change-Id: I5c297916981f7e3890ee955d12bc7422a75488e2
    Reviewed-on: https://go-review.googlesource.com/86001
    Reviewed-by: Rob Pike <r@golang.org>
Commits on Jan 3, 2018
  1. net: set CLOEXEC on sockets used for capability probes

    ianlancetaylor committed Jan 3, 2018
    Fixes #22349
    
    Change-Id: I84ec4fa9fa95bac0f26bf4ca3e62a35dff4f7e00
    Reviewed-on: https://go-review.googlesource.com/86015
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  2. time: revert CL 78735 (was: space padding using underscore)

    ianlancetaylor committed Jan 3, 2018
    CL 78735 description:
    
        time: add space padding layout strings(using underscore) for not only day but others
    
        As mentioned in #22802, only day component of layout string has space
        padding(represented by one underscore before its placeholder). This
        commit expands the rule for month, hour, minute and second.
    
        Updates #22802 (maybe Fixes it)
    
    Revert this CL because it breaks currently working formats that happen
    to use underscores.
    
    Fixes #23259
    
    Change-Id: I64acaaca9b5b74785ee0f0be7910574e87daa649
    Reviewed-on: https://go-review.googlesource.com/85998
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: Rob Pike <r@golang.org>
  3. net: ignore TestDialerLocalAddr timeout failures on Darwin

    ianlancetaylor committed Jan 3, 2018
    I don't know why these errors occur. Ignore them to avoid breaking the
    build.
    
    Updates #22019
    
    Change-Id: Ia048e6d9b928e8e237b311ff3a364e7a23af4aa4
    Reviewed-on: https://go-review.googlesource.com/86000
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  4. net: report connect error as coming from "connect"

    ianlancetaylor committed Jan 3, 2018
    We retrieve an error using getsockopt with SO_ERROR. We were reporting
    the error as coming from "getsockopt", but really it is coming from
    "connect". It is not getsockopt that failed.
    
    Fixes #19302
    
    Change-Id: I510ab76e4b04c70cd9dfdfc46d9a410bf653d017
    Reviewed-on: https://go-review.googlesource.com/85997
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  5. cmd/go: on Windows, disable cache if LocalAppData is not set

    ianlancetaylor committed Jan 3, 2018
    Fixes #23146
    
    Change-Id: I06e3328ecca5e27f8e1ada05c2d7cd9bdda714e6
    Reviewed-on: https://go-review.googlesource.com/85996
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  6. runtime: always use 1MB stacks on 32-bit Windows

    aclements committed Jul 18, 2017
    Commit c2c07c7 (CL 49331) changed the linker and runtime to always
    use 2MB stacks on 64-bit Windows. This is the corresponding change to
    make 32-bit Windows always use large (1MB) stacks because it's
    difficult to detect when Windows applications will call into arbitrary
    C code that may expect a large stack.
    
    This is done as a separate change because it's possible this will
    cause too much address space pressure for a 32-bit address space. On
    the other hand, cgo binaries on Windows already use 1MB stacks and
    there haven't been complaints.
    
    Updates #20975.
    
    Change-Id: I8ce583f07cb52254fb4bd47250f1ef2b789bc490
    Reviewed-on: https://go-review.googlesource.com/49610
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
  7. database/sql: fix nil pointer use within withLock

    kardianos committed with bradfitz Dec 21, 2017
    During the refactor in 1126d14 I
    introduced a logical error within one withLock function that used
    the result of the call before checking for the error. Change
    the order so that the error is checked before the result is used.
    
    None of the other withLock uses have similar issues.
    
    Fixes #23208
    
    Change-Id: I6c5dcf262e36bad4369c850f1e0131066360a82e
    Reviewed-on: https://go-review.googlesource.com/85175
    Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Caleb Spare <cespare@gmail.com>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  8. doc/go1.10: mention new os.IsTimeout function

    ianlancetaylor committed Jan 3, 2018
    Change-Id: I84fd3912163ca262df5d7d4690c0dd7e136e79ca
    Reviewed-on: https://go-review.googlesource.com/85938
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Commits on Jan 2, 2018
  1. cmd/compile: disable "redundant zeroextensions" optimization for Sele…

    cherrymui committed Jan 2, 2018
    …ct on AMD64
    
    A Select Op could produce a value with upper 32 bits NOT zeroed,
    for example, Div32 is lowered to (Select0 (DIVL x y)).
    
    In theory, we could look into the argument of a Select to decide
    whether the upper bits are zeroed. As it is late in release cycle,
    just disable this optimization for Select for now.
    
    Fixes #23305.
    
    Change-Id: Icf665a2af9ccb0a7ba0ae00c683c9e349638bf85
    Reviewed-on: https://go-review.googlesource.com/85736
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Matthew Dempsky <mdempsky@google.com>
    Reviewed-by: Ilya Tocar <ilya.tocar@intel.com>
  2. net/http: relax the matching of strace output in test

    cmarcelo committed with bradfitz Jan 2, 2018
    Modify the regex in TestLinuxSendfile to not match the parameters of
    the syscall, just its name and the opening parenthesis. This is enough
    to recognize that the syscall was invoked.
    
    This fixes the TestLinuxSendfile test when running in Clear Linux,
    where strace always execute with -yy implied, having output with extra
    information in the parameters:
    
        [pid  5336] sendfile(6<TCP:[127.0.0.1:35007->127.0.0.1:55170]>, 8</home/c/src/go/src/net/http/testdata/index.html>, NULL, 22) = 22
    
    Change-Id: If7639b785d5fdf65fae8e6149a97a57b06ea981c
    Reviewed-on: https://go-review.googlesource.com/85657
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  3. math: correct result for Pow(x, ±.5)

    bmkessler committed with griesemer Dec 30, 2017
    Fixes #23224
    
    The previous Pow code had an optimization for
    powers equal to ±0.5 that used Sqrt for
    increased accuracy/speed.  This caused special
    cases involving powers of ±0.5 to disagree with
    the Pow spec.  This change places the Sqrt optimization
    after all of the special case handling.
    
    Change-Id: I6bf757f6248256b29cc21725a84e27705d855369
    Reviewed-on: https://go-review.googlesource.com/85660
    Reviewed-by: Robert Griesemer <gri@golang.org>
    Run-TryBot: Robert Griesemer <gri@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  4. reflect: explicitly state that Type values can be used as map keys

    bontibon committed with ianlancetaylor Jan 1, 2018
    Fixes #6535
    
    Change-Id: I34974c0050424c96d19ad69bf4522bb69cde2fd5
    Reviewed-on: https://go-review.googlesource.com/85815
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Jan 1, 2018
  1. doc: 2018 is the Year of the Gopher

    bradfitz committed Jan 1, 2018
    Change-Id: Ie167512e000f3a8be0ff8a6a9edd52bd74f45115
    Reviewed-on: https://go-review.googlesource.com/85775
    Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Commits on Dec 31, 2017
  1. crypto/tls: document VerifyPeerCertificate behavior in relation to Cl…

    FiloSottile committed with agl Dec 16, 2017
    …ientAuth
    
    Change-Id: I3ff478912a5a178492d544d2f4ee9cc7570d9acc
    Reviewed-on: https://go-review.googlesource.com/84475
    Reviewed-by: Filippo Valsorda <hi@filippo.io>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  2. encoding/xml: remove duplicate test of element presence

    ivashyst committed with bradfitz Dec 30, 2017
    Change-Id: If0d9ff107fc6bbdf0231cd48abc23a44816bfe77
    Reviewed-on: https://go-review.googlesource.com/85755
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
Commits on Dec 30, 2017
  1. os: document that StartProcess's argv starts with the binary name

    bradfitz committed Dec 29, 2017
    Fixes #23277
    
    Change-Id: Idbe09913c95dc951b9b195eb7ff1e75d2bb4d63d
    Reviewed-on: https://go-review.googlesource.com/85675
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Dec 27, 2017
  1. cmd/vendor/golang.org/x/arch: revendor at commit 98fd8d9

    cherrymui committed Dec 27, 2017
    Pick up CL 85476 to fix #23237.
    
    Updates #23237.
    
    Change-Id: I31a48ef39ce90bc1424334762452281ae706d273
    Reviewed-on: https://go-review.googlesource.com/85495
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Commits on Dec 25, 2017
  1. net: revert CL 82975

    johnsonj committed with alexbrainman Dec 22, 2017
    this solution as it stands doesn't work with
    non-english device names (golang/go#23191 (which has a fix))
    and names some devices differently (golang/go#23153) probably due to the
    fact that this test previously only ran on Server 2008.
    
    Re-opens golang/go#20073
    
    Change-Id: I5c36774ddd85ac07620b4015372d564acbb169ad
    Reviewed-on: https://go-review.googlesource.com/85315
    Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Commits on Dec 22, 2017
  1. spec: provide some (minimal) intuition for the notion of "terminating…

    griesemer committed Dec 21, 2017
    … statement"
    
    
    Fixes #23215.
    
    Change-Id: Ib20825bf08915b4daaabbfd91f168e24973c512d
    Reviewed-on: https://go-review.googlesource.com/85215
    Reviewed-by: Rob Pike <r@golang.org>
Commits on Dec 21, 2017
  1. cmd/compile: additional test cleanup

    dr2chase committed Dec 20, 2017
    Refactoring to make it slightly easier to add tests,
    easier to add variable-printing-support for Delve,
    and made naming and tagging more consistent.
    
    No changes to the content of the test itself or when it is
    run.
    
    Change-Id: I374815b65a203bd43b27edebd90b859466d1c33b
    Reviewed-on: https://go-review.googlesource.com/84979
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Than McIntosh <thanm@google.com>