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
nodejs/node
32853c0a136b0616844cdf5c276d2f1eb9a4fc50
5f38797ea51886708fbde22527fc54e64382925c
lib,test: improve faulty assert usage detection This improves our custom eslint rules to detect assertions to detect assertions with only a single argument and fixes false negatives in case unary expressions are used. Some rules were extended to also lint our docs and tools and the lib rule was simplified to prohibit ...
[ { "path": ".eslintrc.js", "patch": "@@ -170,32 +170,32 @@ module.exports = {\n message: '__defineSetter__ is deprecated.',\n },\n ],\n- // If this list is modified, please copy the change to lib/.eslintrc.yaml\n- // and test/.eslintrc.yaml.\n+ // If this list is modified, please c...
2019-03-10T14:37:51
electron/electron
863199348f8a07cdff4dfa23fea0598ddb3dcf2b
c10c74b23a6c260b2be7095076e10b845bf577e8
Make process.exit() quit gracefully Instead of abrupting the whole program immediately, we should close all windows and release all native resources gracefully on exit. This avoids possible crashes. Fix #3350.
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -339,6 +339,7 @@ mate::ObjectTemplateBuilder App::GetObjectTemplateBuilder(\n auto browser = base::Unretained(Browser::Get());\n return mate::ObjectTemplateBuilder(isolate)\n .SetMethod(\"quit\", base::Bind(&Browser::Quit, browser))\n+ ...
2015-11-06T10:27:13
huggingface/transformers
0e5a97560807393e6d3bf005136591b5af0c2614
42c682514b3202da853027f222b29d637a26dcc1
Fix Qwen3-Omni audio_token_id serialization issue (#41192) Fix Qwen3-Omni audio_token_id serialization by overriding parent's attribute_map - Override attribute_map in Qwen3OmniMoeThinkerConfig to prevent inheritance of incorrect mapping - Parent class maps audio_token_id -> audio_token_index, but implementation uses...
[ { "path": "src/transformers/models/qwen3_omni_moe/configuration_qwen3_omni_moe.py", "patch": "@@ -431,11 +431,8 @@ class Qwen3OmniMoeThinkerConfig(PretrainedConfig):\n ```\"\"\"\n \n model_type = \"qwen3_omni_moe_thinker\"\n- attribute_map = {\n- \"image_token_id\": \"image_token_index\",\...
2025-09-30T09:15:56
golang/go
955f9f56bf21dca045c042a2a8998a2fc04117a4
cc4917823747752337feec5a14f700633f4e9d02
test: add regress test for reported non-monomorphizable example Fixes #48711. Change-Id: I2ed1ef5267343d4b9f91da0618905098d178db90 Reviewed-on: https://go-review.googlesource.com/c/go/+/362394 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@g...
[ { "path": "test/typeparam/issue48711.go", "patch": "@@ -0,0 +1,18 @@\n+// errorcheck -G=3\n+\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package main\n+\n+func f[T interface{ ~[]P },...
2021-11-08T21:13:30
vercel/next.js
2eb821ad19f79eade53b260eedb4ef386965d5f9
33a803aaa13e63bdf06c4e11801e87e55f56c429
parallel routes: fix catch-all routes taking precedence in dev (#48424) This PR fixes a bug in dev with parallel routes when the given conditions were met: - you have a catch-all route and a more specific route - you navigated to a catch-all route - you navigate to the specific route that should take priority over...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -2044,8 +2044,8 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n \n let page = pathname\n if (isAppPath) {\n- // When it's an array, we need to pass all parallel routes to the loader.\n- p...
2023-04-17T08:06:30
nodejs/node
1706a2d7d82cf4daabb1e8e44ed43ed61befb342
a2bed79726f4de893eeac15d0b796103d2c65830
doc: fix misleading sentence in http.md Calling `response.end(data)` is not 100% equivalent to calling `response.write(data)` followed by `response.end()`. PR-URL: https://github.com/nodejs/node/pull/26465 Fixes: https://github.com/nodejs/node/issues/26005 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: S...
[ { "path": "doc/api/http.md", "patch": "@@ -1146,7 +1146,7 @@ This method signals to the server that all of the response headers and body\n have been sent; that server should consider this message complete.\n The method, `response.end()`, MUST be called on each response.\n \n-If `data` is specified, it is eq...
2019-03-06T09:26:33
huggingface/transformers
42c682514b3202da853027f222b29d637a26dcc1
aaf1269d83a455ba39f01eb7035cbf8a9221c989
docs/examples(speech): pin CTC commands to Hub datasets; add Windows notes (#41027) * examples(speech): load Common Voice from Hub; remove deprecated dataset-script references (Windows-friendly notes) * docs/examples(speech): pin CTC streaming & other CTC commands to Hub datasets; add Windows notes * make style * e...
[ { "path": "examples/pytorch/speech-recognition/README.md", "patch": "@@ -66,7 +66,7 @@ The following command shows how to fine-tune [XLSR-Wav2Vec2](https://huggingface\n \n ```bash\n python run_speech_recognition_ctc.py \\\n-\t--dataset_name=\"common_voice\" \\\n+\t--dataset_name=\"mozilla-foundation/common...
2025-09-30T08:38:31
golang/go
cc4917823747752337feec5a14f700633f4e9d02
0e39946e8df426b459103ab94256b697a6a4dd9c
cmd/go: rename go mod initwork and editwork to go work init and edit This brings the workspace related commands into their own namespace. Fixes #48256 Change-Id: I9d5e3d4c45798913d742c532c1571006e6f9cc57 Reviewed-on: https://go-review.googlesource.com/c/go/+/357611 Trust: Michael Matloob <matloob@golang.org> Run-Try...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -25,6 +25,7 @@\n // \tinstall compile and install packages and dependencies\n // \tlist list packages or modules\n // \tmod module maintenance\n+// \twork workspace maintenance\n // \trun compile and run Go program\n // \ttest...
2021-10-21T18:26:55
vercel/next.js
33a803aaa13e63bdf06c4e11801e87e55f56c429
fa821702e57062ae0323bd05ac2891368eae392e
Consolidate two appDir if branches (#48459) Noticed that we had this if block but it's no longer needed as the variable is only used in one place instead of multiple. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follo...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -398,31 +398,6 @@ export default async function build(\n )\n : []\n \n- let appPaths: string[] | undefined\n-\n- if (appDir) {\n- appPaths = await nextBuildSpan\n- .traceChild('collect-app-paths')\n-...
2023-04-17T07:03:06
huggingface/transformers
4a02bc7004285bdb12cc033e87ad2578ce2fa900
def4a37e19601b597f170e81684c8b0b5f84db39
[docs] Fix links (#41110) fix
[ { "path": "docs/source/en/serving.md", "patch": "@@ -16,25 +16,25 @@ rendered properly in your Markdown viewer.\n \n # Serving\n \n-Transformer models can be efficiently deployed using libraries such as vLLM, Text Generation Inference (TGI), and others. These libraries are designed for production-grade user...
2025-09-30T06:53:07
nodejs/node
17ab2ed3c885d75ee13286cd31c14ea136d00918
a4d4e9d72168cb5673f83ff691a4d659b3f68415
src: fix SplitString to ignore white spaces PR-URL: https://github.com/nodejs/node/pull/26545 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Khaidi Chu <i@2333.moe>
[ { "path": "src/util.cc", "patch": "@@ -134,6 +134,7 @@ std::vector<std::string> SplitString(const std::string& in, char delim) {\n while (in_stream.good()) {\n std::string item;\n std::getline(in_stream, item, delim);\n+ if (item.empty()) continue;\n out.emplace_back(std::move(item));\n }...
2019-03-09T14:39:53
golang/go
0e39946e8df426b459103ab94256b697a6a4dd9c
ccea0b2fbe8eaf0ac69fab4aef28f300bf676d21
cmd/go: add workspace pruning mode This change corrects a bug in the handling of module loading of workspaces. Namely, there is an assumption by the module pruning code that if a root module is selected then the packages of that module can be resolved without loading the whole module graph. This is not true in workspa...
[ { "path": "src/cmd/go/internal/modload/buildlist.go", "patch": "@@ -38,11 +38,17 @@ type Requirements struct {\n \t// If pruned, the graph includes only the root modules, the explicit\n \t// requirements of those root modules, and the transitive requirements of only\n \t// the root modules that do not suppo...
2021-10-19T18:05:29
huggingface/transformers
3e975acc8bf6d029ec0a54b1c5d0691489dfb051
8635d8e796c77ee94f64c170168f71138380274b
Fix docker quantization (#41201) * launch docker * remove gptq for now * run tests * Revert "run tests" This reverts commit f85718ce3a21d5937bf7405b8925c125c67d1a3e. * revert
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -30,22 +30,21 @@ RUN python3 -m pip install --no-cache-dir -U $VERSION torchvision torchaudio tor\n \n RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/accelerate@main#egg=accelerate\n \n-# needed in...
2025-09-29T16:36:30
rust-lang/rust
ce457e1c2628e41a02bc2dcdc44346e7c7d0a9e2
49a8ba06848fa8f282fe9055b4178350970bb0ce
Get rid of `EscapeDebugInner`.
[ { "path": "library/core/src/ascii.rs", "patch": "@@ -9,9 +9,10 @@\n \n #![stable(feature = \"core_ascii\", since = \"1.26.0\")]\n \n+use crate::escape::{AlwaysEscaped, EscapeIterInner};\n+use crate::fmt;\n use crate::iter::FusedIterator;\n use crate::num::NonZero;\n-use crate::{escape, fmt};\n \n mod ascii_...
2025-03-08T19:29:17
nodejs/node
e6fa50e9537441513df46987bc51e9001bd57f37
04d07bf52575295f9cef1f752c8ae5cbc36cc5ca
test: fix test case in test-http2-respond-file-304.js PR-URL: https://github.com/nodejs/node/pull/26565 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard ...
[ { "path": "test/parallel/test-http2-respond-file-304.js", "patch": "@@ -33,7 +33,7 @@ server.listen(0, () => {\n \n req.on('response', common.mustCall((headers) => {\n assert.strictEqual(headers[HTTP2_HEADER_STATUS], 304);\n- assert.strictEqual(headers[HTTP2_HEADER_CONTENT_TYPE, undefined]);\n+ ...
2019-03-10T10:05:12
electron/electron
47649ffd179a67cd9e5462856da8ca94c92915d2
4ff5ce4d6d4b8104c1dfca2b95f15ab847a2a3ed
win: Fix calling showItemInFolder in renderer process
[ { "path": "atom/common/api/lib/shell.coffee", "patch": "@@ -1,5 +1 @@\n module.exports = process.atomBinding 'shell'\n-\n-if process.platform is 'win32' and process.type is 'renderer'\n- module.exports.showItemInFolder = (item) ->\n- require('remote').require('shell').showItemInFolder item", "additi...
2015-11-05T12:47:27
golang/go
ccea0b2fbe8eaf0ac69fab4aef28f300bf676d21
830b393bcd5a3090b13cd0bd05f51e3d594807f3
net/http: deflake TestTimeoutHandlerContextCanceled Fixes #49448 Change-Id: Ie2acff7dedbca9bd1cc0b1b3dd0a01573c7befee Reviewed-on: https://go-review.googlesource.com/c/go/+/361920 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bry...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -2520,22 +2520,28 @@ func TestTimeoutHandlerStartTimerWhenServing(t *testing.T) {\n func TestTimeoutHandlerContextCanceled(t *testing.T) {\n \tsetParallel(t)\n \tdefer afterTest(t)\n-\tsendHi := make(chan bool, 1)\n \twriteErrors := make(chan error, 1)\n ...
2021-11-08T20:45:41
huggingface/transformers
8635d8e796c77ee94f64c170168f71138380274b
1f0e9a4778002c9a1e57a3dd549208f47da99a41
Fix 8bit bnb loading (#41200) * Fix 8bit * oups forgot the case where it is not prequantized
[ { "path": "src/transformers/quantizers/quantizer_bnb_8bit.py", "patch": "@@ -185,7 +185,6 @@ def create_quantized_param(\n \"Detected int8 weights but the version of bitsandbytes is not compatible with int8 serialization. \"\n \"Make sure to download the latest `bitsandbytes`...
2025-09-29T16:34:46
rust-lang/rust
0339a97ad22dc185f71f5fd0267201f1525ca1ab
3f4a23e5a8994b49ab67321177c6d5683f8d6494
Fix spacing for LIFETIME_IDENT near keywords and literals in test output
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/mbe.rs", "patch": "@@ -2046,7 +2046,7 @@ macro_rules! m {\n ($($x:expr)'a*) => (stringify!($($x)'b*));\n }\n fn f() {\n- let _ = stringify!(0 'b1 'b2);\n+ let _ = stringify!(0 'b 1 'b 2);\n }\n \"#]],\n );", "a...
2025-06-15T15:42:06
nodejs/node
8cbbe73553d2c623f2528350062d57dbf5305246
575e086b6667c0bb8c89153891097938744f1f8a
doc: fix typo in http2.md sendTrilers => sendTrailers. PR-URL: https://github.com/nodejs/node/pull/26616 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -1602,7 +1602,7 @@ default behavior is to destroy the stream.\n \n When the `options.waitForTrailers` option is set, the `'wantTrailers'` event\n will be emitted immediately after queuing the last chunk of payload data to be\n-sent. The `http2stream.sendTrilers()` ...
2019-03-12T18:41:34
golang/go
830b393bcd5a3090b13cd0bd05f51e3d594807f3
5e6475598c4c78fe5404ea273041552e65463a21
cmd/compile,cmd/go: fix long test builders CL 361411 improved error message for go version requirement, but forgot to update the test in cmd/go to match new error message. That causes longtest builders failed. This CL changes mod_vendor_goversion.txt to match compiler error, and limit fixedbugs/issue49368.go to run w...
[ { "path": "src/cmd/go/testdata/script/mod_vendor_goversion.txt", "patch": "@@ -26,7 +26,7 @@ go mod vendor\n ! grep 1.17 vendor/modules.txt\n ! go build example.net/need117\n stderr '^vendor[/\\\\]example\\.net[/\\\\]need117[/\\\\]need117.go:5:1[89]:'\n-stderr 'conversion of slices to array pointers only su...
2021-11-08T17:05:58
electron/electron
4ff5ce4d6d4b8104c1dfca2b95f15ab847a2a3ed
4ce840d8e6c155f1465c286c87ac6edd63b2eb6f
Fixing MoveItemToTrash behavior in Windows Modifying MoveItemToTrash for Windows to actually verify file can be moved to a drive's recycle bin before attempting to delete it. PR: #3337.
[ { "path": "atom/common/platform_util_win.cc", "patch": "@@ -5,7 +5,9 @@\n #include \"atom/common/platform_util.h\"\n \n #include <windows.h>\n+#include <atlbase.h>\n #include <commdlg.h>\n+#include <comdef.h>\n #include <dwmapi.h>\n #include <shellapi.h>\n #include <shlobj.h>\n@@ -19,6 +21,7 @@\n #include \...
2015-11-04T21:40:12
huggingface/transformers
1f0e9a4778002c9a1e57a3dd549208f47da99a41
bd37c453544e83eb875ed3608980a1660376007a
Fix EXAONE-4.0 dummy id (#41089) * Fix EXAONE-4.0 dummy id * Fix exaone4 dummy (#1) * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Co-authored-by: ydshieh <ydshieh@users.noreply.gi...
[ { "path": "src/transformers/models/exaone4/configuration_exaone4.py", "patch": "@@ -26,8 +26,7 @@ class Exaone4Config(PretrainedConfig):\n r\"\"\"\n This is the configuration class to store the configuration of a [`Exaone4Model`]. It is used to\n instantiate a EXAONE 4.0 model according to the s...
2025-09-29T16:30:55
nodejs/node
2a7da11ed81a833bf070e706441a558c4d7b957c
f77555f792e8515192d6fe973d7c4e1532da9d5c
process: make Symbol.toStringTag writable The ecosystem broke by making it non-writable, so this is a good intermediate fix. PR-URL: https://github.com/nodejs/node/pull/26488 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -283,7 +283,7 @@ function setupProcessObject() {\n EventEmitter.call(process);\n Object.defineProperty(process, Symbol.toStringTag, {\n enumerable: false,\n- writable: false,\n+ writable: true,\n configurable: false,\n value: 'pr...
2019-03-07T10:02:47
vercel/next.js
fa821702e57062ae0323bd05ac2891368eae392e
36ea6ea16014a6409e30ec87c5527b990d04ad90
Fix turbo cache for @next/env (#48466) While testing workflow changes noticed that when turborepo cache is leveraged the `@next/env` types are missing causing unexpected failures since the types aren't stored in the `dist` folder which is all that is cached for the build step. x-ref: https://github.com/vercel/ne...
[ { "path": "packages/next-env/package.json", "patch": "@@ -16,15 +16,14 @@\n \"author\": \"Next.js Team <support@vercel.com>\",\n \"license\": \"MIT\",\n \"main\": \"dist/index.js\",\n- \"types\": \"types/index.d.ts\",\n+ \"types\": \"dist/index.d.ts\",\n \"files\": [\n- \"dist\",\n- \"types\...
2023-04-17T03:31:15
electron/electron
441cc3e57ea926a9cc2b27f5d6e8a67b7abe2de3
4013b652ff1e0cab465b2319b6521be799a825f4
Style fix
[ { "path": "atom/browser/api/lib/app.coffee", "patch": "@@ -11,14 +11,14 @@ wrapSession = (session) ->\n # session is an Event Emitter.\n session.__proto__ = EventEmitter.prototype\n \n-wrapDownloadItem = (download_item) ->\n- # download_item is an Event Emitter.\n- download_item.__proto__ = EventEmitt...
2015-11-04T08:50:19
rust-lang/rust
735a6d3a50d422cb2cd4b1a6275481c6ae393834
5bd2c804b0972158fda69cb3500024f1bfd4d0e7
Switch to gcc-14 by default to fix some run-make tests
[ { "path": ".github/workflows/ci.yml", "patch": "@@ -50,11 +50,7 @@ jobs:\n \n - name: Install packages\n # `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.\n- run: sudo apt-get install ninja-build ripgrep llvm-14-tools llvm libstdc++6\n-\n- - run: g+...
2025-06-14T15:52:19
golang/go
5e6475598c4c78fe5404ea273041552e65463a21
2e210b41ea5ca2fd3dcac5bc24ea932c2cac1234
cmd/compile: Revert "cmd/compile/internal/types2: remove most asX converters (cleanup)" This reverts commit 759eaa22adb0ab883959e4a36c19f2dfe77b5895. Reason to revert: break unified IR builder Though the unified IR is not for go1.18, it's the only user of types2 lazy resolution APIs at this moment. And it consistent...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -71,7 +71,7 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \t// x.typ is typed\n \n \t// A generic (non-instantiated) function value cannot be assigned to a variable.\n-\tif sig, _ := under(x.typ).(*Signatu...
2021-11-08T17:34:18
huggingface/transformers
bd37c453544e83eb875ed3608980a1660376007a
c1db38686acb480440e9d5e56a6b5cdbe8613321
Add EdgeTAM (#39800) * initial comment * test * initial conversion for outline * intermediate commit for configuration * chore:init files for sam2 * adding arbitary undefined config * check * add vision * make style * init sam2 base model * Fix imports * Linting * chore:sam to sam2 classes * Linting * Ad...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1033,6 +1033,10 @@\n title: DePlot\n - local: model_doc/donut\n title: Donut\n+ - local: model_doc/edgetam\n+ title: EdgeTAM\n+ - local: model_doc/edgetam_video\n+ title: EdgeTamVideo\n - local: model_...
2025-09-29T15:54:54
vercel/next.js
36ea6ea16014a6409e30ec87c5527b990d04ad90
20c5a23a90ec0fe1ae81cd0bc6b21712584bb471
chore: fix a typo in a local variable name (#48456) TTSIA I found it while reading the implementation. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for th...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -138,12 +138,12 @@ function findDynamicParamFromRouterState(\n for (const parallelRouterState of Object.values(\n providedFlightRouterState[1]\n )) {\n- const maybeDynamicParma = findDynamicParamFromRouterState(\n+ co...
2023-04-16T16:55:51
nodejs/node
f77555f792e8515192d6fe973d7c4e1532da9d5c
f9ddbb6b2f2ff61bb62a4ee8a8819d561322c9e8
test: fix syntax error in test-dns-idna2008.js when failing Fixes a bug I introduced in 961322178d69325a46dbcbaea1da818fff12c45a PR-URL: https://github.com/nodejs/node/pull/26570 Refs: https://github.com/nodejs/node/issues/25870 Refs: https://github.com/nodejs/node/pull/26473 Reviewed-By: James M Snell <jasnell@gmail...
[ { "path": "test/internet/test-dns-idna2008.js", "patch": "@@ -32,13 +32,15 @@ dns.lookup(fixture.hostname, mustCall((err, address) => {\n assert.strictEqual(address, fixture.expectedAddress);\n }));\n \n-dns.promises.lookup(fixture.hostname).then(mustCall(({ address }) => {\n+dns.promises.lookup(fixture.h...
2019-03-10T14:48:57
electron/electron
4013b652ff1e0cab465b2319b6521be799a825f4
28abc8defe89424b136d787d024cbe3e153e53ba
:checkered_flag::bug: Buffer overflows in tooltips Fixes #3290.
[ { "path": "atom/browser/ui/win/notify_icon.cc", "patch": "@@ -113,7 +113,7 @@ void NotifyIcon::SetToolTip(const std::string& tool_tip) {\n NOTIFYICONDATA icon_data;\n InitIconData(&icon_data);\n icon_data.uFlags |= NIF_TIP;\n- wcscpy_s(icon_data.szTip, base::UTF8ToUTF16(tool_tip).c_str());\n+ wcsncp...
2015-11-04T04:09:05
golang/go
2e210b41ea5ca2fd3dcac5bc24ea932c2cac1234
6a9d81174e6c7d205fc189a1eac56212a723c40c
crypto/x509: remove ios build tag restriction Fixes #49435 Change-Id: I77ce12f447e727e7dc3b23de947357c27a268bd2 Reviewed-on: https://go-review.googlesource.com/c/go/+/362294 Trust: Roland Shoemaker <roland@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
[ { "path": "src/crypto/x509/internal/macos/corefoundation.go", "patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-//go:build darwin && !ios\n+//go:build darwin\n \n // Package macOS provides cgo-less wrappers for Core Fou...
2021-11-08T16:05:24
huggingface/transformers
c1db38686acb480440e9d5e56a6b5cdbe8613321
5426edecab645af05ba95410b71c56887a11f97c
[`Kernels Attention`] Change fallback logic to error out on explicit kernels request and include FA3 (#41010) * fix * be more strict * change logic to include fa3 * fix the case where nothing is requested * modify old tests + add kernels related tests * style
[ { "path": "src/transformers/integrations/hub_kernels.py", "patch": "@@ -152,7 +152,10 @@ def load_and_register_kernel(attn_implementation: str) -> None:\n if not is_kernel(attn_implementation):\n return\n if not _kernels_available:\n- raise ImportError(\"`kernels` is not installed. Pl...
2025-09-29T15:10:59
vercel/next.js
51defb249aaf849c42317ac1e5ee7486eac10d7a
3aca97b410913ff37093c0a01ad5a15e47a5c71c
provide the PORT env var based on server port, update turbopack (#48347) ### What? gives user code access to `process.env.PORT` as current server port avoid injecting env vars into code on server ### Why? it might need construct an addr to fetch from api routes fixes WEB-868 ### Turbopack changes * ...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -386,7 +386,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230413.2#bb08984a544177a14c332d4454837748558d7f13\"\n+source = \"git+https://github.com/v...
2023-04-14T21:04:14
nodejs/node
902998190a55d6915b881936f6dd5b6e9cca6ad8
247c14c040026252814c3d4e8cffb8ac8748180e
tools: fix cpplint.py header rules THIS COMMIT SHOULD GO WITH THE NEXT. IT WILL FIND NEW LINT. PR-URL: https://github.com/nodejs/node/pull/26306 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "tools/cpplint.py", "patch": "@@ -282,9 +282,10 @@ def GetNonHeaderExtensions():\n 'build/forward_decl',\n 'build/header_guard',\n 'build/include',\n- 'build/include_subdir',\n 'build/include_alpha',\n+ 'build/include_inline',\n 'build/include_order',\n+ 'build/include...
2019-02-25T22:28:14
golang/go
6a9d81174e6c7d205fc189a1eac56212a723c40c
7bda349c1735fb6043b22d7a0e4542134baa6518
internal/fmtsort: order channels in test in memory address order Kind of a kludge, but it makes the test work reliably. Fixes #49431 Change-Id: Ic2a075ba02f80ea7efcc1b3f0f5a43649e87c0d8 Reviewed-on: https://go-review.googlesource.com/c/go/+/361918 Trust: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@...
[ { "path": "src/internal/fmtsort/sort_test.go", "patch": "@@ -9,6 +9,7 @@ import (\n \t\"internal/fmtsort\"\n \t\"math\"\n \t\"reflect\"\n+\t\"sort\"\n \t\"strings\"\n \t\"testing\"\n \t\"unsafe\"\n@@ -188,9 +189,19 @@ func sprintKey(key reflect.Value) string {\n \n var (\n \tints [3]int\n-\tchans = [3]chan...
2021-11-08T05:29:30
huggingface/transformers
5426edecab645af05ba95410b71c56887a11f97c
399c589dfaf22138baeb8721a15eed35d5231217
Make quantizers good citizens loading-wise (#41138) * fix param_needs_quantization * rewrite most hqq * clean * fix * comment * remove it from exception of safetensors * start on bnb 4bits * post-rebase fix * make bnb4 bit a good citizen * remove forgotten print * make bnb 8bits a good citizen * better hqq ...
[ { "path": "examples/quantization/custom_quantization_int8_example.py", "patch": "@@ -159,24 +159,13 @@ def _process_model_before_weight_loading(self, model, **kwargs):\n pre_quantized=self.pre_quantized,\n )\n \n- def param_needs_quantization(\n- self,\n- model,\n- ...
2025-09-29T15:04:45
vercel/next.js
c57b89c0df3f992d32047490570c4cd84b280307
3772583b60218ecba9f470b4c31241d93026cb1e
remove panic since this might happen due to eventual consistency (vercel/turbo#4583) ### Description remove panic since this might happen due to eventual consistency
[ { "path": "crates/turbopack-ecmascript/src/references/esm/module_item.rs", "patch": "@@ -3,12 +3,9 @@ use std::mem::replace;\n use anyhow::Result;\n use swc_core::{\n common::DUMMY_SP,\n- ecma::{\n- ast::{\n- ClassDecl, Decl, DefaultDecl, ExportDecl, ExportDefaultDecl, ExportDefault...
2023-04-14T13:51:34
electron/electron
7b47b70c9e4dbf5edf1208e902e4a6ce27b4799e
9047f81835d5e4d0c69d0c1634e17f68f4209601
Fix building on POSIX
[ { "path": "atom/browser/browser.h", "patch": "@@ -11,12 +11,12 @@\n #include \"base/basictypes.h\"\n #include \"base/compiler_specific.h\"\n #include \"base/observer_list.h\"\n+#include \"base/strings/string16.h\"\n #include \"atom/browser/browser_observer.h\"\n #include \"atom/browser/window_list_observer....
2015-11-03T07:16:45
golang/go
7bda349c1735fb6043b22d7a0e4542134baa6518
7ee3f1427b079bb363689321b0565ba7b03de03e
runtime: disable GC in TestPanicSystemstack's subprocess TestPanicSystemstack spins up a subprocess that has 2 goroutines deadlock on a runtime lock while on the system stack, with GOMAXPROCS=2. Each goroutine is going to be running on a P, and then is going to wedge itself up on that P. If a GC is active and a work...
[ { "path": "src/runtime/crash_unix_test.go", "patch": "@@ -13,6 +13,7 @@ import (\n \t\"os\"\n \t\"os/exec\"\n \t\"runtime\"\n+\t\"runtime/debug\"\n \t\"strings\"\n \t\"sync\"\n \t\"syscall\"\n@@ -211,6 +212,11 @@ func TestPanicSystemstack(t *testing.T) {\n \n func init() {\n \tif len(os.Args) >= 2 && os.Arg...
2021-11-05T23:47:51
nodejs/node
247c14c040026252814c3d4e8cffb8ac8748180e
4562697feb85a3c73d31d9f4d857bae7d24d7846
crypto: fix EdDSA support for KeyObject PR-URL: https://github.com/nodejs/node/pull/26319 Fixes: https://github.com/nodejs/node/issues/26316 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tobias Nießen <tniessen...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1133,11 +1133,16 @@ bytes. This property is `undefined` for symmetric keys.\n ### keyObject.asymmetricKeyType\n <!-- YAML\n added: v11.6.0\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/26319\n+ description: Added support...
2019-02-26T10:24:38
huggingface/transformers
52cbc7c868fde27f10e39504fb74ac733cc98b63
de9a75f5b0892b1653b5e820d6e210663a3d2a05
Fix attention sink implementation in flex attention (#41083) * Fix attention sink implementation in flex attention * fix dim * fix * Remove print * raisae error when return_lse is False yet s_aux is providewd * Clean test files for merge * Update src/transformers/integrations/flex_attention.py Co-authored-by: A...
[ { "path": "docs/source/en/model_doc/gpt_oss.md", "patch": "@@ -35,6 +35,8 @@ The abstract from the paper is the following:\n *<INSERT PAPER ABSTRACT HERE>*\n \n Tips:\n+- **Attention Sinks with Flex Attention**: When using flex attention, attention sinks require special handling. Unlike with standard attent...
2025-09-29T14:33:03
rust-lang/rust
dc1b9ce754202493d05a8d7e1627f1d6bc272528
8e285d6f1ae89a0edc4e93509b846661c012ca33
Fix reference mutability in coerce_container_to_any diagnostics
[ { "path": "clippy_lints/src/coerce_container_to_any.rs", "patch": "@@ -79,15 +79,18 @@ impl<'tcx> LateLintPass<'tcx> for CoerceContainerToAny {\n ExprKind::AddrOf(_, _, referent) => (referent, depth),\n _ => (e, depth + 1),\n };\n+ let ty::Ref(_, _, mutability) = *cx.t...
2025-06-14T21:02:53
vercel/next.js
3772583b60218ecba9f470b4c31241d93026cb1e
e51de1c92d4219a33aa2b7f756afdb91cbb1fef1
fixup bind v6 PR: add missing listen call (vercel/turbo#4585) ### Description need to call listen() on the socket
[ { "path": "crates/turbopack-dev-server/src/lib.rs", "patch": "@@ -111,19 +111,18 @@ impl DevServer {\n // When possible bind to v4 and v6, otherwise ignore the error\n let _ = socket.set_only_v6(false);\n }\n+ let sock_addr = addr.into();\n socket\n- ...
2023-04-14T13:32:27
electron/electron
9047f81835d5e4d0c69d0c1634e17f68f4209601
7c7a7b96de198b1dff7d35334079d229ea372c6e
win: Set app user model ID in one place Fix #3297. Fix #2573.
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -7,10 +7,6 @@\n #include <string>\n #include <vector>\n \n-#if defined(OS_WIN)\n-#include <shlobj.h>\n-#endif\n-\n #include \"atom/browser/api/atom_api_menu.h\"\n #include \"atom/browser/api/atom_api_session.h\"\n #include \"atom/browser/api/atom_ap...
2015-11-03T07:09:31
golang/go
7ee3f1427b079bb363689321b0565ba7b03de03e
759eaa22adb0ab883959e4a36c19f2dfe77b5895
runtime: disable GC during debug call tests Currently the debug call protocol implementation we use for testing is riddled with write barriers, and called from a signal handler. This is not safe, as write barriers need a P to execute. Ideally this implementation would be rewritten to avoid the write barriers, but it'...
[ { "path": "src/runtime/debug_test.go", "patch": "@@ -114,6 +114,13 @@ func skipUnderDebugger(t *testing.T) {\n }\n \n func TestDebugCall(t *testing.T) {\n+\t// InjectDebugCall cannot be executed while a GC is actively in\n+\t// progress. Wait until the current GC is done, and turn it off.\n+\t//\n+\t// See ...
2021-11-05T23:35:58
nodejs/node
c51735fd2d8faac787fe85ddbb030e86c63d778f
3753f9cd7694df7b1f4687e4e31422952c88e0e4
worker: release native Worker object earlier Destroy the `Worker` class earlier, because we don’t need access to it once the thread has stopped and all resources have been cleaned up. PR-URL: https://github.com/nodejs/node/pull/26542 Fixes: https://github.com/nodejs/node/issues/26535 Reviewed-By: Gireesh Punathil <gp...
[ { "path": "src/node_worker.cc", "patch": "@@ -136,6 +136,9 @@ Worker::Worker(Environment* env,\n env->inspector_agent()->GetParentHandle(thread_id_, url);\n #endif\n \n+ // Mark this Worker object as weak until we actually start the thread.\n+ MakeWeak();\n+\n Debug(this, \"Preparation for worker ...
2019-03-09T11:37:06
huggingface/transformers
de9a75f5b0892b1653b5e820d6e210663a3d2a05
bcc0dae77ca6b8928589f68ea16f1733978da7ca
fix(trainer): Avoid moving model with device_map (#41032) * fix(trainer): Avoid moving model with device_map When a model is loaded with `device_map="auto"` and is too large to fit on a single GPU, `accelerate` will offload some layers to the CPU or disk. The `Trainer` would previously attempt to move the entire mode...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -894,6 +894,11 @@ def remove_callback(self, callback):\n self.callback_handler.remove_callback(callback)\n \n def _move_model_to_device(self, model, device):\n+ if getattr(model, \"hf_device_map\", None) is not None:\n+ logg...
2025-09-29T14:31:42
rust-lang/rust
a2b234554d7c175ec578c6003f7a966b05258752
97815d0cdabdbd8cb5700f5a8a058f26d7fe848a
Fix coerce_container_to_any false positive on autoderef
[ { "path": "clippy_lints/src/coerce_container_to_any.rs", "patch": "@@ -4,6 +4,7 @@ use clippy_utils::sym;\n use rustc_errors::Applicability;\n use rustc_hir::{Expr, ExprKind};\n use rustc_lint::{LateContext, LateLintPass};\n+use rustc_middle::ty::adjustment::{Adjust, PointerCoercion};\n use rustc_middle::ty...
2025-06-14T19:26:45
electron/electron
7c7a7b96de198b1dff7d35334079d229ea372c6e
9236adfbf57946e554c09f90760bb666dbf6e1e1
win: Do not set app user model id by default When user drags exe file into taskbar directly the pinned icon will not has an app user model id, so if we set app user model id in the application two icons will show in the taskbar. For apps installed with a installer it is not a problem since the shortcut icon will be c...
[ { "path": "atom/browser/browser.cc", "patch": "@@ -89,10 +89,6 @@ std::string Browser::GetName() const {\n \n void Browser::SetName(const std::string& name) {\n name_override_ = name;\n-\n-#if defined(OS_WIN)\n- SetAppUserModelID(name);\n-#endif\n }\n \n bool Browser::OpenFile(const std::string& file_pat...
2015-11-03T06:55:43
golang/go
3e41b18a46ea0cf033be4d9baa2d99f7c8c985dc
ab31dbc05b725135ca5f6fd4337a041d8433f153
cmd/compile/internal/types2: use compiler version error when configured for compiler Fixes #49368. Change-Id: I7c7575ae8bb6271160747e3f1888b144c3ab24c4 Reviewed-on: https://go-review.googlesource.com/c/go/+/361411 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -574,7 +574,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \tcase _Add:\n \t\t// unsafe.Add(ptr unsafe.Pointer, len IntegerType) unsafe.Pointer\n \t\tif !check.allowVersion(check.pkg, 1, 17) {\n-\t...
2021-11-05T03:00:51
huggingface/transformers
bcc0dae77ca6b8928589f68ea16f1733978da7ca
fcd483f0ffb5f53bad845213391f869c6e6d627c
enable flex attention ut cases on XPU (#40989) * enable flex attention ut cases on XPU Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * fix style Signed-off-by: Yao, Matrix <matrix.yao@intel.com> --------- Signed-off-by: Yao, Matrix <matrix.yao@intel.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.norepl...
[ { "path": "tests/extended/test_trainer_ext.py", "patch": "@@ -259,8 +259,8 @@ def train_and_return_metrics(optim: str) -> tuple[int, float]:\n f\" gpu_total_mem_bnb={gpu_total_mem_bnb}MB\",\n )\n \n- self.assertEqual(\n- loss_orig, loss_bnb, f\"loss should be the same, ...
2025-09-29T14:30:49
nodejs/node
b1dce4cfe784344bc012cc4403dc52fb659ff8f4
0d94c23c49218d8bff9a8086134356e76903c5fb
test: fix compiler warning in test_string.c Currently, the following compiler warnings is generated: ../test_string.c:235:50: warning: incompatible pointer types passing 'char [1]' to parameter of type 'const char16_t *' (aka 'const unsigned short *') [-Wincompatible-pointer-types] NAPI_CALL(env, napi_create_string_u...
[ { "path": "test/js-native-api/test_string/test_string.c", "patch": "@@ -232,7 +232,9 @@ static napi_value TestLargeLatin1(napi_env env, napi_callback_info info) {\n static napi_value TestLargeUtf16(napi_env env, napi_callback_info info) {\n napi_value output;\n if (SIZE_MAX > INT_MAX) {\n- NAPI_CALL(...
2019-03-09T04:59:24
huggingface/transformers
a3fa1d3993452ced753eb6bd6003c3e94f0497e8
ad74fba08521b34f36cd72f6254b9b19a4fdb04b
Fix inaccurate train_tokens_per_second when resuming from checkpoint (#41156) * fix(trainer): Fix the issue of inaccurate token count in training sessions During the training process, the initial token count was not saved, leading to inaccurate speed calculation. Now, the initial token count is saved and the incremen...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2516,6 +2516,7 @@ def _inner_training_loop(\n \n self.state.epoch = 0\n start_time = time.time()\n+ self.initial_num_input_tokens_seen_for_session = self.state.num_input_tokens_seen\n epochs_trained = 0\n steps_tra...
2025-09-29T14:22:35
golang/go
9e6ad46bccfa7a63e768236bcd1fd54dab38e4d1
85493d53e3bffbd08de3a97672a5a6f10b4901a8
net/http: fix spelling in documentation Change-Id: I8b0924300eafe27de98975512a78a6527a92e446 Reviewed-on: https://go-review.googlesource.com/c/go/+/354729 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Damien Neil <dneil@google.com>
[ { "path": "src/net/http/httputil/dump.go", "patch": "@@ -292,7 +292,7 @@ func DumpRequest(req *http.Request, body bool) ([]byte, error) {\n // can detect that the lack of body was intentional.\n var errNoBody = errors.New(\"sentinel error value\")\n \n-// failureToReadBody is a io.ReadCloser that just retur...
2021-10-08T01:59:15
vercel/next.js
557084a33193acf9f987cf6a215b93643fe5ced7
79f4e110343f307d1dfff95810aca0dd232af126
Fix fetch cache body handling and update edge-runtime deps (#48365) This ensures we don't fail to return the full body when storing to fetch-cache in edge-runtime. Also ensures the fetch cache tests are running for Node.js v16 correctly. Fetch handling was also failing on Node.js v16 due to react's use of `res.c...
[ { "path": "packages/next/package.json", "patch": "@@ -134,8 +134,8 @@\n \"@babel/traverse\": \"7.18.0\",\n \"@babel/types\": \"7.18.0\",\n \"@capsizecss/metrics\": \"1.1.0\",\n- \"@edge-runtime/cookies\": \"3.0.4\",\n- \"@edge-runtime/primitives\": \"2.0.5\",\n+ \"@edge-runtime/cookies\...
2023-04-14T05:00:20
nodejs/node
0a3bcdd26108bb29045a557bc555c3a53c244a55
963ee0bc736008e01d80fbad973f80fd021735fd
src: refactor coverage connection - Refactor the C++ class to be resuable for other types of profiles - Move the try-catch block around coverage collection callback to be inside the callback to silence potential JSON or write errors. - Use Function::Call instead of MakeCallback to call the coverage message callb...
[ { "path": "lib/internal/bootstrap/pre_execution.js", "patch": "@@ -67,7 +67,7 @@ function setupCoverageHooks(dir) {\n const {\n writeCoverage,\n setCoverageDirectory\n- } = require('internal/coverage-gen/with_profiler');\n+ } = require('internal/profiler');\n setCoverageDirectory(coverageDirec...
2019-03-08T08:34:46
electron/electron
d097082baf74d64c861c3585aeb936b3767e285c
6a02586176cb5d8c483fff73c075b5cac20d9341
Update auto-updater.md to improve readability Fix minor grammatical mistakes, correct sentence structures, and improve readability.
[ { "path": "docs/api/auto-updater.md", "patch": "@@ -4,27 +4,27 @@ This module provides an interface for the `Squirrel` auto-updater framework.\n \n ## Platform notices\n \n-Though `autoUpdater` provides an uniform API for different platforms, there are\n+Though `autoUpdater` provides a uniform API for diffe...
2015-11-01T02:25:07
golang/go
85493d53e3bffbd08de3a97672a5a6f10b4901a8
61d789db3a52e4570596f1fd15122358deb73b77
archive/zip: don't read data descriptor early Go 1.17 introduced an unnecessary change to when a zip's data descriptor is read for file entries, how it is parsed and how the crc32 field is used. Before Go 1.17, the data descriptor was read immediately after a file entry's content. This continuous read is a pattern ex...
[ { "path": "src/archive/zip/reader.go", "patch": "@@ -125,7 +125,6 @@ func (z *Reader) init(r io.ReaderAt, size int64) error {\n \t\tif err != nil {\n \t\t\treturn err\n \t\t}\n-\t\tf.readDataDescriptor()\n \t\tz.File = append(z.File, f)\n \t}\n \tif uint16(len(z.File)) != uint16(end.directoryRecords) { // o...
2021-10-21T09:39:05
rust-lang/rust
5bd2c804b0972158fda69cb3500024f1bfd4d0e7
3f0940628301acd58b0b1a267b28c1ca3e6240c8
Fix for tests/run-make/no-builtins-attribute
[ { "path": ".github/workflows/ci.yml", "patch": "@@ -52,6 +52,8 @@ jobs:\n # `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.\n run: sudo apt-get install ninja-build ripgrep llvm-14-tools llvm libstdc++6\n \n+ - run: g++ -v\n+\n - run: find / -name l...
2025-06-14T12:32:59
vercel/next.js
79f4e110343f307d1dfff95810aca0dd232af126
c1991c6baed5bb0580e0936fb100647a35d82ef9
Fix grammar and typos in OTEL docs (#48235) I ran a grammar check on OTEL docs to get any remaining issues that spell check didn't fix. --------- Co-authored-by: Steven <steven@ceriously.com>
[ { "path": ".vscode/settings.json", "patch": "@@ -71,8 +71,15 @@\n \"cSpell.words\": [\n \"Entrypoints\",\n \"napi\",\n+ \"nextjs\",\n \"opentelemetry\",\n \"Threadsafe\",\n \"zipkin\"\n+ ],\n+ \"grammarly.selectors\": [\n+ {\n+ \"language\": \"markdown\",\n+ \"scheme\...
2023-04-14T04:21:06
nodejs/node
06879aafee892deaf4f58747d1f087a265790492
9a39a652c919b8b30b154df339350d2c746650b0
doc: fix year in changelog Most minor, 2018 should be 2019 for 10.15.3 PR-URL: https://github.com/nodejs/node/pull/26584 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewa...
[ { "path": "doc/changelogs/CHANGELOG_V10.md", "patch": "@@ -54,7 +54,7 @@\n \n \n <a id=\"10.15.3\"></a>\n-## 2018-03-05, Version 10.15.3 'Dubnium' (LTS), @BethGriggs\n+## 2019-03-05, Version 10.15.3 'Dubnium' (LTS), @BethGriggs\n \n ### Notable Changes\n ", "additions": 1, "deletions": 1, "langu...
2019-03-11T12:48:11
huggingface/transformers
ad74fba08521b34f36cd72f6254b9b19a4fdb04b
38a08b6e8ae35857109cedad75377997fecbf9d0
[v5] Remove `model_parallel` deprecated feature (#41166) * fix * remove model parallel * style * removed a bit too much * rm comments * fix
[ { "path": "src/transformers/loss/loss_utils.py", "patch": "@@ -62,7 +62,6 @@ def ForCausalLMLoss(\n # Flatten the tokens\n logits = logits.view(-1, vocab_size)\n shift_labels = shift_labels.view(-1)\n- # Enable model parallelism\n shift_labels = shift_labels.to(logits.device)\n loss =...
2025-09-29T14:14:03
electron/electron
bbb5aef5d268c4f64801c8f96c1bf3e18a9cf836
cb91d4487b2e961503f3e8e01dcc207f2ba58b7e
Improve error handling from remote This way copy all properties available in the error object and keep the real stack trace
[ { "path": "atom/browser/lib/rpc-server.coffee", "patch": "@@ -40,7 +40,7 @@ valueToMeta = (sender, value, optimizeSimpleObject=false) ->\n else if meta.type is 'promise'\n meta.then = valueToMeta(sender, value.then.bind(value))\n else if meta.type is 'error'\n- meta.message = value.message\n+ ...
2015-10-31T23:20:54
golang/go
61d789db3a52e4570596f1fd15122358deb73b77
cfb3dc7710ba35d9932ba9f5242730a97f9ae603
cmd/compile/internal/types2: report error for incomplete struct composite literal type Mark a struct as "complete" with a non-nil (but possibly zero length) fields list. Add a test when type-checking struct composite literals, the same way we do for other composite literal types. Fixes #49276. Change-Id: If44a3d790b...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -1260,6 +1260,12 @@ func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKin\n \n \t\tswitch utyp := structure(base).(type) {\n \t\tcase *Struct:\n+\t\t\t// Prevent crash if the struct referred to is not yet set up.\n+...
2021-11-05T04:31:08
rust-lang/rust
6ca4639d6a0131097bb10e30b516abc2632cf32e
40daf23eeb711dadf140b2536e67e3ff4c999196
Fix random failure when JS code is executed when the whole file was not read yet
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -5393,43 +5393,6 @@ function updateCrate(ev) {\n search(true);\n }\n \n-// @ts-expect-error\n-function initSearch(searchIndx) {\n- rawSearchIndex = searchIndx;\n- if (typeof window !== \"undefined\") {\n- // @ts-expect-error\...
2025-06-14T09:58:47
vercel/next.js
c1991c6baed5bb0580e0936fb100647a35d82ef9
d598fa18476369c6cabfd2b9289ef64e42476197
docs: fix grammar for dynamic routes catch-all explanation and give better examples (#48181) ### Why? Making the explanation more obvious because it took quite a while for me to figure out the difference between catch-all and optional catch-all, and I think others may feel the same way too. --------- Co-aut...
[ { "path": "docs/routing/dynamic-routes.md", "patch": "@@ -93,7 +93,8 @@ Read our docs for [Linking between pages](/docs/routing/introduction.md#linking-\n \n Dynamic routes can be extended to catch all paths by adding three dots (`...`) inside the brackets. For example:\n \n-- `pages/post/[...slug].js` matc...
2023-04-14T04:12:46
nodejs/node
137d3d2734a6f6e891ebab68ec6da16c8a6b397c
a52aedeae08b57daedae56fd818be09df5f32e86
doc: document diverging MessagePort.onmessage handling Fixes: https://github.com/nodejs/node/issues/26463 PR-URL: https://github.com/nodejs/node/pull/26487 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed...
[ { "path": "doc/api/worker_threads.md", "patch": "@@ -319,6 +319,9 @@ listeners are attached.\n \n This method exists for parity with the Web `MessagePort` API. In Node.js,\n it is only useful for ignoring messages when no event listener is present.\n+Node.js also diverges in its handling of `.onmessage`. Se...
2019-03-10T11:12:59
huggingface/transformers
38a08b6e8ae35857109cedad75377997fecbf9d0
4fade1148f86418dadd5a4a21b57af906e0bd5be
More typing fixes (#41102) * Fix noqa Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * fix typing Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Use np.ndarray Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * remove noqa Signed-off-...
[ { "path": "src/transformers/data/data_collator.py", "patch": "@@ -17,25 +17,25 @@\n from collections.abc import Mapping\n from dataclasses import dataclass\n from random import randint\n-from typing import Any, Callable, NewType, Optional, Union\n+from typing import Any, Callable, Optional, Union\n \n impor...
2025-09-29T13:11:53
electron/electron
aa9872035657720354bbf914082156f436d01c42
d223faa9f4f71ca3be2e15b5ab6d79993afdda38
Update dialog.md Clarification of showErrorBox behavior on Linux if called before app `ready` event.
[ { "path": "docs/api/dialog.md", "patch": "@@ -114,4 +114,5 @@ will be passed via `callback(response)`.\n Displays a modal dialog that shows an error message.\n \n This API can be called safely before the `ready` event the `app` module emits,\n-it is usually used to report errors in early stage of startup.\n...
2015-10-30T21:46:18
golang/go
565f457e81a97f80412c9979fc3510c17849381e
3544082f75fd3d2df7af237ed9aef3ddd499ab9c
cmd/compile/internal/types2: always parse tests assuming generic code We don't need to distinguish anymore as this is the new default. This removes the need to prefix test package names with "generic_". Change-Id: If9eaa0a5cffcd19deb529aca6798206f2d396ca1 Reviewed-on: https://go-review.googlesource.com/c/go/+/361408 ...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -17,21 +17,14 @@ import (\n \t. \"cmd/compile/internal/types2\"\n )\n \n-// genericPkg is a source prefix for packages that contain generic code.\n-const genericPkg = \"package generic_\"\n-\n // brokenPkg is a source prefix for packages ...
2021-11-04T23:22:49
vercel/next.js
ab213498d889ea43d031c3a942b47df69f3bc0af
37f709eeb7be4493eca47b229ee2d16b7f21d1d3
[create-next-app]: add mdx files to tailwind content config (#48188) This PR updates create-next-app's tailwind config to consider .mdx files when it generates styles. If you're using MDX, most of a project's styles are generated by the other file flags, which can make it tricky to debug/notice the rare subset f...
[ { "path": "packages/create-next-app/templates/app-tw/js/tailwind.config.js", "patch": "@@ -1,9 +1,9 @@\n /** @type {import('tailwindcss').Config} */\n module.exports = {\n content: [\n- './pages/**/*.{js,ts,jsx,tsx}',\n- './components/**/*.{js,ts,jsx,tsx}',\n- './app/**/*.{js,ts,jsx,tsx}',\n+ ...
2023-04-13T23:39:36
huggingface/transformers
4fade1148f86418dadd5a4a21b57af906e0bd5be
cdba28c3443bc95b8631d73e33579e47f754c198
[tests] `CausalLMTester` automatically infers other test classes from `base_model_class` 🐛 🔫 (#41066) * halfway through the models * update test checks * refactor all * another one * use tuples * more deletions * solve bad inheritance patterns * type * PR ready? * automatic model class inference from the b...
[ { "path": "src/transformers/models/gemma3n/configuration_gemma3n.py", "patch": "@@ -291,9 +291,7 @@ def __init__(\n \n if activation_sparsity_pattern is None:\n num_sparse_layers = 10 if num_hidden_layers > 10 else 0\n- activation_sparsity_pattern = (0.95,) * num_sparse_layers...
2025-09-29T13:05:08
golang/go
3544082f75fd3d2df7af237ed9aef3ddd499ab9c
4f083c7dcf6ace3e837b337e10cf2f4e3160677e
crypto/x509: verification with system and custom roots Make system cert pools special, such that when one has extra roots added to it we run verifications twice, once using the platform verifier, if available, and once using the Go verifier, merging the results. This change re-enables SystemCertPool on Windows, but e...
[ { "path": "src/crypto/x509/cert_pool.go", "patch": "@@ -8,8 +8,6 @@ import (\n \t\"bytes\"\n \t\"crypto/sha256\"\n \t\"encoding/pem\"\n-\t\"errors\"\n-\t\"runtime\"\n \t\"sync\"\n )\n \n@@ -29,6 +27,12 @@ type CertPool struct {\n \t// call getCert and otherwise negate savings from lazy getCert\n \t// funcs)...
2021-10-01T17:14:32
huggingface/transformers
cdba28c3443bc95b8631d73e33579e47f754c198
2dcb20dcecf8f497a6acddd02123b3d6ab671218
[XPU] Add MXFP4 support for XPU (#41117) * XPU supports gpt-oss MXFP4 * Complete MXFP4 UT file and comment information * Complete MXFP4 UT file and comment information * Fix code style * Fix code style --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/integrations/mxfp4.py", "patch": "@@ -23,6 +23,7 @@\n from accelerate import init_empty_weights\n \n import re\n+from contextlib import contextmanager\n \n \n logger = logging.get_logger(__name__)\n@@ -47,6 +48,28 @@\n ]\n \n \n+@contextmanager\n+def on_device(dev):\n+ if ...
2025-09-29T10:10:41
vercel/next.js
37f709eeb7be4493eca47b229ee2d16b7f21d1d3
a9b9561e11c6ac9b902cc469b822a629db9a4143
Investigate redirect getting stuck (#48343) ### What? Fixes a bug where `fetch()` to a page that calls `redirect()` would hang infinitely. ### How? The `Location` header was missing. The reason this wasn't surfaced before is that we also inject the `<meta>` tag to redirect which the browser would pick up t...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -1520,6 +1520,7 @@ export async function renderToHTMLOrFlight(\n }\n if (isRedirectError(err)) {\n res.statusCode = 307\n+ res.setHeader('Location', getURLFromRedirectError(err))\n ...
2023-04-13T23:17:15
electron/electron
8cd8495df7f55f5c46e155a97dff9dcf7e99a861
28fb0d0e925f7d433f22e423e7ba1a9fb9fe2d93
fix capital I -> i in isDocumentEdited Uncaught Exception: TypeError: mainWindow.IsDocumentEdited is not a function
[ { "path": "docs/api/browser-window.md", "patch": "@@ -594,7 +594,7 @@ Returns the pathname of the file the window represents.\n Specifies whether the window’s document has been edited, and the icon in title\n bar will become grey when set to `true`.\n \n-### `win.IsDocumentEdited()` _OS X_\n+### `win.isDocu...
2015-10-30T05:40:46
golang/go
4f083c7dcf6ace3e837b337e10cf2f4e3160677e
f19e4001808863d2ebfe9d1975476513d030c381
cmd/compile: avoid adding LECall to the entry block when has opendefers The openDeferRecord always insert vardef/varlive pairs into the entry block, it may destroy the mem chain when LECall's args are writing into the same block. So create a new block before that happens. Fixes #49282 Change-Id: Ibda6c4a45d960dd412a...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -5075,6 +5075,18 @@ func (s *state) call(n *ir.CallExpr, k callKind, returnResultAddr bool) *ssa.Val\n \t\tfor _, p := range params.InParams() { // includes receiver for interface calls\n \t\t\tACArgs = append(ACArgs, p.Type)\n \t\t}\n+\n+\t\t...
2021-11-05T01:47:54
huggingface/transformers
d0d574b1e417188fdda6d2053dd27c8fb2e4bba1
071eb5334f5a9ac2c7a13515219be8a272388ec6
Modernbert fix (#41056) * Add FA to docker * Fixed padding for mdernbert * Fixed logits and hidden states extraction in ModernBertForMultipleChoice * Added a test for ModernBertForMultipleChoice * fixes * More fixes and GREEN CI * consistency * moar consistency
[ { "path": "src/transformers/models/modernbert/modeling_modernbert.py", "patch": "@@ -893,6 +893,15 @@ def forward(\n _pad_modernbert_output(inputs=hs, indices=indices, batch=batch_size, seqlen=seq_len)\n for hs in all_hidden_states\n )\n+ # If t...
2025-09-29T08:52:44
vercel/next.js
a9b9561e11c6ac9b902cc469b822a629db9a4143
0d2b5745746735c10d33d5b93912e356a2730a54
fix: typo localy --> locally (#48193) ## Improving code comments Fix a simple typo in next-font related code: localy --> locally Thank you for the awesome work! <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you fo...
[ { "path": "packages/next/src/build/webpack/loaders/next-font-loader/index.ts", "patch": "@@ -117,7 +117,7 @@ export default async function nextFontLoader(this: any) {\n 6\n )\n \n- // Add CSS classes, exports and make the font-family localy scoped by turning it unguessable\n+ // Add ...
2023-04-13T23:04:44
nodejs/node
24286ea1e4772c932beab69d93fd643efbdc789e
31947449e30a8bc46ebf94d426ad09b9ad718b40
report: fix stdout/stderr output formatting This commit prevents the report and "report complete" message from being printed on the same line. PR-URL: https://github.com/nodejs/node/pull/26522 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jas...
[ { "path": "src/node_report.cc", "patch": "@@ -171,9 +171,7 @@ std::string TriggerNodeReport(Isolate* isolate,\n return \"\";\n }\n outstream = &outfile;\n-\n- std::cerr << std::endl\n- << \"Writing Node.js report to file: \" << filename << std::endl;\n+ std::cerr << std::end...
2019-03-08T15:28:35
huggingface/transformers
50d2448a1a7b75354c3d0ca879afd124abd244ac
10f6891fc51ee2d51b0b7fbf9c601f839c7b599b
Enable fa in amd docker (#41069) * Add FA to docker * Use caching mechanism for qwen2_5 * Fix a typo in important models list * Partial fixes for gemma3 * Added a commit ID for FA repo * Detailled the expectation storage format * Rebase fix * Apply style fixes --------- Co-authored-by: github-actions[bot] <g...
[ { "path": "docker/transformers-pytorch-amd-gpu/Dockerfile", "patch": "@@ -35,3 +35,10 @@ RUN python3 -m pip uninstall -y kernels\n \n # On ROCm, torchcodec is required to decode audio files and 0.4 or 0.6 fails\n RUN python3 -m pip install --no-cache-dir \"torchcodec==0.5\"\n+\n+# Install flash attention fr...
2025-09-26T11:57:58
golang/go
b74f2efc47bbfcc4aa301ebda1033948d8b6b63e
09e8de70c2ee36d99ba02389da0fe2e203879022
crypto/x509: use the platform verifier on iOS Use the same certificate verification APIs on iOS as on macOS (they share the same APIs, so we should be able to transparently use them on both.) Updates #46287 Fixes #38843 Change-Id: If70f99b0823dd5fa747c42ff4f20c3b625605327 Reviewed-on: https://go-review.googlesource....
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -499,17 +499,6 @@ func (t *tester) registerTests() {\n \t\t})\n \t}\n \n-\tif t.iOS() && !t.compileOnly {\n-\t\tt.tests = append(t.tests, distTest{\n-\t\t\tname: \"x509omitbundledroots\",\n-\t\t\theading: \"crypto/x509 without bundled roots\",\n-\t\t\tfn: fu...
2021-10-01T16:14:10
vercel/next.js
a234c26c33ce14771aab9a94776b3d2d8fe1776b
a140620e138344d750c018bf5729523856208c79
Fix dev getStaticPaths/generateStaticParams calling (#48322) Since exiting in `setTimeout()` can cause a race condition with sending the result from the worker and we don't want to destroy workers when trying to leverage them as it has a perf impact this ensures we create unique workers per usage and destroy them a...
[ { "path": "packages/next/src/server/dev/next-dev-server.ts", "patch": "@@ -151,36 +151,30 @@ export default class DevServer extends Server {\n private getStaticPathsWorker(): { [key: string]: any } & {\n loadStaticPaths: typeof import('./static-paths-worker').loadStaticPaths\n } {\n- if (this.sta...
2023-04-13T22:42:55
huggingface/transformers
97ca0b47124c82cfde886450ea56160ad45c4153
53838edde77cb10f3a360150aa85a457637e9ac3
Fix flash-attn for paged_attention when no kernels (#41078) * Fix non-kernels flash attention paged implementation * Cover all cases * Style * Update src/transformers/integrations/flash_paged.py Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> * Apply style fixes --------- Co-autho...
[ { "path": "examples/pytorch/continuous_batching.py", "patch": "@@ -40,7 +40,8 @@ def generate_simple(\n attn_impl = {\n \"sdpa_paged\": \"sdpa\",\n \"eager_paged\": \"eager\",\n- \"flash_paged\": \"flash_attention_2\",\n+ \"paged_attention\": \"eager\", # TODO: this does n...
2025-09-26T08:41:21
electron/electron
16eafdb0ce1bf1dd9a4f8590d15f2837515e2634
2384c9f493f744616de536dfeaf3711e64fe21f0
Fix remove boolean parameter at IsSwitchEnabled function
[ { "path": "atom/renderer/atom_renderer_client.cc", "patch": "@@ -39,16 +39,8 @@ namespace atom {\n namespace {\n \n bool IsSwitchEnabled(base::CommandLine* command_line,\n- const char* switch_string,\n- bool* enabled) {\n- std::string value = command_line->GetSwitchV...
2015-10-28T18:22:08
golang/go
e83a2047e0332e45c20fb1bcdb984e9cc74ffb1f
ba79c1e24198c2222e3bfe350326a8962fee0441
net/netip: document the zero Addr Fixes #49364 Change-Id: I3372f80723a4deae48ef106f88b0ad880cdd0e45 Reviewed-on: https://go-review.googlesource.com/c/go/+/361914 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/net/netip/netip.go", "patch": "@@ -32,6 +32,9 @@ import (\n //\n // Unlike net.IP or net.IPAddr, Addr is a comparable value\n // type (it supports == and can be a map key) and is immutable.\n+//\n+// The zero Addr is not a valid IP address.\n+// Addr{} is distinct from both 0.0.0.0 and ::.\n ...
2021-11-05T21:55:52
vercel/next.js
a140620e138344d750c018bf5729523856208c79
0faf8bc900b7bffc1c944a177904a44381109039
Add body to router request to fix socket hang up (#48039) ### Description The next.js router will proxy requests if there's a rewrite with an external URL, for POST requests this currently leads to an `ECONNRESET`, because the client request has no body. Fixes WEB-824 --------- Co-authored-by: Tobias Koppers <tobia...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/router.ts", "patch": "@@ -21,6 +21,7 @@ type RouterRequest = {\n pathname: string\n rawHeaders: [string, string][]\n rawQuery: string\n+ body: number[][]\n }\n \n type IpcOutgoingMessage = {\n@@ -101,9 +102,11 @@ export default async function...
2023-04-13T21:09:32
nodejs/node
31947449e30a8bc46ebf94d426ad09b9ad718b40
fb54968ce3f76a057c72783a7a0e4a24c492e124
doc: document fake ENOTFOUND as a system error PR-URL: https://github.com/nodejs/node/pull/26495 Fixes: https://github.com/nodejs/node/issues/26484 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott...
[ { "path": "doc/api/errors.md", "patch": "@@ -573,6 +573,9 @@ program. For a comprehensive list, see the [`errno`(3) man page][].\n - `ENOTEMPTY` (Directory not empty): A directory with entries was the target\n of an operation that requires an empty directory — usually [`fs.unlink`][].\n \n+- `ENOTFOUND` (...
2019-03-07T14:13:40
golang/go
87a3fc518a462a6bef4c395ec5af26f2cdc41207
feb024f4153395e5bbb2a51bb3d1ddc4f5b0d2dc
net/netip: reduce allocations in MarshalBinary Addr's MarshalBinary required two allocations in the case of a zone existing, and AddrPort and Prefix both required three. This refactors things slightly so that each marshal function only needs a single allocation. Change-Id: I9bde9969fedc1cad64bebb607188c4287f6a0d01 Re...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -962,25 +962,30 @@ func (ip *Addr) UnmarshalText(text []byte) error {\n \treturn err\n }\n \n-// MarshalBinary implements the encoding.BinaryMarshaler interface.\n-// It returns a zero-length slice for the zero Addr,\n-// the 4-byte form for an IPv4 address,\...
2021-11-03T14:16:01
huggingface/transformers
449533af73874470e914a203391635e04ac2ffc8
e691f84412563b6abca098f3e044980725d8daa3
Add language specifiers to code blocks of markdown files (#41114) * Add language specifiers to code blocks of markdown files Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Update docs/source/en/model_doc/qwen3_omni_moe.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/s...
[ { "path": "docs/source/en/chat_templating_multimodal.md", "patch": "@@ -56,7 +56,7 @@ out = pipe(text=messages, max_new_tokens=128)\n print(out[0]['generated_text'][-1]['content'])\n ```\n \n-```\n+```text\n Ahoy, me hearty! These be two feline friends, likely some tabby cats, taking a siesta on a cozy pink...
2025-09-25T17:29:57
vercel/next.js
0faf8bc900b7bffc1c944a177904a44381109039
00b1c49c2bbb7c811783a356f4f64afc99c207fd
interception routes: fix support for route groups (#48351) fixes #48104 This PR fixes route groups breaking interception routes. I hadn't realised that route groups were actually part of the tree router, so we were not stripping them out in the interception matcher. Fixed now. <!-- Thanks for opening a PR! Your con...
[ { "path": "packages/next/src/client/components/router-reducer/compute-changed-path.ts", "patch": "@@ -53,7 +53,7 @@ export function extractPathFromFlightRouterState(\n return finalPath.endsWith('/') ? finalPath.slice(0, -1) : finalPath\n }\n \n-export function computeChangedPath(\n+function computeChanged...
2023-04-13T21:00:32
nodejs/node
6e81a959d0b1d23ecc0ae96ce969da8192ad60f9
78913393fa67fdae7a3a87ccf82093b814edcaf8
src: apply clang-tidy various improvement * rewrite to default label in method ConvertUVErrorCode * improve if condition in method PeekWritable * remove redundant cast in node_file.cc PR-URL: https://github.com/nodejs/node/pull/26470 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk...
[ { "path": "src/node_api.cc", "patch": "@@ -7,6 +7,8 @@\n #include \"node_errors.h\"\n #include \"node_internals.h\"\n \n+#include <memory>\n+\n struct node_napi_env__ : public napi_env__ {\n explicit node_napi_env__(v8::Local<v8::Context> context):\n napi_env__(context) {\n@@ -220,9 +222,9 @@ class ...
2019-03-06T14:15:22
electron/electron
4efff0800716262d69f24494ef4cff38358746d8
974b5005bcf21055280b5a1caf8563fb9a572b69
Fix comments from @jlord
[ { "path": "docs/api/remote.md", "patch": "@@ -3,7 +3,7 @@\n The `remote` module provides a simple way to do inter-process communication\n (IPC) between the renderer process (web page) and the main process.\n \n-In Electron, GUI-related modules (such as `dialog`, `menu` etc.) are only available in the main p...
2015-10-28T16:55:18
golang/go
feb024f4153395e5bbb2a51bb3d1ddc4f5b0d2dc
8f923a4e3c03829874b43291f2bdfd12e2d8189b
crypto/x509: use platform verifier on darwin When VerifyOptions.Roots is nil, default to using the platform X.509 certificate verification APIs on darwin, rather than using the Go verifier. Since our oldest supported version of macOS is 10.12, we are able to use the modern verification APIs, and don't need to resort t...
[ { "path": "src/crypto/x509/cert_pool.go", "patch": "@@ -106,6 +106,8 @@ func SystemCertPool() (*CertPool, error) {\n \tif runtime.GOOS == \"windows\" {\n \t\t// Issue 16736, 18609:\n \t\treturn nil, errors.New(\"crypto/x509: system root pool is not available on Windows\")\n+\t} else if runtime.GOOS == \"dar...
2021-09-29T18:31:01
huggingface/transformers
e691f84412563b6abca098f3e044980725d8daa3
e54bb62a73d2da84f973df17d2604338760b702f
Force new vision models addition to include a fast image processor (#40802) * add test * fix test and change cutoff date * Add documentation to test
[ { "path": "tests/test_image_processing_common.py", "patch": "@@ -16,11 +16,13 @@\n import json\n import os\n import pathlib\n+import subprocess\n import tempfile\n import time\n import unittest\n import warnings\n from copy import deepcopy\n+from datetime import datetime\n \n import httpx\n import numpy as ...
2025-09-25T15:58:18
vercel/next.js
00b1c49c2bbb7c811783a356f4f64afc99c207fd
2505e1114616990759ad75712840140289aa08a7
app router: fix scrolling behaviour for parallel routes (#48346) This PR fixes issues where rendering a new parallel route would reset the scroll state of the page. This would be very apparent if you scrolled down the page and opened a modal in a parallel route. After a bit of investigating, I found out that the ...
[ { "path": "packages/next/src/client/app-index.tsx", "patch": "@@ -239,6 +239,7 @@ export function hydrate() {\n focusAndScrollRef: {\n apply: false,\n hashFragment: null,\n+ segmentPaths: [],\n },\n nextUrl: null,\n }}", ...
2023-04-13T20:03:02
nodejs/node
961322178d69325a46dbcbaea1da818fff12c45a
d57d09905e30227936ac80ff547da27181566082
test: de-flake test-dns-idna2008.js * use known well-behaved DNS server * force pass on ESERVFAIL PR-URL: https://github.com/nodejs/node/pull/26473 Fixes: https://github.com/nodejs/node/issues/25870 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheun...
[ { "path": "test/internet/test-dns-idna2008.js", "patch": "@@ -11,23 +11,41 @@\n const { mustCall } = require('../common');\n const assert = require('assert');\n const dns = require('dns');\n+const { addresses } = require('../common/internet');\n \n-const [host, expectedAddress] = ['straße.de', '81.169.145.7...
2019-03-06T15:30:13
electron/electron
5d8a31c1401bccf21bac1d50c111871f292258e7
3881ad1c4b49db71a24b6ed2e1208ce6e954e1c0
spec: Return early on error
[ { "path": "spec/api-protocol-spec.coffee", "patch": "@@ -26,6 +26,7 @@ describe 'protocol module', ->\n callback(text)\n callback()\n protocol.registerStringProtocol protocolName, doubleHandler, (error) ->\n+ return done(error) if error\n $.ajax\n url: \"#{prot...
2015-10-28T10:19:36