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
denoland/deno
9f877ac5bdfbf9a5699b2248c78f220b3f9cc2a2
1a30b7450b2380228d8b0e3e5278ec352bef01c6
fix(lint): run with --no-prompt (#28305) Ref https://github.com/denoland/deno/issues/28258 This commit forces lint plugins to run with `--no-prompt` flag, bringing parity between running plugins in the LSP and via `deno lint`. There's no agreement how to handle permissions in the lint plugins yet, so it's bet...
[ { "path": "cli/tools/lint/plugins.rs", "patch": "@@ -31,6 +31,7 @@ use tokio::sync::oneshot;\n use crate::args::DenoSubcommand;\n use crate::args::Flags;\n use crate::args::LintFlags;\n+use crate::args::PermissionFlags;\n use crate::factory::CliFactory;\n use crate::ops::lint::LintPluginContainer;\n use cra...
2025-02-26T14:15:56
golang/go
93e4e26d5b909c3dbeeb638534461155f06ecf5c
489917fc400ee25d34dfb06306da3b3cef126963
runtime: fix typos in comments Change-Id: Id169b68cc93bb6eb4cdca384efaaf971fcfa32b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/666316 Reviewed-by: abner chenc <chenguoqi@loongson.cn> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gser...
[ { "path": "src/runtime/mkduff.go", "patch": "@@ -179,8 +179,8 @@ func copyARM64(w io.Writer) {\n \n func zeroLOONG64(w io.Writer) {\n \t// R0: always zero\n-\t// R19 (aka REGRT1): ptr to memory to be zeroed\n-\t// On return, R19 points to the last zeroed dword.\n+\t// R20: ptr to memory to be zeroed\n+\t// ...
2025-04-17T12:21:29
denoland/deno
1a30b7450b2380228d8b0e3e5278ec352bef01c6
bd372dcdc2ecd4cd4345c044949e94f070e3c3f3
fix(ext/node): node compatibility issue missing fd in createServer callback socket object (#27789)
[ { "path": "ext/net/01_net.js", "patch": "@@ -5,6 +5,7 @@ const {\n BadResourcePrototype,\n InterruptedPrototype,\n internalRidSymbol,\n+ internalFdSymbol,\n createCancelHandle,\n } = core;\n import {\n@@ -99,13 +100,17 @@ class Conn {\n \n #readable;\n #writable;\n-\n- constructor(rid, remoteA...
2025-02-26T05:52:18
mrdoob/three.js
08727dd9e942da5d6fcd6be560735fd478fe43c9
f4eac4a481ee5e653e0fcc585894cd2436655412
Refactor PBR shaders (#25693) * pull in shader refactor from anisotropy branch * removed vestiges of anisotropy * vTBN -> tbn * fixed flat shading * Space -> Frame * revert so doubleside does not affect flat shaded
[ { "path": "src/renderers/shaders/ShaderChunk/bsdfs.glsl.js", "patch": "@@ -1,236 +1,5 @@\n export default /* glsl */`\n \n-vec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n-\n-\treturn RECIPROCAL_PI * diffuseColor;\n-\n-} // validated\n-\n-vec3 F_Schlick( const in vec3 f0, const in float f90, const in flo...
2023-03-23T08:32:03
denoland/deno
cbdbc75031b5b8992adce36a3423582a813d1415
0f76f6c211cd0a4017c9ea1fdecddf4703238eed
fix(add): better help text for --dev arg (#28304) Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com>
[ { "path": "cli/args/flags.rs", "patch": "@@ -1660,8 +1660,7 @@ fn add_dev_arg() -> Arg {\n Arg::new(\"dev\")\n .long(\"dev\")\n .short('D')\n- .help(\"Add as a dev dependency\")\n- .long_help(\"Add the package as a dev dependency. Note: This only applies when adding to a `package.json` file....
2025-02-25T23:50:45
mrdoob/three.js
728bfed8712f4c7277f68d527f91a18f51732d50
2ca66f1fd94ad21cba6381ff47bbbe9564337a3a
Editor: Fix broken material tab when `Texture.image` is null. (#25703)
[ { "path": "editor/js/libs/ui.three.js", "patch": "@@ -146,7 +146,7 @@ class UITexture extends UISpan {\n \n \t\t\tconst image = texture.image;\n \n-\t\t\tif ( image !== undefined && image.width > 0 ) {\n+\t\t\tif ( image !== undefined && image !== null && image.width > 0 ) {\n \n \t\t\t\tcanvas.title = text...
2023-03-22T08:50:36
denoland/deno
9a2386c82d0914582714828f1e87e95c7dda91a5
ee4c14a550ff65d1982425922cf116cda0066954
chore: fix linter error on `main` (#28301) https://github.com/denoland/deno/actions/runs/13526501249/job/37798308222
[ { "path": "ext/node/ops/sqlite/statement.rs", "patch": "@@ -393,7 +393,7 @@ impl StatementSync {\n \n struct ResetGuard<'a>(&'a StatementSync);\n \n-impl<'a> Drop for ResetGuard<'a> {\n+impl Drop for ResetGuard<'_> {\n fn drop(&mut self) {\n let _ = self.0.reset();\n }", "additions": 1, "del...
2025-02-25T18:11:00
mrdoob/three.js
946f27f70a9a05be1bedd54b58a81adaceb04b10
464e9adc17de52d8b65449350cc02560625498b0
MeshStandardNodeMaterial: Fix specular color node. (#25700)
[ { "path": "examples/jsm/nodes/materials/MeshStandardNodeMaterial.js", "patch": "@@ -1,7 +1,7 @@\n import NodeMaterial, { addNodeMaterial } from './NodeMaterial.js';\n import { diffuseColor, metalness, roughness, specularColor } from '../core/PropertyNode.js';\n import { mix } from '../math/MathNode.js';\n-i...
2023-03-22T01:28:01
golang/go
8a85a2e70a97773ac96e899df7411eda4f5da2cb
7d0cb2a2adec493b8ad9d79ef35354c8e20f0213
runtime, internal/runtime/maps: speed-up empty/zero map lookups This lets the inliner do a better job optimizing the mapKeyError call. goos: linux goarch: amd64 pkg: runtime cpu: AMD Ryzen 5 4600G with Radeon Graphics │ /tmp/before2 │ /tmp/after3 │ ...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -2359,8 +2359,8 @@ var blockedLinknames = map[string][]string{\n \t\"crypto/internal/sysrand.fatal\": {\"crypto/internal/sysrand\"},\n \t\"crypto/rand.fatal\": {\"crypto/rand\"},\n \t\"internal/runtime/maps.errNilAs...
2025-04-07T13:21:16
denoland/deno
e66ef32a8f55b0ac8388542c447e383cfb611f23
b9cffda7c9eb3d7a2564cbaf9411b69f8901e979
fix(ext/node): SQLite reset guards to prevent database locks (#28298) Fixes https://github.com/denoland/deno/issues/28295
[ { "path": "ext/node/ops/sqlite/statement.rs", "patch": "@@ -391,6 +391,14 @@ impl StatementSync {\n }\n }\n \n+struct ResetGuard<'a>(&'a StatementSync);\n+\n+impl<'a> Drop for ResetGuard<'a> {\n+ fn drop(&mut self) {\n+ let _ = self.0.reset();\n+ }\n+}\n+\n // Represents a single prepared statement. ...
2025-02-25T13:57:55
mrdoob/three.js
464e9adc17de52d8b65449350cc02560625498b0
f83bc569da527d2821a428ffaead8b29b5f847a5
NodeMaterial: Fix backward compatibility of scene.environment. (#25698)
[ { "path": "examples/jsm/nodes/materials/NodeMaterial.js", "patch": "@@ -11,6 +11,7 @@ import { positionLocal } from '../accessors/PositionNode.js';\n import { reference } from '../accessors/ReferenceNode.js';\n import { skinning } from '../accessors/SkinningNode.js';\n import { texture } from '../accessors/...
2023-03-21T20:36:46
golang/go
7a177114df3e26f4362378e907a869c4fbbf38b7
7ce45a014c52375d6a3da577828c9f035a72857a
runtime: commit to spinbitmutex GOEXPERIMENT Use the "spinbit" mutex implementation always (including on platforms that need to emulate atomic.Xchg8), and delete the prior "tristate" implementations. The exception is GOARCH=wasm, where the Go runtime does not use multiple threads. For #68578 Change-Id: Ifc29bbfa050...
[ { "path": "src/internal/buildcfg/exp.go", "patch": "@@ -67,8 +67,6 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {\n \t\tregabiSupported = true\n \t}\n \n-\thaveThreads := goarch != \"wasm\"\n-\n \t// Older versions (anything before V16) of dsymutil don't handle\n \t// the ...
2025-03-14T19:38:34
mrdoob/three.js
f83bc569da527d2821a428ffaead8b29b5f847a5
911afb27969c653a8c0800c8ec460111830e01c7
FBXLoader: Fix DeformPercent regex. (#25689) * fix: re match DeformPercent * Update FBXLoader.js --------- Co-authored-by: timmyliang <weitian.liang@mihoyo.com> Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
[ { "path": "examples/jsm/loaders/FBXLoader.js", "patch": "@@ -2447,7 +2447,7 @@ class AnimationParser {\n \n \t\t\t\t\tcurveNodesMap.get( animationCurveID ).curves[ 'z' ] = animationCurve;\n \n-\t\t\t\t} else if ( animationCurveRelationship.match( /d|DeformPercent/ ) && curveNodesMap.has( animationCurveID ) ...
2023-03-20T09:58:25
denoland/deno
4ba166b2078a56819a9425c16a13860cc019fd07
f9166797d25e058ad6ac0e93e01d121d9b76f877
fix(http): generate `OtelInfo` only when otel metrics are enabled (#28286)
[ { "path": "cli/main.rs", "patch": "@@ -458,7 +458,10 @@ fn resolve_flags_and_init(\n };\n \n let otel_config = flags.otel_config();\n- deno_telemetry::init(deno_lib::version::otel_runtime_config(), &otel_config)?;\n+ deno_telemetry::init(\n+ deno_lib::version::otel_runtime_config(),\n+ otel_conf...
2025-02-25T04:27:35
golang/go
7ce45a014c52375d6a3da577828c9f035a72857a
95611c0eb4436102ab0dad3a705acff5f5eb7aca
runtime: fix test of when a mutex is contended This is used only in tests that verify reports of runtime-internal mutex contention. For #66999 For #70602 Change-Id: I72cb1302d8ea0524f1182ec892f5c9a1923cddba Reviewed-on: https://go-review.googlesource.com/c/go/+/667095 Reviewed-by: Michael Knyszek <mknyszek@google.co...
[ { "path": "src/runtime/lock_spinbit.go", "patch": "@@ -143,7 +143,7 @@ func mutexPreferLowLatency(l *mutex) bool {\n }\n \n func mutexContended(l *mutex) bool {\n-\treturn atomic.Loaduintptr(&l.key) > mutexLocked\n+\treturn atomic.Loaduintptr(&l.key)&^mutexMMask != 0\n }\n \n func lock(l *mutex) {", "ad...
2025-04-08T18:34:56
denoland/deno
f9166797d25e058ad6ac0e93e01d121d9b76f877
234deac8561eb6a8c9ef3dbfee40407db5bec409
fix(lint): plugins ignored when no rust rule active (#28269) When all Rust-based rules where filtered out we were bailing out early instead of checking if there are plugin rules we need to run. This meant we errored out with a "No lint rules to run" message, even though plugin rules were active. Fixes https://gi...
[ { "path": "cli/tools/lint/mod.rs", "patch": "@@ -18,6 +18,7 @@ use deno_config::glob::FileCollector;\n use deno_config::glob::FilePatterns;\n use deno_config::workspace::WorkspaceDirectory;\n use deno_core::anyhow::anyhow;\n+use deno_core::anyhow::bail;\n use deno_core::error::AnyError;\n use deno_core::fut...
2025-02-24T22:35:49
mrdoob/three.js
911afb27969c653a8c0800c8ec460111830e01c7
d3c582c7ca024fdc8466df2e44e07d90e6113e2b
TSL: ScriptableNode (#25685) * CodeNode: Added language and serialize. * TSL: Renamed inversesqrt -> inverseSqrt, faceforward -> faceForward, * TSL: Added saturate * TSL: Different params order if method chaining is used. * Nodes: Change mix order and added FogNode.mixAssign() * Node: Ignore private pro...
[ { "path": "examples/jsm/nodes/Nodes.js", "patch": "@@ -9,12 +9,8 @@ export { default as ArrayUniformNode /* @TODO: arrayUniform */ } from './core/Ar\n export { default as AttributeNode, attribute } from './core/AttributeNode.js';\n export { default as BypassNode, bypass } from './core/BypassNode.js';\n expo...
2023-03-20T05:20:42
golang/go
04a9b16f3d69aa66f3aaab44dcd322e4a02a82aa
c0245b31fb157590b69245f7dff27f0605b73138
cmd/compile/internal/escape: avoid reading ir.Node during inner loop of walkOne Broadly speaking, escape analysis has two main phases. First, it traverses the AST while building a data-flow graph of locations and edges. Second, during "solve", it repeatedly walks the data-flow graph while carefully propagating informa...
[ { "path": "src/cmd/compile/internal/escape/graph.go", "patch": "@@ -75,6 +75,8 @@ type location struct {\n \tcaptured bool // has a closure captured this variable?\n \treassigned bool // has this variable been reassigned?\n \taddrtaken bool // has this variable's address been taken?\n+\tparam bool /...
2025-03-12T18:45:17
mrdoob/three.js
705e47d035591cb5a2e9cc83aa3576e21a4bf2c0
f5989f759c32859d965eab187d65b08b4bb4951d
Examples: Fix webgl_geometry_spline_editor.html (#25690) Call render() after detach so that the tooltip disappears when clicking away from the selected helper point, as one would expect.
[ { "path": "examples/webgl_geometry_spline_editor.html", "patch": "@@ -368,7 +368,12 @@\n \t\t\t\tonUpPosition.x = event.clientX;\n \t\t\t\tonUpPosition.y = event.clientY;\n \n-\t\t\t\tif ( onDownPosition.distanceTo( onUpPosition ) === 0 ) transformControl.detach();\n+\t\t\t\tif ( onDownPosition.distanceTo( ...
2023-03-19T09:18:17
golang/go
ad0434200c4b17c339852c8c0ec0c0212f8563d9
a4d0269a4f74e8a66ee7487491857e1a1c582231
fs: clarify documentation for ReadDir method The fs.ReadDir method behaves the same way as os.ReadDir, in that when n <= 0, ReadDir returns all DirEntry values remaining in the dictionary. Update the comment to reflect that only remaining DirEntry values are returned (not all entries), for subsequent calls. Fixes #6...
[ { "path": "src/io/fs/fs.go", "patch": "@@ -129,7 +129,7 @@ type ReadDirFile interface {\n \t// At the end of a directory, the error is io.EOF.\n \t// (ReadDir must return io.EOF itself, not an error wrapping io.EOF.)\n \t//\n-\t// If n <= 0, ReadDir returns all the DirEntry values from the directory\n+\t// ...
2025-04-05T20:56:42
mrdoob/three.js
f5989f759c32859d965eab187d65b08b4bb4951d
23acb653425e78265a524ae810d042465e4276a4
3DMLoader: Clean up (#25423) * 3DMLoader: Clean up * Update 3DMLoader.js * Update 3DMLoader.js * Revert materials comparison change * Fix `elements` * Update 3DMLoader.js * Update 3DMLoader.js * Update 3DMLoader.js --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.or...
[ { "path": "examples/jsm/loaders/3DMLoader.js", "patch": "@@ -21,7 +21,8 @@ import {\n \tLinearFilter,\n \tClampToEdgeWrapping,\n \tRepeatWrapping,\n-\tTextureLoader\n+\tTextureLoader,\n+\tDoubleSide\n } from 'three';\n \n const _taskCache = new WeakMap();\n@@ -189,6 +190,8 @@ class Rhino3dmLoader extends Lo...
2023-03-18T09:39:19
denoland/deno
234deac8561eb6a8c9ef3dbfee40407db5bec409
6ac6e933dcc26bba5fde7f66489b17a8e64c31e9
fix(config): allow specifying absolute path for patch and fix panic with exports in package.json (#28279) Closes #28250 Closes #26031
[ { "path": "Cargo.lock", "patch": "@@ -1717,9 +1717,9 @@ dependencies = [\n \n [[package]]\n name = \"deno_config\"\n-version = \"0.49.1\"\n+version = \"0.50.0\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"1bbde052743fd8729836d337de950fbffd79e3edb6fa8d5894e95b7d62dea15...
2025-02-24T17:33:01
golang/go
a4d0269a4f74e8a66ee7487491857e1a1c582231
7f516a31b021f15c1053c3ebed1fe1aa644d60e3
math/big: use clearer loop bounds check elimination Checking that the lengths are equal and panicking teaches the compiler that it can assume “i in range for z” implies “i in range for x”, letting us simplify the actual loops a bit. It also turns up a few places in math/big that were playing maybe a little too fast a...
[ { "path": "src/math/big/arith.go", "patch": "@@ -26,17 +26,13 @@ const (\n \t_M = _B - 1 // digit mask\n )\n \n-// Many of the loops in this file are of the form\n-// for i := 0; i < len(z) && i < len(x) && i < len(y); i++\n-// i < len(z) is the real condition.\n-// However, checking i < len(x) && ...
2025-04-11T12:54:58
mrdoob/three.js
356f0365be28c8625a320610504a346c9917415d
794bbb02acf005797fd473d25a1e876a916e8579
WebGLRenderer: Add `onShaderError()`. (#25679)
[ { "path": "docs/api/en/renderers/WebGLRenderer.html", "patch": "@@ -97,11 +97,15 @@ <h3>[property:Boolean autoClearStencil]</h3>\n \t\t<h3>[property:Object debug]</h3>\n \t\t<p>\n \t\t- [page:Boolean checkShaderErrors]:\n-\t\t If it is true, defines whether material shader programs are checked\n+\t\t\tIf i...
2023-03-17T14:42:36
denoland/deno
6ac6e933dcc26bba5fde7f66489b17a8e64c31e9
93a1bb738a0d554fb0a4bd31a41fa6667ea233c1
fix(lint): update deno_lint (#28271) Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
[ { "path": "Cargo.lock", "patch": "@@ -1581,9 +1581,9 @@ dependencies = [\n \n [[package]]\n name = \"deno_ast\"\n-version = \"0.44.0\"\n+version = \"0.45.1\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"eebc7aaabfdb3ddcad32aee1b62d250149dc8b35dfbdccbb125df2bdc62da952\"...
2025-02-24T17:05:17
golang/go
b44b360dd40a537e953225d70ca96361e2c57600
930cf59ba8091bfd56c71357085bc7de74daf421
math/big: add more complete tests and benchmarks of assembly Also fix a few real but currently harmless bugs from CL 664895. There were a few places that were still wrong if z != x or if a != 0. Change-Id: Id8971e2505523bc4708780c82bf998a546f4f081 Reviewed-on: https://go-review.googlesource.com/c/go/+/664897 LUCI-Try...
[ { "path": "src/math/big/arith_amd64.s", "patch": "@@ -430,7 +430,7 @@ adx:\n \tMOVQ y+48(FP), R8\n \tMOVQ m+72(FP), DX\n \tMOVQ $0, BX // i = 0\n-\tMOVQ $0, CX // carry\n+\tMOVQ a+80(FP), CX // carry\n \tCMPQ R11, $8\n \tJAE adx_loop_header\n \tCMPQ BX, R11\n@@ -446,7 +446,7 @@ adx_loop:\n \tMULXQ (R...
2025-03-30T20:56:29
mrdoob/three.js
114134e195a451fdbaa8d2e9492d869d5c853814
ed6458e374663e33a0ac74a05beb025e0b3f8681
GLTFLoader: Prevents set data uri in texture.name. (#25682) * GLTFLoader: Prevents set data uri in texture.name. * cleanup * fix maybe optional value * cleanup
[ { "path": "examples/jsm/loaders/GLTFLoader.js", "patch": "@@ -2988,7 +2988,13 @@ class GLTFParser {\n \n \t\t\ttexture.flipY = false;\n \n-\t\t\ttexture.name = textureDef.name || sourceDef.name || sourceDef.uri || '';\n+\t\t\ttexture.name = textureDef.name || sourceDef.name || '';\n+\n+\t\t\tif ( texture.na...
2023-03-17T00:57:42
denoland/deno
93a1bb738a0d554fb0a4bd31a41fa6667ea233c1
0fbab02d0f07ccbf43d1ba878e6582fc93a78eb5
fix(lint): give access to SourceCode in 'deno test' (#28278) Closes https://github.com/denoland/deno/issues/28273
[ { "path": "cli/js/40_lint.js", "patch": "@@ -17,6 +17,7 @@ const {\n } = core.ops;\n \n let doReport = op_lint_report;\n+let doGetSource = op_lint_get_source;\n \n // Keep these in sync with Rust\n const AST_IDX_INVALID = 0;\n@@ -264,7 +265,7 @@ export class SourceCode {\n */\n #getSource() {\n if ...
2025-02-24T16:21:16
golang/go
930cf59ba8091bfd56c71357085bc7de74daf421
28fd9fa8a6de5f5e75a3ca2eeaa55b5ae4a2722b
regexp/syntax: recognize category aliases like \p{Letter} The Unicode specification defines aliases for some of the general category names. For example the category "L" has alias "Letter". The regexp package supports \p{L} but not \p{Letter}, because there was nothing in the Unicode tables that lets regexp know about...
[ { "path": "doc/next/6-stdlib/99-minor/regexp/syntax/70781.md", "patch": "@@ -0,0 +1,4 @@\n+The `\\p{name}` and `\\P{name}` character class syntaxes now accept the names\n+Any, ASCII, Assigned, Cn, and LC, as well as Unicode category aliases like `\\p{Letter}` for `\\pL`.\n+Following [Unicode TR18](https://u...
2025-01-08T16:27:07
mrdoob/three.js
52bc37c7c1a5e40d122161cc9831eda211648940
61cff8609883c33d0a66437d28fc82f52b1e0154
CSS2DRenderer: Introduce CSS2DObject.center (#25673) * CSS2DRenderer: Introduce CSS2DObject.center * Update css2d_label screenshot * fix gui
[ { "path": "examples/css2d_label.html", "patch": "@@ -85,11 +85,10 @@\n \t\t\t\tcamera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.1, 200 );\n \t\t\t\tcamera.position.set( 10, 5, 20 );\n \t\t\t\tcamera.layers.enableAll();\n-\t\t\t\tcamera.layers.toggle( 1 );\n \n \t\t\t\tscen...
2023-03-15T19:16:45
denoland/deno
0fbab02d0f07ccbf43d1ba878e6582fc93a78eb5
bc71eb9541567bd7aa8629ea0b83e45ddb1ad807
fix: add info suggestion for `unsafely-ignore-certificate-errors` and add `--help=full` (#28203) For #27865
[ { "path": "Cargo.lock", "patch": "@@ -856,18 +856,18 @@ dependencies = [\n \n [[package]]\n name = \"clap\"\n-version = \"4.5.16\"\n+version = \"4.5.30\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019\"\n+c...
2025-02-24T16:20:59
mrdoob/three.js
979ecc78ecdcf6ba4bfd26d31f16e35e093b0e37
ca64c3f950e6f14e83fc188bf242cc5c1fb258a0
Fix a document translation omission (#25677) * Create a translation document of DataArrayTexture Create a Chinese translation document of DataArrayTexture * Update DataArrayTexture.html --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
[ { "path": "docs/api/zh/textures/DataArrayTexture.html", "patch": "@@ -0,0 +1,152 @@\n+<!DOCTYPE html>\n+<html lang=\"zh\">\n+\t<head>\n+\t\t<meta charset=\"utf-8\" />\n+\t\t<base href=\"../../../\" />\n+\t\t<script src=\"page.js\"></script>\n+\t\t<link type=\"text/css\" rel=\"stylesheet\" href=\"page.css\" ...
2023-03-15T16:45:56
golang/go
28fd9fa8a6de5f5e75a3ca2eeaa55b5ae4a2722b
252c939445b6b03c5c82b54f7657c5d984ce6348
unicode: add CategoryAliases, Cn, LC CategoryAliases is for regexp to use, for things like \p{Letter} as an alias for \p{L}. Cn and LC are special-case categories that were never implemented but should have been. These changes were generated by the updated generator in CL 641395. Fixes #70780. Change-Id: Ibba20ff76...
[ { "path": "api/next/70780.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg unicode, var CategoryAliases map[string]string #70780\n+pkg unicode, var Cn *RangeTable #70780\n+pkg unicode, var LC *RangeTable #70780", "additions": 3, "deletions": 0, "language": "Plain Text" }, { "path": "doc/next/6-stdl...
2025-01-08T16:21:30
denoland/deno
7fa8fc4b266b9f564be68fb63b00d9761bac4aab
0dc3e87cb73f0019be9b1efc0caeac3e974d8e7d
fix(ext/node): descriptive sqlite error messages (#28272) Fixes https://github.com/denoland/deno/issues/28259
[ { "path": "ext/node/ops/sqlite/mod.rs", "patch": "@@ -17,12 +17,12 @@ pub enum SqliteError {\n #[error(transparent)]\n SqliteError(#[from] rusqlite::Error),\n #[class(generic)]\n+ #[error(\"{0}\")]\n+ SqliteSysError(String),\n+ #[class(generic)]\n #[error(\"Database is already in use\")]\n InUs...
2025-02-24T12:25:36
mrdoob/three.js
0316541319438435a2919ae7d964f76e84026efa
d3f5af61c524fd8d56a43ac946c7f717e593aecb
Fix the Chinese translation of MeshToonMaterial (#25672) In the original version, the Chinese translation of MeshToonMaterial documents did not work properly. This update aims to fix this error
[ { "path": "docs/api/zh/materials/MeshToonMaterial.html", "patch": "@@ -11,7 +11,7 @@\n \n \t\t<h1>[name]</h1>\n \n-\t\t<div class=\"desc\">A material implementing toon shading.</div>\n+\t\t<div class=\"desc\">一种实现卡通着色的材质。</div>\n \n \t\t<iframe id=\"scene\" src=\"scenes/material-browser.html#MeshToonMateria...
2023-03-14T18:12:44
denoland/deno
0dc3e87cb73f0019be9b1efc0caeac3e974d8e7d
55dc6f4b9380d397dba82c79e51a8ec06b7676cd
fix(fmt): support "--ext vto" and "--ext njk" (#28262)
[ { "path": "cli/args/flags.rs", "patch": "@@ -2281,7 +2281,7 @@ Ignore formatting a file by adding an ignore comment at the top of the file:\n .value_parser([\n \"ts\", \"tsx\", \"js\", \"jsx\", \"md\", \"json\", \"jsonc\", \"css\", \"scss\",\n \"sass\", \"less\", \"html\", ...
2025-02-24T12:09:53
mrdoob/three.js
f9ae9899444a88a8fe2fcd1b847e9136d4a145bf
3b5cbe0209d4e552d3cf18b6ab075238f134426d
Documentation: Update "Installation" guide with clearer guidance on build tools and CDNs (#25468) * Remove 'How to run things locally', refresh intro navigation. * Overhaul Installation, Creating a scene. * Fix stray link * Add callout for <version> replacement * Update links * Update links * Clean u...
[ { "path": "docs/list.json", "patch": "@@ -5,10 +5,9 @@\n \t\t\"Manual\": {\n \n \t\t\t\"Getting Started\": {\n-\t\t\t\t\"Creating a scene\": \"manual/en/introduction/Creating-a-scene\",\n \t\t\t\t\"Installation\": \"manual/en/introduction/Installation\",\n+\t\t\t\t\"Creating a scene\": \"manual/en/introduct...
2023-03-09T19:22:49
golang/go
0e17905793cb5e0acc323a0cdf3733199d93976a
c889004615b40535ebd5054cbcf2deebdb3a299a
encoding/json: add json/v2 with GOEXPERIMENT=jsonv2 guard This imports the proposed new v2 JSON API implemented in github.com/go-json-experiment/json as of commit d3c622f1b874954c355e60c8e6b6baa5f60d2fed. When GOEXPERIMENT=jsonv2 is set, the encoding/json/v2 and encoding/jsontext packages are visible, the encoding/js...
[ { "path": "src/encoding/json/bench_test.go", "patch": "@@ -8,6 +8,8 @@\n // We benchmark converting between the JSON form\n // and in-memory data structures.\n \n+//go:build !goexperiment.jsonv2\n+\n package json\n \n import (", "additions": 2, "deletions": 0, "language": "Go" }, { "path...
2025-04-11T21:19:51
denoland/deno
55dc6f4b9380d397dba82c79e51a8ec06b7676cd
f373a20a6f2842cbc48c966278cffdcd334c683c
fix(lint): don't recurse infinitely for large ASTs (#28265) We previously failed to lint `./cli/tsc/00_typescript.js` with plugins, because every "next" node would cause a new stack frame to be added.
[ { "path": "cli/js/40_lint.js", "patch": "@@ -1150,54 +1150,52 @@ export function runPluginsForFile(fileName, serializedAst) {\n * @param {CancellationToken} cancellationToken\n */\n function traverse(ctx, visitors, idx, cancellationToken) {\n- if (idx === AST_IDX_INVALID) return;\n- if (cancellationToke...
2025-02-24T10:51:30
golang/go
b89988c5ca47a6a2022db689fa882134397d0f32
05ed8a00e07e93fd40cf8269bdf16d6d2b34740d
internal/poll: remove outdated tests TestFileFdsAreInitialised and TestSerialFdsAreInitialised were added to ensure handles passed to os.NewFile were not added to the runtime poller. This used to be problematic because the poller could crash if an external I/O event was received (see #21172). This is not an issue any...
[ { "path": "src/internal/poll/fd_windows_test.go", "patch": "@@ -20,77 +20,6 @@ func init() {\n \tpoll.InitWSA()\n }\n \n-// checkFileIsNotPartOfNetpoll verifies that f is not managed by netpoll.\n-func checkFileIsNotPartOfNetpoll(t *testing.T, f *os.File) {\n-\tt.Helper()\n-\tsc, err := f.SyscallConn()\n-\t...
2025-04-14T09:22:04
denoland/deno
f373a20a6f2842cbc48c966278cffdcd334c683c
2212d7d814914e43f43dfd945ee24197f50fa6fa
fix(cli): add `compilerOptions.lib` examples to config-file.v1.json (#28226) closes #28222
[ { "path": "cli/schemas/config-file.v1.json", "patch": "@@ -111,7 +111,35 @@\n \"uniqueItems\": true,\n \"default\": [\"deno.window\"],\n \"items\": {\n- \"type\": \"string\"\n+ \"type\": \"string\",\n+ \"examples\": [\n+ \"deno.ns\"...
2025-02-24T09:49:32
golang/go
05ed8a00e07e93fd40cf8269bdf16d6d2b34740d
7b263895f7dbe81ddd7c0fc399e6a9ae6fe2f5bf
internal/runtime/maps: prune tombstones in maps before growing Before growing, if there are lots of tombstones try to remove them. If we can remove enough, we can continue at the given size for a while longer. Fixes #70886 Change-Id: I71e0d873ae118bb35798314ec25e78eaa5340d73 Reviewed-on: https://go-review.googlesour...
[ { "path": "src/internal/runtime/maps/group.go", "patch": "@@ -106,6 +106,12 @@ func bitsetShiftOutLowest(b bitset) bitset {\n \treturn b >> 8\n }\n \n+// count returns the number of bits set in b.\n+func (b bitset) count() int {\n+\t// Note: works for both bitset representations (AMD64 and generic)\n+\tretu...
2025-01-07T05:53:22
denoland/deno
02611064145d381d9f671c93df61dbc49ad920e3
0a1b01d5a2d09021d12c5465c3e136214938db2d
fix(lsp): create cacheable `ExportInfoMap` per language service (#28240) This needs to be created per language service so that it can provide the current program correctly.
[ { "path": "cli/tsc/97_ts_host.js", "patch": "@@ -430,13 +430,6 @@ const hostImpl = {\n return projectVersion;\n },\n // @ts-ignore Undocumented method.\n- getCachedExportInfoMap() {\n- return exportMapCache;\n- },\n- getGlobalTypingsCacheLocation() {\n- return undefined;\n- },\n- // @ts-i...
2025-02-22T00:48:50
mrdoob/three.js
5d558d9bb8a0d1c8832e9595f1c703dbccf7fff3
0e29a44dcc8baaf74ca283bb8b43b8407e984f3d
CI: Show diff in bytes instead of percentage (#25630) * CI: Show diff in bytes instead of percentage * Fix order
[ { "path": ".github/workflows/read-size.yml", "patch": "@@ -40,9 +40,10 @@ jobs:\n TREESHAKEN=$(stat --format=%s test/treeshake/index.bundle.min.js)\n gzip -k test/treeshake/index.bundle.min.js\n TREESHAKEN_GZIP=$(stat --format=%s test/treeshake/index.bundle.min.js.gz)\n+ ...
2023-03-08T10:28:34
golang/go
7b263895f7dbe81ddd7c0fc399e6a9ae6fe2f5bf
3cefe69c5a5ad687f220696d4f8a2fe4d59241dd
database/sql: wake cleaner if maxIdleTime set to less than maxLifetime The existing implementation wouldn't wake the connection cleaner if maxIdleTime was set to a value less than maxLifetime while an existing connection was open - resulting in idle connections not being discarded until after the first maxLifetime had...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -1050,7 +1050,7 @@ func (db *DB) SetConnMaxLifetime(d time.Duration) {\n \t}\n \tdb.mu.Lock()\n \t// Wake cleaner up when lifetime is shortened.\n-\tif d > 0 && d < db.maxLifetime && db.cleanerCh != nil {\n+\tif d > 0 && d < db.shortestIdleTimeLocked() && db...
2023-03-09T11:16:56
denoland/deno
d20c6b5b7dfdb7722f9acaf7e22e1995b96effb7
876bac445a14d77867605c38c6866ab6a5cad21c
fix(install): don't error on unknown media types in install (#28234) Fixes https://github.com/denoland/deno/issues/28223 This is kind of an ugly fix, but it works, and I think is the easiest way to handle the fact that when caching the module graph we might encounter imports that won't actually error at runtime (for ...
[ { "path": "cli/graph_container.rs", "patch": "@@ -13,6 +13,7 @@ use deno_runtime::deno_permissions::PermissionsContainer;\n \n use crate::args::CliOptions;\n use crate::module_loader::ModuleLoadPreparer;\n+use crate::module_loader::PrepareModuleLoadOptions;\n use crate::util::fs::collect_specifiers;\n use c...
2025-02-21T20:20:55
mrdoob/three.js
352dfaaf1c2317f0cf8cc51422c01a7a1c9707a8
7ef102e30ed3172e2a3c3c5b8e53b90f2544c920
Docs: zh translation including Object3D,Material,Texture ... (#25628) * Docs: Object3D to zh * docs: material forceSinglePass TwoPassDoubleSide was deleted, `forceSinglePass` should set to `true` to disable the two pass rendering to avoid performance issuses. * Docs: material translation to zh Material cla...
[ { "path": "docs/api/zh/core/BufferAttribute.html", "patch": "@@ -16,11 +16,10 @@ <h1>[name]</h1>\n \t\t\t在 BufferAttribute 中,数据被存储为任意长度的矢量(通过[page:BufferAttribute.itemSize itemSize]进行定义),下列函数如无特别说明,\n \t\t\t函数参数中的index会自动乘以矢量长度进行计算。\n \n-\t\t\tWhen working with vector-like data, the <i>.fromBufferAttribute(...
2023-03-07T09:33:51
golang/go
5ab9d9660412be2887ae5adba6198f029bcbb4a9
5715d735590cf545f03b34e58ade83b919e53fba
crypto/tls: fix a testing deadlock that occurs on a TLS protocol error A Go routine was, on an error, returning without sending a message on its signaling channel, so the main program was blocking forever waiting for a message that was never sent. Found while breaking crypto/tls. Change-Id: Id0b3c070a27cabd852f74e86b...
[ { "path": "src/crypto/tls/handshake_server_test.go", "patch": "@@ -236,7 +236,6 @@ func TestRenegotiationExtension(t *testing.T) {\n \t\tn, err := c.Read(buf)\n \t\tif err != nil {\n \t\t\tt.Errorf(\"Server read returned error: %s\", err)\n-\t\t\treturn\n \t\t}\n \t\tc.Close()\n \t\tbufChan <- buf[:n]", ...
2022-06-03T02:22:50
denoland/deno
876bac445a14d77867605c38c6866ab6a5cad21c
a9f404e479262af62179c38622785968888293d3
fix(lsp): close server on exit notification (#28232)
[ { "path": "Cargo.lock", "patch": "@@ -1570,9 +1570,9 @@ dependencies = [\n \n [[package]]\n name = \"deno-tower-lsp-macros\"\n-version = \"0.10.0\"\n+version = \"0.11.2\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"e017686632f7908cde3e02cd1598e25488f57448600a09211834c...
2025-02-21T20:02:56
mrdoob/three.js
51f5968dc7950ff1a46bddd33c54c3e30c1a5f2e
2f650da97ef3f7b01eb04ffbb9253f9d519f731c
CI: Fix report-size.yml execution (#25625)
[ { "path": ".github/workflows/read-size.yml", "patch": "@@ -42,7 +42,7 @@ jobs:\n TREESHAKEN_GZIP=$(stat --format=%s test/treeshake/index.bundle.min.js.gz)\n \n # write the output in a json file to upload it as artifact\n- node -pe \"JSON.stringify({ filesize: $FILESIZE, gzip: $F...
2023-03-06T16:24:03
golang/go
2cb9e7f68f90ea9119fd4172fc61630279d79d67
5413abc44025f281f2a7ea37b3e0043591dbed3e
crypto/cipher: use AEAD.NonceSize to make nonce in the example The existing example uses hard-coded constant to make nonce buffer. Using AEAD.NonceSize makes it a more portable and appropriate example. Fixes: #48372 Change-Id: I7c7a38ed48aff46ca11ef4f5654c778eac13dde6 GitHub-Last-Rev: 03ccbb16df4ca9cbd4a014836aee0f5...
[ { "path": "src/crypto/cipher/example_test.go", "patch": "@@ -29,14 +29,14 @@ func ExampleNewGCM_encrypt() {\n \t\tpanic(err.Error())\n \t}\n \n-\t// Never use more than 2^32 random nonces with a given key because of the risk of a repeat.\n-\tnonce := make([]byte, 12)\n-\tif _, err := io.ReadFull(rand.Reader...
2021-09-14T04:47:41
mrdoob/three.js
c2c2d73bc3244438e63913a90db73da275eb4943
fbd3ef941971ae068c389a43e3777f245d3650a8
Fix Rhino3dmLoader import in the example (#25616)
[ { "path": "docs/examples/en/loaders/3DMLoader.html", "patch": "@@ -25,7 +25,7 @@ <h2>Import</h2>\n \t\t</p>\n \n \t\t<code>\n-\t\t\timport { 3DMLoader } from 'three/addons/loaders/3DMLoader.js';\n+\t\t\timport { Rhino3dmLoader } from 'three/addons/loaders/3DMLoader.js';\n \t\t</code>\n \n \t\t<h2>Supported ...
2023-03-03T19:18:47
denoland/deno
a9f404e479262af62179c38622785968888293d3
063299353d59e6a7cf7561de4a076f58436280c4
fix(check): regression - implicit jsxImportSource was not resolving (#28228)
[ { "path": "Cargo.lock", "patch": "@@ -1716,9 +1716,9 @@ dependencies = [\n \n [[package]]\n name = \"deno_config\"\n-version = \"0.49.0\"\n+version = \"0.49.1\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"2eb717829d8b6071bf54ac6139e4ea53878ad5523c1cbdad4483c09be9b8160...
2025-02-21T19:09:57
mrdoob/three.js
edb16f950fb22471de22df3c0d2d6a4f86e89a88
cbe89fe39ac15ac4e85032627083a9a06e420e2d
webgl_simple_gi: Fix (#25605) `Scene.autoUpdate` was renamed to `Scene.matrixWorldAutoUpdate`.
[ { "path": "examples/webgl_simple_gi.html", "patch": "@@ -56,7 +56,7 @@\n \t\t\t\tscene.updateMatrixWorld( true );\n \n \t\t\t\tlet clone = scene.clone();\n-\t\t\t\tclone.autoUpdate = false;\n+\t\t\t\tclone.matrixWorldAutoUpdate = false;\n \n \t\t\t\tconst rt = new THREE.WebGLRenderTarget( SIZE, SIZE );\n \n...
2023-03-02T18:38:46
golang/go
5413abc44025f281f2a7ea37b3e0043591dbed3e
786e62bcd3f03d73ddf0c999780ffe6f1a0319ea
net/http: set Request.TLS when net.Conn implements ConnectionState Fixes #56104 Change-Id: I8fbbb00379e51323e2782144070cbcad650eb6f1 GitHub-Last-Rev: 62d7a8064e4f2173f0d8e02ed91a7e8de7f13fca GitHub-Pull-Request: golang/go#56110 Reviewed-on: https://go-review.googlesource.com/c/go/+/440795 Reviewed-by: Damien Neil <dn...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -1645,6 +1645,53 @@ func testTLSServer(t *testing.T, mode testMode) {\n \t}\n }\n \n+type fakeConnectionStateConn struct {\n+\tnet.Conn\n+}\n+\n+func (fcsc *fakeConnectionStateConn) ConnectionState() tls.ConnectionState {\n+\treturn tls.ConnectionState{\n...
2022-11-02T01:19:16
denoland/deno
063299353d59e6a7cf7561de4a076f58436280c4
f800f5444a165d98ca12aa3efab08a15774f4d4c
fix(unstable): lint plugin `:exit` called at wrong time (#28229) The `:exit` selectors were called at the wrong time during visiting. They need to be called when going upwards and a node and all its children have been fully visited. Instead we called it when the node + all its sibling were visited which is wrong. Fi...
[ { "path": "cli/js/40_lint.js", "patch": "@@ -1186,11 +1186,6 @@ function traverse(ctx, visitors, idx, cancellationToken) {\n if (childIdx > AST_IDX_INVALID) {\n traverse(ctx, visitors, childIdx, cancellationToken);\n }\n-\n- const nextIdx = readNext(buf, idx);\n- if (nextIdx > AST_IDX_IN...
2025-02-21T17:50:26
mrdoob/three.js
5fcbe5aed264a870087196e54a1c9f8351675298
40a903bbd7bd75dde47c05332ea3305b8e798f1c
NodeLoader: Deserialize sub-properties and fixes. (#25590) * Node: Deserialize sub-properties. * NodeLoader: Fix get json.type. * Node: New inputObject to deserialize(). * ConvertNode: Fix serialize .convertTo property.
[ { "path": "examples/jsm/nodes/core/Node.js", "patch": "@@ -293,6 +293,20 @@ class Node {\n \n \t\t\t\t\tthis[ property ] = inputArray;\n \n+\t\t\t\t} else if ( typeof json.inputNodes[ property ] === 'object' ) {\n+\n+\t\t\t\t\tconst inputObject = {};\n+\n+\t\t\t\t\tfor ( const subProperty in json.inputNodes...
2023-03-01T19:30:43
denoland/deno
648ee8f0e7eaef8ff24d7690ffce9fad44c8f4d5
84fabecc9b2786182395b08b4558469399299817
fix(ext/node): decipherIv() range error on invalid final block length (#28215) Fixes https://github.com/denoland/deno/issues/28208
[ { "path": "ext/node/ops/crypto/cipher.rs", "patch": "@@ -424,6 +424,9 @@ pub enum DecipherError {\n #[class(range)]\n #[error(\"Invalid key length\")]\n InvalidKeyLength,\n+ #[class(range)]\n+ #[error(\"Wrong final block length\")]\n+ InvalidFinalBlockLength,\n #[class(type)]\n #[error(\"Invali...
2025-02-21T04:48:38
mrdoob/three.js
40a903bbd7bd75dde47c05332ea3305b8e798f1c
d2c88a05dfdb86c78b4e1d5a4948247ea98b4517
SkeletonUtils: Fix retargetClip() final keyframe (#25589)
[ { "path": "examples/jsm/utils/SkeletonUtils.js", "patch": "@@ -248,8 +248,8 @@ function retargetClip( target, source, clip, options = {} ) {\n \t\t\t\t\tif ( ! boneData.pos ) {\n \n \t\t\t\t\t\tboneData.pos = {\n-\t\t\t\t\t\t\ttimes: new Float32Array( numFrames ),\n-\t\t\t\t\t\t\tvalues: new Float32Array( n...
2023-03-01T19:17:01
golang/go
9d7de0483861b3f882f79797939566fe8f6f9e24
2c9689ab0e7ebfbcd875ac3c54740a8295c43d42
runtime: fix 9-arg syscall on darwin/amd64 The last 3 arguments need to be passed on the stack, not registers. Fixes #71302 Change-Id: Ib1155ad1a805957fad3d9594c93981a558755591 Reviewed-on: https://go-review.googlesource.com/c/go/+/665435 Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <go...
[ { "path": "src/runtime/sys_darwin_amd64.s", "patch": "@@ -745,23 +745,26 @@ ok:\n //\n // syscall9 expects a 32-bit result and tests for 32-bit -1\n // to decide there was an error.\n-TEXT runtime·syscall9(SB),NOSPLIT,$16\n+TEXT runtime·syscall9(SB),NOSPLIT,$32\n \tMOVQ\t(0*8)(DI), R13// fn\n \tMOVQ\t(2*8)(...
2025-04-14T16:52:31
denoland/deno
4523ddd8d72caba6adab88fdba06b2f358a7fe14
73c4ce33daac42871259a6d45d117b1258758e5b
fix(publish): support jsx/tsx (#28188)
[ { "path": "Cargo.lock", "patch": "@@ -2193,9 +2193,9 @@ dependencies = [\n \n [[package]]\n name = \"deno_media_type\"\n-version = \"0.2.5\"\n+version = \"0.2.6\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"600222d059ab31ff31182b3e12615df2134a9e01605836b78ad8df91ba39e...
2025-02-20T22:39:51
mrdoob/three.js
b77bb45c3bef3bca76622aa72ef72422352ae348
98d3030079b894c203a99519ddeb8152c2be8f6d
OscNode: Fix if timeNode is not a nodeObject() (#25588)
[ { "path": "examples/jsm/nodes/utils/OscNode.js", "patch": "@@ -1,6 +1,6 @@\n import Node, { addNodeClass } from '../core/Node.js';\n import { timerLocal } from './TimerNode.js';\n-import { nodeProxy } from '../shadernode/ShaderNode.js';\n+import { nodeObject, nodeProxy } from '../shadernode/ShaderNode.js';\...
2023-03-01T03:33:21
golang/go
2c9689ab0e7ebfbcd875ac3c54740a8295c43d42
30aca0674e8c0839101c7d7730ac242fcb589287
cmd/compile/internal/escape: add hash for bisecting stack allocation of variable-sized makeslice CL 653856 enabled stack allocation of variable-sized makeslice results. This CL adds debug hashing of that change, plus a debug flag to control the byte threshold used. The debug hashing machinery means we also now have ...
[ { "path": "src/cmd/compile/internal/base/debug.go", "patch": "@@ -72,6 +72,8 @@ type DebugFlags struct {\n \tPGOInlineBudget int `help:\"inline budget for hot functions\" concurrent:\"ok\"`\n \tPGODevirtualize int `help:\"enable profile-guided devirtualization; 0 to disable, 1 to enable in...
2025-04-08T11:35:11
denoland/deno
73c4ce33daac42871259a6d45d117b1258758e5b
ce4e78843048667c58083e420c85a2f8f2df49a8
chore: fix more flakey otel tests (#28211) There are a couple others that flake for the same reason, that I missed
[ { "path": "tests/specs/cli/otel_basic/basic.out", "patch": "@@ -262,16 +262,16 @@\n \"count\": 1,\n \"sum\": 0,\n \"bucketCounts\": [\n- 1,\n- 0,\n- 0,\n- 0,\n- 0,\n- 0,\n- 0,\n- ...
2025-02-20T22:24:48
mrdoob/three.js
98d3030079b894c203a99519ddeb8152c2be8f6d
1b818ae711ba37bfe6567b5d4478b4e739ff338d
NodeUtils: `getNodesKeys` -> `getNodeChildren` (#25581) * Ray: Clean up * Don't move t0 * Update Ray.js * Update NodeUtils.js * Update NodeMaterial.js * Update Node.js * Revert "Merge branch 'patch-2' of https://github.com/LeviPesin/three.js-1 into pr/25581" This reverts commit bcf3af839dad20b1484...
[ { "path": "examples/jsm/nodes/core/Node.js", "patch": "@@ -1,5 +1,5 @@\n import { NodeUpdateType } from './constants.js';\n-import { getNodesKeys, getCacheKey } from './NodeUtils.js';\n+import { getNodeChildren, getCacheKey } from './NodeUtils.js';\n import { MathUtils } from 'three';\n \n const NodeClasses...
2023-03-01T03:16:07
golang/go
30aca0674e8c0839101c7d7730ac242fcb589287
f4803ddc2c8d082e07227c72944ffd9d7c45ab64
strings: duplicate alignment test from bytes package Fixes #26129 Change-Id: If98f85b458990dbff7ecfeaea6c81699dafa66ef Reviewed-on: https://go-review.googlesource.com/c/go/+/665275 Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@golang.org> Revie...
[ { "path": "src/strings/compare_test.go", "patch": "@@ -36,9 +36,13 @@ var compareTests = []struct {\n \n func TestCompare(t *testing.T) {\n \tfor _, tt := range compareTests {\n-\t\tcmp := Compare(tt.a, tt.b)\n-\t\tif cmp != tt.i {\n-\t\t\tt.Errorf(`Compare(%q, %q) = %v`, tt.a, tt.b, cmp)\n+\t\tnumShifts :=...
2025-04-13T14:21:52
mrdoob/three.js
f9585c243a9ba1b27faa9856248e6bf3f2f2bfab
dc9570226cf8e541cc71dfebf16f19935dabb74d
NodeEditor: Adds support for exporting Node Chaining, Materials and Objects3D (individually) (#25553) * NodeEditor: Adds support for exporting Materials and Objects3D * cleanup * fix empty auto-complete * NodeLoader: Fix deserialization single node. * Node: Added NodeArray[] auto serialization. * NodeEd...
[ { "path": "examples/jsm/node-editor/NodeEditor.js", "patch": "@@ -33,6 +33,7 @@ import { PointsEditor } from './scene/PointsEditor.js';\n import { MeshEditor } from './scene/MeshEditor.js';\n import { FileEditor } from './core/FileEditor.js';\n import { FileURLEditor } from './core/FileURLEditor.js';\n+impo...
2023-02-27T20:56:23
denoland/deno
ce4e78843048667c58083e420c85a2f8f2df49a8
e5de22b0b5c4bb5649b6f7d33fbbd3cead8582e1
fix(outdated): hint to use `--latest` if new versions are available in `outdated --update` (#28190)
[ { "path": "cli/tools/registry/pm/outdated.rs", "patch": "@@ -257,13 +257,18 @@ pub async fn outdated(\n Ok(())\n }\n \n+enum ChosenVersionReq {\n+ Some(VersionReq),\n+ None { latest_available: bool },\n+}\n+\n fn choose_new_version_req(\n dep: &Dep,\n resolved: Option<&PackageNv>,\n latest_version...
2025-02-20T22:24:07
golang/go
f4803ddc2c8d082e07227c72944ffd9d7c45ab64
2869d55366a55d6a29a166523ac2383d0b2291df
math/big: fix loong64 assembly for vet Vet is failing on this code because some arguments of mulAddVWW got renamed in the go decl (CL 664895) but not the assembly accessors. Looks like the assembly got written before that CL but checked in after that CL. Change-Id: I270e8db5f8327aa2029c21a126fab1231a3506a1 Reviewed-...
[ { "path": "src/math/big/arith_loong64.s", "patch": "@@ -98,19 +98,19 @@ TEXT ·lshVU(SB),NOSPLIT,$0\n TEXT ·rshVU(SB),NOSPLIT,$0\n \tJMP ·rshVU_g(SB)\n \n-// func mulAddVWW(z, x []Word, y, r Word) (c Word)\n+// func mulAddVWW(z, x []Word, m, a Word) (c Word)\n TEXT ·mulAddVWW(SB),NOSPLIT,$0\n \t// input:\n \...
2025-04-15T16:36:06
mrdoob/three.js
2b54088d9925ce6f7f871d8d248b0dc57e40ac1b
c3c7cafe9c6fe38864e22fc50612a3b12048dca3
Float16BufferAttribute: Unpack/pack float16's in in getters/setters. (#25519) * . * . * . * Fix some formatting issues.
[ { "path": "src/core/BufferAttribute.js", "patch": "@@ -2,6 +2,7 @@ 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 { fromHalfFloat, toH...
2023-02-24T09:19:27
denoland/deno
e5de22b0b5c4bb5649b6f7d33fbbd3cead8582e1
b20f98ccf731cfd5c0343d69bd4249e40461d7d0
fix(coverage): exclude scripts with invalid URLs from raw coverage output (#28210) Fixes https://github.com/denoland/deno/issues/28206. Basically if you execute a script with `node:vm`, this produces a "script" with the file name `evalmachine.<anonymous>`, which ends up producing coverage like ```json { "s...
[ { "path": "cli/tools/coverage/mod.rs", "patch": "@@ -74,14 +74,15 @@ impl crate::worker::CoverageCollector for CoverageCollector {\n \n let script_coverages = self.take_precise_coverage().await?.result;\n for script_coverage in script_coverages {\n- // Filter out internal and http/https JS file...
2025-02-20T22:23:43
golang/go
fcd73b0ac307c2a639bd28939b0f5ea4b6bb3c6c
79b809afb325ae266497e21597f126a3e98a1ef7
cmd/compile/internal/importer: correct a matching error Change-Id: I2499d6ef1df0cc6bf0be8903ce64c03e1f296d19 GitHub-Last-Rev: 1f759d89be7b40c7fe72b920fc004de3fed8d057 GitHub-Pull-Request: golang/go#73064 Reviewed-on: https://go-review.googlesource.com/c/go/+/660978 Auto-Submit: Robert Griesemer <gri@google.com> Review...
[ { "path": "src/cmd/compile/internal/importer/gcimporter_test.go", "patch": "@@ -164,7 +164,7 @@ func TestVersionHandling(t *testing.T) {\n \t\t_, err := Import(make(map[string]*types2.Package), pkgpath, dir, nil)\n \t\tif err != nil {\n \t\t\t// ok to fail if it fails with a 'not the start of an archive fil...
2025-03-27T04:21:01
mrdoob/three.js
7b6c0cbde808eda8062629bf0f05325e47285490
a6323ab6c50e800920a8ab6acc02f61f7ad291ce
WebGLRenderer: Render transmissiveObjects in two passes. (#25502) * WebGLRenderer: Render transmissiveObjects in two passes. * Updated transmission screenshots. * WebGLRenderer: Add forceSinglePass toggle for double pass transmission. * WebGLRenderer: Clean up. * WebGLRenderer: Update material in transmiss...
[ { "path": "examples/webxr_vr_sandbox.html", "patch": "@@ -75,7 +75,7 @@\n \n \t\t\t\tconst torusGeometry = new THREE.TorusKnotGeometry( ...Object.values( parameters ) );\n \t\t\t\tconst torusMaterial = new THREE.MeshPhysicalMaterial( {\n-\t\t\t\t\ttransmission: 1.0, roughness: 0, metalness: 0.25, thickness:...
2023-02-24T04:49:32
denoland/deno
3fdde62ba2cc8e58c13d0ea10fb71331b57e72a8
c6c2fa8cec42daa9e631b7b0a413d67414a4c988
chore: fix otel test flakiness (#28209) The bucket counts can vary run to run. Also don't hardcode the port
[ { "path": "tests/specs/cli/otel_basic/http_metric.out", "patch": "@@ -20,7 +20,7 @@\n {\n \"key\": \"url.full\",\n \"value\": {\n- \"stringValue\": \"http://localhost:8080/\"\n+ \"stringValue\": \"http://localhost:[WILDLINE]/\"\n }\n },\n ...
2025-02-20T21:06:42
golang/go
79b809afb325ae266497e21597f126a3e98a1ef7
396a48bea6f2dc07ef103da298eec05cb6167892
os: handle trailing slashes in os.RemoveDir on Windows CL 661575 inadvertently caused os.RemoveDir on Windows to fail when given a path with a trailing / or \, due to the splitPath function not correctly stripping trailing separators. Fixes #73317 Change-Id: I21977b94bb08ff1e563de6f5f16a4bdf5024a15e Reviewed-on: htt...
[ { "path": "src/os/export_windows_test.go", "patch": "@@ -11,4 +11,5 @@ var (\n \tNewConsoleFile = newConsoleFile\n \tCommandLineToArgv = commandLineToArgv\n \tAllowReadDirFileID = &allowReadDirFileID\n+\tSplitPath = splitPath\n )", "additions": 1, "deletions": 0, "language": "Go" ...
2025-04-10T20:58:17
mrdoob/three.js
fe31bbc5b35132d38239f70ec6454cef205b8690
7d491853b3ffd1acd6b4ecdce66e43562af8ed8b
Editor: Fixed horizontal overflow css issue.
[ { "path": "editor/css/main.css", "patch": "@@ -67,13 +67,13 @@ textarea, input { outline: none; } /* osx */\n \tposition: relative;\n \tdisplay: block;\n \twidth: 100%;\n+\tmin-width: 260px;\n }\n \n .TabbedPanel .Tabs {\n \tposition: relative;\n \tdisplay: block;\n \twidth: 100%;\n-\tmin-width: 300px;\n }\...
2023-02-23T06:25:33
denoland/deno
03e4234962566da67834fa88662b7f0908f0ede2
c1276d8fa08a6f66c1c02c3fcf5a113e7f61f2e6
fix(check): remove instability in loading lib files (#28202) Also reduces memory usage. Closes #28201
[ { "path": "cli/lsp/documents.rs", "patch": "@@ -23,7 +23,6 @@ use deno_core::futures::future;\n use deno_core::futures::future::Shared;\n use deno_core::futures::FutureExt;\n use deno_core::parking_lot::Mutex;\n-use deno_core::parking_lot::RwLock;\n use deno_core::resolve_url;\n use deno_core::ModuleSpecifi...
2025-02-20T17:41:58
mrdoob/three.js
7cd532e32b91b0cb1862c387308c9d46d25da168
29e9f905ff829a6b886ac9c232eb3aee6fab4f8b
Nodes: Refactor examples to use node chaining (#25539) * Nodes: Refactor examples to use node chaining * Fix ShaderNode.compute() * Fixes
[ { "path": "examples/jsm/nodes/lighting/LightsNode.js", "patch": "@@ -80,7 +80,7 @@ class LightsNode extends Node {\n \n \t}\n \n-\tfromLights( lights ) {\n+\tfromLights( lights = [] ) {\n \n \t\tconst lightNodes = [];\n ", "additions": 1, "deletions": 1, "language": "JavaScript" }, { "pa...
2023-02-22T16:37:10
golang/go
e0dba45c620866bb16cd0db2c51732f03a9b27f3
ba7b8ca336123017e43a2ab3310fd4a82122ef9d
runtime: size field for gQueue and gList Before CL, all instances of gQueue and gList stored the size of structures in a separate variable. The size changed manually and passed as a separate argument to different functions. This CL added an additional field to gQueue and gList structures to store the size. Also, the c...
[ { "path": "src/runtime/mgc.go", "patch": "@@ -1512,9 +1512,9 @@ func gcBgMarkWorker(ready chan struct{}) {\n \t\t\t\t\t// everything out of the run\n \t\t\t\t\t// queue so it can run\n \t\t\t\t\t// somewhere else.\n-\t\t\t\t\tif drainQ, n := runqdrain(pp); n > 0 {\n+\t\t\t\t\tif drainQ := runqdrain(pp); !dr...
2025-04-07T14:08:19
denoland/deno
c1276d8fa08a6f66c1c02c3fcf5a113e7f61f2e6
664d50fab85b80401aaf36456446998d84e1dd4f
fix(ext/node): rewrite SQLite named parameter handing (#28197) Allow bare named params and handle invalid param name. Also adds `StatementSync#setAllowBareNamedParameters` Fixes https://github.com/denoland/deno/issues/28183
[ { "path": "ext/node/ops/sqlite/database.rs", "patch": "@@ -205,6 +205,7 @@ impl DatabaseSync {\n inner: raw_stmt,\n db: self.conn.clone(),\n use_big_ints: Cell::new(false),\n+ allow_bare_named_params: Cell::new(true),\n is_iter_finished: false,\n })\n }", "additions": ...
2025-02-20T13:04:34
mrdoob/three.js
6bf70d8c8f609fedd78869777b1248115e3d40bb
e523eb3bce1c10b129f53eae7835791f34a2a17c
Examples: Fix order of FXAA pass. (#25542)
[ { "path": "examples/webgl_materials_normalmap.html", "patch": "@@ -133,8 +133,8 @@\n \n \t\t\t\tconst effectBleach = new ShaderPass( BleachBypassShader );\n \t\t\t\tconst effectColor = new ShaderPass( ColorCorrectionShader );\n-\t\t\t\teffectFXAA = new ShaderPass( FXAAShader );\n \t\t\t\tconst gammaCorrecti...
2023-02-21T18:10:07
golang/go
80bff42fdd0380c09f4df35c4baacb9cfdae5aae
0c0d2572414d4d32feca74d902a761ff25457af9
errors: optimize errors.Join for single unwrappable errors Change-Id: I10bbb782ca7234cda8c82353f2255eec5be588c9 GitHub-Last-Rev: e5ad8fdb802e56bb36c41b4982ed27c1e0809af8 GitHub-Pull-Request: golang/go#70770 Reviewed-on: https://go-review.googlesource.com/c/go/+/635115 Auto-Submit: Sean Liao <sean@liao.dev> Reviewed-by...
[ { "path": "src/errors/join.go", "patch": "@@ -26,6 +26,18 @@ func Join(errs ...error) error {\n \tif n == 0 {\n \t\treturn nil\n \t}\n+\tif n == 1 {\n+\t\tfor _, err := range errs {\n+\t\t\tif err != nil {\n+\t\t\t\tif _, ok := err.(interface {\n+\t\t\t\t\tUnwrap() []error\n+\t\t\t\t}); ok {\n+\t\t\t\t\tret...
2024-12-11T09:55:27
denoland/deno
664d50fab85b80401aaf36456446998d84e1dd4f
64abe902e5912b29f02fe3f886e425bb56612f01
fix(ext/node): Fix handling of sqlite large integers (#28193) Use `v8::Number` instead of `v8::Integer` to handle > i32::MAX. Fixes https://github.com/denoland/deno/issues/28187
[ { "path": "ext/node/ops/sqlite/statement.rs", "patch": "@@ -138,7 +138,7 @@ impl StatementSync {\n if self.use_big_ints.get() {\n v8::BigInt::new_from_i64(scope, value).into()\n } else if value.abs() <= MAX_SAFE_JS_INTEGER {\n- v8::Integer::new(scope, value as _).i...
2025-02-20T11:02:46
mrdoob/three.js
e523eb3bce1c10b129f53eae7835791f34a2a17c
ce383d9ff1c49558763c20e8a4815e273ba34950
Update Texture.js (#25533) If "source.data" is "undefined ", "source.serializeImage" will report an error, so set the default value to null Co-authored-by: binggong,x <binggong.x@linkingcloud.cn>
[ { "path": "src/textures/Texture.js", "patch": "@@ -83,7 +83,7 @@ class Texture extends EventDispatcher {\n \n \t}\n \n-\tset image( value ) {\n+\tset image( value = null ) {\n \n \t\tthis.source.data = value;\n ", "additions": 1, "deletions": 1, "language": "JavaScript" } ]
2023-02-21T08:45:47
golang/go
f414dfe4f5049c2c8998b4e6b90dee7fca0c225b
13b7c7d8d21765886697c952ffbb7fb853a2bf9a
os,internal/poll: support I/O on overlapped files not added to the poller This fixes the support for I/O on overlapped files that are not added to the poller. Note that CL 661795 already added support for that, but it really only worked for pipes, not for plain files. Additionally, this CL also makes this kind of I/O...
[ { "path": "src/internal/poll/fd_windows.go", "patch": "@@ -68,7 +68,7 @@ var InitWSA = sync.OnceFunc(func() {\n // operation contains superset of data necessary to perform all async IO.\n type operation struct {\n \t// Used by IOCP interface, it must be first field\n-\t// of the struct, as our code rely on ...
2025-04-10T14:03:46
mrdoob/three.js
ce383d9ff1c49558763c20e8a4815e273ba34950
0345c78e8c633f429d4ae4550f254b79121dd628
Update IFCLoader example (#25440) * Update IFCLoader example * Update webgl_loader_ifc.html * Update webgl_loader_ifc.html * update three-mesh-bvh to fixed latest version * update screenshot --------- Co-authored-by: mrdoob <info@mrdoob.com> Co-authored-by: Michael Herzog <michael.herzog@human-inter...
[ { "path": "examples/jsm/loaders/IFCLoader.js", "patch": "@@ -1,2430 +0,0 @@\n-import {\n-\tIFCRELAGGREGATES,\n-\tIFCRELCONTAINEDINSPATIALSTRUCTURE,\n-\tIFCRELDEFINESBYPROPERTIES,\n-\tIFCRELASSOCIATESMATERIAL,\n-\tIFCRELDEFINESBYTYPE,\n-\tIFCPROJECT,\n-\tIfcAPI\n-} from './ifc/web-ifc-api.js';\n-import {\n-\...
2023-02-20T22:01:19
denoland/deno
64abe902e5912b29f02fe3f886e425bb56612f01
08f5e797b60d32e2b09f28c3924595d730bd5854
fix: don't panic when running with // as a filepath (#28189) Fixes #28128
[ { "path": "cli/args/flags.rs", "patch": "@@ -1006,7 +1006,7 @@ impl Flags {\n || module_specifier.scheme() == \"npm\"\n {\n if let Ok(p) = url_to_file_path(&module_specifier) {\n- Some(vec![p.parent().unwrap().to_path_buf()])\n+ p.parent().map(|par...
2025-02-20T03:29:11
golang/go
47ab9cbd82b8b1af4b0636ed72173735725678a6
21acfdc4ef18fcf2e5e6114fe800fec0a10e493c
cmd: fix DWARF gen bug with packages that use assembly When the compiler builds a Go package with DWARF 5 generation enabled, it emits relocations into various generated DWARF symbols (ex: SDWARFFCN) that use the R_DWTXTADDR_* flavor of relocations. The specific size of this relocation is selected based on the total n...
[ { "path": "src/cmd/asm/main.go", "patch": "@@ -49,6 +49,7 @@ func main() {\n \tctxt.Debugpcln = flags.DebugFlags.PCTab\n \tctxt.IsAsm = true\n \tctxt.Pkgpath = *flags.Importpath\n+\tctxt.DwTextCount = objabi.DummyDwarfFunctionCountForAssembler()\n \tswitch *flags.Spectre {\n \tdefault:\n \t\tlog.Printf(\"un...
2025-04-05T22:59:59
mrdoob/three.js
b4b756539e0e8c3e49d13cee062c77156a1cdd5d
71c70a81b0a5658c48c4b8ee397e8856993b1642
WebGPURenderer: Fix .autoClear (#25527)
[ { "path": "examples/jsm/renderers/webgpu/WebGPUBackground.js", "patch": "@@ -165,8 +165,13 @@ class WebGPUBackground {\n \t\t} else {\n \n \t\t\tcolorAttachment.loadOp = GPULoadOp.Load;\n+\t\t\tcolorAttachment.storeOp = GPUStoreOp.Store;\n+\n \t\t\tdepthStencilAttachment.depthLoadOp = GPULoadOp.Load;\n+\t\t...
2023-02-17T17:05:46
denoland/deno
08f5e797b60d32e2b09f28c3924595d730bd5854
3da3fe8f7b2c41c9cbf6efc880b0f092901a43e2
fix(check/lsp): fall back to `@types/*` packages if npm package doesn't have types (#28185) Fixes https://github.com/denoland/deno/issues/27569. Fixes https://github.com/denoland/deno/issues/27215. This PR makes it so type resolution falls back to looking for definitely typed packages (`@types/foo`) if a given NP...
[ { "path": "cli/lsp/analysis.rs", "patch": "@@ -18,9 +18,9 @@ use deno_core::serde_json::json;\n use deno_core::ModuleSpecifier;\n use deno_error::JsErrorBox;\n use deno_lint::diagnostic::LintDiagnosticRange;\n+use deno_npm::NpmPackageId;\n use deno_path_util::url_to_file_path;\n use deno_resolver::npm::mana...
2025-02-19T23:55:06
golang/go
f9670787122a732fb7d81cf64856ab6c50904e17
3968a5bca4fc0cdb4e2bb9fd6169deafdafc420d
os: fix TestRootChtimes on illumos TestRootChtimes currently fails on illumos [1] because the times returned by os.Stat have only microsecond precision on that builder. Truncate them to make the test pass again. [1] https://build.golang.org/log/9780af24c3b3073dae1d827b2b9f9e3a48912c30 Change-Id: I8cf895d0b60c854c27c...
[ { "path": "src/os/root_test.go", "patch": "@@ -457,6 +457,9 @@ func TestRootChtimes(t *testing.T) {\n \t\t\t\tcase \"js\", \"plan9\":\n \t\t\t\t\ttimes.atime = times.atime.Truncate(1 * time.Second)\n \t\t\t\t\ttimes.mtime = times.mtime.Truncate(1 * time.Second)\n+\t\t\t\tcase \"illumos\":\n+\t\t\t\t\ttimes....
2025-04-11T12:11:37
denoland/deno
3da3fe8f7b2c41c9cbf6efc880b0f092901a43e2
743fc4a261c8e78266c02059b1d1246af2eb85e4
fix: better jsx workspace config resolution (#28186) * https://github.com/denoland/deno_config/pull/158
[ { "path": "Cargo.lock", "patch": "@@ -1728,9 +1728,9 @@ dependencies = [\n \n [[package]]\n name = \"deno_config\"\n-version = \"0.48.1\"\n+version = \"0.49.0\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"7f8dbb5b5f3ca2f57e9db3ecb67cbd7eba9a3fd619e98516ee1d0d3732e8436...
2025-02-19T23:50:44
golang/go
4dffdd797b69d9423b4a492e2d832e1023326b1b
037112464b4439571b45536de9ebe4bc9e10ecb7
math/big: replace addMulVVW with addMulVVWW addMulVVW is an unnecessarily special case. All other assembly routines taking []Word (V as in vector) arguments take separate source and destination. For example: addVV: z = x+y mulAddVWW: z = x*m+a addMulVVW uses the z parameter as both destination and source: addMul...
[ { "path": "src/math/big/arith.go", "patch": "@@ -194,10 +194,11 @@ func mulAddVWW_g(z, x []Word, y, r Word) (c Word) {\n \treturn\n }\n \n-func addMulVVW_g(z, x []Word, y Word) (c Word) {\n+func addMulVVWW_g(z, x, y []Word, m, a Word) (c Word) {\n+\tc = a\n \t// The comment near the top of this file discuss...
2025-04-05T18:29:00
mrdoob/three.js
71c70a81b0a5658c48c4b8ee397e8856993b1642
202bbb72cb6a0a1f64561bb15a92df3505b2e5c7
Nodes: Rework ShaderNodeElements and make some other refactorings (#25498) * Nodes: Rework ShaderNodeElements and make some other refactorings * Fixes * fix add assign * Fix circular dependency and clean up * Rename addNode -> addNodeElement and LightsNode.setReference -> addLightNode, add addNodeClass and...
[ { "path": "examples/jsm/nodes/Nodes.js", "patch": "@@ -1,391 +1,156 @@\n+// @TODO: We can simplify \"export { default as SomeNode, other, exports } from '...'\" to just \"export * from '...'\" if we will use only named exports\n+// this will also solve issues like \"import TempNode from '../core/Node.js'\"\...
2023-02-17T16:18:01
denoland/deno
e4b8fa5f4f208f7ff3c52a3d6fbb50e0ae5c504b
e03c9904939c0102826c3b8b860432d2907629e5
fix: move extension file declarations to cli/tsc/dts (#28180) This commits moves all `.d.ts` files from `ext/*` to `cli/tsc/dts`. Due to TSC snapshot removal, `cargo publish` is now erroring out, unable to find the declaration files. These files were moved to "cli/tsc/dts", because it's much easier than keeping t...
[ { "path": "cli/build.rs", "patch": "@@ -16,6 +16,17 @@ fn compress_decls(out_dir: &Path) {\n \"lib.deno.shared_globals.d.ts\",\n \"lib.deno.ns.d.ts\",\n \"lib.deno.unstable.d.ts\",\n+ \"lib.deno_console.d.ts\",\n+ \"lib.deno_url.d.ts\",\n+ \"lib.deno_web.d.ts\",\n+ \"lib.deno_fetch.d...
2025-02-19T01:53:21
mrdoob/three.js
202bbb72cb6a0a1f64561bb15a92df3505b2e5c7
0f340f6ac7de5b9c1946e184a739d7848be82963
enable camera view offset in CSS3DRenderer (#25508) * support camera setViewOffset in CSS3DRenderer * fix viewheight sync * CSS3D examples: add viewOffset controls * simplify * update examples
[ { "path": "examples/css3d_orthographic.html", "patch": "@@ -39,6 +39,7 @@\n \n \t\t\timport { OrbitControls } from 'three/addons/controls/OrbitControls.js';\n \t\t\timport { CSS3DRenderer, CSS3DObject } from 'three/addons/renderers/CSS3DRenderer.js';\n+\t\t\timport { GUI } from 'three/addons/libs/lil-gui.mo...
2023-02-17T07:12:15
golang/go
835e36fc7f631f74233edfd4ab43b6b56833db86
2c35900fe4256d6de132cbee6f5a15b29013aac9
cmd/go: add subdirectory support to go-import meta tag This CL adds ability to specify a subdirectory in the go-import meta tag. A go-import meta tag now will support: <meta name="go-import" content="root-path vcs repo-url subdir"> Fixes: #34055 Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-win...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2952,6 +2952,11 @@\n //\n //\t<meta name=\"go-import\" content=\"import-prefix vcs repo-root\">\n //\n+// Starting in Go 1.25, an optional subdirectory will be recognized by the\n+// go command:\n+//\n+//\t<meta name=\"go-import\" content=\"import-prefix vcs ...
2024-10-29T14:22:11
mrdoob/three.js
8f284f6534d35e48c93c589c01af2ef8c75a64ae
791f845b9fa35c5d1393a4bcd341cdacc28e1b84
Refine Mesh `raycast` (#25484) * check oob up front * scalar * cmp against sq dist * per-tri oob * use `ray.intersectSphere` * from `raycaster.near` * Docs: Clean up. (#25481) from `raycaster.near` * fix 'sphere across near and far' * add tests --------- Co-authored-by: Michael Herzog ...
[ { "path": "src/objects/Mesh.js", "patch": "@@ -12,6 +12,7 @@ import { BufferGeometry } from '../core/BufferGeometry.js';\n const _inverseMatrix = /*@__PURE__*/ new Matrix4();\n const _ray = /*@__PURE__*/ new Ray();\n const _sphere = /*@__PURE__*/ new Sphere();\n+const _sphereHitAt = /*@__PURE__*/ new Vector...
2023-02-17T06:40:52
denoland/deno
e03c9904939c0102826c3b8b860432d2907629e5
29688168631edb677a444ba3cd02b2be21304a1f
fix(ext/cache): add missing Cargo feature (#28178)
[ { "path": "ext/cache/Cargo.toml", "patch": "@@ -19,7 +19,7 @@ async-stream.workspace = true\n async-trait.workspace = true\n base64.workspace = true\n bytes.workspace = true\n-chrono.workspace = true\n+chrono = { workspace = true, features = [\"now\"] }\n deno_core.workspace = true\n deno_error.workspace = ...
2025-02-19T00:29:01
golang/go
9aad012a6e02d45b37757faeec20cc6923610baf
d60a684c87104ed7836403eab74eb2be1e4a97cb
net: reenable sendfile on Windows Windows sendfile optimization is skipped since CL 472475, which started passing an os.fileWithoutWriteTo instead of an os.File to sendfile, and that function was only implemented for os.File. This CL fixes the issue by asserting against an interface rather than a concrete type. Some...
[ { "path": "src/internal/poll/sendfile_windows.go", "patch": "@@ -10,78 +10,80 @@ import (\n )\n \n // SendFile wraps the TransmitFile call.\n-func SendFile(fd *FD, src syscall.Handle, n int64) (written int64, err error) {\n+func SendFile(fd *FD, src syscall.Handle, size int64) (written int64, err error, han...
2025-04-09T09:15:38