Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

runtime: bypass scheduler when doing traceback for goroutine profile

When acquire a goroutine profile, we stop the world then acquire a
stack trace for each goroutin...

8c73f80400d04a320165f4c1e535524cc50e20b4 authored almost 3 years ago by Cherry Mui <[email protected]>
doc/go1.18: add a release note for 'go mod vendor -o'

For #47327

Change-Id: I50418c0d017c4e90a2c13d26945ee639079e4e33
Reviewed-on: https://go-review....

47b3ab5ede452a88c2da4c5eaf092b2d707d2ff4 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net: skip new testpoint TestUDPIPVersionReadMsg on plan9

Skip TestUDPIPVersionReadMsg on plan9, since it does things
not supported on that OS.

Change-Id...

d76b1ac3e1919bd863e7e906202ae085cb20f595 authored almost 3 years ago by Than McIntosh <[email protected]>
cmd/compile: use canonical stringslice/ representations in abiutils

A chunk of code in abiutils was synthesizing the internals of a Go
string type as "struct { unsa...

c49627e81b05f23f97544fc6bfae3347296b4a06 authored almost 3 years ago by Than McIntosh <[email protected]>
cmd/compile: include register-resident output params in DWARF-gen

During the register ABI work, a change was made in CL 302071 to
"stackframe" to treat register-r...

79e03a9281ba03f9f79904f074e2e343f2140bdd authored almost 3 years ago by Than McIntosh <[email protected]>
cmd/compile/internal/ssa: fix debug location gen issue with zero width ops

Revamp the way that buildLocationLists() handles zero-width
operations, to fix a couple of probl...

e9ef931e0649563e800f0a284ad3606564a88b35 authored almost 3 years ago by Than McIntosh <[email protected]>
net: add conversion from AddrPort to TCPAddr to complement existing inverse

We already have various member functions of TCPAddr that return an
AddrPort, but we don't have a...

a01a6d6efea52802f455849cd52ef7f8d049033a authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/link/internal/loadelf: better error message for ignored symbols

Currently it's quite hard to debug these error messages about ignored symbols
because there are ...

1ec51087e57d242e5556210a426307984d9ef0b3 authored almost 3 years ago by Dmitry Vyukov <[email protected]>
lib/time, time/tzdata: update to 2021e

Doing this a little early in the release cycle as there have been some
changes in the handling o...

99fa49e4b7f74fb21cc811270fe42c9b7fa99668 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
misc/cgo/testshared: correct test of gccgo version number

We still don't run the gccgo tests, because they don't run in module mode.
But now we at least g...

4b27d40b508a1d37ffcd84a411408309804d2a2a authored almost 3 years ago by Ian Lance Taylor <[email protected]>
sync: clarify the validity to call Map methods inside Range

This change clarifies that calling all Map methods inside the callback
of Range is allowed. For ...

d5a5a13ad987db9bcdda8c6cecb84ed8583ea68d authored almost 3 years ago by Changkun Ou <[email protected]>
test: add test that was miscompiled by gccgo

For #49512

Change-Id: Ic08652a4ec611b27150bf10b1118c1395715e5d0
Reviewed-on: https://go-review....

3949faf72e8285622ebfdf3bd573125dcd5453d2 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
net: do more faithful conversion from AddrPort to UDPAddr

A UDPAddr with a nil IP is a valid state, representing an AF-agnostic
unspecified address, so ch...

4d0683965bd05aee6845bf6849c85c4bf2bb10d4 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/compile/internal/types2: remove structuralString in favor of inlined code

structuralString was used only in one place (for built-in copy).
Remove it in favor of custom an...

23f653df963ddf3ae618290edbb0c55530fcf483 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: slightly relax notion of structural type

If we have all channel types in a constraint, there is no structural type
if they don't all have...

96c94c2c831a5c074d33e2b7b553e91eb602e6bd authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile: don't do Resolve on OKEY identifiers during import

For generic functions, we can export untransformed OKEY nodes, and the
key identifier is written...

229b90931312aa1686f4bace25d1f40f896884ad authored almost 3 years ago by Dan Scales <[email protected]>
cmd/go: add 'go mod vendor -o' flag

Adds a new flag to 'go mod vendor' which overrides the default
'vendor' destination directory. T...

f410786c5f12d0cc4f44ce9daf8d0883df39a2f6 authored almost 3 years ago by Paschalis Tsilias <[email protected]>
runtime: rewrite TestPhysicalMemoryUtilization

This test changes TestPhysicalMemoryUtilization to be simpler, more
robust, and more honest abou...

a881409960a2a8117c99dcc0c91ab74885a3c53a authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
internal/cache: document 'go clean -fuzzcache' in README

Fixes: #48900

Change-Id: I9235441886ed7cbdfdcbd283480f52d9216c3ea2
Reviewed-on: https://go-revi...

b2d826c09f0f73cd9dc0022a2b052543e8bf4c06 authored almost 3 years ago by emahiro <[email protected]>
cmd/compile/internal/types2: refer to structural rather than single underlying type in errors

This brings the error messages in sync with the terminology that
will be used it the spec.

Chan...

23dd389ac6ef59210580614c4a73e0d0a13c2911 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: move some functions into different files (cleanup)

- move structuralType/structuralString into type.go
- move functions exported for the compiler i...

6406e09f69c70b10cab58702f10456a3e9a83bef authored almost 3 years ago by Robert Griesemer <[email protected]>
go/doc: don't treat functions returning type parameters as constructors

Functions returning type parameters were erroneously being interpreted
as 'constructors' of thei...

097aaa9cd68fdce10b81fbba43fbb6569a95b53f authored almost 3 years ago by Robert Findley <[email protected]>
cmd/compile/internal/types2: rename structure to structuralType

And rename structureString to structuralString.

Now that we have an updated definition for stru...

8a3be150775f80850e179bd1860b286be27ca407 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: use type variables consistently in Checker.conversion

We have V and T and Vu and Tu. When calling the various isX predicates
consistently use Vu and T...

0aa194f7589fb5f75fc3a9c34bb69943daf6fc5c authored almost 3 years ago by Robert Griesemer <[email protected]>
doc: make a copy of the latest Go 1.17 spec

This will allow us to compare the changes made for Go 1.18.

Change-Id: I1456270b201967f5cb05e66...

17980dff368256a0763cf042376d3fb36d06c109 authored almost 3 years ago by Robert Griesemer <[email protected]>
runtime: fix unworkable comments for go:nosplit

Change-Id: I71c29a2dc7e5b2b6bc35093535228d2907b16b47
Reviewed-on: https://go-review.googlesource...

e984240d310302764c66bb4bf84b5747e05cf8ef authored almost 3 years ago by Hajime Hoshi <[email protected]>
go/parser: allow parsing aliases with type parameters

We already guard against this in the type checker, and it will
eventually be allowed per the acc...

02d7eab52796574b44717d45d5def42c9068b56a authored almost 3 years ago by Robert Findley <[email protected]>
go/types: disallow type cycles through type parameter lists

This is a port of CL 361922 to go/types.

Change-Id: I790c8121a640c25fb655c926fb434d667dd59f76
R...

57dc6e247538301fb312e8ee35d3385f5d5efc28 authored almost 3 years ago by Robert Findley <[email protected]>
cmd/compile/internal/types2: disallow type cycles through type parameter lists

If we reach a generic type that is part of a cycle
and we are in a type parameter list, we have ...

cc14fcac2bc1d452841336b9aeee3b1d47880f37 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: rename Checker.cycle to Checker.validCycle

Also, invert the boolean result. This matches Checker.validType;
it's also easier to understand....

318c024b498621932ace08736c38a51fe5519a63 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: rename Checker.cycle to Checker.validCycle

This is a clean port of CL 362336 to go/types.

Change-Id: Iafeae7024fbb2872b07748affcea9676324e...

ec86bb52ba88ff18a88719ee0f9244315fa81154 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: remove most asX converters (cleanup)

This is a port of CL 362118 to go/types, which is itself a roll-forward
of CL 362254, containing...

f5f94340910421baea624ca08e5f51343515cae8 authored almost 3 years ago by Robert Findley <[email protected]>
mime: keep parsing after trailing semicolon

Fixes #46323

Change-Id: Ibd624b1aaa15f907b7eb965b4eaec61018a45486
GitHub-Last-Rev: 7ad670b08814...

578ada410de8065dbca46bca08a5993d1307f423 authored almost 3 years ago by Illirgway <[email protected]>
cmd/go: add go work sync command

Change-Id: I09b22f05035700e1ed90bd066ee8f77c3913286a
Reviewed-on: https://go-review.googlesource...

795cb333d94ee7f5632500f3e2ae98012b8d73e6 authored almost 3 years ago by Michael Matloob <[email protected]>
go/types: report error for incomplete struct composite literal type

This is a port of CL 361412 to go/types.

Change-Id: Ie5bccc7faba7ca9230e712f867b27ca9dcddba79
R...

1c86beeadfc7a370048ad58f76b1b60b5bcd06ee authored almost 3 years ago by Robert Findley <[email protected]>
go/types: don't return an array type with invalid length

In preparation for porting CL 361412, fix a discrepancy in go/types,
where [-1]T is returned for...

cb908f1d4dd24dad17105022df7b0e96ac1d6988 authored almost 3 years ago by Robert Findley <[email protected]>
cmd/go: add workspace pruning mode

[ this is a roll-forward of golang.org/cl/357169 with minor changes
to fix the cmd/go/internal/m...

4aa0746f6abae7dc112883e79f93993a430bd340 authored almost 3 years ago by Michael Matloob <[email protected]>
cmd/go/internal/bug: remove duplicate code

Change-Id: I8a14b2fbb44f7ed1ea126cf27adc447f33fdf6f2
Reviewed-on: https://go-review.googlesource...

a65a095ca423c21bdd53a6a8300b501b88d60137 authored almost 3 years ago by Manlio Perillo <[email protected]>
cmd/dist: wait for exit in bgwait after a fatal error

Currently, when a command scheduled by bgrun fails, bgwait returns to
the caller even in case th...

805b4d56364ec40f29fc7efba5de537d14036c6a authored almost 3 years ago by Manlio Perillo <[email protected]>
encoding/xml: add generic encoding test

Fixes #48521

Change-Id: Id8402bcff243c0ab19e4ec0b138b9af8c111f88d
Reviewed-on: https://go-revie...

b93220c9ca1935c56c01afc1d72d063f1e026f15 authored almost 3 years ago by Keith Randall <[email protected]>
go/types: clearer object string for type parameters

This is a port of CL 361401 to go/types.

Change-Id: I5b1c7cf1d7a819b2902c304f884492ec02c7eaa1
R...

f981a9f7ded779749dca199e0893aa08529b52ec authored almost 3 years ago by Robert Findley <[email protected]>
cmd/compile: add line number test for #49436

This enhances the existing line number test
to allow a specific -gcflags (e.g., -G=3)
and to per...

a0963164e86356092074473049cca7bff52afbce authored almost 3 years ago by David Chase <[email protected]>
all: update vendored golang.org/x/tools for Go 1.18 release

The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...

5430203a1e7f3ba3af70b17bf2eeb61efda2ae58 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
all: update vendored golang.org/x/crypto for Go 1.18 release

The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...

74b9939ec4a9f41bffb4dda47205d55c28e25728 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
all: update vendored golang.org/x/{net,text} for Go 1.18 release

The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...

77c473f4197b5ad4d90689d665534e598f3c0750 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
all: update vendored golang.org/x/{arch,sys,term} for Go 1.18 release

The Go 1.18 code freeze has recently started. This is a time to update
all golang.org/x/... modu...

233ea216c730a1902579ab2dea6d752e02d6f6f3 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
os: clarify that File.{Read,Write} use the buffer

Fixes #49470

Change-Id: I81fd4b0e2eef1d8d430b5d1d10c4f824e803a75c
Reviewed-on: https://go-revie...

f48115c6502a3fb791dc4b37f5817024c9731ee3 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
bufio: document that NewWriter can return its argument

Fixes #49446

Change-Id: Ib0b53a7dd5d567a2dd0bdf29f53d276587b60afb
Reviewed-on: https://go-revie...

8c20584a8206844be705c50efe8aabb6ab9c503e authored almost 3 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: NewSelectorExpr use n.Pos instead of base.Pos

Fixes #49436

Change-Id: I4c8851e7aaee631d5eb22f2ef0aea5a25e936d87
Reviewed-on: https://go-revie...

d3aedb72c687cc58e10755eff006a4dd45cb8e15 authored almost 3 years ago by Chaoqun Han <[email protected]>
go/types: make object test an external test

This is a port of CL 361409 to go/types.

Change-Id: I17ccf8a5b4ba715fd8a87ea2c1811700fb1157e3
R...

f59d36d2e3f0707c8bf2b157009ffc38a9b74d25 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: check non-generic conversions first

This is a clean port of CL 361269 to go/types.

Change-Id: I2caaf08eabdf1707ae83ec1e628fd26f21b2...

526b2ef0ea3a13d7e9af635918ef3ef86353f220 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: minor cleanups in predicates.go

This is a clean port of CL 360956 to go/types.

Change-Id: Iac437e72bb760e7e90236a86e7473d6a440d...

81f37a72ea8a05ea3f5771a92b34b352769518cf authored almost 3 years ago by Robert Findley <[email protected]>
cmd/link: fix GCC startfiles names on AIX

Since GCC version 11, the 64-bit version of GCC starting files are
now suffixed by "_64" instead...

01103d533a086afd6c06f3eec5057d46f117d2ff authored almost 3 years ago by Clément Chigot <[email protected]>
net/http: add MaxBytesHandler

Fixes #39567

Change-Id: I226089b678a6a13d7ce69f360a23fc5bd297d550
GitHub-Last-Rev: 6435fd5881fc...

55e6e825d4c90544248c3a725b4dee9fb45848e7 authored almost 3 years ago by Carl Johnson <[email protected]>
cmd/go: add //go:embed all:pattern

When //go:embed d matches directory d, it embeds the directory
tree rooted at d, but it excludes...

36dbf7f7e63f3738795bb04593c3c011e987d1f3 authored almost 3 years ago by Russ Cox <[email protected]>
runtime: add upper half and carry bit with zero

https://golang.org/cl/246763 accidentally changed this from upper + 0 +
carry to upper + old vds...

15a54d627ca7a0bdf45a3d1862b35a892024cacc authored almost 3 years ago by Michael Pratt <[email protected]>
runtime/pprof: include labels in profile dump

For tests of pprof label support having the sample labels in the output
is needed for effective ...

90f47dbba635802bb009404e321fa4759ac76d20 authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/compile/internal/types2: roll-forward removal of asX converters

This CL reverts CL 361964, rolling forward the original CL 362254 with a
fix for re-entrant expa...

34abc12b2a24fd76cdfad531f0a229f3cbb55bc3 authored almost 3 years ago by Robert Findley <[email protected]>
[dev.boringcrypto] cmd/compile: disable version test on boringcrypto

This test modifies a binary, which the FIPS integrity test doesn't like.

Fixes #49402

Change-I...

16215e5340a84adcfce7ba49fdde6f9a0bbe1c0a authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile: disable doubleCheck and remove unused checkDictionary

In stencil.go, change doubleCheck to false, which will turn off some
double-checking code which ...

47e3c4bc74f5f260cbc9c5e6d1ababde0a114a97 authored almost 3 years ago by Dan Scales <[email protected]>
go/types: rename is_X predicates back to isX (step 2 of 2)

This is a port of CL 361134 to go/types.

Change-Id: Ibac4365a85561b32a90b0118d48aa9302f227b2e
R...

2ade8ae325e6410f9696f431e6c50479216e63ae authored almost 3 years ago by Robert Findley <[email protected]>
go/types: rename isX predicates to allX, add simple is_X (step 1 of 2)

This is a port of CL 360955 to go/types. Note that go/types and types2
differ in handling of unt...

e90fd9a597c03b993f900e4b1997de67b12bb4f3 authored almost 3 years ago by Robert Findley <[email protected]>
testing: remove package from fuzz crasher message

Fixes #48149

Change-Id: Iaf91d2c54fda809c7da90cdfb6d1d075f474c69b
Reviewed-on: https://go-revie...

2559a98a3cda46084cbdd3ea49217fdc8074ce7a authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/go: fix mod_get_direct

https://github.com/googleapis/google-cloud-go has changed the default
branch from master to main...

b7529c3617a64ed5d1e2a6c7a9366d4a4988a38d authored almost 3 years ago by Cuong Manh Le <[email protected]>
runtime: revert recent Windows crashdump changes

Recent changes to runtime enabled crashdumps, which under some
circumstances apparently might re...

6dcf83d882a668894f4423045833e97f7e3c31cf authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
cmd/compile: remove unneeded "==" method in pre-defined "comparable" interface

Fixes #49421

Change-Id: Iecf3952346ecd278198c1000014a321e230f7fa7
Reviewed-on: https://go-revie...

5344dcae4139de85b9e3d8cea81f9b65fc2bd25f authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: fix irgen mis-handling of ... argument when creating closure

When bulding formal arguments of newly created closure, irgen forgets to
set "..." field attribu...

bee0c739007617c840ac29a6f8fcf9f24cbf1505 authored almost 3 years ago by Cuong Manh Le <[email protected]>
Revert "cmd/go: add workspace pruning mode"

This reverts CL 357169.

Reason for revert: appears to be failing on longtest SlowBot.¹

¹https:...

67e22941dfe1555d8597e48f49ff86d3be340a36 authored almost 3 years ago by Bryan C. Mills <[email protected]>
test: add regress test for reported non-monomorphizable example

Fixes #48711.

Change-Id: I2ed1ef5267343d4b9f91da0618905098d178db90
Reviewed-on: https://go-revi...

955f9f56bf21dca045c042a2a8998a2fc04117a4 authored almost 3 years ago by Matthew Dempsky <[email protected]>
cmd/go: rename go mod initwork and editwork to go work init and edit

This brings the workspace related commands into their own namespace.

Fixes #48256

Change-Id: I...

cc4917823747752337feec5a14f700633f4e9d02 authored almost 3 years ago by Michael Matloob <[email protected]>
cmd/go: add workspace pruning mode

This change corrects a bug in the handling of module loading of
workspaces. Namely, there is an ...

0e39946e8df426b459103ab94256b697a6a4dd9c authored almost 3 years ago by Michael Matloob <[email protected]>
net/http: deflake TestTimeoutHandlerContextCanceled

Fixes #49448

Change-Id: Ie2acff7dedbca9bd1cc0b1b3dd0a01573c7befee
Reviewed-on: https://go-revie...

ccea0b2fbe8eaf0ac69fab4aef28f300bf676d21 authored almost 3 years ago by Damien Neil <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: If0a6a3d0abf15d9584ce572510b5bb31872d432f

c9858c7bdc8493f471f9914cc4c79d41ef483265 authored almost 3 years ago by Heschi Kreinick <[email protected]>
cmd/compile,cmd/go: fix long test builders

CL 361411 improved error message for go version requirement, but forgot
to update the test in cm...

830b393bcd5a3090b13cd0bd05f51e3d594807f3 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: Revert "cmd/compile/internal/types2: remove most asX converters (cleanup)"

This reverts commit 759eaa22adb0ab883959e4a36c19f2dfe77b5895.

Reason to revert: break unified I...

5e6475598c4c78fe5404ea273041552e65463a21 authored almost 3 years ago by Cuong Manh Le <[email protected]>
crypto/x509: remove ios build tag restriction

Fixes #49435

Change-Id: I77ce12f447e727e7dc3b23de947357c27a268bd2
Reviewed-on: https://go-revie...

2e210b41ea5ca2fd3dcac5bc24ea932c2cac1234 authored almost 3 years ago by Roland Shoemaker <[email protected]>
internal/fmtsort: order channels in test in memory address order

Kind of a kludge, but it makes the test work reliably.

Fixes #49431

Change-Id: Ic2a075ba02f80e...

6a9d81174e6c7d205fc189a1eac56212a723c40c authored almost 3 years ago by Keith Randall <[email protected]>
runtime: disable GC in TestPanicSystemstack's subprocess

TestPanicSystemstack spins up a subprocess that has 2 goroutines
deadlock on a runtime lock whil...

7bda349c1735fb6043b22d7a0e4542134baa6518 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: disable GC during debug call tests

Currently the debug call protocol implementation we use for testing is
riddled with write barrie...

7ee3f1427b079bb363689321b0565ba7b03de03e authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile/internal/types2: remove most asX converters (cleanup)

Make it explicit in the code where we call under.
The asNamed and asTypeParam converters need to...

759eaa22adb0ab883959e4a36c19f2dfe77b5895 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: use compiler version error when configured for compiler

Fixes #49368.

Change-Id: I7c7575ae8bb6271160747e3f1888b144c3ab24c4
Reviewed-on: https://go-revi...

3e41b18a46ea0cf033be4d9baa2d99f7c8c985dc authored almost 3 years ago by Robert Griesemer <[email protected]>
doc/go1.18: strings,bytes: deprecate Title

Updates #48367.

Change-Id: Ib8fc6d9dd7c3c6a70fefe077615f51a71d9c42ed
Reviewed-on: https://go-re...

ab31dbc05b725135ca5f6fd4337a041d8433f153 authored almost 3 years ago by smasher164 <[email protected]>
net/http: fix spelling in documentation

Change-Id: I8b0924300eafe27de98975512a78a6527a92e446
Reviewed-on: https://go-review.googlesource...

9e6ad46bccfa7a63e768236bcd1fd54dab38e4d1 authored almost 3 years ago by jiahua wang <[email protected]>
archive/zip: don't read data descriptor early

Go 1.17 introduced an unnecessary change to when a zip's data descriptor
is read for file entrie...

85493d53e3bffbd08de3a97672a5a6f10b4901a8 authored almost 3 years ago by Arran Walker <[email protected]>
cmd/compile/internal/types2: report error for incomplete struct composite literal type

Mark a struct as "complete" with a non-nil (but possibly zero length)
fields list. Add a test wh...

61d789db3a52e4570596f1fd15122358deb73b77 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: clearer object string for type parameters

- print "type parameter" rather than just "type"
- print the type bound rather than the underlyi...

cfb3dc7710ba35d9932ba9f5242730a97f9ae603 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: make object test an external test

Change-Id: I15c969a799404067f34f600da15b1a97d4857315
Reviewed-on: https://go-review.googlesource...

7ca772a5bc5d7f2a391f7f2a0febc54d84acb9d7 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: always parse tests assuming generic code

We don't need to distinguish anymore as this is the new default.
This removes the need to prefix...

565f457e81a97f80412c9979fc3510c17849381e authored almost 3 years ago by Robert Griesemer <[email protected]>
crypto/x509: verification with system and custom roots

Make system cert pools special, such that when one has extra roots
added to it we run verificati...

3544082f75fd3d2df7af237ed9aef3ddd499ab9c authored almost 3 years ago by Roland Shoemaker <[email protected]>
cmd/compile: avoid adding LECall to the entry block when has opendefers

The openDeferRecord always insert vardef/varlive pairs into the entry block, it may destroy the ...

4f083c7dcf6ace3e837b337e10cf2f4e3160677e authored almost 3 years ago by hanpro <[email protected]>
all: remove more leftover // +build lines

CL 344955 and CL 359476 removed almost all // +build lines, but leaving
some assembly files and ...

f19e4001808863d2ebfe9d1975476513d030c381 authored almost 3 years ago by Tobias Klauser <[email protected]>
crypto/x509: use the platform verifier on iOS

Use the same certificate verification APIs on iOS as on macOS (they
share the same APIs, so we s...

b74f2efc47bbfcc4aa301ebda1033948d8b6b63e authored almost 3 years ago by Roland Shoemaker <[email protected]>
runtime: eliminate rendundant loads gcPercent

The previous change was an automated change that made gcPercent a
type-safe atomic variable. How...

09e8de70c2ee36d99ba02389da0fe2e203879022 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: retype gcControllerState.gcPercent as atomic.Int32

[git-generate]
cd src/runtime
mv export_test.go export.go
GOROOT=$(dirname $(dirname $PWD)) rf '...

2f71c86370a2c3bf2827e8d9f9080d9bf92a5317 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
net/netip: document the zero Addr

Fixes #49364

Change-Id: I3372f80723a4deae48ef106f88b0ad880cdd0e45
Reviewed-on: https://go-revie...

e83a2047e0332e45c20fb1bcdb984e9cc74ffb1f authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
doc/go1.18: split bytes and strings packages

A small touchup after CL 361894.

For #47694.

Change-Id: Ifc161516f897f727195d21351a3c8eda7b6e3...

ba79c1e24198c2222e3bfe350326a8962fee0441 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
net/netip: add tests for Addr.AsSlice

Change-Id: Ib88dd101b3bbdf4d2bfd79838994cfadef1b604d
Reviewed-on: https://go-review.googlesource...

3b7e376df87fa5255c7aa58d5719593b314338fd authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
net/netip: add IPv4Unspecified

There is IPv6Unspecified but there is not IPv4Unspecified, making for
inconsistent code. This co...

b07c41d2c1c8d5729250a13b7c560c150c1d9011 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
net/netip: reduce allocations in MarshalBinary

Addr's MarshalBinary required two allocations in the case of a zone
existing, and AddrPort and P...

87a3fc518a462a6bef4c395ec5af26f2cdc41207 authored almost 3 years ago by Jason A. Donenfeld <[email protected]>
crypto/x509: use platform verifier on darwin

When VerifyOptions.Roots is nil, default to using the platform X.509
certificate verification AP...

feb024f4153395e5bbb2a51bb3d1ddc4f5b0d2dc authored almost 3 years ago by Roland Shoemaker <[email protected]>