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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RedisLabs__redisraft__182 | RedisLabs/redisraft | 182 | defect | 38e613384cd3961aab2b157af032276c2ebdd4fb | 7db1d0323639ee4e3599ed1f2fd9e3a9c598bdb8 | Multiple Slot Ranges + Consistent Shard Group IDs | This PR set out to do 2 things
1) Expand ShardGroup to enable users to specify multiple non contiguous ranges of shards
2) Enable each ShardGroup to be named persistently by the individual's RedisRaft cluster's DB ID.
1 is to enable a future where we can dynamically remap which RedisRaft clusters provide each sl... | diff --git a/cluster.c b/cluster.c
index d4e7ae080..c0f15dbb8 100644
--- a/cluster.c
+++ b/cluster.c
@@ -62,12 +62,26 @@ unsigned int keyHashSlot(const char *key, int keylen) {
*/
char *ShardGroupSerialize(ShardGroup *sg)
{
- size_t buf_size = SHARDGROUP_MAXLEN + (SHARDGROUPNODE_MAXLEN * sg->nodes_num) + 1;
+ ... | 14 | 13 | 4 | [{"id": "G0", "claim": "Fix the comment alignment (spacing) of the slot_ranges field declaration in redisraft.h.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Hold all ShardGroup references in the shard_group_map Dict instead of keeping both an... | null |
RedisLabs__redisraft__205 | RedisLabs/redisraft | 205 | defect | 3e7fc8655194860b201e08c42fc306e481b2aea6 | d361596606938cc232639c61c6c3f0bcc64357a0 | Add RAFT.SHARDGROUP REPLACE command | this replaces the whole shardgroup listing with the data contained within it.
it is similiar to RAFT.SHARDGROUP ADD, except it takes multiple shardgroups sets of data and has an initial count
RAFT.SHARDGROUP REPLACE [num shardgroups] ([shardgroup id] [num_slots] [num_nodes] ([start slot] [end slot] [slot type])* ... | diff --git a/cluster.c b/cluster.c
index b25aec821..8d3ea4214 100644
--- a/cluster.c
+++ b/cluster.c
@@ -379,6 +379,58 @@ RRStatus ShardGroupAppendLogEntry(RedisRaftCtx *rr, ShardGroup *sg, int type, vo
return RR_OK;
}
+RRStatus ShardGroupsAppendLogEntry(RedisRaftCtx *rr, int num_sg, ShardGroup **sg, int type, ... | 22 | 19 | 7 | [{"id": "G0", "claim": "The raft_is_leader() check in ShardGroupsAppendLogEntry is redundant because checkLeader() already runs before the function is called, so it should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The serialization forma... | null |
RedisLabs__redisraft__226 | RedisLabs/redisraft | 226 | defect | 0354c1de923ace04c4455aa9b4eba0b24dda4111 | 3f00f4945493f517a82a23e129f82a8703b1cd28 | Extend raft.shardgroup replace to change hash slot owneship | - shardgroup replace will validate options before submitting to log
a given slot, can either only be specified as stable or as (migrating and/or importing)
- ShardingInfoReset() no longer adds local shardgroup to sharding info.
- its added at
- cluster init - with default cluster slots (AddBasicLocalShardGrou... | diff --git a/cluster.c b/cluster.c
index 81697fd85..a17bac5b3 100644
--- a/cluster.c
+++ b/cluster.c
@@ -230,7 +230,7 @@ void ShardGroupTerm(ShardGroup *sg)
}
}
-ShardGroup *ShardGroupCreate() {
+ShardGroup* ShardGroupCreate() {
ShardGroup *sg = RedisModule_Calloc(1, sizeof(*sg));
ShardGroupInit(sg);
... | 13 | 10 | 3 | [{"id": "G0", "claim": "Checking the migrating slots map in handleSharding may be too early for this pull request, so the migrating-slot logic should be removed from it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Handling of cluster slots / nodes for... | null |
RedisLabs__redisraft__295 | RedisLabs/redisraft | 295 | defect | fe3eb3ff8df126044b72053a64eea369c8919fd7 | 3ea290e0d696eab0b31fddae489f627743d96ef7 | Move nodeshutdown handling to command callback | Move nodeshutdown handling to command callback.
Also, fixes minor leak if nodeshutdown id is wrong. | diff --git a/src/raft.c b/src/raft.c
index a528b9957..35f843349 100644
--- a/src/raft.c
+++ b/src/raft.c
@@ -25,10 +25,10 @@ const char *RaftReqTypeStr[] = {
"RR_APPENDENTRIES",
"RR_REDISCOMMAND",
"RR_INFO",
- "RR_COMPACT",
+ "RR_DEBUG",
"RR_CLIENT_DISCONNECT",
"RR_SHARDGROUP_ADD",
- "... | 1 | 1 | 0 | [{"id": "G0", "claim": "The hand-maintained RaftReqTypeStr[] list is hard to keep in sync; suggest using gcc magic (or similar) to convert the request-type defines into strings so the list isn't needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RedisLabs__redisraft__343 | RedisLabs/redisraft | 343 | defect | 2ae7f21485b0e5e80df2a4fee8d6ad1ce8305a60 | c6f7bf441e885af8a1adeb96b7de8e1e5b3d0175 | implement raft.scan to provide a scan that can filter by slots | mimics redis's scan i.e. either
`raft.scan slots <slot definition>`
or when called again
`raft.scan <cursor> slots <slot definition>`
slot definition is a comma delimited list of slot ranges. a slot range is either a single slot (100) or a dash delimited slot range (500-520). So one can do something like ... | diff --git a/src/cluster.c b/src/cluster.c
index 6bae1e9ce..16b109de0 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -11,38 +11,6 @@
#include <stdlib.h>
#include "redisraft.h"
-#include "crc16.h"
-
-/* -----------------------------------------------------------------------------
- * Hashing code - copied directl... | 6 | 5 | 1 | [{"id": "G0", "claim": "The new code should use the RedisModule memory family (RM_Alloc, RM_Free, RM_Strdup) instead of strndup/strdup/free so memory usage is tracked and OOM errors can surface.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In ... | null |
RedisLabs__redisraft__347 | RedisLabs/redisraft | 347 | defect | f54615484a2a6d7a5cc5d8a9762d8508378f8756 | bc57f0e806e2c20d9144277f59007d5bf4a0eaa1 | asking as an independent command | Based on conversation the understanding of asking was incorrect, its an independent command that sets a flag on the client, this is to make it the same.
- saves client state when go into asking mode
- set RedisRaftCommandArray as asking if client put itself into asking state
- no longer have to parse multi special... | diff --git a/src/commands.c b/src/commands.c
index 415e63326..2639df131 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -215,7 +215,22 @@ unsigned int CommandSpecGetAggregateFlags(RaftRedisCommandArray *array, unsigned
{
unsigned int flags = 0;
for (int i = 0; i < array->len; i++) {
- const Comman... | 8 | 4 | 1 | [{"id": "G0", "claim": "Combine the separate MULTI and ASKING client-state dicts into a single expandable client_state dict holding a struct.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G3", "claim": "New functions should follow the project convention: exported fu... | null |
RedisLabs__redisraft__375 | RedisLabs/redisraft | 375 | defect | e5e853c0e133206c3772fc7364c710bcc219e12c | b7072e51f20d1738403dda7b81c87ffdc4e09a28 | add session migration key ("magic") to shardgroup replace command | the slot range specification now takes an additional field for the shared session migration key, so its syntax is now
<start slot> <end slot> <slot type> <shared session migration key>
its been added to serialization / desrialization code and the unit tests have been extended to handle it.
closed #371 | diff --git a/src/cluster.c b/src/cluster.c
index f63d16c0f..09037d8b6 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -44,7 +44,8 @@ char *ShardGroupSerialize(ShardGroup *sg)
for (unsigned int i = 0; i < sg->slot_ranges_num; i++) {
/* individual slot ranges */
ShardGroupSlotRange *sr = &sg->slo... | 2 | 2 | 2 | [{"id": "G0", "claim": "The magic field should be made unsigned in the ShardGroupSlotRange definition and renamed to a more meaningful name reflecting its real meaning and values.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "ShardGroupParse should vali... | null |
RedisLabs__redisraft__498 | RedisLabs/redisraft | 498 | defect | a6bf17d3f07be8ff648ca4236f9d2a8f54e67793 | 4fd6fe6b4a9ddddd9074906a652ddd38a3ba7dd8 | Update libraft | Updated libraft.
On RedisRaft side, there is only one fix for snapshot testing. (required after https://github.com/RedisLabs/raft/pull/143)
Rather than manually sending the snapshot,
- We stop the target node,
- Commit an entry
- Make the leader take a snapshot
- Restart the target instance.
- Leader will d... | diff --git a/deps/raft/Makefile b/deps/raft/Makefile
index f384c8c75..29615a5af 100644
--- a/deps/raft/Makefile
+++ b/deps/raft/Makefile
@@ -126,7 +126,19 @@ test_virtraft: $(RAFT_CFFI_TARGET)
python3 tests/virtraft2.py --servers 5 -i 20000 --compaction_rate 50 --drop_rate 5 -P 10 --seed 6 -m 3 $(VIRTRAFT_OPTS)
pyt... | 1 | 1 | 1 | [{"id": "G0", "claim": "RR should not need the raft private API: there should be a single public API (with the logic kept in the raft library), and functions like raft_node_set_voting that applications require should be moved back from raft_private.h to the public raft.h.", "category": "design", "verdict": "supported",... | null |
RedisLabs__redisraft__508 | RedisLabs/redisraft | 508 | defect | 9b647803d47c74a0a80d1d0c560d865eaf77b2ec | 9e486e46f6d122b46532fdb0f647e84508ac99c2 | [RR-94] Implement metadata file separate from the log | Moved metadata file implementation into a separate .c file as raft
metadata is not related with the raft log implementation.
- New implementation is using POSIX IO calls.
- Added helper functions:
- `safesnprintf()` to check return value of `snprintf()`. We can
move to this function in the codebase to det... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc76fb1f2..e59217228 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,6 +181,7 @@ add_library(redisraft MODULE
src/fsync.c
src/join.c
src/log.c
+ src/metadata.c
src/migrate.c
src/multi.c
src/node.c
@@... | 8 | 7 | 0 | [{"id": "G0", "claim": "Keep a dedicated helper (like the removed raftMetaFilename()) so the assumption about the metadata filename format lives in a single place used by both read and write.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The re... | null |
RedisLabs__redisraft__547 | RedisLabs/redisraft | 547 | defect | a8aa6dc7868d629660ba01c48fe3931e61a9b89c | 693fe88e514995e22011774585e5baa8beaa6651 | [RR-45] Use multiple files on log compaction | Currently, after we create a new snapshot file, we write entries that
are not present in the snapshot into a new log file. Then, we delete
the previous log file.
This introduces two problems:
- Copying entries into a new file takes time.
- As we are creating a new file, we need to call `fsync()` for this
... | diff --git a/src/log.c b/src/log.c
index 247a265d9..b614bf883 100644
--- a/src/log.c
+++ b/src/log.c
@@ -8,6 +8,7 @@
#include "entrycache.h"
#include "file.h"
+#include "redisraft.h"
#include "common/sc_crc32.h"
@@ -28,38 +29,32 @@ static const char *RAFTLOG_STR = "RAFTLOG";
#define RAFTLOG_TRACE(fmt, ...) ... | 10 | 6 | 0 | [{"id": "G0", "claim": "The dbid field in LogPage (and later Log) should be declared with size RAFT_DBID_LEN + 1; since fixing it needs a header refactor, at minimum the code should carry a TODO comment referencing the ticket (RR-148) that will fix it.", "category": "maintainability", "verdict": "supported", "priority"... | null |
RedisLabs__redisraft__549 | RedisLabs/redisraft | 549 | defect | aeaa5611dc63968fdc658830492d960c53937fa3 | bb3e64b1c8c3b01fda489eb3a7a2278ff220bb64 | [RR-85] Add brute force crash test | As part of this commit,
- Added proper checks for CRLF at the end of multibulk elements.
- Added brute force crash test to detect corrupt data
Loop over bytes of the log file and change a single byte at a time.
Then, try to open and load entries.
RedisRaft does not handle corruption (e.g. bit rod) but c... | diff --git a/src/log.c b/src/log.c
index ecb68ddac..247a265d9 100644
--- a/src/log.c
+++ b/src/log.c
@@ -231,7 +231,8 @@ static raft_entry_t *readEntry(Log *log, long *read_crc)
/* data */
if (FileRead(&log->file, e->data, length) != length ||
- FileRead(&log->file, crlf, 2) != 2) {
+ FileRead... | 3 | 3 | 1 | [{"id": "G0", "claim": "The test should add another entry (test7000) so that it verifies the last entry is also deleted when corruption is detected.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test7000 entry should be added at the file init step ... | null |
Redocly__redoc__1065 | Redocly/redoc | 1,065 | defect | 4494f80dbc41b7bfe2eb64bbd727271658860898 | 383a41d3a00c36bcbde40d47dba163083e886bc7 | feat: display `multipleOf` constrains | Fixes #1055 | diff --git a/demo/openapi.yaml b/demo/openapi.yaml
index b7c1833a02..6f73eb28b8 100644
--- a/demo/openapi.yaml
+++ b/demo/openapi.yaml
@@ -729,6 +729,7 @@ components:
type: number
description: Average amount of honey produced per day in ounces
example: 3.14
+ mu... | 5 | 5 | 0 | [{"id": "G0", "claim": "The new test description should read 'humanized' instead of 'humazined'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second new test description should read 'humanized' instead of 'humazined'.", "category": "mainta... | null |
Redocly__redoc__1089 | Redocly/redoc | 1,089 | defect | dc5430e53def780a81612d269cc3aea3f8785eea | 7fda958299d52a546936aedb49427a451fe566c3 | fix: Add debounce for 300 ms when searching | Fixes #1027
Steps taken
- Ran tslint
- Ran all tests
- Ran `yarn prettier` | diff --git a/src/components/SearchBox/SearchBox.tsx b/src/components/SearchBox/SearchBox.tsx
index e6ade2c335..dedb5692bd 100644
--- a/src/components/SearchBox/SearchBox.tsx
+++ b/src/components/SearchBox/SearchBox.tsx
@@ -33,6 +33,7 @@ export interface SearchBoxState {
export class SearchBox extends React.PureCompo... | 2 | 2 | 1 | [{"id": "G0", "claim": "The 'Search should support arrow navigation' e2e test seems to be failing, possibly because the debounced search delays the result display.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the hand-made debounce in SearchBox... | null |
Redocly__redoc__1406 | Redocly/redoc | 1,406 | defect | f805271d90e65d139196ee6d27e2a1c2e7de85f5 | 45f779a2fdb7fdedab5e2cd4bf0142c405c212fc | Added support for showExtensions and $ref for Responses | If you appreciate this contribution, please add a `hacktoberfest-accepted` Label to the PR, so it'll be tracked | diff --git a/src/components/Responses/Response.tsx b/src/components/Responses/Response.tsx
index 58e0ae32e2..bc6ece8bd4 100644
--- a/src/components/Responses/Response.tsx
+++ b/src/components/Responses/Response.tsx
@@ -12,11 +12,12 @@ export class ResponseView extends React.Component<{ response: ResponseModel }> {
}... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test's name 'should be error if showExtensions is true' does not describe what the test actually verifies (that extensions are shown), and should be renamed to something like 'ensure extensions are shown if showExtensions is true'.", "category": "maintainability", "verdict": "supported",... | null |
Redocly__redoc__1699 | Redocly/redoc | 1,699 | defect | f7211ceb0829334b3b4661d9c6168403f2345ba4 | b0ebdc0eaac0809ad514f8c6ee37e8071ba27bdc | feat: Add download file option | ## What/Why/How?
Allows the user to set a download file name and format for the API spec.
For example, `openapi.yaml`
## Reference
Fixes #672
## Testing
New tests written
## Screenshots (optional)
## Check yourself
- [x] Code is linted
- [x] Tested
- [x] All new/updated code is covered with tests
## Security
... | diff --git a/README.md b/README.md
index e5db33c142..f2efc98e73 100644
--- a/README.md
+++ b/README.md
@@ -232,6 +232,7 @@ You can use all of the following options with standalone version on <redoc> tag
* `expandResponses` - specify which responses to expand by default by response codes. Values should be passed as com... | 2 | 2 | 2 | [{"id": "G0", "claim": "The default download file name `swagger.json` should be changed — either keep backward compatibility by checking the spec version or return an `openapi` default (`openapi.yaml` per M001/M004, `openapi.json` per M005's suggestion).", "category": "design", "verdict": "supported", "priority": "P1",... | null |
Redocly__redoc__1733 | Redocly/redoc | 1,733 | defect | 683eabbbf077a4275e9986dcb6492f237f83b476 | 5fa68a1c9dba122770e8db72dfb683d5f4cdb448 | Feat/webhooks option to reverse read onlywrite only properties | ## What/Why/How?
close https://github.com/Redocly/redoc/issues/1720
close https://github.com/Redocly/redoc/issues/1540
## Reference
## Testing
## Screenshots (optional)
## Check yourself
- [x] Code is linted
- [x] Tested
- [ ] All new/updated code is covered with tests
| diff --git a/demo/openapi.yaml b/demo/openapi.yaml
index 74c16b70f2..c570cc6080 100644
--- a/demo/openapi.yaml
+++ b/demo/openapi.yaml
@@ -1193,7 +1193,7 @@ x-webhooks:
summary: New pet
description: Information about a new pet in the systems
operationId: newPet
- tags:
+ tags:
-... | 1 | 1 | 0 | [{"id": "G0", "claim": "The prop name `reverseEventsReadWriteProps` is unclear; rename it to something like `isWebhookOrCallback` or `isEvent`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Redocly__redoc__1799 | Redocly/redoc | 1,799 | defect | bf6b85d4ba371b286d6cb9856352fac70bff5a64 | 3662a1b027774f56b13d3a870d932471d38cccae | fix: exclusiveMin/Max shows incorect range | ## What/Why/How?
fix: https://github.com/Redocly/redoc/issues/1761
## Reference
## Testing
## Screenshots (optional)
## Check yourself
- [x] Code is linted
- [x] Tested
- [x] All new/updated code is covered with tests
| diff --git a/src/utils/openapi.ts b/src/utils/openapi.ts
index d0b081f535..e1bd97c290 100644
--- a/src/utils/openapi.ts
+++ b/src/utils/openapi.ts
@@ -113,7 +113,10 @@ export function detectType(schema: OpenAPISchema): string {
return 'any';
}
-export function isPrimitiveType(schema: OpenAPISchema, type: string |... | 2 | 2 | 2 | [{"id": "G0", "claim": "When both exclusiveMinimum and exclusiveMaximum are numbers, the humanized number range renders '[' for the exclusive-minimum bound, but exclusive minimum means strictly bigger, which is '(' in math notation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
Redocly__redoc__1829 | Redocly/redoc | 1,829 | defect | f82eb53ccf7615f493a5156fa24d7f80ce8d94db | a23850729c7d5023f7b937bd5eb087f7b3e3a7eb | chore: bump marked version | ## What/Why/How?
fixes #1726
bump `marked` version
## Reference
## Testing
## Screenshots (optional)
## Check yourself
- [x] Code is linted
- [x] Tested
- [ ] All new/updated code is covered with tests
| diff --git a/package-lock.json b/package-lock.json
index be84e309ff..6a8142152e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,7 +19,7 @@
"json-pointer": "^0.6.1",
"lunr": "^2.3.9",
"mark.js": "^8.11.1",
- "marked": "^0.7.0",
+ "marked": "^3.0.4",
"mobx-r... | 2 | 2 | 0 | [{"id": "G0", "claim": "The newly added `parser` field seems to be unused anywhere, so it should be removed or at least carry a comment explaining why it must be initialized.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The styling changes in ... | null |
Redocly__redoc__1894 | Redocly/redoc | 1,894 | defect | da4e4ad677a68eac0def6800424adb11c58c8a93 | a608b5dcc2094011f511385ba83c9ddbb04a5012 | fix: external ref in schema definition | ## What/Why/How?
fixes: https://github.com/Redocly/redoc/issues/1862
## Reference
## Testing
`openapi.yaml`
```
openapi: 3.1.0
info:
title: Try to reproduce
version: 1.0.0
servers:
- url: example.com
tags:
- name: test
x-displayName: The test Model
description: |
<SchemaDefin... | diff --git a/src/services/OpenAPIParser.ts b/src/services/OpenAPIParser.ts
index a82b0d83dd..06efb98b03 100644
--- a/src/services/OpenAPIParser.ts
+++ b/src/services/OpenAPIParser.ts
@@ -191,6 +191,11 @@ export class OpenAPIParser {
const { $ref, ...rest } = ref;
const keys = Object.keys(rest);
if (keys.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new deref/exitRef/return block can be replaced with a call to the existing shallowDeref helper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Redocly__redoc__1939 | Redocly/redoc | 1,939 | defect | eb096b69be52568fc581027161c7d0c4b26c56c1 | 41ecb02d9daaa23f26de42ae4bb06ca0852cf1ba | feat: support conditional operators | ## What/Why/How?
add support conditional operators for openApi 3.1. Add supporting `x-displayName` for if/else.
## Reference
```yaml
properties:
photoUrls:
description: The list of URL to a cute photos featuring pet
type: [string, integer, 'null', array]
xml:
name: photoUrl
wrapped... | diff --git a/demo/openapi-3-1.yaml b/demo/openapi-3-1.yaml
index ac89619db1..637ae94c05 100644
--- a/demo/openapi-3-1.yaml
+++ b/demo/openapi-3-1.yaml
@@ -93,7 +93,7 @@ paths:
parameters:
- name: Accept-Language
in: header
- description: "The language you prefer for messages. Supported value... | 8 | 8 | 2 | [{"id": "G0", "claim": "The pull request should keep the schema.if/then/else guard and the early return in initConditionalOperators as a single condition in one place instead of duplicating the check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
Redocly__redoc__1981 | Redocly/redoc | 1,981 | defect | 186f5a98bd466b1820121aadb865291bef8c6755 | 74c9e81f8d7c4158ff09b26ed648a41dafd5ec08 | feat: support .redocly.yaml for options for redoc-cli | ## What/Why/How?
Support .redocly.yaml for options for redoc-cli
## Reference
close #1785
## Testing
## Screenshots (optional)
## Check yourself
- [ ] Code is linted
- [ ] Tested
- [ ] All new/updated code is covered with tests
| diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index a0a0bbd16a..64fd54536a 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -6,7 +6,8 @@ jobs:
build-and-unit:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
- - run:... | 3 | 3 | 2 | [{"id": "G0", "claim": "The pull request should add one more test that shows `disableSearch: true` from `.redocly.yaml` is actually applied to the built output.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The log message should read `Found ${configFi... | null |
Redocly__redoc__1994 | Redocly/redoc | 1,994 | defect | 1f417d67c6b2e0b49e41c713958c100d8e1ad19d | 313d043afb93479c0518a5528e9549962136810e | feat: add option to display verb in webhooks | ## What/Why/How?
- add new options `showWebhookVerb` for displaying the request method in webhooks.
- add using `ts-node` in `cli` test for the ability to run tests without compiling `cli`
fixes: https://github.com/Redocly/redoc/issues/1616
## Reference
## Testing
## Screenshots (optional)
<img width="11... | diff --git a/cli/__test__/build/configRedoc/index.test.ts b/cli/__test__/build/configRedoc/index.test.ts
index f28f08bd85..382700b5d4 100644
--- a/cli/__test__/build/configRedoc/index.test.ts
+++ b/cli/__test__/build/configRedoc/index.test.ts
@@ -4,8 +4,8 @@ import { readFileSync } from 'fs';
describe('build', () => {... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new `showWebhookVerb` option needs to be documented at least in `Readme.md` and somewhere in the Redocly docs.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "HTTP verb should be rendered in all uppercase to be consisten... | null |
Redocly__redoc__2018 | Redocly/redoc | 2,018 | defect | 1e4ea03d4a9b7eddf3e4cc7cbdbd4d913583e837 | d5bc32254e590af8513bb578f17964dac32ce1ff | feat: add support prefix items | ## What/Why/How?
fixes: https://github.com/Redocly/redoc/issues/1908
- add support items can be array
- add support prefixItems for OpenApi 3.1
- update openapi-sampler to v1.3.0
TODO: fix examples
**OpenApi 3.1**
```yaml
addresses:
type: array
minItems: 0
maxLength: 10... | diff --git a/demo/openapi-3-1.yaml b/demo/openapi-3-1.yaml
index 9c8d0f07ce..9c875fc623 100644
--- a/demo/openapi-3-1.yaml
+++ b/demo/openapi-3-1.yaml
@@ -1242,6 +1242,26 @@ components:
type: string
contentEncoding: base64
contentMediaType: image/png
+ addresses:
+ type:... | 2 | 2 | 0 | [{"id": "G0", "claim": "The array label and the constraints text are duplicated (e.g. '[ 1 .. 10 ] items'), which looks like too much.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The multi-line null check in ArrayItemDetails is too complex to understa... | null |
Redocly__redoc__2020 | Redocly/redoc | 2,020 | defect | 82712c5b408dc6bc142307d45fb962de2a43ffba | 6583554a3a07af2853c32b092bbd337bd5d437a6 | fix: merge allOf in correct order | ## What/Why/How?
after releasing the conditional operators we have a problem with merging oneOf, anyOf, and other parts of the schema.
fixes https://github.com/Redocly/redoc/issues/2017
## Reference
## Testing
## Screenshots (optional)
<img width="1516" alt="Screenshot 2022-05-23 at 15 32 44" src="https:/... | diff --git a/src/services/OpenAPIParser.ts b/src/services/OpenAPIParser.ts
index 6cf3604d51..65ded87dfa 100644
--- a/src/services/OpenAPIParser.ts
+++ b/src/services/OpenAPIParser.ts
@@ -274,6 +274,11 @@ export class OpenAPIParser {
properties,
items,
required,
+ oneOf,
+ anyOf,... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request should not merge oneOf/anyOf arrays by concatenation when resolving allOf — merging oneOfs is not 100% valid and is unnecessary since oneOfs are hoisted to the top-level beforehand.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
Redocly__redoc__2097 | Redocly/redoc | 2,097 | defect | e4f84bb7de830b660c217c1d0a0eb3463f964df9 | 5d4d6b9093f17b693ebaf904f6587e95a21284d3 | fix: recursion for boolean items | ## What/Why/How?
fixes: https://github.com/Redocly/redoc/issues/2086
## Reference
## Testing
## Screenshots (optional)
<img width="881" alt="Screenshot 2022-07-26 at 15 13 47" src="https://user-images.githubusercontent.com/14113673/181003170-c3895829-a783-414e-8f72-c5e5adefc5d4.png">
## Check yourself
... | diff --git a/src/services/OpenAPIParser.ts b/src/services/OpenAPIParser.ts
index 76fbefc925..e88a0c23cb 100644
--- a/src/services/OpenAPIParser.ts
+++ b/src/services/OpenAPIParser.ts
@@ -271,16 +271,19 @@ export class OpenAPIParser {
}
if (items !== undefined && !isCircular) {
- // FIXME: this is... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `{ not: {} }` branch for boolean `items` in OpenAPIParser.ts should not be there (asking why it is needed).", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Redocly__redoc__2143 | Redocly/redoc | 2,143 | defect | 8dc03eb7ed262d6b1d460425ce43990710470845 | a3a437592fa52ab8dea4f278cf57f5a8076d5f51 | chore: add test for handle circular | ## What/Why/How?
fixes: https://github.com/Redocly/redoc/issues/2135
## Reference
```yaml
openapi: 3.0.0
servers:
- url: //petstore.swagger.io/v2
description: Default server
info:
description: |
Recursion
version: 1.0.0
title: Recursion
x-logo:
url: 'https://redocly.github.io/redoc... | diff --git a/src/services/OpenAPIParser.ts b/src/services/OpenAPIParser.ts
index 08142d5820..3d610c4db4 100644
--- a/src/services/OpenAPIParser.ts
+++ b/src/services/OpenAPIParser.ts
@@ -5,6 +5,8 @@ import { JsonPointer } from '../utils/JsonPointer';
import { RedocNormalizedOptions } from './RedocNormalizedOptions';
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Questions whether the newly added commented-out x-noHoist early-return block in hoistOneOfs is still needed and implies it should be removed if not.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Redocly__redoc__902 | Redocly/redoc | 902 | defect | 5dd5d6d704ec6e6f739c6f0c4ac868c73fbca0a0 | 9ebd0b4580af1bbe86bf2e3da88d10086b06c6a6 | fix: update apiKey in to be titleize | fixes #880 | diff --git a/src/components/SecuritySchemes/SecuritySchemes.tsx b/src/components/SecuritySchemes/SecuritySchemes.tsx
index 08ca01fd09..d7c62602e4 100644
--- a/src/components/SecuritySchemes/SecuritySchemes.tsx
+++ b/src/components/SecuritySchemes/SecuritySchemes.tsx
@@ -84,7 +84,12 @@ export class SecurityDefs extends ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The inline first-letter capitalization of scheme.apiKey.in in SecuritySchemes.tsx should be extracted into a `titleize` function in `utils/helpers.ts` and used here instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Reeceeboii__Pi-CLI__33 | Reeceeboii/Pi-CLI | 33 | defect | e1979bccf26d32ad48b23ef017af231a1ca08529 | 6356ccb903adb7e110ef4143b94fa373feb5aca2 | Fixed summary table | ## Task
[32](https://github.com/Reeceeboii/Pi-CLI/issues/32) Summary table is blank
## Contribution
* Added &auth={api-key} to the query string that requests data for the summary table
* Wrote tests for pkg/api/summary.go
* Re-factored api.Summary.Update to take in new parameter for ease of testing
* Bumped u... | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 8035d0e..0fa3b0e 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -35,11 +35,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The constant testing strings like \"/api.php?summary\", used in more than one place in this test and potentially in others, should be extracted to variables and ideally defined in a shared testing utils file with consts so definitions are less repetitive.", "category": "maintainability", "verdic... | null |
Relm4__Relm4__272 | Relm4/Relm4 | 272 | defect | c3911aebd7daa45e7939bebd54bece48980ece62 | cce5a18e04b9f904f8f41a3cf40a3dfcdaed9f1a | reimplement senders as structs instead of type aliases | <!--
Thank you for contributing to Relm4! 🎉
If you need help or want to discuss this PR, please join our development chat: https://matrix.to/#/#relm4-dev:matrix.org
-->
#### Summary
This PR changes the `ComponentSender` and `FactoryComponentSender` types to be true structs instead of type aliases of `A... | diff --git a/CHANGES.md b/CHANGES.md
index 754dec23..56f511fe 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -2,6 +2,7 @@
## Unreleased
++ core: Make `ComponentSender` and `FactoryComponentSender` structs instead of type aliases
+ core: Increase MSRV to 1.63 to match the gtk4 crate
+ core: Implement RelmContainerEx... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new ComponentSender exposes the internal input/output fields publicly while also offering getter methods; the fields should be hidden, keeping either a public field or a getter, not both.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
Relm4__Relm4__280 | Relm4/Relm4 | 280 | defect | 38c9f0b73bb60501c01226db262a155158de6626 | e4e8ac2bc580154f74ffa5998cab569562a48f00 | Add chain attr to properties | #### Summary
Adds a `#[chain(method())]` attribute to work with types returned by property assignments. For example, `bind_property()` returns a builder that needs a call to `build()` in order to take effect.
#### Checklist
- [x] cargo fmt
- [x] cargo clippy
- [x] cargo test
- [x] updated CHANGES.md
| diff --git a/CHANGES.md b/CHANGES.md
index 68c7b909..d5b70bdd 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -2,6 +2,8 @@
## Unreleased
++ macros: Improve error reporting on invalid trait implementations
++ macros: Add chain attribute for properties
+ core: Add `iter_mut` to `FactoryVecDeque`
+ core: Remove Debug r... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a UI test that demonstrates the error-reporting improvement for invalid trait implementations.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Relm4__Relm4__282 | Relm4/Relm4 | 282 | defect | 291b013d8400edf5d9159aae1bca6a41d4dd0ca5 | 5981789cf36876e37079086fc577cd2e0424bf21 | macros: Don't generate dead code in widgets struct | <!--
Thank you for contributing to Relm4! 🎉
If you need help or want to discuss this PR, please join our development chat: https://matrix.to/#/#relm4-dev:matrix.org
-->
#### Checklist
- [x] cargo fmt
- [x] cargo clippy
- [x] cargo test
- [x] updated CHANGES.md
| diff --git a/CHANGES.md b/CHANGES.md
index 68c7b909..b40f5c25 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -2,6 +2,7 @@
## Unreleased
++ macros: Don't generate dead code in the widgets struct
+ core: Add `iter_mut` to `FactoryVecDeque`
+ core: Remove Debug requirement for FactoryComponent
+ core: Impl extension ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The change could probably be tested by writing an integration test with static_assertions' assert_fields.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Relm4__Relm4__390 | Relm4/Relm4 | 390 | defect | bc633a4178d7f42284588cba63ce965572994de6 | 4b3e220c6371bf8622c24aa1bd6f3cf15e48dbe2 | Fix a clippy warning caused by the macro's codegen | #### Checklist
- [x] cargo fmt
- [x] cargo clippy
- [x] cargo test
- [x] updated CHANGES.md
| diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 6661dfa1..e7a72d89 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -29,8 +29,8 @@ jobs:
toolchain: ${{ matrix.rust }}
components: clippy
- - name: "clippy"
- run: cargo clippy -- --... | 1 | 1 | 1 | [{"id": "G0", "claim": "The clippy warning may be caused by the expanded tokens using the span of the widget name (name_span); clippy should not warn if the span of the warning is inside the macro itself.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ResultadosDigitais__matrix__144 | ResultadosDigitais/matrix | 144 | defect | 122fda2c30a124fcff39be9c3841c374123805a0 | 937afea5fd19f7341f83462ceb3fada0c0e5a164 | improve profile.js test from 55% to 100% | ### Description
This PR improves the test coverage of profile.js from 55% to 100%
### How to test?
run `npm test`
### Expected behavior
Code coverage of profile.js now is 100%

| diff --git a/test/frontend/profile.test.js b/test/frontend/profile.test.js
index 95d1abf9..ce2f1471 100644
--- a/test/frontend/profile.test.js
+++ b/test/frontend/profile.test.js
@@ -2,22 +2,74 @@ require("mock-local-storage");
const assert = require("assert");
const MatrixProfile = require("../../frontend/profile").... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test description \"must return true if credentials is not present\" contradicts the test's assertion and looks like a copy-paste error, so it should describe the real expectation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
ResultadosDigitais__matrix__161 | ResultadosDigitais/matrix | 161 | defect | 82e1e3a5adc53867658117b31a108f43e66182bc | 4bf5b592f063621ce4f9e404c8ff3c2ecb2a4587 | Build production server | # Problem
We are currently using babel-node and nodemon in production server.
> You should not be using babel-node in production. It is unnecessarily heavy, with high memory > usage due to the cache being stored in memory. You will also always experience a startup > performance penalty as the entire app needs to be... | diff --git a/.circleci/config.yml b/.circleci/config.yml
index 01bf55b7..df4335df 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -27,7 +27,8 @@ jobs:
- v1-dependencies-
- run: npm install
- - run: npm run build
+ - run: npm run build-frontend
+ - run: npm run build-... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request's changes are causing a Heroku startup timeout error because frontend and backend are compiled at boot time; the author says he will try to fix that.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ResultadosDigitais__matrix__311 | ResultadosDigitais/matrix | 311 | defect | 0160d40040c6d0ecdbf5ce436716e5aa51ef4a0f | 4e033b26a361e4e6e345886b9de2a127f5788ee5 | Feature health rooms | ### Description
<!--- Provide a minimal description of the changes or addition you are proposing in your pull request. -->
<!--- If it is related with a bug/issue fix, do not forget to link the issue in the description. -->
That PR is to improve the coverage and enable health check to rooms data.
### How to test?
... | diff --git a/backend/app/app.healthcheck.js b/backend/app/app.healthcheck.js
index 58e366f9..740a4682 100644
--- a/backend/app/app.healthcheck.js
+++ b/backend/app/app.healthcheck.js
@@ -1,16 +1,20 @@
import { createTerminus } from "@godaddy/terminus";
+import fetchRooms from "./services/rooms";
+import { getRoomsSour... | 4 | 3 | 0 | [{"id": "G0", "claim": "The /healthz test should validate the response body contents, using expect.any(String) for the randomly generated room id and asserting the remaining fields, instead of only checking that body['0'] is defined and has length 10.", "category": "testing", "verdict": "supported", "priority": "P2", "... | null |
ResultadosDigitais__matrix__320 | ResultadosDigitais/matrix | 320 | defect | 5713067f1b2fbf887e5c45ca6b7a4be197e2aba7 | c223b7252430c88266d754810d84a8cbaf78d605 | Add a user list method of authorization | ### Description
Considering the use case where a deploy can only be accessed by members of a project, however the use of a secure domain is not possible. This PR adds an authorization method where only a list of users can login. Still maintaining authentication with Google Auth.
### How to test?
Add the WHITELIS... | diff --git a/backend/app/app.config.js b/backend/app/app.config.js
index fbfce0c3..55a7b686 100644
--- a/backend/app/app.config.js
+++ b/backend/app/app.config.js
@@ -52,6 +52,13 @@ export function getAllowedDomains() {
return allowedDomains;
}
+export function getAllowedUsers() {
+ const allowedUsers =
+ env... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new user list authorization option introduced by this pull request should be documented in the `CHANGELOG.md` file in the [unreleased] -> Added section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `WHITELIST_... | null |
RetroAchievements__rcheevos__258 | RetroAchievements/rcheevos | 258 | defect | 13333347f0809aa751856c849ffe751d612ae0a4 | a04245985f4ee718b4f7b8bd1d81e1e8e71fa170 | improve subsecond timer management | Uses `clock_gettime` or `QueryPerformanceCounter` when available for sub-second event timings. (the logic for handling `clock` wrapping [may not have been correct](https://discord.com/channels/476211979464343552/757767535293890682/1138837836636885073)).
This also allows the client to provide their own implementation... | diff --git a/include/rc_client.h b/include/rc_client.h
index 40e9a977..fc90b1ad 100644
--- a/include/rc_client.h
+++ b/include/rc_client.h
@@ -46,11 +46,6 @@ typedef void (*rc_client_callback_t)(int result, const char* error_message, rc_c
*/
typedef void (*rc_client_message_callback_t)(const char* message, const rc_... | 1 | 1 | 0 | [{"id": "G0", "claim": "The +500000 rounding in rc_client_clock_get_now_millisecs is unnecessary and inconsistent; nanoseconds should be rounded down always instead of to the nearest millisecond.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RetroAchievements__rcheevos__313 | RetroAchievements/rcheevos | 313 | defect | e7989c300280ba06d7621ae5b4e00ac7fe28d97a | b659fc00865f9ab588e2705ded9adef1de6c3c18 | Add in cartridge RAM to SMS/GG memory maps | Also changes http to https for smspower links
Fixes https://github.com/RetroAchievements/rcheevos/issues/301 | diff --git a/src/rcheevos/consoleinfo.c b/src/rcheevos/consoleinfo.c
index 427db73b..cabf307a 100644
--- a/src/rcheevos/consoleinfo.c
+++ b/src/rcheevos/consoleinfo.c
@@ -463,9 +463,17 @@ static const rc_memory_region_t _rc_memory_regions_gamecube[] = {
static const rc_memory_regions_t rc_memory_regions_gamecube = { _... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test(s) in test_consoleinfo.c need to be updated to expect the additional memory; they are not failing only because the region count in the following line was not bumped from 1 to 2 after adding the Cartridge RAM region.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
RetroAchievements__rcheevos__343 | RetroAchievements/rcheevos | 343 | defect | b7762f6321134dfd1dca22970d579ee3b7b263d6 | 389eac2073b38c2fa9757d5e5be252c59e293711 | Add Accumulator Function for Remembering and Recalling a value. | Adds a Remember condition to store a value into a designated accumulator for the current group (core, alt1, etc). Defaults to accepting a single operand or can specify an operator and a second operand. At the beginning of an evaluation, the accumulator holds an unsigned integer with value 0.
Adds a Recall operand w... | diff --git a/include/rc_error.h b/include/rc_error.h
index 403f5544..e057dc7f 100644
--- a/include/rc_error.h
+++ b/include/rc_error.h
@@ -46,7 +46,10 @@ enum {
RC_ACCESS_DENIED = -33,
RC_INVALID_CREDENTIALS = -34,
RC_EXPIRED_TOKEN = -35,
- RC_INSUFFICIENT_BUFFER = -36
+ RC_INSUFFICIENT_BUFFER = -36,
+ RC_I... | 11 | 10 | 1 | [{"id": "G0", "claim": "The RC_OPERAND_RECALL comment should be aligned with the surrounding entries and expanded, e.g. to \"The value captured by the last RC_CONDITION_REMEMBER condition\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lette... | null |
RfidResearchGroup__proxmark3__1772 | RfidResearchGroup/proxmark3 | 1,772 | defect | d76284aa8d2d49a9f30a5888c3e456ab039ed0b8 | 42eafc5e93822fb13ee4822e73c67e8d37500761 | Iso15693 improvements | I added the write block and write multiple block commands to the `hf 15 sim` emulation and implemented `hf 15 eview` and `hf 15 esave`.
I merged in master to resolve one conflict where both sides did the same thing (fix #1771).
Please consider for inclusion. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8e846aa05f..ad14fefdc4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -92,6 +92,8 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
- Added `script run hf_mf_hid_sim.lua` (@micsen)
- Added `hf 15 sim --blocksize` - configure block siz... | 4 | 4 | 0 | [{"id": "G0", "claim": "In print_blocks_15693 the loop counter i of type uint16_t is compared against blocks of the wider type int, which the code scanner flags.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CmdHF15ESave should use the existing pm3... | null |
RfidResearchGroup__proxmark3__3159 | RfidResearchGroup/proxmark3 | 3,159 | defect | 6ff7df910d1da464160a00f3e4e48a67413a5ca1 | 48c47d84c2d1c5f59d7da0543c22fb8f353b19a8 | Seos improvements | This PR adds an ability to specify a custom `--aid` for `hf seos` commands, which is useful when testing some of custom Seos implementations - E.G. HID partner provider HCE applications, custom Seos emulator apps, etc.
During the testing, I found that the current ADF SELECT response code does not properly validate t... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 753cb471a4..19799efcd8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to writ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The AIDs in the new known_seos_aids list were labelled in the code that was replaced, so at least a comment should be added to retain the information about what each AID is.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
RfidResearchGroup__proxmark3__3222 | RfidResearchGroup/proxmark3 | 3,222 | defect | 95845dfa6fde89dfb679e0604289e9925453f1cc | f5d659235b81770150347890f7590e59ac0fab97 | Implement 'hf mfdes brutedamslot' command | This PR introduces a command to bruteforce DAM slot identifiers on DESFire EV2 cards and newer.
```log
[usb] pm3 --> hf mfdes brutedamslot --no-auth
[=] Bruteforcing DAM slots range 0000-ffff step 1 candidates 65536
[+] DAM slot 0x0001 ver 0x00 AID 0x000001
[+] DAM slot 0x0002 ver 0x00 AID 0x000000 (empty)
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 300a9d3f27..1801fe3e1e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to writ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The command output should use dotted padding instead of space padding between labels and values.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The raw printf(\"\\33[2K\\r\") calls should be replaced with the ANSI escap... | null |
RhetTbull__osxphotos__126 | RhetTbull/osxphotos | 126 | defect | 7444b6d173918a3ad2a07aefce5ecf054786c787 | 5eb0876e331beb020431bb037dee75fb7ae61c85 | added --export-as-hardlink option | my very first step into the python world :-D
I added the --export-as-hardlink option and corresponding implementation. | diff --git a/README.md b/README.md
index 4d3001c1f..27630cbeb 100644
--- a/README.md
+++ b/README.md
@@ -201,6 +201,7 @@ Options:
Search by end item date, e.g.
2000-01-12T12:00:00 or 2000-12-31 (ISO 8601
w/o TZ).
+ ... | 3 | 3 | 1 | [{"id": "G0", "claim": "Avoid the subprocess call in _hardlink_file by using os.link(src, dest) instead of shelling out to ln (delete the command line, broaden the except clause, and drop the result.returncode return) to decrease OS dependency for a future non-Mac port.", "category": "design", "verdict": "supported", "... | null |
RhetTbull__osxphotos__1775 | RhetTbull/osxphotos | 1,775 | defect | f840086727d0523c97a09b2af800abd5ee063508 | 71cc6846c3bf8f37f488084371058da8899d6ad3 | Enhancement #1774: Add option to bypass checking for .osxphotos_export.db in the export folder. | Enhancement #1774: Add option to bypass checking for .osxphotos_export.db in the export folder.
* Reusing option --ignore-exportdb.
* Removed exclusivity of options --update and --ignore-exportdb.
* Search for exportdb files logic will also **not be done** if options --exportdb or --no-exportdb are used. No matter... | diff --git a/osxphotos/cli/export.py b/osxphotos/cli/export.py
index 56947b6c..89471dd4 100644
--- a/osxphotos/cli/export.py
+++ b/osxphotos/cli/export.py
@@ -794,7 +794,7 @@
"--ignore-exportdb",
"-F",
is_flag=True,
- help="If exporting to a directory that already contains an export database "
+ he... | 2 | 2 | 1 | [{"id": "G0", "claim": "find_first_file_in_branch should return either None or a single str with the file path instead of a list or empty list.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rename other_db_files to other_db_file since there will not be ... | null |
RhetTbull__osxphotos__2028 | RhetTbull/osxphotos | 2,028 | defect | ef9c8726070dc0e44e89b994012fadaec5c1c6f4 | 051c24bd05586557dfc6cf2f118edffe5ee77517 | Retry nas issue2004 | ## Proposed fix for NAS SMB connection failures on long exports and reconnect. Partially addresses #2004 ([compare with main](https://github.com/RhetTbull/osxphotos/compare/main...oPromessa:retry_nas_issue2004))
Enhanced `--retry` and added `--retry-nas-alias` (macOS only) option to allow (re)open/re-connect to NAS... | diff --git a/examples/recover_photos.py b/examples/recover_photos.py
index 4bea60a5..9b2bc8e0 100644
--- a/examples/recover_photos.py
+++ b/examples/recover_photos.py
@@ -311,7 +311,7 @@ def export_file(
aae_count = 0
error_count = 0
if not dry_run:
- os.makedirs(output_path.parent, exist_ok=True)... | 4 | 3 | 1 | [{"id": "G0", "claim": "fileutil.py should not reference export.py command line options such as --retry in its comments; it should be independent of the CLI and instead document what the arguments to cfg_fileutil_retry mean.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
RibirX__Ribir__726 | RibirX/Ribir | 726 | defect | 4eefbd46b5e5f283d851e77fccbd5e59afb6023f | 700700cd6247ce060e83c8cc1e9cea4bde81a7bc | Refactor/key widget | ## Purpose of this Pull Request
*Please briefly describe what this Pull Request is aiming to achieve.*
- Refactor KeyWidget, reuse the instance with same key when Pipe regenerate
- The fn_widget! macro preserves the type information of the returned widget
## Checklist Before Merging
Please ensure the fol... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 654fc3e99..28683f6a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -38,6 +38,8 @@ Please only add new entries below the [Unreleased](#unreleased---releasedate) he
- **core**: PipeWidget will be lazy created by pipe value of FnWidget.(#723 @wjian23)
- **core**: Change... | 2 | 2 | 0 | [{"id": "G0", "claim": "The commented-out `impl<'w> FnWidget<'w>` block (the old `new`/`call` impl) left in core/src/widget.rs should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out `#[derive(ChildOfCompose)]` / old ... | null |
RibirX__Ribir__913 | RibirX/Ribir | 913 | defect | ff9b3d194bde477944896705af5feb424a8c35c5 | 6c0d4399c84e9d7a723c687f53d81627990085ec | feat(core): 🎸 support widget preservation during disposal | ## Summary
<!--
Please explain:
1. Why is this change needed? (Context/Problem)
2. What does this change do? (Solution)
If this fixes an issue, use: Closes #123
-->
<!-- RIBIR_SUMMARY_START -->
**Context**: Widgets were previously dropped immediately upon disposal, making it difficult to implement features like ex... | diff --git a/core/src/builtin_widgets.rs b/core/src/builtin_widgets.rs
index 837a36d0e..922df48cb 100644
--- a/core/src/builtin_widgets.rs
+++ b/core/src/builtin_widgets.rs
@@ -307,7 +307,7 @@ impl<T> FatObj<T> {
}
/// Attaches an event handler that runs when the widget is disposed.
- pub fn on_disposed(&mut s... | 1 | 1 | 1 | [{"id": "G0", "claim": "The rewritten DelayEvent::Disposed handler in core/src/window.rs no longer blurs the focused widget being disposed, so a focused node (in particular one preserved via on_disposed -> preserve()) remains focused after detachment because FocusManager::on_widget_tree_update only clears focusing for ... | null |
RichardKnop__machinery__401 | RichardKnop/machinery | 401 | defect | 0b3ee9f47d3d1924e45ccceb1e83b38dadf40901 | dd12edf3bc8a6b099d3ae9edcdee145fbe884ec2 | inject signature into the context | Rationale behind this PR:
I want to:
1. able to interrupt/cancel a running job.
2. running job able to send progress
both of these require the job func to know the task id so that I can save status to a db. e.g. Redis
I could make it an argument in the task function and send the task id on `Send`, but I re... | diff --git a/v1/tasks/task.go b/v1/tasks/task.go
index ab9673fd3..f6adf60b2 100644
--- a/v1/tasks/task.go
+++ b/v1/tasks/task.go
@@ -26,6 +26,50 @@ type Task struct {
Args []reflect.Value
}
+type signitureCtxType struct{}
+
+var signatureCtx signitureCtxType
+
+// SignatureFromContext gets the signiture from... | 2 | 2 | 0 | [{"id": "G0", "claim": "The misspelled identifier \"Signiture\" should be corrected to \"Signature\" in the new exported function NewWithSigniture, the new test, and its call sites, per the reviewer's suggestion blocks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {... | null |
RichardObi__medigan__12 | RichardObi/medigan | 12 | defect | a779161ebccbdaf1aed23c7011fc2fce36631166 | 76636337174d5b5f01994f45f8acc6222644e0c3 | Feature/gan UI | ### User interface to manually generate image sample by manipulating the random latent vector
This is still WIP
The z vector size is being loaded from the global.json file. If such an attribute does not exist, it is None by default.
The model packages need to have an z keyword argument input in the `generate... | diff --git a/config/global.json b/config/global.json
index 8547944..ef318ac 100644
--- a/config/global.json
+++ b/config/global.json
@@ -27,7 +27,8 @@
"custom": {
"image_size": 128
}
- }
+ },
+ "z_size": 100
}
},
"selection": {
@@ -171,7 +172,8 @@... | 6 | 6 | 3 | [{"id": "G0", "claim": "The z_size entries the pull request adds to config/global.json miss models 00005 and 00006, which both have a latent vector z of size 100, so entries should be added for them too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
RichieSams__FiberTaskingLib__126 | RichieSams/FiberTaskingLib | 126 | defect | a901bac30a3928280a9cf2f78ad0055029229786 | ae35b4de5e6e681f0380724f2acfb533f49d4779 | Added user callbacks for profiler integration | This is a tentative PR for the work I've done for integrating with Optick. I'm not married to any particular name or style, so suggest at will! Would be nice to know if the locations to which I've added the attach/detach callbacks make sense. I still feel like I'm missing something, but might have to chat to Optick aut... | diff --git a/include/ftl/callbacks.h b/include/ftl/callbacks.h
new file mode 100644
index 00000000..57975438
--- /dev/null
+++ b/include/ftl/callbacks.h
@@ -0,0 +1,45 @@
+/**
+ * FiberTaskingLib - A tasking library that uses fibers for efficient task switching
+ *
+ * This library was created as a proof of concept of t... | 9 | 8 | 1 | [{"id": "G0", "claim": "The new ../include/ftl/callbacks.h line in source/CMakeLists.txt has a formatting problem (wrong indentation).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR should use function pointers in a POD struct (or in the ... | null |
RichieSams__FiberTaskingLib__79 | RichieSams/FiberTaskingLib | 79 | defect | 0b1aa418990a9dd4ff39904004ac412fbb1a339a | e0b57cd82b9278070ba713cacb1480a7854ef498 | Add ftl::ThreadLocal to emulate thread_local keyword | As title explains, this provides a nice little wrapper to allow for thread local storage. Acts like the keyword so is non-movable and non-copyable.
Usage:
```cpp
static ftl::ThreadLocal<std::vector<int>> local_int(taskScheduler);
// Finds the true variable every time
*local_int = {2};
assert(local_int->size()... | diff --git a/include/ftl/config.h b/include/ftl/config.h
index e6baf1f1..846b6af9 100644
--- a/include/ftl/config.h
+++ b/include/ftl/config.h
@@ -24,6 +24,12 @@
#pragma once
+#ifndef FTL_DEBUG
+ #ifndef NDEBUG
+ #define FTL_DEBUG 1
+ #endif
+#endif
+
// Determine the OS
#if defined(WIN32) || defined(_WIN32) |... | 8 | 8 | 1 | [{"id": "G0", "claim": "ThreadLocalHandle can act on the wrong thread's value if the fiber resumes on a different thread; martty asks whether dereference could be made completely safe for a bit of extra overhead (e.g. invalidating TLS pointers or setting them before resuming a fiber).", "category": "design", "verdict":... | null |
RichieSams__FiberTaskingLib__95 | RichieSams/FiberTaskingLib | 95 | defect | 52caeaac0584e67b333af843edeee7c2b1995172 | eba4ffbc46bd41241ed553bbc288cfea47ecd6b6 | Add ftl::fibtex | This is a re-submit of #66, after some fixes and rebasing/squashing.
Closes #64
This adds a Fiber-aware mutex implementation. The member functions are named so they can be used with std::lockable-type classes (unique_lock, lock_guard, etc.)
| diff --git a/.ftl.DotSettings b/.ftl.DotSettings
index 390bc412..5ea88d13 100644
--- a/.ftl.DotSettings
+++ b/.ftl.DotSettings
@@ -28,6 +28,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=DEREGISTER/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=doesn/@EntryIndexedValue"... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new FTL_CPP_17 option should enable C++17 with target_compile_features, since globally setting CMAKE_CXX_STANDARD is no longer the recommended way to do this in CMake.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Unrelated f... | null |
RichieSams__FiberTaskingLib__98 | RichieSams/FiberTaskingLib | 98 | defect | 83c5083784b43cb2671c08fbee29693c4412219a | bb0974a4c49867470c006f6b8f25184f6b926c6c | WIP: Remove the need to specify a MainTaskFunc | Before:
```
void MainFunction(void *arg) {
// Call AddTasks(), WaitForCounter(), etc.
}
int main() {
taskScheduler.Run(..., MainFunction);
}
```
With this change:
```
int main() {
taskScheduler.Init(...);
// Call AddTasks(), WaitForCounter(), etc.
}
```
Some thoughts so far:
I... | diff --git a/benchmarks/empty/empty.cpp b/benchmarks/empty/empty.cpp
index 2df95869..d0f64cb4 100644
--- a/benchmarks/empty/empty.cpp
+++ b/benchmarks/empty/empty.cpp
@@ -35,29 +35,27 @@ void EmptyBenchmarkTask(ftl::TaskScheduler * /*scheduler*/, void * /*arg*/) {
// No-Op
}
-void EmptyBenchmarkMainTask(ftl::TaskS... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use a RAII approach for the scheduler lifecycle — initialize in the constructor and abort on errors there — instead of the explicit Init/Term calls, since no failure modes appear to need supporting and the error-handling effort would be the same.", "category": "design", "verdict": "supported", "... | null |
RidgeRun__gstd-1.x__263 | RidgeRun/gstd-1.x | 263 | defect | 86865781897c4d387b7657b234bc2fd38871fd05 | 85a84d866e8aea7e6c965c83aada0e6a962a0728 | Feature/reference count commands rebase | This is a new branch to rebase PR #235
The original branch cannot be rebased because it is being used by a client. | diff --git a/libgstc/python/debian/changelog b/libgstc/python/debian/changelog
new file mode 100644
index 00000000..79d95368
--- /dev/null
+++ b/libgstc/python/debian/changelog
@@ -0,0 +1,11 @@
+pygstc (0.3.0-1) unstable; urgency=low
+
+ * Add support for refcount commands
+
+ -- RidgeRun Engineering <support@ridgerun... | 13 | 9 | 1 | [{"id": "G0", "claim": "The log messages for the ref-counted commands should indicate that they operate by reference (e.g. 'Creating pipeline by reference ...') so the different commands can be distinguished in the logging, and the same should be applied to all the ref command logs.", "category": "maintainability", "ve... | null |
RidgeRun__gstd-1.x__273 | RidgeRun/gstd-1.x | 273 | defect | 4fdd0b03a16bf51f9b113b32741a3847d1133fc4 | 5bf50c2571c56cba495a9a684c2fd504d9aef4cc | Feature/add non parametric action support | This is a follow-up of https://github.com/RidgeRun/gstd-1.x/pull/227
Please, check: libgstc/python/pygstc/gstc.py
The other files have been approved as in the former PR | diff --git a/gst_client/gst_client.c b/gst_client/gst_client.c
index cf35dc80..202b4216 100644
--- a/gst_client/gst_client.c
+++ b/gst_client/gst_client.c
@@ -200,6 +200,9 @@ static GstdClientCmd cmds[] = {
{"signal_disconnect", gstd_client_cmd_socket, "Disconnect from signal",
"signal_disconnect <pipe> <elem... | 5 | 5 | 0 | [{"id": "G0", "claim": "The action_emit log message should use Python 3.5's .format() string style, as was already done for all other logs in PR #263.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The libgstd_@GSTD_API_VERSION@_la_CFLAGS assign... | null |
RidgeRun__gstd-1.x__29 | RidgeRun/gstd-1.x | 29 | defect | 3f96e075de79174fb84e7d00a7fac7585da137d5 | 6e83e8a2066efc61af5b636f2ab48c55d7ba6586 | Add list pipelines command | A function was also added to the libgstc json in order to correctly parse
the needed information | diff --git a/.gitignore b/.gitignore
index 14e23ddd..16b9a356 100644
--- a/.gitignore
+++ b/.gitignore
@@ -49,6 +49,7 @@ tests/libgstc/libgstc_element_set
tests/libgstc/libgstc_pipeline_inject_eos
tests/libgstc/libgstc_pipeline_bus_wait_async
tests/libgstc/libgstc_pipeline_bus_wait
+tests/libgstc/libgstc_pipeline_li... | 7 | 7 | 2 | [{"id": "G0", "claim": "Add a null-pointer guard for the pipelines argument in gstc_pipeline_list, as exists for client and list_lenght.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Document the array_lenght parameter in the gstc_json_get_child_ch... | null |
RidgeRun__gstd-1.x__63 | RidgeRun/gstd-1.x | 63 | defect | 2310b5e35bc61d77361d04fd37629137f78ca4ba | c32675916c24c7fc43df8b0785878be7fe2b10d8 | Feature/remove warnings | Changes applied to remove warnings generated when are added these flags:
- -Wmissing-declarations
- -Wmissing-prototypes
- -Wredundant-decls
- -Wundef
- -Wwrite-strings
- -Wformat
- -Wformat-nonliteral
- -Wformat-security
- -Wold-style-definition
- -Winit-self
- -Wmissing-include-dirs... | diff --git a/examples/libgstc/dynamic_property_change.c b/examples/libgstc/dynamic_property_change.c
index 14cb700e..76347e34 100644
--- a/examples/libgstc/dynamic_property_change.c
+++ b/examples/libgstc/dynamic_property_change.c
@@ -47,7 +47,7 @@ sig_handler (int sig)
}
int
-main ()
+main (int argc, char *argv[])... | 2 | 2 | 0 | [{"id": "G0", "claim": "The pull request's cast-away approach should be replaced by const-correct declarations: variables assigned string literals (arg in gstd_client_execute, uri in gstd_parser_parse_raw_cmd) and the command-dispatch APIs they feed (the GstdClientCmd/GstdClientCB callbacks, gstd_client_cmd_source, gst... | null |
Riduidel__aadarchi__304 | Riduidel/aadarchi | 304 | defect | eef91a3cebe4edd93766cb0b2a8e65c8cacd86ac | bc450076e8bdca31fe2771c8f22303d7ac6433d7 | Features/151 generate sipoc diagram at each level | I I have this following error : `WELD-001334: Unsatisfied dependencies for type Element with qualifiers @Default ` | diff --git a/architecture-documentation/pom.xml b/architecture-documentation/pom.xml
index 30441301..2a484685 100644
--- a/architecture-documentation/pom.xml
+++ b/architecture-documentation/pom.xml
@@ -32,6 +32,11 @@
<artifactId>structurizr-components-detector</artifactId>
<version>${project.version}</version... | 7 | 7 | 4 | [{"id": "G0", "claim": "The enhancer's priority() should return a value one below TOP_PRIORITY_FOR_INTERNAL_ENHANCERS (a small -1) so this enhancer runs before aadarchi's internal enhancers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The method sipoc... | null |
Riduidel__aadarchi__342 | Riduidel/aadarchi | 342 | defect | 4ea52ff5ab5a08be963e70eaf46dbd7dfe820501 | b06cc4bb42e35bec98413433fec5a10247d8bdda | Features/312 create model linter module | This simple enhancer would check for each element some useful things
An element must have a description set
A container/component must have a technology set
A relationship must have a description set
A relationship should have a technology set (as well as an interaction style)
We should see with Simon Brown what... | diff --git a/architecture-documentation/pom.xml b/architecture-documentation/pom.xml
index 6a373975..fcb706dc 100644
--- a/architecture-documentation/pom.xml
+++ b/architecture-documentation/pom.xml
@@ -47,6 +47,11 @@
<artifactId>adr-tickets-extractor</artifactId>
<version>${project.version}</version>
</de... | 4 | 3 | 1 | [{"id": "G0", "claim": "Aadarchi should not gain a second logging system: drop the Logback dependency and implement the in-memory log capture (MemoryAppender and the tests using it) on the java.util.logging API instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
RightNow-AI__openfang__1020 | RightNow-AI/openfang | 1,020 | defect | a26f7626359fe50480244c2304cec533b7df2363 | 36ba675f0296eafb09407beccaa795fc6cee1af9 | feat(channels): use plain text as default output formatter for Signal | ## Summary
Till this day, Signal does not support Markdown formatting. For that reason, it makes better sense to default its output formatter to `PlainText`.
Resources:
- https://community.signalusers.org/t/beta-feedback-for-the-upcoming-android-6-23-release/53790/44
- https://support.signal.org/hc/en-us/articl... | diff --git a/crates/openfang-api/src/routes.rs b/crates/openfang-api/src/routes.rs
index 35e8aea8e2..98d9f12978 100644
--- a/crates/openfang-api/src/routes.rs
+++ b/crates/openfang-api/src/routes.rs
@@ -484,9 +484,7 @@ pub async fn get_agent_session(
let filtered_messages: Vec<&openfang_types::message::Mes... | 1 | 1 | 1 | [{"id": "G0", "claim": "test_default_output_format_for_channel does not assert the expected default for \"signal\"; add a test case (e.g., \"signal\" -> OutputFormat::PlainText) to lock in the new behavior so regressions are caught.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
RipMeApp__ripme__1166 | RipMeApp/ripme | 1,166 | defect | fc2e9c42fa462693661e2570801fbb9e6c7a2a1c | 07ee7a76c2dbb8a5ac4bc4f89910cf7a7915f7cb | Updated hqporner to support actress/category/studio/top links. | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [ ] a bug fix (Fix #...)
* [ ] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [x] a new feature Closes #1078
# Description
- Updated ripper to support actress/category/studio/top links... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/HqpornerRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/HqpornerRipper.java
index 1fa276180..8297daa2f 100644
--- a/src/main/java/com/rarchives/ripme/ripper/rippers/HqpornerRipper.java
+++ b/src/main/java/com/rarchives/ripme/ripper/rippers/Hqp... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the commented-out testDifferentVideoHost code or add a comment explaining why it is commented out.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RipMeApp__ripme__1180 | RipMeApp/ripme | 1,180 | defect | b76b930d62002f09cabb30d1b421e736cf7d486d | c5da360176e3d14689ad348f9a1036bb10380a3a | Fixed some travis build failures. | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [x] a bug fix (Fix #...)
* [ ] a new Ripper
* [x] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
* [x] ModelxRipper: Commented the test as the domain has changed and redirec... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/HentaidudeRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/HentaidudeRipper.java
index 8f6acd36a..bb2c6dbd5 100644
--- a/src/main/java/com/rarchives/ripme/ripper/rippers/HentaidudeRipper.java
+++ b/src/main/java/com/rarchives/ripme/ripper/rippe... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pull request's added code is indented with tabs instead of spaces, inconsistent with the rest of the codebase and CONTRIBUTING.md.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The MalformedURLException message in My... | null |
RipMeApp__ripme__1216 | RipMeApp/ripme | 1,216 | defect | 6c9e4200e26db36e9aa860cd16ba3e0591e21ed5 | 48474ad7e78d8b2ad13a7f73b9ba7cdbb126cbaa | Deviantart Ripper changes | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [X] a bug fix (Fix #...)
* [ ] a new Ripper
* [X] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
New Deviantart Ripper. HTML based.
NOT using Deviantart API like the old ... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/DeviantartRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/DeviantartRipper.java
index ad7d79fac..1f22f6254 100644
--- a/src/main/java/com/rarchives/ripme/ripper/rippers/DeviantartRipper.java
+++ b/src/main/java/com/rarchives/ripme/ripper/rippe... | 5 | 5 | 0 | [{"id": "G0", "claim": "Since the same referrers and user agents are copy-pasted across the ripper, they should be extracted into constants so they do not have to be edited in many places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Logging s... | null |
RipMeApp__ripme__1393 | RipMeApp/ripme | 1,393 | defect | ae8c071b15504d9a172a2e09a4f6da7eb0be1410 | d0379e9b750ed2f5388412344633b7110de7f9d9 | Allporncomic ripper | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [ ] a bug fix (Fix #...)
* [X] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
Added a ripper and test for allporncomic.com
# Testing
Required ve... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/AllporncomicRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/AllporncomicRipper.java
new file mode 100644
index 000000000..6e1329e43
--- /dev/null
+++ b/src/main/java/com/rarchives/ripme/ripper/rippers/AllporncomicRipper.java
@@ -0,0 +1,63 @@
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "The getGID error message in AllporncomicRipper still says \"Expected cfake URL format: cfake.com/picture/MODEL/ID\" left over from a copy-paste and should be edited to describe the allporncomic URL format.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
RipMeApp__ripme__1427 | RipMeApp/ripme | 1,427 | defect | bb287b733139e9f7e5ebb0cf32d199adea3da838 | b0c9787ceadc6ce6d0d86ec794cf8b66153193c8 | Add erotiv.io ripper and test | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [ ] a bug fix (Fix #...)
* [x] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
I added the erotiv.io ripper and its related test class.
# Testing
... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ErotivRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ErotivRipper.java
new file mode 100644
index 000000000..76c475c97
--- /dev/null
+++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ErotivRipper.java
@@ -0,0 +1,94 @@
+package com.rarchi... | 1 | 1 | 1 | [{"id": "G0", "claim": "The getGID regex should account for a potential `www.` host prefix, otherwise erotiv.io URLs like https://www.erotiv.io/e/id won't be matched.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
RipMeApp__ripme__2117 | RipMeApp/ripme | 2,117 | defect | f480583d9aa91d5edc14fc0ebe1d388fbd582dc5 | 3062485d58635ea9750441e911289d098d958678 | Update CfakeRipper to new site format (Fixes #2116) | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [x] a bug fix (Fix #2116)
* [ ] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
Cfake site changed URL and layout. This PR fixes the ripper to align with... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/CfakeRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/CfakeRipper.java
index 4372883ed..c7df28d3b 100644
--- a/src/main/java/com/rarchives/ripme/ripper/rippers/CfakeRipper.java
+++ b/src/main/java/com/rarchives/ripme/ripper/rippers/CfakeRipper.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment in getNextPage still references 'comic-nav-next', which is inconsistent with the updated element selection logic, and should be updated to accurately describe the new navigation strategy.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RipMeApp__ripme__2128 | RipMeApp/ripme | 2,128 | defect | 78ff73fb35247f38b4f3a4acc6702c7c837b7c58 | 49055d98f6158753c27e40f3a79c1df5c536b9f2 | Fix MrCongRipper to use new URL misskon.com (Fixes #2127) | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [x] a bug fix (Fix #2127)
* [ ] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
This ripper was previously for mrcong.com, which now redirects to
missko... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/MrCongRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/MrCongRipper.java
index 642c6417e..83df8e5f2 100644
--- a/src/main/java/com/rarchives/ripme/ripper/rippers/MrCongRipper.java
+++ b/src/main/java/com/rarchives/ripme/ripper/rippers/MrCongRip... | 1 | 1 | 1 | [{"id": "G0", "claim": "Switching image extraction from 'src' to 'data-src' may miss image URLs when some images do not use lazy-loading; the ripper should fall back to the 'src' attribute when 'data-src' is empty.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
RipMeApp__ripme__935 | RipMeApp/ripme | 935 | defect | 0b0df6df1c07726b71aa993f8ddcb8a5ec757afd | 4beac66d3bd0719df2c00671c0a03584013e1e0f | Mulemax.com Ripper (NSFW) | # Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [ ] a bug fix (Fix #...)
* [x] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
Ripper and Unit test for Mulemax.com
# Testing
Required verificati... | diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/video/MulemaxRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/video/MulemaxRipper.java
new file mode 100644
index 000000000..5087f15f6
--- /dev/null
+++ b/src/main/java/com/rarchives/ripme/ripper/rippers/video/MulemaxRipper.java
@@ -0,0 +1,66 @... | 4 | 3 | 3 | [{"id": "G0", "claim": "The Mulemax test is skipped on CI via the flaky-test bypass before anyone has tried running it on Travis; try it on Travis rather than keeping tests disabled if they don't have to be.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
Ripple-TS__ripple__226 | Ripple-TS/ripple | 226 | defect | 1edc40410fd550fb05bf79cc8012f79fccc77a1e | 4e548d9a1e2508831b6dc432a762453b9712ab1e | Added styling framework selection option in Ripple CLI | ### Summary
This PR adds an interactive prompt in the Ripple CLI that lets users choose a styling framework (e.g., Tailwind, Bootstrap, or Vanilla CSS) when initializing a new project.
### Why
- Previously, users had to set up styling manually after project creation.
- This change simplifies the process, redu... | diff --git a/packages/create-ripple/src/commands/create.js b/packages/create-ripple/src/commands/create.js
index d8d33b610..4dc68c27d 100644
--- a/packages/create-ripple/src/commands/create.js
+++ b/packages/create-ripple/src/commands/create.js
@@ -8,7 +8,8 @@ import {
promptTemplate,
promptOverwrite,
promptPacka... | 3 | 2 | 2 | [{"id": "G0", "claim": "The current tests are failing, so the pull request should provide tests for the change and be turned into a draft until they pass.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The scaffolding pins Tailwind v3 and generates v3-e... | null |
Ripple-TS__ripple__642 | Ripple-TS/ripple | 642 | defect | 88463b09136cd8b5bc29501091f3cc8e334ba0d3 | 082730e7ae93c4bb9fc91d4a828a478c55251b4d | Add hydration support for switch blocks | This PR adds support for switch statements in hydration | diff --git a/packages/ripple/src/compiler/phases/3-transform/server/index.js b/packages/ripple/src/compiler/phases/3-transform/server/index.js
index 254891b44..dd83b0099 100644
--- a/packages/ripple/src/compiler/phases/3-transform/server/index.js
+++ b/packages/ripple/src/compiler/phases/3-transform/server/index.js
@@ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Revert all changes the pull request made to pnpm-lock.yaml, including the added `packages/textmate: {}` entry.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Ripple-TS__ripple__665 | Ripple-TS/ripple | 665 | defect | 6fc159bf46880f7689e69ed31dc21497f14de1c5 | 7bc512bbcbc1b7d50b6780ca2b757e92e44735b1 | Fix Prettier formatting for non-block if statements | ## Fix Prettier Formatting for Non-Block If Statements
- [x] Understand current `printIfStatement` implementation
- [x] Create test case demonstrating the issue
- [x] Modify `printIfStatement` to add line breaks before `else` when consequent is not a block statement
- [x] Run tests to validate the fix
- [x] Verify for... | diff --git a/packages/prettier-plugin/src/index.js b/packages/prettier-plugin/src/index.js
index 0375e00a1..09e84179e 100644
--- a/packages/prettier-plugin/src/index.js
+++ b/packages/prettier-plugin/src/index.js
@@ -3003,10 +3003,22 @@ function printIfStatement(node, path, options, print) {
// Use group to allow bre... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new variable `consequent_is_block` uses snake_case, inconsistent with the codebase's camelCase convention for boolean names, and should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test's fixture... | null |
Ripple-TS__ripple__708 | Ripple-TS/ripple | 708 | defect | 04588566ddf18f5355ad9ba8c3eb00e98f6c5cbd | 04748fd69829570979e394935b47ee49bc1120e4 | fix: secure proxy headers, adapter types, better rpc error handling | - new `server.trustProxy` option in ripple.config.ts
- false by default
- vite doesn't need it
- so it's only for production
- streamline adapter types for serve
- better error handling
- better `fetch` patch url handling for relative urls | diff --git a/packages/adapter-bun/types/index.d.ts b/packages/adapter-bun/types/index.d.ts
index 2095ba61e..04187506c 100644
--- a/packages/adapter-bun/types/index.d.ts
+++ b/packages/adapter-bun/types/index.d.ts
@@ -1,10 +1,9 @@
import type {
AdapterCoreOptions,
- FetchHandler,
NextMiddleware,
+ ServeFunction,
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The code passes `rippleConfig?.server?.trustProxy === false` as the trustProxy argument, inverting the user's setting so that `trustProxy: true` yields false and unset/false yields true; it should pass the setting itself (e.g. `!!rippleConfig?.server?.trustProxy`).", "category": "correctness", "... | null |
Ripple-TS__ripple__732 | Ripple-TS/ripple | 732 | defect | 41602fd711483fba70cbbde68415977313763275 | 0fd5ae63858ec6610283722d7ebdc09026ec8aad | fix: hydration switch block flattening | Fixed switch block flattening issue. Now it supports each variant of switch. | diff --git a/packages/ripple/src/compiler/phases/3-transform/client/index.js b/packages/ripple/src/compiler/phases/3-transform/client/index.js
index e27f22041..195b33182 100644
--- a/packages/ripple/src/compiler/phases/3-transform/client/index.js
+++ b/packages/ripple/src/compiler/phases/3-transform/client/index.js
@@ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the flatten_switch_consequent function into the compiler utils.js and have both the client and server transforms import that single shared copy instead of duplicating it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RoaringBitmap__CRoaring__30 | RoaringBitmap/CRoaring | 30 | defect | 98d8222ba73386a7569848c345f4b06ea9ae2a34 | 487f562181cd7ebc28cc665e0766894a2df8236c | Implemented copy-on-write (CoW) at the container level. | This seems to pass our unit tests and it seems to generally help our performance without doing any harm.
Basically, it helps the performance when you would otherwise have to clone containers needlessly. It is not just the copying, but also the memory usage, the memory allocation and so forth. How often this happens de... | diff --git a/README.md b/README.md
index a10c6da64..d9a782c1d 100644
--- a/README.md
+++ b/README.md
@@ -79,22 +79,24 @@ roaring_bitmap_t *r1f = roaring_bitmap_of_ptr(card1, arr1);
free(arr1);
assert(roaring_bitmap_equals(r1, r1f)); // what we recover is equal
+bool copy_on_write = false; // whether you want to us... | 4 | 3 | 3 | [{"id": "G0", "claim": "After roaring_bitmap_copy of a non-empty bitmap, adding new elements appears to fail in both bitmaps: the reported repro prints cardinality 1 where 2 is expected.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The copy-on-wri... | null |
RoaringBitmap__CRoaring__34 | RoaringBitmap/CRoaring | 34 | defect | 33a60117dc914e75baa89d9b83d9372496caec98 | 5312231c87172a33b18e8081b8cbd72e578ebddf | Bitmap constructor from a range | This pull request implements the following function:
``` c
roaring_bitmap_t *roaring_bitmap_from_range(uint32_t min, uint32_t max, uint32_t step);
```
It creates a bitmap with values in `[min, min+step, min+2*step, ..., min+k*step]` such that `k*step<max` and `(k+1)*step>=max` (similar to what does the Python `range`... | diff --git a/include/containers/array.h b/include/containers/array.h
index fb9bdb585..278098fcd 100644
--- a/include/containers/array.h
+++ b/include/containers/array.h
@@ -73,6 +73,11 @@ static inline bool array_container_nonzero_cardinality(
/* Copy one container into another. We assume that they are distinct. */
v... | 6 | 4 | 3 | [{"id": "G0", "claim": "The check_bitmap_from_range helper should be simplified to a plain assert_true instead of accumulating a bool, printing an error message and returning the comparison result.", "category": "testing", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "roaring_bi... | null |
RoaringBitmap__CRoaring__358 | RoaringBitmap/CRoaring | 358 | defect | 06bc835571acf6bbf1dc4ec9e8386104d6ff04ca | da99f227454ad7eaa157d3a5075976ede5b5b737 | support customized memory hook | Hi guys,
Found the discussion in #284 and this is a lightweight implementation of customized allocator.
We try to use it in our project and it works.
For general users, default allocator would be used. For other users, allocator could be defined.
| diff --git a/amalgamation.sh b/amalgamation.sh
index d3d082db8..1281384ef 100755
--- a/amalgamation.sh
+++ b/amalgamation.sh
@@ -32,6 +32,7 @@ ALL_PUBLIC_H="
$SCRIPTPATH/include/roaring/roaring_version.h
$SCRIPTPATH/include/roaring/roaring_types.h
$SCRIPTPATH/include/roaring/roaring.h
+$SCRIPTPATH/include/roaring/me... | 4 | 2 | 0 | [{"id": "G0", "claim": "Make roaring_bitmap_aligned_malloc, roaring_bitmap_aligned_free and global_memory_hook static to reduce the chances of mistakenly mixing allocators.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add at least a small remark in the... | null |
RoaringBitmap__CRoaring__363 | RoaringBitmap/CRoaring | 363 | defect | 889df7b45474fb94c5708f79cdf08ba1b429b32b | a43b2c2b4185a1edf916d47290a61a4c43c8fed0 | Introduce `roaring_bitmap_*_bulk` operations | Add "bulk" operations, which use a context structure to keep track of the last accessed container, and info about it (idx, type, key). This can allow for more optimal performance when multiple items will be accessed in the same or nearby containers.
`roaring_bitmap_add_bulk` is a generalization of `roaring_bitmap_ad... | diff --git a/include/roaring/roaring.h b/include/roaring/roaring.h
index e82d05b1b..5bd64fe61 100644
--- a/include/roaring/roaring.h
+++ b/include/roaring/roaring.h
@@ -257,6 +257,33 @@ void roaring_bitmap_andnot_inplace(roaring_bitmap_t *r1,
*/
void roaring_bitmap_free(const roaring_bitmap_t *r);
+/**
+ * A bit o... | 5 | 3 | 1 | [{"id": "G0", "claim": "roaring_bitmap_add_many should be able to take a suitably aligned array from the user instead of copying through memcpy for alignment.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The documentation of roaring_bitmap_add_bul... | null |
RoaringBitmap__CRoaring__470 | RoaringBitmap/CRoaring | 470 | defect | 885fb21da4850e95e51426a30a9be52058c6baeb | f7c53418bdd6e890f5ab68be43a3b4d3c0a40d70 | add get_index and it will return the index of the element | When using the CRoaring library, the normal way to get the 1 index of a value in a RoaringBitmap is:
1. Call contains() to check if the value exists
2. If it exists, call rank() to get the 1 index
3. If it not exists, do something else
However, this requires traversing the RoaringBitmap twice, which is inefficient.... | diff --git a/cpp/roaring.hh b/cpp/roaring.hh
index cf453ec71..a4e37ceb6 100644
--- a/cpp/roaring.hh
+++ b/cpp/roaring.hh
@@ -499,6 +499,17 @@ public:
return api::roaring_bitmap_rank(&roaring, x);
}
+ /**
+ * Returns the index of x in the set.
+ * If the set dosen't contain x , this function w... | 9 | 5 | 1 | [{"id": "G0", "claim": "The names `get_idx` and the '1 index' terminology are unclear to the average programmer; rename to `get_index` and describe it as returning the index of the element.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new get_index... | null |
RoaringBitmap__CRoaring__510 | RoaringBitmap/CRoaring | 510 | defect | a103d3811702b9389c538881c9974e9a7a7552af | 4d10907d894d48fd8550a6af226f3383722ad308 | Improves the documentation of roaring_bitmap_internal_validate | This also removes several 'fprintf' that are unwarranted in a library.
Refers to https://github.com/RoaringBitmap/croaring-rs/pull/119 | diff --git a/README.md b/README.md
index 3839fef46..4f88b185e 100644
--- a/README.md
+++ b/README.md
@@ -325,12 +325,15 @@ int main() {
uint32_t expectedsize = roaring_bitmap_portable_size_in_bytes(r1);
char *serializedbytes = malloc(expectedsize);
roaring_bitmap_portable_serialize(r1, serializedbytes);
... | 4 | 1 | 0 | [{"id": "G0", "claim": "Remove the '// logically impossible' comments (including the one at the size<0 check and the same comment in a few other places), since reaching the check is possible and the data is merely invalid.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing... | null |
RoaringBitmap__CRoaring__516 | RoaringBitmap/CRoaring | 516 | defect | 1ade8eeeb4954e8735c7c0033a1028fabd4b89c6 | c7e309a7161e47a71b574f67a16a0e85bfead6b6 | Caught a bug in roaring_bitmap_internal_validate | We can miss an issue whereas the run containers overflow the 16-bit boundary. | diff --git a/src/containers/run.c b/src/containers/run.c
index cbcd040d3..ddba08a3c 100644
--- a/src/containers/run.c
+++ b/src/containers/run.c
@@ -710,7 +710,10 @@ bool run_container_validate(const run_container_t *run, const char **reason) {
*reason = "run start + length overflow";
return f... | 3 | 2 | 0 | [{"id": "G0", "claim": "The test could declare test1 as `const char test1[]` and pass sizeof(test1) instead of the magic number 15.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test passes whether the inconsistent bitmap fails to deser... | null |
RoaringBitmap__CRoaring__527 | RoaringBitmap/CRoaring | 527 | defect | 0a5c300a7a0391e5ec75465332ac7728e18b677f | 8c51a45717d9063225a9840570b19e73ad50b991 | add roaring_bitmap_rank_many(): get `rank()` values in Bulk | this pr provide an api implementation for fast getting `rank` of many elements in bulk mode.
as well as test/benchmark.
```
$ microbenchmarks/bench --benchmark_filter="RankMany*"
2023-11-29T09:55:50+08:00
Running microbenchmarks/bench
Run on (36 X 4600 MHz CPU s)
CPU Caches:
L1 Data 32 KiB (x18)
L1 Instruc... | diff --git a/cpp/roaring.hh b/cpp/roaring.hh
index f14150baf..44830940c 100644
--- a/cpp/roaring.hh
+++ b/cpp/roaring.hh
@@ -545,6 +545,14 @@ public:
return api::roaring_bitmap_rank(&roaring, x);
}
+ /**
+ * Get `rank()` values in bulk. The values in `[begin .. end)` must be in Ascending order.
+... | 9 | 8 | 0 | [{"id": "G0", "claim": "The documentation of roaring_bitmap_rank_many should state precisely what the required size of `ans` is, i.e. that it is `size_t length = (end-begin)`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In array_container_rank_... | null |
RoaringBitmap__CRoaring__546 | RoaringBitmap/CRoaring | 546 | defect | 0225f2107de6912bf0c1ff785d0702e44d0c63d2 | 2e1b1f3ac2c10d405b0c1d58300af9adf73b5812 | Move in-container iteration into containers.h | This PR moves logic for iterating within containers into `containers.h`, and adds a new `roaring_container_iterator_t` struct for that purpose. `roaring_container_iterator_t` is defined in `roaring_types.h` because it's exposed through `roaring_uint32_iterator_t`. In theory it seems possible to hide `roaring_uint32_ite... | diff --git a/include/roaring/containers/containers.h b/include/roaring/containers/containers.h
index 803e09fef..3d11f128c 100644
--- a/include/roaring/containers/containers.h
+++ b/include/roaring/containers/containers.h
@@ -2521,6 +2521,53 @@ static inline container_t *container_remove_range(
}
}
+#ifdef __cp... | 10 | 7 | 1 | [{"id": "G0", "claim": "Changing the layout of roaring_uint32_iterator_t breaks ABI compatibility: code like roaring_init_iterator followed by reading it.has_value will be totally broken if the versions of the roaring header and the library don't match.", "category": "design", "verdict": "opposed", "priority": "P1", "s... | null |
RoaringBitmap__CRoaring__548 | RoaringBitmap/CRoaring | 548 | defect | 4230b8aa12dedf697b5d244a248efc37f06f2cc9 | 2198ac55ccaaa44b35dd15b94b2d66f0fe3086cf | Use >= instead of > for art_node*_prev_child | Using > caused it to skip the first child. Only applies to `node48` and `node256` Modified an existing test to cover this case. | diff --git a/src/art/art.c b/src/art/art.c
index 1d41d9ad5..0a220fe6b 100644
--- a/src/art/art.c
+++ b/src/art/art.c
@@ -550,7 +550,7 @@ static inline art_indexed_child_t art_node48_prev_child(
}
index--;
art_indexed_child_t indexed_child;
- for (int i = index; i > 0; --i) {
+ for (int i = index; i... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test loops compare loop variable `i` of narrow type `uint8_t` against `sizes.size()` of wider type `size_type` in the loop condition (CodeQL: comparison of narrow type with wide type).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RoaringBitmap__CRoaring__560 | RoaringBitmap/CRoaring | 560 | defect | 4a7474e81351ece3c3be80445793746997a0dded | 970379de7212a9069a38292bd21c8f4c6c94f2c2 | We do not allow empty containers as part of the specification. | When validating a container, we should reject it if it is empty.
The Roaring format does not allow empty containers. | diff --git a/include/roaring/roaring.h b/include/roaring/roaring.h
index 6d9bcd9bf..ae2f62de8 100644
--- a/include/roaring/roaring.h
+++ b/include/roaring/roaring.h
@@ -568,6 +568,10 @@ roaring_bitmap_t *roaring_bitmap_portable_deserialize(const char *buf);
* run containers should be in sorted non-overlapping order. ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The validation reason string \"cardinality is too small\" should be reworded (e.g. \"too small for a bitmap container\"), though it works as long as it is unique.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
RoaringBitmap__CRoaring__563 | RoaringBitmap/CRoaring | 563 | defect | 4a7474e81351ece3c3be80445793746997a0dded | 88ca6aa18080d8b2e86afe5026871d4ca019a22a | ART: Fix a few issues around lower bound / erase | Fixes #559
1. Leaf keys were written to the wrong location: `memcpy(&leaf->key` instead of `memcpy(leaf->key`
2. In `art_node_iterator_lower_bound`, we did not check if the key chunk for the lower bound child was greater than the key chunk we searched for.
3. In `art_iterator_erase` there were a few issues that w... | diff --git a/src/art/art.c b/src/art/art.c
index 66633a7f0..3c2459142 100644
--- a/src/art/art.c
+++ b/src/art/art.c
@@ -90,12 +90,13 @@ typedef struct art_node256_s {
typedef struct art_indexed_child_s {
art_node_t *child;
uint8_t index;
+ art_key_chunk_t key_chunk;
} art_indexed_child_t;
static inli... | 2 | 2 | 2 | [{"id": "G0", "claim": "The change to `art_node_iterator_lower_bound` may make for a possible infinite loop: for r1={829185} and r2={0, 14418687} the function call does not actually move the iterator at all, so `roaring64_bitmap_and_cardinality` never returns.", "category": "correctness", "verdict": "supported", "prior... | null |
RoaringBitmap__CRoaring__565 | RoaringBitmap/CRoaring | 565 | defect | 1337da4f1c05c2f3cce8807a09ecd1ec843d0487 | a8de34ccac16c5f65623bcec927427b1266c1196 | node48 children can have holes | When removing from a node48, the child is simply set to NULL. For example, if the state is (ignoring that it actually needs at least 17 items to not be a node16):
```
keys: {[0]=0, [1]=1}
children: {[0]=child1, [1]=child2}
count: 2
```
After removing key 0, the state will be:
```
keys: {[0]=48, [1]=1}
ch... | diff --git a/src/art/art.c b/src/art/art.c
index bb30f179a..103047125 100644
--- a/src/art/art.c
+++ b/src/art/art.c
@@ -1,4 +1,5 @@
#include <assert.h>
+#include <roaring/portability.h>
#include <roaring/art/art.h>
#include <roaring/memory.h>
#include <stdio.h>
@@ -30,6 +31,8 @@
#define SET_LEAF(p) ((art_node_t *... | 3 | 2 | 0 | [{"id": "G0", "claim": "The number of children could be derived from the available_children bitset via 48 - popcount, removing the need to keep the count field in art_node48_t.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment on the new available... | null |
RoaringBitmap__CRoaring__570 | RoaringBitmap/CRoaring | 570 | defect | d127f1990816eac6947d13392e1f70bf12ae124f | dcb4c057eb18f229f91830eff6fdba1335162cc7 | Replace `roaring{,64}_bitmap_of` with `roaring{,64}_bitmap_from` macro | Using a macro allows us to count the number of items passed, and avoid having to explicitly pass the count as the first parameter. | diff --git a/README.md b/README.md
index fcd25a2d9..b767d833b 100644
--- a/README.md
+++ b/README.md
@@ -331,7 +331,7 @@ int main() {
expectedsizebasic, expectedsizerun);
// create a new bitmap containing the values {1,2,3,5,6}
- roaring_bitmap_t *r2 = roaring_bitmap_of(5, 1, 2, 3, 5, 6);
+ roa... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new `roaring_bitmap_from` macro needs to be guarded so it builds only when compiling as a C program, since its compound-literal construction does not work in C++ (and may therefore break msvc builds).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced... | null |
RoaringBitmap__CRoaring__588 | RoaringBitmap/CRoaring | 588 | defect | 547872f29b4dd2fb1ecee2fd16a785565a8ca589 | 7f24b1095ec3f90c2c3782fe6565a644cf750f3a | Implement roaring64_bitmap_internal_validate | Add calls to validate the bitmap around the unit tests
| diff --git a/include/roaring/art/art.h b/include/roaring/art/art.h
index 99199b717..c73205b99 100644
--- a/include/roaring/art/art.h
+++ b/include/roaring/art/art.h
@@ -99,6 +99,15 @@ size_t art_size_in_bytes(const art_t *art);
*/
void art_printf(const art_t *art);
+typedef bool (*art_validate_cb_t)(const art_val_... | 6 | 4 | 1 | [{"id": "G0", "claim": "The new internal validation should also be added to the fuzzer (fuzz/croaring_fuzzer.c), either in this PR or in a follow-up.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The same internal-validation check added to tests/roarin... | null |
RoaringBitmap__CRoaring__636 | RoaringBitmap/CRoaring | 636 | defect | 2460988260d26ea15614b8782ceac608b1c370e8 | 81c97d9e3d0d2de333a55d612e6a3d2d9330d293 | Fix segfault with roaring64 intersect_with_range and empty bitmap | Fixes #635, and adds some tests
@SLieve, is this the right place to do this? The segfault under valgrind:
```
[ RUN ] test_intersect_with_range
==648093== Invalid read of size 1
==648093== at 0x12A894: art_node_iterator_lower_bound (art.c:1633)
==648093== by 0x12AB9F: art_iterator_lower_bound (art.... | diff --git a/src/art/art.c b/src/art/art.c
index 835699146..dc2f17a5d 100644
--- a/src/art/art.c
+++ b/src/art/art.c
@@ -1693,8 +1693,11 @@ bool art_iterator_lower_bound(art_iterator_t *iterator,
// a valid key. Start from the root.
iterator->frame = 0;
iterator->depth = 0;
- return ar... | 2 | 2 | 0 | [{"id": "G0", "claim": "The same empty-bitmap crash can be triggered directly via roaring64_iterator_move_equalorlarger, and the fix belongs in art_iterator_lower_bound so it is safe to call (indirectly) on a possibly empty bitmap without checking first.", "category": "correctness", "verdict": "supported", "priority": ... | null |
RoaringBitmap__CRoaring__7 | RoaringBitmap/CRoaring | 7 | defect | b454f3fff644c01571abcf960d666a063b9a5b93 | 80410574e400f62510d6aef5f421f0b149f629c9 | CMake build system | This replaces the current `makefile` with a CMake build system.
There's a new `make install` target that installs headers and a shared library, which means that you can include the library using `LDFLAGS=-lroaring` and `#include <roaring/roaring.h>`.
All you need to do now is to run `cmake [OPTIONS] .` once to build ... | diff --git a/.gitignore b/.gitignore
index 176666ba2..240da8278 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,12 @@
*_benchmark
*_unit
unit
+
+# CMake
+CMakeCache.txt
+CMakeFiles
+cmake_install.cmake
+install_manifest.txt
+CTestTestfile.cmake
+Testing
+Makefile
diff --git a/CMakeLists.txt b/CMakeLists.txt
ne... | 4 | 3 | 2 | [{"id": "G0", "claim": "The add_executable directives may affect the make install target such that the benchmark binaries will be installed.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The build fails when CMake is run in a build directory other than th... | null |
RoaringBitmap__CRoaring__741 | RoaringBitmap/CRoaring | 741 | defect | eecaabc13606faf83e3e98496d8c867e77d6626e | dc18603abc008c22a5444facea768778ccf31cf1 | Add functions to skip forward/backward with an iterator, and use it to simplify roaring_bitmap_range_uint32_array | 1. Introduce `roaring_uint32_iterator_skip` and `roaring_uint32_iterator_skip_backward` functions which advance an iterator by multiple positions efficiently.
2. Use the new `roaring_uint32_iterator_skip` in conjunction with the existing `roaring_uint32_iterator_read` function to implement the `roaring_bitmap_range_ui... | diff --git a/include/roaring/containers/containers.h b/include/roaring/containers/containers.h
index 30b0cde1a..5f7c78903 100644
--- a/include/roaring/containers/containers.h
+++ b/include/roaring/containers/containers.h
@@ -2477,6 +2477,40 @@ bool container_iterator_read_into_uint64(const container_t *c, uint8_t typec... | 2 | 2 | 2 | [{"id": "G0", "claim": "In the backward-skip test, the block testing a skip way beyond the end should test backward skip behavior (skip_backward from the last element) instead of duplicating the forward-skip test's code.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
RoaringBitmap__CRoaring__802 | RoaringBitmap/CRoaring | 802 | defect | 32ab04c86a1a93f030f23b988da0e73beab3fc08 | d9e2b7b6767d2877fa1cccadf2b648d56f26d832 | builds with Fil-C | This PR adds support for building CRoaring with **Fil-C**, the memory-safe C compiler.
Fil-C instruments code for runtime memory safety (bounds checking, use-after-free prevention, etc.) via invisible capabilities and concurrent GC. While highly compatible, it is stricter than regular Clang/GCC in several areas, esp... | diff --git a/.github/workflows/omnios-ci.yml b/.github/workflows/omnios-ci.yml
index 30fc8a7ed..a3ebddb44 100644
--- a/.github/workflows/omnios-ci.yml
+++ b/.github/workflows/omnios-ci.yml
@@ -15,7 +15,7 @@ jobs:
- name: Build and Test on OmniOS
uses: vmactions/omnios-vm@v1
with:
- rel... | 2 | 1 | 1 | [{"id": "G0", "claim": "Under Fil-C, isadetection should take the path that uses __get_cpuid from <cpuid.h> and xgetbv should call zxgetbv from <stdfil.h>, rather than stubbing cpuid out and leaving feature detection return 0 (assume the worst).", "category": "performance", "verdict": "supported", "priority": "P1", "sc... | null |
RoaringBitmap__RoaringBitmap__162 | RoaringBitmap/RoaringBitmap | 162 | defect | 6568498dda044dc3e94400e57b1cf6d1f60c1191 | 79c61ca8698ad6342f16cea6ea1a1a3072f85277 | faster equals comparison run vs array #161 | There's no observable speed up in average speed, but the high centiles are improved significantly (on my laptop). | diff --git a/jmh/src/main/java/org/roaringbitmap/equals/EqualsBenchmark.java b/jmh/src/main/java/org/roaringbitmap/equals/EqualsBenchmark.java
new file mode 100644
index 000000000..b88994616
--- /dev/null
+++ b/jmh/src/main/java/org/roaringbitmap/equals/EqualsBenchmark.java
@@ -0,0 +1,50 @@
+// https://github.com/Roari... | 3 | 3 | 1 | [{"id": "G0", "claim": "The final check `pos == arrayContainer.getCardinality()` seems unnecessary and gssiyankai asks for a case where it is required.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Computing the RunContainer cardinality up fron... | null |
RoaringBitmap__RoaringBitmap__199 | RoaringBitmap/RoaringBitmap | 199 | defect | b9a2107ab35aff822caec1dcd01f9a334e8deefd | a8882ab79d514f49decfefd31f97bec327e341cd | Speed up incremental sequential writes and batch creation from unsorted data | This pull request makes it possible to write sequentially and incrementally to a RoaringBitmap efficiently, without collecting values in an `int[]` beforehand.
**Usage**
`OrderedWriter` wraps a `RoaringBitmap` and requires the caller to flush it to ensure all added data is saved to the bitmap.
```
Ordere... | diff --git a/jmh/src/main/java/org/roaringbitmap/writer/WriteSequential.java b/jmh/src/main/java/org/roaringbitmap/writer/WriteSequential.java
new file mode 100644
index 000000000..1d647090e
--- /dev/null
+++ b/jmh/src/main/java/org/roaringbitmap/writer/WriteSequential.java
@@ -0,0 +1,77 @@
+package org.roaringbitmap.w... | 2 | 1 | 0 | [{"id": "G0", "claim": "OrderedWriter's flush path redundantly hand-rolls container construction (computeCardinality, chooseBestContainer, createArrayContainer) and should be simplified by reusing existing container code, e.g. new BitmapContainer(bitmap,-1).repairAfterLazy().runOptimize(), to reduce code duplication an... | null |
RoaringBitmap__RoaringBitmap__255 | RoaringBitmap/RoaringBitmap | 255 | defect | 18de8b51eb0876228a9bf3323a7601ba50ca9ab3 | 1ae2ff3ec858403e85e35b4cc5894d58de8d1660 | Tests and fix for issue #254 (RunContainer.contains(ArrayContainer)) | Legal-Meta - I didn't notice I didn't have sign-off set when I committed the change to the test case, but by signing off on the substantive fix, and by submitting this pull request, it is my express intent to grant any and all rights necessary to incorporate these changes into the existing codebase, and that I am lega... | diff --git a/roaringbitmap/src/main/java/org/roaringbitmap/RunContainer.java b/roaringbitmap/src/main/java/org/roaringbitmap/RunContainer.java
index 9f9baa95f..1b8c4c2d4 100644
--- a/roaringbitmap/src/main/java/org/roaringbitmap/RunContainer.java
+++ b/roaringbitmap/src/main/java/org/roaringbitmap/RunContainer.java
@@ ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The run start should be converted with Util.toIntUnsigned(getValue(ir)) in contains(ArrayContainer).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "arrayContainer.content[ia] should be stored in an int variable converted wi... | null |
RoaringBitmap__RoaringBitmap__419 | RoaringBitmap/RoaringBitmap | 419 | defect | ab5398126f7aed1e85ba3831e9d0f05372738c28 | 43c1459f8b1dc0f43eabe3ab478bc34c59fb1d5e | fix for issue 410 | Fixes https://github.com/RoaringBitmap/RoaringBitmap/issues/418
| diff --git a/README.md b/README.md
index 79821eb6b..047b4f526 100644
--- a/README.md
+++ b/README.md
@@ -465,6 +465,9 @@ application, you might be better served with a conventional bitset (e.g., Java's
Benchmark
-----------
+To ease maintenance of the library, the JMH benchmarks are normally omitted.
+To enable the... | 1 | 1 | 0 | [{"id": "G0", "claim": "The maven repository URL in jmh/build.gradle.kts should be switched to metamx.jfrog.io because artifactoryonline.com is deprecated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
RoaringBitmap__RoaringBitmap__474 | RoaringBitmap/RoaringBitmap | 474 | defect | 12f1d205b475fe39c7ee31fada2c3811dc61c0e8 | ba8ee8eb2545bc5b1ae00e56f6e452b648253f1d | partial radix sort with early exit | Since we're beating up on my 3 year old radix sort, here's another variant which has two benefits
1. Reduce the number of passes over the data to build the histograms by populating both at once
2. If the maximum element in the data has an empty high byte, skip one level of the sort
I added a benchmark which vari... | diff --git a/RoaringBitmap/src/main/java/org/roaringbitmap/Util.java b/RoaringBitmap/src/main/java/org/roaringbitmap/Util.java
index c066ed112..4274fb3bc 100644
--- a/RoaringBitmap/src/main/java/org/roaringbitmap/Util.java
+++ b/RoaringBitmap/src/main/java/org/roaringbitmap/Util.java
@@ -1100,50 +1100,31 @@ public stat... | 1 | 1 | 0 | [{"id": "G0", "claim": "The benchmark should generate identical sequences and mask the random values to the right number of bits, so that results for different bit widths are comparable.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
RoaringBitmap__RoaringBitmap__480 | RoaringBitmap/RoaringBitmap | 480 | defect | 11d2ff795773fe4271f48ca3b0741b82a6392dcc | ca676a0c43791c4d6ea41e46d245b0d2ea56de27 | Faster advanceIfNeeded for Roaring64Bitmap iterators | ## What issue is being addressed?
The forward and reverse iterators on Roaring64Bitmap would get slower at `advanceIfNeeded` with larger and larger bitmaps (more nodes in the tree), because they still skipped along the leaves sequentially.
## What is the new behaviour?
When it is detected that the target of `a... | diff --git a/RoaringBitmap/src/main/java/org/roaringbitmap/art/AbstractShuttle.java b/RoaringBitmap/src/main/java/org/roaringbitmap/art/AbstractShuttle.java
index 8b9a62c7b..60e528a2a 100644
--- a/RoaringBitmap/src/main/java/org/roaringbitmap/art/AbstractShuttle.java
+++ b/RoaringBitmap/src/main/java/org/roaringbitmap/... | 3 | 3 | 1 | [{"id": "G0", "claim": "The compareTo method should compare the key with the low 16 bits masked to 0, not the raw key.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Checkstyle errors in the change should be fixed.", "category": "maintainability", "... | null |
RoaringBitmap__RoaringBitmap__489 | RoaringBitmap/RoaringBitmap | 489 | defect | 6ee0bffc41f450b9b116ebd5f8fe7378e8bc0e27 | b71ceb384b5269699f574be72eed264a4f7620b2 | Fix advanceIfNeeded into gaps for Roaring64Bitmap | Fixes #488 .
@simeonpilgrim I hope you don't mind me verbatim copying your test cases here? | diff --git a/RoaringBitmap/src/main/java/org/roaringbitmap/art/AbstractShuttle.java b/RoaringBitmap/src/main/java/org/roaringbitmap/art/AbstractShuttle.java
index 60e528a2a..766f65daa 100644
--- a/RoaringBitmap/src/main/java/org/roaringbitmap/art/AbstractShuttle.java
+++ b/RoaringBitmap/src/main/java/org/roaringbitmap/... | 7 | 5 | 4 | [{"id": "G0", "claim": "advanceIfNeeded fails when the value to advance to lies in a gap that has another container before it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The additional `if (Arrays.equals(this.high, minHigh))` conditional added i... | null |
RoaringBitmap__RoaringBitmap__503 | RoaringBitmap/RoaringBitmap | 503 | defect | 21152079e95504c56d397f441f9b02e5703694d8 | bb45904a8e51d6bc75edf5cb8fedf5cfa5116e94 | [Roaring64Bitmap] Fix index offset calculation when removing a key from the ART. | ### SUMMARY
Fixes https://github.com/RoaringBitmap/RoaringBitmap/issues/502
The problem was that we were trying to match the key using the range [dep, node.prefixLength). The end index should instead be an offset calculated starting from dep i.e dep + node.prefixLength.
The existing code just happened to work a... | diff --git a/RoaringBitmap/src/main/java/org/roaringbitmap/art/Art.java b/RoaringBitmap/src/main/java/org/roaringbitmap/art/Art.java
index 336a509f8..e6e485fcd 100644
--- a/RoaringBitmap/src/main/java/org/roaringbitmap/art/Art.java
+++ b/RoaringBitmap/src/main/java/org/roaringbitmap/art/Art.java
@@ -128,7 +128,7 @@ pro... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a check to ensure dep + node.prefixLength is not larger than key.length in removeSpecifyKey.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.