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

cmd/compile: be more careful about pointer incrementing in range loops

For range loops, we use a pointer to the backing store that gets
incremented on each iteration o...

8477562ce54868958f0f84f30815a220128aacf7 authored almost 2 years ago by Keith Randall <[email protected]>
crypto/rsa: return err when key too small to compute salt for RSA PSS

When PSSSaltLengthAuto is passed to SignPSS, and the key size is too
small to create a valid sal...

d03e442e2dace16ce125aa073a3c6ac8484d4457 authored almost 2 years ago by Roland Shoemaker <[email protected]>
cmd/addr2line: use the test binary as 'addr2line' instead of rebuilding it twice

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-...

318ceda632c3e961b2d883262ea57f06ab09d06d authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/addr2line: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default based on the test\'s deadline
and sends SIGQUIT (where supported)...

b95e9bc41e2d1e6c0c2077659f5996a68dc54c41 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/vet: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

0df08b955371b7953350a834fd27c594fc45fe73 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/vet: use the test binary as 'vet' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-...

509ac2ca6dbda4fff7a0e4e25589bb8827c897c2 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/pprof: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

ddf78189d47ff97afb76d3b4e47edbf3eb0ee11c authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/pprof: use the test binary as 'pprof' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-...

a68f9113a2d4043ef28d2e4395485ee187e5532d authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/pack: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

3e1519d05a640701e1a2f1d9ba737fc912a1b624 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/pack: use the test binary as 'pack' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-...

af7437cc8a62ca21b907628aed3ee484d4220317 authored almost 2 years ago by Bryan C. Mills <[email protected]>
go/internal/gcimporter: backport flattenImports optimization

Backport of go.dev/cl/450755 from the x/tools importer.

Change-Id: Ia9a2cc038d589a4cde1b31f7448...

8373bfe88e92a77a498caeab2ca729330b007483 authored almost 2 years ago by Matthew Dempsky <[email protected]>
cmd/objdump: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

10661bd95225cc9d4e85bffe0de63e797ff4f2ac authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/objdump: use the test binary as 'objdump' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-...

a3d545933fcc8bdd2edad56cc3f8c2aa6140814d authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/nm: use the test binary as 'nm' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-...

5e73f6a02928518bd8ea0a7b1112ce5e536d5dd6 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/link: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

0b82b670ed0ba6826ce8215e816df9c8016df323 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/internal/goobj: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

40e1e2e93eaa7d42cc2a3c9ff813710d36cace51 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/internal/archive: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

d703ad54bcf6268e1f1813b261067421b7caa816 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/internal/obj: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

5ccee1199e11b830ae32772d5ebc7b35e356b7f3 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/internal/moddeps: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

6484e813b5ec80a399ed1b8e4608070db2144b39 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

c9f7370a096a8b5c2db5996b8b6adbad4e2747d5 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

2cb103ff58aab6a02cf94cebdb7c20d1e518f1ed authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/cover: use testenv.Command instead of exec.Command

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where sup...

9754bc7bb75fad4c645fa8057789c843ff537d81 authored almost 2 years ago by Bryan C. Mills <[email protected]>
go: use testenv.Command instead of exec.Command in tests

This may help to diagnose whether the hang observed in
https://build.golang.org/log/d03db1d27515...

a171f3fe49f8c5aa96189a822dbb8e3ef6900f91 authored almost 2 years ago by Bryan C. Mills <[email protected]>
net: rewrite nsswitch.conf parsing to work like other parsers

Seems simpler than having two different parsing mechanisms.

Change-Id: I4f8468bc025f8e03f59ec9c...

37ca171ce79a86924b7db4dd07b1e7760cfed4fc authored almost 2 years ago by Ian Lance Taylor <[email protected]>
crypto/rsa: fix loop variable capture in test

Should fix builds.

Change-Id: I309eccec8d08931b1ef8fee9327a08a97c6bf871
Reviewed-on: https://go...

678cd71d11f927fcde0c1fa5d380860ce77f8391 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: add testing-flag guard to package-is-collected assert

On advice of the department of garbage collection, forcing a garbage
collection generally does n...

96711e4d8b9247a9b8502efef1b8714dd9e1915a authored almost 2 years ago by David Chase <[email protected]>
sync/atomic: allow linked list of atomic pointers again

For #56603, CL 448275 added a _ [0]T field to atomic.Pointer,
so that different kinds of atomic....

b14cf3d93ae5c477dd35f13f6ba41044f01a7f7d authored almost 2 years ago by Russ Cox <[email protected]>
crypto/x509: Reallow duplicate attributes in CSRs.

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

56d18207823d6e1c18ca46409180c40ae800230c authored almost 2 years ago by Rob Stradling <[email protected]>
sync: add new Map method Swap, CompareAndSwap, CompareAndDelete

name time/op
SwapCollision/*sync_test.DeepCopy...

395323c4d013f94c7e7c776959f460e83774114c authored almost 2 years ago by Changkun Ou <[email protected]>
cmd/compile: fix missing typecheck for static initialization slice

CL 440455 fixed missing walk pass for static initialization slice.
However, slicelit may produce...

03a18104735c78ad71cbd67d59b25bdc7fe8dcdf authored almost 2 years ago by Cuong Manh Le <[email protected]>
runtime: clarify finalizer semantics for tiny objects

This change clarifies that a finalizer is not guaranteed to run,
not only for zero bytes objects...

80d487111ba8fe1d0ddcd04972046070e2e4bbe9 authored almost 2 years ago by Changkun Ou <[email protected]>
crypto/rsa: add a test walking through every key size

We already had some tests for special cases such as PSS with 513 bit
keys. The upcoming backend ...

1fcd4e9099c33b4baa74713d5639e61158d10b49 authored almost 2 years ago by Filippo Valsorda <[email protected]>
runtime/pprof: scale mutex profile samples when they are recorded

Samples in the mutex profile have their count and duration scaled
according to the probability t...

30b1af00ff142a3f1a5e2a0f32cf04a649bd5e65 authored almost 2 years ago by Nick Ripley <[email protected]>
doc/go1.20: add release notes for net/http and net/http/httputil

For #41773
For #41773
For #50465
For #51914
For #53002
For #53896
For #53960
For #54136
For #542...

8cca427d17d56cfa7bdf63386bc78cf946ecb5bf authored almost 2 years ago by Damien Neil <[email protected]>
doc/go1.20: add release notes for archive/zip, encoding/binary, mime

For #48866
For #54139
For #54801

Change-Id: Iafe72ccc7e756ec1edb5bb7e8e90d385458cff29
Reviewed-...

6df542159b195f4564ea1f380dd95eddba5fb2b9 authored almost 2 years ago by Damien Neil <[email protected]>
doc/go1.20: add a release note for multiple error wrapping

For #53435.

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

787f8167e433e156ead1b06a2f965f415b3635ec authored almost 2 years ago by Damien Neil <[email protected]>
cmd/compile: remove manually implemented popcount in _gen/main.go

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

b4ff4792989853b82150c1dc136ba024f6a09d0a authored almost 2 years ago by Jorropo <[email protected]>
cmd/pprof: debug TestDisasm

If pprof -disasm fails, print the profile content for debugging.

For #56574.

Change-Id: I5d937...

362713183a8947394d2900563e711d05c9bbd67b authored almost 2 years ago by Cherry Mui <[email protected]>
runtime: make GC see object as allocated after it is initialized

When the GC is scanning some memory (possibly conservatively),
finding a pointer, while concurre...

febe7b8e2a4dd7cce6ab8d02cf79a5430819cbe5 authored almost 2 years ago by Cherry Mui <[email protected]>
net: use a consistent dnsConfig in hostLookupOrder

Use the same dnsConfig throughout a DNS lookup operation.
Before this CL it was possible to deci...

d52883f443e1d564b0300acdd382af1769bf0477 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
cmd/vet: enable timeformat analyzer

Fixes #48801

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

f977ffe82dad0d8d296e898141b37c8af22f2eef authored almost 2 years ago by Tim King <[email protected]>
cmd: update vendored golang.org/x/tools for loopclosure improvements

Updates vet to report errors where a loop variable escapes the current
loop iteration by a call ...

6a9c76524fab12553108199352fc1faa3a76d783 authored almost 2 years ago by Tim King <[email protected]>
crypto/rsa: improve benchmarks

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

a86f05e390800138c5e7de0967bebe4815765d1e authored almost 2 years ago by Filippo Valsorda <[email protected]>
net/url, net/http/httputil: accept invalid percent encodings

Per https://url.spec.whatwg.org/#percent-encoded-bytes an invalid
percent encoding should be han...

e6ebbefaf848604c8df3e2a58e146948b03e608b authored almost 2 years ago by Ian Lance Taylor <[email protected]>
Revert "runtime: delay incrementing freeindex in malloc"

This reverts commit bed2b7cf41471e1521af5a83ae28bd643eb3e038.

Reason for revert: I clicked subm...

2b59307ac21135ab8db58e08fb98211fbedbb10d authored almost 2 years ago by Michael Knyszek <[email protected]>
crypto/x509: remove unused member Raw from certificate

As noticed in the review of the CRL RawIssuer updates (https://go-review.googlesource.com/c/go/+...

998c11d2187d8afaa315f58f29f80b6882d2701c authored almost 2 years ago by Alexander Scheel <[email protected]>
runtime,cmd/internal/obj/x86: use TEB TLS slots on windows/amd64

This CL redesign how we get the TLS pointer on windows/amd64.

We were previously reading it fro...

da564d0006e2cc286fecb3cec94ed143a2667866 authored almost 2 years ago by qmuntal <[email protected]>
os,syscall: File.Stat to use file handle for directories on Windows

Updates syscall.Open to support opening directories via CreateFileW.

CreateFileW handles are mo...

0f0aa5d8a6a0253627d58b3aa083b24a1091933f authored almost 2 years ago by qmuntal <[email protected]>
cmd/compile: merge zero constant ISEL in PPC64 lateLower pass

Add a new SSA opcode ISELZ, similar to ISELB to represent a select
of value or 0. Then, merge ca...

dc6b7c86df3cac29c3506ef8b251345b8d914496 authored almost 2 years ago by Paul E. Murphy <[email protected]>
os: don't request read access from CreateFile in Stat

CL 448897 changed os.Stat to request GENERIC_READ access when using
CreateFile to examine a file...

24fc64028c0faa7fcbdae2bf2a2ded825713c982 authored almost 2 years ago by Damien Neil <[email protected]>
doc/go1.20: add a release note for (*testing.B).Elapsed

Updates #43620.

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

6234e467e50b35e967b9a91f8b6fa01fa6691bfa authored almost 2 years ago by Bryan C. Mills <[email protected]>
doc/go1.20: add release notes for cmd/go changes

Updates #41696.
Updates #50332.
Updates #41583.

Change-Id: I99e96a2996f14da262570a5cb5273dcdce4...

f02bc56d299e9cd7c264333488695fa70ddc937b authored almost 2 years ago by Bryan C. Mills <[email protected]>
crypto/x509: expand package docs and clarify package target

Fixes #26624

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

ed615aaf5bd6bb9ab0c9d88f4e41b4d2ff07a10e authored almost 2 years ago by Filippo Valsorda <[email protected]>
doc/go1.20: add TODOs found by x/build/cmd/relnote

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

1a6a37f997d3e3b7d594874678cfb917b6665c6c authored almost 2 years ago by Russ Cox <[email protected]>
crypto/aes: rewrite ppc64le asm-cbc routine

This loads the keys once per call, not once per block. This
has the effect of unrolling the inne...

01d12c947c2277a46477597c2148083744ccf284 authored almost 2 years ago by Paul E. Murphy <[email protected]>
database/sql: add a missing period to end of sentence in Rows.Scan docs

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

74b6a22057b393f198d2d86f4ea7504dacf390f5 authored almost 2 years ago by Brad Fitzpatrick <[email protected]>
testing: fix error message when a parallel Cleanup calls runtime.Goexit

Fixes #48502

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

a650e399dfc2435eb18efc430a70cba9d87cec73 authored almost 2 years ago by Changkun Ou <[email protected]>
internal/godebug: define more efficient API

We have been expanding our use of GODEBUG for compatibility,
and the current implementation forc...

ea4631cc0cf301c824bd665a7980c13289ab5c9d authored almost 2 years ago by Russ Cox <[email protected]>
archive/zip: don't read directories containing file data

Fixes #54801

Change-Id: I3d03516792975ddb09835b2621c57e12e7cbad35
GitHub-Last-Rev: 4faa7e14dcc4...

40bdcbb483548c0b660503c3ba80f9676b98fd5f authored almost 2 years ago by Alexander Yastrebov <[email protected]>
spec: document the new unsafe functions SliceData, String, and StringData

For #53003.

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

c55d184151d2a1d313b96d8e835341cd1f0ec0c5 authored almost 2 years ago by Robert Griesemer <[email protected]>
math/bits: directly calculate quo/rem when hi is zero in Div64

func Div64(hi, lo, y uint64) (quo, rem uint64) {...}

math/bits.Div64 returns the quotient and r...

d092f597d7f0bef88620d7340df9079477df727f authored almost 2 years ago by ruinan <[email protected]>
spec: clarify struct field and array element comparison order

Fixes #8606.

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

2041bde2b619c8e2cecaa72d986fc1f0d054c615 authored almost 2 years ago by Robert Griesemer <[email protected]>
internal/syscall/unix: use runtime.gostring for Gostring

Under the race detector, checkptr flags uses of unsafe.Slice that
result in slices that straddle...

122a22e0e9eba7fe712030d429fc4bcf6f447f5e authored almost 2 years ago by Ian Lance Taylor <[email protected]>
os/exec: fix TestWaitInterrupt/WaitDelay error message

As the comments say. Here we expect err to be nil instead of ctx.Err()

Change-Id: I4cd02d62ac0a...

7e4191e686c192b9c85065fd3b8775190d3e9c5f authored almost 2 years ago by scott <[email protected]>
net: handle correctly the _gateway and _outbound hostnames for nss myhostname

Fixes #56387

Change-Id: If412134344600caefec425699398522399986d4d
GitHub-Last-Rev: f33540ef8f90...

c3aac6c010f9293319ae5dbe0592bc7706b6a161 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
all: fix problematic comments

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

5a3243e6b60ec7b006d8b65fd564133018cad777 authored almost 2 years ago by cui fliter <[email protected]>
runtime/race: add missing copyright headers to syso import files

These were apparently missed in CL 424034.

Change-Id: I60fcdd8c16992177a23c0e701f4224b250cfabee...

46bed9d04c5f1e0da557d79b9a35bf9331fcd33f authored almost 2 years ago by Bryan C. Mills <[email protected]>
net: disable TestLookupDotsWithRemoteSource and TestLookupGoogleSRV

These tests fail consistently due to a DNS change causing widespread
trybot outages.

Fixes #567...

97765249082b6835c77517a4e63bb38cfd6db97b authored almost 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: delay incrementing freeindex in malloc

When the GC is scanning some memory (possibly conservatively),
finding a pointer, while concurre...

bed2b7cf41471e1521af5a83ae28bd643eb3e038 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/go/internal/vcweb: fix a data race in the overview handler

I forgot to lock the scriptResult in the overview handler, and
apparently a cmd/go test is incid...

fcd14bdcbdfbb5b0c79cfecff95291837836a76d authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/link: exit if runtime.a is missing

Many stages in the linker assume some runtime symbols exist.
Error out if the runtime package ca...

fffda6b3adfb4d05290c58939a78a99643398ff1 authored almost 2 years ago by Cherry Mui <[email protected]>
test: add regression test for issue 53439

Fixes #53439

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

73f987c88b348772ca2efa8d5b3d0ac61cbdb563 authored almost 2 years ago by Cuong Manh Le <[email protected]>
os/user: use libc (not cgo) on macOS

With net converted to libc, os/user is the last remaining
cgo code in the standard libary on mac...

185766de0ff2810ee018501addb1f58be2226856 authored almost 2 years ago by Russ Cox <[email protected]>
crypto/ecdh: add boringcrypto support

Update crypto/ecdh to use boringcrypto when enabled.

Change-Id: Idd0ce06a22b1a62289b383c4689380...

d62f8d5f2becb765c6c6947bfc1858ced43c1cbb authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile: remove output registers limit for MUL/DIV on loong64

This limitation exists on MIPS platform, but not on loong64.

Change-Id: I14bb3ec6895a8f7850873c...

ffc4496306a93a5d95abd6b1ec7bb81ca02c0026 authored almost 2 years ago by Wayne Zuo <[email protected]>
net/http: fix triv.go

CL 428137 replaced 'buf := make(bytes.Buffer)' with 'var buf strings.Builder'.
That change also ...

4d37f968252b85ea3b26513b39ed606a5a50bc32 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/compile: adjust PGO inlining default parameters

Adjust PGO inlining default parameters to 99% CDF threshold and
2000 budget. Benchmark results (...

1b03568ae18715ad081cc57197b61388c8e6caa4 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/internal/obj: reduce allocations in object file writing

Some object file writer functions are structured like, having a
local variable, setting fields, ...

5497300d9c9327005fa9ab14c6897d6c883139c5 authored almost 2 years ago by Cherry Mui <[email protected]>
net: auto-reload the /etc/nsswitch.conf on unix systems

This change is made to align with the current (recently changed) glibc behaviour, it will allow ...

79950a41625d1a041781e6344f5ca57308c7df08 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
cmd/go: enable -x in go mod graph

Updates #35849

Change-Id: Ifa18e448c0d436c18d7204ac755cd36bc28cd612
Reviewed-on: https://go-rev...

fcecf3e1fa318d4c3e8f2142d17bb2e481e94f9d authored almost 2 years ago by ianwoolf <[email protected]>
cmd/go: enable -x in go mod tidy

Updates #35849

Change-Id: I8b40a2de6a05880a9f939349a714b631888f5f94
Reviewed-on: https://go-rev...

86bbcc6a7503e96ea55d5c685141c7d109b07cde authored almost 2 years ago by ianwoolf <[email protected]>
runtime: retry thread creation on EAGAIN

This copies the logic we use in runtime/cgo, when calling pthread_create,
into runtime proper, w...

14018c8becc385f79f62f9cdf24cab93fe3e0cdc authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: teach prove about signed domain relations of constant integer Phi's

Implement extracting signed domain relations for OpPhi's composed entirely of integer constants....

d96eb826cb7cd4fe36745e3b1a79e0a2571acc4a authored almost 2 years ago by Jakub Ciolek <[email protected]>
cmd/go: allow -mod=vendor to be set outside of a module

It will behave as if teh command-line-arguments module was vendored,
with zero dependencies, muc...

f57ebed35132d02e5cf016f324853217fb545e91 authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/dist: define GOPPC64_{cpu} for PPC64 targets

This can be used to provide better instruction selection for assembly
implementations without ha...

e87e7997677b66b4afd2d4f23d35f561127dac02 authored almost 2 years ago by Paul E. Murphy <[email protected]>
os/signal/internal/pty: use libc (not cgo) on macOS

This package is only used by tests anyway, but might as well
remove the cgo use on macOS so that...

059c3ed09fb7f9feb479b71dc967219741ac7c06 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/go/internal/load: remove a special case for "unsafe"

We had a special case to zero out the Target field for package
"unsafe", which is not imported f...

1e11eaa902083e2b39234d264c046f1e31a3ec03 authored almost 2 years ago by Bryan C. Mills <[email protected]>
runtime: consolidate some low-level error reporting

Use a single writeErrStr function. Avoid using global variables.
Use a single version of some er...

79d9b395adf90f186617ee37800a18af0a7095ef authored almost 2 years ago by Ian Lance Taylor <[email protected]>
net: unify TCP keepalive behavior

CL 107196 introduced a default TCP keepalive interval for Dialer and TCPListener (used by both L...

fbf763fd1d6be3c162ea5ff3c8843171ef937c3a authored almost 2 years ago by database64128 <[email protected]>
net/http: build error chains in transport that can be unwrapped

In some places of the HTTP transport errors were constructed that
wrapped other errors without p...

531ba0c8aae9efe25e33bf0bfa40f4941d8c5ab8 authored almost 2 years ago by Marcus Weiner <[email protected]>
crypto/internal/edwards25519: replace scalar field with fiat-crypto

This was the last piece of ref10 code, including the infamous "Christmas
tree" in scMulAdd, that...

eca7754148613dfbf542bbfac5392b5f0d85ea6a authored almost 2 years ago by Filippo Valsorda <[email protected]>
internal/reflectlite: use unsafe.String in name.name and name.tag

Same as CL 448675 did in package reflect.

Change-Id: I26277d8dcf2d2e204724d6fa5cc6e1ad391633f5
...

3fc8ed2543091693eca514b363fcdbbe5c7f2916 authored almost 2 years ago by Tobias Klauser <[email protected]>
os: document that WriteFile is not atomic

Fixes #56173

Change-Id: I03a3ad769c99c0bdb78b1d757173d630879fd4dd
GitHub-Last-Rev: e3e31fa0b95a...

1309f0c51d730c87337a167acb70c86da4bb04be authored almost 2 years ago by Richard Tweed <[email protected]>
net: add support for /etc/hosts aliases using go resolver

It adds support for /etc/hosts aliases and fixes the difference between the glibc cgo and the go...

d931b3b771ebd9cc0f77d3a002ff6cfb9f4d9c8b authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
net/http: add ResponseController and per-handler timeouts

The ResponseController type provides a discoverable interface
to optional methods implemented by...

fd0c0db4a411eae0483d1cb141e801af401e43d3 authored almost 2 years ago by Damien Neil <[email protected]>
net/http: add tests for Server.ReadTimeout and server.WriteTimeout

We don't seem to have tests verifying that handler reads from the
request body or writes to the ...

94b03081f43996aa778829596adb7f43d8644308 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/internal/obj: adjust (*Link).AllPos comment in inl.go

AllPos truncates and overwrites its slice-storage input instead
of appending. This makes that c...

2cea6cdb6016708e89c9472cdb0504731699681d authored almost 2 years ago by David Chase <[email protected]>
runtime: make Malloc benchmarks actually benchmark malloc

The compiler is too clever so the allocations are currently
avoided. Rewrite to make them actual...

7717ac151ae1556541dddc6a817ac04733f1af44 authored almost 2 years ago by Cherry Mui <[email protected]>
go/build: omit PkgObj for packages "unsafe" and "builtin"

Package "builtin" is not a real, importable package; it exists only
for documentation. Package "...

05cc8b5369b4c3571f0fb2aeed67f9229301b382 authored almost 2 years ago by Bryan C. Mills <[email protected]>
go/build: in TestImportDirTarget, only expect an install target when cgo is enabled

As of CL 448803, packages in GOROOT only have install targets when
they have cgo source files. W...

b820fb8df11e5ab4068b4ed9522a96bf52cf8b4d authored almost 2 years ago by Bryan C. Mills <[email protected]>