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
When invoking check.binary for assignment operation, the expression will
be nil, thus for printi...
Fixes #47150.
Change-Id: I7531ca5917d4e52ca0b9211d6f2114495b19ba09
Reviewed-on: https://go-revi...
Change-Id: I2fca7a801c85ed93c002c23bfcb0cf9593f1bdf4
Reviewed-on: https://go-review.googlesource...
The "" stand-in for the current package needs to be substituted
in more places when importing, b...
This makes it easier to run tests on existing generic code that is
not using the `.go2` ending c...
This is the port of CL 356809 for Value.Pointer to fix the mismatch of
methodValueCall code poin...
CL 350691 added Value.UnsafePointer and make Value.Pointer call it
internally. It has a downside...
GOWORK will be set to the go.work file's path, if in workspace mode
or will be empty otherwise.
...
Add support for replace directives in the go.work file. If there are
conflicting replaces in go....
errors.Is internally unwraps the error until the error matches the
target. Because of this, a us...
This change adds support for the reg ABI to the Index and Count
functions for ppc64/ppc64le.
Mo...
github.com/hack-pad/go - 6c3cd5d2eb7149c9c1ced7d70c3f4157f27c1588 authored over 3 years ago
uint64 is guaranteed by the compiler to be aligned on 64-bit archs.
By using uint64+uint32 inste...
This change also does some refactors around how
we prevent many (*F) methods from being called
i...
crypto/tls briefly used GODEBUG. That usage was removed in CL 191999.
Change-Id: I759b6f1b02db8...
github.com/hack-pad/go - 404f84d417ceed0f47e51d2c4f933a6dee96dca5 authored over 3 years agoThis is a clean port of CL 356533 from go/types to types2.
Fixes #49043.
Change-Id: If389b94ec...
github.com/hack-pad/go - 99fad12e4788fdf67e49dadd16571238f935b408 authored over 3 years agoThis is a clean port of CL 356490 from go/types to types2.
Fixes #48703.
Fixes #48974.
Change-...
github.com/hack-pad/go - a73c6cf762560b458eb938e4461cd8debc479fd9 authored over 3 years ago
This is an essentially clean port of CL 356489 from go/types to types2,
with minor adjustments d...
This CL addresses the 2nd part of the issue below.
- For types2, now use the same error message...
github.com/hack-pad/go - 254c497e5c5628be115b966808d6e76d335313a3 authored over 3 years ago
CL 322350 changed how to take address of assembly functions, using
abi.FuncPCABI0 intrinsic. But...
In CL 354670, I copied some existing rules for convenience but forgot
to update the last rule wh...
Fixes #48709
Change-Id: Ia6376a2f792946498d6565a53605b3e6c985ea7c
Reviewed-on: https://go-revie...
(Temporarily, until they can be fixed.)
For #49046
For #49047
Change-Id: Ib580a5e45a0955aabdfc...
github.com/hack-pad/go - 6294207a1c79e318124850155c7b6c23997c8c13 authored over 3 years ago
On riscv64, the JAL instruction is only capable of reaching +/-1MB. In the case where
a single f...
This reverts CL 354670.
Reason for revert: broke make.bash with GOAMD64=v3.
Fixes #49061.
Cha...
github.com/hack-pad/go - b0351bfd7d5f0d367c27aa07789b2e6317442ece authored over 3 years agoFixes #37595
Change-Id: I83e5f6105748a0a9238322a4f7ec4b0bbf61a263
Reviewed-on: https://go-revie...
ticks might be same after tick division, although the real cputicks
is linear growth
Fixes #467...
github.com/hack-pad/go - ee92daae25029882979eb694bd7246491e364d3c authored over 3 years ago
The branch test only takes a few seconds so enable it in short mode. Also fix a
typo that curren...
Even after type-checking the RHS of a type declaration, we may not yet
be able to expand, if the...
Rather than using Checker.later in newNamed, add a Checker.defTypes
field to track named types t...
Add constraint type inference for type instances, to be consistent with
inference of function va...
The URLs for RFC 3986 have been changed from:
http://tools.ietf.org/html/rfc3986
to:
https:/...
When (*bufio.Writer).ReadFrom is called with a partially filled buffer,
fill out and flush the b...
It was noticed through some other investigation that BitLen32
was not generating the best code a...
This change removes the js.Wrapper interface for performance reasons.
See proposal #44006 for de...
This changes Go, to remove this unused field on the `Tree` struct. Which seems to replaced by th...
github.com/hack-pad/go - 267abbe3ba9dda96a8694e8aad8892e3ba2be60e authored over 3 years agoFixes #49027
Change-Id: I4520b5c754027bfffbc5cd92c9c27002b248c99a
Reviewed-on: https://go-revie...
Allowing eliminates a class of possible misuse of unsafe.Pointer, and
allow callers to migrate f...
Updates #40592
Change-Id: I16252dd57aceb5c49ddc11d8c12c601ca87ca902
Reviewed-on: https://go-rev...
The doc mentions that "UnsafeAddr returns a _pointer_ to v's data", but
it returns a uintptr ins...
Fixes test breakage caused by CL 355691.
Change-Id: I85fcb1491dc39c45342f4cae91fdfda6aedecd1a
R...
encoding/binary benchmark on my laptop:
name old time/op new time/op ...
The compiler refuses to do spectre mitigation on 386, but the
assembler doesn't. Fix that.
Fixe...
github.com/hack-pad/go - c091767d87b7a6ef6016286bc0fae8add59b92de authored over 3 years ago
After CL 349012 and CL 350911, we can fully handle these
labeled statements, so we can allow the...
This CL avoids a useless follow-on error (that gets reported before the
actual error due to sour...
The respective issue was fixed in types2 with CL 356189;
and the problem didn't exist in go/type...
Add more info and guides to the README
github.com/hack-pad/hackpadfs - dbf2b5b4d05d760132fca33f93c132cdc5f75fb7 authored over 3 years ago
* Remove linter build tags constraint, fix errcheck
* Upgrade linters to latest
* Run linters wi...
Make sure that an embedded field like "MyStruct[T]" works and can be
referenced via the name MyS...
The list of environments to support with wasm_exec.js was becoming too
large to maintain. With t...
Simple cleanup: convert a bunch of if's to a switch statement in
getInstInfo. Also, use a few ex...
SetImplicit() has an explicit meaning and really shouldn't be used in
this way - its use is left...
Both netpollblock and netpollunblock read gpp using a non-atomic load.
When consuming a ready ev...
Fixes #37475
For #39301
Change-Id: I765bc667004931ff8973b947f2e95624a4a0375d
Reviewed-on: https...
The go command no longer reports an error when invoked in a repository
nested inside another. Th...
Fixes #49003
Change-Id: If09c6f028dce5440b1be238612653ffdd626113a
Reviewed-on: https://go-revie...
This pulls in some code and tests from CL 353355.
This change makes some refactors for when we ...
github.com/hack-pad/go - cfe6763783615233ec7ae863784b898718d14c40 authored over 3 years ago
This CL fixes the subtle issue that Elem can promote a
not-in-heap pointer, which could be any b...
Add a simple mechanism to provide formatted descriptions for
delayed actions. The comment string...
Modify the phase for creating needed function/method instantiations and
modifying functions to u...
This fixes a test failure on the 386-longtest builder.
For #37475
Change-Id: Icd1d3474968fcf85...
github.com/hack-pad/go - fad4a16fd43f6a72b6917eff656be27522809074 authored over 3 years agoMissed one review comment in CL 356049
Change-Id: I05be585d15e77afc1aa57b737cdc8ba7204bab98
Rev...
Update #48294
Update #47694
Change-Id: I4d4c01be74a9736d89a4ec92318ce29ff7289a0d
Reviewed-on: h...
Same for Value.
Add a bigger test. Include some shouldPanic checks.
Fix a bug in assignment co...
github.com/hack-pad/go - 8dab959a8e3c631e3166eb08ba450bfdbbf56e03 authored over 3 years agoFixes a test failure in cmd/go TestScript/mod_outside.
make.bash (cmd/dist) builds everything w...
github.com/hack-pad/go - 3da0ff8e3b05333c378efe17585609598692791e authored over 3 years agoFixes #48230
Change-Id: Ic6490e065e7e79793faa0d0201dc94f5fcea694a
Reviewed-on: https://go-revie...
This CL fixes the debug/buildinfo test, which did not expect build settings.
For #37475
Change...
github.com/hack-pad/go - 9e8ed86813dd49c4160dd4813901e2ac03de5abd authored over 3 years agoFixes #48120
Change-Id: I72e89af8aaf3310e348d8ab639925ce0bf84204d
Reviewed-on: https://go-revie...
string(int) conversions are somewhat special and deserve an entry.
Change-Id: Ia68d047cfdb2f98e...
github.com/hack-pad/go - 0400d536e4f349c8f30777c975af78b6a19e73b4 authored over 3 years agoThis flag is not used anymore.
Change-Id: Id083ffa4f0a3051d3f1905a211db8acaaf525cf4
Reviewed-on...
Test functions with type parameters cannot be invoked without type
arguments, so cmd/go would pr...
Toolchain flags (like -gcflags), build tags (including race and msan),
and cgo variables (includ...
When the go command builds a binary, it will now stamp the current
revision from the local Git o...
The same code was copied into debug/buildinfo. 'go version' doesn't
need its own copy.
For #374...
github.com/hack-pad/go - a8c5a994d62cc920c134426f7eae892b013ee32d authored over 3 years ago
BuildInfo now includes the version of Go used to build a binary, as
reported by runtime.Version(...
These functions provide access to module information stamped into Go
binaries. In the future, th...
Previously, modload.PackageBuildInfo returned a string containing
information about modules used...
These tests are inherently nondeterministic: They exercise a racy
code path for up to one millio...
This is a clean port of CL 355732 from types2 to go/types.
Fixes #48951.
Change-Id: I9f8cc0655...
github.com/hack-pad/go - fbdf83072c413943ccbd3b556654276126117463 authored over 3 years ago
The algorithm for detecting invalid recursive types that
expand indefinitely suffered from the e...
Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...
Fixes #46258
Change-Id: I63f70e67274a9df39c757243b99b12e50a9e4784
Reviewed-on: https://go-revie...
To allow adding fields to ProcSysAttr which are supported on FreeBSD but
not on other BSDs.
For...
github.com/hack-pad/go - 1349c6eb1e3faf8b83db9a1ea30764d56b40c7dc authored over 3 years ago
Before the 1.12 release the use of linkname did not prevent a compiler
error for an empty functi...
The respective issue has been accepted, so we can always
accept constraint literals with omitted...
On riscv5, apparently extra wrappers (trampolines) are created for some
functions with the suffi...
This reduces the number of branches to bounds check non-empty slices
from 5 to 3. It does also i...
Allow the user to construct slices that are larger than the Go heap as
long as they don't overfl...
This change allows httputil.ReverseProxy to detect SSE (server-sent events)
content when the res...
This test seems only to be testing that Dial does not time out
immediately as a result of intege...
darwin already supports syscall.Sendfile.
Change-Id: Id3db06591ffad0550b4173bacddeb0acfe355f9e
...
If sep does not appear in s, we return nil here
rather than the empty string. Presumably the doc...
Fixes #48848
Change-Id: If85fc16ed10a26eca840ed128ab47c5f00776ddd
Reviewed-on: https://go-revie...
When a process is forcefully killed (for example, with SIGKILL on unix), its ProccessState.Exite...
github.com/hack-pad/go - 53260943eac49dde51e0ce28e50e9b4bc90661b8 authored over 3 years agoPull in the latest published version of github.com/google/pprof
This adds the tagroot and tagle...
github.com/hack-pad/go - b8e4df01dd1aa61b3de978e4874c81b0d23349d5 authored over 3 years agoWhen build with "-linkshared", we can't tell if the interface method will be used or not. It can...
github.com/hack-pad/go - f687831e4cfa06d19533d47ae93c0451bd1ca688 authored over 3 years ago
Change-Id: I4e50e469047ac7efbf4ed464e238000dbdf53d6b
GitHub-Last-Rev: 8d29b73d1160b4498a38aa3ef6...
Corrections were only made to comments and can be reproduced with the
following sed.
sed -i 's/...
github.com/hack-pad/go - e8f99da8ed6180732ace00f8fc6b17f636515bc4 authored over 3 years agoGo back to allowing spaces in types.(*Type).LinkSring().
Delve folks prefer that there are spac...
github.com/hack-pad/go - 4fb2e1cb86a1f15a69ebf97a80503e865287642c authored over 3 years ago
Changing type parameter names is not a breaking API change, so we should
not include these names...
We can rewrite ANDQ with an immediate fitting in 32bit with an ANDL, which is shorter to encode....
github.com/hack-pad/go - 732f6fa9d552c643b6225dd56689eb653ad61473 authored over 3 years ago