instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
JelteF__derive_more__135
JelteF/derive_more
135
defect
697363ca8ca6c95d3eafaad2965e95eb25373ee4
6f78e5bd90e3fe92a75a6e000cc844b84756ebe5
Allow additional explicit types for From
Resolves #119 ## What this PR does? This PR implements [the suggested syntax](https://github.com/JelteF/derive_more/issues/119#issuecomment-595712232) for additional types conversions when deriving `From`. ```rust #[derive(From)] enum MixedIntsExplicit { #[from(types(i8))] SmallInt(i32), #[fro...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ef2cb811..a04b013f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 0.99.10 - 2020-??-?? + +### Improvements +...
4
3
2
[{"id": "G0", "claim": "Only have the `types` field and its parsing code when a feature that uses it is enabled, e.g. `#[cfg(feature = \"from\")]`, so the last commit requiring `syn/extra-traits` for all features can be undone and users can still save compilation time.", "category": "performance", "verdict": "supported...
null
JelteF__derive_more__182
JelteF/derive_more
182
defect
069a2f763aac1351e9d0cbc93053af6a226e0971
3bb76fd75c0042893bbb02159457958bf13740ce
Add support for captured identifiers
Since Rust 1.58 `format_args!` macro can capture identifiers: `format!("Prefix: {some_local_variable}")`. This PR adds support for this feature while preserving MSRV by transforming `format!("Prefix: {field}")` into `format!("Prefix: {field}", field = field)`. ### Limitations This approach doesn't work well with ...
diff --git a/Cargo.lock b/Cargo.lock index 0ad225fa..ad4c4a18 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,6 +16,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version", + "rustversion", "syn", "unicode-xid", ] @@ -47,6 +48,12 @@ dependencies = [ "semver", ] +[[package]] +name = "rustversion" +...
1
1
0
[{"id": "G0", "claim": "The `Argument` type and its variants should be renamed to align with the terminology of the linked std fmt docs rather than the formal grammar: `Argument` -> `Parameter`, `Ident` -> `Named`, `Integer` -> `Positional` (keeping the formal grammar naming only inside `parsing`).", "category": "maint...
null
JelteF__derive_more__206
JelteF/derive_more
206
defect
a6eb988bc6daf5f7cbcc6aeaacdd6a964c2b6e32
81fc3966227cb3d73a15c2b49d533429fdf83929
Add try/ref versions to unwrap
I extended Unwrap to add one that returns Option, one that returns reference, and a combination of the two, for my use. It's ready to merge, but I don't think it's well discussed and considered. `try_unwrap_<variant>_ref` is... little uncool. So I'll leave it as a draft to solicit opinions. ```rust #[derive(Unwra...
diff --git a/Cargo.toml b/Cargo.toml index e1989553..ef9eb52c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,6 +70,7 @@ try_into = ["syn/extra-traits"] testing-helpers = ["rustc_version"] is_variant = ["convert_case"] unwrap = ["convert_case", "rustc_version"] +try_into_variant = ["convert_case", "rustc_version"] ...
7
5
2
[{"id": "G0", "claim": "There is a known issue with *_ref naming conflicts when an enum has both a SomeVariant and a SomeVariantRef variant, and the author asks for advice on it.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "For completeness the PR s...
null
JelteF__derive_more__268
JelteF/derive_more
268
defect
37cae226bf21380a1b6a8862d21fe7217d1551a0
a38e5d54c55dafdb88dad09d5cf6373838f072b8
Support Error in no_std environments
Resolves #261 ## Synopsis The `Error` derive can be made to work well for the most part in `no_std` environments by enabling `#![feature(error_in_core)]`. This changes the `Error` derive slightly to import `Error` and related traits from core, when the `std` feature is disabled. In passing this also fix...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e722e6c7..9ed36bba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,6 +117,10 @@ jobs: test-features: name: test features runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ...
4
2
1
[{"id": "G0", "claim": "The generated code should reference the trait as `::derive_more::Error` (with the trait re-exported publicly alongside the macro) instead of the private `::derive_more::__private::Error` path.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
JelteF__derive_more__284
JelteF/derive_more
284
defect
a381551f6e5e281db34b2dbe3c7257ea0e9fd352
7acdaf3c8f74d9c88b65292a0b3271063ae4ec67
Fix IntoIterator derived bounds (#208)
Resolves #208 ## Synopsis For generic structs, some derived IntoIterator bounds are based on the struct's type parameters, rather than the field used in the implementation. ## Solution Require only the type of the field used to be `IntoIterator` ## Checklist - [x] Documentation is updated (if requi...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 16795055..353d2212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fix `Error` derive not working with `const` generics. - Support trait objects for source in Error, e.g. `Box<dyn ...
4
2
1
[{"id": "G0", "claim": "Add tests that exercise values (and extend this to the already existing tests too), to ensure the generated code produces correct Iterators.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Also add tests which check just the #[int...
null
JelteF__derive_more__297
JelteF/derive_more
297
defect
6a444a3fc920285418c1143b526975f811d7f483
cad13e7d95cc47ebe276153ec70f5a69fbe377ef
Fix Display docs to accurately describe bounds behaviour
Resolves #281 ## Synopsis The docs for the `Display` derive state that explicitly specified bounds replace the auto-inferred ones, when this is actually not the case. There's also some outdated information about what's allowed in `#[display(bound(...)]` arguments, and incorrect example generated where clauses...
diff --git a/impl/doc/display.md b/impl/doc/display.md index 5b616ca4..2a5c4746 100644 --- a/impl/doc/display.md +++ b/impl/doc/display.md @@ -61,9 +61,10 @@ struct Foo<'a, T1, T2: Trait, T3> { ``` The following where clauses would be generated: -* `T1: Display + Pointer` -* `<T2 as Trait>::Type: Debug` -* `Bar<T3>...
2
2
1
[{"id": "G0", "claim": "Please add a CHANGELOG entry (to the \"Fixed\" section) mentioning the commit/PR where this changed, explaining that the wrong Display docs were fixed.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider whether more te...
null
JelteF__derive_more__350
JelteF/derive_more
350
defect
42d5251f246c4fefc587e2a73075eecb0167f75c
62bd7b82a5339b77493166e1ce0dc3537d62bf34
feat(is_variant): add `#[must_use]` annotation
Resolves #349 ## Synopsis & Solution Adds a `#[must_use]` annotation to the static methods generated by `IsVariant`. I also refactored the derive to use `matches!(...)` instead of a manual `match` block with bools, but that's just a style tweak. ## Checklist - [x] Documentation is updated (if required) - ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 270eee3a..0598777e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed - The `Constructor` and `IsVariant` derives now generate `const fn` functions. +- Static methods derived...
4
4
2
[{"id": "G0", "claim": "For hygiene, the generated code should invoke `matches!` via the fully-qualified path `derive_more::core::matches!`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The generated-code example in the docs should show only `#[mu...
null
JelteF__derive_more__371
JelteF/derive_more
371
defect
cf842e9482cd89672db70be8f16c5a134f72ac71
16713df62ef4fd7ca7f68bae503ebea3a6a0e73e
Only put Debug-like bounds on type variables
Resolves #363 Well, at least it's a suggestion for a resolution :p ## Synopsis The problem, as reported in the issue, is that code like the following ```rust #[derive(derive_more::Debug)] struct Item { next: Option<Box<Item>>, } ``` expands into something like ```rust impl std::fmt::Debug fo...
diff --git a/impl/src/fmt/debug.rs b/impl/src/fmt/debug.rs index 68e873e1..ddcd44ed 100644 --- a/impl/src/fmt/debug.rs +++ b/impl/src/fmt/debug.rs @@ -24,9 +24,22 @@ pub fn expand(input: &syn::DeriveInput, _: &str) -> syn::Result<TokenStream> { .unwrap_or_default(); let ident = &input.ident; + let ty...
4
3
3
[{"id": "G0", "claim": "The Path handling of `contains_type_variable` is wrong: a multi-segment path like `std::vec::Vec` cannot contain a type variable, so only a bare path ident or a generic argument inside the path (the `T` in `std::vec::Vec<T>`) should count, not a path segment's identifier — and a case like `struc...
null
JelteF__derive_more__377
JelteF/derive_more
377
defect
79e7fec454c9f9887c70c681593b81109532bb09
b8779400986c6dc56ac1955e47556abbce27cfe7
Support _variant in outer level enum formatting for Display
Resolves #142 Resolves #239 ## Synopsis This adds back support for top-level format strings of the Display derive. It now includes the display of the variant whenever the `_variant` placeholder apears be found. It also supports using the field ## Solution This does not include the same support for De...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 657f25c0..13439b8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: strategy: fail-fast: false matrix: - msrv: ["1.65.0"] + msrv: ["1.70.0"] os: - ubunt...
5
5
1
[{"id": "G0", "claim": "The `msrv` setting in clippy.toml can be removed completely, because clippy now defaults to `Cargo.toml`'s `rust-version`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The shared-format implementation should be re-desug...
null
JelteF__derive_more__395
JelteF/derive_more
395
defect
33f95a79dcce8adf12ec1ccd380e9f83f4c1262e
30ccf11176a981e13e53594747eeec9cd7cd83b0
Fix transparency and behavior of shared attribute formatting on enums (#377, #411)
Follows #377 Resolves #411 ## Synopsis At the moment, the following example: ```rust #[derive(Debug, Display)] #[display("{self:?}")] enum Enum { #[display("A {_0}")] A(i32), #[display("B {}", field)] B { field: i32 }, C, } ``` expand incorrectly as: ```rust #[automatically_de...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 460b4151..19f0e070 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## 1.0.1 - Unreleased +### Fixed + +- A top level `#[display("...")]` attribute on an enum being incorrectly + trea...
2
2
1
[{"id": "G0", "claim": "A variant-level `#[display]` attribute being ignored when the shared enum-level attribute contains no `{_variant}` — the behaviour the new `only_field` test encodes — should not ship as is; the case should be made a hard error or follow defaulting semantics (enum attribute as the default, varian...
null
JelteF__derive_more__410
JelteF/derive_more
410
defect
06acaad5b3020401e64bbb21027c5b7363835d9a
d838728b5953b94fb0f5c21e8f1ed639ae31f043
Fix ambiguous associated item for `TryFrom`, `TryInto` and `FromStr`
Resolves #409 ## Synopsis Fixes the "abiguous associated item" error when deriving `TryFrom`, `TryInto` or `FromStr` when those types have an associated item called `Error` or `Err` respectively. All these derives produce that error: ```rust use derive_more::*; #[derive(TryFrom)] #[try_from(repr)] #[rep...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5029725c..60a79fb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ([#399](https://github.com/JelteF/derive_more/pull/399)) - `unreachable_code` warnings on generated code when `!` (n...
1
1
1
[{"id": "G0", "claim": "The pull request should also add tests for the problematic cases (ambiguously named associated items) that its fix addresses.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
JelteF__derive_more__434
JelteF/derive_more
434
defect
7b23de3d53616deec91cd507a0afd19b7634e426
823717593a61596ceed8c9affb9af842f90c53d8
Fix raw identifiers usage in `Display`/`Debug` derives (#431)
Resolves #431 ## Synopsis See https://github.com/JelteF/derive_more/issues/431#issue-2761055237: > Both of the following generate a working impl: > > ```rust > #[derive(Display)] > #[display("{thing}")] > struct Struct<T> { > thing: T, // generic > } > ``` > > ```rust > #[derive(Display)] > ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 576d050b..152e7144 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Top-level `#[display("...")]` attribute on an enum being incorrectly treated as transparent or wrapping. ([#395...
2
2
2
[{"id": "G0", "claim": "The `Debug` test expects the field rendered as `StructOne { r#thing: 8 }`, but std renders raw identifiers unraw, so the expected output should be `StructOne { thing: 8 }`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A tes...
null
JelteF__derive_more__443
JelteF/derive_more
443
defect
c5e5e82c0ade464539c21b055bd26378579e26e8
2ebbf3ea05fb5a2013efc71a5dc66efc17f8ef29
impl rename_all for #[derive(Display)] (#216)
Resolves #216 <!-- paste issue reference --> ## Checklist - [x] Documentation is updated (if required) - [x] Tests are added/updated (if required) - [x] [CHANGELOG entry](/CHANGELOG.md) is added (if required)
diff --git a/impl/Cargo.toml b/impl/Cargo.toml index b836827b..330dd8a8 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -56,7 +56,7 @@ constructor = [] debug = ["syn/extra-traits", "dep:unicode-xid"] deref = [] deref_mut = [] -display = ["syn/extra-traits", "dep:unicode-xid"] +display = ["syn/extra-traits", "d...
2
2
1
[{"id": "G0", "claim": "`rename_all` should not enable implicit unit-variant naming for fmt traits other than `Display` (finding `format!(\"{:o}\", Enum::VariantOne)` produce \"variant_one\" is awkward), and should instead be forbidden for those traits in the same way the pre-existing code forbids implicit naming there...
null
JelteF__derive_more__46
JelteF/derive_more
46
defect
bd6a8e05779f56d3469ba8c289bc20669c366cfa
3ad5a2869a2bdd9966823055a9426e44aaac82ea
Add support for #[derive(TryInto)]
Fixes #45
diff --git a/README.md b/README.md index 894e91d1..ab6cc8a9 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ before. 10. [`#[derive(AddAssign)]`](https://jeltef.github.io/derive_more/derive_more/add_assign.html) 11. [`#[derive(MulAssign)]`](https://jeltef.github.io/derive_more/derive_more/mul_assign.html) ...
9
9
2
[{"id": "G0", "claim": "The new derive-list entry should be added in src/lib.rs instead of README.md, since the README is only updated when creating a release.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new entry should also come with a ...
null
JelteF__derive_more__466
JelteF/derive_more
466
defect
96b92a7a7b498ac90762862a86e57454669df55f
044356619c1d8647bb9594d0efd1f9f901e10f92
Use `core::error::Error` in codebase
## Synopsis We had [TODOs across the code](https://github.com/JelteF/derive_more/blob/v2.0.1/impl/src/error.rs#L43-L44): > ```rust > // TODO: Use `derive_more::core::error::Error` once `error_in_core` Rust feature is > // stabilized. > ``` The `feature(error_in_core)` was [stabilized in 1.81 Rust](https...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef92f78b..dca207b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: strategy: fail-fast: false matrix: - msrv: ["1.75.0"] + msrv: ["1.81.0"] os: - ubunt...
2
2
0
[{"id": "G0", "claim": "The MSRV bump should not be listed under a \"Breaking changes\" section in the CHANGELOG (MSRV bumps are no longer considered breaking, per the README), and should instead be placed in a \"Changed\" section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intro...
null
JelteF__derive_more__489
JelteF/derive_more
489
defect
c0602e6c16141fcc73992fcebf733d500bc756f9
3d83d956f4f96afad4e8bbc7f274e5f7e36f9e73
Resolve `Self` type in `Into`/`TryInto` derives
Resolves #335 Resolves #413 ## Synopsis Resolves `Self` to the actual type it refers to in `Into`/`TryInto` derives. `Into`/`TryInto` derives generate `From`/`TryFrom` implementations on the inner type instead of the enum/struct type on which the `#derive` annotation is placed. During code generation, `Self`, w...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f1e79b5..5aa1a2fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ([#458](https://github.com/JelteF/derive_more/pull/458)) - Missing trait bounds in `AsRef`/`AsMut` derives when asso...
1
1
0
[{"id": "G0", "claim": "The `resolve_*` methods repeat visiting logic that the `VisitMut` trait already provides, so that logic should be moved into their `VisitMut` implementation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JelteF__derive_more__494
JelteF/derive_more
494
defect
c2b1a62cb5994ebeaab7550d57d09b53bef6e31e
d6512b2edb1f5f6fef317f7e04e44ae6702a8f06
Add support for custom error type for FromStr derive
Resolves #112 Related to #396 ## Synopsis Add support for a `#[from_str(error(error_ty[, error_fn]))]` attribute to specify a custom error type for `FromStr` derive for enums (or structs with no fields) in case where the string does not match any variant. A conversion function to convert a `derive_more::FromStrE...
diff --git a/impl/doc/from_str.md b/impl/doc/from_str.md index 2e76a96a..9fdef6f7 100644 --- a/impl/doc/from_str.md +++ b/impl/doc/from_str.md @@ -138,6 +138,112 @@ impl derive_more::core::str::FromStr for EnumNoFields { } ``` +A custom error type can be specified, optionally with a function to convert to it from +...
2
2
1
[{"id": "G0", "claim": "The custom-error feature could be supported for any `FromStr` derive, not just the enum flat representation, and so deserves its own h2-level section (`## Custom error`) at the end of the docs.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
JelteF__derive_more__503
JelteF/derive_more
503
defect
e0a0713f93ec38d777fbcb789ea1e41dffc415b6
83d76944f2f5e50315cf485f677edd6617f96716
Support for custom error type in `TryInto` derive
Resolves #396 <!-- Remove the lines above if there are no related issues/PRs --> ## Synopsis Add support for specifying a custom error type for `TryInto` derive via a `#[try_into(error(error_ty[, error_fn]))]` attribute similarly to #494 for `FromStr`. However there are a couple of issues that need clarifying...
diff --git a/impl/src/try_into.rs b/impl/src/try_into.rs index c76baa03..2ef37f06 100644 --- a/impl/src/try_into.rs +++ b/impl/src/try_into.rs @@ -2,21 +2,50 @@ use crate::utils::{ add_extra_generic_param, numbered_vars, replace_self::DeriveInputExt as _, AttrParams, DeriveType, MultiFieldData, State, }; -us...
5
3
0
[{"id": "G0", "claim": "The error message that `State::with_attr_params()` returns is unhelpful in some cases, so after parsing it should be post-processed into a better one, with a test covering it to guard against regressions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
Jeryn99__Regeneration__423
Jeryn99/Regeneration
423
defect
3e34ba3f2c9ef11e62bb6924110e0d0c07f2375c
616ade3f2b4768021f764e22e8316862a9f14798
Adding Toggle Trait key to 1.19.2 version
- All traits can be toggled using a configurable key; - The trait now is displayed in green for activated and red for deactivated; - The KnockBack trait is now working properly on Forge; - Tested both on Forge and Fabric.
diff --git a/common/src/main/java/mc/craig/software/regen/client/RKeybinds.java b/common/src/main/java/mc/craig/software/regen/client/RKeybinds.java index 8c468f64..e8144ce0 100644 --- a/common/src/main/java/mc/craig/software/regen/client/RKeybinds.java +++ b/common/src/main/java/mc/craig/software/regen/client/RKeybind...
5
2
0
[{"id": "G0", "claim": "The traitActive field declaration should be moved out from under the '//Don't save to disk' comment because it is saved to disk.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added Objects.requireNonNull(...).removeM...
null
JesperAxelsson__rust-intmap__69
JesperAxelsson/rust-intmap
69
defect
e7edd6e8fb452506ca2570e91f62b14dc29a950c
82ec86f166b282565ca03d1ff0beb887e426dbd5
Support custom key type
This PR is an alternative to: - #63, my initial PR that tries to avoid breaking changes - #67, a PR from @414owen that allows any types as keys if they implement enough traits from the `num-traits` crate This PR is a combination of both PRs: - It supports other primitive integers - It supports user provided ...
diff --git a/Cargo.toml b/Cargo.toml index 721500e..380bf7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,12 +3,12 @@ name = "intmap" version = "2.0.0" edition = "2021" rust-version = "1.58" -description = "Specialized HashMap for u64 keys" +description = "Specialized HashMap for integer keys" authors = ["Jesper A...
3
2
0
[{"id": "G0", "claim": "Where a key is converted with `let int = key.into_int();`, the PR author should consider shadowing `key` instead, since as far as `get` or `insert` are concerned it is still a key.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "`I...
null
JesperAxelsson__rust-intmap__84
JesperAxelsson/rust-intmap
84
defect
4b38a137fe23a96f9147c5ed831a1ea1b5ef2327
cd51a30e7836fd78dc0f7f437ff08de8e1b75b4e
more functions to match standard entry api
closes #83 Introduces some more functions to the entry api to make migration from other map-libraries even more convenient
diff --git a/src/entry.rs b/src/entry.rs index 390aeeb..3cf125e 100644 --- a/src/entry.rs +++ b/src/entry.rs @@ -47,6 +47,58 @@ impl<'a, K: IntKey, V> Entry<'a, K, V> { (cache_ix, vals_ix) } + + /// Ensures a value is in the entry by inserting the provided value if empty, and returns + /// a mutab...
1
1
1
[{"id": "G0", "claim": "or_insert_with_key should take the key by value (K) instead of by reference (&K) to stay consistent with the IntMap API's convention of passing keys by value, or else the method should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
JetBrains__Grammar-Kit__426
JetBrains/Grammar-Kit
426
defect
40bd5b840234c501a0b52b51eb39ae1eb3d0b273
7e173e5c2882e34fc79b03a1178ce218b757f664
#403 introduced `fallbackStubElementType`
Currently, the fallback element type is just hardcoded into parser generator. Now we can override it for a parser. Technically we can introduce the per-rule option, allowing us to specify the element type for each stub based psi element, but this feels good enough.
diff --git a/.gitignore b/.gitignore index fd60214ca..b6fa6de5b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,13 @@ .idea/shelf/ .idea/workspace.xml .gradle/ +.idea/compiler.xml +.idea/gradle.xml +.idea/misc.xml +.idea/modules.xml +.idea/modules/ +.idea/libraries/ +.intellijPlatform/ out/ binaries/ build/ d...
6
4
2
[{"id": "G0", "claim": "The pull request should fix the outdated files in the .idea folder instead of ignoring IntelliJ settings, as the reviewer already did on master.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation should say \"the par...
null
JetBrains__Grammar-Kit__439
JetBrains/Grammar-Kit
439
defect
272f5482fbb8a122e5905a7b269329573a47ec0d
4c7c64ee5f4fe5c46d1f1d49fb05ee7360a28ead
Fix duplicate @NotNull annotation for qualified return types
## Summary - Fixes #436: When a mixin method returns a qualified/nested type (e.g., `ReadWriteAccessDetector.Access`) annotated with `@NotNull`, Grammar-Kit emits `@NotNull` twice — once from `getAnnotations()` and once embedded in the return type from `getCanonicalText(true)` — producing uncompilable code - In `gener...
diff --git a/src/org/intellij/grammar/generator/ParserGenerator.java b/src/org/intellij/grammar/generator/ParserGenerator.java index af3954556..3ad281417 100755 --- a/src/org/intellij/grammar/generator/ParserGenerator.java +++ b/src/org/intellij/grammar/generator/ParserGenerator.java @@ -2049,7 +2049,9 @@ private void ...
3
2
2
[{"id": "G0", "claim": "The dedup check matches the annotation anywhere in the type text, so an @NotNull used within a generic type argument (like Foo<@NotNull Bar>) is treated as if present on the top-level type and can make the workaround misfire.", "category": "correctness", "verdict": "supported", "priority": "P1",...
null
JetBrains__jediterm__325
JetBrains/jediterm
325
defect
985e58caa97899e2d1b933aecd326421c65cd729
4a1e7ebac551a650f33107666d2c1d8006de42ef
Respect alpha component by `TerminalColor.fromColor`
https://youtrack.jetbrains.com/issue/IJPL-231853/Classic-Terminal-background-selection-color-in-output-doesnt-support-transparency
diff --git a/VERSION b/VERSION index 3d3778298..9cb0a05a8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.63 \ No newline at end of file +3.64 \ No newline at end of file diff --git a/core/src/com/jediterm/terminal/TerminalColor.java b/core/src/com/jediterm/terminal/TerminalColor.java index 2fbb43185..37ad2ad3d 10064...
2
2
2
[{"id": "G0", "claim": "The PR preserves alpha in fromColor but ships no unit test asserting that behavior; add a test constructing a Color with non-255 alpha and verifying fromColor(color).toColor() keeps the same alpha.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
JetBrains__jetpad-projectional-open-source__274
JetBrains/jetpad-projectional-open-source
274
defect
f3a7c71bacd5985413a5de879990732f51f26fec
d8599f920f0235c48174562d5773457305928869
DP-1152 DP-1163 Projectional editor items split and join
NB: there is dependent pull request https://github.com/JetBrains/datapad/pull/35. I haven't tested this one separately from the other, so please merge both or neither. For all explanations see dependent request.
diff --git a/projectional/src/main/java/jetbrains/jetpad/projectional/cell/ProjectionalObservableListSynchronizer.java b/projectional/src/main/java/jetbrains/jetpad/projectional/cell/ProjectionalObservableListSynchronizer.java index 2528677d..95a48cc0 100644 --- a/projectional/src/main/java/jetbrains/jetpad/projectiona...
2
1
0
[{"id": "G0", "claim": "The ItemsSplitterJoiner interface should be renamed to SplitJoinHandler.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request title/branch references the wrong ticket; it should be DP-953 rather than DP-1163.",...
null
JetBrains__jetpad-projectional-open-source__275
JetBrains/jetpad-projectional-open-source
275
defect
94e6f317bd6be65b0a834742c98d50fc17d4cd37
7d04378936e311ad522a92abd358028f2b8dc0d2
DP-1232 Less events on tokens change
This is a member of a triple pull request. Please merge all of them or neither. Dependent pull requests to be merged synchronously: ~~https://github.com/JetBrains/jetpad-mapper/pull/83~~ https://github.com/JetBrains/jetpad-mapper/pull/84 https://github.com/JetBrains/datapad/pull/36
diff --git a/hybrid/src/main/java/jetbrains/jetpad/hybrid/TokenCompleter.java b/hybrid/src/main/java/jetbrains/jetpad/hybrid/TokenCompleter.java index c45cc621..fe957026 100644 --- a/hybrid/src/main/java/jetbrains/jetpad/hybrid/TokenCompleter.java +++ b/hybrid/src/main/java/jetbrains/jetpad/hybrid/TokenCompleter.java @...
3
3
0
[{"id": "G0", "claim": "The new declaration `int targetIndex = index, sourceIndex = 0;` should follow the Java code style of one declaration per line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test assertion messages should read \"Too m...
null
JetBrains__js-graphql-intellij-plugin__381
JetBrains/js-graphql-intellij-plugin
381
defect
4e44695bcd9ad8f6e5ad722badae34dfba4c049c
1cf5f41f448f9ca7f92df6abd737fe64c2f1d00e
Reworked introspection query error handling
1. Moved the process of building the introspection scheme from the EDT. For example, introspection of the GitHub API schema took a long time and completely hanged UI. 2. Introspection schema parsed twice because of this method `com.intellij.lang.jsgraphql.v1.ide.project.JSGraphQLLanguageUIProjectService#getErrorCount`...
diff --git a/resources/messages/GraphQLMessages.properties b/resources/messages/GraphQLMessages.properties index bc3d833e..f63e8ac8 100644 --- a/resources/messages/GraphQLMessages.properties +++ b/resources/messages/GraphQLMessages.properties @@ -1,9 +1,10 @@ # Notifications -graphql.notification.introspection.error.t...
2
2
0
[{"id": "G0", "claim": "Invert the nested if-conditions in getIntrospectionSchemaData (early-return when __schema is present) and split the method into smaller methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions why th...
null
JetBrains__js-graphql-intellij-plugin__426
JetBrains/js-graphql-intellij-plugin
426
defect
aca141d4e6725a14a9a4c376112ad3826592cd41
90eb43c12c41225eac0e01bdfbe87afe76933956
Added the ability to load env variables from a .env file
Thanks for creating this awesome plugin, I enjoy using it 😊 I wanted it to be able to load the env variables from a .env file so I've created this pull request which achieves just that. Let me know if this approach is OK or too naive
diff --git a/README.md b/README.md index 4216cae3..0af661f8 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the - Syntax highlighting, code-formatting, folding, commenter, and brace-matching - 'Find Usages' and 'Go to Declaration' f...
6
4
1
[{"id": "G0", "claim": "The pathOfConfigFileParent temporary variable is redundant because VirtualFile.getPath() is @NotNull; the code should use parentDir.getPath() directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "project.getBasePath() ...
null
JetBrains__js-graphql-intellij-plugin__609
JetBrains/js-graphql-intellij-plugin
609
defect
5c5a26ab09fa18e2ea04a8eea820e5dde87d174d
16f311f2d1a5f94c6ab47628d6d04637133b17a1
Add GraphQL definitions for the Apollo Kotlin library
This plugin works great with Android Studio, where I've been using it to develop apps with [Apollo Kotlin](https://github.com/apollographql/apollo-kotlin). Apollo Kotlin comes with some directives used for code generation such as @typePolicy, and currently they're flagged as errors since they're not typically defined ...
diff --git a/resources/definitions/ApolloKotlin.graphql b/resources/definitions/ApolloKotlin.graphql new file mode 100644 index 000000000..cb7c6e05c --- /dev/null +++ b/resources/definitions/ApolloKotlin.graphql @@ -0,0 +1,27 @@ +# Marks a field or variable definition as optional or required +# By default Apollo Kotlin...
1
1
1
[{"id": "G0", "claim": "The Apollo Kotlin localization message is missing: the bundle key \"graphql.library.apollokotlin\" was never added to the localization bundle, and the settings checkbox uses the hardcoded string \"Apollo Kotlin\" instead of that bundle message.", "category": "correctness", "verdict": "supported"...
null
JetBrains__ring-ui__7896
JetBrains/ring-ui
7,896
defect
df6b2cbf3fee38ffabaddba57004b8d80ce06542
0c3031128e75ad7a7d122194991bf42906d58553
<Collapse /> component: Stop rendering the collapsed content.
## Description One of the users requested to stop rendering the content after the collapsed component was collapsed. ## Implementation Since the Collapse component has animation, I am using the `transitionend` event to track whenever the content is hidden, which helps to understand when the content can be hidden. ...
diff --git a/src/collapse/collapse-content.tsx b/src/collapse/collapse-content.tsx index 6c5e7381c0a..5ee4b8c6c1f 100644 --- a/src/collapse/collapse-content.tsx +++ b/src/collapse/collapse-content.tsx @@ -1,5 +1,4 @@ -import {useState, useEffect, useRef, useContext, useMemo, PropsWithChildren} from 'react'; -import * a...
5
5
1
[{"id": "G0", "claim": "Use flip negation for the shouldRenderContent ternary (disableAnimation ? !collapsed : !shouldHideContent) for better readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reading initialContentHeight.current during...
null
JetBrains__ring-ui__8983
JetBrains/ring-ui
8,983
defect
8e6491836748f29766b9ccf2a3eb42c1c2002527
1b9ac1401d8617c64adb1e215e382f2476285ec2
RG-2683 don't close popups by "pointerdown" event – use "click"
This effectively reverts commits ab59f453f9b5beb4406126f89c1a93fa20579973 and f92720ca1048a08ed535488cd7bc74b0678a360f. I didn't find context of this commits. As of today, I think "click" is the right event to close popups. Other librariy does [the same](https://github.com/brianvoe/slim-select/blob/1c1856078f86cfec9272...
diff --git a/src/dropdown/dropdown.test.tsx b/src/dropdown/dropdown.test.tsx index 543587f9f63..bfaf368f014 100644 --- a/src/dropdown/dropdown.test.tsx +++ b/src/dropdown/dropdown.test.tsx @@ -72,7 +72,7 @@ describe('Dropdown', () => { expect(popup?.isVisible()).to.be.false; }); - it('should hide popup on ou...
2
1
1
[{"id": "G0", "claim": "The `onOutsideClick` prop and the `_onDocumentClick` parameter are still typed as `PointerEvent` although the document listener is now 'click', which delivers `MouseEvent`; both annotations should be updated to `MouseEvent`.", "category": "correctness", "verdict": "uncertain", "priority": "P1", ...
null
JetBrains__ring-ui__9064
JetBrains/ring-ui
9,064
defect
543af21292fb452ff3929a6be6a91a138d54f9a7
b911f51f3663c71cae3af93fb17a016a55e082fc
fix: simplify the implementation of not closing dropdown by clicks inside popup
Related: [RG-2430](https://youtrack.jetbrains.com/issue/RG-2430) Clicks inside popup cause full tab reload
diff --git a/src/dropdown/dropdown.css b/src/dropdown/dropdown.css index 904e1a7e0d6..58f1f6491e1 100644 --- a/src/dropdown/dropdown.css +++ b/src/dropdown/dropdown.css @@ -4,6 +4,10 @@ display: inline-block; } +.clickInterceptor { + display: contents; +} + .anchor.anchor { margin-inline: -3px; padding-in...
1
1
1
[{"id": "G0", "claim": "After this change removes the popup's onClick stop handler, clicks inside popups may unexpectedly start bubbling outside the popup and cause caveats in existing code, so this needs to be addressed — possibly by bringing back preventDefault().", "category": "correctness", "verdict": "supported", ...
null
JetBrains__ring-ui__9158
JetBrains/ring-ui
9,158
defect
4a5e497983705f698a2cbaa2d23d6c39a7592138
d94bf56daf95c1afa3faadec154e26d60799a488
RG-2625 Collapse separators in Select
* `<Select/>` or `<Select filter={false}/>` — separators are **preserved** * `<Select filter/>` or `<Select filter={true}/>` — separators are **collapsed** * `<Select filter={{fn: () => ...}} />` — separators are **collapsed** * `<Select filter={{preserveSeparators: true}} />` — separators are **preserved** * `<Sel...
diff --git a/packages/screenshots/testplane/chrome/components/select/with filter and separators/with filter and separators-dark.png b/packages/screenshots/testplane/chrome/components/select/with filter and separators/with filter and separators-dark.png new file mode 100644 index 00000000000..840cce84dfd --- /dev/null +...
12
11
3
[{"id": "G0", "claim": "When a filter object specifies neither fn nor fuzzy, getFilterFn falls back to the default check and drops the filter's preserveSeparators, so it should be included in that return path too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
JetBrains__ring-ui__9199
JetBrains/ring-ui
9,199
defect
93409f841b956495d8f16d2079aa9b7651c378c7
18384a86e609be68c7644643fbbc13f306786150
fix(Tabs): fall back to the first tab if selected id is absent in the…
… tabs list [publish] (cherry picked from commit f5b26c3914cf98ebbcca67aad9f9ab0a31d2119c)
diff --git a/packages/screenshots/testplane/chrome/components/tabs/non existing tab selected/non existing tab selected-dark.png b/packages/screenshots/testplane/chrome/components/tabs/non existing tab selected/non existing tab selected-dark.png new file mode 100644 index 00000000000..1c44748aa0f --- /dev/null +++ b/pac...
5
3
1
[{"id": "G0", "claim": "The new test name 'should selected the tab referenced by id' has a grammatical error and should read 'should select the tab referenced by id'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "getSelectedItem() is called N+1 t...
null
JetBrains__ring-ui__9203
JetBrains/ring-ui
9,203
defect
737d8573d133738a7aeac78b58ee4d7acaed2b55
158ae94aa68f99c394bb704632f6ba38a49b3e2a
JT-93843 add retry when updating token
I suspect that, when computer awakes, first token update attempt is not always successful because connectiion is not yet established. My assumption is that retry could help with this
diff --git a/src/auth/auth-core.ts b/src/auth/auth-core.ts index f05a1533755..6f96b210b46 100644 --- a/src/auth/auth-core.ts +++ b/src/auth/auth-core.ts @@ -18,6 +18,7 @@ export const DEFAULT_BACKGROUND_TIMEOUT = 10 * 1000; const DEFAULT_BACKEND_CHECK_TIMEOUT = 10 * 1000; const BACKGROUND_REDIRECT_TIMEOUT = 20 * 1000...
2
2
1
[{"id": "G0", "claim": "The rewritten tests do not verify that the retry mechanism actually retries the expected number of times; add an assertion that `authorize` was called 3 times (once for each delay in [0, 2000, 5000]).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
JetBrains__ring-ui__9214
JetBrains/ring-ui
9,214
defect
34aa78cf1853c69b10e00d4d9973c50a1692ada7
9005b681e9e6f207f62362f48821393ef3afa3e0
RG-2589 QueryAssist: supported redo
Additionally, fixed minor cases when undoing from the empty query *Note: ESlint hook was disabled for this commit because of v10 failures.* This is the least invasive undo fix + redo implementation. The best solution, though, would be getting rid of `state.query` completely, because the problem here is having 2 s...
diff --git a/src/query-assist/query-assist.test.tsx b/src/query-assist/query-assist.test.tsx index b403ed78b58..9ab6dcc525b 100644 --- a/src/query-assist/query-assist.test.tsx +++ b/src/query-assist/query-assist.test.tsx @@ -722,4 +722,113 @@ describe('Query Assist', () => { expect(queryAssist.querySelector('#B'...
1
1
1
[{"id": "G0", "claim": "The undo/redo history can record query as undefined/null (e.g. when the query prop is omitted), so undoing back to that entry pushes '' as a new entry and clears the redo stack, breaking redo after undo-to-empty; history entries (and stateToApply.query) should be normalized to a single empty rep...
null
JetBrains__ring-ui__9227
JetBrains/ring-ui
9,227
defect
697dea1faf7e3c9d7729ca58bc00f22cac74301b
3d62b9529986ecc1da921a03848cfa6f37843ab2
RG-2766 restore "scroll to active item" functionality
In #9212 we've lost the ability to auto-scroll Select to the selected item on open. We need to restore it
diff --git a/src/list/list.test.tsx b/src/list/list.test.tsx index c055b6eae0f..870ed969513 100644 --- a/src/list/list.test.tsx +++ b/src/list/list.test.tsx @@ -297,6 +297,44 @@ describe('List', () => { }); }); + describe('should scroll to active item on initial mount', () => { + // scrollIntoView is not ...
3
2
1
[{"id": "G0", "claim": "The `isFirstAssignment` boolean does not narrow `el`, so with strict TS settings `el.scrollToRow(...)` may produce an \"object is possibly null\" error; restructure the condition (or use a non-null assertion) to narrow `el` in place.", "category": "correctness", "verdict": "opposed", "priority":...
null
JetBrains__ring-ui__9228
JetBrains/ring-ui
9,228
defect
531b9bf9a2bc7cc277314ac1e15d2952efa9ff53
6a934321d835d2d7d1b1ccf2c0e743ca3051ba64
RG-2768 Calculating scrollTop manually to prevent body scrolling
The changed Firefox screenshots contain some +- one pixel changes
diff --git a/packages/screenshots/testplane/firefox/components/select/without render optimization/without render optimization-dark.png b/packages/screenshots/testplane/firefox/components/select/without render optimization/without render optimization-dark.png index 60804f2b97e..b957015ec0a 100644 --- a/packages/screensh...
2
1
1
[{"id": "G0", "claim": "The existing unit tests in src/list/list.test.tsx spy on scrollIntoView to assert scrolling, so after the PR replaced that call with a manual scrollTop calculation the tests must be updated to assert the new behavior (e.g. that the list scroller's scrollTop is adjusted when activeIndex is set)."...
null
JetBrains__ring-ui__9241
JetBrains/ring-ui
9,241
defect
56afad4a33494e558e98cbc63b54d96a4a919379
3b38c17dedda4f3872f8da1ebbd96a4d34de6ef4
CollapsibleGroup
Continuing PR https://github.com/JetBrains/ring-ui/pull/9118
diff --git a/package-lock.json b/package-lock.json index bd1edb92e99..afd9bdfa4f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "dependencies": { "@babel/core": "^7.29.0", "@babel/preset-typescript": "^7.28.5", + "@figma/code-connect": "^1.3.12", "@jet...
9
9
4
[{"id": "G0", "claim": "CollapsibleGroup.displayName is set to 'Collapsible Group' (with a space), inconsistent with the codebase pattern of using the component name (e.g. 'ContentWrapper'); it should be changed to 'CollapsibleGroup' for consistent DevTools/component naming.", "category": "maintainability", "verdict": ...
null
JetBrains__ring-ui__9254
JetBrains/ring-ui
9,254
defect
29525047785e3c7f96c71545de8bd929c049ae58
593bab9c03cd934e5bb40dd522eb3a1de27c063f
RG-2278 Fixed tab-trap with the `focusBackOnExit` enabled
It seems like `focusBackOnExit` is not completed feature. It's intended to be a collaborative mechanism: it expects that the content unmounts on focus lost, and then restores the focus to the former element. But what happens when the content doesn't unmount? * Before the fix: nothing happens, focus remains on a hidd...
diff --git a/src/tab-trap/tab-trap.stories.css b/src/tab-trap/tab-trap.stories.css new file mode 100644 index 00000000000..e911552c975 --- /dev/null +++ b/src/tab-trap/tab-trap.stories.css @@ -0,0 +1,23 @@ +@import '../global/variables.css'; + +.withMultipleControls { + /* padding: calc(2 * var(--ring-unit)); */ + + ...
3
3
1
[{"id": "G0", "claim": "restoreFocusIfUnmounted only invokes the orElse fallback when the previously focused element is a visible HTMLElement, so when focus cannot be restored (previous element null, document.body, removed, or not visible) the fallback is skipped and the trap button can remain focused; orElse should be...
null
JetBrains__ring-ui__9261
JetBrains/ring-ui
9,261
defect
2bfcf1f0142af9842e92ff774dd25dc4c78c2b73
cb0da8b1bee1569e9500429307e7611316f36dc7
RG-2773 Fix empty row on scroll up in dropdown
## Summary - Use `IntersectionObserver` on the List container to detect invisible→visible transitions and call `recomputeRowHeights()`, fixing stale row height cache from `react-virtualized` that caused a phantom empty row when scrolling up in a dropdown - Mark the unused `visible` prop as `@deprecated` for removal in ...
diff --git a/src/list/list.tsx b/src/list/list.tsx index 7609f20e3a4..d04cad54042 100644 --- a/src/list/list.tsx +++ b/src/list/list.tsx @@ -96,6 +96,9 @@ export interface ListProps<T = unknown> { maxHeight?: number | null | undefined; activeIndex?: number | null | undefined; useMouseUp?: boolean | null | unde...
4
3
2
[{"id": "G0", "claim": "IntersectionObserver is instantiated unconditionally on mount, which throws in environments without it (Vitest/JSDOM, potentially SSR or older browsers) and breaks tests; feature-detect it (and/or polyfill in test setup) so List can mount safely.", "category": "correctness", "verdict": "supporte...
null
JetBrains__ring-ui__9267
JetBrains/ring-ui
9,267
defect
6c714c00ac1bf7d100837c4017f375caaa5e2360
13bd7375515b83c644a23024d264539cf597548e
Grid, Col, Row: accept external data-test attributes and pass DOM props
## Summary - **Grid, Col, Row** now accept external `data-test` props, joined with the default test ID via `dataTests()` (e.g. `<Col data-test="my-col" />` produces `data-test="ring-grid-column my-col"`) - **Col and Row** props interfaces extend `HTMLAttributes<HTMLDivElement>`, so all standard DOM props (e.g. `id`, `s...
diff --git a/src/grid/col.tsx b/src/grid/col.tsx index 5090be2bd84..646d50e0e6e 100644 --- a/src/grid/col.tsx +++ b/src/grid/col.tsx @@ -1,6 +1,8 @@ -import {Component, type ReactNode} from 'react'; +import {Component, type HTMLAttributes} from 'react'; import classNames from 'classnames'; +import dataTests from '.....
2
1
1
[{"id": "G0", "claim": "Add unit tests covering the new behavior: pass-through of a representative DOM prop (e.g. id/onClick), merging of external data-test with the component default, and ensuring component-specific props (xs/xsOffset, start/center, etc.) are not present as DOM attributes — for Col, for Grid's merge r...
null
JetBrains__youtrackdb__1049
JetBrains/youtrackdb
1,049
defect
db98902d1bd0c4a9bd6c496013c5f6b6518c435e
58ed0490bceeeb9fd7e38db0e799fa9e1fb45f4c
YTDB-556 Fix CASObjectArray.set() writing value to wrong index under contention
#### Motivation When two threads call `set(targetIndex, value, placeholder)` concurrently and `size == targetIndex`, both enter the `add(value)` expansion path. One thread's CAS succeeds at `targetIndex` and increments size. The other thread's CAS fails, retries inside the `add()` loop, reads the now-incremented siz...
diff --git a/core/src/test/java/com/jetbrains/youtrackdb/internal/common/concur/collection/CASObjectArrayMTTest.java b/core/src/test/java/com/jetbrains/youtrackdb/internal/common/concur/collection/CASObjectArrayMTTest.java index 976685c4649..ac651fbf5a0 100644 --- a/core/src/test/java/com/jetbrains/youtrackdb/internal/...
4
1
1
[{"id": "G0", "claim": "The assertion block in concurrentSetToSameIndexShouldNeverWriteToNextIndex calls array.get(TARGET_INDEX) instead of TARGET_INDEX + 1, so the check is a logic error that can never pass, would throw ArrayIndexOutOfBoundsException if corrected, and is redundant with the violations and size checks —...
null
JetBrains__youtrackdb__1057
JetBrains/youtrackdb
1,057
defect
ecb4b01c8b60d80d6221223ccacdad3e454a44c7
e94425b90dc4fbc883bab3aee16411b2c325c2df
Pause page flusher during test storage copy
#### Motivation: `LocalPaginatedStorageRestoreFromWALIT.testSimpleRestore` is flaky on macOS-arm + JDK 25 temurin (~12 failed develop runs since 2026-04-17). The test's user-space `copyFile()` (1 KB buffered byte loop) races with the background page flusher's `AsynchronousFileChannel.write` calls. `FileInputStream.rea...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/cache/WriteCache.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/cache/WriteCache.java index c258b4e33c5..3a615765df6 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/cache/WriteCache.ja...
1
1
0
[{"id": "G0", "claim": "The generic `catch (Exception e)` around `barrier.get()` should be narrowed to catch `ExecutionException` specifically so unexpected runtime exceptions are not swallowed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JetBrains__youtrackdb__526
JetBrains/youtrackdb
526
defect
529363a76c216a6e0a8cbe7859936651c1803779
41cbb83cda4f2af4fd97c3e783ec04bf8b1e73c8
Polymorphic queries: handling multiple hasLabel steps
This PR adds correct handling of multiple hasLabel steps in one Gremlin query. Previously we treated all labels from all hasLabel steps in the same way, as a list of classes that had to be loaded together in a single query. So for instance, `g.V().hasLabel("A", "B").hasLabel("C", "D")` was interpreted as select from fo...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraphQueryBuilder.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraphQueryBuilder.java index afd36113b13..634f9ca3771 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraph...
4
2
0
[{"id": "G0", "claim": "The reviewer (relaying logart's observation) says the super-classes cache being never updated should be fixed in this PR, implying it could serve stale schema information.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The expl...
null
JetBrains__youtrackdb__532
JetBrains/youtrackdb
532
defect
93fff7c77dcdac0a32f9102618707fbb378d1563
9af3ef1be372e1cf121cf74764a07b96d64b3cb8
Adding YTDBElement#hasProperty and YTDBElement#removeProperty
Making `hasProperty` and `removeProperty` operations available via our Tinkerpop API: - Structure API: Exposing `hasProperty` and `removeProperty` in the `YTDBElement`. - Process API: Adding `removeProperty` step to YTDBGraphTraversal (implemented via CallStep). Also this PR has some additional changes: - Restruc...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/api/gremlin/embedded/YTDBElement.java b/core/src/main/java/com/jetbrains/youtrackdb/api/gremlin/embedded/YTDBElement.java index 3510c8b7522..7bac5e69c41 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/api/gremlin/embedded/YTDBElement.java +++ b/core/src/...
2
2
2
[{"id": "G0", "claim": "hasProperty and removeProperty on YTDBElementImpl read and remove raw entity properties without filtering IDs and hidden/internal fields, violating the contract the vertex implementation follows.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
JetBrains__youtrackdb__573
JetBrains/youtrackdb
573
defect
8351976a70111adb64cd97ea72a58d5f77de6b5c
00c7fed820f2480eaa7065313202d5f1d5a93cf7
Fix multiple serialization and testing issues with remote graphs
This PR addresses and resolves several issues related to serialization, deserialization, and testing within the context of remote graph setups: - Adds TinkerGraph serializer and server dependency to tests to ensure the `subgraph` step works correctly. - Fixes NPE during deserialization of vertex properties. - Cor...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraphQueryBuilder.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraphQueryBuilder.java index 57c585b2946..9d2745aa37c 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraph...
1
1
0
[{"id": "G0", "claim": "The changePathToDataFile method should use ConcurrentHashMap.computeIfAbsent instead of compute for the PATHS map.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JetBrains__youtrackdb__610
JetBrains/youtrackdb
610
defect
91a89130a34fadbc47e618f4ebc2e58b7dc1527a
f333a3cadb5989b579ec6e6017cc3e29e038783c
Login with local user
#### Motivation: This change enables users to log in to the database and issue queries using not only server-level users but also local users registered in the database. This change enables us to separate the database management and data manipulation rights of users. #### Changes: This change is implemented...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/api/YouTrackDB.java b/core/src/main/java/com/jetbrains/youtrackdb/api/YouTrackDB.java index 8680c9fd861..cf1ce7a85d4 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/api/YouTrackDB.java +++ b/core/src/main/java/com/jetbrains/youtrackdb/api/YouTrackDB.java...
3
3
2
[{"id": "G0", "claim": "In YTDBSimpleAuthenticator.authenticate, the security.authenticate() call after databases.cachedPool(...).acquire() is redundant (acquire already authenticates) and depending on the security configuration may return null even for a valid user, causing authentication to fail unnecessarily; the re...
null
JetBrains__youtrackdb__641
JetBrains/youtrackdb
641
defect
459ecd019c462bed659fec9ac9ae99d7ab999406
94d761c8268eb078d99f31dc899fba1fe4660c77
Add code coverage collection and Qodana integration with CI hardening
#### Motivation: Add code coverage for quality gates via Qodana (will be implemented later) to improve code quality visibility. Initially, this PR sets up the infrastructure to correctly gather coverage data without adding strict gates, ensuring no noticeable runtime increase for PR workflows. This lays the groundwork...
diff --git a/.github/workflows/maven-pipeline.yml b/.github/workflows/maven-pipeline.yml index 0bb4ccd6f5d..ea0c529cd8b 100644 --- a/.github/workflows/maven-pipeline.yml +++ b/.github/workflows/maven-pipeline.yml @@ -26,13 +26,13 @@ jobs: platform: - os: ubuntu-latest arch: x64 - ...
1
1
1
[{"id": "G0", "claim": "The maven-surefire-plugin and maven-failsafe-plugin configurations should be moved from the <pluginManagement> section to the <plugins> section within the ekstazi profile, so the profile's behavior is explicit and failsafe's integration-test/verify executions are bound for all modules whenever t...
null
JetBrains__youtrackdb__678
JetBrains/youtrackdb
678
defect
2d5822220fafdc75dd71d913a102b0012d51d645
ed6ff62bd2725a42d36137a012756a03b6687f62
YTDB-549: make executeCommand return ResultSet
#### Motivation: We need `g.sqlCommand(...)` to expose SQL/MATCH results as a Gremlin stream to enable the planned "baseline" query validation hypothesis. Previously `sqlCommand` only executed commands for side effects and returned a placeholder, so MATCH/SELECT results could not flow through Gremlin steps. This cha...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraphImplAbstract.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraphImplAbstract.java index 0efe21104a7..f8ad694f419 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/gremlin/YTDBGraph...
9
8
3
[{"id": "G0", "claim": "executeCommand switches to a session acquired via acquireSession() to run DDL statements without any authorization check on the caller, which the reviewer says enables any user who can run Gremlin traversals to perform unauthorized schema modifications (a privilege-escalation vulnerability), and...
null
JetBrains__youtrackdb__724
JetBrains/youtrackdb
724
defect
b4ca165e06aa8e0b342cf4b2226d974b5ece75d0
8f647d38e51d9215a991200a454da9dfd3c63bc5
Fix snapshot scan race by removing cachedMaxActiveTs optimization
## Motivation CI failure on Windows x64 JDK 21 (oracle) in `TransactionTest.testSIRandomTimingStressMultiThread`: ``` java.lang.AssertionError: Errors in concurrent threads: Snapshot inconsistency on record 0 expected:<59604> but was:<21370> ``` The root cause is a race condition introduced in YTDB-565 (#717). In ...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/impl/local/paginated/atomicoperations/AtomicOperationsTable.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/impl/local/paginated/atomicoperations/AtomicOperationsTable.java index 2fa27de35c5..eeebdee046b 100644 --- a...
1
1
0
[{"id": "G0", "claim": "startOperation can set cachedMinActiveTs to its own timestamp when UNKNOWN_TS actually means the forward scan in commitOperation hit its cap, hiding an older active operation behind the new cached minimum so a subsequent snapshot may miss it and make uncommitted changes erroneously visible; the ...
null
JetBrains__youtrackdb__728
JetBrains/youtrackdb
728
defect
c88e0db99ca9044f107a1f180fa177396cad28fd
956f63670b19de43471d8fc0428751aa2d2ded9d
Fix Windows-only EmbeddedGraphFeatureTest failures in nightly CI
## Motivation The nightly integration test pipeline ([run #22534761033](https://github.com/JetBrains/youtrackdb/actions/runs/22534761033)) failed on **all four Windows configurations** with 3796 + 1898 errors in `EmbeddedGraphFeatureTest`. All Linux builds passed. The root cause was a Windows-specific path resolution ...
diff --git a/core/src/test/java/com/jetbrains/youtrackdb/internal/core/gremlin/gremlintest/YTDBGraphFeatureTest.java b/core/src/test/java/com/jetbrains/youtrackdb/internal/core/gremlin/gremlintest/YTDBGraphFeatureTest.java index ecaf8d0435a..dd62a0cf647 100644 --- a/core/src/test/java/com/jetbrains/youtrackdb/internal/...
1
1
0
[{"id": "G0", "claim": "Extract the filename with java.nio.file.Paths (Paths.get(...).getFileName().toString()) instead of manual lastIndexOf('/') substring, for robustness and consistency with changePathToDataFile.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JetBrains__youtrackdb__741
JetBrains/youtrackdb
741
defect
41d60b54c38d5ae31de1eef06ce1134677cce86d
6f61614b08cba50fbb20ec183b673eb562f03df0
YTDB-555: Fix re-entrant NPE in YouTrackDBEnginesManager.startUp()
## Motivation After YTDB-555 consolidated thread pools into `YouTrackDBEnginesManager`, a re-entrant initialization bug was introduced that causes an NPE on startup in certain JVM configurations ([CI failure](https://github.com/JetBrains/youtrackdb/runs/65980701011)). **Root cause:** During `startUp()`, the `Profiler...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/YouTrackDBEnginesManager.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/YouTrackDBEnginesManager.java index dc4d4d8fb52..85aad2bf0aa 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/YouTrackDBEnginesManager.ja...
1
1
1
[{"id": "G0", "claim": "The catch block calls shutdownPools() (five pools with 5-second timeouts) while still holding the global initLock, which can block other threads trying to access the singleton for up to ~25 seconds in a worst-case startup failure; refactor to release the lock before shutting down the pools.", "c...
null
JetBrains__youtrackdb__795
JetBrains/youtrackdb
795
defect
fb2af67afdb0c044a8f19e4ca5e35269489cddbd
b3f09fcf07430ba931fb03e9664c304371df002b
YTDB-556: Fix snapshot isolation race on ARM in AtomicOperationsManager
## Summary - Fix two cooperating races in snapshot creation that violated repeatable reads on ARM's relaxed memory model - Upgrade `segmentLock` from `ReentrantLock` to `ScalableRWLock` (shared lock for readers, exclusive for writers) to avoid serializing snapshot creation - Eliminate placeholder window in `CASObjectA...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/common/concur/collection/CASObjectArray.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/common/concur/collection/CASObjectArray.java index c610fe54c06..6ff49174c96 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/common/concu...
4
2
0
[{"id": "G0", "claim": "The test file should use a wildcard static import of JUnit assertions (import static org.junit.jupiter.api.Assertions.*) instead of the explicit assertNotEquals import.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The e...
null
JetBrains__youtrackdb__839
JetBrains/youtrackdb
839
defect
c8025dee817b0aac75f2fd53dd69ad72687a641e
e380fe781034b7f8641af0a5ce37bff312079934
Fix flaky test failures and remove Hetzner location pinning from CI
## Motivation Two independent but interdependent CI fixes that need to land together: 1. **Flaky test failures**: JDK 25 histogram/iterator tests and engine lifecycle race conditions during parallel test execution 2. **CI infrastructure**: Remove Hetzner location pinning and volume-cache logic from CI workflows and r...
diff --git a/.claude/commands/fix-ci-failure.md b/.claude/commands/fix-ci-failure.md index 746f206d503..5292ac6b47c 100644 --- a/.claude/commands/fix-ci-failure.md +++ b/.claude/commands/fix-ci-failure.md @@ -5,6 +5,23 @@ Use `$ARGUMENTS` as the URL if provided. ## Workflow +### Step 0: Create progress tracker (MA...
1
1
0
[{"id": "G0", "claim": "The blocking-gate instruction in .claude/commands/fix-ci-failure.md should say Step 8 (summarize) instead of the wrong Step 9.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JetBrains__youtrackdb__866
JetBrains/youtrackdb
866
defect
3de6778229834604ab455d2b6673b46e195031a3
1ef15c887a3757d71744715c4ee389a055bc884b
YTDB-631: Cons list path
#### PR Title: YTDB-631: Replace ArrayList path copies with immutable cons-cell list in MATCH WHILE traversal and skip path construction when possible #### Motivation: During recursive MATCH WHILE traversals (e.g., IS2 query following REPLY_OF chains), the engine copies the entire path ArrayList at every r...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/sql/executor/match/MatchEdgeTraverser.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/sql/executor/match/MatchEdgeTraverser.java index dafa674f006..1f9a0bb9996 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/s...
3
3
2
[{"id": "G0", "claim": "The recursive collectInto() backing toList() can raise a StackOverflowError for very deep traversal paths; an iterative implementation would be safer and more performant and would allow dropping the collectInto helper.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope...
null
JetBrains__youtrackdb__867
JetBrains/youtrackdb
867
defect
3de6778229834604ab455d2b6673b46e195031a3
edac01d296b2118fb49a3802e7a9760c4d2db324
YTDB-630: Skip path construction
#### PR Title: YTDB-630: skip path construction #### Motivation: The IS2 query does not declare a pathAlias. The pathToHere parameter is only needed when the user requests $matchPath metadata. When no pathAlias exists, pass null and skip all path construction Expected impact: For IS2, this eliminates all pa...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/sql/executor/match/MatchEdgeTraverser.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/sql/executor/match/MatchEdgeTraverser.java index dafa674f006..2a0f420e370 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/s...
1
1
1
[{"id": "G0", "claim": "Some benchmarks show small regressions that the PR should instead have improved, so the author should profile them with async-profiler on a Hetzner CCX 33 node to find out what caused the regressions.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
JetBrains__youtrackdb__908
JetBrains/youtrackdb
908
defect
f001b1766efd036da77b155aef133e74ef4f3747
73030bc2699205cee2eab1b6678d7ac9a89c9bb3
Handle null file in WOWCache to prevent NPE during concurrent close
## Summary - Add null-file guards in `WOWCache.getFilledUpTo()` and `flushWriteCacheFromMinLSN()` to prevent NPE when a file is concurrently deleted during storage close/drop while periodic flush is running - Fix infinite loop in `flushWriteCacheFromMinLSN()`: when all pages in a flush segment reference deleted files, ...
diff --git a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/cache/local/WOWCache.java b/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/cache/local/WOWCache.java index 5df3478a1e6..83511a59451 100644 --- a/core/src/main/java/com/jetbrains/youtrackdb/internal/core/storage/cache/local...
1
1
1
[{"id": "G0", "claim": "Using `break flushCycle` when a file is concurrently deleted stops the entire flush operation for all files in the batch; use `continue` instead to skip only the deleted file's pages, consistent with `flushExclusiveWriteCache` and the earlier check at line 2859.", "category": "correctness", "ver...
null
JetCrabCollab__JetCrab__10
JetCrabCollab/JetCrab
10
defect
8fd0491199aab3f250ff06c59717f80aa4bb3e49
eace9be6f0a354b65c66f2eec6adcd0e0d9505cb
Update dependencies in Cargo.lock, add production readiness tests, an…
…d enhance documentation. Removed unused packages and improved module bundling in the runtime. Updated installation scripts to reflect changes in the JetCrab CLI. Added security policy and Node.js API compatibility documentation.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 821743a..422d008 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,8 +28,8 @@ Thank you for your interest in contributing to JetCrab! This document provides g ### Quick Start ```bash # Clone the repository -git clone https://github.com/JetCrabCollab/JetCra...
10
10
10
[{"id": "G0", "claim": "generate_bundle embeds module source into a JavaScript template literal but only escapes backslashes and backticks, so `${...}` in module source would be treated as template interpolation in the bundle and executed/rewritten before eval(c), changing semantics and potentially breaking out of the ...
null
Jguer__yay__2124
Jguer/yay
2,124
defect
64bb346fbeb02e1e05c2cc736e920b9f401e0a84
5dcc5c0f0fbd1af8ca07495eb001c7f2478be610
Fix version diff word detection
Attempted Fix for https://github.com/Jguer/yay/issues/1961 The core problem is the `checkWords` function. e.g while traversing through `arch`, it finds `rc` as well. Thereby goes off by 1. I have added some tests and changed the `checkWords` to return true only if the current character is not a Letter (i.e not par...
diff --git a/pkg/query/version_diff.go b/pkg/query/version_diff.go index eddb24196..1bcf29b99 100644 --- a/pkg/query/version_diff.go +++ b/pkg/query/version_diff.go @@ -17,6 +17,12 @@ func GetVersionDiff(oldVersion, newVersion string) (left, right string) { diffPosition := 0 checkWords := func(str string, index i...
1
1
1
[{"id": "G0", "claim": "The test must force text.UseColor to true and restore it at the end, because the package's automatic tty detection can otherwise turn colors off and make the assertions fail.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Jguer__yay__2163
Jguer/yay
2,163
defect
ec15a5b3639d15b34475522e15b45fdfdadd15a7
1bdb81cd5b3b3693aeb64f0b9d671cfeec06683a
Fix --rebuild option
Now it seems to be working. Fixes #2153
diff --git a/aur_install.go b/aur_install.go index 9d6ec3dda..f912ae28b 100644 --- a/aur_install.go +++ b/aur_install.go @@ -27,6 +27,8 @@ type ( exeCmd exe.ICmdBuilder vcsStore vcs.Store targetMode parser.TargetMode + reBuild string + origTargets mapset.Set[string] d...
3
3
2
[{"id": "G0", "claim": "The fix for --rebuild as then implemented abuses bug #2164, so if that bug is fixed the --rebuild option will not work for packages that were installed as dependency; a more correct fix is needed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": ...
null
Jguer__yay__2177
Jguer/yay
2,177
defect
ec15a5b3639d15b34475522e15b45fdfdadd15a7
7a198cd03b0dea419592ef3748f27b4197c89942
feat(pkgbuild): use gitlab git repo for retrieving PKGBUILDs
Use `https://gitlab.archlinux.org/archlinux/packaging/packages` for retrieving ABS PKGBUILDs Fixes https://github.com/Jguer/yay/issues/2176 Nice side effect, no trunk folder moving anymore necessary
diff --git a/pkg/download/abs.go b/pkg/download/abs.go index ee3642091..23b0d6d77 100644 --- a/pkg/download/abs.go +++ b/pkg/download/abs.go @@ -14,55 +14,30 @@ import ( const ( MaxConcurrentFetch = 20 - _urlPackagePath = "%s/raw/packages/%s/trunk/PKGBUILD" + _urlPackagePath = "https://gitlab.archlinux.org/a...
1
1
0
[{"id": "G0", "claim": "The `_urlPackagePath` constant is unused after this change and could be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Jguer__yay__2543
Jguer/yay
2,543
defect
f23fe98a660403870f843a103dfc87639a80ad2e
06d3929dcb0137bd9d8663f787fda7dda79a6cf6
socks5 support
Golang implementation of `http.Client` does not handle socks5 support via LD_PRELOAD (a.k.a. tsocks/proxychains). Proposed patch adds explicit socks5 support via environment variable, e.g. `SOCKS5_PROXY=localhost:1080 yay -Ss vivado`.
diff --git a/go.mod b/go.mod index f049c99d3..1a5760acb 100644 --- a/go.mod +++ b/go.mod @@ -12,6 +12,7 @@ require ( github.com/hashicorp/go-multierror v1.1.1 github.com/leonelquinteros/gotext v1.5.2 github.com/stretchr/testify v1.9.0 + golang.org/x/net v0.0.0-20220722155237-a158d28d115b golang.org/x/sys v0.18....
1
1
1
[{"id": "G0", "claim": "The HTTP transport should be initialized by cloning http.DefaultTransport instead of a bare &http.Transport{} so default transport settings are preserved.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Jguer__yay__2684
Jguer/yay
2,684
defect
60b7f639f88686af46f7c5ea60a4af882df0d598
f76646e2d6797ef09e945f4d8046de6737610fd0
Build: Build without install with -B .
Users expect -B . to just build without installing which was never implemented. man pages indicate this as a title, which is a similar pattern to -S and -Q which can induce the error Fixes https://github.com/Jguer/yay/issues/2332
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b0f4c31b6..02e4e401e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -4,20 +4,18 @@ FROM docker.io/jguer/yay-builder # Install extra packages (pacman-contrib and fish) RUN sudo pacman -Syu --noconfirm pacman-contrib fish gi...
1
1
1
[{"id": "G0", "claim": "The test should replace gitBin with 'git' rather than 'pacman', since gitBin holds the git binary path and the wrong replacement makes the command verification incorrect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Jguer__yay__2710
Jguer/yay
2,710
defect
38397d1609cd01cb95d3ce2942beeec794eded6e
1390138c3c6137ad01c478666729d97b2d5098f9
Don't rely on transparent decompression in sync list
The current sync list code relies on the HTTP client library transparently decompressing the packages.gz file. This only works if the server provides the 'Content-Encoding: gzip" HTTP header, which has apparently changed recently. This patch explicitly decompresses the package list if no encoding information is prov...
diff --git a/cmd.go b/cmd.go index a4842f010..deb0892a5 100644 --- a/cmd.go +++ b/cmd.go @@ -2,6 +2,7 @@ package main import ( "bufio" + "compress/gzip" "context" "errors" "fmt" @@ -438,6 +439,14 @@ func syncList(ctx context.Context, run *runtime.Runtime, } defer resp.Body.Close() + if resp.Header.G...
3
3
1
[{"id": "G0", "claim": "The silently swallowed gzip.NewReader error should be returned, the gzip reader closed when done, and the decompressing reader kept out of resp.Body (use a separate io.Reader variable).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
Jguer__yay__2740
Jguer/yay
2,740
defect
44dfda05dd9ae8de26e1501845f4da8b9e9ba693
d5c1b7627766bd9c661b09efb1b2f35d0cc3f42e
feat(repo): Sort repository results by pacman.conf repo order
This PR updates repository result sorting to follow the repository order defined in pacman.conf. When multiple repositories provide the same package, the results are now ordered consistently based on the user’s configured repo priority (top-to-bottom in pacman.conf). fixes #2639
diff --git a/Dockerfile b/Dockerfile index 1e39b1960..897bb6e27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,6 @@ WORKDIR /app COPY . . +RUN pacman -Syu --overwrite=* --noconfirm + RUN make release VERSION=${VERSION} PREFIX=${PREFIX} ARCH=${ARCH} \ No newline at end of file diff --git a/pkg/db/mock/executo...
3
1
0
[{"id": "G0", "claim": "Adding a full system upgrade with `--overwrite=*` to the Dockerfile can introduce reproducibility, build-time, security (bypassed file-conflict checks) and breakage issues, so it should be removed or the base image updated instead.", "category": "correctness", "verdict": "supported", "priority":...
null
Jiahong-Que-9527__SoloLakehouse__14
Jiahong-Que-9527/SoloLakehouse
14
defect
258fc195b587677a28c364df712fdd8c08d4b013
ec3a3f41a074f0ef64d767382048aeba0eee57cc
feat: parameterize runtime identity
<!-- CURSOR_AGENT_PR_BODY_BEGIN --> ## What changed - Added a shared `runtime_identity.py` helper for `PRODUCT_ID`, display name, domain, environment, runtime version, Compose project name, and Trino user resolution. - Fixed deterministic identity resolution: `env=None` reads `os.environ`, while any provided mapping, ...
diff --git a/.env.example b/.env.example index 0792aad..2e20a07 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,11 @@ +PRODUCT_ID=sololakehouse +PRODUCT_DISPLAY_NAME=SoloLakehouse +PRODUCT_DOMAIN=financial_markets +ENVIRONMENT=local +RUNTIME_VERSION=slh-v2.5.1 +COMPOSE_PROJECT_NAME=sololakehouse +TRINO_USER=sol...
2
2
2
[{"id": "G0", "claim": "When a caller passes an empty environment mapping, `environ or os.environ` falls back to the host process environment instead of using the mapping, so identity resolution becomes environment-dependent; only `None` should fall back to `os.environ`.", "category": "correctness", "verdict": "support...
null
Jiahong-Que-9527__SoloLakehouse__18
Jiahong-Que-9527/SoloLakehouse
18
defect
8be687a0d02df855b45a0e06ba87e788b8d86ca9
f7c9dff69701e3c7c4fac9e42fb66554eebaad4f
[codex] Parameterize MLflow and audit buckets
## Summary Implements #6 by making MLflow artifact storage and the future audit bucket entity-aware while preserving the existing SoloLakehouse v2.5 defaults. - Extend `storage_config.py` with `AUDIT_BUCKET`, `MLFLOW_ARTIFACT_BUCKET`, and `MLFLOW_ARTIFACT_ROOT` resolution. - Initialize and verify data, audit, and MLf...
diff --git a/.env.example b/.env.example index fce400b..5cc5363 100644 --- a/.env.example +++ b/.env.example @@ -30,6 +30,9 @@ AWS_SECRET_ACCESS_KEY=sololakehouse123 # kept as the v2.5 compatibility alias while existing deployments migrate. DATA_BUCKET=sololakehouse BUCKET_NAME=sololakehouse +AUDIT_BUCKET=sololakeho...
1
1
1
[{"id": "G0", "claim": "When an entity sets DATA_BUCKET but omits MLFLOW_ARTIFACT_BUCKET, the MLflow container receives an empty MLFLOW_ARTIFACT_BUCKET and no DATA_BUCKET, so it falls back to 'mlflow-artifacts' while minio-init creates '<entity>-mlflow'; the reviewer asked to pass DATA_BUCKET into the container or reso...
null
Jij-Inc__ommx__329
Jij-Inc/ommx
329
defect
e48c462e09db4c1f10f7b2afed48d6de0fef346b
9fcc4c795606e11642198289faa065821061aa21
Introduces CodSpeed for Continuous Benchmarking
This PR aims at introducing CodSpeed for Continuous Benchmarking. It currently benchmarks simple cases for evaluate.rs on Rust SDK.
diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml new file mode 100644 index 000000000..4408305e9 --- /dev/null +++ b/.github/workflows/bench.yml @@ -0,0 +1,44 @@ +name: Benchmark + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +jobs: + codspeed: + name: CodSpeed ...
2
1
1
[{"id": "G0", "claim": "The redundant codspeed feature layer should be dropped: alias `criterion` directly to `codspeed-criterion-compat` in place of the separate `criterion = \"0.5.1\"` and `codspeed` workspace dependency, deleting the `[features] codspeed = []` section, the `codspeed = { workspace = true }` dev-depen...
null
Jij-Inc__ommx__466
Jij-Inc/ommx
466
defect
822a195240da1049a3f46571405b46ed3719a165
c27eda1038edcee050aee73dc815a1512ee3e7f7
`ATol` type for absolute tolerrance
Tasks ----- - [x] Introduce `ATol` - [x] Use `ATol` in `impl AbsDiffEq` - [x] Use `Atol` in every `atol: ATol` case
diff --git a/python/ommx/src/evaluate.rs b/python/ommx/src/evaluate.rs index ba3b75400..275b4a157 100644 --- a/python/ommx/src/evaluate.rs +++ b/python/ommx/src/evaluate.rs @@ -1,4 +1,5 @@ use anyhow::Result; +use ommx::ATol; use ommx::{ v1::{Constraint, Function, Instance, Linear, Polynomial, Quadratic, State},...
2
1
0
[{"id": "G0", "claim": "For consistency with other AbsDiffEq implementations, consider replacing `epsilon.into_inner()` with `*epsilon` in the two `abs_diff_eq` calls of `impl AbsDiffEq for Bound` in rust/ommx/src/bound.rs.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"...
null
JimLiu__baoyu-skills__89
JimLiu/baoyu-skills
89
defect
4d2b95d1d1da32912a5173ba82dc30d7073db166
38fc733b99ec27dca515d2dfb3d2d1acbe35607c
fix(markdown-to-html): preserve inline code inside bold/emphasis
## Problem `preprocessCjkEmphasis()` in `renderer.ts` silently drops all inline code spans (`\`code\``) that appear inside `**bold**` or `*italic*` markers. The content disappears entirely from the rendered HTML. **Example:** | Input | Expected | Actual | |-------|----------|--------| | `**算出 \`logits\`,算出 \`loss\`。...
diff --git a/skills/baoyu-markdown-to-html/scripts/vendor/baoyu-md/src/renderer.test.ts b/skills/baoyu-markdown-to-html/scripts/vendor/baoyu-md/src/renderer.test.ts new file mode 100644 index 00000000..57e7a088 --- /dev/null +++ b/skills/baoyu-markdown-to-html/scripts/vendor/baoyu-md/src/renderer.test.ts @@ -0,0 +1,36 ...
1
1
1
[{"id": "G0", "claim": "Wrapping every inlineCode node with hard-coded single backticks breaks code spans whose value itself contains backticks, producing malformed reconstructed markdown whose second `marked` pass can emit incorrect HTML; the reviewer asks for a fence longer than any backtick run in the value.", "cate...
null
JimmXinu__FanFicFare__1137
JimmXinu/FanFicFare
1,137
defect
15dde72f144955faa9834ee85d76d0eae21b8d4d
687684fbebf1ed11c430dbd01a55f197b79a7cbc
Small fixes for Wattpad.
The categories weren't fetching due to the outdated link returning error and bringing down the tags with it. Added fallback dict for `CATEGORY_DEFs` in the case of error. If the comment is correct this shouldn't be a problem in the long run `WattpadComAdapter.CATEGORY_DEFs` was moved from the `__init__` to the `...
diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 7ce591179..0be6fd3e5 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -2952,11 +2952,17 @@ readings_label:Readings [wattpad.com] use_basic_cache:true -#is_adult:true -extra_titlepage...
4
2
1
[{"id": "G0", "claim": "dateUpdated_method isn't a valid configuration setting and needs to be added in configurable.py in both get_valid_keywords() and get_valid_set_options().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unrelated one-line c...
null
Jmeyer1292__opw_kinematics__3
Jmeyer1292/opw_kinematics
3
defect
af1903802f07d75a78717e2436153cf86277160e
4bede2fc02fc5e79c0d00224334d76adeb57a846
Add joint sign corrections to parameters
Thank you for writing this package! The sign convention for the joints in this package can differ from the one used for an industrial robot. I added this to the robot parameters. I added it as a `short int sign_corrections[6]` but a `bool` would be smaller. I thought it was easier to add the sign correction as an ...
diff --git a/include/opw_kinematics/opw_io.h b/include/opw_kinematics/opw_io.h index 892494a..bfe9e27 100644 --- a/include/opw_kinematics/opw_io.h +++ b/include/opw_kinematics/opw_io.h @@ -8,17 +8,27 @@ namespace opw_kinematics { template <typename T> -std::ostream& operator<<(std::ostream& os, const Parameters<T>&...
3
3
1
[{"id": "G0", "claim": "The pull request's reformatting of the operator<< signature to `std::ostream &operator<<(std::ostream &os, ...)` departs from the surrounding style and should be reverted.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
Jmeyer1292__opw_kinematics__4
Jmeyer1292/opw_kinematics
4
defect
74e3eab95d16f39a25b540a72e9be9d1f92d1fbd
6b3782a81af79e1618a3c9afdb516839ad57fe1e
More Model Tests
@JeroenDM Please take a glance. I took your Kuka test files and put it into a new test file called fk_ik_tests.cpp. I then lifted the test logic and now run it against the abb2400, kuka kr6, and the fanuc r2000. I also added a few "tests" that run some simple timing measurements. There's no assertions in there but i...
diff --git a/CMakeLists.txt b/CMakeLists.txt index c1c42b3..b873278 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.8.3) project(opw_kinematics) -add_compile_options(-std=c++11) +add_compile_options(-std=c++11 -Wall -Wextra) find_package(catkin REQUIRED) @@ -49...
2
1
0
[{"id": "G0", "claim": "Now that the fanuc r2000 is included in the tests, its parameter set should perhaps be completed by removing the deprecated attribute and filling in the correct offsets and sign corrections.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "...
null
Jmeyer1292__opw_kinematics__50
Jmeyer1292/opw_kinematics
50
defect
b361e54942ba78bd0cce81b77c93f3c3583e40bd
191f5b7f061b926d4edd0469fd1050ea7ec946a9
Switch to using std::array versus raw pointer to array
See title. @simonschmeisser @gavanderhoorn @marip8 @JeroenDM This PR also includes changes to the CMakeLists.txt because clang-tidy was failing on 20.04 do to new checks. The CI here was passing because it is using 18.04. These changes were to get tests passing on 20.04.
diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 0000000..01226b8 --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,55 @@ +name: CodeCov + +on: + push: + branches: + - master + pull_request: + schedule: + - cron: '0 5 * * *' + +jobs: + indus...
2
2
0
[{"id": "G0", "claim": "Using the Solution type for plain joint-value vectors conflates IK solutions with ordinary joint-angle containers, so it might be nicer to use different types (define Solutions for IK output and std::array<T, 6> everywhere else).", "category": "design", "verdict": "supported", "priority": "P2", ...
null
Jmeyer1292__opw_kinematics__61
Jmeyer1292/opw_kinematics
61
defect
a0d994654f5730ad71214552d222e22e0223d069
e58162b224e50f009298c52b853ad8ddb9406e6d
Fix numerical issue in inverse function
The issue is a result of the derived equation break down when joint 5 is zero because there are infinite combinations of joint 4 and joint 6 which satisfy the pose. The changes here add a check for the condition when joint 5 is zero and I have derived an alternative method for calculating joint 6 rotation for joint 4 s...
diff --git a/include/opw_kinematics/opw_kinematics.h b/include/opw_kinematics/opw_kinematics.h index 89d19dc..1dea4fa 100644 --- a/include/opw_kinematics/opw_kinematics.h +++ b/include/opw_kinematics/opw_kinematics.h @@ -32,7 +32,7 @@ using Solutions = std::array<std::array<T, 6>, 8>; * ALL 8 SOLUTIONS ARE AL...
4
4
0
[{"id": "G0", "claim": "The zero threshold should be written as an explicit cast of the double literal to T (e.g. static_cast<T>(1e-6)) instead of T(1e-6).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The special case taken when joint 5 is nea...
null
Jmeyer1292__robot_cal_tools__38
Jmeyer1292/robot_cal_tools
38
defect
5a07b3e6a4b74df837ece2fd42eaa9703ad3a83a
35a36c310a483af2d81594179adcc466aac709e6
Observation Refactor
This PR refactors the way that correspondences and observations are structured for easier use in testing utilities and optimization problems. ## Proposed Structure - Observation[ ] (i.e. observation set) - Observation - Correspondence[ ] (i.e. correspondence set) - Correspondence - Point in ...
diff --git a/rct_optimizations/CMakeLists.txt b/rct_optimizations/CMakeLists.txt index e06b28d8..4051c4db 100644 --- a/rct_optimizations/CMakeLists.txt +++ b/rct_optimizations/CMakeLists.txt @@ -37,6 +37,7 @@ add_library(${PROJECT_NAME} src/${PROJECT_NAME}/extrinsic_multi_static_camera_wrist_only.cpp # Optimizati...
4
2
0
[{"id": "G0", "claim": "Template the observation type on the dimensionality of both the image and the world (e.g. Observation<Image<2>, World<Cartesian3>>) instead of just switching between 2D and 3D images.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
Jmeyer1292__robot_cal_tools__43
Jmeyer1292/robot_cal_tools
43
defect
5a07b3e6a4b74df837ece2fd42eaa9703ad3a83a
2d18da9dbee543ab4a95ac80e324759450058e88
Update/pose generation
Utiility functions for generating camera poses relative to a target
diff --git a/rct_optimizations/CMakeLists.txt b/rct_optimizations/CMakeLists.txt index e06b28d8..07354fa2 100644 --- a/rct_optimizations/CMakeLists.txt +++ b/rct_optimizations/CMakeLists.txt @@ -56,6 +56,7 @@ target_link_libraries(${PROJECT_NAME} if(CATKIN_ENABLE_TESTING) # Build the test support library add_lib...
11
11
1
[{"id": "G0", "claim": "The test support library source is listed in CMakeLists.txt as `test/src/pose_generator` without a file extension, which is surprising to have passed CI.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider moving the `Cam...
null
Jmeyer1292__robot_cal_tools__64
Jmeyer1292/robot_cal_tools
64
defect
12734720c430c68ad19939e0553a6bd7da8bb21d
7f4c0c654137cb3e38f622bdfa10d7bdaaf7c253
PnP update
Per investigation in #57, this PR provides a workaround for using Eigen objects without local paramterization. It also adds a function for calculating the "full" covariance matrix between two parameter blocks (i.e. variance with the parameter block itself and covariance with the other parameter block)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d5e5d7f9..6fba755c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,8 @@ jobs: ADDITIONAL_DEBS: git, VERBOSE_TESTS: true, TARGET_CMAKE_ARGS: "-DRCT_BUILD_TESTS=ON", -...
4
4
0
[{"id": "G0", "claim": "Rename the angle-axis and translation variables in pnp.cpp (e.g. `aa` and `t`) to more verbose names so they can be understood at a glance.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do not leave the covariance printi...
null
Jmeyer1292__robot_cal_tools__69
Jmeyer1292/robot_cal_tools
69
defect
f17accb75b8d21509e2bc21c374c125aeb6496e7
2c2562a12231dd42191ab56768b3b0bbbb619f65
Maximum Likelihood
This PR adds a template cost function for computing the likelihood of a parameter given its expected mean and standard deviation. The cost function is based on [this example](https://ceres-solver.googlesource.com/ceres-solver/+/master/examples/robot_pose_mle.cc) from Ceres
diff --git a/rct_optimizations/include/rct_optimizations/maximum_likelihood.h b/rct_optimizations/include/rct_optimizations/maximum_likelihood.h new file mode 100644 index 00000000..40139bd2 --- /dev/null +++ b/rct_optimizations/include/rct_optimizations/maximum_likelihood.h @@ -0,0 +1,46 @@ +#ifndef RCT_OPTIMIZATIONS_...
4
2
1
[{"id": "G0", "claim": "The header should use #pragma once instead of the classic #ifndef/#define include guard.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An EXPECT_THROW test should be added that exercises the size-mismatch OptimizationExc...
null
JodaOrg__joda-beans__204
JodaOrg/joda-beans
204
defect
f07dbe42947150b23a173f35984c6ab33c5529bf
6fc1c195d6261d731f66a23a5327e5f29e3b4ef9
Fix for referencing bean format using incorrect class name with JodaConvert interfaces
Currently if one serializes an immutable bean which holds under an Object reference something implementing a JodaConvert interface with multiple implementations and the type is required to be serialized then the referencing converter chooses to serialize the first concrete implementation class name it encounters, rathe...
diff --git a/src/main/java/org/joda/beans/ser/bin/BeanReferences.java b/src/main/java/org/joda/beans/ser/bin/BeanReferences.java index 528c37d7..e5f0fac3 100644 --- a/src/main/java/org/joda/beans/ser/bin/BeanReferences.java +++ b/src/main/java/org/joda/beans/ser/bin/BeanReferences.java @@ -33,7 +33,6 @@ import org.jod...
2
2
1
[{"id": "G0", "claim": "Rename the nested classes' static field `instance` to `INSTANCE` in the JodaConvertInterface test sample.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer is not certain that the other serializers (standard bin...
null
JodaOrg__joda-beans__390
JodaOrg/joda-beans
390
defect
cb37e534687d2a838c3845fe86dcef19a402722f
514ee4a9644d44a6916fe3d61b0c2fbbbb14f2d3
Modernize bean generation code
* Also fix PMD config <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced import management with string-based class names in the `BeanData` class. - Improved parsing logic in `BeanGenConfig` for better readability. - Added new propertie...
diff --git a/pom.xml b/pom.xml index 3997919c..73e4ac8a 100644 --- a/pom.xml +++ b/pom.xml @@ -468,7 +468,7 @@ <version>${maven-pmd-plugin.version}</version> <configuration> <minimumTokens>100</minimumTokens> - <targetJdk>${maven.compiler.target}</targetJdk> + <targetJdk>$...
28
3
0
[{"id": "G0", "claim": "Standardise primitive wrapper handling in BuilderGen's defaultType switch by using casts like (short) 0 and (byte) 0 instead of Short.valueOf(0)/Byte.valueOf(0).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Extract the ...
null
JodaOrg__joda-beans__419
JodaOrg/joda-beans
419
defect
37998b11b757142f29c8a6ce377de58d41202b2e
3c0dced338539cee35f97a27aa55a1e53518ae16
Cache type variable lookup
* Type variable lookup searches parent interfaces * Type to Class erasure handles type bounds * Rename targetClass to contextClass <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new properties in `DoubleGenericsWithExtendsNoSuper...
diff --git a/src/main/java/org/joda/beans/JodaBeanUtils.java b/src/main/java/org/joda/beans/JodaBeanUtils.java index addae1e5..182231b7 100644 --- a/src/main/java/org/joda/beans/JodaBeanUtils.java +++ b/src/main/java/org/joda/beans/JodaBeanUtils.java @@ -15,7 +15,6 @@ */ package org.joda.beans; -import java.lang.r...
3
1
0
[{"id": "G0", "claim": "The inheritance hierarchy has a type parameter constraint mismatch — GenericInterfaceChild<N extends Number> extends GenericInterfaceBase<T extends Serializable>, and since not all Number types are Serializable this could lead to runtime issues; add a Serializable bound to N or document why the ...
null
JodaOrg__joda-beans__420
JodaOrg/joda-beans
420
defect
12f591309b86ded471e2765ead1247dade7d931c
0d83a5330d53205f974d661e2558b5498ed3463a
Add ResolvedType
* Create an alternative to `Type` with simpler functionality * Avoids creating implementation of `ParameterizedType/GenericArrayType` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new class, `ResolvedType`, for managing and reso...
diff --git a/src/main/java/org/joda/beans/ResolvedType.java b/src/main/java/org/joda/beans/ResolvedType.java new file mode 100644 index 00000000..e8d07867 --- /dev/null +++ b/src/main/java/org/joda/beans/ResolvedType.java @@ -0,0 +1,550 @@ +/* + * Copyright 2001-present Stephen Colebourne + * + * Licensed under the A...
11
10
0
[{"id": "G0", "claim": "test_basics handles several concerns and should be split into smaller focused test methods (type structure, object methods, argument access, array operations, string conversion) to improve maintainability and make failures more specific.", "category": "maintainability", "verdict": "supported", "...
null
JodaOrg__joda-beans__430
JodaOrg/joda-beans
430
defect
64b4e5a2edca2254499d4e853d73e5c0d485795d
eeeda109682e4e350c8c50169b5dc286b1d0c259
Simplify JSON exception handling
* Revert previous exception handling change * Redesign now means that `IOException` can be used directly <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced error handling in JSON writing processes, allowing for better management of IO-re...
diff --git a/src/main/java/org/joda/beans/ser/json/JodaBeanJsonWriter.java b/src/main/java/org/joda/beans/ser/json/JodaBeanJsonWriter.java index 6e6b5792..14fe8199 100644 --- a/src/main/java/org/joda/beans/ser/json/JodaBeanJsonWriter.java +++ b/src/main/java/org/joda/beans/ser/json/JodaBeanJsonWriter.java @@ -16,7 +16,...
6
1
0
[{"id": "G0", "claim": "Unit tests should be added that verify the proper propagation of IOExceptions from the underlying Appendable, since the PR changed the writers to propagate IOException directly and that behaviour is untested.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced...
null
JodaOrg__joda-beans__433
JodaOrg/joda-beans
433
defect
b6a89b08e6a1608c9c347243df921774892923b7
0a2dec7529e7f2cd08ed406f79e220ff5df794bc
Refactor standard binary serialization
* Use a ClassValue map to speed up serialization * Tweak parsing to accept String where it matches expected type * Tweak parsing to use expected type to handle nested arrays * Tweak `MsgPackOutput` removing performance tweak no longer applicable <!-- This is an auto-generated comment: release notes by coderabbit.ai...
diff --git a/src/main/java/org/joda/beans/ser/bin/AbstractBinReader.java b/src/main/java/org/joda/beans/ser/bin/AbstractBinReader.java index 8a1a9878..b0d8f76c 100644 --- a/src/main/java/org/joda/beans/ser/bin/AbstractBinReader.java +++ b/src/main/java/org/joda/beans/ser/bin/AbstractBinReader.java @@ -24,6 +24,7 @@ im...
14
9
0
[{"id": "G0", "claim": "The city value in the new ImmAddress2.binstr test file contains an unexpected '<!>' and a newline that may be unintended and could cause issues during deserialisation, and should be corrected to 'London & Capital of the World'.", "category": "correctness", "verdict": "supported", "priority": "P3...
null
JodaOrg__joda-beans__440
JodaOrg/joda-beans
440
defect
6f368e3d91edcc8627ca5d93edada18cc68acf75
5a56da239d9694b19e08b2e465ab429322f1a3a4
Add a binary format enum
* Replace boolean flag with enum * Easier to support more format versions * Enhance test cases * Move `ImmutableBean` check into referencing class * Fix stray catch of `UncheckedIOException` * Convert some tests to package scope <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summar...
diff --git a/src/main/java/org/joda/beans/ser/JodaBeanSer.java b/src/main/java/org/joda/beans/ser/JodaBeanSer.java index c1b36f56..bd8bc294 100644 --- a/src/main/java/org/joda/beans/ser/JodaBeanSer.java +++ b/src/main/java/org/joda/beans/ser/JodaBeanSer.java @@ -17,6 +17,7 @@ import org.joda.beans.JodaBeanUtils; im...
7
7
1
[{"id": "G0", "claim": "The write method should keep taking ImmutableBean directly instead of taking Bean and enforcing the immutable constraint with a runtime check and cast.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The write(bean, includeRootType...
null
JodaOrg__joda-beans__444
JodaOrg/joda-beans
444
defect
a0ba88f052e868e67badecfb03ef0c05058e5d6d
d49af86fbcfe8a1d4283d3f41391c54225f9e701
Create packed binary format
* Define the input/output classes for the new binary format * Design is inspired by MessagePack, and partly compatible * First commit just introduces the format, without the reader/writer <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Intro...
diff --git a/src/main/java/org/joda/beans/ser/bin/BeanPack.java b/src/main/java/org/joda/beans/ser/bin/BeanPack.java new file mode 100644 index 00000000..5f68a5d8 --- /dev/null +++ b/src/main/java/org/joda/beans/ser/bin/BeanPack.java @@ -0,0 +1,334 @@ +/* + * Copyright 2001-present Stephen Colebourne + * + * Licensed...
11
5
1
[{"id": "G0", "claim": "In parseDuration(), the code returns parseDuration() again instead of returning the parsed duration, causing endless recursion that will crash at runtime.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new no-clone test o...
null
JodaOrg__joda-beans__446
JodaOrg/joda-beans
446
defect
2d8b08fe9673b291b215f77a2b1457f506fd3617
8b4f38029a4d01338fc323b7dc890a805c6369f2
Adjust serialization
* Support `Iterable` collection type in standard binary and simple JSON * Support null map keys in binary formats * Update docs <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced three distinct binary formats for improved performance ...
diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 27eddccf..62110bed 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -14,6 +14,22 @@ Mostly compatible with v2.x. Deprecated methods have been removed. </action> + <action dev="jodastephen" type="add" ...
16
1
0
[{"id": "G0", "claim": "The binary formats section of the user guide would benefit from clearer formatting (missing commas), performance characteristics for each format, guidance on typical use cases, and a code example of selective deduplication with the PACKED format.", "category": "documentation", "verdict": "uncert...
null
JodaOrg__joda-beans__461
JodaOrg/joda-beans
461
defect
5c6e6111e5dbbe0a5b2db80ce93b7ed56fd645ae
498679a12340c369981232b890e1a8ca49357cc1
Convert ResolvedType to Type
* Allow a `ResolvedType` to be converted to a `Type` * Rename methods and add Javadoc for clarity * Fix uses of resolved type in Binary/JSON serialization <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Enhanced type resolu...
diff --git a/src/main/java/org/joda/beans/ResolvedType.java b/src/main/java/org/joda/beans/ResolvedType.java index c0d78c4f..f8c55041 100644 --- a/src/main/java/org/joda/beans/ResolvedType.java +++ b/src/main/java/org/joda/beans/ResolvedType.java @@ -17,12 +17,14 @@ import static java.util.stream.Collectors.toMap; ...
5
1
0
[{"id": "G0", "claim": "Add @Override annotations to the toString() methods of DynamicParameterizedType and DynamicGenericArrayType for consistency.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The dynamic type tests should add edge cases for ...
null
JodaOrg__joda-time__166
JodaOrg/joda-time
166
defect
0843affdfae354c7799db55d45c28d89f30b0ae2
6762d7919e99c741c66f0a22f0d1175d3e631c86
Add regular expression based localization to PeriodFormatterBuilder
Add regular expression based localization to PeriodFormatterBuilder and PeriodFormat. Add Polish locale to PeriodFormat. Add tests. Some of the languages have more complicated rules regarding suffixes than 1->singular "not 1"->plural. The current implementation and current set of available properties in messages_local...
diff --git a/src/main/java/org/joda/time/format/PeriodFormat.java b/src/main/java/org/joda/time/format/PeriodFormat.java index 0cb59f74a..84f96d27d 100644 --- a/src/main/java/org/joda/time/format/PeriodFormat.java +++ b/src/main/java/org/joda/time/format/PeriodFormat.java @@ -80,52 +80,240 @@ public static PeriodFormat...
6
6
2
[{"id": "G0", "claim": "The added source code uses tab indentation; it should be reformatted with spaces and resubmitted.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the javadoc list of available languages, Polish should be placed before S...
null
JodaOrg__joda-time__458
JodaOrg/joda-time
458
defect
ee4a3a053488e99e086b69a912bc0ea06048f30b
79eb70cb289f48cc048c4e42b5fb899259f3fd7a
Add `Instant.ofEpochMilli(long epochMilli)` and `Instant.ofEpochSecond(long epochSecond)`
Add `Instant.ofEpochMilli(long epochMilli)` and `Instant.ofEpochSecond(long epochSecond)` Fixes https://github.com/JodaOrg/joda-time/issues/445
diff --git a/src/main/java/org/joda/time/Instant.java b/src/main/java/org/joda/time/Instant.java index 363976459..79d182e51 100644 --- a/src/main/java/org/joda/time/Instant.java +++ b/src/main/java/org/joda/time/Instant.java @@ -72,6 +72,26 @@ public final class Instant public static Instant now() { retur...
1
1
1
[{"id": "G0", "claim": "Instant.ofEpochSecond(long) can overflow when multiplying the seconds by 1000, for both positive and negative values, and should throw ArithmeticException instead of silently producing a wrong instant.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
JodaOrg__joda-time__827
JodaOrg/joda-time
827
defect
7088d772689b751d3e182833970290d05311bf35
501d3c84860c4367ec9c0ca3d114184feb704b82
Fix time zone name key
The code '%z' is used as a time zone name key in certain simple cases It had been mapped to a zone offset in some, but not all, circumstances. Fixes #800 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Bug Fixes** * Fixed time zone name ke...
diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e28ebd1c8..7709167fd 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,14 @@ <body> <!-- types are add, fix, remove, update --> + <release version="2.14.1" date="SNAPSHOT" description="v2.14.1"> + <action ...
1
1
1
[{"id": "G0", "claim": "In the numeric-rules branch of ZoneInfoCompiler.addToBuilder, Rule.formatName is called with a hardcoded 0 instead of the parsed saveMillis, so formats like '%z' (and 'STD/DST') can ignore the fixed saving and disagree with the actual offset; the call should pass the parsed saveMillis.", "catego...
null
Johann-S__bs-stepper__28
Johann-S/bs-stepper
28
defect
7215d951a9962149698075e3983cd966464713b9
df48af31b55a71e9a1523f73ce15eed86f12c0ac
Allow configurated CSS selectors and class names
I had an use case where I needed to separated controls and tabs while keeping the default style (turns out having multiple `.bs-stepper` breaks the plugin hooray). Allowing the CSS selectors to be configured solved my use case and I thought maybe it would be useful for someone else. Tests passed and here I am.
diff --git a/bs-stepper.d.ts b/bs-stepper.d.ts index 8e169b7..fcaa6b3 100644 --- a/bs-stepper.d.ts +++ b/bs-stepper.d.ts @@ -1,6 +1,11 @@ declare type StepperOptions = { linear: boolean, - animation: boolean + animation: boolean, + selectors: { + steps: string, + trigger: string, + stepper: string + } ...
4
4
2
[{"id": "G0", "claim": "The configurable CSS class names (classNames) option has no demonstrated use case and should be dropped from this pull request, keeping only the selectors configuration.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The FIXME com...
null
JohannesKaufmann__html-to-markdown__16
JohannesKaufmann/html-to-markdown
16
defect
60f6dc365f89f48243a86167a1f9cb463a821f50
2bb60c02542e6aa46af7b0219b3924b7344751f3
New confluence code block parser plugin
Hi @JohannesKaufmann I have the pleasure of working with this library. I had to add a confluence page parser to parse out code blocks. And I thought I'd add it back to you if you like the plugin / you think the changes are appropriate. Thanks for your great work on this! :)
diff --git a/plugin/confluence_code_block.go b/plugin/confluence_code_block.go new file mode 100644 index 0000000..3d60f1c --- /dev/null +++ b/plugin/confluence_code_block.go @@ -0,0 +1,40 @@ +package plugin + +import ( + "fmt" + "strings" + + md "github.com/JohannesKaufmann/html-to-markdown" + "github.com/PuerkitoBio/...
1
1
0
[{"id": "G0", "claim": "The doc comment of ConfluenceCodeBlock should be reworded to say it converts `<ac:structured-macro>` elements used in Atlassian's Wiki Confluence and note it was contributed by @Skarlso.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JohannesKlauss__react-hotkeys-hook__1247
JohannesKlauss/react-hotkeys-hook
1,247
defect
6b375b63ac151584662229699e6bccd2ee789d15
28fa7e853810592998d97369679c8384870e5df4
feature: sequential combos
- Currently supports sequential combos with custom timeout and custom splitter. @JohannesKlauss I have not added info about this in the docs. Please let me know if I need to do that as well. Ref: https://github.com/JohannesKlauss/react-hotkeys-hook/issues/989
diff --git a/packages/react-hotkeys-hook/src/lib/parseHotkeys.ts b/packages/react-hotkeys-hook/src/lib/parseHotkeys.ts index c36ee0c4..db9d5d4b 100644 --- a/packages/react-hotkeys-hook/src/lib/parseHotkeys.ts +++ b/packages/react-hotkeys-hook/src/lib/parseHotkeys.ts @@ -33,11 +33,22 @@ export function parseKeysHookInpu...
2
1
1
[{"id": "G0", "claim": "The sequence/non-sequence branches of parseHotkey in parseHotkeys.ts can be simplified since only the split call differs.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add a section to the documenta...
null
JohannesKlauss__react-hotkeys-hook__918
JohannesKlauss/react-hotkeys-hook
918
defect
245a40114b26ab844231ea817f16508ac8536eba
9acc73617c30ef870bd781c7472c13893c147081
Always use up to date callback if no dependencies are passed
### [Reproduction](https://codesandbox.io/s/interesting-swirles-cqb8o9?file=/src/App.tsx) In the sandbox, you can see we're never getting past 1 because the callback doesn't get updated. ### The Dependencies Array - Adding a deps array I don't think is the correct API. - What we really want is something like ...
diff --git a/src/useHotkeys.ts b/src/useHotkeys.ts index 35b7fbdb..e23097f5 100644 --- a/src/useHotkeys.ts +++ b/src/useHotkeys.ts @@ -32,9 +32,17 @@ export default function useHotkeys<T extends HTMLElement>( const hasTriggeredRef = useRef(false) const _options: Options | undefined = !(options instanceof Array)...
3
2
1
[{"id": "G0", "claim": "The added line at src/useHotkeys.ts:43 is mis-indented, suggesting it was not linted by Prettier, and should be reformatted.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the describe.only wrapper around the new d...
null
JohannesKlauss__react-hotkeys-hook__945
JohannesKlauss/react-hotkeys-hook
945
defect
5d75a06d883efc62f2b331424a9630805e04cbd9
6db2e8d46ef460ce48c3f5d5d3ba7e7c7e924423
Fix infinite loop
https://github.com/JohannesKlauss/react-hotkeys-hook/issues/944 This fixes an infinite loop that is caused by an array dependency in a `useEffect`. I simply serialize the array dependency in question only because using a ref or memoizing the `keys` prop was causing a test failure in `tests/useHotkeys.test.tsx L#274`...
diff --git a/src/useHotkeys.ts b/src/useHotkeys.ts index 8ac4336d..aaed50d6 100644 --- a/src/useHotkeys.ts +++ b/src/useHotkeys.ts @@ -143,7 +143,7 @@ export default function useHotkeys<T extends HTMLElement>( parseKeysHookInput(keys, memoisedOptions?.splitKey).forEach((key) => proxy.removeHotkey(parseHotkey(k...
1
1
1
[{"id": "G0", "claim": "Don't use JSON.stringify in the dependency array since it is an expensive hack; instead normalize keys to a string (const _keys = keys instanceof Array ? keys.join(splitKey) : keys), reference _keys everywhere keys is used, and remove the array check in parseKeysHookInput.", "category": "design"...
null
JohannesKlauss__react-hotkeys-hook__972
JohannesKlauss/react-hotkeys-hook
972
defect
01b27a91c10b51a54d69113c1b3b6e5f50eac73c
ba6928c2bb0a9d5ad2d2e5f9e6071bf9741b1a0d
Feat: Expose descriptions for currently-bound hotkeys.
This PR exposes the `description` option in the `hotkeys` array returned by `useHotkeysContext()`. Helpful if you want to display a list of currently-active hotkeys to the user.
diff --git a/src/parseHotkeys.ts b/src/parseHotkeys.ts index 9fa7e728..0c1c53d0 100644 --- a/src/parseHotkeys.ts +++ b/src/parseHotkeys.ts @@ -1,4 +1,4 @@ -import { Hotkey, KeyboardModifiers, Keys } from './types' +import { Hotkey, KeyboardModifiers, Keys, Options } from './types' const reservedModifierKeywords = ['...
2
2
1
[{"id": "G0", "claim": "The pull request should add a test that tests the new behaviour of exposing descriptions for currently-bound hotkeys.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The same test ('should return descriptions for bound hotkeys') a...
null
JohannesKlauss__react-hotkeys-hook__980
JohannesKlauss/react-hotkeys-hook
980
defect
aaa1befef3f70707a66567d09d35c6ea1f217001
98415cc751bf76c9c9c8e4092ec316eecb52fd6d
[feature]: ignoreEventCondition option
Hey! ### Changes - added `ignoreEventCondition` option ### Why We need a bit finer control of when to ignore events. As an example, checking `event.target.closest()` by role/css Wdyt? 😄
diff --git a/documentation/docs/api/use-hotkeys.mdx b/documentation/docs/api/use-hotkeys.mdx index 3d644dfa..abe93579 100644 --- a/documentation/docs/api/use-hotkeys.mdx +++ b/documentation/docs/api/use-hotkeys.mdx @@ -221,6 +221,33 @@ this might desirable. We can enable the callback trigger for an input tag using `...
7
5
2
[{"id": "G0", "claim": "Tests should be added for the new ignoreEventCondition feature before the pull request is merged.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new option's API should be added to the API documentation before the pull reques...
null