repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
8d189f188e225e4919b34c0c097e75dfda255949
a2fbb50322e716f75e9c4707afd2de725a95e14b
testing: add Output Output is a method on T, B and F. It provides an io.Writer that writes to the same test output stream as TB.Log. The new output writer is used to refactor the implementation of Log. It maintains the formatting provided by Log while making call site information optional. Additionally, it provides bu...
[ { "path": "api/next/59928.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg testing, method (*B) Output() io.Writer #59928\n+pkg testing, method (*F) Output() io.Writer #59928\n+pkg testing, method (*T) Output() io.Writer #59928", "additions": 3, "deletions": 0, "language": "Plain Text" }, { "path":...
2025-05-12T19:23:41
denoland/deno
1e65d21071343818ebdf4a3e0e6c42962b89411d
f2299353a0c4e826123f466c44f998ceaf7c288a
fix: show referrer for Wasm module dependency errors (#28653)
[ { "path": "Cargo.lock", "patch": "@@ -2016,9 +2016,9 @@ dependencies = [\n \n [[package]]\n name = \"deno_graph\"\n-version = \"0.89.3\"\n+version = \"0.89.4\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"fdb78d1e8dcf31507d018472ae7d6d8c15cf704b0087b8c866b440aedbceb5ef...
2025-03-28T13:13:39
mrdoob/three.js
9a6c4e82bd547dbe7d29061a23a5f7e28d5abb05
5db0596a1d30cf09f975e028840547ef8f3d7918
manual: fix wrong word(zh) (#26059) Co-authored-by: 柳江南 <oncwnuA5PbQxtTysj5w_BTxJ_rRU@git.weixin.qq.com>
[ { "path": "manual/zh/prerequisites.html", "patch": "@@ -104,7 +104,7 @@ <h3 id=\"-var-const-let-\"><code class=\"notranslate\" translate=\"no\">var</code>已\n 变量会改变的情况下使用<code class=\"notranslate\" translate=\"no\">let</code>。这将会帮助避免大量bug。</p>\n <h3 id=\"-for-elem-of-collection-for-elem-in-collection-\">使用<c...
2023-05-16T06:29:52
golang/go
a2fbb50322e716f75e9c4707afd2de725a95e14b
1e436ba668f5988ca8fbeb68734800b9dcf33dbc
cmd/link: ignore mapping symbols on riscv64 Specified in RISC-V ELF psABI[1], mapping symbols are symbols starting with "$d" or "$x" with STT_NOTYPE, STB_LOCAL and zero sizes, indicating boundaries between code and data in the same section. Let's simply ignore them as they're only markers instead of real symbols. Thi...
[ { "path": "src/cmd/link/internal/loadelf/ldelf.go", "patch": "@@ -602,6 +602,14 @@ func Load(l *loader.Loader, arch *sys.Arch, localSymVersion int, f *bio.Reader,\n \t\t\t\t\t// See https://sourceware.org/bugzilla/show_bug.cgi?id=21809\n \t\t\t\t\tcontinue\n \t\t\t\t}\n+\n+\t\t\t\tif arch.Family == sys.RISC...
2025-05-09T15:09:39
denoland/deno
f2299353a0c4e826123f466c44f998ceaf7c288a
9a13bafa0e14584ef4d6c2cb8f622968e9ca8246
fix(webgpu): move `isFallbackAdapter` from `GPUAdapter` to `GPUAdapterInfo` (#28650) fix #28618 I also fixed `Deno.privateCustomInspect`, which was defined as static methods of the classes and was not working properly.
[ { "path": "cli/tsc/dts/lib.deno_webgpu.d.ts", "patch": "@@ -17,35 +17,39 @@ interface GPUObjectDescriptorBase {\n \n /** @category GPU */\n declare class GPUSupportedLimits {\n- maxTextureDimension1D?: number;\n- maxTextureDimension2D?: number;\n- maxTextureDimension3D?: number;\n- maxTextureArrayLayers...
2025-03-28T10:08:57
mrdoob/three.js
c50260e4289e43517e185136bc66e4d5a31aac03
2813196629b47aadbcc0532d340c59ae5f0dd064
fix page redir (#26033)
[ { "path": "docs/page.js", "patch": "@@ -1,27 +1,22 @@\n if ( ! window.frameElement && window.location.protocol !== 'file:' ) {\n \n-\t// If the page is not yet displayed as an iframe of the index page (navigation panel/working links),\n-\t// redirect to the index page (using the current URL without extensio...
2023-05-13T08:32:54
golang/go
ef58ec2b5a35f7b11a5bc0632cb156c5bcf56632
ac992f2614ee3abef8eb01ed8b7d5b4024cda48f
text/template: clone options when cloning templates Fixes #43022 Change-Id: I727b86ea0ebfff06f82c909457479c2afb9106dc Reviewed-on: https://go-review.googlesource.com/c/go/+/671615 Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI...
[ { "path": "src/text/template/multi_test.go", "patch": "@@ -210,6 +210,7 @@ const (\n \tcloneText2 = `{{define \"b\"}}b{{end}}`\n \tcloneText3 = `{{define \"c\"}}root{{end}}`\n \tcloneText4 = `{{define \"c\"}}clone{{end}}`\n+\tcloneText5 = `{{define \"e\"}}{{.Foo}}{{end}}`\n )\n \n func TestClone(t *testing....
2025-05-10T11:18:32
denoland/deno
9a13bafa0e14584ef4d6c2cb8f622968e9ca8246
512cf558d41d25d829f2e0b94f6bb3a8f1a1500b
fix(ext/node): use primordials in `ext/node/polyfills/_fs/_fs_realpath.ts` (#28652) Towards #24236
[ { "path": "ext/node/polyfills/_fs/_fs_realpath.ts", "patch": "@@ -1,13 +1,13 @@\n // Copyright 2018-2025 the Deno authors. MIT license.\n \n-// TODO(petamoriken): enable prefer-primordials for node polyfills\n-// deno-lint-ignore-file prefer-primordials\n-\n import { promisify } from \"ext:deno_node/interna...
2025-03-28T08:48:19
mrdoob/three.js
2813196629b47aadbcc0532d340c59ae5f0dd064
05201f9b28b0ccbbd0f280b1916638c096da543d
Matrix4: Make `makeTranslation()` accept `Vector3`. (#26044) * make Matrix4.makeTranslation accept Vector3 (fixes #26038) * make Matrix4.makeTranslation accept Vector3 (docs)
[ { "path": "docs/api/en/math/Matrix4.html", "patch": "@@ -396,15 +396,12 @@ <h3>\n 0, 0, 0, 1 </code>\n \t\t</p>\n \n+\t\t<h3>[method:this makeTranslation]( [param:Vector3 v] )</h3>\n \t\t<h3>\n-\t\t\t[method:this makeTranslation]( [param:Float x], [param:Float y], [param:Float z] )\n+\t\t\t[method:this make...
2023-05-13T08:27:27
golang/go
ac992f2614ee3abef8eb01ed8b7d5b4024cda48f
8cfcad8da82a01296cfcdb8c6ab7b0b726534e21
testing: limit TempDir name length Fixes #71742 Change-Id: Ibef8f7f0a36b25f181062c4d2f84279a97e467a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/671577 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael ...
[ { "path": "src/testing/testing.go", "patch": "@@ -1244,6 +1244,11 @@ func (c *common) TempDir() string {\n \tif nonExistent {\n \t\tc.Helper()\n \n+\t\tpattern := c.Name()\n+\t\t// Limit length of file names on disk.\n+\t\t// Invalid runes from slicing are dropped by strings.Map below.\n+\t\tpattern = patte...
2025-05-11T21:36:58
denoland/deno
512cf558d41d25d829f2e0b94f6bb3a8f1a1500b
a1724f5d5a24842da64def7fc0a1d7e963790b70
fix(ext/node): use primordials in `ext/node/polyfills/_fs/_fs_readv.ts` (#28645) Towards #24236
[ { "path": "ext/node/polyfills/_fs/_fs_readv.ts", "patch": "@@ -1,8 +1,5 @@\n // Copyright 2018-2025 the Deno authors. MIT license.\n \n-// TODO(petamoriken): enable prefer-primordials for node polyfills\n-// deno-lint-ignore-file prefer-primordials\n-\n import {\n ERR_INVALID_ARG_TYPE,\n type ErrnoExcep...
2025-03-28T08:47:36
mrdoob/three.js
05201f9b28b0ccbbd0f280b1916638c096da543d
c4befe1e2f54179dcef2ce80592e74729faec9ac
WebGPURenderer: Fix approach to clear() (#26046)
[ { "path": "examples/jsm/renderers/webgpu/WebGPUBackground.js", "patch": "@@ -15,22 +15,14 @@ class WebGPUBackground {\n \t\tthis.boxMesh = null;\n \t\tthis.boxMeshNode = null;\n \n-\t\tthis.forceClear = false;\n-\n-\t}\n-\n-\tclear() {\n-\n-\t\tthis.forceClear = true;\n-\n \t}\n \n \tupdate( scene, renderLi...
2023-05-13T04:31:24
golang/go
8cfcad8da82a01296cfcdb8c6ab7b0b726534e21
18431a1c8f7d19410fcd3fe6638cfe1cd4bd7179
net: don't test with leading 0 in ipv4 addresses Updates #30999 Fixes #73378 Change-Id: I6a96581e78678518473626aa5d108428cfad6619 Reviewed-on: https://go-review.googlesource.com/c/go/+/671795 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccou...
[ { "path": "src/net/external_test.go", "patch": "@@ -90,7 +90,6 @@ var (\n \t\t\"www.google.com:80\",\n \t\t\"%d.%d.%d.%d:http\",\n \t\t\"www.google.com:http\",\n-\t\t\"%03d.%03d.%03d.%03d:0080\",\n \t\t\"[::ffff:%d.%d.%d.%d]:80\",\n \t\t\"[::ffff:%02x%02x:%02x%02x]:80\",\n \t\t\"[0:0:0:0:0000:ffff:%d.%d.%d....
2025-05-11T20:22:47
denoland/deno
66e03a39a39d37e0cd5b43746a8987b585f7474a
f42b39d2cf4ed364e0b2b7aec56dfc73b8ed3e78
fix(ext/websocket): cancel in-flight handshake on close() (#28598) Fixes https://github.com/denoland/deno/issues/25126 --------- Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
[ { "path": "ext/websocket/01_websocket.js", "patch": "@@ -116,6 +116,7 @@ const _binaryType = Symbol(\"[[binaryType]]\");\n const _eventLoop = Symbol(\"[[eventLoop]]\");\n const _sendQueue = Symbol(\"[[sendQueue]]\");\n const _queueSend = Symbol(\"[[queueSend]]\");\n+const _cancelHandle = Symbol(\"[[cancelHa...
2025-03-28T03:43:32
mrdoob/three.js
c4befe1e2f54179dcef2ce80592e74729faec9ac
79cc93ceb85530fc3b16f4e4da6b38d2f658554a
Examples: Fixed webxr_vr_handinput_pointerclick.
[ { "path": "examples/webxr_vr_handinput_pointerclick.html", "patch": "@@ -254,10 +254,9 @@\n \n \t\t\t\t\t\tconst offset = entity.getComponent( OffsetFromCamera );\n \t\t\t\t\t\tconst object = entity.getComponent( Object3D ).object;\n-\t\t\t\t\t\tconst xrCamera = this.renderer.xr.getCamera();\n-\t\t\t\t\t\to...
2023-05-12T08:23:58
golang/go
18431a1c8f7d19410fcd3fe6638cfe1cd4bd7179
41bd52b3fa2ac77e0180f29777309f65fda9fad0
net: fix deadlock in lookupProtocol on Windows If the context expires before acquireThread(ctx) succeeds, then the goroutine can block like: net.lookupProtocol.func1() src/net/lookup_windows.go:58 +0x105 created by net.lookupProtocol in goroutine 2834 src/net/lookup_windows.go:56 +0xda We saw this in our UTs with ...
[ { "path": "src/net/lookup_windows.go", "patch": "@@ -52,7 +52,7 @@ func lookupProtocol(ctx context.Context, name string) (int, error) {\n \t\tproto int\n \t\terr error\n \t}\n-\tch := make(chan result) // unbuffered\n+\tch := make(chan result, 1) // buffer so that next goroutine never blocks\n \tgo func()...
2025-04-17T06:55:10
mrdoob/three.js
f7dff100f53049ad5fcb1a7eb0e5227ba6800c83
58828669d7c09d1ac8614a95dc54e2d28ca72a6e
Improved transparent rendering (#25819) * improved transparent rendering * updated for premultipliedAlpha: true * revert premultiply * transmission proof-of-concept * update builds * add dragon model * CI fixes * Allow CSS background to show through model * Update builds * merging two approa...
[ { "path": "examples/webgl_materials_physical_transmission.2.html", "patch": "@@ -0,0 +1,323 @@\n+<!DOCTYPE html>\n+<html lang=\"en\">\n+\t<head>\n+\t\t<title>threejs webgl - materials - transmission 2</title>\n+\t\t<meta charset=\"utf-8\">\n+\t\t<meta name=\"viewport\" content=\"width=device-width, user-sca...
2023-05-12T05:33:42
denoland/deno
e2f66d4059b3743fe3a4b82b9a2613d22aa02fc5
2b4de21ea0904148dfa7c28d4e77c7b3838322f8
fix(npm): improve optional peer dep handling (#28651)
[ { "path": "Cargo.lock", "patch": "@@ -1502,7 +1502,7 @@ dependencies = [\n \"deno_lint\",\n \"deno_lockfile 0.25.0\",\n \"deno_media_type\",\n- \"deno_npm 0.30.0\",\n+ \"deno_npm 0.30.1\",\n \"deno_npm_cache\",\n \"deno_package_json\",\n \"deno_path_util\",\n@@ -2151,7 +2151,7 @@ dependencies = [\n \...
2025-03-27T22:53:41
golang/go
41bd52b3fa2ac77e0180f29777309f65fda9fad0
176a2154aa185c6ab15d88f32d9c28dd3b5e5dd8
os: remove NewFile socket detection on Windows NewFile was recently updated (in CL 668195) to detect whether the handle is a socket or not. This special case is not really necessary, given that socket handles can be used as if they were normal file handles on all functions supported by os.File (see https://learn.micro...
[ { "path": "src/os/file_windows.go", "patch": "@@ -82,49 +82,14 @@ func newConsoleFile(h syscall.Handle, name string) *File {\n \treturn newFile(h, name, \"console\", false)\n }\n \n-var wsaLoaded atomic.Bool\n-\n-// isWSALoaded returns true if the ws2_32.dll module is loaded.\n-func isWSALoaded() bool {\n-\...
2025-05-09T14:55:00
mrdoob/three.js
58828669d7c09d1ac8614a95dc54e2d28ca72a6e
5f5f5a2d7c5c5ec76773c82e78ef5d8d77f79c9b
WebXRManager: Removed getCamera() and added setUserCamera(). (#26041) * WebXRManager: Removed getCamera() and added setCamera(). * Make sure cameraVR updates near and far. * WebXRManager: Renamed cameraVR to cameraXR. * WebXRManager: Added deprecated annotations. * WebXRManager: Renamed setCamera() to setU...
[ { "path": "examples/webxr_vr_handinput_pointerclick.html", "patch": "@@ -39,8 +39,6 @@\n \n \t\timport { World, System, Component, TagComponent, Types } from 'three/addons/libs/ecsy.module.js';\n \n-\t\tTHREE.ColorManagement.enabled = false; // TODO: Consider enabling color management.\n-\n \t\tclass Object...
2023-05-11T11:37:24
denoland/deno
9a28f0eef8df7c2f0f44122ccfe16d3fb38f91d2
6c2f7835c0950bc5721347f10cfddbdd12e785c6
ci: fix node_compat_test workflow (#28638)
[ { "path": ".github/workflows/node_compat_test.yml", "patch": "@@ -1,4 +1,4 @@\n-name: node-compat-test\n+name: node_compat_test\n \n on:\n schedule:\n@@ -20,6 +20,8 @@ jobs:\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n+ with:\n+ submodules: true\n - nam...
2025-03-27T02:26:57
mrdoob/three.js
5f5f5a2d7c5c5ec76773c82e78ef5d8d77f79c9b
22c5f25bda2a640ab4655106dc3f97524f3f7cf0
fix: Fix leak of morph targets (#26040) Buffers of morph targets leaked even if I call `geometry.dispose()` Fixed by WebGLGeometries.js side, I believe this is the most appropriate way to fix this See: https://github.com/mrdoob/three.js/issues/26028 Demo of the Issue: https://glitch.com/edit/#!/three-r152-morph...
[ { "path": "src/renderers/webgl/WebGLGeometries.js", "patch": "@@ -22,6 +22,18 @@ function WebGLGeometries( gl, attributes, info, bindingStates ) {\n \n \t\t}\n \n+\t\tfor ( const name in geometry.morphAttributes ) {\n+\n+\t\t\tconst array = geometry.morphAttributes[ name ];\n+\n+\t\t\tfor ( let i = 0, l = a...
2023-05-11T10:21:36
golang/go
176a2154aa185c6ab15d88f32d9c28dd3b5e5dd8
e513cd4e409f1d42df02a42b43eceb87473b229a
cmd/link: use >4GB base address for 64-bit PE binaries Windows prefers 64-bit binaries to be loaded at an address above 4GB. Having a preferred base address below this boundary triggers a compatibility mode in Address Space Layout Randomization (ASLR) on recent versions of Windows that reduces the number of locations...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -894,10 +894,15 @@ func windynrelocsym(ctxt *Link, rel *loader.SymbolBuilder, s loader.Sym) error {\n \t\t\t\trel.AddUint8(0x90)\n \t\t\t\trel.AddUint8(0x90)\n \t\t\tcase sys.AMD64:\n+\t\t\t\t// The relocation symbol might be at an absolute offset\n...
2025-05-09T15:42:48
denoland/deno
6c2f7835c0950bc5721347f10cfddbdd12e785c6
460e511e591c9cd5e55f93409a27019aa62e099d
fix(ext/node): emit 'close' event on ServerResponse object when client aborted the request (#28601)
[ { "path": "ext/node/polyfills/http.ts", "patch": "@@ -138,6 +138,7 @@ class FakeSocket extends EventEmitter {\n remotePort?: number | undefined;\n remoteAddress?: string | undefined;\n reader?: ReadableStreamDefaultReader | undefined;\n+ signal?: AbortSignal | undefined;\n } = {},...
2025-03-27T01:45:04
golang/go
e513cd4e409f1d42df02a42b43eceb87473b229a
e666f1dabf5174710919ab7cff3e8afefd9ac049
net/http: add missing ServeTLS on the comment of http.Server.Shutdown A sentinel error http.ErrServerClosed is returned after Server.Shutdown and Server.Close but it is not documented on the Server.Shutdown while other methods such as Server.Serve are documented on it. Change-Id: Id82886d9d6a1474a514d62e9169b35f3579a...
[ { "path": "src/net/http/server.go", "patch": "@@ -3154,7 +3154,7 @@ const shutdownPollIntervalMax = 500 * time.Millisecond\n // Shutdown returns the context's error, otherwise it returns any\n // error returned from closing the [Server]'s underlying Listener(s).\n //\n-// When Shutdown is called, [Serve], [...
2025-05-10T23:43:40
denoland/deno
b1c351de5810de56fc98895a3a58950ffe74ebfa
ec4391f41231af79bde5bec24b410bc1465cbb4f
perf(install): keep parsed npm package info in memory cache (#28636) Fixes #28517. The npm package info gets requested a bunch of times by deno_npm. Before this PR, we were loading it from the FS and parsing it each and every time. With a lot of dependencies (and large `registry.json` files), this can lead to massive...
[ { "path": "resolvers/npm_cache/registry_info.rs", "patch": "@@ -48,7 +48,7 @@ enum MemoryCacheItem {\n /// The item has loaded in the past and was stored in the file system cache.\n /// There is no reason to request this package from the npm registry again\n /// for the duration of execution.\n- FsCa...
2025-03-26T22:23:59
mrdoob/three.js
22c5f25bda2a640ab4655106dc3f97524f3f7cf0
46754408eb02fa9b22210d391c7d45c053cbf063
GLTF KHR_materials_anisotropy support (#25580) * plumbing * refactored tangents * fix bump map * fix bump map again * added IBL anisotropy support * added direct anisotropy support * reshuffle chunks * fix clearcoat * fix dangling endif * separate physical BRDF from blinnPhong * prod CI ...
[ { "path": "build/three.cjs", "patch": "@@ -1104,7 +1104,7 @@ class Vector2 {\n \n class Matrix3 {\n \n-\tconstructor() {\n+\tconstructor( n11, n12, n13, n21, n22, n23, n31, n32, n33 ) {\n \n \t\tMatrix3.prototype.isMatrix3 = true;\n \n@@ -1116,6 +1116,12 @@ class Matrix3 {\n \n \t\t];\n \n+\t\tif ( n11 !== ...
2023-05-11T08:59:10
golang/go
e666f1dabf5174710919ab7cff3e8afefd9ac049
343e486bfdbf9ca614d3e197afd79ad7ed5fef3e
runtime: add goschedIfBusy to bgsweep to prevent livelock after inlining gcMarkTermination() ensures that all caches are flushed before continuing the GC cycle, thus preempting all goroutines. However, inlining calls to lock() in bgsweep makes it non-preemptible for most of the time, leading to livelock. This change a...
[ { "path": "src/runtime/mgcsweep.go", "patch": "@@ -313,6 +313,10 @@ func bgsweep(c chan int) {\n \t\t\t// gosweepone returning ^0 above\n \t\t\t// and the lock being acquired.\n \t\t\tunlock(&sweep.lock)\n+\t\t\t// This goroutine must preempt when we have no work to do\n+\t\t\t// but isSweepDone returns fal...
2025-04-25T11:28:52
denoland/deno
ec4391f41231af79bde5bec24b410bc1465cbb4f
7aaec6a5afb58933246a89bfc6f0ab3c345f9713
chore: downgrade warning to debug log on clonefile failure (#28637) Ref https://github.com/denoland/deno/issues/26928. This was originally a warning so potential bugs would be visible. Now that the code has been working for a while without issues, and since the warning can be triggered in a valid case (as in the issu...
[ { "path": "cli/util/fs.rs", "patch": "@@ -179,7 +179,7 @@ pub fn clone_dir_recursive<\n err.kind(),\n std::io::ErrorKind::AlreadyExists | std::io::ErrorKind::Unsupported\n ) {\n- log::warn!(\n+ log::debug!(\n \"Failed to clone dir {:?} to {:?} via clonefile: {}\...
2025-03-26T22:01:55
mrdoob/three.js
cea7a35b3559f0a9e1932916899dcec006a23d2e
46e71bf67334957d7c774d4558a3677fd2b5eb40
USDZExporter: Fixed inputs:scale handling.
[ { "path": "examples/jsm/exporters/USDZExporter.js", "patch": "@@ -504,7 +504,7 @@ function buildMaterial( material, textures, quickLookCompatible = false ) {\n uniform token info:id = \"UsdUVTexture\"\n asset inputs:file = @textures/Texture_${ id }.png@\n float2 inputs:st...
2023-05-10T02:21:17
golang/go
238d273da4859fe4be5db019879fdb886a547350
c0eb7ab3062fae802639545770f6a897d75b0085
bytes, strings: rename parameters in ExampleCut{Pre,Suf}fix The old parameter name sep was probably copied from ExampleCut. Change the parameter names to prefix and suffix, respectivly to make the examples a bit more readable. Change-Id: Ie14b0050c2fafe3301c5368efd548a1629a7545f Reviewed-on: https://go-review.googles...
[ { "path": "src/bytes/example_test.go", "patch": "@@ -245,9 +245,9 @@ func ExampleCut() {\n }\n \n func ExampleCutPrefix() {\n-\tshow := func(s, sep string) {\n-\t\tafter, found := bytes.CutPrefix([]byte(s), []byte(sep))\n-\t\tfmt.Printf(\"CutPrefix(%q, %q) = %q, %v\\n\", s, sep, after, found)\n+\tshow := fu...
2025-05-08T12:13:16
mrdoob/three.js
ef318c007a1cd1ee578ca5baafa6f7fd2234a35d
3da52fa4bf49e6a22a8e6cb7255dea648a150f0c
Update webgl_lensflares.html Fix background color.
[ { "path": "examples/webgl_lensflares.html", "patch": "@@ -59,7 +59,7 @@\n \t\t\t\t// scene\n \n \t\t\t\tscene = new THREE.Scene();\n-\t\t\t\tscene.background = new THREE.Color().setHSL( 0.51, 0.4, 0.01 );\n+\t\t\t\tscene.background = new THREE.Color().setHSL( 0.51, 0.4, 0.01, THREE.SRGBColorSpace );\n \t\t\...
2023-05-09T20:36:18
denoland/deno
863ab45436dd9803bc7bfb189bd3393a368463b8
31f6c05c9c4f4bf2b254c394428b23b32cc2d00d
fix(npm): set up bin entries for package even if it's already downloaded (#28626) Fixes #28617
[ { "path": "cli/npm/installer/local.rs", "patch": "@@ -3,7 +3,6 @@\n //! Code for local node_modules resolution.\n \n use std::borrow::Cow;\n-use std::cell::RefCell;\n use std::cmp::Ordering;\n use std::collections::hash_map::Entry;\n use std::collections::BTreeMap;\n@@ -13,7 +12,6 @@ use std::collections::H...
2025-03-25T22:32:15
golang/go
c0eb7ab3062fae802639545770f6a897d75b0085
c57b0d6c7e54284c8967530153774dbc62190b00
bytes, strings: micro-optimize EqualFold The first loop leaves the lengths of the two arguments unchanged. Take advantage of this invariant in the loop's condition. Here are some benchmark results (no change to allocations): goos: darwin goarch: amd64 pkg: strings cpu: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz ...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -1228,7 +1228,7 @@ func ReplaceAll(s, old, new []byte) []byte {\n func EqualFold(s, t []byte) bool {\n \t// ASCII fast path\n \ti := 0\n-\tfor ; i < len(s) && i < len(t); i++ {\n+\tfor n := min(len(s), len(t)); i < n; i++ {\n \t\tsr := s[i]\n \t\ttr := t[i]\n \t\...
2025-05-12T12:40:36
mrdoob/three.js
a55e5a37a26a279ae4cea46394352d6c9ca24704
a9d9227078d3ef8959fad6cc3cdcb8133a608ee0
Examples: Fixed webxr_xr_sculpt.
[ { "path": "examples/webxr_xr_sculpt.html", "patch": "@@ -227,6 +227,8 @@\n \n \t\t\t\t}\n \n+\t\t\t\tblob.update();\n+\n \t\t\t}\n \n \t\t\tfunction render() {", "additions": 2, "deletions": 0, "language": "HTML" } ]
2023-05-08T10:37:21
denoland/deno
c239d37d20a417b887953cfb7d4014f971cadf76
52d528d21de26ecbace10a24dc4078c80851534e
fix(npm): resolve non-version matching peer deps and warn instead (#28616) This improves peer dependency resolution to be more relaxed and resolve non-version matching ancestors similar to pnpm rather than introducing duplicate dependencies. Deno will warn when this occurs. In the future, we should look into introduci...
[ { "path": "Cargo.lock", "patch": "@@ -1502,7 +1502,7 @@ dependencies = [\n \"deno_lint\",\n \"deno_lockfile 0.25.0\",\n \"deno_media_type\",\n- \"deno_npm 0.29.0\",\n+ \"deno_npm 0.30.0\",\n \"deno_npm_cache\",\n \"deno_package_json\",\n \"deno_path_util\",\n@@ -2151,7 +2151,7 @@ dependencies = [\n \...
2025-03-25T15:10:13
mrdoob/three.js
7b14431f6b6603e19b2b5eb6efcca3f7ffd7d87d
7dfaaa8d328429a36ef022984aee71d5a5e5095f
USDZExporter: Fixed typo.
[ { "path": "examples/jsm/exporters/USDZExporter.js", "patch": "@@ -468,7 +468,7 @@ function buildMaterial( material, textures ) {\n \t\tconst WRAPPINGS = {\n \t\t\t1000: 'repeat', // RepeatWrapping\n \t\t\t1001: 'clamp', // ClampToEdgeWrapping\n-\t\t\t1002: 'repeat' // MirroredRepeatWrapping\n+\t\t\t1002: 'm...
2023-05-08T06:26:47
golang/go
e282cbb11256db717b95f9d8cf8c050cd4c4f7c2
fd605450a7be429efe68aed2271fbd3d40818f8e
crypto/tls: handle client hello version too high If the client hello legacy version is >= TLS 1.3, and no supported_versions extension is sent, negotiate TLS 1.2 or lower when supported. On the topic of supported version negotiation RFC 8446 4.2.1 indicates TLS 1.3 implementations MUST send a supported_versions exten...
[ { "path": "src/crypto/tls/bogo_config.json", "patch": "@@ -66,11 +66,8 @@\n \"SupportTicketsWithSessionID\": \"TODO: first pass, this should be fixed\",\n \"NoNullCompression-TLS12\": \"TODO: first pass, this should be fixed\",\n \"KeyUpdate-RequestACK\": \"TODO: first pass, this sho...
2025-05-08T21:33:15
mrdoob/three.js
faf95b2dcbb13b343be3e2f42f00470c45b2d990
e6e95d523b51b09660594221e526d32c54c7dba9
USDZExporter: add MaterialBindingAPI schema, fix primvars:st data type, add colorspace for normal map (#26009)
[ { "path": "examples/jsm/exporters/USDZExporter.js", "patch": "@@ -255,6 +255,7 @@ function buildXform( object, geometry, material ) {\n \n \treturn `def Xform \"${ name }\" (\n prepend references = @./geometries/Geometry_${ geometry.id }.usda@</Geometry>\n+ prepend apiSchemas = [\"MaterialBindingAPI\...
2023-05-08T00:55:15
golang/go
fd605450a7be429efe68aed2271fbd3d40818f8e
97eab214d14054d9f174ab8b02ec3f7adb9cb2f9
crypto/tls: fix TLS <1.3 client cert required alert Previously for protocol versions older than TLS 1.3 our server handshake implementation sent an alertBadCertificate alert in the case where the server TLS config indicates a client cert is required and none was received. This commit updates the relevant logic to ins...
[ { "path": "src/crypto/tls/bogo_config.json", "patch": "@@ -60,16 +60,12 @@\n \"CurveID-Resume*\": \"unexposed curveID is not stored in the ticket yet\",\n \"BadRSAClientKeyExchange-4\": \"crypto/tls doesn't check the version number in the premaster secret - see processClientKeyExchange comme...
2025-05-08T19:22:41
denoland/deno
52d528d21de26ecbace10a24dc4078c80851534e
d07b7ea6f6bea2bf547268cc21f822380a56a904
fix(ext/node): `mkdir()` parse file mode (#28609) Fixes https://github.com/denoland/deno/issues/28604
[ { "path": "ext/node/polyfills/_fs/_fs_mkdir.ts", "patch": "@@ -7,7 +7,10 @@ import type { CallbackWithError } from \"ext:deno_node/_fs/_fs_common.ts\";\n import { promisify } from \"ext:deno_node/internal/util.mjs\";\n import { denoErrorToNodeError } from \"ext:deno_node/internal/errors.ts\";\n import { get...
2025-03-25T04:03:41
mrdoob/three.js
e6e95d523b51b09660594221e526d32c54c7dba9
9a18d344ec86dda5ca8615ab536410aebb650627
Fixed E2E (bis)
[ { "path": "test/e2e/puppeteer.js", "patch": "@@ -115,7 +115,7 @@ const exceptionList = [\n \t'webgpu_skinning',\n \t'webgpu_skinning_instancing',\n \t'webgpu_skinning_points',\n-\t'webgpu_sprite'\n+\t'webgpu_sprites'\n \n ];\n ", "additions": 1, "deletions": 1, "language": "JavaScript" } ]
2023-05-07T06:51:14
golang/go
97eab214d14054d9f174ab8b02ec3f7adb9cb2f9
45f27826178981400f6d083fd087d20d0abb02d2
crypto/tls: enable more large record bogo tests Previously a handful of large record tests were in the bogo config ignore list. The ignored tests were failing because they used insecure ciphersuites that aren't enabled by default. This commit adds the non-default insecure ciphersuites to the bogo TLS configuration an...
[ { "path": "src/crypto/tls/bogo_config.json", "patch": "@@ -67,15 +67,6 @@\n \"SupportTicketsWithSessionID\": \"TODO: first pass, this should be fixed\",\n \"NoNullCompression-TLS12\": \"TODO: first pass, this should be fixed\",\n \"KeyUpdate-RequestACK\": \"TODO: first pass, this sho...
2025-04-29T21:41:53
denoland/deno
d07b7ea6f6bea2bf547268cc21f822380a56a904
5b5e93ff42f0a18a768041df2a3d2262c9d31c0b
fix(ext/node): propagate 'close' event of IncomingMessage to Socket (#28582)
[ { "path": "ext/node/polyfills/http.ts", "patch": "@@ -1001,6 +1001,10 @@ export class IncomingMessageForClient extends NodeReadable {\n // Flag for when we decide that this message cannot possibly be\n // read by the user, so there's no point continuing to handle it.\n this._dumped = false;\n+\n...
2025-03-24T01:56:34
golang/go
00b63486583ef8055c821fa16a87017e04dc2920
992d1547178fe0d18c2827e34d62fbc545ace64c
crypto/tls: err for unsupported point format configs If a client or server explicitly offers point formats, and the point formats don't include the uncompressed format, then error. This matches BoringSSL and Rustls behaviour and allows enabling the PointFormat-Client-MissingUncompressed bogo test. Updates #72006 Cha...
[ { "path": "src/crypto/tls/bogo_config.json", "patch": "@@ -131,7 +131,6 @@\n \"SendClientVersion-RSA\": \"TODO: first pass, this should be fixed\",\n \"NoCommonCurves\": \"TODO: first pass, this should be fixed\",\n \"PointFormat-EncryptedExtensions-TLS13\": \"TODO: first pass, this ...
2025-04-29T21:39:08
denoland/deno
5b5e93ff42f0a18a768041df2a3d2262c9d31c0b
48ccb671316dd2d69d120b2c6a287f905c1f4275
fix(ext/crypto): support cross-curve ECDSA sign and verify (#28574) Fixes #20198 The Web Crypto implementation has been artificially limiting `ECDSA` to only the “recommended” curve/hash pairs (`P‑256/SHA‑256` and `P‑384/SHA‑384`). The underlying `ring` APIs enforced those pairs, so any attempt to verify signatures p...
[ { "path": "Cargo.lock", "patch": "@@ -1851,6 +1851,7 @@ dependencies = [\n \"deno_core\",\n \"deno_error\",\n \"deno_web\",\n+ \"ecdsa\",\n \"ed448-goldilocks\",\n \"elliptic-curve\",\n \"num-traits\",\n@@ -1865,6 +1866,7 @@ dependencies = [\n \"serde_bytes\",\n \"sha1\",\n \"sha2\",\n+ \"signature...
2025-03-22T17:17:44
golang/go
992d1547178fe0d18c2827e34d62fbc545ace64c
d382f1467960d67a6b5eb25447f689a0ccac371e
crypto/tls: update TLS 1.3 client compression validation Unlike in earlier TLS versions, in TLS 1.3 when processing a server hello the legacy_compression_method MUST have the value 0. It is no longer a parameter that offers a choice of compression method. With this in mind, it seems more appropriate to return a decod...
[ { "path": "src/crypto/tls/bogo_config.json", "patch": "@@ -64,7 +64,6 @@\n \"SupportTicketsWithSessionID\": \"TODO: first pass, this should be fixed\",\n \"NoNullCompression-TLS12\": \"TODO: first pass, this should be fixed\",\n \"KeyUpdate-RequestACK\": \"TODO: first pass, this shou...
2025-04-29T19:10:10
denoland/deno
208992ad53a3fe0e8650b2812f10613ecbfb2b55
f7993280c9aa52230f56447d7a96b514b310edc9
fix(ext/node): sqlite error details (#28431) Improves SQLite error reporting by including `err_code`, `err_str`, matching Node.js behavior. Fixes #28289
[ { "path": "ext/node/ops/sqlite/database.rs", "patch": "@@ -23,7 +23,7 @@ use super::session::SessionOptions;\n use super::Session;\n use super::SqliteError;\n use super::StatementSync;\n-\n+use crate::ops::sqlite::SqliteResultExt;\n const SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION: i32 = 1005;\n const SQLITE_DBC...
2025-03-22T02:22:22
mrdoob/three.js
9a18d344ec86dda5ca8615ab536410aebb650627
bea24b475d19f59abd8676ae465195285dd87832
Fixed E2E
[ { "path": "test/e2e/puppeteer.js", "patch": "@@ -88,7 +88,34 @@ const exceptionList = [\n \t'webgl_shadowmap',\n \t'webgl_shadowmap_progressive',\n \t'webgl_test_memory2',\n-\t'webgl_tiled_forward'\n+\t'webgl_tiled_forward',\n+\n+\t// Awaiting for WebGPU support\n+\t'webgpu_audio_processing',\n+\t'webgpu_ba...
2023-05-07T06:07:24
denoland/deno
f7993280c9aa52230f56447d7a96b514b310edc9
43f6137d92941823c5a91f396eff64ae0756d9cc
fix(npm): reduce occurrences of duplicate packages due to peer dep resolution (#28586)
[ { "path": "Cargo.lock", "patch": "@@ -1502,7 +1502,7 @@ dependencies = [\n \"deno_lint\",\n \"deno_lockfile 0.25.0\",\n \"deno_media_type\",\n- \"deno_npm 0.28.0\",\n+ \"deno_npm 0.29.0\",\n \"deno_npm_cache\",\n \"deno_package_json\",\n \"deno_path_util\",\n@@ -2149,7 +2149,7 @@ dependencies = [\n \...
2025-03-21T21:12:28
mrdoob/three.js
783185aba3707d9ce6a0e4a69e6887900e7f4983
efdd7def1f7391566e736eea7f7273663c79d0ea
Examples: Use new gpuType field in GPU Picking, fix bugs (#26001) * Fix attribute merging * Use new int attribute type * Fix firefox gpu picking
[ { "path": "examples/jsm/utils/BufferGeometryUtils.js", "patch": "@@ -304,6 +304,7 @@ function mergeAttributes( attributes ) {\n \tlet TypedArray;\n \tlet itemSize;\n \tlet normalized;\n+\tlet gpuType = - 1;\n \tlet arrayLength = 0;\n \n \tfor ( let i = 0; i < attributes.length; ++ i ) {\n@@ -341,6 +342,14 @...
2023-05-07T00:56:34
denoland/deno
43f6137d92941823c5a91f396eff64ae0756d9cc
27363d389dcb273885e2883f976900001f58e8c9
chore: forward v2.2.5 release commit to main (#28579) NOTE: Commit 27363d389 was incorrectly landed in main before the release completed and is not included in v2.2.5. The official v2.2.5 release was made from the v2.2 branch.
[ { "path": ".github/workflows/ci.generate.ts", "patch": "@@ -5,7 +5,7 @@ import { stringify } from \"jsr:@std/yaml@^0.221/stringify\";\n // Bump this number when you want to purge the cache.\n // Note: the tools/release/01_bump_crate_versions.ts script will update this version\n // automatically via regex, s...
2025-03-21T13:25:03
mrdoob/three.js
efdd7def1f7391566e736eea7f7273663c79d0ea
379b49e3aefc13a735cdaa17efaa381f83b8b579
Update WebGLRenderer.html (#26002) fixed malformed param
[ { "path": "docs/api/en/renderers/WebGLRenderer.html", "patch": "@@ -491,7 +491,7 @@ <h3>[method:undefined resetGLState]( )</h3>\n \t\t</p>\n \n \t\t<h3>\n-\t\t\t[method:undefined readRenderTargetPixels]( [param:WebGLRenderTarget renderTarget], [param:Float x], [param:Float y], [param:Float width], [param:Fl...
2023-05-06T17:42:51
denoland/deno
7afdff6f6ce3ee54b5b368880a0b526851640a5e
24d20d6ec4c7bd3df004da613a7ec04e76a3b6c9
fix(ext/os): explicitly enable `sysinfoapi` feature on `winapi` dependency (#28568) This pr explicitly enables the `sysinfoapi` feature flag on `winapi` in `deno_os`, so that `deno_os` and other deno crates that rely on it can be built independently outside of the workspace on Windows.
[ { "path": "ext/os/Cargo.toml", "patch": "@@ -27,7 +27,7 @@ thiserror.workspace = true\n tokio.workspace = true\n \n [target.'cfg(windows)'.dependencies]\n-winapi = { workspace = true, features = [\"commapi\", \"knownfolders\", \"mswsock\", \"objbase\", \"psapi\", \"shlobj\", \"tlhelp32\", \"winbase\", \"win...
2025-03-21T03:04:44
golang/go
f4e37b8afc01253567fddbdd68ec35632df86b62
cad1fc52076f1368d79aa833c1810ae050df57e6
crypto/tls: use runtime.Gosched instead of time.After in TestCertCache I noticed a failure of this test on a linux/amd64 builder and reproduced it locally. I can only really reproduce it in a stress test when I overload my system (`stress2 ./tls.test -test.run=TestCertCache`) but this points to the root of the problem...
[ { "path": "src/crypto/tls/cache_test.go", "patch": "@@ -41,22 +41,12 @@ func TestCertCache(t *testing.T) {\n \n \ttimeoutRefCheck := func(t *testing.T, key string, count int64) {\n \t\tt.Helper()\n-\n-\t\t// Explicitly check every 1 ms up to the timeout instead of busy-looping.\n-\t\t//\n-\t\t// On single-t...
2025-05-08T19:03:37
mrdoob/three.js
94c43c95c831882f42cef2199cbdc64695d8e8d6
2c6cf61fa2a63adad0a5d3b65d6dbadf20a22d3b
WebGLRenderer: Improve interger attribute support. (#21606) * WebGLRenderer: Improve interger attribute support. * BufferAttribute: Fix property definition. * BufferAttribute: Honor `integer` in `copy()`. * BufferAttribute: Use `gpuType` instead of `integer`.
[ { "path": "src/core/BufferAttribute.js", "patch": "@@ -1,7 +1,7 @@\n import { Vector3 } from '../math/Vector3.js';\n import { Vector2 } from '../math/Vector2.js';\n import { denormalize, normalize } from '../math/MathUtils.js';\n-import { StaticDrawUsage } from '../constants.js';\n+import { StaticDrawUsage,...
2023-05-05T11:06:32
denoland/deno
6420e50cd0563192e60f8da29f8378c3bcbd902f
7ac813085499def3ff829cf72f43a6daaaac3457
fix(ext/node): add util.getCallSites (#28546) This PR adds [getCallSites](https://nodejs.org/api/util.html#utilgetcallsitesframecount-options) API to "node:util". This unblocks https://github.com/denoland/deno/issues/28318. Currently the task is blocked by the unavailability of `util.getCallSites` because it's used i...
[ { "path": "ext/node/polyfills/util.ts", "patch": "@@ -4,12 +4,14 @@ import { primordials } from \"ext:core/mod.js\";\n const {\n ArrayIsArray,\n ArrayPrototypeJoin,\n+ ArrayPrototypeMap,\n Date,\n DatePrototypeGetDate,\n DatePrototypeGetHours,\n DatePrototypeGetMinutes,\n DatePrototypeGetMont...
2025-03-20T21:39:04
golang/go
ac645eaa0efc982eb238188a5f14835d2c1f8d18
60d3bcdec38eafbffe3086d8aea190ff8bcdece7
runtime: avoid overflow in mutex delay calculation If cputicks is in the top quarter of the int64's range, adding two values together will overflow and confuse the subsequent calculations, leading to zero-duration contention events in the profile. This fixes the TestRuntimeLockMetricsAndProfile failures on the linux-...
[ { "path": "src/runtime/lock_spinbit.go", "patch": "@@ -404,7 +404,7 @@ useStackLock:\n \t\t\tn++\n \t\t\tnext := node.mWaitList.next.ptr()\n \t\t\tif next == nil {\n-\t\t\t\tcycles := endTicks - (head.mWaitList.startTicks+node.mWaitList.startTicks)/2\n+\t\t\t\tcycles := ((endTicks - head.mWaitList.startTick...
2025-05-08T17:59:18
mrdoob/three.js
8c54bb813549db1c582cd25bf535b0f8b93f5e05
f75bc4e1de5b84706b52275299a810c3fe37c5f4
WebGPURenderer: Fix skinning bone multiplication order (#25987) * SkinningNode: Fix multiplication order * ModelViewProjectionNode: Move to construct()
[ { "path": "examples/jsm/nodes/accessors/ModelViewProjectionNode.js", "patch": "@@ -6,22 +6,17 @@ import { nodeProxy } from '../shadernode/ShaderNode.js';\n \n class ModelViewProjectionNode extends Node {\n \n-\tconstructor( position = positionLocal ) {\n+\tconstructor( positionNode = positionLocal ) {\n \n ...
2023-05-04T10:55:45
denoland/deno
60b502db80ea4524c8a5e316177f32329dc15a33
eadcd729d2d6719998d72ab5af2eb920c7dea0a4
fix(lsp): do not show import-map-remap diagnostic when referrer and target are within the entry base (#28560) For example, if someone has `"$src/": "./src"` in their import map, this will no longer show a diagnostic when someone imports `"./a.ts"` from ./src/b.ts`
[ { "path": "cli/lsp/diagnostics.rs", "patch": "@@ -1749,6 +1749,39 @@ fn diagnose_dependency(\n dependency_key: &str,\n dependency: &deno_graph::Dependency,\n ) {\n+ /// Given a specifier and a referring specifier, determine if a value in the\n+ /// import map could be used as an import specifier that ...
2025-03-20T15:20:24
golang/go
e46c8e0558d287fcffde75bb458419288e71db62
b877f04eea44820481e3a33f93eb55e90ff1754d
runtime: schedule cleanups across multiple goroutines This change splits the finalizer and cleanup queues and implements a new lock-free blocking queue for cleanups. The basic design is as follows: The cleanup queue is organized in fixed-sized blocks. Individual cleanup functions are queued, but only whole blocks are...
[ { "path": "src/cmd/internal/objabi/funcid.go", "patch": "@@ -10,27 +10,28 @@ import (\n )\n \n var funcIDs = map[string]abi.FuncID{\n-\t\"abort\": abi.FuncID_abort,\n-\t\"asmcgocall\": abi.FuncID_asmcgocall,\n-\t\"asyncPreempt\": abi.FuncID_asyncPreempt,\n-\t\"cg...
2025-02-19T16:33:21
mrdoob/three.js
b71d3f4340f9793faaf73aec26caacca5cf58784
79c0f7559c2d3e87c4596fe4b5cc1ad2d0e81f60
WebGLRenderer: Allow for clearing integer render targets (#22351) * Add support for clearing an integer buffer * Handle draw to screen case * Explicitly check if a uint type is being used * Add "COLOR" build value * Check all unsigned types * Remove unexported constants * fix condition
[ { "path": "src/renderers/WebGLRenderer.js", "patch": "@@ -12,7 +12,15 @@ import {\n \tSRGBColorSpace,\n \tLinearSRGBColorSpace,\n \tsRGBEncoding,\n-\tLinearEncoding\n+\tLinearEncoding,\n+\tRGBAIntegerFormat,\n+\tRGIntegerFormat,\n+\tRedIntegerFormat,\n+\tUnsignedIntType,\n+\tUnsignedShortType,\n+\tUnsignedI...
2023-05-03T08:51:00
denoland/deno
eadcd729d2d6719998d72ab5af2eb920c7dea0a4
3849ace1d6b3f184645aaf077539ef7ef12f560c
docs: fix a numerical error in update_typescript.md (#28556) Signed-off-by: letianpailove <113023596+letianpailove@users.noreply.github.com>
[ { "path": "tools/update_typescript.md", "patch": "@@ -70,7 +70,7 @@ contextual awareness, it is the author's opinion that it is best to spend the\n - Revert/merge any changes to lib files that provide forward support. This is\n the \"hardest\" thing, because you need to assess if the updated version...
2025-03-20T14:21:49
golang/go
b877f04eea44820481e3a33f93eb55e90ff1754d
c9d0fad5cbeb8ec60c7b21bb48f101e835241274
crypto/tls: add scheduler call to TestCertCache refcount timeout loop Currently TestCertCache will busy loop waiting for a cleanup (in the runtime.AddCleanup sense) to execute. If we ever get into this busy loop, then on single-threaded platforms like js/wasm, we'll end up _always_ timing out. This doesn't happen rig...
[ { "path": "src/crypto/tls/cache_test.go", "patch": "@@ -41,12 +41,22 @@ func TestCertCache(t *testing.T) {\n \n \ttimeoutRefCheck := func(t *testing.T, key string, count int64) {\n \t\tt.Helper()\n-\t\tc := time.After(4 * time.Second)\n+\n+\t\t// Explicitly check every 1 ms up to the timeout instead of busy...
2025-05-07T23:17:48
mrdoob/three.js
c25f9a533980637e5405d1be879d722e34cde2f6
3084e3b13d50da29864fa036aae671bd06d2bf08
Catch parser exceptions in MMDLoader (#25966)
[ { "path": "examples/jsm/loaders/MMDLoader.js", "patch": "@@ -226,7 +226,15 @@ class MMDLoader extends Loader {\n \t\t\t.setWithCredentials( this.withCredentials )\n \t\t\t.load( url, function ( buffer ) {\n \n-\t\t\t\tonLoad( parser.parsePmd( buffer, true ) );\n+\t\t\t\ttry {\n+\n+\t\t\t\t\tonLoad( parser.p...
2023-05-01T07:47:44
denoland/deno
50f1bbd44ccd2ebd92fb4dc9905c60143816c25b
fb3df15fc827f51ffbc3460338cc240e46976175
fix(otel): replace `ArrayPrototypeSplit` with `StringPrototypeSplit` (#28538)
[ { "path": "ext/telemetry/telemetry.ts", "patch": "@@ -38,7 +38,6 @@ const {\n ArrayPrototypeReverse,\n ArrayPrototypeShift,\n ArrayPrototypeSlice,\n- ArrayPrototypeSplit,\n DatePrototype,\n DatePrototypeGetTime,\n Error,\n@@ -1331,7 +1330,7 @@ class TraceStateClass implements TraceState {\n ...
2025-03-18T17:19:10
golang/go
c9d0fad5cbeb8ec60c7b21bb48f101e835241274
f38256eae560c6532c172573e39dd8d4827eff95
cmd/compile: add 2 phiopt cases Add 2 more cases: if a { x = value } else { x = a } => x = a && value if a { x = a } else { x = value } => x = a || value AND case goes from: 00006 (8) TESTB AX, AX 00007 (8) JNE 9 00008 (13) MOVL AX, BX 00009 (13) MOVL BX, AX 00010 (13) RET to: 00006 (13) ANDL BX, AX 00007 (13) RE...
[ { "path": "src/cmd/compile/internal/ssa/phiopt.go", "patch": "@@ -119,6 +119,33 @@ func phiopt(f *Func) {\n \t\t\t\t\tcontinue\n \t\t\t\t}\n \t\t\t}\n+\t\t\t// Replaces\n+\t\t\t// if a { x = value } else { x = a } with x = a && value.\n+\t\t\t// Requires that value dominates x.\n+\t\t\tif v.Args[1-reverse...
2025-04-19T10:31:26
mrdoob/three.js
3084e3b13d50da29864fa036aae671bd06d2bf08
43b730857c886242ff168607a6ec58cb2f019f3f
Fix sourcemaps in dev builds (#25901) * Adds magic-string * Improves custom Rollup plugins to preserve sourcemaps
[ { "path": "package-lock.json", "patch": "@@ -20,6 +20,7 @@\n \"eslint-plugin-import\": \"^2.27.5\",\n \"failonlyreporter\": \"^1.0.0\",\n \"jimp\": \"^0.22.7\",\n+ \"magic-string\": \"^0.30.0\",\n \"pixelmatch\": \"^5.3.0\",\n \"puppeteer-core\": \"^19.8.1\",\n...
2023-05-01T04:50:45
denoland/deno
fb3df15fc827f51ffbc3460338cc240e46976175
5aeb04f443d8a40dfb19aad85f2d1e6569970b4f
fix(ext/node): restrict ATTACH DATABASE statement (#28513) Disable `ATTACH DATABASE` statement in `node:sqlite` since it is not supervised by Deno's permission system
[ { "path": "Cargo.lock", "patch": "@@ -524,16 +524,16 @@ dependencies = [\n \n [[package]]\n name = \"bindgen\"\n-version = \"0.69.5\"\n+version = \"0.70.1\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088\"\...
2025-03-18T16:33:35
golang/go
9c170f70e1c27f3f89f6175af0d9fa800931dbb8
8cd6d68a0881d2bc0081081a847bb36fc314e761
cmd/go: replace backslash systematically in path of command Using the same method CleanPatterns harmonizes further accepted format of patterns in go command. Fixes #24233 Change-Id: Idb8176df3a7949b16764cd6ea51d7a8966799e42 Reviewed-on: https://go-review.googlesource.com/c/go/+/669775 LUCI-TryBot-Result: Go LUCI <go...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -3381,6 +3381,7 @@ func PackagesAndErrorsOutsideModule(ctx context.Context, opts PackageOpts, args\n \t\t\tpatterns[i] = p\n \t\t}\n \t}\n+\tpatterns = search.CleanPatterns(patterns)\n \n \t// Query the module providing the first argument, load its g...
2025-05-02T07:10:40
mrdoob/three.js
bbd1fdadee82518896275fb86bebf85bccbd4cb0
70cc4e192fe2ebd0bf8542a81c8c513d61984c58
Examples: Fix broken GPU picking demo. (#25952) * Examples: Fix broken GPU picking demo. * Examples: Clean up.
[ { "path": "examples/webgl_interactive_cubes_gpu.html", "patch": "@@ -136,7 +136,7 @@\n \n \t\t\t\t\t// give the geometry's vertices a color corresponding to the \"id\"\n \n-\t\t\t\t\tapplyVertexColors( geometry, color.setHex( i ) );\n+\t\t\t\t\tapplyVertexColors( geometry, color.setHex( i, THREE.NoColorSpac...
2023-04-29T07:34:15
denoland/deno
5aeb04f443d8a40dfb19aad85f2d1e6569970b4f
1eaac23af85db16961c8f10d7c699c820cca8f9f
fix: add stackTraceLimit to ErrorConstructor interface and removed ErrorWithStackTraceLimit interface (#28539) Signed-off-by: Jake Champion <me@jakechampion.name>
[ { "path": "cli/tsc/dts/lib.deno.shared_globals.d.ts", "patch": "@@ -907,6 +907,7 @@ declare var CustomEvent: {\n interface ErrorConstructor {\n /** See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions. */\n captureStackTrace(error: Object, constructor?: Function): void;\n...
2025-03-18T13:56:39
golang/go
8cd6d68a0881d2bc0081081a847bb36fc314e761
bd1f9a4963eff6672e7e7b6d1b03ca0c51f28663
cmd/go: fix incorrect determining default value of CGO_ENABLED The default value is the value obtained when no environment variables are set and go env -w is not used. In the past, we used the current value (may be modified by an environment variable to a non-default value), error was used as the default value. For...
[ { "path": "src/cmd/dist/build.go", "patch": "@@ -673,7 +673,6 @@ var gentab = []struct {\n \tfile string\n \tgen func(dir, file string)\n }{\n-\t{\"go/build\", \"zcgo.go\", mkzcgo},\n \t{\"cmd/go/internal/cfg\", \"zdefaultcc.go\", mkzdefaultcc},\n \t{\"internal/runtime/sys\", \"zversion.go\", mkzversion},\...
2024-10-23T12:55:43
mrdoob/three.js
f3b52a9b22652246345f783880d733f5f5f94d1e
deabd3bd83124dd623a0608ed11dde497aa08764
Examples: Fixed webxr_xr_dragging and webxr_xr_paint in mobile-ar.
[ { "path": "examples/webxr_xr_dragging.html", "patch": "@@ -201,6 +201,8 @@\n \n \t\t\t\t}\n \n+\t\t\t\tcontroller.userData.targetRayMode = event.data.targetRayMode;\n+\n \t\t\t}\n \n \t\t\tfunction onSelectEnd( event ) {\n@@ -217,11 +219,12 @@\n \n \t\t\t\t}\n \n-\n \t\t\t}\n \n \t\t\tfunction getIntersecti...
2023-04-28T09:52:15
denoland/deno
e95938122e1165389c7aa44c0f7807c213e4c0d6
1516e3ef58c6f9cd30d7f2a1aed1320de9e79572
fix(doc): do not stack overflow for namespace that exports self or ancestor (#28533)
[ { "path": "Cargo.lock", "patch": "@@ -1874,9 +1874,9 @@ dependencies = [\n \n [[package]]\n name = \"deno_doc\"\n-version = \"0.169.0\"\n+version = \"0.169.1\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"5fdbba1beab09de9eff58c54ec8f0abf2340f30de00ac511ad73067ff97883ce...
2025-03-17T21:07:55
mrdoob/three.js
ba1f08c49b628778ac95624e283725e908f4a61b
b19cb1812c138a84329ed068bc3ffb758f746292
Editor: Fix clone of skinned meshes. (#25945)
[ { "path": "editor/js/Menubar.Edit.js", "patch": "@@ -5,6 +5,7 @@ import { UIPanel, UIRow, UIHorizontalRule } from './libs/ui.js';\n import { AddObjectCommand } from './commands/AddObjectCommand.js';\n import { RemoveObjectCommand } from './commands/RemoveObjectCommand.js';\n import { SetPositionCommand } fr...
2023-04-27T09:29:07
golang/go
ad7a6f81597fae99f2d94dda308bdc19ff8c1362
509c11f3a39aeb627cc16dc9ffcad45fc457c5ec
runtime: fix condition to emit gcpacertrace end-of-sweep line It's the job of the last sweeper to emit the GC pacer trace. The last sweeper can identify themselves by reducing the count of sweepers, and also seeing that there's no more sweep work. Currently this identification is broken, however, because the last swe...
[ { "path": "src/runtime/mgcsweep.go", "patch": "@@ -169,9 +169,10 @@ func (a *activeSweep) end(sl sweepLocker) {\n \t\t\tthrow(\"mismatched begin/end of activeSweep\")\n \t\t}\n \t\tif a.state.CompareAndSwap(state, state-1) {\n-\t\t\tif state != sweepDrainedMask {\n+\t\t\tif state-1 != sweepDrainedMask {\n \...
2025-05-07T22:28:23
denoland/deno
aee38ab6e39f2e5a22445e352fb817cf2262d000
c638f9ade18547b0b4e172a3d381d4a2f2a47af1
docs: fix a typo in specs README.md (#28524)
[ { "path": "tests/specs/README.md", "patch": "@@ -95,7 +95,7 @@ Or if you want to run several tests at the same time:\n When writing a single step, these may be at the top level rather than nested in\n a \"steps\" array or \"tests\" object.\n \n-- `args` - A string (that will be spilt on whitespace into an a...
2025-03-17T08:46:22
mrdoob/three.js
ef03bdcfd14d5c8f1b70a3a04a3307891972c492
4865fee0c3036cff77d99263425a1af34db7061a
BufferGeometry: Renamed uv2, uv3, uv4 to uv1, uv2, uv3 (#25943) * BufferGeometry: Rename uv, uv2, uv3, uv4 to uv_0, uv_1, uv_2, uv_3. * BufferGeometry: Clean up. * Clean up. * WebGLPrograms: Clean up. * Renamed uv_0, uv_1, uv_2, uv_3 to uv0, uv1, uv2, uv3. * BufferGeometry: Rename uv to uv0 in getAttrib...
[ { "path": "docs/api/en/core/Raycaster.html", "patch": "@@ -184,7 +184,7 @@ <h3>[method:Array intersectObject]( [param:Object3D object], [param:Boolean recu\n \t\t\t[page:Integer faceIndex] – index of the intersected face<br />\n \t\t\t[page:Object3D object] – the intersected object<br />\n \t\t\t[page:Vecto...
2023-04-27T08:57:09
golang/go
509c11f3a39aeb627cc16dc9ffcad45fc457c5ec
d000963d045bb279d347dbd3551e9468422c17af
crypto,crypto/x509: implement MessageSigner And use it in crypto/x509. This allows people to implement single-shot signers which do the hashing themselves. Fixes #63405 Change-Id: I038c2e10f77b050b6136c4c0a5b031cb416f59aa Reviewed-on: https://go-review.googlesource.com/c/go/+/654375 Reviewed-by: Filippo Valsorda <fi...
[ { "path": "api/next/63405.txt", "patch": "@@ -0,0 +1,5 @@\n+pkg crypto, func SignMessage(Signer, io.Reader, []uint8, SignerOpts) ([]uint8, error) #63405\n+pkg crypto, type MessageSigner interface { Public, Sign, SignMessage } #63405\n+pkg crypto, type MessageSigner interface, Public() PublicKey #63405\n+pkg...
2025-03-03T20:31:55
denoland/deno
c638f9ade18547b0b4e172a3d381d4a2f2a47af1
5f00b9700f044bc2878242a9102cc5cb557f36d7
fix(ext/node): reset statement immidiately in run() (#28506) Fixes https://github.com/denoland/deno/issues/28492
[ { "path": "ext/node/ops/sqlite/statement.rs", "patch": "@@ -449,9 +449,11 @@ impl StatementSync {\n \n self.bind_params(scope, params)?;\n \n- let _reset = ResetGuard(self);\n+ let reset = ResetGuard(self);\n \n self.step()?;\n+ // Reset to return correct change metadata.\n+ drop(reset);...
2025-03-15T14:44:24
mrdoob/three.js
2675b7b2055dd8c714b16d6fee28ecbd0387f58e
be3145a6e85b3ef605f419619b37543d944381ed
EffectComposer: Fix resizing of webgl2_multisampled_renderbuffers demo. (#25942)
[ { "path": "examples/jsm/postprocessing/EffectComposer.js", "patch": "@@ -14,10 +14,11 @@ class EffectComposer {\n \n \t\tthis.renderer = renderer;\n \n+\t\tthis._pixelRatio = renderer.getPixelRatio();\n+\n \t\tif ( renderTarget === undefined ) {\n \n \t\t\tconst size = renderer.getSize( new Vector2() );\n-\...
2023-04-26T20:18:47
golang/go
d000963d045bb279d347dbd3551e9468422c17af
5a1f47a7f716ce0dbd88128d18ce556dd9280c68
cmd/internal/obj/riscv: reject invalid vadc/vsbc encodings The RISC-V Instruction Set Manual Volume states that "for vadc and vsbc, the instruction encoding is reserved if the destination vector register is v0". The assembler currently allows instructions like VADCVVM V1, V2, V0, V0 to be assembled. It's not clear w...
[ { "path": "src/cmd/asm/internal/asm/testdata/riscv64.s", "patch": "@@ -623,17 +623,27 @@ start:\n \tVADCVXM\t\tX11, V2, V0, V3\t\t\t// d7c12540\n \tVADCVIM\t\t$15, V2, V0, V3\t\t\t// d7b12740\n \tVMADCVVM\tV1, V2, V0, V3\t\t\t// d7812044\n+\tVMADCVVM\tV1, V2, V0, V0\t\t\t// 57802044\n \tVMADCVXM\tX11, V2, V...
2025-05-01T08:43:32
denoland/deno
4f738660b974a57bcac73004ead03ef41edd1d08
30aa94010a3f59c45cc551c0e1487291f2f5096f
feat: support FORCE_COLOR (#28490) fixes https://github.com/denoland/deno/issues/17229
[ { "path": "Cargo.lock", "patch": "@@ -926,7 +926,7 @@ dependencies = [\n \"deno_cache_dir\",\n \"deno_lockfile\",\n \"deno_semver\",\n- \"deno_terminal 0.2.0\",\n+ \"deno_terminal 0.2.2\",\n \"deno_tower_lsp\",\n \"deno_unsync\",\n \"fastwebsockets\",\n@@ -1512,7 +1512,7 @@ dependencies = [\n \"deno_...
2025-03-14T14:15:29
mrdoob/three.js
be3145a6e85b3ef605f419619b37543d944381ed
3a1c9704c411ffc9e000f55ca53b95c021257107
Examples: Fix resizing of webgl2_multisampled_renderbuffers demo. (#25941)
[ { "path": "examples/webgl2_multisampled_renderbuffers.html", "patch": "@@ -138,12 +138,14 @@\n \t\t\t\t//\n \n \t\t\t\tcomposer1 = new EffectComposer( renderer );\n+\t\t\t\tcomposer1.setPixelRatio( window.devicePixelRatio );\n \t\t\t\tcomposer1.addPass( renderPass );\n \t\t\t\tcomposer1.addPass( copyPass );...
2023-04-26T18:41:32
golang/go
5a1f47a7f716ce0dbd88128d18ce556dd9280c68
d13da63929df73ab506314f35524ebb9b0f8a216
cmd/internal/obj/riscv: fix LMUL encoding for MF2 and MF8 The encodings for the riscv64 special operands SPOP_MF2 and SPOP_MF8 are incorrect, i.e., their values are swapped. This leads to incorrect encodings for the VSETVLI and VSETIVLI instructions. The assembler currently encodes VSETVLI X10, E32, MF8, TA, MA, X1...
[ { "path": "src/cmd/asm/internal/asm/testdata/riscv64.s", "patch": "@@ -438,9 +438,9 @@ start:\n \tVSETVLI\tX10, E32, M2, TA, MA, X12\t\t// 5776150d\n \tVSETVLI\tX10, E32, M4, TA, MA, X12\t\t// 5776250d\n \tVSETVLI\tX10, E32, M8, TA, MA, X12\t\t// 5776350d\n-\tVSETVLI\tX10, E32, MF2, TA, MA, X12\t\t// 577655...
2025-05-06T11:02:34
mrdoob/three.js
f9035d864253f131b767cc9b0ebf340eb1738891
c1bc1bfcb68d10eb75cdc671cdade28a7b21d312
Examples: Improved WebGPU error message.
[ { "path": "examples/jsm/capabilities/WebGPU.js", "patch": "@@ -14,7 +14,7 @@ class WebGPU {\n \n \tstatic getErrorMessage() {\n \n-\t\tconst message = 'Your browser does not support <a href=\"https://gpuweb.github.io/gpuweb/\" style=\"color:blue\">WebGPU</a> yet.';\n+\t\tconst message = 'Your browser does n...
2023-04-26T05:18:59
denoland/deno
30aa94010a3f59c45cc551c0e1487291f2f5096f
ea982cba78fa8b820af00dd3f0839641a6b58fae
fix(lsp): auto-import from npm package exports with manual node_modules (#28414)
[ { "path": "cli/lsp/resolver.rs", "patch": "@@ -43,6 +43,7 @@ use node_resolver::cache::NodeResolutionThreadLocalCache;\n use node_resolver::DenoIsBuiltInNodeModuleChecker;\n use node_resolver::NodeResolutionKind;\n use node_resolver::NodeResolverOptions;\n+use node_resolver::PackageJson;\n use node_resolver...
2025-03-13T20:29:17
golang/go
0c15d88974e5bb4285d6cdf6ef125e1e4d438c6d
ef7724c4324f6bac40463a12e4fea43ff0b4a8e8
runtime: fix tag pointers on aix, take 2 Previous fix in CL 667715 wasn't correct for aix. Change-Id: I44042786079463967165507b15756cf24b9a213a Reviewed-on: https://go-review.googlesource.com/c/go/+/668036 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam...
[ { "path": "src/runtime/tagptr_64bit.go", "patch": "@@ -66,6 +66,9 @@ func (tp taggedPointer) pointer() unsafe.Pointer {\n \t\t// val before unpacking.\n \t\treturn unsafe.Pointer(uintptr(int64(tp) >> tagBits << tagAlignBits))\n \t}\n+\tif GOOS == \"aix\" {\n+\t\treturn unsafe.Pointer(uintptr((tp >> tagBits ...
2025-04-25T17:09:44
mrdoob/three.js
c1bc1bfcb68d10eb75cdc671cdade28a7b21d312
6a68319102833f16dfdaf9343a49c601f097dd94
NodeBuilder: Fix item size if there is no padding (#25934) * WebGPUBackground: Fix frustumCulled and cleanup * NodeBuilder: Fix item size if there is no padding
[ { "path": "examples/jsm/nodes/core/NodeBuilder.js", "patch": "@@ -30,6 +30,8 @@ const typeFromArray = new Map( [\n \t[ Float32Array, 'float' ]\n ] );\n \n+const isNonPaddingElementArray = new Set( [ Int32Array, Uint32Array, Float32Array ] );\n+\n const toFloat = ( value ) => {\n \n \tvalue = Number( value )...
2023-04-25T18:03:39
denoland/deno
424a2f3b57dff5a0fb4b7a3f56c0e03e86617ac3
c892cd88c8ffe9886c3538cf2b6015ea833225b1
fix(ext/node): correct `STATUS_CODES` strings (#28489) Matches Node.js `http.STATUS_CODES` values now. Deno is currently exporting an enum directly, which 1) adds keys like `BadRequest` and 2) ships the status-text strings as non-space-delimited values (eg, `'BadRequest`` instead of `'Bad Request'`) Signed-off-by: Lu...
[ { "path": "ext/node/polyfills/_http_server.ts", "patch": "@@ -1,135 +1,135 @@\n // Copyright 2018-2025 the Deno authors. MIT license.\n \n-export enum STATUS_CODES {\n+export const STATUS_CODES = {\n /** RFC 7231, 6.2.1 */\n- Continue = 100,\n+ 100: \"Continue\",\n /** RFC 7231, 6.2.2 */\n- Switching...
2025-03-13T18:21:08
golang/go
94c4cdc94869454eb25c725c5f4a92ff305ffa3b
591c4b50c0d8c61087c30261efd5e97668625e06
runtime: remove GODEBUG=runtimecontentionstacks Go 1.22 promised to remove the setting in a future release once the semantics of runtime-internal lock contention matched that of sync.Mutex. That work is done, remove the setting. Previously reviewed as https://go.dev/cl/585639. For #66999 Change-Id: I9fe62558ba0ac12...
[ { "path": "doc/godebug.md", "patch": "@@ -169,6 +169,9 @@ Go command will follow symlinks to regular files embedding files.\n The default value `embedfollowsymlinks=0` does not allow following\n symlinks. `embedfollowsymlinks=1` will allow following symlinks.\n \n+Go 1.25 corrected the semantics of contenti...
2025-04-29T21:39:11
mrdoob/three.js
6a68319102833f16dfdaf9343a49c601f097dd94
9fc2bfb4fdebb857a0885306321bafad80bcdef1
WebGPURenderer: Improve vertex format support and revisions. (#25924) * EnvironmentNode: Fix flipY after improve positionWorldDirection * WebGPUBackground: Fix clip background * WebGPURenderer: Added update from https://github.com/mrdoob/three.js/pull/25913 * WebGPURenderer: Improve vertex format support. ...
[ { "path": "examples/files.json", "patch": "@@ -340,6 +340,7 @@\n \t\t\"webgpu_lights_phong\",\n \t\t\"webgpu_lights_selective\",\n \t\t\"webgpu_loader_gltf\",\n+\t\t\"webgpu_loader_gltf_compressed\",\n \t\t\"webgpu_materials\",\n \t\t\"webgpu_materials_video\",\n \t\t\"webgpu_particles\",", "additions":...
2023-04-25T16:38:48
denoland/deno
c892cd88c8ffe9886c3538cf2b6015ea833225b1
28e5c388b40799cd321eb0c2f8806b0788be464e
chore(ext/fetch): re-export FsError to implement FetchPermissions (#28485) Currently, there is no way to implement `FetchPermissions` without importing `FsError` from `deno_fs` directly. This PR aims to re-export the `FsError` from `deno_fetch` itself to allow it.
[ { "path": "ext/fetch/lib.rs", "patch": "@@ -46,7 +46,7 @@ use deno_core::RcRef;\n use deno_core::Resource;\n use deno_core::ResourceId;\n use deno_error::JsErrorBox;\n-use deno_fs::FsError;\n+pub use deno_fs::FsError;\n use deno_path_util::PathToUrlError;\n use deno_permissions::PermissionCheckError;\n use ...
2025-03-13T15:34:56
golang/go
591c4b50c0d8c61087c30261efd5e97668625e06
4d0f955a5e2a7c3310f15983b643ff5bf5fc1351
runtime: verify attribution of mutex delay Have the test use the same clock (cputicks) as the profiler, and use the test's own measurements as hard bounds on the magnitude to expect in the profile. Compare the depiction of two users of the same lock: one where the critical section is fast, one where it is slow. Confi...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -40,6 +40,8 @@ var Atoi32 = atoi32\n var ParseByteCount = parseByteCount\n \n var Nanotime = nanotime\n+var Cputicks = cputicks\n+var CyclesPerSecond = pprof_cyclesPerSecond\n var NetpollBreak = netpollBreak\n var Usleep = usleep\n ", "additions": 2, ...
2024-05-16T22:48:36
mrdoob/three.js
9fc2bfb4fdebb857a0885306321bafad80bcdef1
49cee8ee8dcae800e026e87f4857a4853a3a4322
Docs: Fix broken signatures. (#25931)
[ { "path": "docs/api/en/animation/AnimationAction.html", "patch": "@@ -168,8 +168,7 @@ <h3>[property:Boolean zeroSlopeAtStart]</h3>\n \t\t<h2>Methods</h2>\n \n \t\t<h3>\n-\t\t\t[method:this crossFadeFrom]( [param:AnimationAction fadeOutAction],\n-\t\t\t[param:Number durationInSeconds], [param:Boolean warpBoo...
2023-04-25T10:43:01
denoland/deno
b204cdc512b72ce894889b3569f2e1a75f11e459
dcfaba0f3a943bbf311b73579d8eaf3d0eedb04a
chore: fix build on main (#28487)
[ { "path": "ext/telemetry/util.ts", "patch": "@@ -35,9 +35,3 @@ export function updateSpanFromError(span: Span, error: any) {\n span.setAttribute(\"error.type\", error.name ?? \"Error\");\n span.setStatus({ code: 2, message: error.message ?? String(error) });\n }\n-\n-// deno-lint-ignore no-explicit-any\...
2025-03-13T11:58:52
golang/go
4d0f955a5e2a7c3310f15983b643ff5bf5fc1351
bce8486ebec8b2f62f2305b2a17cc5aec8202507
runtime: blame unlocker for mutex delay Correct how the mutex contention profile reports on runtime-internal mutex values, to match sync.Mutex's semantics. Decide at the start of unlock2 whether we'd like to collect a contention sample. If so: Opt in to a slightly slower unlock path which avoids accidentally acceptin...
[ { "path": "src/runtime/lock_spinbit.go", "patch": "@@ -86,7 +86,8 @@ func key8(p *uintptr) *uint8 {\n // forming a singly-linked list with the mutex's key field pointing to the head\n // of the list.\n type mWaitList struct {\n-\tnext muintptr // next m waiting for lock\n+\tnext muintptr // next m wai...
2025-04-22T16:21:30
mrdoob/three.js
880839159ef3a3baad6d4961d905538a61b8d499
888ced843e1c35c3a55d9be260202b3af3b2eeca
Workaround bug in firefox. (#25918) Without this change, each editor adds to the browser's history and you have to click the back button once for each editor
[ { "path": "manual/examples/resources/editor.js", "patch": "@@ -1711,7 +1711,9 @@ async function openInStackBlitz() {\n \n \t\tg.setPosition = false;\n \t\tconst url = getSourceBlobFromEditor();\n-\t\tg.iframe.src = url;\n+\t\t// g.iframe.src = url;\n+\t\t// work around firefox bug: https://bugzilla.mozilla....
2023-04-25T00:36:58
denoland/deno
dcfaba0f3a943bbf311b73579d8eaf3d0eedb04a
c9930c591a2f988864e7a87e5e8275dd284ec4ca
fix(otel/unstable): trace error cases of fetch (#28480)
[ { "path": "ext/fetch/26_fetch.js", "patch": "@@ -65,6 +65,7 @@ import {\n TRACING_ENABLED,\n } from \"ext:deno_telemetry/telemetry.ts\";\n import {\n+ updateSpanFromError,\n updateSpanFromRequest,\n updateSpanFromResponse,\n } from \"ext:deno_telemetry/util.ts\";\n@@ -378,6 +379,11 @@ function fetch(...
2025-03-13T08:47:00