Ecosyste.ms: OpenCollective

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

Hackpad

We strive for making code editing in the browser a powerful, streamlined experience.
Collective - Host: opensource - https://opencollective.com/hackpad - Website: https://hackpad.org - Code: https://github.com/hack-pad

[dev.unified] cmd/compile/internal/walk: fix typo in debug print

We want to print `init` here. We called `ir.TakeInit(r)` earlier, so
`r.Init()` always evaluates...

github.com/hack-pad/go - e3cdc981c802350780a3eec109980acf28fc8746 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: fix prove pass when upper condition is <= maxint

When the terminating condition is <= X, we need to make sure that
X+step doesn't overflow.

Fixe...

github.com/hack-pad/go - 31b8c23c5702f129aca9241bbb2132c90b1929cc authored over 2 years ago by Keith Randall <[email protected]>
spec: retitle section on "Assignments" to "Assignment statements"

This permits a clear distinction between an individual assignment
and an assignment statement wh...

github.com/hack-pad/go - 17083a2fdf4475c3f11a3e6a0ef8cb595a5fc4d6 authored over 2 years ago by Robert Griesemer <[email protected]>
test: add regress test for #53619

Works with cmd/compile, but fails with gccgo currently.

Updates #53619.

Change-Id: I787faa9584...

github.com/hack-pad/go - 4d95fe6653b531b549b68f83c85d5a66468a44cf authored over 2 years ago by Matthew Dempsky <[email protected]>
debug/pe: add IMAGE_FILE_MACHINE_LOONGARCH{64,32}

Related: https://github.com/MicrosoftDocs/win32/pull/1067

Change-Id: I946253f217a5c616ae4a19be4...

github.com/hack-pad/go - 6a7c64fde5407e83f12475b9a0a1e6315d246ba8 authored over 2 years ago by Guoqi Chen <[email protected]>
net/http: preserve nil values in Header.Clone

ReverseProxy makes a distinction between nil and zero-length header values.
Avoid losing nil-nes...

github.com/hack-pad/go - b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a authored over 2 years ago by Damien Neil <[email protected]>
cmd/internal/obj/arm64: save LR and SP in one instruction for small frames

When we create a thread with signals blocked. But glibc's
pthread_sigmask doesn't really allow u...

github.com/hack-pad/go - 64ef16e77795957d47e3889bca9483d6f3099bbf authored over 2 years ago by Cherry Mui <[email protected]>
go/token: use atomics not Mutex for last file cache

Previously, FileSet would cache the last *File found by a lookup,
using a full (exclusive) mutex...

github.com/hack-pad/go - 0750107074c39f7b846515de47c2857cbdb7e3d6 authored over 2 years ago by Alan Donovan <[email protected]>
net/http: don't strip whitespace from Transfer-Encoding headers

Do not accept "Transfer-Encoding: \rchunked" as a valid TE header
setting chunked encoding.

Tha...

github.com/hack-pad/go - e5017a93fcde94f09836200bca55324af037ee5f authored over 2 years ago by Damien Neil <[email protected]>
runtime: add race annotations to cbs.lock

cbs.lock protects a map. The map implementation is race instrumented
regardless of which package...

github.com/hack-pad/go - 20760cff001e9acc05627dfeab42ea50b57920e6 authored over 2 years ago by Michael Pratt <[email protected]>
[dev.unified] test: add regress test for generic select statements

The Go 1.18 frontend ICEs on select case clauses that involve an
implicit conversion.

Change-Id...

github.com/hack-pad/go - 2280d897d6e936b47565504227355ad9a509c916 authored over 2 years ago by Matthew Dempsky <[email protected]>
crypto/x509/pkix: move crl deprecation message

There was a deprecation message on RevokedCertificate which was
intended to be on CertificateLis...

github.com/hack-pad/go - e6c0546c54f6f3fa7c6cb5002ecc839bc89d5d20 authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/internal/obj/mips,s390x,riscv: save LR after decrementing SP

Following CL 412474, for the rest of the LR architectures. On
MIPS(32/64), S390X, and RISCV, the...

github.com/hack-pad/go - 3562977b6fe944b2c3da0455bdd6e9294c47c931 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: add race annotations to metricsSema

metricsSema protects the metrics map. The map implementation is race
instrumented regardless of ...

github.com/hack-pad/go - d6481d5b9662b29453004204746945a93a6b4eb2 authored over 2 years ago by Michael Pratt <[email protected]>
crypto/x509: improve RevocationList documentation

Adds documentation for a handful of RevocationList fields.

Updates #50674

Change-Id: I26b83855...

github.com/hack-pad/go - bd1783e812bf10f5829b742135ef886623cccc5c authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/internal/obj/arm64: fix BITCON constant printing error

For some 32-bit instructions whose first operand is a constant, we
copy the lower 32 bits of the...

github.com/hack-pad/go - 160414ca6a30a210b82fb09abbd3541802a51017 authored over 2 years ago by eric fang <[email protected]>
cmd/go: pass --no-decorate when listing git tags for a commit

This avoids a parse error when the user's global .gitconfig sets
log.decorate to true.

Fixes #5...

github.com/hack-pad/go - a30f4346674ec43bf576e6f56a9cd1c7ca482e1f authored over 2 years ago by hidu <[email protected]>
os/exec: on Windows, suppress ErrDot if the implicit path matches the explicit one

If the current directory is also listed explicitly in %PATH%,
this changes the behavior of LookP...

github.com/hack-pad/go - 3580ef9d64bdc0176cde032d170737a6e67ef8f2 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: fix generic inter-inter comparisons from value switch statements

If value is a non-empty interface and has shape, we still need to
convert it to an interface{} f...

github.com/hack-pad/go - 34f3ac5f165d50356d3a8940dc87b77e9b2b7fb9 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/go/internal/modfetch: cache latest revinfo in Versions func

The responses have been cached by the web2 package before removed
it in CL 170879. This change a...

github.com/hack-pad/go - 7df0a002e64e92f35db5a70e64345651ad2cbf97 authored over 2 years ago by Baokun Lee <[email protected]>
test: add more tests for const decls with ommitted RHS expressions

Add analogous tests to go/types and types2 test suites.
Make sure "assert" built-in is available...

github.com/hack-pad/go - d5bf9604aa597d23085435701f5f8d1584596dbd authored over 2 years ago by Robert Griesemer <[email protected]>
test: add test that gofrontend failed to compile

For #51475

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

github.com/hack-pad/go - 533082d1a08fd2c3b0c7ee43f3cf5c29f4e12d84 authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime: clean up unused function gosave on loong64

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

github.com/hack-pad/go - 47e792e22eb0dd85c0197e32c2791f252be7244d authored over 2 years ago by Guoqi Chen <[email protected]>
cmd/go: omit build metadata that may contain system paths when -trimpath is set

CGO flag variables often include system paths for header files and
compiled libraries. The point...

github.com/hack-pad/go - a6e5be0d30770e8bd1ba1e4bac2089218df121d9 authored over 2 years ago by Bryan C. Mills <[email protected]>
api: correct debug/pe issue number for Go 1.19 changes

It was #51868 not #51686.

For #53310.

Change-Id: I2cf28ca4de65e7030fdbd05e7f32fe42c8f3ca0a
Rev...

github.com/hack-pad/go - d3ffff2790059226ae3aa90856d687e138701b5c authored over 2 years ago by Russ Cox <[email protected]>
cmd/go/internal/modload: fix doc comment

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

github.com/hack-pad/go - 751cae8855f34116b0596d15cd499bb07b4e6747 authored over 2 years ago by Russ Cox <[email protected]>
go/printer: report allocs and set bytes

We now get more than just time/op.

name time/op
Print-16 6.29ms ± 3%

name spee...

github.com/hack-pad/go - 85d7bab91d9a3ed1f76842e4328973ea75efef54 authored over 2 years ago by Daniel Martí <[email protected]>
[dev.unified] cmd/compile: drop package height from Unified IR importer

CL 410342 removed package height, but still needs to keep writing out 0
for iexport for compatib...

github.com/hack-pad/go - 4b78ece3d7cc34ae7a5175177159599d381400c4 authored over 2 years ago by Cuong Manh Le <[email protected]>
[dev.unified] cmd/compile/internal/types2: remove package height

Same as CL 410342, but for types2.

Updates #51734

Change-Id: I6d6cb8fbb7567d3acf0b8cec0fa74f13...

github.com/hack-pad/go - 398d46d538e70852c6e8c50dc4fb9e1ef3c3a97c authored over 2 years ago by Cuong Manh Le <[email protected]>
net: really skip Windows PTR tests if we say we are skipping them

For #38111

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

github.com/hack-pad/go - 3af5280c003038e5fea1a84e7e57e85e96e131a3 authored over 2 years ago by Ian Lance Taylor <[email protected]>
net: avoid darwin/arm64 platform bug in TestCloseWrite

On darwin_arm64, reading from a socket at the same time as the other
end is closing it will occa...

github.com/hack-pad/go - a42573c2f1d6a806439ec0cf65ace0508a37747f authored over 2 years ago by Bryan C. Mills <[email protected]>
html/template: fix typo in content_test.go

esacped -> escaped

Change-Id: I253c46b30bb1cf7cdfb4668628907d16428fefb9
GitHub-Last-Rev: accd0e...

github.com/hack-pad/go - 68289f39f0019ff5c03e047d68e5b7f6a9f9e9e2 authored over 2 years ago by SemihBKGR <[email protected]>
cmd/link: link against libsynchronization.a for -race on windows

As of LLVM rev 41cb504b7c4b18ac15830107431a0c1eec73a6b2, the
race detector runtime now refers to...

github.com/hack-pad/go - c3bea70d9b3b80ceb7733cd7bde0cdf0a1bfd0d0 authored over 2 years ago by Than McIntosh <[email protected]>
test: add test that caused gofrontend crash

For #52871

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

github.com/hack-pad/go - f093cf90bff4bfc4e0a304283eef0d2445d67538 authored over 2 years ago by Ian Lance Taylor <[email protected]>
test: add test that caused gofrontend crash

The gofrontend crashed importing a complex 0 constant.

For #52862

Change-Id: Ia87d8eadb9c5ddf5...

github.com/hack-pad/go - 155612a9b981eb32b2312659409fc46bac535c90 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: compile runtime/internal/syscall as a runtime package

runtime/internal/syscall is a runtime package, so it should be built
with -+.

Specifically, we ...

github.com/hack-pad/go - a861eee51ad897807df7968b32c823dbad37276e authored over 2 years ago by Michael Pratt <[email protected]>
crypto/internal/boring: factor Cache into crypto/internal/boring/bcache

Requested by the maintainers of the OpenSSL-based fork of Go+BoringCrypto,
to make maintaining t...

github.com/hack-pad/go - 8f9bfa9b7b7739324e73b4f19280caa2011e6ae8 authored over 2 years ago by Russ Cox <[email protected]>
runtime: avoid fma in mkfastlog2table

This lets us generate identical copies of fastlog2table.go on all hosts.

Tested by regenerating...

github.com/hack-pad/go - 351e0f4083779d8ac91c05afebded42a302a6893 authored over 2 years ago by Ian Lance Taylor <[email protected]>
test: add test that gofrontend gets wrong

For #52856

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

github.com/hack-pad/go - 416c953960a475b7418b5c6aef0f46dd102b9129 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: do branch/label checks only once

The previous change implemented the missing fallthrough checking
in the parser. Therefore we can...

github.com/hack-pad/go - 666d736ecb8afbe1aeb1d15f3958b70af2173510 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: check fallthrough in CheckBranches mode

The parser CheckBranches mode checked correct use of break, continue,
and labels, but not of fal...

github.com/hack-pad/go - 6b309be7ab7c17beb77c6e40b258278e7454d919 authored over 2 years ago by Robert Griesemer <[email protected]>
runtime: mark string comparison hooks as no split

These functions can be inserted by the compiler into the code to be
instrumented. This may resul...

github.com/hack-pad/go - 1821639b57a643f9c3f6d3b3d329d2283d5d7a57 authored over 2 years ago by Khaled Yakdan <[email protected]>
io: clarify SeekEnd offset value

fixes #53474

Change-Id: I14c3dc800dc27233630a54592328bb0df1bbaa5d
GitHub-Last-Rev: 46f93cfbd41c...

github.com/hack-pad/go - 3b594b9255b091b8c3b56fc9592f05ebe71e31b8 authored over 2 years ago by HowJMay <[email protected]>
cmd/go: prepend builtin prolog when checking for preamble errors

Fixes #50710

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

github.com/hack-pad/go - 4f45ec5963a4b72e0c4ddbdfa84f9cb374692eea authored over 2 years ago by qmuntal <[email protected]>
strconv: avoid panic on invalid call to FormatFloat

Calling FormatFloat with an invalid value of fmt is expected
to return a string containing '%' a...

github.com/hack-pad/go - 41e1d9075e428c2fc32d966b3752a3029b620e2c authored over 2 years ago by Rémy Oudompheng <[email protected]>
internal/trace: add Go 1.19 test data

Update instructions to match what seems to be the historical practice:
to generate canned traces...

github.com/hack-pad/go - bd4753905d15035fabbc4dda79573506090fe40b authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/internal/archive: don't rely on an erroneous install target in tests

Non-main packages in module mode should not be installed to
GOPATH/pkg, but due to #37015 they w...

github.com/hack-pad/go - 6b6c64b1cc918633824e7a9165816c81f0c08b21 authored over 2 years ago by Bryan C. Mills <[email protected]>
[dev.unified] all: merge master (5a1c5b8) into dev.unified

Conflicts:

- test/run.go

Textual conflict adding to the known failures list for the nounifie...

github.com/hack-pad/go - e7100adbca33a654101a8fa5779f6d2f675e3675 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go: add per-package indexing for modules outside mod cache

Packages outside the module cache including the standard library will be
indexed individually ra...

github.com/hack-pad/go - 5a1c5b8ae741df2d5c53f328c57a84d85ae6c44a authored over 2 years ago by Michael Matloob <[email protected]>
cmd/go/internal/list: update help info with Deprecated field

Also align Retracted documentation with actual type of []string

Fixes #51876

Change-Id: I3b34e...

github.com/hack-pad/go - b9c4d94fdbe0c9e11a1e604cf321614b90a1d882 authored over 2 years ago by Sean Liao <[email protected]>
go/types, types2: print qualified object names in cycle errors

Fixes #50788.

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

github.com/hack-pad/go - 73475ef0350e84b35a6aa1b593448a9497b62440 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better errors for == when type sets are empty

For #51525.

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

github.com/hack-pad/go - 3e58ef6cc7dfaf2cf3b593e728f7f62391030114 authored over 2 years ago by Robert Griesemer <[email protected]>
doc/go1.19: Linux race detector now requires glibc 2.17

Fixes #53522

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

github.com/hack-pad/go - d38f1d13fa413436d38d86fe86d6a146be44bb84 authored over 2 years ago by Ian Lance Taylor <[email protected]>
[dev.unified] cmd/compile: rename haveRType and implicitExpr

This CL renames:

1. "haveRType" to "hasRType", suggested by drchase@ during review of
CL 413358...

github.com/hack-pad/go - 09a838ad86880150f4e297f7b2dec7c7d116623b authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: implicit conversions for return statements

This CL inserts implicit conversions for simple N:N return
statements. A subsequent CL will hand...

github.com/hack-pad/go - 421e9e9db21363a196f9c5d736749a6754803bff authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: implicit conversions for writer.assignStmt

This CL inserts implicit conversions for simple N:N assignment
statements within Unified IR. A s...

github.com/hack-pad/go - a3fea7796aed2437b222708e73299dc57bd409df authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: refactor stmtAssign generation

Eliminate some code duplication between assignment statements and
variable declarations, so they...

github.com/hack-pad/go - 82a958a661660fed6f126e41884a8c75fb983902 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: implicit conversion of call arguments

Function call arguments need to be implicitly converted to their
respective parameter types. Thi...

github.com/hack-pad/go - 711dacd8cf52d0c06624c4af3563d3b728c50b57 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: remove needType logic

This logic is a holdover from very early on when it wasn't as clear
how we would handle dictiona...

github.com/hack-pad/go - 46b01ec667c05fb8eb8f382b173e126282acd80c authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: implicit conversions for complits

Operands within a composite literal must be implicitly converted to
their respective key/element...

github.com/hack-pad/go - a3e474f86746924022c92f66bfb465f7ad6ea8a5 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: start writing implicit conversions

This CL adds support for implicit conversions to the unified IR export
data format, and starts i...

github.com/hack-pad/go - 5f5422a2ddcfcec8282bc2fde0729083eeeb2926 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/noder: add pkgWriter.typeOf helper

Getting the type of a value expression is already a very common
operation during writing, and it...

github.com/hack-pad/go - 9cb784ac6926a8b91c1a0dce99612e713150b30c authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile/internal/typecheck: replace unreachable code with assert

Since the removal of -G=0 mode, IR is always well-typed. And in
well-typed IR, convlit will alwa...

github.com/hack-pad/go - c70e93ff3d1855b0d0a0508ab83dd751ee65f5b3 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: special case f(g()) calls in Unified IR

For f(g()) calls where g() is multi-valued, we may need to insert
implicit conversions to conver...

github.com/hack-pad/go - 20e1d5ac8cc269c8fc40d08e0b9e14ffe99d19d3 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: plumb rtype through OSWITCH/OCASE clauses

For (value) switch statements, we may generate OEQ comparisons between
values of interface and c...

github.com/hack-pad/go - 61ae2b734cdbc0db342036a2a026fe1fccdccde3 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: plumb rtype through for OMAPLIT

OMAPLIT gets lowered into a bunch of OINDEXMAP operations, which in
general may require a *runti...

github.com/hack-pad/go - 3d432b6c4b86a5fcd1ccce0f914193b8e0e9e79e authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: start setting RType fields for Unified IR

This CL switches the GOEXPERIMENT=unified frontend to set RType fields
in the simpler cases, and...

github.com/hack-pad/go - 7368647ac6eecd57a476616ff1f3ac1aa7f445b6 authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: add RType fields

This CL adds RType/ITab fields to IR nodes that (may) ultimately
become runtime calls that requi...

github.com/hack-pad/go - 5960f4ec10e175714145d5ffa1b37d282b7a2157 authored over 2 years ago by Matthew Dempsky <[email protected]>
debug/dwarf: handle malformed line table with bad program offset

Touch up the line table reader to ensure that it can detect and reject
an invalid program offset...

github.com/hack-pad/go - de5329f1de4cd4a938323012910310e548b2d936 authored over 2 years ago by Than McIntosh <[email protected]>
embed: document additional file name restrictions

For #44486

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

github.com/hack-pad/go - 15605ca827723d568f780402d03b29842fd20eec authored over 2 years ago by tulip <[email protected]>
test: add test that causes gofrontend crash

For #52846

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

github.com/hack-pad/go - 2e773a3894fba7af744090d7d42968f4993018e2 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: don't use dictionary convert to shaped empty interface

Fixes: #53254

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

github.com/hack-pad/go - ff17b7d0d42af12ca1ad766a135d9951029027ea authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/go: make module .zip files group/world readable

os.CreateTemp in downloadZip leaves downloaded .zip files readable only
by the owner. Make them ...

github.com/hack-pad/go - 2a3b467d5f8de04a3493b7ab8cd886e109bd9283 authored over 2 years ago by Dmitri Goutnik <[email protected]>
cmd/go, cmd/link: support failure to create _cgo_import.go

For a package that uses cgo, the file _cgo_import.go is created to
record information required f...

github.com/hack-pad/go - bdab4cf47a47b69caacad6fd7ff6ab27bb22ab1c authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: avoid indexing modules in GOROOT

Scanning GOROOT modules for changes appears to be causing Windows
builders to time out in x/tool...

github.com/hack-pad/go - aca37d16a5a5c1d24e374245f0e5b6404379db96 authored over 2 years ago by Bryan C. Mills <[email protected]>
all: update to current golang.org/x/sys revision

go get -d golang.org/x/sys@6c1b26c55098eae66ce95ab7c3712ab6cbfff2b7
go mod tidy
go mod vendor

T...

github.com/hack-pad/go - 111cdb58487f1a3d2bd82be14a90837f31a3e320 authored over 2 years ago by Guoqi Chen <[email protected]>
cmd/compile: fix assert condition in generic method call

Fixes #53406.

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

github.com/hack-pad/go - 4045b1bc3f97a47274ef1da2bf6d29f5ce1c7b88 authored over 2 years ago by Wayne Zuo <[email protected]>
compress/gzip: always close bodyReader in Example_compressingReader

For #53362
Fixes #53414

Change-Id: I352164e70c136eed210c7ee4ceba5dc631f81f94
Reviewed-on: https...

github.com/hack-pad/go - 6bad7e82430bb1eb927a2901f44f9664637db27d authored over 2 years ago by Ian Lance Taylor <[email protected]>
encoding/xml: check nil pointer in DecodeElement

Fixes #53350

Change-Id: Id5e1f4016db5f1d4349ee1a76a9dfe3aeae83cee
GitHub-Last-Rev: 45add121612a...

github.com/hack-pad/go - 606c6c371ad3d089d59d15393f7c49b063fc0eca authored over 2 years ago by shaoliming <[email protected]>
cmd/cgo: dont override declared struct type

Fixes #52611

Change-Id: I835df8d6a98a37482446ec00af768c96fd8ee4fe
GitHub-Last-Rev: ea54dd69eef9...

github.com/hack-pad/go - f5715181392c68d928c3152f8cf90fa9d4ee9e4e authored over 2 years ago by kkHAIKE <[email protected]>
net: don't set netGo = true on Windows with no cgo

Windows can call the C DNS lookup routines even without cgo,
so don't force it to use the Go rou...

github.com/hack-pad/go - 92c9b81447649d5a8ed38ca79b71640c099e0243 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/trace: add basic documentation to main page

This change adds rudimentary explanation of the various
visualizations to main page of the trace...

github.com/hack-pad/go - be0b2a393a5a7297a3c8f42ca7d5ad3e4b15dcbe authored over 2 years ago by Alan Donovan <[email protected]>
go/types, types2: fix parameter order dependence in type inference

If we have more than two function arguments to a generic function,
we may have arguments with na...

github.com/hack-pad/go - b004c739b525d354ea62f5caadd962de4569d96e authored over 2 years ago by Robert Griesemer <[email protected]>
[dev.unified] cmd/compile: avoid reflectType in ssagen

This CL adds alternate code paths for the frontend to plumb through
rtypes to package ssagen, so...

github.com/hack-pad/go - 5e0258c700cba33db1a41806ff328a9c3f42d4da authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: extract rtype code from walk

This CL removes (almost*) all reflectdata.{TypePtr,ITabAddr} calls
from package walk. This will ...

github.com/hack-pad/go - 93833cd5d8c8b35cd94f743c73cd18712531de4b authored over 2 years ago by Matthew Dempsky <[email protected]>
[dev.unified] cmd/compile: refactor reflectdata.{TypePtr,ITabAddr}

Minor refactoring to decouple from base.Pos and deduplicate some
common code paths.

Passes tool...

github.com/hack-pad/go - f70775ff22f4658d6ee65d9ec314687cffe57a84 authored over 2 years ago by Matthew Dempsky <[email protected]>
spec: document operations which accept []byte|string constrained types

Pre-1.18, as special cases, the built-in operations append and copy
accepted strings as second a...

github.com/hack-pad/go - f2c7e78592973436a55cdfc4bca2fc3bce526cad authored over 2 years ago by Robert Griesemer <[email protected]>
runtime/trace: ignore fallback stacks in test

When runtime.sigprof encounters a stack that gentraceback is unable to
process, it synthesizes a...

github.com/hack-pad/go - ab422f2749bc21514cb22d444bae460f5fa22376 authored over 2 years ago by Rhys Hiltner <[email protected]>
doc/go1.19: use correct link to sync/atomic docs

For #51400
Fixes #53453

Change-Id: Ie11182a16299cf26d03970d6aa9bfe03caa56ea4
Reviewed-on: https...

github.com/hack-pad/go - 66685fb7dd72531aed6f1b3f4de43799bb26c052 authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime: convert flaky semaphore linearity test into benchmark

Also, add a benchmark for another case that was originally tested.

Also also, remove all the de...

github.com/hack-pad/go - 4b236b45d0bb659a447dcfc02ebd431587b52e2b authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
[dev.unified] cmd/compile/internal/walk: minor prep refactoring

Two small refactorings that will make it easier to thread through
RType parameters later. Behavi...

github.com/hack-pad/go - fc5dad6646b165d0de75bf94956b18e22d00fa0a authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go/internal/modindex: avoid walking modules when not needed

Due to a missed condition in CL 412394, we were walking all modules
(instead of just the ones co...

github.com/hack-pad/go - 530511bacccdea0bb8a0fec644887c2613535c50 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: allow 128-bit values to be spilled

We sometimes use 16-byte load+store to move values around in memory.
In rare circumstances, the ...

github.com/hack-pad/go - c2d373d5d1802d7479f3c81dcf01d41bef3646dd authored over 2 years ago by Keith Randall <[email protected]>
test: add regress test for #53477

This test already passes for GOEXPERIMENT=unified; add regress test to
ensure it stays that way....

github.com/hack-pad/go - 19ed442807499080cf9c31ac883d4195db5415c9 authored over 2 years ago by Matthew Dempsky <[email protected]>
doc/go1.19: fix HTML validation issues

Avoid duplicating tag ID runtime and remove a superflous </dd> tag.

Found by https://validator....

github.com/hack-pad/go - 3fcbfb07a82c5332e6b50cddba333af6e6e3e488 authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: skip substituting closures in unsafe builtins arguments

For unsafe.{Alignof,Offsetof,Sizeof}, subster will transform them them
to OLITERAL nodes, and di...

github.com/hack-pad/go - 527ace0ffa81d59698d3a78ac3545de7295ea76b authored over 2 years ago by Cuong Manh Le <[email protected]>
test: add regress test for #53419

This currently works with GOEXPERIMENT=unified. Add a regress test to
make sure it stays that wa...

github.com/hack-pad/go - ec58e3f3271de385cf976a805e611d3da09c3a0e authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/go/internal/modfetch: prevent duplicate hashes in go.sum

To write go.sum, each module and then each hash is looped through. The
hashes are kept in a slic...

github.com/hack-pad/go - 103cc661f1906837d02133e9c65d0475ac49799c authored over 2 years ago by Josh Powers <[email protected]>
sync: add more notes about Cond behavior

Cond is difficult to use correctly (I was just bitten by it in
a production app that I inherited...

github.com/hack-pad/go - d42a48828f3cff4e57cefaf72bc88cef7d355fd6 authored over 2 years ago by Kevin Burke <[email protected]>
cmd/go/internal/work: log clearer detail for subprocess errors in (*Builder).toolID

For #52647.

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

github.com/hack-pad/go - 9e2f2897546c51863bf860c30622fbe9e3359391 authored over 2 years ago by Bryan C. Mills <[email protected]>